/* Seiten-CSS aus dem Prototyp (branche-diagnostik), Entwurf C – Der Ausfalltag */
:root{
  box-sizing:border-box;
  padding-top:env(safe-area-inset-top,0px);
  padding-bottom:env(safe-area-inset-bottom,0px);
  --chrome-bg:#eef1f4; --chrome-fg:#1a1a1a; --chrome-line:#cfd6dd; --chrome-card:#ffffff; --chrome-muted:#55606b;
  --font:"Segoe UI","Selawik",system-ui,-apple-system,"Helvetica Neue",Arial,sans-serif;
}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]){--chrome-bg:#16191c;--chrome-fg:#eceff2;--chrome-line:#2f363d;--chrome-card:#1f2429;--chrome-muted:#9aa5b0;}
}
:root[data-theme="dark"]{--chrome-bg:#16191c;--chrome-fg:#eceff2;--chrome-line:#2f363d;--chrome-card:#1f2429;--chrome-muted:#9aa5b0;}
html{scroll-padding-top:calc(env(safe-area-inset-top,0px) + 120px);}
*,*::before,*::after{box-sizing:border-box;}
body{margin:0;background:var(--chrome-bg);color:var(--chrome-fg);font-family:var(--font);font-weight:350;line-height:1.55;-webkit-font-smoothing:antialiased;}
img,svg{max-width:100%;}
button,input,select{font:inherit;}
:focus-visible{outline:3px solid #00B0F0;outline-offset:2px;}

/* ---------- Chrome: Konzeptwahl ---------- */
.chrome{position:sticky;top:env(safe-area-inset-top,0px);z-index:20;background:var(--chrome-bg);border-bottom:1px solid var(--chrome-line);}
.chrome-in{max-width:1120px;margin:0 auto;padding:12px 20px;display:flex;flex-wrap:wrap;gap:10px 18px;align-items:center;}
.chrome h1{font-size:15px;font-weight:600;margin:0;flex:1 1 220px;}
.tabs{display:flex;gap:6px;flex-wrap:wrap;}
.tab{border:1px solid var(--chrome-line);background:var(--chrome-card);color:var(--chrome-fg);padding:7px 14px;border-radius:6px;cursor:pointer;font-size:14px;}
.tab[aria-selected="true"]{border-color:currentColor;font-weight:600;}
.tab[data-c="a"][aria-selected="true"]{color:#0070C0;}
.tab[data-c="b"][aria-selected="true"]{color:#B40000;}
.tab[data-c="c"][aria-selected="true"]{color:#800080;}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .tab[data-c="a"][aria-selected="true"]{color:#00B0F0}:root:not([data-theme="light"]) .tab[data-c="b"][aria-selected="true"]{color:#FF4040}:root:not([data-theme="light"]) .tab[data-c="c"][aria-selected="true"]{color:#FF37FF}}
.note{max-width:1120px;margin:0 auto;padding:14px 20px 18px;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px 28px;font-size:14px;color:var(--chrome-muted);}
.note b{display:block;color:var(--chrome-fg);font-weight:600;}
.frame{max-width:1120px;margin:0 auto 40px;padding:0 20px;}
.frame-label{font-size:13px;color:var(--chrome-muted);margin:0 0 8px;}
.concept{display:none;border-radius:10px;overflow:hidden;border:1px solid var(--chrome-line);}
.concept.active{display:block;}

/* ---------- Gemeinsame Bausteine ---------- */
.lp{background:var(--bg);color:var(--fg);}
.lp a{color:var(--p);}
.wrap{max-width:980px;margin:0 auto;padding:0 28px;}
.topbar{display:flex;justify-content:space-between;align-items:center;padding:18px 28px;max-width:980px;margin:0 auto;font-size:14px;}
.mark{font-weight:600;letter-spacing:.02em;font-size:17px;}
a.mark{color:inherit;text-decoration:none}
.mark small{font-weight:350;font-size:13px;opacity:.75;margin-left:8px;letter-spacing:0;}
h2,h3{font-weight:600;line-height:1.2;margin:0;}
.lp h2{font-size:clamp(24px,3.2vw,32px);max-width:24ch;}
.lp p{max-width:66ch;}
.sec{padding:64px 0;border-top:1px solid var(--line);}
.lead{font-size:clamp(17px,1.9vw,20px);color:var(--muted);max-width:60ch;}
.btn{display:inline-block;border:2px solid var(--p);background:var(--p);color:var(--on-p);padding:11px 20px;border-radius:4px;font-weight:600;cursor:pointer;text-decoration:none;font-size:15px;}
.lp a.btn{color:var(--on-p);}
.btn.ghost{background:transparent;color:var(--p);}
.lp a.btn.ghost{color:var(--p);}
.btn:disabled{opacity:.45;cursor:not-allowed;}
.row-btn{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px;}
.small{font-size:14px;color:var(--muted);}
.steps{list-style:none;padding:0;margin:28px 0 0;display:grid;gap:0;counter-reset:s;}
.steps li{counter-increment:s;display:grid;grid-template-columns:44px 1fr;gap:14px;padding:18px 0;border-top:1px solid var(--line);}
.steps li::before{content:counter(s);font-weight:600;font-size:22px;color:var(--p);line-height:1.1;}
.steps h3{font-size:17px;margin-bottom:4px;}
.steps p{margin:0;}
.duties{margin:18px 0 0;padding-left:18px;}
.duties li{margin:4px 0;}
.src{font-size:13px;color:var(--muted);margin-top:18px;}

/* Selbstcheck */
.q{padding:16px 0;border-top:1px solid var(--line);}
.q p{margin:0 0 10px;font-weight:600;max-width:70ch;}
.opts{display:flex;gap:8px;flex-wrap:wrap;}
.opt{border:1px solid var(--line-strong);background:transparent;color:var(--fg);padding:7px 14px;border-radius:4px;cursor:pointer;font-size:14px;}
.opt[aria-pressed="true"]{background:var(--p);border-color:var(--p);color:var(--on-p);font-weight:600;}
.progress{font-size:14px;color:var(--muted);margin-top:14px;}
.result{margin-top:26px;padding:22px 24px;border-left:4px solid var(--p);background:var(--soft);display:none;}
.result.show{display:block;}
.result h3{font-size:19px;margin-bottom:8px;}
.result ul{margin:10px 0 0;padding-left:18px;}
.form{display:none;margin-top:28px;}
.form.show{display:block;}
.grid2{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px 18px;margin-top:16px;}
.field label{display:block;font-size:14px;font-weight:600;margin-bottom:4px;}
.field input,.field select{width:100%;padding:10px 12px;border:1px solid var(--line-strong);border-radius:4px;background:var(--bg);color:var(--fg);}
.err{color:var(--err);font-size:14px;margin-top:10px;min-height:1em;}
.sent{display:none;margin-top:20px;padding:18px 20px;border:1px solid var(--line-strong);border-radius:4px;}
.sent.show{display:block;}
.sent pre{white-space:pre-wrap;font-family:var(--font);font-size:14px;margin:10px 0 0;color:var(--muted);}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;}
.foot{padding:30px 0 40px;border-top:1px solid var(--line);font-size:13px;color:var(--muted);}
.foot .wrap{display:flex;flex-wrap:wrap;gap:8px 24px;justify-content:space-between;}

/* Vorgehen in zwei Phasen */
.phase{margin-top:30px;}
.phase-head{border-bottom:2px solid var(--p);padding-bottom:10px;}
.phase-head h3{font-size:21px;}
.phase-head p{margin:4px 0 0;color:var(--muted);font-size:15px;}
.tag{display:inline-block;font-size:13px;font-weight:600;color:var(--p);border:1px solid var(--p);border-radius:3px;padding:1px 7px;margin-left:8px;vertical-align:3px;}
.c-b .tag{color:var(--s);border-color:var(--s);}
.mod{display:grid;grid-template-columns:56px 1fr;gap:16px;padding:22px 0;border-bottom:1px solid var(--line);}
.mod-nr{width:48px;height:48px;border-radius:50%;background:var(--p);color:var(--on-p);display:grid;place-items:center;font-weight:600;font-size:16px;}
.mod h4{font-size:18px;font-weight:600;margin:3px 0 2px;}
.mod .fmt{font-size:13px;color:var(--muted);margin:0 0 8px;}
.mod p{margin:0;}
.mod .lens{border-left:3px solid var(--s);padding:2px 0 2px 12px;margin:12px 0;}
.ve{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px 26px;font-size:15px;}
.ve b{display:block;font-weight:600;}
.price{margin-top:24px;padding:22px 24px;border:2px solid var(--p);background:var(--soft);display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px 32px;align-items:start;}
.c-b .price{background:#1f1f1f;}
.price .big{font-size:clamp(30px,4vw,40px);font-weight:600;line-height:1.1;color:var(--p);}
.c-b .price .big{color:#fff;}
.price p{margin:6px 0 0;font-size:15px;}
.tom{margin:16px 0;padding:18px 20px;border:2px solid var(--p);background:var(--soft);}
.c-b .tom{background:#1f1f1f;border-color:var(--s);}
.tom h5{font-size:17px;font-weight:600;margin:0 0 6px;color:var(--p);line-height:1.3;}
.c-b .tom h5{color:#fff;}
.tom ol{margin:12px 0 0;padding-left:26px;columns:2 260px;column-gap:32px;}
.tom li{margin:0 0 8px;break-inside:avoid;font-size:15px;}
.tom li::marker{font-weight:600;color:var(--p);}
.c-b .tom li::marker{color:var(--s);}
.tom li span{display:block;font-size:13px;color:var(--muted);}
.tom .tom-foot{margin-top:10px;font-size:14px;font-weight:600;}
.outcome{margin-top:24px;padding:18px 22px;background:var(--p);color:var(--on-p);font-weight:600;}
@media (max-width:560px){.mod{grid-template-columns:1fr;gap:10px;}}

/* ---------- Konzept A: Der Befund (Defense) ---------- */
.c-a{--bg:#FFFFFF;--fg:#000000;--p:#0070C0;--s:#00B0F0;--on-p:#FFFFFF;--muted:#3d4a55;--line:#d7e3ee;--line-strong:#9fb7cc;--soft:#eef6fc;--err:#B40000;}
.a-hero{padding:40px 0 56px;}
.report{border:1px solid var(--line-strong);border-top:6px solid var(--p);padding:22px 26px;margin-bottom:40px;display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px 30px;font-size:14px;}
.report div span{display:block;color:var(--p);font-weight:600;font-size:13px;}
.a-hero h2{font-size:clamp(32px,5vw,54px);max-width:18ch;font-weight:600;letter-spacing:-.01em;}
.a-hero .lead{margin-top:18px;}
.bf{border-top:2px solid var(--p);}
.bf-row{display:grid;grid-template-columns:200px 1fr;gap:10px 36px;padding:36px 0;border-bottom:1px solid var(--line);}
.bf-row > h3{font-size:20px;color:var(--p);font-weight:600;}
.bf-row > h3 small{display:block;font-weight:350;font-size:13px;color:var(--muted);margin-top:4px;}
.bf-row p:first-child{margin-top:0;}
.finding{margin:0;padding:0;list-style:none;}
.finding li{padding:10px 0 10px 18px;border-left:2px solid var(--s);margin-bottom:10px;}
.finding b{font-weight:600;}
@media (max-width:720px){.bf-row{grid-template-columns:1fr;}}

/* ---------- Konzept B: Die Außenansicht (ATT&CK) ---------- */
.c-b{--bg:#262626;--fg:#FFFFFF;--p:#B40000;--s:#FF4040;--on-p:#FFFFFF;--muted:#c9c9c9;--line:#3b3b3b;--line-strong:#6a6a6a;--soft:#2f2f2f;--err:#FF4040;}
.c-b .btn.ghost{color:#fff;border-color:#fff;}
.c-b.lp a.btn.ghost{color:#fff;}
.c-b.lp a{color:var(--s);}
.b-hero{padding:36px 0 30px;}
.b-hero h2{font-size:clamp(32px,5vw,52px);max-width:17ch;}
.b-hero .lead{margin-top:18px;}
.map-box{margin-top:36px;border:1px solid var(--line-strong);background:#1f1f1f;overflow-x:auto;}
.map-box svg{display:block;min-width:640px;width:100%;height:auto;}
.map-cap{font-size:14px;color:var(--muted);padding:12px 16px;border-top:1px solid var(--line);display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;}
.node rect{fill:#2b2b2b;stroke:#8a8a8a;stroke-width:1.5;stroke-dasharray:5 4;transition:fill .25s,stroke .25s;}
.node text{fill:#fff;font-family:var(--font);font-size:13px;}
.node text.sub{fill:#bdbdbd;font-size:11.5px;}
.path{stroke:#6a6a6a;stroke-width:1.5;stroke-dasharray:4 5;fill:none;transition:stroke .25s,stroke-width .25s;}
.node.st-ok rect{stroke:#ffffff;stroke-dasharray:none;fill:#333;}
.path.st-ok{stroke:#9a9a9a;stroke-dasharray:none;stroke-width:1;}
.node.st-open rect{stroke:#FF4040;stroke-dasharray:none;fill:#4a1414;}
.path.st-open{stroke:#FF4040;stroke-dasharray:none;stroke-width:2.5;}
.node.st-unk rect{stroke:#e0a0a0;fill:#3a2626;}
.path.st-unk{stroke:#e0a0a0;}
.core rect{fill:#333;stroke:#fff;stroke-width:2;}
.core text{fill:#fff;font-family:var(--font);}
.chain{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:28px;margin-top:30px;counter-reset:c;}
.chain div{border-top:3px solid var(--p);padding-top:14px;counter-increment:c;}
.chain h3{font-size:18px;margin-bottom:6px;}
.chain h3::before{content:counter(c) ". ";color:var(--s);}
.chain p{margin:0;color:var(--muted);}
.lage{margin-top:36px;padding:20px 24px;background:#1f1f1f;border-left:4px solid var(--s);}
.lage strong{font-size:28px;font-weight:600;display:block;}
.b-q{display:grid;grid-template-columns:1fr auto;gap:10px 20px;align-items:center;padding:14px 0;border-top:1px solid var(--line);}
.b-q p{margin:0;}
.b-q p b{font-weight:600;display:block;}
.b-q p span{color:var(--muted);font-size:14px;}
.c-b .opt[aria-pressed="true"][data-v="0"]{background:#FF4040;border-color:#FF4040;color:#000;}
@media (max-width:640px){.b-q{grid-template-columns:1fr;}}

/* ---------- Konzept C: Der Ausfalltag (Purple) ---------- */
.c-c{--bg:#FFFFFF;--fg:#000000;--p:#800080;--s:#FF37FF;--on-p:#FFFFFF;--muted:#4a3d4a;--line:#eadcea;--line-strong:#b995b9;--soft:#faf1fa;--err:#B40000;}
.c-hero{padding:36px 0 56px;display:grid;grid-template-columns:1fr;gap:36px;}
.c-hero h2{font-size:clamp(38px,6vw,64px);max-width:14ch;letter-spacing:-.015em;}
.book{border:1px solid var(--line-strong);overflow-x:auto;}
.book-head{display:flex;justify-content:space-between;flex-wrap:wrap;gap:6px;padding:10px 14px;background:var(--p);color:#fff;font-size:14px;}
.book-head b{font-weight:600;}
.book table{border-collapse:collapse;width:100%;min-width:640px;font-size:13px;}
.book th,.book td{border-top:1px solid var(--line);padding:7px 10px;text-align:left;white-space:nowrap;}
.book th{font-weight:600;color:var(--muted);background:var(--soft);}
.book td{position:relative;}
.book td.slot::after{content:"";position:absolute;left:6px;right:6px;top:50%;height:2px;background:var(--p);transform-origin:left;transform:scaleX(1);}
.book.play td.slot::after{animation:strike .5s ease-out both;animation-delay:calc(var(--i) * 45ms + 400ms);}
.book td.slot{color:#8c7d8c;}
@keyframes strike{from{transform:scaleX(0);}to{transform:scaleX(1);}}
@media (prefers-reduced-motion:reduce){.book.play td.slot::after{animation:none;}}
.calc{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:30px;margin-top:28px;align-items:start;}
.calc .field{margin-bottom:14px;}
.calc-out{border:2px solid var(--p);padding:22px 24px;}
.calc-out .big{font-size:clamp(34px,5vw,46px);font-weight:600;color:var(--p);line-height:1.1;}
.calc-out ul{padding-left:18px;margin:12px 0 0;color:var(--muted);font-size:14px;}
.top{margin-top:14px;padding:16px 18px;background:#fff;border:1px dashed var(--line-strong);font-size:15px;}

/* Ehemalige Inline-Styles (CSP: keine style-Attribute) */
.st1{margin-top:18px !important}
.st2{--i:0 !important}
.st3{--i:1 !important}
.st4{--i:2 !important}
.st5{--i:3 !important}
.st6{--i:4 !important}
.st7{--i:5 !important}
.st8{--i:6 !important}
.st9{--i:7 !important}
.st10{--i:8 !important}
.st11{--i:9 !important}
.st12{--i:10 !important}
.st13{--i:11 !important}
.st14{--i:12 !important}
.st15{--i:13 !important}
.st16{--i:14 !important}
.st17{--i:15 !important}
.st18{--i:16 !important}
.st19{--i:17 !important}
.st20{--i:18 !important}
.st21{--i:19 !important}
.st22{--i:20 !important}
.st23{--i:21 !important}
.st24{--i:22 !important}
.st25{--i:23 !important}
.st26{--i:24 !important}
.st27{--i:25 !important}
.st28{--i:26 !important}
.st29{--i:27 !important}
.st30{--i:28 !important}
.st31{--i:29 !important}
.st32{--i:30 !important}
.st33{--i:31 !important}
.st34{--i:32 !important}
.st35{--i:33 !important}
.st36{--i:34 !important}
.st37{--i:35 !important}
.st38{--i:36 !important}
.st39{--i:37 !important}
.st40{--i:38 !important}
.st41{--i:39 !important}
.st42{margin-top:6px !important}
.st43{margin-bottom:0 !important}
.st44{margin-top:0 !important}
.st45{font-size:19px !important}

/* Live-Seite: Konzept-Rahmen des Prototyps entfernen */
.concept{display:block;border:0;border-radius:0;overflow:visible}
.form-h{font-size:19px}
.form-intro{margin-top:6px}
.form-note{margin-top:10px}
