/* Marian Bangel. Ein Stylesheet für alle Seiten. */

@font-face { font-family: "IBM Plex Sans"; src: url("fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --navy: #16273A;
  --steel: #4F7FA6;
  --silber: #B7C4D2;
  --papier: #FAFAF8;
  --schrift: #1F2A37;
  --gedaempft: #6B7785;
  --flaeche: #F2F5F8;
  --linie: #DCE3EA;
  --steel-tief: #3D6A8E;
  --grau-tief: #5F6B79;
  --kachel: #223549;
  --kachel-hell: #2A4058;
  --leise: rgba(183, 196, 210, .86);
  --rand: rgba(183, 196, 210, .24);
  --glas: rgba(250, 250, 248, .045);
  --tief: rgba(8, 15, 24, .38);
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --weich: cubic-bezier(.2, .8, .2, 1);
  --rast: cubic-bezier(.22, 1, .36, 1.12);
  --kopf-h: 64px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--navy); color: var(--papier); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--kopf-h) + 20px); }
body {
  margin: 0; min-height: 100vh; background: var(--navy);
  font: 400 1.0625rem/1.62 var(--sans);
  font-kerning: normal; overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-weight: 600; line-height: 1.12; margin: 0; letter-spacing: -.012em; text-wrap: balance; overflow-wrap: break-word; }
p { margin: 0; text-wrap: pretty; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
a { color: var(--papier); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
a[href^="tel:"] { white-space: nowrap; }
button { font: inherit; color: inherit; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
:focus-visible { outline: 3px solid var(--papier); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.symbole { position: absolute; width: 0; height: 0; overflow: hidden; }

.huelle { width: min(100% - 32px, 1160px); margin-inline: auto; }
.schmal { width: min(100% - 32px, 760px); margin-inline: auto; }
.schmal.breit { width: min(100% - 32px, 900px); }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 50;
  background: var(--papier); color: var(--navy); padding: 10px 16px; border-radius: 10px; font-weight: 600;
}
.skip:focus { top: 12px; }

/* ---------- Kopf ---------- */
.kopf {
  position: sticky; top: 0; z-index: 30;
  background: rgba(22, 39, 58, .92);
  -webkit-backdrop-filter: saturate(1.2) blur(10px); backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid rgba(183, 196, 210, .12);
}
.kopf-innen { display: flex; align-items: center; gap: 8px 10px; padding: 12px 0; flex-wrap: wrap; }
.marke { display: inline-flex; align-items: center; gap: 11px; margin-right: auto; text-decoration: none; font-weight: 600; font-size: 1.06rem; letter-spacing: -.005em; padding: 6px 0; white-space: nowrap; }
.marke svg { width: 28px; height: auto; flex: none; }
.kopf-termin {
  display: none; align-items: center; padding: 9px 15px; border-radius: 999px;
  background: var(--papier); color: var(--navy); font-weight: 600; font-size: .95rem; line-height: 1.2; text-decoration: none;
}
.menue-knopf {
  display: none; align-items: center; gap: 9px;
  font: 500 .8rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--papier);
  background: transparent; border: 1px solid var(--rand); border-radius: 999px; padding: 11px 14px; cursor: pointer;
}
.menue-knopf i { position: relative; display: block; width: 16px; height: 10px; flex: none; }
.menue-knopf i b { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--weich); }
.menue-knopf i b:nth-child(1) { top: 0; }
.menue-knopf i b:nth-child(2) { bottom: 0; }
.navi-liste { display: flex; align-items: center; flex-wrap: wrap; gap: 2px 2px; }
.navi-liste a { display: inline-block; padding: 7px 11px; text-decoration: none; color: var(--silber); font-size: .97rem; }
.navi-liste a:hover { color: var(--papier); }
.navi-liste a[aria-current="page"] { color: var(--papier); box-shadow: inset 0 -2px 0 var(--steel); }
.navi-liste .navi-termin { color: var(--navy); background: var(--papier); font-weight: 600; padding-inline: 16px; margin-left: 8px; border-radius: 999px; transition: transform .25s var(--weich); }
.navi-liste .navi-termin:hover { color: var(--navy); transform: translateY(-1px); }
.navi-liste .navi-termin[aria-current="page"] { color: var(--navy); box-shadow: 0 0 0 3px rgba(79, 127, 166, .8); }
/* Umschalter für die Sprache: DE · EN */
.fassung ul { display: flex; align-items: center; }
.fassung li { position: relative; display: flex; align-items: center; }
.fassung li + li::before { content: "·"; font: 500 .8rem/1 var(--mono); color: var(--silber); }
.fassung a { --px: 8px; display: block; padding: 10px var(--px); font: 500 .8rem/1.4 var(--mono); letter-spacing: .04em; color: var(--silber); text-decoration: none; }
.fassung a:hover { color: var(--papier); }
.fassung a[aria-current="true"] { color: var(--papier); background: linear-gradient(var(--steel), var(--steel)) 50% 100% / calc(100% - 2 * var(--px) + 6px) 2px no-repeat; }

@media (max-width: 1119px) {
  .js .menue-knopf { display: inline-flex; order: 3; }
  .js .kopf-termin { display: inline-flex; order: 2; }
  .js .fassung { order: 1; }
  .js .navi { display: none; order: 5; width: 100%; padding: 0 0 8px; }
  .js .kopf.offen .navi { display: block; }
  .js .navi-liste { flex-direction: column; align-items: stretch; gap: 0; }
  .js .navi-liste a { display: block; padding: 13px 4px; font-size: 1.08rem; border-bottom: 1px solid rgba(183, 196, 210, .12); }
  .js .navi-liste a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--steel); padding-left: 14px; }
  .js .navi-liste .navi-termin { margin: 14px 0 0; text-align: center; border: 0; padding: 14px; }
  .js .navi-liste .navi-termin[aria-current="page"] { box-shadow: 0 0 0 3px rgba(79, 127, 166, .8); padding-left: 14px; }
  .kopf.offen .menue-knopf i b:nth-child(1) { transform: translateY(4px) rotate(45deg); }
  .kopf.offen .menue-knopf i b:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
  html:not(.js) .navi { width: 100%; }
  html:not(.js) .kopf { position: static; }
  html:not(.js) .navi-liste a { padding: 8px 10px 8px 0; }
  html:not(.js) .navi-liste .navi-termin { padding-inline: 16px; margin-left: 0; }
  html:not(.js) .fassung { margin-left: -13px; }
  /* Eingeklappt (Handy und Tablet) steht der Umschalter sichtbar im Kopf, links neben dem Menü-Knopf.
     Jede Sprache hat 44 x 44 px Tippfläche; der Punkt liegt genau auf der Grenze und kostet keinen Platz. */
  .fassung { margin-block: -3px; }
  .fassung li + li::before { position: absolute; left: 0; top: 50%; transform: translate(-50%, -50%); pointer-events: none; }
  .fassung a { display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0; }
  .fassung a[aria-current="true"] { background-size: 22px 2px; background-position: 50% calc(50% + 13px); }
}
/* Am Handy weicht der Termin-Knopf im Kopf dem Umschalter; der Termin steht weiter im Menü und auf jeder Seite */
@media (max-width: 499px) {
  .js .kopf-termin { display: none; }
}
@media (max-width: 389px) {
  .menue-knopf { padding: 11px 12px; }
  .menue-knopf span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
@media (max-width: 359px) {
  .kopf-innen { gap: 8px; }
  .marke { gap: 8px; font-size: 1rem; }
  .marke svg { width: 26px; }
  .kopf-termin { padding: 9px 12px; }
}

/* ---------- Knöpfe und Links ---------- */
.knopf {
  position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--papier); color: var(--navy); text-decoration: none; font-weight: 600; font-size: 1.04rem; line-height: 1.25;
  padding: 16px 26px; border-radius: 999px; transition: transform .3s var(--weich);
  text-align: center; text-wrap: balance; border: 0; cursor: pointer;
}
.knopf::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
  box-shadow: 0 0 34px 6px rgba(79, 127, 166, .75); opacity: .6; transition: opacity .3s var(--weich);
}
.knopf:hover { transform: translateY(-2px); text-decoration: none; }
.knopf:hover::after { opacity: 1; }
.knopf svg { width: 18px; height: 18px; flex: none; transition: transform .3s var(--weich); }
.knopf:hover svg { transform: translateX(3px); }
.knopf:focus-visible { outline-color: var(--steel); outline-offset: 4px; border-radius: 999px; }
.knopf-leise {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 24px; border-radius: 999px;
  border: 1px solid rgba(183, 196, 210, .55); color: var(--papier); text-decoration: none; font-weight: 600; line-height: 1.25; text-align: center;
  background: transparent; transition: transform .3s var(--weich), border-color .3s var(--weich);
}
.knopf-leise:hover { transform: translateY(-2px); border-color: var(--papier); }
.knopf-leise svg { width: 18px; height: 18px; flex: none; transition: transform .3s var(--weich); }
.knopf-leise:hover svg { transform: translateX(3px); }
.knopf-leise:focus-visible { border-radius: 999px; }
@media (max-width: 430px) { .knopf { padding: 15px 18px; font-size: 1rem; } .knopf svg { display: none; } .knopf-leise { padding: 14px 18px; } }
@media (max-width: 379px) { .knopf { padding: 14px 16px; font-size: .97rem; } }
.handlungen { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.textlink { color: var(--papier); font-weight: 600; }
/* Pfeil-Link: unterstrichen ist nur der Text, der Pfeil steht frei daneben und hängt am letzten Wort */
.pfeil-link {
  color: var(--papier); font-weight: 600;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .32em; text-decoration-color: rgba(183, 196, 210, .6);
  transition: text-decoration-color .3s var(--weich);
}
.pfeil-link .pl-ende { white-space: nowrap; }
.pfeil-link svg { display: inline-block; width: 17px; height: 17px; margin-left: 8px; vertical-align: -.22em; stroke-width: 2.3; transition: transform .3s var(--weich); }
.pfeil-link:hover { text-decoration-thickness: 1px; text-decoration-color: var(--papier); }
.pfeil-link:hover svg { transform: translateX(4px); }
.hinweis { font-family: var(--mono); font-size: .8rem; line-height: 1.5; color: var(--leise); letter-spacing: .02em; }

/* ---------- Kleine Etiketten ---------- */
.marker {
  display: inline-flex; align-items: center; gap: 12px;
  font: 500 .78rem/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--silber);
}
.marker::before {
  content: ""; width: 22px; aspect-ratio: 130 / 96; flex: none;
  background: url("logo-auf-dunkel.svg") center / contain no-repeat;
}

