/* KI-Förderpartner (ki-foerderpartner.de), ein Angebot von AZAV Growth.
   Markenwelt wie ki-foerderung.net: Navy, Blau #1E5BFF, Verlauf nach #3FD0FF, Archivo, IBM Plex, Instrument Serif.
   Signatur: das Förder-Ticket mit Abriss, Stempel und Rollziffern. Handy zuerst. */

/* ---------- Schriften (selbst gehostet) ---------- */
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/plexsans-var.woff2") format("woff2"); font-weight: 100 700; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/plexmono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrumentserif-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

/* ---------- Grundwerte ---------- */
:root {
  color-scheme: light;
  --bg: #F3F6FB;
  --bg-2: #E7EDF6;
  --surface: #FFFFFF;
  --ink: #0E1A33;
  --ink-2: #33415C;
  --muted: #56637D;
  --line: #DCE3EE;
  --line-2: #C6D0E0;

  --blue: #1E5BFF;
  --blue-hover: #1549D9;
  --blue-deep: #0B3FCC;
  --blue-wash: #EAF0FF;
  --cyan: #3FD0FF;

  --navy: #0B1A33;
  --navy-deep: #071226;
  --navy-ink: #EAF0FA;
  --navy-muted: #A9B7D0;
  --navy-line: rgba(169, 190, 230, .16);

  --good: #11744E;
  --good-wash: #E3F4EB;
  --warn: #8A5200;
  --warn-wash: #FFF2DB;
  --bad: #B0352C;
  --bad-wash: #FCEBE9;

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", monospace;
  --serif: "Instrument Serif", Georgia, serif;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.22, .64, 1);
  --shadow-1: 0 1px 2px rgba(14, 26, 51, .06), 0 10px 26px -12px rgba(14, 26, 51, .22);
  --shadow-2: 0 2px 6px rgba(14, 26, 51, .06), 0 30px 70px -24px rgba(14, 26, 51, .34);
  --head-h: 68px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --sec: clamp(76px, 9vw, 132px);
  interpolate-size: allow-keywords;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 12px); -webkit-text-size-adjust: 100%; scrollbar-color: #9AA9C4 var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  caret-color: var(--blue);
  accent-color: var(--blue);
}
body.is-locked { overflow: hidden; }
::selection { background: rgba(30, 91, 255, .2); color: var(--ink); }
img, svg { display: block; max-width: 100%; }
a { color: var(--blue-deep); text-underline-offset: .2em; text-decoration-thickness: from-font; }
button { font: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, p, figure, dl, dd, ul, ol { margin: 0; }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; }
h2 { font-size: clamp(1.95rem, 1.25rem + 2.5vw, 3.05rem); font-weight: 800; line-height: 1.04; letter-spacing: -.03em; }
h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.08em; letter-spacing: -.005em; color: var(--blue-deep); }
h3 { font-size: 1.2rem; font-weight: 700; line-height: 1.25; letter-spacing: -.012em; }
small { font-size: inherit; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.noscript { position: fixed; inset: auto 0 0; z-index: 200; margin: 0; padding: 14px 18px; background: var(--ink); color: #fff; font-size: .9rem; }

/* ---------- Knöpfe ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border: 0; border-radius: 14px;
  background: var(--blue); color: #fff;
  font-family: var(--display); font-size: 1.02rem; font-weight: 700; letter-spacing: -.005em; line-height: 1.1;
  text-decoration: none; text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 12px 26px -12px rgba(30, 91, 255, .8);
  transition: background-color .2s, box-shadow .25s, transform .25s var(--ease-out);
}
.btn svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease-out); }
.btn:hover { background: var(--blue-hover); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 18px 34px -14px rgba(30, 91, 255, .9); transform: translateY(-1px); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.975); }
.btn:disabled { opacity: .72; cursor: progress; transform: none; }
.btn--small { min-height: 42px; padding: 0 16px; border-radius: 12px; font-size: .92rem; }
.btn--block { width: 100%; }
.btn--light { background: #fff; color: var(--navy); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .6); }
.btn--light:hover { background: #EEF4FF; box-shadow: 0 18px 36px -14px rgba(0, 0, 0, .7); }
.btn--quiet { background: var(--bg-2); color: var(--ink); box-shadow: none; }
.btn--quiet:hover { background: var(--line); box-shadow: none; }
.link-btn { padding: 10px 6px; border: 0; background: none; color: var(--blue-deep); font-weight: 600; font-size: .95rem; text-decoration: underline; text-underline-offset: .22em; text-decoration-thickness: 1px; }
.link-btn:hover { color: var(--ink); }

/* ---------- Kopfzeile ---------- */
.site-head { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--head-h); transition: background-color .3s, box-shadow .3s; }
.site-head.is-scrolled { background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line), 0 12px 30px -22px rgba(14, 26, 51, .4); }
.head-row { display: flex; align-items: center; gap: 16px; height: 100%; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--ink); text-decoration: none; }
.brand-mark { width: 32px; height: 32px; flex: none; }
.brand-text { min-width: 0; line-height: 1.15; }
.brand-text strong { display: block; font-family: var(--display); font-size: 1.04rem; font-weight: 800; letter-spacing: -.015em; white-space: nowrap; }
.brand-text span { display: block; font-size: .74rem; color: var(--muted); white-space: nowrap; }
.head-nav { display: none; }
.site-head .btn { margin-left: auto; flex: none; }
.lbl-short { display: none; }
@media (max-width: 440px) { .lbl-long { display: none; } .lbl-short { display: inline; } }
@media (min-width: 960px) {
  .head-nav { display: flex; gap: 28px; margin-left: auto; }
  .head-nav a { position: relative; color: var(--ink-2); font-size: .94rem; font-weight: 500; text-decoration: none; }
  .head-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 2px; border-radius: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out); }
  .head-nav a:hover { color: var(--ink); }
  .head-nav a:hover::after { transform: scaleX(1); }
  .site-head .btn { margin-left: 8px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--head-h) + clamp(20px, 4vw, 56px)) 0 clamp(56px, 7vw, 96px); background: var(--bg); }
