/* KI-Stresstest · eigene Styles auf den NetKing-Tokens aus netking.css.
   netking.css wird NICHT geändert (die Rechtsseiten hängen an CSS-Dateien).
   Alle Klassen mit Präfix ck-, damit nichts mit der Startseite kollidiert. */

/* `hidden` muss IMMER verbergen — sonst schlägt eine Klassenregel mit `display`
   (z. B. .ck-badge{display:inline-block}) das Attribut (ARGUS B1, 02.11.). */
[hidden] { display: none !important; }

/* Die Navigation ist sticky (im Fluss), deshalb kein Nav-Abstand oben. */
.ck { position: relative; isolation: isolate; overflow: hidden; padding: clamp(40px, 6vw, 80px) 0 96px; min-height: 80vh; }
.ck-glow { position: absolute; inset: -20% -10% auto; height: 640px; z-index: -1; pointer-events: none;
  background: radial-gradient(600px 320px at 20% 20%, rgba(91, 124, 255, .22), transparent 70%), radial-gradient(520px 300px at 85% 10%, rgba(155, 107, 255, .16), transparent 70%); }
.ck-wrap { width: min(760px, 100% - 40px); margin-inline: auto; }
.ck-wrap-breit { width: min(1100px, 100% - 40px); margin-inline: auto; }
.ck-schritt h1 { font-size: clamp(40px, 6vw, 72px); }

.ck-punkte { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 10px; }
.ck-punkte li { position: relative; padding-left: 28px; color: var(--text); }
.ck-punkte li::before { content: ""; position: absolute; left: 0; top: .62em; width: 14px; height: 2px; background: var(--grad); }
.ck-los { min-width: 220px; }
.ck-fein { color: var(--muted); font-size: 14px; margin: 16px 0 0; }
.ck-hilfe { color: var(--muted); font-size: 14px; line-height: 1.55; margin: 8px 0 0; }
.ck-feldfehler { color: #ffb4b4; font-size: 14px; margin: 8px 0 0; }
.ck-karte { margin-top: 8px; }
.feld textarea[aria-invalid="true"], .feld > select[aria-invalid="true"] { border-color: #ff8a8a; }

/* Teil B */
.ck-stand { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-mid); margin: 0 0 10px; }
.ck-balken { height: 4px; border-radius: 4px; background: var(--border); overflow: hidden; margin-bottom: 26px; }
.ck-balken span { display: block; height: 100%; width: 0; background: var(--grad); transition: width .3s var(--ease); }
.ck-frage { border: 0; padding: 0; margin: 0; min-width: 0; }
.ck-frage-text { font-family: var(--serif); font-size: clamp(26px, 3.2vw, 36px); line-height: 1.15; padding: 0; margin-bottom: 22px; }
.ck-frage-text:focus { outline: none; }
.ck-optionen { display: grid; gap: 10px; }
.ck-option { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; padding: 14px 16px; border: 1px solid var(--border-feld); border-radius: 14px; background: var(--bg-elev); cursor: pointer; line-height: 1.5; transition: border-color .2s, background .2s; }
.ck-option:hover { border-color: var(--accent-mid); }
.ck-option input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); }
.ck-option:has(input:checked) { border-color: var(--grad-cyan); background: rgba(95, 216, 255, .08); }
.ck-option-x { border-style: dashed; color: var(--muted); }
.ck-knoepfe { display: flex; gap: 12px; justify-content: space-between; margin-top: 26px; }
.ck-knoepfe .btn { min-width: 130px; }

/* Warten */
.ck-warten { text-align: center; padding: 60px 0; }
.ck-kreis { display: inline-block; width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--border); border-top-color: var(--grad-cyan); animation: ck-dreh 1s linear infinite; margin-bottom: 18px; }
@keyframes ck-dreh { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ck-kreis { animation: none; } .ck-balken span { transition: none; } }