/* ---------- Kachel (ein Werkzeug) ---------- */
.kachel {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  width: 112px; height: 78px; border-radius: 12px;
  background: linear-gradient(160deg, var(--kachel-hell), var(--kachel));
  border: 1px solid rgba(183, 196, 210, .32);
  box-shadow: 0 10px 30px var(--tief), 0 0 26px rgba(79, 127, 166, .22), inset 0 1px 0 rgba(250, 250, 248, .08);
  color: var(--papier);
}
.kachel svg { width: 26px; height: 26px; }
.kachel span { font: 400 .72rem/1 var(--mono); color: var(--silber); letter-spacing: .01em; white-space: nowrap; }

/* ---------- Einstieg ---------- */
.vorspann { position: relative; overflow-x: clip; padding: 26px 0 56px; }
.vorspann::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 52% at 72% 46%, rgba(79, 127, 166, .2), transparent 72%);
}
.vorspann-innen { position: relative; display: grid; gap: 16px; }
.vorspann-text { display: contents; }
.vorspann-text > * { justify-self: start; }
.vorspann h1 { order: 2; font-size: clamp(2.05rem, 8.4vw, 3.45rem); line-height: 1.05; letter-spacing: -.024em; }
.mass { order: 3; font-size: clamp(1.2rem, 3.4vw, 1.55rem); line-height: 1.3; font-weight: 600; color: var(--silber); letter-spacing: -.008em; }
.mass span { white-space: nowrap; }
.buehne-rahmen { order: 4; position: relative; width: 100%; max-width: 520px; justify-self: center; margin: 6px 0 2px; }
.lead { font-size: clamp(1.08rem, 2.2vw, 1.24rem); line-height: 1.55; color: var(--silber); max-width: 34em; }
.vorspann .lead { order: 5; }
.vorspann .handlungen { order: 6; margin-top: 6px; }
.vorspann-text > .hinweis { order: 7; }

.buehne { position: relative; container-type: inline-size; aspect-ratio: 100 / 76; width: 100%; }
.buehne::before {
  content: ""; position: absolute; inset: -6% -4%; pointer-events: none;
  background-image: radial-gradient(rgba(183, 196, 210, .2) 1px, transparent 1.3px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent 100%); mask-image: radial-gradient(closest-side, #000 30%, transparent 100%);
}
.glanz {
  position: absolute; left: 12cqw; top: 6cqw; width: 76cqw; height: 64cqw; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(79, 127, 166, .5), rgba(79, 127, 166, .1) 62%, transparent);
  pointer-events: none;
  animation: glanz-an 1.6s 1.2s ease-out both, glanz-atmen 5s 3s ease-in-out infinite alternate;
}
@keyframes glanz-an { from { opacity: 0; transform: scale(.7); } to { opacity: .85; transform: scale(1); } }
@keyframes glanz-atmen { from { opacity: .85; transform: scale(1); } to { opacity: .5; transform: scale(.95); } }