.hero-fx { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-grid, .hero-spot {
  position: absolute; inset: 0;
  background-image: linear-gradient(to right, var(--gl) 1px, transparent 1px), linear-gradient(to bottom, var(--gl) 1px, transparent 1px);
  background-size: 48px 48px; background-position: -1px -1px;
}
.hero-grid { --gl: rgba(14, 26, 51, .055); -webkit-mask-image: radial-gradient(64rem 40rem at 72% 8%, #000 25%, transparent 78%); mask-image: radial-gradient(64rem 40rem at 72% 8%, #000 25%, transparent 78%); }
.hero-spot { --gl: rgba(30, 91, 255, .32); opacity: 0; transition: opacity .5s; -webkit-mask-image: radial-gradient(260px 260px at var(--mx, 70%) var(--my, 30%), #000, transparent 72%); mask-image: radial-gradient(260px 260px at var(--mx, 70%) var(--my, 30%), #000, transparent 72%); }
.hero.is-pointer .hero-spot { opacity: 1; }
.glow { position: absolute; border-radius: 50%; will-change: transform; }
.glow--a { width: 52rem; height: 34rem; right: -16rem; top: -14rem; background: radial-gradient(closest-side, rgba(30, 91, 255, .30), rgba(30, 91, 255, .10) 55%, transparent); animation: driftA 24s ease-in-out infinite alternate; }
.glow--b { width: 34rem; height: 28rem; right: 12%; top: 38%; background: radial-gradient(closest-side, rgba(63, 208, 255, .26), transparent); animation: driftB 30s ease-in-out infinite alternate; }
@keyframes driftA { to { transform: translate(-7rem, 4rem) scale(1.08); } }
@keyframes driftB { to { transform: translate(5rem, -3rem) scale(.94); } }

.hero-row { display: grid; gap: 44px; }
.hero-h1 { font-size: clamp(2.7rem, 1.45rem + 4.3vw, 4.45rem); font-weight: 800; line-height: .98; letter-spacing: -.038em; }
.ln { display: block; }
.ln > span { position: relative; display: inline-block; animation: lnIn 1s var(--ease-out) both; }
.ln:nth-child(2) > span { animation-delay: .06s; }
.ln:nth-child(3) > span { animation-delay: .12s; }
@keyframes lnIn { from { transform: translateY(.32em); opacity: .4; } }
.ln--accent { padding-bottom: .12em; }
.ln--accent > span { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.14em; letter-spacing: -.01em; color: var(--blue-deep); }
.swoosh { position: absolute; left: .02em; bottom: -.05em; width: calc(100% - .04em); height: .26em; overflow: visible; }
.swoosh path { fill: none; stroke: var(--cyan); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; animation: draw1 .9s var(--ease-out) .8s backwards; }
@keyframes draw1 { from { stroke-dashoffset: 1; } }
.hero-lead { max-width: 36rem; margin-top: 22px; font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); line-height: 1.55; color: var(--ink-2); animation: riseIn .9s var(--ease-out) .18s backwards; }
@keyframes riseIn { from { opacity: .35; transform: translateY(14px); } }

.qstart {
  max-width: 640px; margin-top: 28px; padding: 18px;
  background: rgba(255, 255, 255, .9); border: 1px solid var(--line); border-radius: 22px;
  box-shadow: var(--shadow-1);
  animation: riseIn .9s var(--ease-out) .28s backwards;
}
.qstart-title { font-size: 1.16rem; font-weight: 750; letter-spacing: -.015em; }
.qstart-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 14px; font-size: .8rem; color: var(--muted); }
.pips { display: inline-flex; gap: 3px; }
.pips i { width: 14px; height: 4px; border-radius: 2px; background: var(--line-2); }
.pips i.on { background: var(--blue); }

/* Antwortknöpfe (Hero und Check) */
.answers { display: grid; gap: 9px; margin-top: 14px; }
.ans {
  position: relative;
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 58px; padding: 12px 14px 12px 16px;
  background: #fff; border: 1.5px solid var(--line-2); border-radius: 14px;
  color: var(--ink); text-align: left;
  transition: border-color .18s, background-color .18s, box-shadow .25s, transform .25s var(--ease-out), color .18s;
}
.ans-label { flex: 1; min-width: 0; font-weight: 600; font-size: .98rem; line-height: 1.3; }
.ans-label small { display: block; margin-top: 2px; font-weight: 400; font-size: .81rem; color: var(--muted); transition: color .18s; }
.ans-go { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--blue); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; opacity: .35; transform: translateX(-4px); transition: opacity .2s, transform .3s var(--ease-out), stroke .18s; }
.ans-key { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border: 1px solid var(--line-2); border-radius: 7px; background: var(--bg); font-family: var(--mono); font-size: .76rem; color: var(--muted); transition: background-color .18s, color .18s, border-color .18s; }
.ans:active { transform: scale(.985); }
.ans.is-on { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 12px 24px -12px rgba(30, 91, 255, .8); }
.ans.is-on small { color: rgba(255, 255, 255, .82); }
.ans.is-on .ans-go { stroke: #fff; opacity: 1; transform: none; }
.ans.is-on .ans-key { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .4); color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .ans:hover { border-color: var(--blue); box-shadow: 0 10px 22px -14px rgba(30, 91, 255, .7); transform: translateY(-1px); }
  .ans:hover .ans-go { opacity: 1; transform: none; }
}
@media (pointer: coarse) { .ans-key { display: none; } }
.answers--tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ans--tile { flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 12px; min-height: 104px; padding: 14px; }
.ans--tile > svg { width: 28px; height: 28px; fill: none; stroke: var(--blue); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: stroke .18s; }
.ans--tile.is-on > svg { stroke: #fff; }
.ans--tile .ans-label { font-size: .93rem; }
.ans--tile .ans-key { position: absolute; top: 12px; right: 12px; }

/* ---------- Das Ticket ---------- */
.hero-ticket { position: relative; }
.ticket-wrap {
  --rot: -2deg;
  position: relative; width: 100%; max-width: 470px; margin-inline: auto;
  transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) rotate(var(--rot));
  filter: drop-shadow(0 2px 3px rgba(14, 26, 51, .08)) drop-shadow(0 30px 34px rgba(14, 26, 51, .2));
  transition: transform .6s var(--ease-out);
}
.hero .ticket-wrap { animation: ticketIn 1.1s var(--ease-spring) .2s backwards; }
@keyframes ticketIn { from { opacity: 0; transform: perspective(1400px) translateY(48px) rotate(6deg); } }
.ticket {
  --stub-h: 92px;
  --notch: 13px;
  position: relative; background: var(--surface); border-radius: 24px;
  -webkit-mask: radial-gradient(circle at 0 calc(100% - var(--stub-h)), transparent var(--notch), #000 calc(var(--notch) + .5px)) left / 51% 100% no-repeat,
                radial-gradient(circle at 100% calc(100% - var(--stub-h)), transparent var(--notch), #000 calc(var(--notch) + .5px)) right / 51% 100% no-repeat;
  mask: radial-gradient(circle at 0 calc(100% - var(--stub-h)), transparent var(--notch), #000 calc(var(--notch) + .5px)) left / 51% 100% no-repeat,
        radial-gradient(circle at 100% calc(100% - var(--stub-h)), transparent var(--notch), #000 calc(var(--notch) + .5px)) right / 51% 100% no-repeat;
}
.tk-main { position: relative; padding: 24px 24px 6px; }
.tk-title { font-family: var(--display); font-size: 1.02rem; font-weight: 750; letter-spacing: -.012em; }
.seg { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 14px; padding: 4px; border-radius: 12px; background: var(--bg-2); }
.seg-ind { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / 3); border-radius: 9px; background: #fff; box-shadow: 0 1px 2px rgba(14, 26, 51, .1), 0 4px 10px -4px rgba(14, 26, 51, .2); transform: translateX(calc(var(--i) * 100%)); transition: transform .5s var(--ease-spring); }
.seg button { position: relative; z-index: 1; padding: 9px 4px; border: 0; border-radius: 9px; background: none; color: var(--muted); font-size: .86rem; font-weight: 600; white-space: nowrap; transition: color .2s; }
.seg button[aria-checked="true"] { color: var(--ink); }
.seg button:hover { color: var(--ink); }
.tk-range { display: grid; grid-template-columns: 1fr auto; align-items: baseline; margin-top: 18px; }
.tk-range label { font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.tk-range output { font-family: var(--display); font-weight: 750; font-size: .98rem; color: var(--blue-deep); font-variant-numeric: tabular-nums; }
.tk-range input { grid-column: 1 / -1; margin: 8px 0 0; }

input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; background: transparent; cursor: pointer; touch-action: pan-y; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--blue) 0 var(--p, 50%), var(--bg-2) var(--p, 50%) 100%); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); box-shadow: 0 3px 10px rgba(30, 91, 255, .35); transition: transform .2s var(--ease-spring), box-shadow .2s; }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.18); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 99px; background: var(--bg-2); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 99px; background: var(--blue); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); box-shadow: 0 3px 10px rgba(30, 91, 255, .35); }
input[type="range"]:focus-visible { outline: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 5px rgba(30, 91, 255, .25); }