/* Ergebnis */
.ck-kennzeichnung { color: var(--muted); font-size: 14px; margin: 0 0 28px; }
.ck-kennzeichnung:focus { outline: none; }
.ck-zahlen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.ck-zahl { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); }
.ck-zahl-zwei { background: var(--bg-elev); }
.ck-zahl-label { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-mid); margin: 0 0 6px; }
.ck-zahl-wert { font-family: var(--serif); font-size: clamp(64px, 9vw, 112px); line-height: 1; margin: 0 0 14px; }
.ck-prozent { font-size: .45em; margin-left: 4px; color: var(--muted); }
.ck-stufe { margin: 0 0 8px; }
.ck-stufe-label { color: var(--muted); font-size: 14px; margin-right: 6px; }
.ck-stufe-text { color: var(--text); margin: 0; }

.ck-block { margin-top: clamp(48px, 7vw, 84px); }
.ck-intro { color: var(--muted); max-width: 680px; margin: 0 0 22px; }
.ck-profil { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.ck-netz { width: 100%; max-width: 560px; }
.ck-netz svg { width: 100%; height: auto; display: block; overflow: visible; }
.ck-netz-ring { fill: none; stroke: var(--border); stroke-width: 1; }
.ck-netz-achse { stroke: var(--border); stroke-width: 1; }
.ck-netz-heute { fill: rgba(95, 216, 255, .18); stroke: var(--grad-cyan); stroke-width: 2.2; stroke-linejoin: round; }
.ck-netz-hebel { fill: rgba(155, 107, 255, .12); stroke: var(--grad-violet); stroke-width: 2; stroke-dasharray: 6 5; stroke-linejoin: round; }
.ck-netz-label { fill: var(--muted); font: 600 12.5px var(--sans); }
.ck-legende { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 14px 0 0; font-size: 14px; }
.ck-legende li { display: inline-flex; align-items: center; gap: 8px; }
.ck-farbe { width: 22px; height: 0; border-top: 3px solid var(--grad-cyan); display: inline-block; }
.ck-farbe-hebel { border-top: 3px dashed var(--grad-violet); }
.ck-tabelle { width: 100%; border-collapse: collapse; font-size: 15px; }
.ck-tabelle th, .ck-tabelle td { padding: 11px 8px; border-bottom: 1px solid var(--border); text-align: right; }
.ck-tabelle th:first-child { text-align: left; font-weight: 600; }
.ck-tabelle thead th { color: var(--accent-mid); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.ck-tabelle-box { overflow-x: auto; }

.ck-stellen { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: ck; }
.ck-stelle, .ck-bereich { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; }
.ck-stelle:first-child { border-color: rgba(95, 216, 255, .45); }
.ck-stelle p, .ck-bereich p { margin: 0; color: var(--muted); }
.ck-stelle-kopf, .ck-bereich-kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.ck-stelle-bereich { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-mid); }
.ck-stelle-wert { font-family: var(--serif); font-size: 28px; color: var(--text); white-space: nowrap; }

.ck-gedanken { background: var(--bg-elev); border: 1px solid var(--border); border-radius: calc(var(--radius) + 4px); padding: clamp(24px, 4vw, 40px); }
.ck-gedanken-teile { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.ck-gedanken-teile h3 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-mid); }
.ck-gedanken-teile p { margin: 0; color: var(--text); }
.ck-gedanken-frage { margin: 26px 0 0; padding-top: 20px; border-top: 1px solid var(--border); }
.ck-gedanken-frage span { display: block; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-mid); font-weight: 700; margin-bottom: 4px; }
.ck-gedanken-frage strong { font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.25; }