/* Werkzeuge im Raum. Mitte des Werkzeugs liegt bei (--x, --y) der Bühne, Bühne = 100 x 76. */
.hk {
  --tw: 24cqw; --th: 14cqw;
  position: absolute; left: 0; top: 0; width: var(--tw); height: var(--th);
  animation: 4.4s var(--v, 0s) both;
  will-change: transform, opacity;
}
.hk-karte {
  position: absolute; inset: 0; border-radius: 2.2cqw;
  background: linear-gradient(160deg, var(--kachel-hell), var(--kachel));
  border: 1px solid rgba(183, 196, 210, .4);
  box-shadow: 0 2cqw 5cqw var(--tief), 0 0 4cqw rgba(79, 127, 166, .28), inset 0 1px 0 rgba(250, 250, 248, .1);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.2cqw;
}
.hk-karte svg { width: 5cqw; height: 5cqw; color: var(--papier); }
.hk-karte span { position: relative; font: 400 clamp(11px, 2.5cqw, 13px)/1 var(--mono); color: var(--silber); white-space: nowrap; }
.hk.bleibt { animation-name: hk-bleibt; }
.hk.wird { animation-name: hk-wird; }
.hk.weg { animation-name: hk-weg; }
.hk.weg .hk-karte span::after {
  content: ""; position: absolute; left: -6%; right: -6%; top: 50%; height: 1.5px; margin-top: -.5px; background: var(--papier);
  transform-origin: 0 50%; animation: strich 4.4s var(--v, 0s) both;
}
@keyframes hk-bleibt {
  0% { opacity: 0; transform: translate(calc(var(--sx) * 1cqw - 50%), calc((var(--sy) + 4) * 1cqw - 50%)) rotate(var(--sr)) scale(.84); animation-timing-function: cubic-bezier(.2, .8, .3, 1); }
  10% { opacity: 1; transform: translate(calc(var(--sx) * 1cqw - 50%), calc(var(--sy) * 1cqw - 50%)) rotate(var(--sr)) scale(1); animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  44% { opacity: 1; transform: translate(calc((var(--sx) + var(--dx)) * 1cqw - 50%), calc((var(--sy) + var(--dy)) * 1cqw - 50%)) rotate(var(--dr)) scale(1); animation-timing-function: cubic-bezier(.7, 0, .2, 1.12); }
  61%, 100% { opacity: 1; transform: translate(calc(var(--ex) * 1cqw - 50%), calc(var(--ey) * 1cqw - 50%)) rotate(0deg) scale(1); }
}
@keyframes hk-wird {
  0% { opacity: 0; transform: translate(calc(var(--sx) * 1cqw - 50%), calc((var(--sy) + 4) * 1cqw - 50%)) rotate(var(--sr)) scale(.84); animation-timing-function: cubic-bezier(.2, .8, .3, 1); }
  10% { opacity: 1; transform: translate(calc(var(--sx) * 1cqw - 50%), calc(var(--sy) * 1cqw - 50%)) rotate(var(--sr)) scale(1); animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  62% { opacity: 1; transform: translate(calc((var(--sx) + var(--dx)) * 1cqw - 50%), calc((var(--sy) + var(--dy)) * 1cqw - 50%)) rotate(var(--dr)) scale(1); animation-timing-function: cubic-bezier(.6, 0, .3, 1); }
  76% { opacity: 1; transform: translate(calc(50cqw - 50%), calc(38cqw - 50%)) rotate(0deg) scale(.7); }
  80%, 100% { opacity: 0; transform: translate(calc(50cqw - 50%), calc(38cqw - 50%)) rotate(0deg) scale(.7); }
}
@keyframes hk-weg {
  0% { opacity: 0; transform: translate(calc(var(--sx) * 1cqw - 50%), calc((var(--sy) + 4) * 1cqw - 50%)) rotate(var(--sr)) scale(.84); animation-timing-function: cubic-bezier(.2, .8, .3, 1); }
  10% { opacity: 1; transform: translate(calc(var(--sx) * 1cqw - 50%), calc(var(--sy) * 1cqw - 50%)) rotate(var(--sr)) scale(1); animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  70% { opacity: 1; transform: translate(calc((var(--sx) + var(--dx)) * 1cqw - 50%), calc((var(--sy) + var(--dy)) * 1cqw - 50%)) rotate(var(--dr)) scale(1); }
  80% { opacity: .6; transform: translate(calc((var(--sx) + var(--dx)) * 1cqw - 50%), calc((var(--sy) + var(--dy)) * 1cqw - 50%)) rotate(var(--dr)) scale(1); animation-timing-function: cubic-bezier(.5, 0, .9, .5); }
  95%, 100% { opacity: 0; transform: translate(calc((var(--sx) + var(--dx)) * 1cqw - 50%), calc((var(--sy) + var(--dy) + 11) * 1cqw - 50%)) rotate(var(--fr)) scale(.94); }
}
@keyframes strich { 0%, 70% { transform: scaleX(0); } 78%, 100% { transform: scaleX(1); } }

/* Leitungen: gerade Stücke, ihre Enden liegen unter Werkzeug und System */
.ltg { position: absolute; display: block; background: var(--steel); box-shadow: 0 0 10px rgba(79, 127, 166, .9); overflow: hidden; animation: .5s 2.9s var(--weich) both; }
.ltg b { position: absolute; display: block; opacity: 0; }
.l-l, .l-r { top: calc(38cqw - 1px); width: 12cqw; height: 2px; animation-name: ltg-x; }
.l-o, .l-u { left: calc(50cqw - 1px); width: 2px; height: 12cqw; animation-name: ltg-y; }
.l-l { left: 20cqw; transform-origin: 0 50%; animation-delay: 2.9s; }
.l-r { left: 68cqw; transform-origin: 100% 50%; animation-delay: 2.78s; }
.l-o { top: 12cqw; transform-origin: 50% 0; animation-delay: 2.72s; }
.l-u { top: 52cqw; transform-origin: 50% 100%; animation-delay: 2.84s; }
@keyframes ltg-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes ltg-y { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.l-l b, .l-r b { top: 0; left: 0; width: 4cqw; height: 100%; background: linear-gradient(90deg, transparent, #fff, transparent); }
.l-o b, .l-u b { left: 0; top: 0; height: 4cqw; width: 100%; background: linear-gradient(180deg, transparent, #fff, transparent); }
.l-l b { animation: puls-r 4.2s 4.9s infinite; }
.l-r b { animation: puls-l 4.2s 6s infinite; }
.l-o b { animation: puls-u 4.2s 5.5s infinite; }
.l-u b { animation: puls-o 4.2s 6.6s infinite; }
@keyframes puls-r { 0% { opacity: 0; transform: translateX(-4cqw); } 4% { opacity: 1; } 26% { opacity: 1; } 30%, 100% { opacity: 0; transform: translateX(12cqw); } }
@keyframes puls-l { 0% { opacity: 0; transform: translateX(12cqw); } 4% { opacity: 1; } 26% { opacity: 1; } 30%, 100% { opacity: 0; transform: translateX(-4cqw); } }
@keyframes puls-u { 0% { opacity: 0; transform: translateY(-4cqw); } 4% { opacity: 1; } 26% { opacity: 1; } 30%, 100% { opacity: 0; transform: translateY(12cqw); } }
@keyframes puls-o { 0% { opacity: 0; transform: translateY(12cqw); } 4% { opacity: 1; } 26% { opacity: 1; } 30%, 100% { opacity: 0; transform: translateY(-4cqw); } }

/* Das System in der Mitte */
.kern {
  --pw: 20cqw; --ph: 16.5cqw;
  position: absolute; left: calc(50cqw - var(--pw)); top: calc(38cqw - var(--ph)); width: calc(var(--pw) * 2); height: calc(var(--ph) * 2);
  border-radius: 3.4cqw; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3.2cqw;
  background: linear-gradient(160deg, #2E4763, #1C3046);
  border: 1px solid rgba(183, 196, 210, .55);
  box-shadow: 0 3cqw 8cqw var(--tief), 0 0 7cqw rgba(79, 127, 166, .55), inset 0 1px 0 rgba(250, 250, 248, .12);
  animation: kern-an .8s 1.25s var(--weich) both;
}
.kern-logo { display: block; width: 24cqw; filter: drop-shadow(0 0 1.6cqw rgba(79, 127, 166, .8)); }
.kern-logo svg { width: 100%; height: auto; animation: aufdecken .8s 1.6s cubic-bezier(.4, 0, .2, 1) both; }
.kern-name { font: 500 clamp(11px, 2.6cqw, 14px)/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--papier); animation: kern-text .6s 2.1s var(--weich) both; }
.kern::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; border: 1.5px solid var(--papier); pointer-events: none;
  box-shadow: 0 0 6cqw rgba(79, 127, 166, .95), inset 0 0 4cqw rgba(79, 127, 166, .4); opacity: 0;
  animation: blitz 1.1s 3.42s ease-out both;
}
@keyframes kern-an { from { opacity: 0; transform: scale(.86); } to { opacity: 1; transform: scale(1); } }
@keyframes kern-text { from { opacity: 0; } to { opacity: 1; } }
@keyframes aufdecken { from { clip-path: inset(-40% 105% -40% -40%); } to { clip-path: inset(-40% -40% -40% -40%); } }
@keyframes blitz { 0% { opacity: 0; } 25% { opacity: 1; } 100% { opacity: 0; } }
@container (min-width: 480px) {
  .hk { --tw: 21cqw; --th: 13cqw; }
  .kern { --pw: 20cqw; --ph: 16cqw; }
}
/* Schmale Handys: breitere Kacheln, damit jede Beschriftung in ihre Kachel passt; Leitungen rücken mit */
@container (max-width: 345px) {
  .hk { --tw: 26cqw; }
  .hk.p-l { --ex: 13 !important; }
  .hk.p-r { --ex: 87 !important; }
  .kern { --pw: 19cqw; }
  .l-l { left: 21cqw; }
  .l-r { left: 67cqw; }
}
@container (max-width: 324px) {
  .hk { --tw: 28cqw; }
  .hk.p-l { --ex: 14 !important; }
  .hk.p-r { --ex: 86 !important; }
  .kern { --pw: 18cqw; }
  .l-l { left: 22cqw; }
  .l-r { left: 66cqw; }
}

@supports not (width: 1cqw) { .buehne-rahmen { display: none; } }
.buehne-fuss { display: flex; align-items: center; justify-content: center; gap: 10px 18px; flex-wrap: wrap; margin-top: 10px; min-height: 34px; }
.buehne-rahmen.ruht .ltg b, .buehne-rahmen.ruht .glanz { animation-play-state: paused; }
.buehne-zeile { font: 400 .8rem/1.4 var(--mono); letter-spacing: .03em; color: var(--silber); text-align: center; text-wrap: balance; animation: auftritt .7s 3.6s var(--weich) both; }
.nochmal {
  display: none; align-items: center; gap: 8px;
  font: 500 .72rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--silber);
  background: rgba(22, 39, 58, .6); border: 1px solid var(--rand); border-radius: 999px; padding: 9px 13px; cursor: pointer;
  transition: transform .25s var(--weich);
}
.nochmal:hover { color: var(--papier); transform: translateY(-1px); }
.nochmal svg { width: 10px; height: 10px; }

/* Text des Einstiegs: spätestens nach 1,4 s vollständig */
.vorspann-text > * { animation: auftritt .62s var(--weich) both; }
.vorspann-text > h1 { animation-delay: .1s; }
.vorspann-text > .mass { animation-delay: .28s; }
.vorspann-text > .lead { animation-delay: .44s; }
.vorspann-text > .handlungen { animation-delay: .6s; }
.vorspann-text > .hinweis { animation-delay: .7s; }
@keyframes auftritt { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (min-width: 600px) {
  .vorspann { padding: 40px 0 80px; }
  .js .nochmal { display: inline-flex; }
  .buehne-fuss { justify-content: space-between; }
  .buehne-zeile { text-align: left; }
}
@media (min-width: 960px) {
  .vorspann { min-height: min(calc(100svh - var(--kopf-h)), 860px); display: grid; align-items: center; padding: 40px 0 64px; }
  .vorspann-innen { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 44px; align-items: center; }
  .vorspann-text { display: grid; gap: 20px; justify-items: start; }
  .buehne-rahmen { margin: 0; max-width: none; justify-self: stretch; }
  .vorspann h1 { font-size: clamp(2.6rem, 4.3vw, 3.45rem); }
}

/* ---------- Abschnitte der Startseite ---------- */
.akt { position: relative; padding: clamp(72px, 10vw, 136px) 0; overflow-x: clip; }
.akt + .akt::before, .trenner::before {
  content: ""; position: absolute; top: 0; left: 50%; width: min(100% - 32px, 1160px); height: 1px; transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(183, 196, 210, .22), transparent);
}
.akt.schritt { padding: clamp(56px, 7.5vw, 104px) 0; }
.akt-kopf { display: grid; gap: 18px; justify-items: start; margin-bottom: clamp(30px, 5vw, 54px); max-width: 44rem; }
.akt-kopf h2 { font-size: clamp(1.95rem, 5.2vw, 3.3rem); line-height: 1.06; letter-spacing: -.02em; }
.akt-kopf p:not(.marker) { color: var(--silber); font-size: clamp(1.06rem, 1.8vw, 1.2rem); }
.zwei-spalten { display: grid; gap: 40px; align-items: center; }
.zwei-spalten > .abschnitt-titel { margin-bottom: -14px; }
@media (min-width: 960px) {
  .zwei-spalten { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; }
  .zwei-spalten > .abschnitt-titel { margin-bottom: 0; }
}

/* Einblenden: nur mit JS versteckt */
.js [data-zeigen].weich:not(.da) { opacity: 0; transform: translateY(26px); }
[data-zeigen].weich { transition: opacity .8s var(--weich), transform .9s var(--weich); }

/* ---------- Schritt 1: Kennenlernen ---------- */
.auftakt { display: grid; gap: 28px; align-items: center; }
.auftakt .akt-kopf { margin-bottom: 0; }
.minuten {
  display: grid; gap: 6px; justify-items: start; padding: 26px 28px; border-radius: 22px; border: 1px solid rgba(79, 127, 166, .6);
  background: radial-gradient(120% 140% at 0% 0%, rgba(79, 127, 166, .34), rgba(79, 127, 166, .06) 60%), var(--glas);
}
.minuten .zahl { color: var(--papier); font-size: clamp(3.4rem, 9vw, 5.2rem); font-weight: 600; line-height: .95; letter-spacing: -.03em; }
.minuten .zahl small { font-size: .32em; font-weight: 400; color: var(--silber); letter-spacing: 0; }
.minuten p { color: var(--silber); }
.minuten .pfeil-link { margin-top: 12px; }
@media (min-width: 860px) { .auftakt { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 56px; } }

/* ---------- Schritt 2: Prüfstand ---------- */
.pruefstand { position: relative; overflow: clip; padding: 22px; border-radius: 22px; border: 1px solid var(--rand); background: var(--glas); }
.ps-liste { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
.ps-liste li { display: grid; align-content: start; gap: 12px; --t: calc(.45s + var(--z) * .5s); }
.ps-liste .kachel { width: 100%; box-shadow: none; transition: opacity .6s var(--weich) var(--t, 0s); }
.ps-liste .kachel span { transition: color .6s var(--weich) var(--t, 0s); text-decoration: line-through; text-decoration-color: transparent; text-decoration-thickness: 1.5px; }
.ps-liste .kachel::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; border: 1.5px solid var(--steel);
  box-shadow: 0 0 22px rgba(79, 127, 166, .55); opacity: 0;
  transition: opacity .5s var(--weich) var(--t, 0s);
}
.pruefstand.da li:not(.weg) .kachel::after, html:not(.js) .ps-liste li:not(.weg) .kachel::after { opacity: 1; }
.pruefstand.da li.weg .kachel, html:not(.js) .ps-liste li.weg .kachel { opacity: .55; }
.pruefstand.da li.weg .kachel span, html:not(.js) .ps-liste li.weg .kachel span { text-decoration-color: var(--papier); transition: color .6s var(--weich) var(--t, 0s), text-decoration-color .4s var(--weich) calc(var(--t, 0s) + .2s); }
.urteil { display: flex; align-items: flex-start; gap: 8px; font: 500 .76rem/1.3 var(--mono); color: var(--papier); min-height: 2.6em; }
.urteil::before { content: ""; width: 14px; height: 3px; border-radius: 3px; flex: none; margin-top: .52em; }
.u-an::before { background: var(--steel); box-shadow: 0 0 8px var(--steel); }
.u-bau::before { background: var(--papier); box-shadow: 0 0 8px rgba(250, 250, 248, .7); }
.u-weg::before { background: transparent; border: 1px solid var(--silber); height: 5px; margin-top: .44em; }
.js .urteil { transition: opacity .5s var(--weich) var(--t, 0s), transform .6s var(--rast) var(--t, 0s); }
.js .pruefstand:not(.da) .urteil { opacity: 0; transform: translateY(8px); }
.ps-strahl { position: absolute; inset: 0; pointer-events: none; opacity: 0; }
.ps-strahl::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--papier) 20%, var(--papier) 80%, transparent);
  box-shadow: 0 0 18px 3px rgba(79, 127, 166, .9);
}
.ps-strahl::after {
  content: ""; position: absolute; left: 0; right: 0; top: -70px; height: 70px;
  background: linear-gradient(to top, rgba(79, 127, 166, .28), transparent);
}
.pruefstand.da .ps-strahl { animation: strahl-runter 2.6s .2s cubic-bezier(.45, 0, .4, 1) both; }
@keyframes strahl-runter { 0% { opacity: 0; transform: translateY(0); } 8% { opacity: 1; } 90% { opacity: 1; } 100% { opacity: 0; transform: translateY(100%); } }
@keyframes strahl-quer { 0% { opacity: 0; transform: translateX(0); } 8% { opacity: 1; } 90% { opacity: 1; } 100% { opacity: 0; transform: translateX(100%); } }
.ps-fuss { position: relative; z-index: 1; margin-top: 20px; }
.kernsatz { padding-left: 20px; border-left: 3px solid var(--steel); font-size: clamp(1.1rem, 1.9vw, 1.22rem); line-height: 1.5; max-width: 30em; }
@media (min-width: 600px) {
  .pruefstand { padding: 34px 30px; }
  .ps-liste { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 18px; }
  .ps-liste li { --t: calc(.45s + var(--c) * .55s); }
  .ps-strahl::before { left: 0; top: 0; bottom: 0; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, transparent, var(--papier) 20%, var(--papier) 80%, transparent); }
  .ps-strahl::after { left: -90px; top: 0; bottom: 0; right: auto; width: 90px; height: auto; background: linear-gradient(to left, rgba(79, 127, 166, .3), transparent); }
  .pruefstand.da .ps-strahl { animation-name: strahl-quer; }
}

/* ---------- Schritt 3: Bausteine ---------- */
.bausteine { --luecke: 26px; display: grid; gap: var(--luecke); grid-template-columns: minmax(0, 1fr); }
.baustein {
  position: relative; padding: 22px 22px 24px; border-radius: 18px;
  background: linear-gradient(165deg, rgba(250, 250, 248, .085), rgba(250, 250, 248, .03));
  border: 1px solid rgba(183, 196, 210, .3);
  box-shadow: 0 16px 40px var(--tief), inset 0 1px 0 rgba(250, 250, 248, .07);
  display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; align-items: start; align-content: start;
}
.baustein .bs-icon {
  grid-row: span 2; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(79, 127, 166, .2); border: 1px solid rgba(79, 127, 166, .55);
}
.baustein .bs-icon svg { width: 24px; height: 24px; color: var(--papier); }
.baustein h3 { font-size: 1.24rem; }
.baustein p { color: var(--silber); font-size: 1rem; line-height: 1.5; }
.baustein .bs-blitz {
  position: absolute; inset: -1px; border-radius: inherit; border: 1.5px solid var(--papier); pointer-events: none;
  box-shadow: 0 0 30px rgba(79, 127, 166, .9), inset 0 0 18px rgba(79, 127, 166, .35); opacity: 0;
}
/* Verbindungen: jede reicht von Rand zu Rand, je einen Pixel in beide Ränder hinein */
.baustein::before, .baustein::after {
  content: ""; position: absolute; display: none; background: var(--steel); box-shadow: 0 0 10px rgba(79, 127, 166, .9);
}
.baustein::before { left: calc(50% - 1px); bottom: 100%; width: 2px; height: calc(var(--luecke) + 2px); transform-origin: 50% 0; }
.baustein::after { top: calc(50% - 1px); right: 100%; height: 2px; width: calc(var(--luecke) + 2px); transform-origin: 0 50%; }
.baustein:nth-child(n+2)::before { display: block; }

.js .baustein[data-zeigen] { transition: transform 1s var(--rast), opacity .55s var(--weich); }
.js .baustein[data-zeigen]:not(.da) {
  opacity: 0;
  transform: translate(calc(var(--fx) * var(--flug, .45) * 1px), calc(var(--fy) * var(--flug, .45) * 1px)) rotate(var(--fr)) scale(.9);
}
/* Eine Verbindung wächst erst, wenn ihr Baustein und alle davor an ihrem Platz sind */
.js .baustein[data-zeigen]::before { transform: scaleY(0); transition: transform .5s var(--weich); }
.js .baustein[data-zeigen]::after { transform: scaleX(0); transition: transform .5s var(--weich); }
.js .baustein.gelandet:not(.baustein:not(.gelandet) ~ .baustein)::before { transform: scaleY(1); }
.js .baustein.gelandet:not(.baustein:not(.gelandet) ~ .baustein)::after { transform: scaleX(1); }
.baustein.da .bs-blitz { animation: blitz 1.2s .55s ease-out both; }

.system-zeile {
  margin-top: 34px; display: flex; align-items: center; gap: 10px 16px; flex-wrap: wrap;
  font-size: clamp(1.1rem, 2vw, 1.3rem); font-weight: 600;
}
.system-zeile .mini-balken { width: 40px; flex: none; }
.js .system-zeile { transition: opacity .8s var(--weich), transform .9s var(--rast); }
.js .bausteine:not(.komplett) + .system-zeile { opacity: 0; transform: translateY(14px); }
.system-zeile span.leise { font-weight: 400; color: var(--silber); font-size: 1.02rem; }
.nach-raster { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: center; justify-content: space-between; }

@media (min-width: 640px) {
  .bausteine { --flug: .75; grid-template-columns: repeat(2, minmax(0, 1fr)); --luecke: 28px; }
  .baustein:nth-child(n)::before { display: none; }
  .baustein:nth-child(n+3)::before { display: block; }
  .baustein:nth-child(even)::after { display: block; }
}
@media (min-width: 1000px) {
  .bausteine { --flug: 1; grid-template-columns: repeat(3, minmax(0, 1fr)); --luecke: 34px; }
  .baustein { grid-template-columns: 1fr; padding: 26px; }
  .baustein .bs-icon { grid-row: auto; margin-bottom: 14px; }
  .baustein:nth-child(n)::before, .baustein:nth-child(n)::after { display: none; }
  .baustein:nth-child(n+4)::before { display: block; }
  .baustein:nth-child(3n+2)::after, .baustein:nth-child(3n)::after { display: block; }
}

/* ---------- Beispiele (Karten auf der Startseite) ---------- */
.fall-karten { display: grid; gap: 16px; }
.fall-karten li { display: grid; }
.fall-karte {
  position: relative; display: grid; gap: 10px; align-content: start; padding: 24px 24px 22px; border-radius: 20px; text-decoration: none;
  background: linear-gradient(165deg, rgba(250, 250, 248, .085), rgba(250, 250, 248, .03));
  border: 1px solid rgba(183, 196, 210, .3);
  transition: transform .35s var(--weich), border-color .35s var(--weich);
}
.fall-karte:hover { transform: translateY(-4px); border-color: rgba(183, 196, 210, .75); }
.fall-karte .fk-wer { font: 500 .74rem/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--silber); }
.fall-karte h3 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); line-height: 1.16; padding-right: 34px; }
.fall-karte .fk-namen { font: 400 .8rem/1.5 var(--mono); color: var(--silber); }
.fall-karte .fk-pfeil {
  position: absolute; right: 20px; top: 22px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(183, 196, 210, .4); transition: transform .35s var(--weich), background-color .35s var(--weich);
}
.fall-karte .fk-pfeil svg { width: 16px; height: 16px; }
.fall-karte:hover .fk-pfeil { transform: translateX(3px); background: rgba(79, 127, 166, .35); }
.fall-karte:focus-visible { border-radius: 20px; }
@media (min-width: 700px) { .fall-karten { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } .fall-karte { padding: 30px 30px 28px; } .fall-karte .fk-pfeil { right: 26px; top: 28px; } }