.tk-lines { list-style: none; padding: 0; margin-top: 12px; }
.tk-lines li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 12px; padding: 13px 0 12px; border-top: 1px solid var(--line); }
.tk-l { font-size: .95rem; font-weight: 600; line-height: 1.3; }
.tk-l small { display: block; margin-top: 2px; font-size: .79rem; font-weight: 400; color: var(--muted); }
.tk-v { font-family: var(--display); font-size: 1.18rem; font-weight: 750; letter-spacing: -.01em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tk-bar { grid-column: 1 / -1; height: 6px; margin-top: 9px; border-radius: 99px; background: var(--bg-2); overflow: hidden; }
.tk-bar i { display: block; width: var(--w); height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--cyan)); transition: width .9s var(--ease-out); }
.tk-sum { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 12px; padding: 14px 0 20px; border-top: 1px solid var(--line); }
.tk-v--big { display: flex; align-items: baseline; gap: 6px; font-size: clamp(1.9rem, 1.45rem + 1.3vw, 2.45rem); font-weight: 800; letter-spacing: -.03em; color: var(--blue-deep); line-height: 1; }
.tk-v--big > small { font-family: var(--body); font-size: .8rem; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.tk-stub { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: var(--stub-h); padding: 16px 24px; background: linear-gradient(180deg, #F2F6FF, #EBF1FF); }
.tk-stub::before { content: ""; position: absolute; left: 20px; right: 20px; top: 0; border-top: 2px dashed var(--line-2); }
.tk-v--own { font-size: 1.85rem; font-weight: 800; line-height: 1; transition: color .3s; }
.tk-stub.is-zero .tk-v--own { color: var(--good); }
.ticket-fine { max-width: 470px; margin: 22px auto 0; font-size: .78rem; line-height: 1.5; color: var(--muted); }
html.js .hero:not(.is-ready) .tk-bar i,
.ticket-wrap.is-armed .tk-bar i { width: 0; }
.ticket-wrap.is-armed .tk-stub .stamp { opacity: 0; }

/* Rollziffern */
.od { display: inline-flex; --lh: 1.12em; line-height: var(--lh); }
.od-d { display: inline-block; height: var(--lh); overflow: hidden; }
.od-d::before {
  content: "0\A 1\A 2\A 3\A 4\A 5\A 6\A 7\A 8\A 9";
  display: block; white-space: pre; text-align: center;
  transform: translateY(calc(var(--d, 0) * var(--lh) * -1));
  transition: transform 1s var(--ease-out) var(--dl, 0s);
}
.od-c::before { content: attr(data-c); white-space: pre; }
.od.is-instant .od-d::before { transition: none; }

/* Stempel (klares Siegel) */
.stamp {
  position: absolute; right: 92px; top: 50%; z-index: 1;
  display: grid; padding: 6px 10px; border: 2px solid currentColor; border-radius: 8px;
  background: rgba(255, 255, 255, .55);
  color: var(--blue); font-family: var(--display); font-size: .72rem; font-weight: 800; line-height: 1.12; letter-spacing: .07em; text-transform: uppercase; text-align: center; white-space: nowrap;
  pointer-events: none;
  opacity: 0; transform: translateY(-50%) rotate(-9deg) scale(1.25);
  transition: opacity .2s, transform .2s;
}
.tk-stub.is-zero .stamp { opacity: .92; transform: translateY(-50%) rotate(-9deg); }
.tk-stub.is-stamped .stamp { animation: stampIn .5s var(--ease-out) both; }
@keyframes stampIn {
  0% { opacity: 0; transform: translateY(-50%) rotate(-18deg) scale(2.1); }
  55% { opacity: .95; transform: translateY(-50%) rotate(-8deg) scale(.94); }
  100% { opacity: .92; transform: translateY(-50%) rotate(-9deg) scale(1); }
}
.ticket-wrap.is-thud .ticket { animation: thud .4s var(--ease-out) .24s; }
@keyframes thud { 35% { transform: translateY(3px); } }


@media (min-width: 640px) {
  .answers--hero { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .hero-row { grid-template-columns: minmax(0, 1.14fr) minmax(0, .86fr); align-items: center; gap: 56px; }
}
@media (max-width: 400px) {
  .tk-main { padding: 22px 18px 6px; }
  .tk-stub { padding: 14px 18px; }
  .stamp { right: 76px; font-size: .62rem; padding: 5px 8px; }
  .tk-v--own { font-size: 1.6rem; }
}

/* ---------- Rahmen-Zeile ---------- */
.facts { background: var(--surface); border-block: 1px solid var(--line); }
.facts-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 0; padding-block: 18px; font-size: .92rem; color: var(--ink-2); }
.facts-line strong { font-weight: 600; color: var(--ink); }
.facts-line > * + *::before { content: "·"; margin: 0 12px; color: var(--blue); font-weight: 700; }

/* ---------- Abschnitte ---------- */
.sec { position: relative; padding-block: var(--sec); }
.sec-head { max-width: 780px; }
.sec-head p, .sec-copy p { max-width: 58ch; margin-top: 18px; font-size: 1.08rem; color: var(--ink-2); }
.split { display: grid; gap: 40px; }
@media (min-width: 1024px) {
  .split { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 80px; align-items: start; }
  .split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
  .split-aside { position: sticky; top: calc(var(--head-h) + 40px); }
}

/* Lage: die Schere */
.sec--lage { background: var(--bg); }
.lage-row { display: grid; gap: 44px; }
@media (min-width: 1024px) { .lage-row { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: center; } }
.sec-copy .lage-43 { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line-2); font-size: 1rem; }
.lage-43 b { display: block; margin-bottom: 4px; font-family: var(--display); font-size: 2.6rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--blue-deep); }
.lage-43 cite { display: block; margin-top: 8px; font-size: .78rem; font-style: normal; color: var(--muted); }
.chart-card { display: grid; gap: 30px; padding: clamp(22px, 3vw, 32px); border-radius: 26px; background: var(--surface); box-shadow: var(--shadow-2); }
.chart-h { font-size: 1rem; font-weight: 750; }
.gap-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; align-items: end; margin-top: 18px; }
.gap-name { grid-area: 1 / 1; font-size: .88rem; color: var(--ink-2); }
.gap-val { grid-area: 1 / 2; font-family: var(--display); font-size: 1.7rem; font-weight: 800; line-height: 1; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.gap-track { grid-area: 2 / 1 / 3 / 3; height: 14px; border-radius: 7px; background: var(--bg-2); overflow: hidden; }
.gap-track i { display: block; width: calc(var(--v) * 1%); height: 100%; border-radius: inherit; background: #8E9DBA; transform-origin: left; transform: scaleX(var(--s, 1)); transition: transform 1.2s var(--ease-out); }
.gap-row--small .gap-track i { background: linear-gradient(90deg, var(--blue), var(--cyan)); transition-delay: .18s; }
.gap-row--small .gap-val { color: var(--blue-deep); }
.src { margin-top: 14px; font-size: .76rem; color: var(--muted); }
.slope { padding-top: 26px; border-top: 1px solid var(--line); }
.slope-svg { width: 100%; max-width: 420px; height: auto; margin-top: 10px; overflow: visible; }
.slope-grid { stroke: var(--line); stroke-width: 1; }
.slope-axis { font-family: var(--body); font-size: 12px; fill: var(--muted); }
.slope-area { fill: rgba(30, 91, 255, .08); transition: opacity 1s .5s; }
.slope-line { fill: none; stroke: var(--blue); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: var(--o, 0); transition: stroke-dashoffset 1.2s var(--ease-out) .2s; }
.slope-dot { fill: #fff; stroke: var(--blue); stroke-width: 2.5; }
.slope-dot--end { fill: var(--blue); transition: transform .5s var(--ease-spring) 1.2s; transform-box: fill-box; transform-origin: center; }
.slope-val { font-family: var(--display); font-weight: 750; font-size: 14px; fill: var(--ink-2); }
.slope-val--end { font-size: 18px; fill: var(--blue-deep); transition: opacity .4s 1.2s; }
.chart-card.is-armed .gap-track i { --s: 0; }
.chart-card.is-armed .slope-line { --o: 1; }
.chart-card.is-armed .slope-area,
.chart-card.is-armed .slope-val--end { opacity: 0; }
.chart-card.is-armed .slope-dot--end { transform: scale(0); }
@media (min-width: 640px) and (max-width: 1023px) { .chart-card { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px; } .slope { padding-top: 0; padding-left: 30px; border-top: 0; border-left: 1px solid var(--line); } }

/* Förderstaffel auf Navy */
.sec--navy { overflow: hidden; isolation: isolate; background: var(--navy); color: var(--navy-ink); }
.navy-fx { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(44rem 28rem at 88% -6%, rgba(30, 91, 255, .42), transparent 66%), radial-gradient(36rem 26rem at -6% 104%, rgba(63, 208, 255, .16), transparent 66%); }
.sec--navy h2 { color: #fff; }
.sec--navy h2 em { color: var(--cyan); }
.sec--navy .sec-head p { color: var(--navy-muted); }
.staffel { margin-top: 44px; padding: clamp(20px, 3.2vw, 38px); border: 1px solid var(--navy-line); border-radius: 28px; background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02)); }
.staffel-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .86rem; color: var(--navy-muted); }
.lg::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 8px; border-radius: 4px; vertical-align: -1px; }
.lg--kurs::before { background: linear-gradient(180deg, #5C8BFF, var(--blue)); }
.lg--lohn::before { background: linear-gradient(180deg, #8BE4FF, #27B3E6); }
.staffel-plot { display: grid; gap: 22px; margin-top: 26px; }
.st-axis { display: none; }
.st-group { display: grid; gap: 10px; }
.st-name { order: -1; font-family: var(--display); font-size: 1.02rem; font-weight: 750; color: #fff; }
.st-name span { font-family: var(--body); font-size: .82rem; font-weight: 400; color: var(--navy-muted); }
.st-bars { display: grid; gap: 8px; }
.st-col { display: flex; align-items: center; gap: 10px; }
.st-col b { order: 2; display: flex; align-items: baseline; gap: 5px; font-family: var(--display); font-size: 1.05rem; font-weight: 800; color: #fff; white-space: nowrap; font-variant-numeric: tabular-nums; }
.st-col b small { font-family: var(--body); font-size: .7rem; font-weight: 500; color: var(--navy-muted); }
.st-bar { display: block; flex: none; height: 26px; width: calc(var(--v) * .74%); min-width: 6px; border-radius: 6px; transform-origin: left center; transform: scaleX(var(--s, 1)); transition: transform 1.2s var(--ease-out); }
.st-col b { transition: opacity .5s ease .7s; }
.st-col--kurs .st-bar { background: linear-gradient(90deg, var(--blue), #5C8BFF); }
.st-col--lohn .st-bar { background: linear-gradient(90deg, #27B3E6, #8BE4FF); transition-delay: .12s; }
.st-group:nth-child(3) .st-bar { transition-delay: .2s; }
.st-group:nth-child(3) .st-col--lohn .st-bar { transition-delay: .32s; }
.st-group:nth-child(4) .st-bar { transition-delay: .4s; }
.st-group:nth-child(4) .st-col--lohn .st-bar { transition-delay: .52s; }
.staffel.is-armed .st-col { --s: 0; }
.staffel.is-armed .st-col b { opacity: 0; }
@media (min-width: 720px) {
  .staffel-plot { --plot-h: clamp(320px, 34vw, 390px); --area: calc(var(--plot-h) - 110px); grid-template-columns: 46px repeat(3, minmax(0, 1fr)); gap: 0; height: var(--plot-h); }
  .st-axis { display: flex; flex-direction: column; justify-content: space-between; padding: 44px 0 66px; font-size: .74rem; color: var(--navy-muted); font-variant-numeric: tabular-nums; }
  .st-axis span { line-height: 0; }
  .st-group { grid-template-rows: minmax(0, 1fr) 66px; gap: 0; padding-top: 44px; border-radius: 18px 18px 0 0; transition: background-color .3s; }
  .st-group:hover, .st-group--top { background: linear-gradient(180deg, rgba(30, 91, 255, .12), transparent 85%); }
  .st-name { order: 0; padding-top: 14px; text-align: center; font-size: 1.05rem; }
  .st-name span { display: block; }
  .st-bars { display: flex; align-items: flex-end; justify-content: center; gap: 10px; height: var(--area);
    border-bottom: 1px solid rgba(169, 190, 230, .3);
    background-image: linear-gradient(to bottom, var(--navy-line) 1px, transparent 1px); background-size: 100% 25%; }
  .st-col { flex-direction: column; justify-content: flex-end; align-items: center; gap: 8px; width: clamp(30px, 5vw, 62px); }
  .st-col b { order: 0; flex: none; flex-direction: column; align-items: center; gap: 0; font-size: clamp(.92rem, .7rem + .55vw, 1.3rem); line-height: 1.05; }
  .st-col b small { font-size: .64rem; }
  .st-bar { width: 100%; height: calc(var(--area) * var(--v) / 100); min-width: 0; border-radius: 10px 10px 3px 3px; transform-origin: center bottom; transform: scaleY(var(--s, 1)); }
  .st-col--kurs .st-bar { background: linear-gradient(180deg, #5C8BFF, var(--blue)); }
  .st-col--lohn .st-bar { background: linear-gradient(180deg, #8BE4FF, #27B3E6); }
}
.staffel-notes { display: grid; gap: 16px; margin-top: 30px; padding: 0; list-style: none; }
.staffel-notes li { padding-top: 14px; border-top: 1px solid var(--navy-line); font-size: .93rem; line-height: 1.5; color: var(--navy-muted); }
.staffel-notes strong { color: #fff; font-weight: 600; }
@media (min-width: 960px) { .staffel-notes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; } }

/* Inhalte */
.sec--inhalte { background: var(--bg); }
.topics { padding: 0; list-style: none; }
.topics li { position: relative; display: grid; gap: 8px; padding: 28px 0; border-top: 1px solid var(--line-2); }
.topics li:last-child { border-bottom: 1px solid var(--line-2); }
.topics h3 { display: flex; align-items: center; gap: 0; font-size: clamp(1.32rem, 1.05rem + .9vw, 1.8rem); font-weight: 800; letter-spacing: -.025em; transition: gap .35s var(--ease-out), color .25s; }
.topics h3::before { content: ""; flex: none; width: 0; height: 3px; border-radius: 2px; background: var(--blue); transition: width .35s var(--ease-out); }
.topics p { max-width: 56ch; color: var(--ink-2); }
@media (hover: hover) {
  .topics li:hover h3 { gap: 12px; color: var(--blue-deep); }
  .topics li:hover h3::before { width: 22px; }
}

/* Ablauf mit Zeitstrahl */
.sec--ablauf { background: var(--surface); }
.sec--ablauf .btn { margin-top: 28px; }
.timeline { --tp: 0; position: relative; padding: 0 0 0 58px; list-style: none; }
.timeline::before, .timeline::after { content: ""; position: absolute; left: 17px; top: 18px; width: 2px; border-radius: 2px; }
.timeline::before { bottom: 18px; background: var(--line); }
.timeline::after { height: calc((100% - 36px) * var(--tp)); background: linear-gradient(180deg, var(--blue), var(--cyan)); }
.tl-step { position: relative; padding-bottom: 38px; }
.tl-step:last-child { padding-bottom: 0; }
.tl-dot { position: absolute; z-index: 1; left: -58px; top: 0; display: grid; place-items: center; width: 36px; height: 36px; border: 2px solid var(--line-2); border-radius: 50%; background: var(--surface); font-family: var(--display); font-size: .92rem; font-weight: 800; color: var(--muted); transition: background-color .4s, border-color .4s, color .4s, box-shadow .5s, transform .5s var(--ease-spring); }
.tl-step.is-on .tl-dot { border-color: var(--blue); background: var(--blue); color: #fff; box-shadow: 0 0 0 7px rgba(30, 91, 255, .13); transform: scale(1.06); }
.tl-time { margin-top: 2px; font-family: var(--mono); font-size: .8rem; font-weight: 400; color: var(--blue-deep); }
.tl-step h3 { padding-top: 4px; font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); font-weight: 800; letter-spacing: -.02em; }
.tl-step p:last-child { margin-top: 8px; max-width: 54ch; color: var(--ink-2); }
html:not(.js) .tl-dot { border-color: var(--blue); color: var(--blue-deep); }

/* Ehrlich vorab */
.sec--fit { background: var(--bg); }
.fit { display: grid; gap: 18px; margin-top: 40px; }
@media (min-width: 860px) { .fit { grid-template-columns: 1fr 1fr; } }
.fit-col { padding: clamp(22px, 3vw, 32px); border-radius: 24px; }
.fit-col--yes { background: var(--surface); box-shadow: var(--shadow-1); }
.fit-col--no { border: 1.5px dashed var(--line-2); }
.fit-col h3 { font-size: 1.25rem; font-weight: 800; }
.fit-col ul { margin-top: 12px; padding: 0; list-style: none; }
.fit-col li { display: flex; gap: 12px; padding: 9px 0; line-height: 1.45; color: var(--ink-2); }
.fit-col li svg { width: 24px; height: 24px; flex: none; padding: 4px; border-radius: 50%; fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.fit-col--yes li svg { background: var(--good-wash); stroke: var(--good); }
.fit-col--no li svg { background: var(--bad-wash); stroke: var(--bad); }
.fit-note { display: flex; gap: 10px; margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: var(--blue-wash); font-size: .93rem; line-height: 1.45; }
.fit-note svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--blue-deep); stroke-width: 2; stroke-linecap: round; }

/* Gesetz */
.sec--gesetz { background: var(--surface); }
.law { position: relative; overflow: hidden; isolation: isolate; padding: clamp(22px, 3vw, 34px); border-radius: 26px; background: var(--navy); color: var(--navy-ink); box-shadow: var(--shadow-2); }
.law::before { content: ""; position: absolute; inset: auto -20% -60% 30%; z-index: -1; height: 120%; background: radial-gradient(closest-side, rgba(30, 91, 255, .35), transparent); }
.law-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; padding-bottom: 16px; border-bottom: 1px solid var(--navy-line); }
.law-ref { font-family: var(--display); font-size: 1.08rem; font-weight: 800; color: #fff; }
.law-date { font-family: var(--mono); font-size: .8rem; color: var(--cyan); }
.law-list > div { padding: 16px 0; border-bottom: 1px solid var(--navy-line); }
.law-list > div:last-child { padding-bottom: 0; border-bottom: 0; }
.law-list dt { font-weight: 600; color: #fff; }
.law-list dd { margin-top: 4px; font-size: .95rem; line-height: 1.5; color: var(--navy-muted); }

/* Fragen */
.sec--faq { background: var(--bg); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq details:first-child { border-top: 1px solid var(--line-2); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 2px; list-style: none; font-weight: 600; font-size: 1.04rem; line-height: 1.35; cursor: pointer; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E1A33' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  box-shadow: inset 0 0 0 1px var(--line-2);
  transition: transform .35s var(--ease-out), background-color .25s;
}
.faq summary:hover { color: var(--blue-deep); }
.faq details[open] summary::after { transform: rotate(135deg); background-color: var(--blue-wash); }
.faq-a p { max-width: 64ch; padding: 0 2px 22px; color: var(--ink-2); }
@supports selector(::details-content) {
  .faq details::details-content { block-size: 0; overflow: clip; transition: block-size .4s var(--ease-out), content-visibility .4s allow-discrete; }
  .faq details[open]::details-content { block-size: auto; }
}

/* Schluss */
.closing { position: relative; overflow: hidden; isolation: isolate; padding: clamp(80px, 10vw, 140px) 0; background: var(--navy); color: var(--navy-ink); }
.closing-fx { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(46rem 30rem at 15% 120%, rgba(63, 208, 255, .26), transparent 64%), radial-gradient(40rem 28rem at 100% -10%, rgba(30, 91, 255, .45), transparent 64%); }
.closing-row { display: grid; gap: 34px; }
.closing h2 { max-width: 16ch; font-size: clamp(2.2rem, 1.3rem + 3.4vw, 3.9rem); color: #fff; }
.closing h2 em { color: var(--cyan); }
.closing-note { display: flex; align-items: flex-start; gap: 12px; max-width: 52ch; margin-top: 22px; color: var(--navy-muted); }
.closing-note svg { width: 22px; height: 22px; flex: none; margin-top: 2px; fill: none; stroke: var(--cyan); stroke-width: 1.8; stroke-linecap: round; }
.closing-act { width: 100%; max-width: 380px; }
.ticket--coupon { --stub-h: 110px; color: var(--ink); transform: rotate(2deg); filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45)); }
.ticket--coupon .tk-main { padding: 22px 24px 20px; }
.ticket--coupon .tk-title { font-size: 1.3rem; font-weight: 800; }
.coupon-meta { margin-top: 4px; font-size: .9rem; color: var(--muted); }
.ticket--coupon .tk-stub { display: block; padding: 20px 24px 16px; }
.coupon-fine { margin-top: 10px; font-size: .8rem; color: var(--muted); text-align: center; }
@media (min-width: 960px) { .closing-row { grid-template-columns: minmax(0, 1fr) 380px; align-items: center; gap: 64px; } }

/* Fuß */
.site-foot { padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); background: var(--navy-deep); color: var(--navy-muted); font-size: .86rem; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; }
.foot-brand { display: flex; align-items: center; gap: 10px; }
.foot-brand img { width: 20px; height: 20px; flex: none; }
.site-foot nav { display: flex; gap: 22px; }
.site-foot a { color: var(--navy-ink); }
.foot-note { max-width: 120ch; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--navy-line); font-size: .74rem; line-height: 1.6; color: #8796B3; }
.foot-legal { margin-top: 10px; }
@media (max-width: 767px) { .site-foot { padding-bottom: calc(110px + env(safe-area-inset-bottom)); } .legal-page .site-foot { padding-bottom: calc(40px + env(safe-area-inset-bottom)); } }

/* ---------- Feste Leiste (Handy) ---------- */
.sticky-cta {
  position: fixed; inset: auto 0 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-top: 1px solid var(--line); box-shadow: 0 -14px 30px -18px rgba(14, 26, 51, .35);
  transition: transform .4s var(--ease-out), display .4s allow-discrete;
}
@starting-style { .sticky-cta { transform: translateY(100%); } }
.sticky-cta[hidden] { display: none; }
.sticky-txt { min-width: 0; font-size: .76rem; line-height: 1.3; color: var(--muted); }
.sticky-txt strong { display: block; font-family: var(--display); font-size: .95rem; font-weight: 800; color: var(--ink); }
.sticky-cta .btn { min-height: 46px; flex: none; }
@media (min-width: 768px) { .sticky-cta { display: none !important; } }

/* ---------- Fördercheck ---------- */
.check { position: fixed; inset: 0; z-index: 100; display: flex; justify-content: center; align-items: stretch; }
.check[hidden] { display: none; }
.check-backdrop { position: absolute; inset: 0; background: rgba(7, 16, 34, .58); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fadeIn .3s var(--ease-out); }
.check-panel { position: relative; display: flex; flex-direction: column; width: 100%; height: 100%; height: 100dvh; background: var(--surface); animation: sheetIn .5s var(--ease-out); }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes sheetIn { from { opacity: 0; transform: translateY(28px); } }
@keyframes panelIn { from { opacity: 0; transform: translateY(18px) scale(.975); } }
@media (min-width: 768px) {
  .check { align-items: center; padding: 24px; }
  .check-panel { width: min(700px, 100%); height: auto; max-height: min(900px, calc(100dvh - 48px)); border-radius: 28px; overflow: hidden; box-shadow: 0 50px 120px -30px rgba(0, 0, 0, .6); animation-name: panelIn; }
}
.check-top { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 10px; flex: none; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.check-top [data-back] { grid-column: 1; }
.check-top .progress { grid-column: 2; }
.check-top [data-close] { grid-column: 3; }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 12px; background: none; color: var(--ink); transition: background-color .2s; }
.icon-btn:hover { background: var(--bg-2); }
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn[hidden] { display: none; }
.progress { display: flex; align-items: center; gap: 12px; }
.progress-track { flex: 1; height: 6px; border-radius: 99px; background: var(--bg-2); overflow: hidden; }
.progress-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--cyan)); transition: width .6s var(--ease-out); }
.progress-txt { min-width: 3.2em; font-family: var(--mono); font-size: .78rem; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.check-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 26px 20px 34px; outline: none; }
@media (min-width: 768px) { .check-body { padding: 34px 40px 40px; } }
.screen { animation: screenIn .42s var(--ease-out) both; }
.screen.is-back { animation-name: screenBack; }
@keyframes screenIn { from { opacity: 0; transform: translateX(28px); } }
@keyframes screenBack { from { opacity: 0; transform: translateX(-28px); } }
.step-title { font-size: clamp(1.5rem, 1.2rem + 1.25vw, 2.05rem); font-weight: 800; line-height: 1.1; letter-spacing: -.026em; }
.step-text { max-width: 54ch; margin-top: 10px; color: var(--ink-2); }
.screen .answers { margin-top: 24px; }


/* Auswertung */
.analyze ul { margin-top: 22px; padding: 0; list-style: none; }
.analyze li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); color: var(--muted); transition: color .3s; }
.analyze li:last-child { border-bottom: 1px solid var(--line); }
.analyze .tick { display: grid; place-items: center; width: 26px; height: 26px; flex: none; border: 2px solid var(--line-2); border-radius: 50%; transition: background-color .3s, border-color .3s, transform .4s var(--ease-spring); }
.analyze .tick svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .35s var(--ease-out) .1s; }
.analyze li.done { color: var(--ink); }
.analyze li.done .tick { border-color: var(--good); background: var(--good); transform: scale(1.06); }
.analyze li.done .tick svg { stroke-dashoffset: 0; }

/* Ergebnis-Ticket */
.rt { margin-top: 22px; }
.rt .ticket-wrap { --rot: 0deg; max-width: none; filter: drop-shadow(0 1px 2px rgba(14, 26, 51, .1)) drop-shadow(0 18px 26px rgba(14, 26, 51, .16)); transition: none; }
.rt .ticket { --stub-h: 132px; animation: printIn 1s var(--ease-out) both; }
@keyframes printIn { from { clip-path: inset(0 0 100% 0 round 24px); transform: translateY(-14px); } to { clip-path: inset(0 0 0 0 round 24px); transform: none; } }
.rt .tk-main { padding: 22px 22px 6px; }
.res-sum { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 12px; margin-top: 16px; padding: 14px 0 20px; border-top: 1px solid var(--line); }
.res-sum dt { font-weight: 600; font-size: .95rem; line-height: 1.3; }
.res-sum dt small { display: block; margin-top: 2px; font-weight: 400; font-size: .8rem; color: var(--muted); }
.res-sum dd { display: flex; align-items: baseline; gap: 6px; font-family: var(--display); font-size: clamp(1.7rem, 1.4rem + 1.2vw, 2.25rem); font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--blue-deep); white-space: nowrap; }
.res-sum dd small { font-family: var(--body); font-size: .78rem; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.rt-stub { display: block; padding: 18px 20px 16px; }
.rt-stub .btn { padding: 0 16px; font-size: .97rem; }
.rt-stub .btn:hover svg { transform: none; }
.cta-sub { margin-top: 10px; font-size: .84rem; color: var(--muted); text-align: center; }
.rt-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.rt-for { margin-top: 8px; font-size: .84rem; line-height: 1.4; color: var(--muted); }
.rt-for b { font-weight: 600; color: var(--ink-2); }
.rt .tk-lines { margin-top: 14px; }
.stamp--result { position: static; flex: none; margin-top: 2px; color: var(--good); transform: rotate(8deg); opacity: .95; }
.stamp--result.is-warn { color: var(--warn); }
.rt .stamp--result { animation: stampRes .5s var(--ease-out) 1.1s both; }
@keyframes stampRes { 0% { opacity: 0; transform: rotate(16deg) scale(2); } 60% { opacity: 1; transform: rotate(7deg) scale(.95); } 100% { opacity: .95; transform: rotate(8deg) scale(1); } }
.cta-alt { display: block; margin: 10px auto 0; }
.res-notes { margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: var(--warn-wash); color: var(--ink); font-size: .93rem; line-height: 1.5; }
.res-h { margin-top: 30px; font-size: 1.1rem; font-weight: 750; }
.res-text p { margin-top: 10px; max-width: 60ch; color: var(--ink-2); }
.res-reqs { margin-top: 22px; border-radius: 16px; background: var(--bg); }
.res-reqs summary { padding: 14px 16px; font-weight: 600; font-size: .95rem; cursor: pointer; }
.res-reqs ul { margin: 0; padding: 0 16px 16px 34px; color: var(--ink-2); font-size: .93rem; }
.res-reqs li + li { margin-top: 8px; }

/* Ausschluss */
.excl-status { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-weight: 600; font-size: .95rem; }
.excl-status svg { width: 22px; height: 22px; flex: none; padding: 3px; border-radius: 50%; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.excl-status.is-nein { color: var(--bad); }
.excl-status.is-nein svg { background: var(--bad-wash); stroke: var(--bad); }
.excl-status.is-anders { color: var(--warn); }
.excl-status.is-anders svg { background: var(--warn-wash); stroke: var(--warn); }
.excl-box { margin-top: 18px; padding: 18px; border-radius: 18px; background: var(--bg); line-height: 1.55; }
.excl-box p { color: var(--ink-2); }
.excl-box .excl-yes { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line-2); font-weight: 600; color: var(--ink); }
.cta-block { display: grid; gap: 4px; margin-top: 22px; }

/* Kontaktschritt */
.summary-chip { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-bottom: 16px; padding: 8px 14px; border-radius: 12px; background: var(--blue-wash); font-size: .86rem; color: var(--blue-deep); }
.summary-chip b { font-family: var(--display); font-weight: 800; }
.form { display: grid; gap: 14px; margin-top: 22px; }
.field label, .field-label { display: block; margin-bottom: 6px; font-size: .88rem; font-weight: 600; }
.field label small { font-weight: 400; color: var(--muted); }
.field input { width: 100%; height: 52px; padding: 0 14px; border: 1.5px solid var(--line-2); border-radius: 12px; background: #fff; color: var(--ink); font: inherit; font-size: 1rem; transition: border-color .15s, box-shadow .2s; }
.field input:hover { border-color: #9FB0CB; }
.field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(30, 91, 255, .16); }
.field.is-bad input { border-color: var(--bad); }
.field-err { display: block; margin-top: 6px; font-size: .83rem; color: var(--bad); }
.field-err[hidden] { display: none; }
.field-row { display: grid; gap: 14px; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.slots button { height: 46px; border: 1.5px solid var(--line-2); border-radius: 12px; background: #fff; font-weight: 600; font-size: .92rem; transition: border-color .15s, background-color .15s, color .15s; }
.slots button:hover { border-color: var(--blue); }
.slots button[aria-pressed="true"] { border-color: var(--blue); background: var(--blue); color: #fff; }
.consent { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--bg); font-size: .82rem; line-height: 1.5; color: var(--ink-2); cursor: pointer; transition: background-color .2s, box-shadow .2s; }
.consent input { width: 20px; height: 20px; flex: none; margin: 1px 0 0; }
.consent.is-bad { background: var(--bad-wash); box-shadow: inset 0 0 0 1.5px var(--bad); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .8rem; color: var(--muted); text-align: center; }
.btn .spin { width: 18px; height: 18px; border: 2.5px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Weiterleitung und Danke */
.redirect { padding-top: 10px; text-align: center; }
.redirect .step-text { margin-inline: auto; }
.redirect-bar { max-width: 320px; height: 6px; margin: 26px auto 0; border-radius: 99px; background: var(--bg-2); overflow: hidden; }
.redirect-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--cyan)); animation: fillBar var(--t, 1.5s) linear both; }
@keyframes fillBar { from { width: 0; } to { width: 100%; } }
.redirect .btn { margin-top: 24px; }
.done-mark { display: grid; place-items: center; width: 68px; height: 68px; margin: 4px auto 18px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 10px var(--good-wash); animation: pop .55s var(--ease-spring) both; }
.done-mark svg { width: 32px; height: 32px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 26; stroke-dashoffset: 26; animation: draw .5s var(--ease-out) .25s forwards; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Rechtstexte ---------- */
.legal { max-width: 860px; padding-top: calc(var(--head-h) + clamp(32px, 6vw, 64px)); padding-bottom: 96px; }
.legal h1 { font-size: clamp(2.3rem, 1.6rem + 2.6vw, 3.4rem); font-weight: 800; line-height: 1.02; letter-spacing: -.035em; }
.legal h2 { margin-top: 2.2em; font-size: 1.2rem; font-weight: 750; }
.legal p { max-width: 68ch; margin-top: .8em; color: var(--ink-2); }
.legal ul { margin-top: .6em; color: var(--ink-2); }
.legal .stand { color: var(--muted); font-size: .92rem; }
.legal-dl { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 10px 24px; margin-top: 18px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.legal-dl dt { color: var(--muted); }
.draft-box { margin-bottom: 28px; padding: 16px 18px; border: 2px solid var(--bad); border-radius: 16px; background: var(--bad-wash); color: var(--ink); font-size: .95rem; line-height: 1.55; }
@media (max-width: 640px) { .legal-dl { grid-template-columns: minmax(0, 1fr); gap: 2px; } .legal-dl dd { margin-bottom: 12px; } }

/* ---------- Weniger Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .glow { animation: none; }
}