.ck-hebel { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.ck-hebel-karte p { color: var(--muted); }
.ck-hebel-art { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; border: 1px solid var(--border-feld); color: var(--text) !important; }
.ck-art-woche { border-color: rgba(95, 216, 255, .55); }
.ck-art-wochen { border-color: rgba(155, 107, 255, .6); }
.ck-hebel-anfang { margin: 14px 0 0; color: var(--text) !important; }

.ck-bereiche { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 14px; }
.ck-bereich h3 { margin: 0; }
.ck-bereich-erkl { font-size: 14px; margin-bottom: 10px !important; }
.ck-bereich .ck-stelle-wert { font-size: 22px; }

.ck-fazit p { font-family: var(--serif); font-size: clamp(24px, 3vw, 34px); line-height: 1.25; margin: 0; max-width: 820px; }
.ck-ende { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 48px; }
.ck-ende .ck-hilfe { flex-basis: 100%; }

/* Teil C / D und KI-Kennzeichnung */
.ck-badge { display: inline-block; vertical-align: middle; font: 700 11px/1 var(--sans); letter-spacing: .1em; padding: 4px 8px; border-radius: 999px; color: var(--bg); background: var(--grad); margin-left: 6px; }
.ck-ki-hinweis { font-size: 14px; color: var(--muted); margin: 0 0 18px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg-elev); }
.ck-ki-hinweis .ck-badge { margin: 0 6px 0 0; }
.ck-rueck-laden { text-align: center; padding: 24px 0; }
.ck-rueckfrage label { line-height: 1.45; }
.ck-rueck-fuss { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ck-zaehler { margin: 6px 0 0; }
.ck-skip { min-height: 44px; padding: 8px 14px; border: 1px solid var(--border); border-radius: 999px; background: transparent; color: var(--muted); font: 600 14px var(--sans); cursor: pointer; }
.ck-skip:hover { color: var(--text); border-color: var(--accent-mid); }
.ck-knoepfe-rechts { justify-content: flex-end; }
.ck-fazit .ck-badge { margin: 0 0 10px; }

@media (max-width: 760px) {
  .ck { padding-top: 28px; }
  .ck-zahlen, .ck-profil, .ck-gedanken-teile { grid-template-columns: 1fr; }
  .ck-knoepfe .btn { min-width: 0; flex: 1; }
  .ck-ende .btn { width: 100%; }
  .ck-los { width: 100%; }
  .ck-netz-label { font-size: 15px; }
}

@media print {
  .nav, .fuss, .ck-ende, .ck-glow, .skip { display: none !important; }
  body, .ck { background: #fff !important; color: #111 !important; }
  .ck { padding: 0; }
  .ck-zahl, .ck-stelle, .ck-bereich, .ck-gedanken, .karte { background: #fff !important; border-color: #ccc !important; break-inside: avoid; }
  .ck p, .ck h2, .ck h3, .ck td, .ck th, .ck strong, .ck-zahl-wert { color: #111 !important; }
  .grad { color: #111 !important; background: none !important; -webkit-text-fill-color: #111; }
  .ck-netz-ring, .ck-netz-achse { stroke: #bbb; }
  .ck-netz-label { fill: #333; }
}

/* E4/E5 · Live-Runde und Mail */
.ck-banner-wrap .meldung { margin: 0 0 18px; }
.ck-code-feld input { text-transform: uppercase; letter-spacing: .14em; font-weight: 700; }
.ck-runde-vergleich { font-family: var(--serif); font-size: clamp(26px, 3.4vw, 38px); line-height: 1.2; margin: 0 0 8px; }
.ck-runde-lage { color: var(--muted); margin: 0 0 22px; }
.ck-runde .ck-netz-box h3 { font-size: 18px; margin: 0 0 12px; }
.ck-farbe-runde { border-top: 3px dashed #c9d3e6; }
.ck-netz-runde { fill: rgba(201, 211, 230, .12); stroke: #c9d3e6; stroke-width: 2; stroke-dasharray: 6 5; }
.ck-mail .formular { max-width: 760px; }
.ck-mail .btn { min-height: 48px; margin-top: 18px; }
.ck-kontakt { margin-top: 22px; }
#ck-db-fehler, #ck-runde-voll { margin-top: clamp(48px, 7vw, 84px); }
@media print { .ck-mail, .ck-banner-wrap, #ck-db-fehler, #ck-runde-voll { display: none !important; } .ck-netz-runde { stroke: #777; fill: none; } }