.check-band {
  margin-top: clamp(28px, 4vw, 44px); display: grid; gap: 18px; align-items: center; padding: clamp(22px, 3.6vw, 34px); border-radius: 22px;
  background: radial-gradient(120% 160% at 0% 0%, rgba(79, 127, 166, .34), rgba(79, 127, 166, .06) 60%), var(--glas);
  border: 1px solid rgba(79, 127, 166, .6);
}
.check-band h3 { font-size: clamp(1.35rem, 2.6vw, 1.7rem); margin: 8px 0 6px; }
.check-band p:not(.hinweis) { color: var(--silber); }
@media (min-width: 760px) { .check-band { grid-template-columns: 1fr auto; gap: 32px; } }

/* ---------- Wer das baut: Person und Belege ---------- */
.beleg { display: grid; gap: 16px; align-items: start; }
.wer { display: grid; align-content: space-between; padding: clamp(22px, 3.4vw, 34px); border-radius: 22px; border: 1px solid var(--rand); background: var(--glas); }
.wer-kopf { display: flex; align-items: center; gap: 20px; padding-bottom: 24px; }
.wer-kopf p { display: grid; gap: 3px; line-height: 1.35; }
.wer-kopf strong { font-size: clamp(1.24rem, 2.4vw, 1.5rem); letter-spacing: -.01em; }
.wer-kopf span { color: var(--silber); }
.portraet-klein {
  width: clamp(96px, 30vw, 112px); height: clamp(96px, 30vw, 112px); border-radius: 26px; object-fit: cover; flex: none;
  box-shadow: 0 0 0 1px rgba(183, 196, 210, .32), 0 10px 26px var(--tief);
}
.fakten > div { display: grid; gap: 4px; padding: 15px 0; border-top: 1px solid rgba(183, 196, 210, .16); }
.fakten dt { font: 500 .76rem/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--silber); }
.wer > p:last-child { padding-top: 20px; border-top: 1px solid rgba(183, 196, 210, .16); }
@media (max-width: 359px) { .wer-kopf { gap: 16px; } .wer-kopf strong { font-size: 1.12rem; } }
@media (min-width: 620px) { .fakten > div { grid-template-columns: 8.5rem minmax(0, 1fr); gap: 18px; align-items: baseline; } }
.beleg-seite { display: grid; gap: 16px; align-content: start; }
.zahl-kachel { display: grid; gap: 8px; padding: 24px 26px; border-radius: 22px; border: 1px solid var(--rand); background: var(--glas); align-content: start; }
.zahl-kachel .zahl { color: var(--papier); font-size: clamp(3.2rem, 8vw, 4.8rem); font-weight: 600; line-height: .95; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.zahl-kachel .zahl small { font-size: .5em; color: var(--silber); font-weight: 400; }
.zahl-kachel .zahl [data-zaehlen] { display: inline-block; min-width: 2ch; text-align: right; }
.zahl-kachel p { color: var(--silber); }
.zahl-kachel .gross-wort { color: var(--papier); font-size: clamp(1.3rem, 2.6vw, 1.6rem); font-weight: 600; line-height: 1.2; }
@media (min-width: 1000px) { .beleg { grid-template-columns: minmax(0, 1.14fr) minmax(0, .86fr); gap: 20px; align-items: stretch; } .beleg-seite { align-content: stretch; } }

/* ---------- Abschluss ---------- */
.abspann { position: relative; overflow-x: clip; padding: clamp(56px, 7vw, 96px) 0 clamp(88px, 12vw, 150px); text-align: center; }
.akt:has(+ .abspann), .abschnitt:has(+ .abspann) { padding-bottom: clamp(40px, 5vw, 64px); }
.abspann::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(52% 46% at 50% 44%, rgba(79, 127, 166, .3), transparent 100%);
}
.abspann-innen { position: relative; display: grid; justify-items: center; gap: 24px; }
.abspann-logo { display: block; width: clamp(120px, 20vw, 190px); margin-bottom: 10px; filter: drop-shadow(0 0 16px rgba(79, 127, 166, .75)); }
.abspann-logo svg { width: 100%; height: auto; clip-path: inset(-40% -40% -40% -40%); }
.js .abspann-logo[data-zeigen] svg { transition: clip-path 1s cubic-bezier(.4, 0, .2, 1) .1s; }
.js .abspann-logo[data-zeigen]:not(.da) svg { clip-path: inset(-40% 105% -40% -40%); }
.abspann h2 { font-size: clamp(2.2rem, 6.6vw, 4.2rem); letter-spacing: -.025em; line-height: 1.04; }
.abspann p { color: var(--silber); font-size: clamp(1.06rem, 2vw, 1.24rem); max-width: 34em; }
.abspann .handlungen { justify-content: center; }
.kontakt-zeile { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; font-family: var(--mono); font-size: .92rem; }
.kontakt-zeile a { color: var(--papier); }

/* ---------- Fuß ---------- */
.fuss { border-top: 1px solid rgba(183, 196, 210, .14); padding: 44px 0 36px; background: rgba(8, 15, 24, .22); }
.fuss-innen { display: grid; gap: 26px; }
.fuss-marke { display: flex; gap: 14px; align-items: center; }
.fuss-marke svg { width: 34px; flex: none; }
.fuss-marke p { display: grid; line-height: 1.35; }
.fuss-marke strong { font-weight: 600; }
.fuss-marke span { color: var(--silber); font-size: .94rem; }
.fuss-spalten { display: grid; gap: 22px; }
.fuss h2 { font: 500 .74rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--silber); margin-bottom: 12px; }
.fuss ul { display: grid; gap: 6px; }
.fuss a { color: var(--papier); text-decoration-color: rgba(183, 196, 210, .5); }
.fuss-unten { display: grid; gap: 8px; }
.fuss-zeile { color: var(--silber); font-size: .88rem; }
.fuss-hinweis { color: var(--silber); font-size: .8rem; line-height: 1.5; max-width: 44em; text-wrap: balance; }
@media (min-width: 560px) { .fuss-spalten { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); } }
@media (min-width: 900px) {
  .fuss-innen { grid-template-columns: 1.05fr 2fr; align-items: start; }
  .fuss-unten { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; gap: 12px 40px; }
  .fuss-unten .fuss-zeile { flex: none; }
  .fuss-hinweis { text-align: right; max-width: none; }
}

/* ---------- Unterseiten ---------- */
.seitenkopf { position: relative; overflow-x: clip; padding: clamp(44px, 8vw, 96px) 0 clamp(38px, 6vw, 66px); }
.seitenkopf::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(46% 62% at 84% 30%, rgba(79, 127, 166, .24), transparent 100%);
}
.seitenkopf .huelle { position: relative; display: grid; gap: 20px; justify-items: start; }
.seitenkopf h1 { font-size: clamp(2.2rem, 7vw, 4.2rem); line-height: 1.04; letter-spacing: -.025em; max-width: 15em; }
.seitenkopf .lead { max-width: 36em; }
.seitenkopf .huelle > *, .seitenkopf .sk-text > * { animation: auftritt .6s var(--weich) both; }
.seitenkopf .huelle > :nth-child(2), .seitenkopf .sk-text > :nth-child(2) { animation-delay: .1s; }
.seitenkopf .huelle > :nth-child(3), .seitenkopf .sk-text > :nth-child(3) { animation-delay: .2s; }
.seitenkopf .huelle > :nth-child(4), .seitenkopf .sk-text > :nth-child(4) { animation-delay: .3s; }
.seitenkopf .sk-text { display: grid; gap: 20px; justify-items: start; animation: none; }
.abschnitt { position: relative; padding: clamp(52px, 8vw, 104px) 0; overflow-x: clip; }
.abschnitt.oben-eng { padding-top: 0; }
.abschnitt-titel { font-size: clamp(1.7rem, 4vw, 2.6rem); line-height: 1.1; margin-bottom: 26px; }
.text-fluss { display: grid; gap: 18px; font-size: 1.1rem; max-width: 38em; justify-items: start; }
.text-fluss p { color: var(--silber); }
.text-fluss p.hell { color: var(--papier); }

/* Über mich */
.ich-raster { display: grid; gap: 26px; align-items: center; }
.portraet-mittel {
  order: -1; margin: 6px 0 0 7px; width: 104px; height: 104px; border-radius: 22px; object-fit: cover;
  box-shadow: 0 0 0 1px rgba(183, 196, 210, .35), 0 0 0 7px rgba(79, 127, 166, .22), 0 18px 44px var(--tief), 0 0 54px rgba(79, 127, 166, .4);
}
@media (min-width: 900px) {
  .ich-raster { grid-template-columns: minmax(0, 1fr) auto; gap: 64px; }
  .portraet-mittel { order: 0; width: 160px; height: 160px; border-radius: 30px; margin: 0 24px 0 0; }
}
.stationen { position: relative; display: grid; gap: 0; }
.stationen li { position: relative; padding: 0 0 34px 44px; display: grid; gap: 6px; }
/* Die Linie läuft von Mitte Marke zu Mitte Marke, ihre Enden liegen unter den Marken */
.stationen li::before { content: ""; position: absolute; left: 9px; top: 11px; width: 2px; height: 100%; background: var(--steel); transform-origin: 50% 0; }
.stationen li:last-child::before { display: none; }
.stationen li::after {
  content: ""; position: absolute; left: 0; top: 7px; width: 20px; height: 8px; border-radius: 8px; background: var(--papier);
  box-shadow: 0 0 14px rgba(79, 127, 166, .9);
}
.stationen li:last-child { padding-bottom: 0; }
.stationen .ort { font: 500 .78rem/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--silber); }
.stationen h3 { font-size: 1.35rem; }
.stationen p { color: var(--silber); }
.js .stationen li[data-zeigen] > * { transition: opacity .7s var(--weich), transform .8s var(--weich); }
.js .stationen li[data-zeigen]:not(.da) > * { opacity: 0; transform: translateX(-18px); }
.js .stationen li[data-zeigen]::after { transition: opacity .5s var(--weich); }
.js .stationen li[data-zeigen]:not(.da)::after { opacity: 0; }
.js .stationen li[data-zeigen]::before { transition: transform .7s var(--weich) .1s; }
.js .stationen li[data-zeigen]:not(:has(+ li.da))::before { transform: scaleY(0); }
.belege { display: grid; }
.belege li { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); gap: 4px 6px; align-items: baseline; padding: 15px 0; border-top: 1px solid rgba(183, 196, 210, .18); }
.belege li:last-child { border-bottom: 1px solid rgba(183, 196, 210, .18); }
.bl-nr { font: 500 .76rem/1.3 var(--mono); letter-spacing: .1em; color: var(--silber); }
.bl-text { font-size: clamp(1.08rem, 1.9vw, 1.22rem); line-height: 1.4; }
.bl-text b { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.bl-text [data-zaehlen] { display: inline-block; min-width: 2ch; text-align: right; }
.bl-skala { grid-column: 2; display: block; height: 4px; margin-top: 8px; border-radius: 4px; background: rgba(183, 196, 210, .2); overflow: hidden; }
.bl-skala i { display: block; height: 100%; width: 80%; border-radius: 4px; background: var(--steel); box-shadow: 0 0 10px rgba(79, 127, 166, .9); transform-origin: 0 50%; }
.js .belege li[data-zeigen] { transition: opacity .6s var(--weich) calc(var(--i, 0) * 40ms), transform .7s var(--weich) calc(var(--i, 0) * 40ms); }
.js .belege li[data-zeigen]:not(.da) { opacity: 0; transform: translateX(-18px); }
.js .belege li[data-zeigen] .bl-skala i { transition: transform 1.4s var(--weich) .25s; }
.js .belege li[data-zeigen]:not(.da) .bl-skala i { transform: scaleX(0); }

/* Interim */
.steckbrief { display: grid; border-radius: 22px; border: 1px solid var(--rand); background: var(--glas); padding: 6px 24px; }
.steckbrief > div { display: grid; gap: 6px; padding: 18px 0; border-top: 1px solid rgba(183, 196, 210, .16); }
.steckbrief > div:first-child { border-top: 0; }
.steckbrief dt { font: 500 .76rem/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--silber); }
.steckbrief dd { font-size: 1.08rem; }
@media (min-width: 760px) { .steckbrief > div { grid-template-columns: 12rem 1fr; gap: 20px; align-items: baseline; } .steckbrief { padding: 10px 34px; } }
.luecke-szene { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 420px; width: 100%; margin-inline: auto; }
.luecke-szene .feld { aspect-ratio: 1.4; border-radius: 14px; border: 1px solid rgba(183, 196, 210, .3); background: var(--glas); display: grid; place-items: center; }
.luecke-szene .feld svg { width: 26px; height: 26px; color: var(--silber); }
.luecke-szene .leer { border: 1px dashed rgba(183, 196, 210, .55); background: transparent; position: relative; }
.luecke-szene .einspringer {
  position: absolute; inset: -1px; border-radius: 14px; background: linear-gradient(160deg, #3A6183, #25405A); color: var(--papier);
  border: 1px solid var(--silber);
  display: grid; place-items: center; align-content: center; gap: 8px; font: 500 .72rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase;
  box-shadow: 0 0 34px rgba(79, 127, 166, .95);
}
.luecke-szene .einspringer svg { width: 26px; height: auto; }
.js .luecke-szene .einspringer { transition: transform 1s var(--rast) .3s, opacity .5s var(--weich) .3s; }
.js .luecke-szene:not(.da) .einspringer { opacity: 0; transform: translateY(-64px) scale(.86); }

/* So läuft es ab */
.weg-liste { display: grid; max-width: 860px; }
.weg-liste > li { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 0 20px; padding-bottom: 34px; }
.weg-liste > li:last-child { padding-bottom: 0; }
/* Die Linie läuft von Mitte Knoten zu Mitte Knoten, die Enden liegen unter den Knoten */
.weg-liste > li::before { content: ""; position: absolute; left: 27px; top: 28px; width: 2px; height: 100%; background: var(--steel); box-shadow: 0 0 10px rgba(79, 127, 166, .8); transform-origin: 50% 0; }
.weg-liste > li:last-child::before { display: none; }
.weg-knoten {
  position: relative; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(160deg, #2E4763, #1C3046); border: 1px solid rgba(183, 196, 210, .5);
  box-shadow: 0 0 26px rgba(79, 127, 166, .5);
}
.weg-knoten svg { width: 26px; height: 26px; }
.weg-inhalt { display: grid; gap: 8px; padding: 2px 0 6px; }
.weg-inhalt .sz-nr { font: 500 .76rem/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--silber); }
.weg-inhalt h2 { font-size: clamp(1.45rem, 3vw, 1.9rem); }
.weg-inhalt p { color: var(--silber); max-width: 38em; }
.js .weg-liste > li[data-zeigen] .weg-knoten, .js .weg-liste > li[data-zeigen] .weg-inhalt { transition: opacity .7s var(--weich), transform .8s var(--weich); }
.js .weg-liste > li[data-zeigen]:not(.da) .weg-knoten { opacity: 0; transform: scale(.8); }
.js .weg-liste > li[data-zeigen]:not(.da) .weg-inhalt { opacity: 0; transform: translateX(18px); }
.js .weg-liste > li[data-zeigen]::before { transition: transform .7s var(--weich) .1s; }
.js .weg-liste > li[data-zeigen]:not(:has(+ li.da))::before { transform: scaleY(0); }
@media (min-width: 760px) { .weg-liste > li { grid-template-columns: 64px minmax(0, 1fr); gap: 0 30px; padding-bottom: 46px; } .weg-knoten { width: 64px; height: 64px; } .weg-liste > li::before { left: 31px; top: 32px; } }
.ablauf-raster { display: grid; gap: clamp(44px, 7vw, 72px); align-items: start; }
@media (min-width: 1000px) { .ablauf-raster { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 56px; } }
.wissen { padding: clamp(22px, 3.4vw, 32px); border-radius: 22px; border: 1px solid var(--rand); background: var(--glas); }
.wissen h2 { font-size: clamp(1.4rem, 2.8vw, 1.7rem); margin-bottom: 8px; }
.fragen { display: grid; gap: 0; }
.fragen > div { display: grid; gap: 6px; padding: 18px 0; border-top: 1px solid rgba(183, 196, 210, .18); }
.fragen > div:first-child { border-top: 0; }
.fragen > div:last-child { padding-bottom: 4px; }
.fragen dt { font-weight: 600; font-size: 1.1rem; }
.fragen dd { color: var(--silber); }

/* Termin */
.termin-raster { display: grid; gap: 20px; }
.termin-karte {
  position: relative; display: grid; gap: 22px; justify-items: start; padding: clamp(20px, 5vw, 48px); border-radius: 26px;
  background: radial-gradient(120% 120% at 100% 0%, rgba(79, 127, 166, .4), rgba(79, 127, 166, .06) 60%), var(--glas);
  border: 1px solid rgba(79, 127, 166, .6);
}
.termin-karte h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); }
.termin-karte p:not(.hinweis) { color: var(--silber); font-size: 1.08rem; }
.drei-schritte { display: grid; gap: 14px; counter-reset: s; }
.drei-schritte li { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: baseline; font-size: 1.06rem; }
.drei-schritte li::before { counter-increment: s; content: "0" counter(s); font: 500 .8rem/1 var(--mono); color: var(--silber); letter-spacing: .08em; }
.kontakt-wege { display: grid; gap: 14px; align-content: start; }
.kontakt-weg { display: grid; gap: 4px; padding: 22px 24px; border-radius: 18px; border: 1px solid var(--rand); background: var(--glas); }
.kontakt-weg .art { font: 500 .74rem/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--silber); }
.kontakt-weg a { font-size: clamp(1.15rem, 2.6vw, 1.4rem); font-weight: 600; overflow-wrap: anywhere; }
@media (min-width: 900px) { .termin-raster { grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr); gap: 28px; align-items: start; } }

/* ---------- Beispiele ---------- */
.faelle-frage { margin-bottom: 14px; }
.faelle { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fall-reiter {
  position: relative; display: grid; gap: 4px; align-content: start; padding: 14px 14px 23px; border-radius: 16px; text-decoration: none; cursor: pointer;
  background: var(--glas); border: 1px solid var(--rand); color: var(--silber);
  transition: border-color .3s var(--weich), background-color .3s var(--weich), transform .3s var(--weich);
}
.fall-reiter .fr-nr { font: 500 .72rem/1.3 var(--mono); letter-spacing: .12em; color: var(--silber); }
.fall-reiter strong { color: var(--papier); font-size: 1.04rem; line-height: 1.2; }
.fall-reiter .fr-unter { font-size: .86rem; line-height: 1.35; color: var(--silber); }
.fall-reiter:hover { border-color: rgba(183, 196, 210, .6); transform: translateY(-2px); }
.fall-reiter[aria-selected="true"] { background: linear-gradient(160deg, #2E4763, #1C3046); border-color: var(--papier); box-shadow: 0 0 30px rgba(79, 127, 166, .5); }
.fall-reiter[aria-selected="true"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 10px; height: 3px; border-radius: 3px; background: var(--steel); box-shadow: 0 0 10px rgba(79, 127, 166, .9);
}
.fall-reiter:focus-visible { border-radius: 16px; }
@media (min-width: 860px) { .faelle { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } .fall-reiter { padding: 18px 20px 30px; } .fall-reiter strong { font-size: 1.14rem; } .fall-reiter[aria-selected="true"]::after { left: 20px; right: 20px; bottom: 13px; } }

.fall { padding-top: clamp(34px, 5vw, 56px); }
html:not(.js) .fall + .fall { margin-top: 40px; border-top: 1px solid rgba(183, 196, 210, .18); }
.fall-kopf { display: grid; gap: 14px; justify-items: start; max-width: 46rem; margin-bottom: clamp(24px, 4vw, 40px); }
.fall-kopf h2 { font-size: clamp(1.7rem, 4.4vw, 2.7rem); line-height: 1.08; letter-spacing: -.018em; }
.fall-kopf p:not(.marker):not(.hinweis) { color: var(--silber); font-size: clamp(1.04rem, 1.7vw, 1.16rem); }
.fall-raster { display: grid; gap: 22px; align-items: start; }
@media (min-width: 980px) { .fall-raster { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 36px; } }

/* Der Plan: oben angebunden, in der Mitte das System, unten was wegfällt */
.plan { --abstand: 30px; position: relative; padding: clamp(16px, 3vw, 28px); border-radius: 22px; border: 1px solid var(--rand); background: rgba(8, 15, 24, .26); }
.plan-zone { display: flex; align-items: center; gap: 10px; font: 500 .7rem/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--silber); }
.plan-zone::before { content: ""; width: 14px; height: 3px; border-radius: 3px; flex: none; }
.plan-zone.z-an::before { background: var(--steel); box-shadow: 0 0 8px var(--steel); }
.plan-zone.z-neu::before { background: var(--papier); box-shadow: 0 0 8px rgba(250, 250, 248, .7); }
.plan-zone.z-weg::before { background: transparent; border: 1px solid var(--silber); height: 5px; }
.plan-an { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.plan-an li { position: relative; display: grid; }
/* Leitung vom Werkzeug ins System: beginnt einen Pixel im Rand des Werkzeugs, endet einen Pixel im Rand des Systems */
.plan-an li::after {
  content: ""; position: absolute; left: calc(50% - 1px); top: calc(100% - 1px); width: 2px; height: calc(var(--abstand) + 2px);
  background: var(--steel); box-shadow: 0 0 10px rgba(79, 127, 166, .9); transform-origin: 50% 0; pointer-events: none;
  transition: background-color .3s var(--weich);
}
.plan-an li.aktiv::after { background: var(--papier); }
.wz {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; width: 100%; min-width: 0; padding: 8px 6px; border-radius: 12px; cursor: pointer;
  background: linear-gradient(160deg, var(--kachel-hell), var(--kachel)); border: 1px solid rgba(183, 196, 210, .4);
  color: var(--papier); font-weight: 600; font-size: .82rem; line-height: 1.2; text-align: center; overflow-wrap: break-word; -webkit-hyphens: manual; hyphens: manual;
  transition: border-color .25s var(--weich), box-shadow .25s var(--weich);
}
.wz svg { width: 18px; height: 18px; flex: none; color: var(--silber); }
.wz:hover { border-color: var(--papier); }
.wz[aria-pressed="true"] { border-color: var(--papier); box-shadow: 0 0 0 1px var(--papier), 0 0 24px rgba(79, 127, 166, .8); }
.wz:focus-visible { outline-offset: 3px; border-radius: 12px; }
.plattform {
  position: relative; margin-top: var(--abstand); padding: 14px; border-radius: 16px;
  background: linear-gradient(160deg, #2E4763, #1C3046); border: 1px solid rgba(183, 196, 210, .6);
  box-shadow: 0 16px 44px var(--tief), 0 0 40px rgba(79, 127, 166, .4);
}
.pf-kopf { display: flex; align-items: center; justify-content: space-between; gap: 10px 14px; flex-wrap: wrap; margin-bottom: 12px; }
.pf-name { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.08rem; }
.pf-name svg { width: 28px; height: auto; flex: none; }
.pf-bausteine { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pf-bausteine li { display: grid; }
.wz.neu { background: rgba(79, 127, 166, .22); border-color: rgba(79, 127, 166, .75); justify-content: flex-start; padding: 8px 10px; text-align: left; }
.wz.neu svg { color: var(--papier); }
.plan-unten { margin-top: 20px; }
.plan-weg { display: grid; grid-template-columns: repeat(var(--n, 2), minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.plan-weg li { display: grid; }
.wz.weg { background: transparent; border: 1px dashed rgba(183, 196, 210, .5); color: #D5DDE6; }
.wz.weg s { text-decoration-thickness: 1.5px; text-decoration-color: var(--papier); }
.wz.weg[aria-pressed="true"] { border-style: solid; }
@media (min-width: 620px) {
  .plan { --abstand: 38px; }
  .plan-an, .plan-weg { gap: 14px; }
  .wz { min-height: 60px; font-size: .98rem; padding: 10px 12px; }
  .plattform { padding: 20px; }
  .pf-bausteine { gap: 12px; }
  .wz.neu { padding: 10px 16px; }
}
/* Auftritt des Plans */
.js .plan .plan-an li, .js .plan .plattform, .js .plan .pf-bausteine li, .js .plan .plan-weg li { transition: opacity .5s var(--weich), transform .6s var(--rast); transition-delay: calc(var(--i, 0) * 70ms + var(--basis, 0ms)); }
.js .plan .plan-an li { --basis: 0ms; }
.js .plan .plattform { --basis: 200ms; }
.js .plan .pf-bausteine li { --basis: 820ms; }
.js .plan .plan-weg li { --basis: 1080ms; }
.js .plan .plan-an li::after { transition: transform .4s var(--weich) calc(var(--i, 0) * 60ms + 640ms), background-color .3s var(--weich); }
.js .plan:not(.da) .plan-an li { opacity: 0; transform: translateY(-14px); }
.js .plan:not(.da) .plan-an li::after { transform: scaleY(0); transition: none; }
.js .plan:not(.da) .plattform { opacity: 0; transform: scale(.97); }
.js .plan:not(.da) .pf-bausteine li { opacity: 0; transform: scale(.9); }
.js .plan:not(.da) .plan-weg li { opacity: 0; transform: translateY(12px); }
.js .plan.kurz .plan-an li, .js .plan.kurz .plattform, .js .plan.kurz .pf-bausteine li, .js .plan.kurz .plan-weg li, .js .plan.kurz .plan-an li::after { transition: none; }

.plan-detail { display: grid; gap: 14px; }
.detail-liste { display: grid; gap: 0; }
.detail {
  display: grid; gap: 8px; justify-items: start; padding: 18px 0; border-top: 1px solid rgba(183, 196, 210, .18);
}
.detail h3 { font-size: 1.24rem; }
.detail p:not(.plan-zone) { color: var(--silber); }
.js .detail-liste { position: relative; border-radius: 20px; border: 1px solid var(--rand); background: var(--glas); padding: 22px 22px 24px; min-height: 15.5rem; }
@media (min-width: 980px) { .js .detail-liste { min-height: 13.5rem; } }
/* Sehr schmale Handys: Der längste Text braucht mehr Platz, die Fläche bleibt beim Wechsel gleich hoch */
@media (max-width: 339px) { .js .detail-liste { min-height: 17.5rem; } }
.js .detail { border: 0; padding: 0; }
.js .detail[hidden] { display: none !important; }
.js .detail.neu-da { animation: auftritt .45s var(--weich) both; }
.tipp { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.tipp svg { width: 18px; height: 18px; flex: none; color: var(--silber); }
html:not(.js) .tipp { display: none; }
html:not(.js) .wz { pointer-events: none; cursor: default; }
.fall-fuss { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }

/* ---------- Selbstcheck ---------- */
.bogen {
  --rand-x: clamp(18px, 4vw, 44px);
  position: relative; background: var(--papier); color: var(--schrift); border-radius: 24px; overflow: clip;
  box-shadow: 0 30px 80px var(--tief), 0 0 0 1px rgba(183, 196, 210, .3), 0 0 70px rgba(79, 127, 166, .22);
}
.bogen :focus-visible { outline-color: var(--navy); }
.bogen-kopf { display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; padding: 22px var(--rand-x) 20px; border-bottom: 1px solid var(--linie); }
.bogen-kopf .bk-text { display: grid; gap: 4px; }
.bogen-kopf .bk-titel { font: 500 .76rem/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--steel-tief); }
.bogen-kopf .bk-hilfe { font-size: .95rem; color: var(--grau-tief); }
.zaehlwerk { display: flex; align-items: center; gap: 12px; }
html:not(.js) .zaehlwerk, html:not(.js) .bogen .skala { display: none; }
html:not(.js) .bogen { counter-reset: haken; }
html:not(.js) .zeile input:checked { counter-increment: haken; }
html:not(.js) .erg-zahl::after { content: ": " counter(haken) " " attr(data-von) " 8"; }
.zw-fenster {
  width: 54px; height: 62px; overflow: hidden; border-radius: 12px; border: 2px solid var(--navy);
  background: linear-gradient(#EEF2F6, #fff 45%, #fff 55%, #E6ECF2); box-shadow: inset 0 2px 6px rgba(22, 39, 58, .16);
}
.zw-band { display: block; transition: transform .55s var(--rast); transform: translateY(calc(var(--n, 0) * -58px)); }
.zw-band span { display: grid; place-items: center; height: 58px; font: 500 2rem/1 var(--mono); color: var(--navy); }
.zw-von { font: 500 .95rem/1 var(--mono); color: var(--navy); }
.skala { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 4px; padding: 0 var(--rand-x); margin-top: 16px; }
.skala i { display: block; height: 6px; border-radius: 6px; background: var(--linie); transition: background-color .35s var(--weich), box-shadow .35s var(--weich); }
.skala i.an { background: var(--steel); }
.aussagen { margin-top: 16px; border-top: 1px solid var(--linie); }
.aussagen > li { position: relative; border-bottom: 1px solid var(--linie); transition: background-color .3s var(--weich); }
.aussagen > li::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--steel); transform: scaleY(0); transform-origin: 50% 0; transition: transform .35s var(--weich); }
.zeile { position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 4px 16px; align-items: start; padding: 20px var(--rand-x); cursor: pointer; }
.zeile input { position: absolute; opacity: 0; width: 30px; height: 30px; margin: 0; left: var(--rand-x); top: 42px; cursor: pointer; }
.kasten {
  grid-row: 1 / span 3; margin-top: 22px; width: 30px; height: 30px; border-radius: 8px; border: 2px solid var(--navy); background: #fff; display: grid; place-items: center;
  transition: background-color .25s var(--weich), box-shadow .25s var(--weich), transform .25s var(--rast);
}
.zeile:hover .kasten { box-shadow: 0 0 0 4px rgba(79, 127, 166, .22); }
.kasten svg { width: 18px; height: 18px; }
.kasten path { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .3s var(--weich) .05s; }
.z-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 22px; }
.z-nr { font: 500 .76rem/1 var(--mono); letter-spacing: .12em; color: var(--steel-tief); }
.stempel {
  font: 500 .7rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--steel-tief); padding: 4px 7px; border: 1.5px solid var(--steel-tief); border-radius: 5px;
  outline: 1px solid var(--steel-tief); outline-offset: 1.5px; opacity: 0; transform: rotate(-5deg) scale(1.35); transition: opacity .2s var(--weich), transform .3s var(--rast);
}
.z-satz { font-size: clamp(1.08rem, 2.3vw, 1.28rem); line-height: 1.35; color: var(--navy); }
.z-bsp { font-size: .95rem; line-height: 1.5; color: var(--grau-tief); }
.z-tun { display: grid; grid-template-rows: 0fr; padding: 0 var(--rand-x) 0 calc(var(--rand-x) + 46px); transition: grid-template-rows .45s var(--weich); }
.z-tun > div { overflow: hidden; min-height: 0; visibility: hidden; transition: visibility 0s .45s; }
.z-tun-innen { margin: 0 0 22px; padding: 14px 16px; border-radius: 12px; background: var(--navy); color: var(--papier); display: grid; gap: 6px; }
.z-tun-innen b { font: 500 .7rem/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--silber); }
.z-tun-innen span { font-size: 1rem; line-height: 1.5; }
.aussagen > li:has(input:checked), .aussagen > li.ist-an { background: #EEF2F6; }
.aussagen > li:has(input:checked)::before, .aussagen > li.ist-an::before { transform: scaleY(1); }
li:has(input:checked) > .zeile .kasten, li.ist-an > .zeile .kasten { background: var(--navy); }
li:has(input:checked) > .zeile .kasten path, li.ist-an > .zeile .kasten path { stroke-dashoffset: 0; }
li:has(input:checked) > .zeile .stempel, li.ist-an > .zeile .stempel { opacity: 1; transform: rotate(-5deg) scale(1); }
li:has(input:checked) > .z-tun, li.ist-an > .z-tun { grid-template-rows: 1fr; }
li:has(input:checked) > .z-tun > div, li.ist-an > .z-tun > div { visibility: visible; transition-delay: 0s; }
.zeile:has(input:focus-visible) .kasten { outline: 3px solid var(--steel); outline-offset: 3px; }
.zeile:active .kasten { transform: scale(.92); }
@supports not selector(:has(a)) {
  html:not(.js) .z-tun { grid-template-rows: 1fr; }
  html:not(.js) .z-tun > div { visibility: visible; }
  .zeile input:focus-visible + .kasten { outline: 3px solid var(--steel); outline-offset: 3px; }
}

.ergebnis { background: #0F1C2B; color: var(--papier); padding: clamp(26px, 5vw, 48px) var(--rand-x) clamp(30px, 5vw, 50px); display: grid; gap: 18px; justify-items: start; }
.ergebnis :focus-visible { outline-color: var(--papier); }
.erg-kopf { width: 100%; display: flex; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid rgba(183, 196, 210, .3); font: 500 .74rem/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--silber); }
.erg-zahl { font: 500 clamp(1.7rem, 5.6vw, 2.6rem)/1.1 var(--mono); letter-spacing: -.01em; }
.ergebnis .skala { width: 100%; padding: 0; margin: 0; }
.ergebnis .skala i { background: rgba(183, 196, 210, .25); }
.ergebnis .skala i.an { background: var(--papier); box-shadow: 0 0 10px rgba(250, 250, 248, .5); }
.stufen { display: grid; width: 100%; }
.stufe { display: grid; gap: 8px; max-width: 40em; }
.stufe .stufe-titel { font-size: clamp(1.3rem, 3vw, 1.6rem); font-weight: 600; line-height: 1.2; }
.stufe p:not(.stufe-titel) { color: var(--silber); font-size: 1.06rem; }
.stufen.gestapelt .stufe { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .35s var(--weich), transform .4s var(--weich), visibility 0s .35s; }
.stufen.gestapelt .stufe.aktiv { opacity: 1; visibility: visible; transform: none; transition: opacity .35s var(--weich) .1s, transform .4s var(--weich) .1s, visibility 0s; }
.erg-schritt { width: 100%; padding-top: 18px; border-top: 1px solid rgba(183, 196, 210, .3); display: grid; gap: 6px; font-weight: 600; font-size: 1.1rem; }
.erg-schritt span { font: 500 .74rem/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--silber); }
.erg-haken { font: 400 .82rem/1.5 var(--mono); color: var(--silber); }
.erg-tel { color: var(--silber); }
.stand-pille {
  position: fixed; right: 16px; bottom: 16px; z-index: 25; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px;
  background: var(--papier); color: var(--navy); font-weight: 600; text-decoration: none; box-shadow: 0 10px 34px rgba(8, 15, 24, .5), 0 0 0 1px rgba(22, 39, 58, .2);
  opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .3s var(--weich), transform .35s var(--weich), visibility 0s .3s;
}
.stand-pille.zeigen { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--weich), transform .35s var(--weich), visibility 0s; }
.stand-pille .sp-zahl { font: 500 .9rem/1 var(--mono); color: var(--steel-tief); }
.stand-pille svg { width: 16px; height: 16px; }
@media (max-width: 599px) { .stand-pille { right: 12px; bottom: 12px; padding: 10px 14px; gap: 8px; font-size: .95rem; } .stand-pille .sp-zahl { font-size: .82rem; } }
.danach { display: grid; gap: 14px 30px; margin-top: clamp(30px, 5vw, 48px); }
@media (min-width: 760px) { .danach { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.danach a {
  position: relative; display: grid; gap: 4px; padding: 20px 64px 20px 22px; border-radius: 18px; border: 1px solid var(--rand); background: var(--glas); text-decoration: none;
  transition: transform .3s var(--weich), border-color .3s var(--weich);
}
.danach a:hover { transform: translateY(-3px); border-color: rgba(183, 196, 210, .7); }
.danach a > span:first-child { font: 500 .74rem/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--silber); }
.danach a strong { font-size: 1.14rem; }
.danach a .fk-pfeil { position: absolute; right: 18px; top: 50%; margin-top: -17px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(183, 196, 210, .4); transition: transform .3s var(--weich), background-color .3s var(--weich); }
.danach a .fk-pfeil svg { width: 16px; height: 16px; }
.danach a:hover .fk-pfeil { transform: translateX(3px); background: rgba(79, 127, 166, .35); }

/* ---------- Ruhe: alles sofort im Endzustand ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .hk.wird, .hk.weg { display: none; }
  .ltg b { display: none; }
  .glanz { animation: none !important; opacity: .8; }
  .kern::after, .ps-strahl { display: none; }
  .nochmal { display: none !important; }
}
