/* ==========================================================================
   Fideno Website · Gestaltung (Fassung 3, 17.10.2026)
   Grundlage: Corporate Identity 2026 (Allgemeines/brand).
   Farben: Schwarz #000, Signal-Blau #1E9BFF, Weiss #FFF, Fideno-Verlauf
   #000 → #0034C7. Schrift: Inter, JetBrains Mono nur fuer Codes und Schluessel.
   Standard ist die helle Darstellung (Weiss mit CI-Blau), die dunkle wird
   ueber den Schalter in der Kopfleiste gewaehlt (data-thema="dunkel").
   Ueberschriften leicht statt fett: zweite Zeile im Akzentblau.
   Bewusst nicht: Kreise als Bildmasken, Etiketten ueber Ueberschriften,
   Nummerierungen, Leuchteffekte, Verlauf in Schrift, Verlauf auf dem Logo.
   Ohne Inline-Stile (Sicherheitsrichtlinie): Werte kommen als data-*.
   ========================================================================== */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-latin.woff2?v=dc8fbde2c3') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-ext.woff2?v=dc8fbde2c3') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('/assets/fonts/jetbrains-mono-latin.woff2?v=dc8fbde2c3') format('woff2');
}

/* ---------- Farben und Masse ---------- */
:root {
  color-scheme: light;
  --grund: #ffffff;
  --grund-2: #f5f8fd;
  --grund-3: #e8eff9;
  --feld: linear-gradient(155deg, #f4f8fe 0%, #e3ecfa 55%, #d6e3f8 100%);
  --feld-rand: rgba(30, 155, 255, 0.16);
  --linie: rgba(8, 18, 40, 0.1);
  --linie-2: rgba(8, 18, 40, 0.2);
  --ink: #06080d;
  --ink-2: #3a4252;
  --ink-3: #626c7e;
  --blau: #1e9bff;
  --blau-text: #0b80e8;
  --blau-link: #0868c4;
  --blau-zart: rgba(30, 155, 255, 0.1);
  --blau-tief: #0034c7;
  --verlauf: linear-gradient(120deg, #000 0%, #001a66 52%, #0034c7 100%);
  --knopf-text: #ffffff;
  --glas: rgba(255, 255, 255, 0.72);
  --glas-rand: rgba(8, 18, 40, 0.08);
  --karte: #ffffff;
  --schatten: 0 1px 2px rgba(8, 18, 40, 0.04), 0 18px 40px -22px rgba(8, 18, 40, 0.22);
  --schatten-hoch: 0 2px 4px rgba(8, 18, 40, 0.05), 0 32px 64px -28px rgba(8, 18, 40, 0.32);
  --kugel-hof: radial-gradient(closest-side, #d6e3f8 0%, #e9f0fc 46%, rgba(250, 251, 254, 0) 100%);
  --raster: rgba(8, 40, 110, 0.07);
  --wortmarke: #d9e5f7;
  --fehler: #c42b3c;

  --rand: clamp(16px, 3.2vw, 48px);
  --spalt: clamp(16px, 2vw, 32px);
  --kopf-hoehe: 72px;
  --abstand: clamp(88px, 11vw, 168px);
  --ecke-s: 6px;
  --ecke: 10px;
  --ecke-l: 16px;
  --g-display: clamp(38px, 5.5vw, 86px);
  --g-titel: clamp(30px, 3.9vw, 58px);
  --g-titel-k: clamp(26px, 2.7vw, 40px);
  --g-gross: clamp(19px, 1.5vw, 23px);
  --g-text: clamp(16px, 1.06vw, 18px);
  --g-klein: 14px;
  --schrift: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-weich: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-raus: cubic-bezier(0.7, 0, 0.84, 0);
}

[data-thema='dunkel'] {
  color-scheme: dark;
  --grund: #020306;
  --grund-2: #090d15;
  --grund-3: #111724;
  --feld: linear-gradient(155deg, #00103d 0%, #000a26 55%, #00030c 100%);
  --feld-rand: rgba(30, 155, 255, 0.22);
  --linie: rgba(255, 255, 255, 0.1);
  --linie-2: rgba(255, 255, 255, 0.2);
  --ink: #f3f6fb;
  --ink-2: rgba(243, 246, 251, 0.74);
  --ink-3: rgba(243, 246, 251, 0.56);
  --blau-text: #1e9bff;
  --blau-link: #59b6ff;
  --blau-zart: rgba(30, 155, 255, 0.14);
  --glas: rgba(4, 6, 12, 0.62);
  --glas-rand: rgba(255, 255, 255, 0.08);
  --karte: #090d15;
  --schatten: 0 0 0 1px rgba(255, 255, 255, 0.06);
  --schatten-hoch: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 40px 80px -30px rgba(0, 0, 0, 0.8);
  --kugel-hof: radial-gradient(closest-side, #001a66 0%, #000826 50%, rgba(2, 3, 6, 0) 100%);
  --raster: rgba(120, 170, 255, 0.07);
  --wortmarke: #15223a;
  --fehler: #ff7b8a;
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
  scroll-behavior: smooth; scroll-padding-top: calc(var(--kopf-hoehe) + 24px);
  background: var(--grund);
}
body {
  margin: 0; min-height: 100vh;
  background: var(--grund); color: var(--ink);
  font-family: var(--schrift); font-size: var(--g-text); line-height: 1.6; font-weight: 400;
  font-feature-settings: 'cv11', 'ss01', 'ss03';
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
.themawechsel, .themawechsel *, .themawechsel *::before, .themawechsel *::after { transition: background-color .45s ease, color .45s ease, border-color .45s ease, fill .45s ease, stroke .45s ease !important; }
img, svg, canvas, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
p, figure, blockquote, dl, dd { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; text-wrap: balance; overflow-wrap: break-word; }
p { text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--blau); color: #fff; }
/* Kopierschutz: Text laesst sich nicht markieren. Ausgenommen sind Formularfelder
   (sonst koennte niemand tippen) und die Rechtstexte (Impressum, Datenschutz usw.). */
body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
input, textarea, select, [contenteditable], .recht, .recht * { -webkit-user-select: text; user-select: text; -webkit-touch-callout: default; }
:focus-visible { outline: 2px solid var(--blau); outline-offset: 3px; border-radius: 2px; }
[hidden] { display: none !important; }
.nur-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sprung { position: fixed; left: 16px; top: -60px; z-index: 1000; padding: 10px 16px; background: var(--blau); color: #fff; border-radius: var(--ecke-s); transition: top .2s; }
.sprung:focus { top: 12px; }
.svg-vorrat { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.rahmen { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: var(--rand); }
.rahmen--breit { max-width: 1600px; }
.rahmen--schmal { max-width: 920px; }
.nur-dunkel { display: none !important; }
[data-thema='dunkel'] .nur-hell { display: none !important; }
[data-thema='dunkel'] .nur-dunkel { display: revert !important; }
/* Bilder und Zeichnungen sind sonst Block (Grundregel oben). „revert“ machte sie im Dunkelmodus
   zu Zeilenelementen: das Logo rutschte nach oben, unter Bildern entstand ein Spalt */
[data-thema='dunkel'] :is(img, svg).nur-dunkel { display: block !important; }

/* ---------- Schrift ---------- */
.display {
  font-size: var(--g-display); line-height: 1.02; letter-spacing: -0.038em; font-weight: 420;
}
.titel {
  font-size: var(--g-titel); line-height: 1.06; letter-spacing: -0.03em; font-weight: 420;
}
.titel--k { font-size: var(--g-titel-k); line-height: 1.12; letter-spacing: -0.022em; }
.display > span, .titel > span { display: block; }
.blau { color: var(--blau-text); }
.aussage { font-size: var(--g-gross); line-height: 1.5; letter-spacing: -0.012em; color: var(--ink-2); max-width: 42ch; }
.text { color: var(--ink-2); max-width: 64ch; }
.text + .text { margin-top: 1em; }
.t-klein { font-size: var(--g-klein); line-height: 1.55; color: var(--ink-3); }
.t-3 { font-size: clamp(18px, 1.3vw, 21px); line-height: 1.3; letter-spacing: -0.012em; font-weight: 560; }
.mono { font-family: var(--mono); font-feature-settings: normal; }

/* Kopf eines Abschnitts: Titel immer oben, Einleitung daneben oder darunter. */
.kopfblock { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px var(--spalt); align-items: end; margin-bottom: clamp(44px, 5.5vw, 80px); }
.kopfblock > .aussage { justify-self: end; }
.kopfblock--mitte { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.kopfblock--mitte > .aussage { justify-self: center; }
.kopfblock--allein { grid-template-columns: 1fr; }

/* ---------- Textverweise ---------- */
.textlink {
  display: inline-flex; align-items: center; gap: .45em; color: var(--blau-link); font-weight: 520;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  padding-bottom: 2px; transition: background-size .35s var(--ease);
}
.textlink:hover { background-size: 100% 1px; }
.textlink svg { width: 1em; height: 1em; transition: transform .35s var(--ease); }
.textlink:hover svg { transform: translateX(3px); }
.lauftext a, .recht a { color: var(--blau-link); text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }

/* ---------- Knoepfe ----------
   Primaer: Signal-Blau. Beim Ueberfahren laeuft der Fideno-Verlauf von links
   herein und der Pfeil verlaesst den Knopf nach rechts oben und kommt von
   links unten zurueck, wie die drei Pfeile auf dem Titel der CI. */
.knopf {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: var(--ecke-s);
  font-size: 15.5px; font-weight: 560; letter-spacing: -0.006em; line-height: 1; white-space: nowrap;
  transition: transform .18s var(--ease), color .3s, border-color .3s, background-color .3s;
  -webkit-tap-highlight-color: transparent;
}
.knopf::before {
  content: ''; position: absolute; inset: -1px; z-index: -1; border-radius: inherit;
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--ease-weich);
}
.knopf:hover::before, .knopf:focus-visible::before { transform: scaleX(1); }
.knopf:active { transform: scale(.975); }
.knopf svg { width: 17px; height: 17px; flex: none; }
.knopf:hover svg.pfeil, .knopf:focus-visible svg.pfeil { animation: pfeil-durch .55s var(--ease) both; }
@keyframes pfeil-durch {
  0% { transform: translate(0, 0); opacity: 1; }
  42% { transform: translate(14px, -14px); opacity: 0; }
  43% { transform: translate(-14px, 14px); opacity: 0; }
  100% { transform: translate(0, 0); opacity: 1; }
}
.knopf--primaer { background: var(--blau); color: var(--knopf-text); }
.knopf--primaer::before { background: var(--verlauf); }
.knopf--zweit { background: transparent; color: var(--ink); border-color: var(--linie-2); }
.knopf--zweit::before { background: var(--ink); }
.knopf--zweit:hover, .knopf--zweit:focus-visible { color: var(--grund); border-color: var(--ink); }
.knopf--hell { background: #fff; color: #000; }
.knopf--hell::before { background: var(--blau); }
.knopf--hell:hover, .knopf--hell:focus-visible { color: #fff; }
.knopf--rand-hell { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
.knopf--rand-hell::before { background: #fff; }
.knopf--rand-hell:hover, .knopf--rand-hell:focus-visible { color: #000; border-color: #fff; }
.knopf--klein { min-height: 40px; padding: 0 16px; font-size: 14.5px; }
.knopf--gross { min-height: 54px; padding: 0 26px; font-size: 16px; }
.knopf--breit { width: 100%; }
.knopf[disabled], .knopf[aria-disabled='true'] { opacity: .45; pointer-events: none; }
.knopfreihe { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: 36px; }

/* ---------- Fluessigglas (Kopfleiste) ---------- */
.glas { background: var(--glas); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); }
.hat-linse .glas--linse { backdrop-filter: url(#fluessigglas) blur(14px) saturate(180%); }

/* ---------- Kopfleiste: volle Breite ---------- */
.kopf { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--kopf-hoehe); }
.kopf__glas {
  position: absolute; inset: 0; z-index: -1; border-bottom: 1px solid transparent;
  opacity: 0; transition: opacity .4s, border-color .4s;
}
.ist-gescrollt .kopf__glas, .menue-offen .kopf__glas, .ausklapp-offen .kopf__glas { opacity: 1; border-bottom-color: var(--glas-rand); }
.ausklapp-offen .kopf__glas, .menue-offen .kopf__glas { background: var(--grund); backdrop-filter: none; }
.kopf__leiste { display: flex; align-items: center; gap: 8px; height: 100%; }
.kopf__logo { flex: none; display: block; margin-right: auto; padding: 6px 0; }
.kopf__logo img { height: 30px; width: auto; transform: translateY(10%); }
.nav { display: flex; align-items: center; gap: 2px; height: 100%; }
.nav__punkt { height: 100%; display: flex; align-items: center; }
.nav__link {
  display: inline-flex; align-items: center; gap: 5px; height: 40px; padding: 0 13px; border: 0; background: none;
  border-radius: var(--ecke-s); font-size: 15px; font-weight: 500; color: var(--ink-2); transition: color .2s, background-color .2s;
}
.nav__link svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.nav__link:hover, .nav__punkt.ist-offen > .nav__link { color: var(--ink); background: var(--blau-zart); }
.nav__punkt.ist-offen > .nav__link svg { transform: rotate(180deg); }
.nav__link[aria-current='page'] { color: var(--ink); }
.nav__link--neu::before { content: ''; width: 6px; height: 6px; border-radius: 1px; background: var(--blau); }
.kopf__aktionen { display: flex; align-items: center; gap: 6px; margin-left: 18px; }
.kopf__anmelden { padding: 0 12px; font-size: 15px; font-weight: 500; color: var(--ink-2); transition: color .2s; }
.kopf__anmelden:hover { color: var(--ink); }
/* Sprache und Darstellung: ein Knopf mit Weltkugel, darunter Sprachen und Hell/Dunkel */
.einstellung { position: relative; }
.einstellung__knopf { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 10px; border: 0; border-radius: var(--ecke-s); background: none; font-size: 14px; font-weight: 500; letter-spacing: .02em; color: var(--ink-2); transition: color .2s, background-color .2s; }
.einstellung__knopf:hover, .einstellung.ist-offen .einstellung__knopf { color: var(--ink); background: var(--blau-zart); }
.einstellung__knopf svg { width: 18px; height: 18px; }
.einstellung__knopf .einstellung__pfeil { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.einstellung.ist-offen .einstellung__pfeil { transform: rotate(180deg); }
.einstellung__feld { position: absolute; right: 0; top: calc(100% + 10px); width: 248px; padding: 18px; border-radius: var(--ecke); background: var(--grund); border: 1px solid var(--linie); box-shadow: var(--schatten-hoch); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .3s var(--ease), visibility 0s .3s; }
.einstellung.ist-offen .einstellung__feld { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .3s var(--ease), visibility 0s; }
.sprachwahl__titel { margin: 0 0 8px; font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
.sprachwahl__titel + .sprachwahl__liste { margin-bottom: 16px; }
.sprachwahl__liste { display: grid; gap: 2px; }
.sprachwahl__liste a { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px; margin-inline: -10px; border-radius: var(--ecke-s); font-size: 15px; color: var(--ink-2); transition: background-color .2s, color .2s; }
.sprachwahl__liste a:hover { background: var(--blau-zart); color: var(--ink); }
.sprachwahl__liste a[aria-current='true'] { color: var(--ink); font-weight: 560; }
.sprachwahl__liste a[aria-current='true']::after { content: ''; width: 14px; height: 14px; background: var(--blau); -webkit-mask: url('/assets/img/haken.svg?v=dc8fbde2c3') center / contain no-repeat; mask: url('/assets/img/haken.svg?v=dc8fbde2c3') center / contain no-repeat; }
/* Hell / Dunkel als zwei Felder nebeneinander */
.darstellung { display: grid; grid-template-columns: 1fr 1fr; padding: 3px; border-radius: var(--ecke-s); background: var(--grund-3); }
.darstellung button { min-height: 34px; padding: 0 12px; border: 0; border-radius: 4px; background: none; font-size: 14px; font-weight: 500; color: var(--ink-3); transition: background-color .25s, color .25s, box-shadow .25s; }
.darstellung button[aria-pressed='true'] { background: var(--grund); color: var(--ink); box-shadow: 0 1px 2px rgba(8, 18, 40, .12); }
.darstellung button:hover { color: var(--ink); }
.darstellung--klein button { min-height: 30px; font-size: 13px; }
.kopf__menue { display: none; position: relative; width: 44px; height: 44px; padding: 0; border: 0; background: none; border-radius: var(--ecke-s); }
.kopf__menue span { position: absolute; left: 12px; right: 12px; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform .45s var(--ease), opacity .25s; }
.kopf__menue span:nth-child(1) { top: 15px; }
.kopf__menue span:nth-child(2) { top: 21.2px; }
.kopf__menue span:nth-child(3) { top: 27.4px; }
.menue-offen .kopf__menue span:nth-child(1) { transform: translateY(6.2px) rotate(45deg); }
.menue-offen .kopf__menue span:nth-child(2) { opacity: 0; transform: scaleX(.2); }
.menue-offen .kopf__menue span:nth-child(3) { transform: translateY(-6.2px) rotate(-45deg); }

/* Ausklappmenue: ueber die ganze Breite unter der Leiste */
.ausklapp {
  position: absolute; left: 0; right: 0; top: 100%; z-index: -2;
  background: var(--grund); border-bottom: 1px solid var(--linie); box-shadow: 0 30px 60px -40px rgba(8, 18, 40, .35);
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .35s var(--ease), visibility 0s .35s;
}
.nav__punkt.ist-offen .ausklapp { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .35s var(--ease), visibility 0s; }
.ausklapp__raster { display: grid; grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-block: 36px 44px; }
.ausklapp__karte { display: flex; flex-direction: column; gap: 10px; padding: 0 32px 0 0; border-right: 1px solid var(--linie); }
.ausklapp__karte strong { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.ausklapp__satz { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.ausklapp__bild { display: block; overflow: hidden; border-radius: var(--ecke); aspect-ratio: 16 / 9; margin-bottom: 6px; }
.ausklapp__bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
a.ausklapp__karte:hover .ausklapp__bild img { transform: scale(1.04); }
.ausklapp__karte .textlink { margin-top: 4px; }
.ausklapp__zeichen { width: 30px; height: auto; margin-bottom: 8px; }
.ausklapp__knoepfe { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.ausklapp__spalte { display: flex; flex-direction: column; gap: 2px; }
.ausklapp__titel { margin-bottom: 10px; font-size: 13px; font-weight: 600; color: var(--ink-3); }
.ausklapp__eintrag { display: flex; flex-direction: column; gap: 2px; margin-inline: -12px; padding: 10px 12px; border-radius: var(--ecke-s); transition: background-color .2s; }
.ausklapp__eintrag strong { font-size: 15px; font-weight: 560; }
.ausklapp__eintrag span { font-size: 13.5px; line-height: 1.45; color: var(--ink-3); }
.ausklapp__eintrag:hover { background: var(--blau-zart); }
.ausklapp__eintrag--kurz { padding-block: 7px; font-size: 14.5px; color: var(--ink-2); }
.ausklapp__eintrag--kurz:hover { color: var(--ink); }

/* Mobiles Menue */
.mobil {
  position: fixed; inset: var(--kopf-hoehe) 0 0; z-index: 99; overflow-y: auto; overscroll-behavior: contain;
  background: var(--grund); opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .3s, transform .45s var(--ease), visibility 0s .45s;
}
.menue-offen .mobil { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .45s var(--ease), visibility 0s; }
.menue-offen, .menue-offen body { overflow: hidden; }
.mobil__innen { display: flex; flex-direction: column; padding-block: 12px 40px; }
.mobil details, .mobil__link { border-bottom: 1px solid var(--linie); }
.mobil summary, .mobil__link { display: flex; align-items: center; justify-content: space-between; min-height: 60px; font-size: 21px; font-weight: 450; letter-spacing: -0.015em; list-style: none; cursor: pointer; }
.mobil summary::-webkit-details-marker { display: none; }
.mobil summary svg { width: 20px; height: 20px; transition: transform .3s var(--ease); }
.mobil details[open] summary svg { transform: rotate(180deg); }
.mobil__unter { display: flex; flex-direction: column; padding-bottom: 16px; }
.mobil__unter a { padding: 9px 0; color: var(--ink-2); }
.mobil__gruppe { margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--ink-3); }
.mobil__einstellung { padding-block: 22px 6px; border-bottom: 1px solid var(--linie); }
.mobil__einstellung .darstellung { max-width: 320px; }
.mobil__aktionen { display: grid; gap: 10px; margin-top: 28px; }

/* ---------- Abschnitte ---------- */
main { display: block; }
.abschnitt { position: relative; padding-block: var(--abstand); }
.abschnitt--eng { padding-block: calc(var(--abstand) * .6); }
.abschnitt--ohne-oben { padding-top: 0; }
.trenn { border-top: 1px solid var(--linie); }

/* ---------- Einblenden ----------
   Sichtbar ist zuerst alles. Nur was beim Laden unterhalb des Fensters liegt,
   wird von main.js kurz versteckt und beim Erreichen eingeblendet. Faellt das
   Skript aus, bleibt die Seite vollstaendig lesbar. */
.vorher[data-zeige]:not(.ist-sichtbar) { opacity: 0; transform: translateY(26px); }
/* Nur waehrend des Einblendens gilt diese Bewegung. Danach (.ist-fertig) laufen wieder die
   eigenen Uebergaenge des Bausteins, z. B. das weiche Anheben der Preiskarten. */
.vorher[data-zeige].ist-sichtbar:not(.ist-fertig) { transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: var(--v, 0s); }

/* Entschluesseln: Zeichen erscheinen kurz als Chiffre und loesen sich auf. */
.z { position: relative; }
.z--an { color: transparent; }
.z--an::after { content: attr(data-z); position: absolute; left: 50%; top: 0; transform: translateX(-50%); color: var(--blau-text); font-family: var(--mono); font-weight: 400; font-size: .74em; line-height: 1.42; opacity: .85; }

/* ---------- Startseite: erster Bildschirm ---------- */
.held { position: relative; min-height: min(100svh, 1000px); display: flex; flex-direction: column; justify-content: center; padding-block: calc(var(--kopf-hoehe) + 48px) 56px; overflow: hidden; }
.held__kugel { position: absolute; top: 50%; right: max(-9vw, -150px); width: min(60vw, 880px); aspect-ratio: 1; transform: translateY(-50%); }
.held__kugel::before { content: ''; position: absolute; inset: -6%; background: var(--kugel-hof); pointer-events: none; }
.kugel { position: relative; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; opacity: 0; transition: opacity 1.4s var(--ease); }
.kugel.ist-bereit { opacity: 1; }
.kugel:active { cursor: grabbing; }
.held__raster { position: relative; z-index: 1; pointer-events: none; }
.held__text > * { pointer-events: auto; }
.held__text { max-width: 700px; }
.held__satz { margin-top: 28px; font-size: var(--g-gross); line-height: 1.5; color: var(--ink-2); max-width: 38ch; }
.held__fakten { display: flex; flex-wrap: wrap; gap: 20px 44px; margin-top: 56px; }
.held__fakten div { display: grid; gap: 2px; }
.held__fakten dt { font-size: clamp(26px, 2.4vw, 34px); font-weight: 380; letter-spacing: -0.03em; line-height: 1.1; }
.held__fakten dd { font-size: 14px; color: var(--ink-3); }
.held__fuss { position: relative; z-index: 1; pointer-events: none; margin-top: auto; padding-top: 48px; font-size: 13.5px; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 6px 22px; }
.held__fuss span + span::before { content: ''; display: inline-block; width: 4px; height: 4px; margin-right: 22px; vertical-align: middle; border-radius: 1px; background: var(--blau); }

/* ---------- Zero-Knowledge zum Ausprobieren ---------- */
.geheim { display: grid; grid-template-columns: minmax(0, 5fr) minmax(64px, 1.4fr) minmax(0, 6fr); align-items: center; gap: 0; }
.geheim__links { display: flex; flex-direction: column; gap: 14px; }
.geheim__label { font-size: 15px; font-weight: 560; color: var(--ink-2); }
.geheim__feld { position: relative; }
.geheim__eingabe {
  width: 100%; padding: 22px 0 18px; border: 0; border-bottom: 2px solid var(--linie-2); border-radius: 0; background: none;
  font-size: clamp(26px, 2.6vw, 40px); font-weight: 380; letter-spacing: -0.02em; outline: none; transition: border-color .3s;
}
.geheim__eingabe::placeholder { color: var(--ink-3); opacity: .55; }
.geheim__feld::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--blau); transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--ease); }
.geheim__feld:focus-within::after { transform: scaleX(1); }
.geheim__tipp { font-size: 14px; color: var(--ink-3); }
.geheim__weg { position: relative; height: 2px; margin-inline: 14px; background: var(--linie-2); }
.geheim__weg::before { content: ''; position: absolute; top: 0; left: 0; width: 34%; height: 100%; background: linear-gradient(90deg, transparent, var(--blau)); animation: weg-puls 2.2s var(--ease) infinite; }
.geheim__weg.ist-aktiv::before { animation-duration: .6s; }
@keyframes weg-puls { 0% { transform: translateX(-100%); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateX(300%); opacity: 0; } }
.geheim__schloss { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: var(--ecke); background: var(--grund); border: 1px solid var(--linie-2); color: var(--blau-text); transition: transform .3s var(--ease); }
.geheim__schloss svg { width: 21px; height: 21px; }
.geheim__schloss.ist-klick { transform: scale(1.12); }
.geheim__rechts { position: relative; padding: clamp(24px, 3vw, 40px); border-radius: var(--ecke-l); background: var(--feld); border: 1px solid var(--feld-rand); min-height: 300px; display: flex; flex-direction: column; }
.geheim__wer { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 560; color: var(--ink-2); }
.geheim__punkt { width: 8px; height: 8px; border-radius: 2px; background: var(--blau); animation: blinken 1.6s steps(2, jump-none) infinite; }
@keyframes blinken { 50% { opacity: .25; } }
.geheim__wert { margin-top: 18px; font-family: var(--mono); font-size: clamp(15px, 1.25vw, 19px); line-height: 1.65; color: var(--ink); word-break: break-all; min-height: 4.95em; }
.geheim__wert .neu { color: var(--blau-text); }
.geheim__daten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: auto; padding-top: 26px; border-top: 1px solid var(--feld-rand); }
.geheim__daten dt { font-size: 12.5px; color: var(--ink-3); }
.geheim__daten dd { margin-top: 2px; font-family: var(--mono); font-size: 13.5px; color: var(--ink); }
.geheim__hinweis { grid-column: 1 / -1; margin-top: 28px; font-size: 14px; color: var(--ink-3); max-width: 80ch; }

/* ---------- Zahlen ---------- */
.lesen { font-size: clamp(24px, 2.8vw, 42px); line-height: 1.24; letter-spacing: -0.024em; font-weight: 400; max-width: 30ch; }
.lesen .wort { color: var(--ink-3); opacity: .45; transition: opacity .3s, color .3s; }
.lesen .wort.an { color: var(--ink); opacity: 1; }
.zahlen { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px var(--spalt); margin-top: clamp(56px, 7vw, 104px); }
.zahl { position: relative; padding-top: 22px; }
.zahl::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--linie-2); }
.zahl::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 1px; background: var(--blau); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.4s var(--ease) var(--v, 0s); }
.zahl.ist-sichtbar::after, .zahlen:not(.vorher) .zahl::after { transform: scaleX(1); }
.zahl strong { display: block; font-size: clamp(44px, 5vw, 80px); font-weight: 300; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.zahl span { display: block; margin-top: 12px; font-size: 15px; color: var(--ink-2); }

/* ---------- Drei Aussagen nebeneinander, mit gezeichneter Linie ---------- */
.drei { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px var(--spalt); }
.drei > div { position: relative; padding-top: 24px; }
.drei > div::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--linie); }
.drei > div::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: var(--blau); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.3s var(--ease) var(--v, .1s); }
.drei > .ist-sichtbar::after, .drei > div:not(.vorher)::after { transform: scaleX(1); }
.drei h3 { font-size: clamp(19px, 1.4vw, 22px); font-weight: 560; letter-spacing: -0.014em; line-height: 1.3; }
.drei p { margin-top: 10px; color: var(--ink-2); }
.drei--vier { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.drei--zwei { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ---------- Grafiken (Marcels animierte Architekturgrafiken, grafik-*.html) ----------
   Zeichnung und Bewegung stammen 1:1 aus "Fideno Sektionen". Die Farben im SVG
   sind fuer dunklen Grund gemacht und gelten im Dunkel-Modus unveraendert.
   Fuer Hell werden sie unten Ton fuer Ton auf hellen Grund umgesetzt. */
.fg { --fg-flaeche: var(--grund); margin-top: clamp(40px, 5vw, 72px); }
.fg__flaeche { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
.fg__flaeche::-webkit-scrollbar { display: none; }
.fg svg { display: block; width: 100%; height: auto; }
.fg text { font-family: var(--schrift); }
.fg-zeile { opacity: .82; transition: opacity .25s; }
.fg-zeile--stark { opacity: .88; }
.fg-zeile:hover { opacity: 1; }
[data-thema='dunkel'] .fg-glas { mix-blend-mode: screen; }
#fg-lk rect { fill: var(--fg-flaeche, #000); }
.fg [fill='#000'] { fill: var(--fg-flaeche); }

html:not([data-thema='dunkel']) .fg [fill='#020818'] { fill: #eef6ff; }
html:not([data-thema='dunkel']) .fg [fill='#fff'] { fill: var(--ink); }
html:not([data-thema='dunkel']) .fg [fill='#7D8899'] { fill: #687386; }
html:not([data-thema='dunkel']) .fg [fill='#8A94A6'] { fill: var(--ink-3); }
html:not([data-thema='dunkel']) .fg [fill='#C9D2E0'] { fill: #4b5566; }
html:not([data-thema='dunkel']) .fg [fill='#1E9BFF'] { fill: var(--blau-text); }
html:not([data-thema='dunkel']) .fg [fill='#4A6E98'] { fill: #4f79ad; }
html:not([data-thema='dunkel']) .fg [fill='#6CBEFF'],
html:not([data-thema='dunkel']) .fg [fill='#CFE8FF'] { fill: var(--blau); }
html:not([data-thema='dunkel']) .fg [stroke='#1C2230'] { stroke: #e3e8f0; }
html:not([data-thema='dunkel']) .fg [stroke='#2A3140'] { stroke: #dbe1ea; }
html:not([data-thema='dunkel']) .fg [stroke='#3A4250'] { stroke: #c9d0db; }
html:not([data-thema='dunkel']) .fg [stroke='#4A5262'] { stroke: #b3bccb; }
html:not([data-thema='dunkel']) .fg [stroke='#6A7384'] { stroke: #97a1b1; }
html:not([data-thema='dunkel']) .fg [stroke='#C9D2E0'] { stroke: #4b5566; }
html:not([data-thema='dunkel']) .fg [stroke='#3A6EA8'] { stroke: #8fb7e4; }
html:not([data-thema='dunkel']) .fg [stroke='#4A6E98'] { stroke: #8aaad3; }
html:not([data-thema='dunkel']) .fg [color='#C9D2E0'] { color: #4b5566; }
html:not([data-thema='dunkel']) .fg [color='#9FB4D0'] { color: #5577a3; }
html:not([data-thema='dunkel']) .fg [color='#6A7384'] { color: #97a1b1; }
html:not([data-thema='dunkel']) .fg [fill='url(#fg-kern)'] { opacity: .3; }

/* Bestandsbereinigung: zwei Ansichten, die sich abwechseln */
.fg-reiter { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 24px; align-items: end; margin-bottom: 28px; border-bottom: 1px solid var(--linie); }
.fg-reiter button { justify-self: start; padding: 0; border: 0; background: none; font-size: clamp(15px, 2vw, 22px); font-weight: 500; letter-spacing: -0.01em; line-height: 1.3; white-space: nowrap; text-align: left; color: var(--ink-3); transition: color .4s; }
.fg-reiter button:last-child { justify-self: end; text-align: right; }
.fg-reiter button span { position: relative; display: inline-block; padding-bottom: 14px; }
.fg-reiter button i { position: absolute; left: 0; bottom: -1px; width: 0; height: 2px; background: var(--blau); transition: width .4s; }
.fg-reiter button[aria-pressed='true'] { color: var(--ink); }
.fg-reiter button[aria-pressed='true'] i { width: 100%; }
.fg-bestand.ist-auto .fg-reiter button i { width: 0; transition: none; }
.fg-bestand.ist-auto.ist-lauf .fg-reiter button[aria-pressed='true'] i { width: 100%; transition: width 4.5s linear; }
.fg-reiter__mitte { display: flex; flex-direction: column; align-items: center; gap: 6px; padding-bottom: 16px; font-size: 11px; font-weight: 500; letter-spacing: .14em; white-space: nowrap; color: var(--blau-text); }
.fg-reiter__mitte svg { width: 120px; height: 10px; }
/* Lage und Ecken der Kaestchen bewegt effekte.js direkt am SVG, hier nur die Farben */
.fg-bestand.ist-bereit .fg-knoten rect { transition: stroke 1.4s; }
.fg-bestand.ist-bereit.ist-sauber .fg-knoten rect { stroke: var(--blau); }
.fg-bestand.ist-bereit .fg-knoten circle { transition: opacity .6s; }
.fg-bestand.ist-bereit .fg-knoten--markiert circle { opacity: 1; }
.fg-bestand.ist-bereit.ist-sauber .fg-knoten circle { opacity: 0; }
.fg-bestand.ist-bereit .fg-bestand__alt { transition: opacity .6s; }
.fg-bestand.ist-bereit.ist-sauber .fg-bestand__alt { opacity: 0; }
.fg-bestand.ist-bereit .fg-bestand__neu { transition: opacity .8s; }
.fg-bestand.ist-bereit.ist-sauber .fg-bestand__neu { opacity: 1; transition-delay: 1s; }
.fg-bestand.ist-sauber .fg-bestand__wert[fill] { fill: var(--blau-text); }

/* ---------- Bildband (dunkles Kinobild, ein blaues Licht) ---------- */
.bildband { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: #000; }
.bildband__bild { position: absolute; inset: -12% 0; z-index: -2; }
.bildband__bild img { width: 100%; height: 100%; object-fit: cover; transform: translateY(var(--parallaxe, 0)); will-change: transform; }
.bildband::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0, 0, 0, .86) 0%, rgba(0, 0, 0, .55) 50%, rgba(0, 0, 0, .15) 100%); }
.bildband__inhalt { padding-block: clamp(120px, 16vw, 240px); }
.bildband .titel { max-width: 15ch; }
.bildband .blau { color: var(--blau); }
.bildband .aussage { margin-top: 28px; color: rgba(255, 255, 255, .78); max-width: 50ch; }

/* ---------- Reiter mit Bildwechsel ---------- */
.reiter { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.reiter__liste { display: flex; flex-direction: column; }
.reiter__knopf { position: relative; display: block; width: 100%; padding: 22px 0 22px 24px; border: 0; background: none; text-align: left; color: var(--ink-3); transition: color .3s; }
.reiter__knopf::before { content: ''; position: absolute; left: 0; top: 14px; bottom: 14px; width: 2px; background: var(--linie); }
.reiter__knopf::after { content: ''; position: absolute; left: 0; top: 14px; bottom: 14px; width: 2px; background: var(--blau); transform: scaleY(var(--fortschritt, 0)); transform-origin: 50% 0; }
.reiter__knopf[aria-selected='true'] { color: var(--ink); }
.reiter__knopf h3 { font-size: clamp(18px, 1.4vw, 22px); font-weight: 520; letter-spacing: -0.014em; line-height: 1.3; }
.reiter__knopf p { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.reiter__knopf p span { overflow: hidden; color: var(--ink-2); font-size: 16px; }
.reiter__knopf[aria-selected='true'] p { grid-template-rows: 1fr; }
.reiter__knopf[aria-selected='true'] p span { padding-top: 10px; }
.reiter__knopf:hover { color: var(--ink); }
.buehne { position: relative; border-radius: var(--ecke-l); background: var(--feld); border: 1px solid var(--feld-rand); padding: clamp(18px, 3.4vw, 52px); overflow: hidden; }
.buehne__linien { position: absolute; inset: 0; pointer-events: none; opacity: .55; }
.reiter__bilder { position: relative; display: grid; }
.reiter__bild { grid-area: 1 / 1; opacity: 0; transform: translateY(14px) scale(.985); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.reiter__bild.aktiv { opacity: 1; transform: none; }
.reiter__bild img { width: 100%; border-radius: var(--ecke); box-shadow: var(--schatten-hoch); }

/* ---------- Faecher: Bilder, die sich aufklappen ---------- */
.faecher { display: flex; gap: 12px; height: clamp(440px, 46vw, 620px); }
.faecher__teil {
  position: relative; flex: 1 1 0; min-width: 0; padding: 0; border: 0; border-radius: var(--ecke-l); overflow: hidden; background: #000; color: #fff; text-align: left;
  transition: flex-grow .8s var(--ease-weich);
}
.faecher__teil.ist-aktiv { flex-grow: 3.6; }
.faecher__teil img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.4s var(--ease), opacity .6s; opacity: .78; }
.faecher__teil.ist-aktiv img { transform: scale(1); opacity: 1; }
.faecher__teil::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, 0) 55%); }
.faecher__text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: flex; flex-direction: column; gap: 10px; padding: clamp(20px, 2.4vw, 32px); }
.faecher__text strong { font-size: clamp(20px, 1.8vw, 28px); font-weight: 460; letter-spacing: -0.02em; line-height: 1.15; white-space: nowrap; }
.faecher__text span { max-width: 36ch; font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, .78); opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .6s var(--ease); }
.faecher__teil.ist-aktiv .faecher__text span { opacity: 1; transform: none; transition-delay: .25s; }
.faecher__teil:not(.ist-aktiv) .faecher__text strong { writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; font-size: 18px; }
.faecher__fortschritt { position: absolute; left: clamp(20px, 2.4vw, 32px); right: clamp(20px, 2.4vw, 32px); top: 20px; z-index: 1; height: 2px; background: rgba(255, 255, 255, .25); opacity: 0; transition: opacity .3s; }
.faecher__fortschritt i { display: block; height: 100%; background: #fff; transform: scaleX(var(--fortschritt, 0)); transform-origin: 0 50%; }
.faecher__teil.ist-aktiv .faecher__fortschritt { opacity: 1; }

/* ---------- Gruender: klein, wie auf der alten Seite ---------- */
.gruender { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); overflow: hidden; border-radius: var(--ecke-l); border: 1px solid var(--linie); background: var(--karte); }
.gruender__bild { position: relative; min-height: 320px; background: #000; overflow: hidden; }
.gruender__bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gruender__bild .gruender__zeichen { position: absolute; inset: auto auto 28px 28px; width: 40px; height: auto; }
.gruender__inhalt { display: flex; flex-direction: column; justify-content: center; gap: 32px; padding: clamp(28px, 4.4vw, 64px); }
.gruender__zitat p { font-size: clamp(18px, 1.45vw, 22px); line-height: 1.55; letter-spacing: -0.01em; color: var(--ink); }
.gruender__von { display: flex; align-items: center; gap: 14px; }
.gruender__von img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.gruender__von strong { display: block; font-size: 15.5px; font-weight: 600; }
.gruender__von span { display: block; font-size: 14px; color: var(--ink-3); }

/* ---------- Haeufige Fragen ---------- */
.faq-raster { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px var(--spalt); align-items: start; }
.faq-raster__kopf { position: sticky; top: calc(var(--kopf-hoehe) + 40px); }
.faq-raster__kopf .text { margin-top: 24px; }
.faq details { border-bottom: 1px solid var(--linie); }
.faq details:first-child { border-top: 1px solid var(--linie); }
.faq summary { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; font-size: clamp(17px, 1.25vw, 20px); font-weight: 500; letter-spacing: -0.012em; list-style: none; cursor: pointer; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--blau-text); }
.faq__plus { position: relative; flex: none; width: 32px; height: 32px; border-radius: var(--ecke-s); border: 1px solid var(--linie-2); transition: background-color .3s, border-color .3s; }
.faq__plus::before, .faq__plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; margin: -.8px 0 0 -6px; background: currentColor; transition: transform .4s var(--ease); }
.faq__plus::after { transform: rotate(90deg); }
.faq details[open] .faq__plus { background: var(--blau); border-color: var(--blau); color: #fff; }
.faq details[open] .faq__plus::after { transform: rotate(0deg); }
.faq__antwort { padding: 0 56px 26px 0; color: var(--ink-2); max-width: 70ch; }
details[open] .faq__antwort { animation: aufklappen .5s var(--ease); }
@keyframes aufklappen { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- Abschluss: Fideno-Verlauf ---------- */
.abschluss { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--verlauf); }
.abschluss .lichtlinien { position: absolute; inset: 0; z-index: -1; opacity: .7; }
.abschluss__raster { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px var(--spalt); align-items: end; padding-block: clamp(100px, 13vw, 200px); }
.abschluss .titel { font-size: clamp(40px, 5.6vw, 88px); }
.abschluss .titel .blau { color: var(--blau); }
.abschluss__pfeile { display: flex; gap: 10px; margin-bottom: 36px; color: var(--blau); }
.abschluss__pfeile svg { width: 34px; height: 34px; opacity: 0; transform: translate(-10px, 10px); }
.abschluss.ist-sichtbar .abschluss__pfeile svg, .abschluss:not(.vorher) .abschluss__pfeile svg { animation: pfeil-rein .7s var(--ease) forwards; }
.abschluss__pfeile svg:nth-child(2) { animation-delay: .12s !important; }
.abschluss__pfeile svg:nth-child(3) { animation-delay: .24s !important; }
@keyframes pfeil-rein { to { opacity: 1; transform: none; } }
.abschluss__rechts { display: flex; flex-direction: column; gap: 26px; }
.abschluss__rechts .aussage { color: rgba(255, 255, 255, .82); max-width: 40ch; }
.haken { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.haken li { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; }
.haken li::before { content: ''; flex: none; width: 16px; height: 16px; background: currentColor; -webkit-mask: url('/assets/img/haken.svg?v=dc8fbde2c3') center / contain no-repeat; mask: url('/assets/img/haken.svg?v=dc8fbde2c3') center / contain no-repeat; }
.abschluss .haken li::before { background: var(--blau); }
.abschluss .knopfreihe { margin-top: 6px; }

/* ---------- Fusszeile ---------- */
.fuss { position: relative; padding-top: clamp(72px, 8vw, 120px); background: var(--grund-2); border-top: 1px solid var(--linie); overflow: hidden; }
.fuss__oben { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px var(--spalt); }
.fuss__logo img { height: 30px; width: auto; }
.fuss__marke p { margin-top: 18px; color: var(--ink-2); max-width: 30ch; }
.fuss__sozial { display: flex; gap: 8px; margin-top: 22px; }
.fuss__sozial a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--ecke-s); border: 1px solid var(--linie-2); color: var(--ink-2); transition: color .2s, border-color .2s, background-color .2s; }
.fuss__sozial a:hover { color: #fff; background: var(--blau); border-color: var(--blau); }
.fuss__sozial svg { width: 18px; height: 18px; }
.fuss__spalten { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px var(--spalt); }
.fuss__titel { margin-bottom: 14px; font-size: 14px; font-weight: 600; }
.fuss__liste { display: grid; gap: 9px; }
.fuss__liste a { font-size: 14.5px; color: var(--ink-2); transition: color .2s; }
.fuss__liste a:hover { color: var(--blau-link); }
.fuss__wort { display: flex; align-items: flex-start; gap: .25em; width: min(82%, 1060px); margin: clamp(64px, 8vw, 120px) auto 0; overflow: hidden; }
.fuss__wort b { flex: none; font-size: clamp(13px, 2.4vw, 34px); font-weight: 400; line-height: 1; color: var(--wortmarke); }
.fuss__wort.vorher b { opacity: 0; }
.fuss__wort.vorher.ist-sichtbar b { opacity: 1; transition: opacity 1.4s var(--ease) .4s; }
.fuss__wort span {
  display: block; flex: 1 1 0; min-width: 0; aspect-ratio: 1648 / 552; background: var(--wortmarke);
  -webkit-mask: url('/assets/img/wortmarke-fideno.svg?v=dc8fbde2c3') center / contain no-repeat; mask: url('/assets/img/wortmarke-fideno.svg?v=dc8fbde2c3') center / contain no-repeat;
  transform: translateY(var(--wort-y, 0%)); transition: transform 1.4s var(--ease);
}
.fuss__wort.vorher span { --wort-y: 36%; }
.fuss__wort.vorher.ist-sichtbar span { --wort-y: 0%; }
.fuss__unten { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 28px 32px; margin-top: clamp(28px, 3vw, 44px); border-top: 1px solid var(--linie); font-size: 14px; color: var(--ink-3); }
.fuss__recht { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.fuss__einstellung { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.sprachmenue { position: relative; }
.sprachmenue summary { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px; border: 1px solid var(--linie-2); border-radius: var(--ecke-s); font-size: 14px; color: var(--ink-2); list-style: none; cursor: pointer; }
.sprachmenue summary::-webkit-details-marker { display: none; }
.sprachmenue summary svg { width: 16px; height: 16px; }
.sprachmenue[open] .sprachmenue__pfeil { transform: rotate(180deg); }
.sprachmenue ul { position: absolute; left: 0; bottom: calc(100% + 8px); z-index: 5; min-width: 180px; padding: 8px; border-radius: var(--ecke); background: var(--grund); border: 1px solid var(--linie); box-shadow: var(--schatten-hoch); }
.sprachmenue a { display: block; padding: 8px 10px; border-radius: var(--ecke-s); font-size: 14.5px; color: var(--ink-2); }
.sprachmenue a:hover { background: var(--blau-zart); color: var(--ink); }
.sprachmenue a[aria-current='true'] { color: var(--ink); font-weight: 560; }
.fuss__recht a, .fuss__recht button { padding: 0; border: 0; background: none; font-size: 14px; color: var(--ink-3); transition: color .2s; }
.fuss__recht a:hover, .fuss__recht button:hover { color: var(--ink); }

/* ---------- Einwilligung ---------- */
.einwilligungsbox {
  position: fixed; right: 20px; bottom: 20px; z-index: 200; width: min(460px, calc(100vw - 32px)); max-height: calc(100svh - 40px); overflow-y: auto; overscroll-behavior: contain;
  padding: 26px; border-radius: var(--ecke-l); background: var(--grund); border: 1px solid var(--linie); box-shadow: var(--schatten-hoch);
}
.einwilligungsbox__zeichen { width: 28px; height: auto; margin-bottom: 16px; }
.einwilligungsbox__text { font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.einwilligungsbox__text a { color: var(--blau-link); text-decoration: underline; text-underline-offset: .2em; }
.einwilligungsbox__knoepfe { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 20px; }
.einwilligungsbox__knoepfe .knopf--voll { grid-column: 1 / -1; }
.einwilligungsbox .knopf { min-height: 44px; font-size: 14.5px; }
.einwilligung-zeile { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding-block: 16px; border-bottom: 1px solid var(--linie); }
.einwilligung-zeile strong { font-size: 15px; font-weight: 600; }
.einwilligung-zeile p { margin-top: 6px; font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }
.einwilligung-zeile .status { font-size: 13px; color: var(--blau-text); white-space: nowrap; }
.schalter { position: relative; display: inline-block; width: 44px; height: 26px; }
.schalter input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.schalter i { position: absolute; inset: 0; border-radius: 13px; background: var(--grund-3); border: 1px solid var(--linie-2); transition: background-color .25s; pointer-events: none; }
.schalter i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .3s var(--ease); }
.schalter input:checked + i { background: var(--blau); border-color: var(--blau); }
.schalter input:checked + i::after { transform: translateX(18px); }
.schalter input:focus-visible + i { outline: 2px solid var(--blau); outline-offset: 2px; }


/* Software-Bild, das sich beim Scrollen aufrichtet */
.kippen { transform: perspective(1800px) rotateX(var(--kipp, 0deg)) scale(var(--kippskala, 1)); transform-origin: 50% 100%; will-change: transform; }

/* ==========================================================================
   Unterseiten
   ========================================================================== */

/* ---------- Kopf einer Unterseite ----------
   Kein Kreis, keine Bildmaske. Titel links, rechts eine lebendige Flaeche
   (Software, Vorfuehrung oder Grafik). Dahinter ein feines Raster, das
   langsam wandert und nach aussen auslaeuft. */
.seitenkopf { position: relative; isolation: isolate; padding-block: calc(var(--kopf-hoehe) + clamp(48px, 7vw, 112px)) clamp(72px, 9vw, 136px); overflow: hidden; }
.seitenkopf::before {
  content: ''; position: absolute; inset: 0 0 -64px; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--raster) 1px, transparent 1px), linear-gradient(90deg, var(--raster) 1px, transparent 1px);
  background-size: 64px 64px; background-position: 50% 0;
  -webkit-mask-image: radial-gradient(ellipse 70% 75% at 74% 12%, #000 0%, rgba(0, 0, 0, .35) 45%, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 75% at 74% 12%, #000 0%, rgba(0, 0, 0, .35) 45%, transparent 78%);
  animation: raster-zug 26s linear infinite;
}
.seitenkopf::after { content: ''; position: absolute; inset: 0; z-index: -2; pointer-events: none; background: radial-gradient(48% 56% at 88% 0%, var(--blau-zart), transparent 70%); }
@keyframes raster-zug { to { transform: translateY(64px); } }
.seitenkopf__raster { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(48px, 6vw, 104px); align-items: center; }
.seitenkopf--allein .seitenkopf__raster { grid-template-columns: minmax(0, 1fr); }
.seitenkopf--allein .seitenkopf__text { max-width: 1000px; }
/* Kopfbereich ohne Bild: Titel und Text laufen breiter */
.seitenkopf--breit .seitenkopf__text { max-width: 1140px; }
.seitenkopf--breit .aussage { max-width: 66ch; }
.seitenkopf--mitte .seitenkopf__text { margin-inline: auto; text-align: center; }
.seitenkopf--mitte .aussage { margin-inline: auto; }
.seitenkopf--mitte .knopfreihe { justify-content: center; }
.seitenkopf .display { font-size: clamp(38px, 4.8vw, 76px); }
.seitenkopf__text .aussage { margin-top: 28px; }
.seitenkopf__buehne { position: relative; min-width: 0; }
.fakten { display: flex; flex-wrap: wrap; gap: 18px 44px; margin-top: 52px; padding-top: 26px; border-top: 1px solid var(--linie); }
.fakten div { display: grid; gap: 2px; }
.fakten dt { font-size: clamp(22px, 2vw, 30px); font-weight: 380; letter-spacing: -0.03em; line-height: 1.1; }
.fakten dd { font-size: 13.5px; color: var(--ink-3); }
.seitenkopf--mitte .fakten { justify-content: center; }

/* ---------- Bilder: rechteckig, oeffnen sich wie ein Vorhang ---------- */
.bild { position: relative; overflow: hidden; border-radius: var(--ecke-l); background: var(--grund-3); }
.bild img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.bild--hoch { aspect-ratio: 4 / 5; }
.bild--quer { aspect-ratio: 4 / 3; }
.bild--breit { aspect-ratio: 21 / 9; }
.bild--quadrat { aspect-ratio: 1; }
.bild.vorher { background: transparent; }
.bild.vorher:not(.ist-sichtbar) img { clip-path: inset(100% 0 0 0); transform: scale(1.18); }
.bild.vorher.ist-sichtbar img { transition: clip-path 1.25s var(--ease-weich), transform 1.6s var(--ease); }
.bild figcaption { position: absolute; left: 20px; bottom: 18px; font-size: 13px; color: rgba(255, 255, 255, .85); }

/* ---------- Bild und Text im Wechsel ---------- */
.medien { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(36px, 6vw, 104px); align-items: center; }
.medien--umgekehrt > :first-child { order: 2; }
.medien--halb { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.medien + .medien { margin-top: clamp(88px, 11vw, 168px); }
.medien__text .aussage, .medien__text .text { margin-top: 24px; }

/* ---------- Erzaehlung: Text scrollt, die Software bleibt stehen ---------- */
.erzaehlung { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 104px); }
.erzaehlung__schritt { min-height: 74vh; display: flex; flex-direction: column; justify-content: center; padding-block: 48px; transition: opacity .6s var(--ease); }
.erzaehlung.ist-bereit .erzaehlung__schritt:not(.ist-aktiv) { opacity: .26; }
.erzaehlung__schritt:first-child { min-height: 60vh; }
.erzaehlung__schritt .aussage { margin-top: 22px; }
.erzaehlung__schritt .t-klein { margin-top: 18px; }
.erzaehlung__buehne { position: sticky; top: calc(var(--kopf-hoehe) + 5vh); height: calc(100vh - var(--kopf-hoehe) - 10vh); display: flex; align-items: center; }
.erzaehlung__buehne .buehne { width: 100%; }
.erzaehlung__bilder { position: relative; display: grid; }
.erzaehlung__bilder > figure { grid-area: 1 / 1; position: relative; opacity: 0; transform: translateY(26px) scale(.97); transition: opacity .7s var(--ease), transform .9s var(--ease); }
.erzaehlung__bilder > figure.ist-aktiv { opacity: 1; transform: none; }
.erzaehlung__bilder img, .erzaehlung__mobil img { width: 100%; border-radius: var(--ecke); box-shadow: var(--schatten-hoch); }
.erzaehlung__stand { position: absolute; left: clamp(18px, 3.4vw, 52px); right: clamp(18px, 3.4vw, 52px); bottom: clamp(10px, 1.6vw, 22px); height: 2px; background: var(--feld-rand); border-radius: 2px; }
.erzaehlung__stand i { display: block; height: 100%; background: var(--blau); border-radius: 2px; transform: scaleX(var(--stand, .17)); transform-origin: 0 50%; transition: transform .7s var(--ease); }
.erzaehlung__mobil { display: none; }
/* Bilder aus Partnerportal und Management Portal: Verlauf und Schatten sind im Bild, darum kein Rahmen */
.portalbild img { width: 100%; height: auto; border-radius: var(--ecke-l); box-shadow: 0 0 0 1px var(--linie); }
.portalbild figcaption { margin-top: 14px; font-size: 13px; color: var(--ink-3); }
/* Kopfbild der Portalseiten: das ganze Dashboard ohne Hintergrund, kleine Ecken wie in den Portalen */
.portalbild--ansicht img { border-radius: 5px; box-shadow: 0 0 0 1px var(--linie), var(--schatten-hoch); }
.erzaehlung--portal { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
.erzaehlung--portal .erzaehlung__bilder img { border-radius: var(--ecke-l); box-shadow: 0 0 0 1px var(--linie); }

/* Passwort-Generator ueber dem Software-Bild */
.generator {
  position: absolute; left: 7%; right: 7%; bottom: 8%; padding: 18px 20px; border-radius: var(--ecke);
  background: var(--glas); border: 1px solid var(--glas-rand); box-shadow: var(--schatten-hoch);
  -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%);
}
.generator__ausgabe { font-family: var(--mono); font-size: clamp(15px, 1.45vw, 21px); letter-spacing: .03em; color: var(--ink); white-space: nowrap; overflow: hidden; }
.generator__ausgabe b { font-weight: 400; color: var(--blau-text); }
.generator__staerke { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-top: 12px; }
.generator__staerke i { height: 3px; border-radius: 2px; background: var(--blau); }
.generator__zeile { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; font-size: 12.5px; color: var(--ink-3); }

/* ---------- Zeilen: Titel links, Text rechts ---------- */
.zeilen { border-top: 1px solid var(--linie); }
.zeilen__eintrag { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 12px var(--spalt); align-items: baseline; padding-block: clamp(26px, 3vw, 42px); border-bottom: 1px solid var(--linie); }
.zeilen__eintrag::after { content: ''; position: absolute; left: 0; bottom: -1px; width: 100%; height: 1px; background: var(--blau); transform: scaleX(0); transform-origin: 0 50%; transition: transform .9s var(--ease); }
.zeilen__eintrag:hover::after { transform: scaleX(1); }
.zeilen__eintrag h3 { display: flex; align-items: center; gap: 16px; font-size: clamp(20px, 1.75vw, 27px); font-weight: 440; letter-spacing: -0.02em; line-height: 1.25; transition: transform .5s var(--ease), color .3s; }
.zeilen__eintrag:hover h3 { transform: translateX(8px); color: var(--blau-text); }
.zeilen__eintrag h3 svg { width: 24px; height: 24px; flex: none; color: var(--blau-text); }
.zeilen__eintrag p { color: var(--ink-2); max-width: 62ch; }
.zeilen__eintrag .marke { margin-top: 14px; }
.marke { display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px; border-radius: var(--ecke-s); background: var(--blau-zart); color: var(--blau-text); font-size: 12.5px; font-weight: 560; }
.marke::before { content: ''; width: 6px; height: 6px; border-radius: 1px; background: currentColor; animation: blinken 1.6s steps(2, jump-none) infinite; }

/* ---------- Kacheln mit Licht, das dem Zeiger folgt ---------- */
.kacheln { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--spalt); }
.kacheln--zwei { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kacheln--vier { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kachel {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 12px;
  padding: clamp(24px, 2.6vw, 38px); border-radius: var(--ecke-l); border: 1px solid var(--linie); background: var(--karte);
  transition: border-color .4s, transform .6s var(--ease), box-shadow .6s var(--ease);
}
.kachel::before, .preis::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(460px circle at var(--mx, 50%) var(--my, -20%), var(--blau-zart), transparent 62%); opacity: 0; transition: opacity .5s; }
.kachel:hover::before, .preis:hover::before { opacity: 1; }
.kachel:hover { border-color: var(--feld-rand); transform: translateY(-4px); box-shadow: var(--schatten-hoch); }
.kachel__zeichen { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 14px; border-radius: var(--ecke); background: var(--blau-zart); color: var(--blau-text); transition: background-color .4s, color .4s; }
.kachel:hover .kachel__zeichen { background: var(--blau); color: #fff; }
.kachel__zeichen svg { width: 24px; height: 24px; }
.kachel h3 { font-size: clamp(19px, 1.45vw, 22px); font-weight: 520; letter-spacing: -0.014em; line-height: 1.3; }
.kachel p { color: var(--ink-2); font-size: 16px; }
.kachel__bild { margin: calc(-1 * clamp(24px, 2.6vw, 38px)) calc(-1 * clamp(24px, 2.6vw, 38px)) 14px; aspect-ratio: 4 / 3; overflow: hidden; background: #000; }
.kachel__bild img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.kachel:hover .kachel__bild img { transform: scale(1.05); }
/* Kompakte Reihe (Partnerseite, „Worauf Sie als Partner zählen können“): vier schmale Karten in einer
   Reihe statt 2 x 2 grosser. Bild und Abstaende kleiner, das Aufleuchten beim Darueberfahren bleibt. */
.kacheln--kompakt { gap: clamp(14px, 1.4vw, 22px); }
.kacheln--kompakt .kachel { padding: clamp(20px, 1.8vw, 28px); gap: 10px; }
.kacheln--kompakt .kachel__bild { margin: calc(-1 * clamp(20px, 1.8vw, 28px)) calc(-1 * clamp(20px, 1.8vw, 28px)) 8px; }
.kacheln--kompakt .kachel h3 { font-size: clamp(17px, 1.25vw, 19px); }
.kacheln--kompakt .kachel p { font-size: 15px; line-height: 1.6; }
.kachel__mehr { margin-top: auto; padding-top: 12px; }
a.kachel .kachel__mehr svg { transition: transform .4s var(--ease); }
a.kachel:hover .kachel__mehr svg { transform: translate(3px, -3px); }
.kachel--verlauf { background: var(--verlauf); color: #fff; border-color: transparent; }
.kachel--verlauf p { color: rgba(255, 255, 255, .78); }
.kachel--verlauf .kachel__zeichen { background: rgba(255, 255, 255, .1); color: #fff; }

/* ---------- Umschalter (Privat / Business, Cloud / On-Premise) ---------- */
.umschalter { position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 4px; border-radius: var(--ecke); background: var(--grund-2); border: 1px solid var(--linie); }
.umschalter button { position: relative; z-index: 1; min-height: 46px; padding: 0 24px; border: 0; border-radius: var(--ecke-s); background: none; font-size: 15px; font-weight: 540; color: var(--ink-2); white-space: nowrap; transition: color .35s; }
.umschalter button:hover { color: var(--ink); }
.umschalter button[aria-pressed='true'] { color: var(--grund); }
.umschalter__schieber { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / var(--anzahl, 2)); border-radius: var(--ecke-s); background: var(--ink); transform: translateX(calc(var(--stand-i, 0) * 100%)); transition: transform .55s var(--ease-weich); }
.wahl__felder > [data-wahl-feld].ist-neu, [data-variante].ist-neu { animation: feld-rein .7s var(--ease) backwards; }
@keyframes feld-rein { from { opacity: 0; transform: translateY(16px); } }

/* ---------- Preise ---------- */
.preisbereich__kopf { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-bottom: clamp(36px, 4vw, 56px); text-align: center; }
.preise { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--spalt); align-items: stretch; }
.preise.ist-neu > .preis { animation: feld-rein .7s var(--ease) backwards; animation-delay: var(--v, 0s); }
.preis {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column;
  padding: clamp(26px, 2.8vw, 42px); border-radius: var(--ecke-l); border: 1px solid var(--linie); background: var(--karte);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s, outline-color .4s;
  outline: 2px solid transparent; outline-offset: 5px;
}
.preis:hover { transform: translateY(-6px); box-shadow: var(--schatten-hoch); border-color: var(--feld-rand); }
.preis__kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 26px; font-size: 13.5px; color: var(--ink-3); }
.preis__marke { padding: 4px 10px; border-radius: var(--ecke-s); background: var(--blau-zart); color: var(--blau-text); font-size: 12.5px; font-weight: 600; }
.preis__name { margin-top: 30px; font-size: clamp(27px, 2.4vw, 38px); font-weight: 400; letter-spacing: -0.028em; line-height: 1.08; }
.preis__satz { margin-top: 10px; color: var(--ink-2); font-size: 15.5px; min-height: 3.1em; }
.preis__betrag { display: flex; align-items: baseline; gap: 6px; margin-top: 26px; padding-block: 22px; border-block: 1px solid var(--linie); font-size: clamp(23px, 1.9vw, 29px); font-weight: 380; letter-spacing: -0.022em; }
.preis__betrag span { font-size: 14.5px; letter-spacing: 0; color: var(--ink-3); }
.preis .haken { flex-direction: column; flex-wrap: nowrap; gap: 12px; margin-block: 26px 34px; }
.preis .haken li { align-items: flex-start; font-size: 15.5px; color: var(--ink-2); }
.preis .haken li::before { margin-top: 4px; background: var(--blau); }
.preis > .knopf { margin-top: auto; }
.preis--hervor { background: var(--verlauf); color: #fff; border-color: transparent; }
.preis--hervor::before { background: radial-gradient(460px circle at var(--mx, 50%) var(--my, -20%), rgba(30, 155, 255, .22), transparent 62%); }
.preis--hervor::after { content: ''; position: absolute; left: 0; top: 0; width: 40%; height: 1px; background: linear-gradient(90deg, transparent, #1e9bff, transparent); animation: kante 5s var(--ease) infinite; }
@keyframes kante { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
.preis--hervor .preis__kopf, .preis--hervor .preis__satz, .preis--hervor .preis__betrag span, .preis--hervor .haken li { color: rgba(255, 255, 255, .78); }
.preis--hervor .preis__marke { background: #1e9bff; color: #000; }
.preis--hervor .preis__betrag { border-color: rgba(255, 255, 255, .16); }
.preis--hervor .haken li::before { background: #1e9bff; }
.preis.ist-empfohlen { outline-color: var(--blau); }
.preis__empfohlen { display: none; }
.preis.ist-empfohlen .preis__empfohlen { display: inline-flex; }
.preise__fuss { margin-top: 28px; text-align: center; }

/* Planfinder */
.planfinder { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--spalt); align-items: stretch; }
.planfinder__fragen { display: flex; flex-direction: column; gap: 34px; margin: 0; padding: clamp(26px, 3.2vw, 48px); border-radius: var(--ecke-l); border: 1px solid var(--linie); background: var(--karte); }
.frage { margin: 0; padding: 0; border: 0; min-width: 0; }
.frage legend, .frage__titel { display: block; padding: 0; margin-bottom: 16px; font-size: 17px; font-weight: 560; letter-spacing: -0.01em; }
.frage.ist-neu { animation: feld-rein .55s var(--ease) both; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: var(--ecke-s); border: 1px solid var(--linie-2); font-size: 15px; font-weight: 480; color: var(--ink-2); transition: background-color .3s, color .3s, border-color .3s, transform .2s var(--ease); pointer-events: none; }
.chip:hover span { border-color: var(--ink); color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--grund); }
.chip input:checked + span::before { content: ''; width: 14px; height: 14px; background: var(--blau); -webkit-mask: url('/assets/img/haken.svg?v=dc8fbde2c3') center / contain no-repeat; mask: url('/assets/img/haken.svg?v=dc8fbde2c3') center / contain no-repeat; }
.chip input:focus-visible + span { outline: 2px solid var(--blau); outline-offset: 3px; }
.chip input:active + span { transform: scale(.97); }
.regler { display: grid; gap: 14px; }
.regler__wert { font-size: clamp(34px, 3vw, 46px); font-weight: 340; letter-spacing: -0.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.regler__wert small { margin-left: 8px; font-size: 15px; letter-spacing: 0; color: var(--ink-3); }
.regler input[type='range'] { width: 100%; accent-color: var(--blau); height: 28px; cursor: pointer; }
.regler__skala { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--ink-3); }
.planfinder__ergebnis { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 18px; padding: clamp(26px, 3.2vw, 48px); border-radius: var(--ecke-l); background: var(--verlauf); color: #fff; }
.planfinder__ergebnis .lichtlinien { position: absolute; inset: 0; z-index: -1; opacity: .5; }
.planfinder__hinweis { font-size: 14px; color: rgba(255, 255, 255, .7); }
.planfinder__plan { font-size: clamp(38px, 3.8vw, 60px); font-weight: 360; letter-spacing: -0.035em; line-height: 1.02; }
.planfinder__grund { color: rgba(255, 255, 255, .82); font-size: 16.5px; max-width: 40ch; }
.planfinder__ergebnis .haken { flex-direction: column; flex-wrap: nowrap; gap: 10px; }
.planfinder__ergebnis .haken li::before { background: #1e9bff; }
.planfinder__ergebnis .knopfreihe { margin-top: auto; padding-top: 12px; }

/* Vergleichstabelle: scrollt nur seitlich, nie in sich selbst nach unten */
.vergleich { overflow-x: auto; overflow-y: visible; overscroll-behavior-x: contain; border-radius: var(--ecke-l); border: 1px solid var(--linie); background: var(--karte); }
.vergleich table { width: 100%; min-width: 980px; border-collapse: collapse; font-size: 15px; }
.vergleich th, .vergleich td { padding: 15px 16px; border-bottom: 1px solid var(--linie); text-align: center; vertical-align: middle; }
.vergleich thead th { padding-block: 26px 22px; font-size: 16px; font-weight: 560; letter-spacing: -0.01em; vertical-align: bottom; }
.vergleich thead th small { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 420; color: var(--ink-3); }
.vergleich__plan { display: block; width: max-content; margin-top: 6px; font-size: 12.5px; font-weight: 500; color: var(--blau-link); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .3s var(--ease); }
.vergleich__plan:hover { background-size: 100% 1px; }
.vergleich th[scope='row'], .vergleich thead th:first-child { position: sticky; left: 0; z-index: 1; min-width: 270px; text-align: left; font-weight: 460; background: var(--karte); }
.vergleich .gruppe th { padding-top: 34px; font-size: 13px; font-weight: 600; color: var(--blau-text); text-align: left; }
.vergleich .erklaer { display: block; margin-top: 3px; font-size: 13px; font-weight: 400; color: var(--ink-3); }
.vergleich svg.ja { width: 20px; height: 20px; margin-inline: auto; color: var(--blau-text); }
.vergleich svg.nein { width: 15px; height: 15px; margin-inline: auto; color: var(--ink-3); opacity: .55; }
.vergleich .wert { font-weight: 520; font-variant-numeric: tabular-nums; }
.vergleich tbody tr:not(.gruppe) { transition: background-color .2s; }
.vergleich tbody tr:not(.gruppe):hover, .vergleich tbody tr:not(.gruppe):hover th { background: var(--grund-2); }
.vergleich tbody tr:last-child > * { border-bottom: 0; }
.vergleich__wischen { display: none; margin-bottom: 12px; font-size: 13px; color: var(--ink-3); }

/* ---------- Formulare: Schritt fuer Schritt ---------- */
.formkarte { position: relative; padding: clamp(24px, 3.4vw, 52px); border-radius: var(--ecke-l); border: 1px solid var(--linie); background: var(--karte); box-shadow: var(--schatten); }
.formular { display: flex; flex-direction: column; gap: 24px; }
.formular fieldset.schritt { display: flex; flex-direction: column; gap: 22px; min-width: 0; margin: 0; padding: 0; border: 0; }
.schritt__titel { display: block; padding: 0; font-size: clamp(22px, 2vw, 30px); font-weight: 420; letter-spacing: -0.022em; line-height: 1.2; }
.schritt__titel:focus { outline: none; }
.schritt__satz { margin-top: -8px; font-size: 15.5px; color: var(--ink-2); }
.mit-schritten .schritt.ist-aktiv { animation: schritt-vor .55s var(--ease) both; }
.mit-schritten .schritt.ist-aktiv.zurueck { animation-name: schritt-zurueck; }
@keyframes schritt-vor { from { opacity: 0; transform: translateX(32px); } }
@keyframes schritt-zurueck { from { opacity: 0; transform: translateX(-32px); } }
.schritte { display: none; }
.mit-schritten .schritte { display: block; }
.schritte ol { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; }
.schritte li { position: relative; padding-top: 14px; font-size: 13px; font-weight: 540; color: var(--ink-3); transition: color .4s; }
.schritte li::before, .schritte li::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; border-radius: 2px; background: var(--linie); }
.schritte li::after { background: var(--blau); transform: scaleX(0); transform-origin: 0 50%; transition: transform .7s var(--ease-weich); }
.schritte li.ist-aktiv, .schritte li.ist-fertig { color: var(--ink); }
.schritte li.ist-aktiv::after, .schritte li.ist-fertig::after { transform: scaleX(1); }
.formular__gruppe { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px var(--spalt); }
.feld { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.feld label { font-size: 14px; font-weight: 540; color: var(--ink-2); }
.pflicht { margin-left: 2px; color: var(--blau-text); }
.feld input:not([type='checkbox']):not([type='radio']), .feld textarea, .feld select {
  width: 100%; min-height: 54px; padding: 14px 16px; border-radius: var(--ecke-s); border: 1px solid var(--linie-2);
  background: var(--grund); font-size: 16px; transition: border-color .25s, box-shadow .25s;
}
.feld textarea { min-height: 156px; resize: vertical; line-height: 1.55; }
.feld input:hover, .feld textarea:hover { border-color: var(--ink-3); }
.feld input:focus, .feld textarea:focus, .feld select:focus { outline: none; border-color: var(--blau); box-shadow: 0 0 0 4px var(--blau-zart); }
.feld input::placeholder, .feld textarea::placeholder { color: var(--ink-3); opacity: .75; }
.feld [aria-invalid='true'] { border-color: var(--fehler) !important; }
.feld__fehler { font-size: 13.5px; color: var(--fehler); }
.feld__fehler:empty { display: none; }
.feld.einwilligung { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 4px 14px; }
.einwilligung input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--blau); cursor: pointer; }
.einwilligung label { font-size: 14.5px; font-weight: 400; line-height: 1.55; color: var(--ink-2); }
.einwilligung label a { color: var(--blau-link); text-decoration: underline; text-underline-offset: .2em; }
.einwilligung .feld__fehler { grid-column: 2; }
.vorschlaege { display: flex; flex-wrap: wrap; gap: 6px; }
.vorschlag { min-height: 34px; padding: 0 12px; border-radius: var(--ecke-s); border: 1px solid var(--linie-2); background: none; font-size: 13.5px; color: var(--ink-2); transition: border-color .25s, color .25s, background-color .25s; }
.vorschlag:hover { border-color: var(--blau); color: var(--blau-text); }
.vorschlag[aria-pressed='true'] { border-color: var(--blau); background: var(--blau-zart); color: var(--blau-text); }
.formular__hinweis { font-size: 13.5px; line-height: 1.55; color: var(--ink-3); }
.formular__hinweis a { color: var(--blau-link); text-decoration: underline; text-underline-offset: .2em; }
.formular__nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 6px; }
.formular__nav .knopf--zurueck { padding-inline: 14px; }
.formular__nav .knopf--zurueck svg { transform: none !important; animation: none !important; }
.formular__stand { font-size: 13px; color: var(--ink-3); }
.formular__status { font-size: 15px; line-height: 1.55; }
.formular__status:empty { display: none; }
.formular__status:focus { outline: none; }
.formular__status.fehler { padding: 16px 18px; border-radius: var(--ecke); border: 1px solid var(--fehler); color: var(--ink); }
.formular__status.fehler a, .formular__status.ok a { color: var(--blau-link); text-decoration: underline; }
.formular__status.ok { display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 3vw, 40px); border-radius: var(--ecke); background: var(--blau-zart); border: 1px solid var(--feld-rand); font-size: 17px; color: var(--ink); animation: feld-rein .7s var(--ease) both; }
.formular__status.ok::before { content: ''; width: 34px; height: 34px; background: var(--blau); -webkit-mask: url('/assets/img/haken.svg?v=dc8fbde2c3') center / contain no-repeat; mask: url('/assets/img/haken.svg?v=dc8fbde2c3') center / contain no-repeat; }
.formular.ist-fertig > :not(.formular__status) { display: none !important; }
/* Lockfeld fuer Bots: ganz ausgeblendet, damit auch Browser und Passwortmanager es nie ausfuellen */
.topf { display: none !important; }

/* ---------- Kontaktwege ---------- */
.kontaktwege { display: grid; gap: 12px; }
.kontaktweg { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; border-radius: var(--ecke); border: 1px solid var(--linie); background: var(--karte); transition: border-color .3s, transform .5s var(--ease), box-shadow .5s var(--ease); }
.kontaktweg:hover { border-color: var(--feld-rand); transform: translateX(4px); box-shadow: var(--schatten); }
.kontaktweg small { display: block; margin-bottom: 2px; font-size: 13px; color: var(--ink-3); }
.kontaktweg a { font-size: 17px; font-weight: 520; color: var(--ink); transition: color .2s; }
.kontaktweg a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.kontaktweg:hover a, .kontaktweg a:focus-visible { color: var(--blau-link); }
.kontaktweg a:focus-visible { outline: none; }
.kontaktweg:has(a:focus-visible) { outline: 2px solid var(--blau); outline-offset: 3px; }
.kontaktweg > svg { width: 24px; height: 24px; flex: none; color: var(--blau-text); }

/* ---------- Vorfuehrungen in den Kopfbereichen ---------- */
.vorfuehrung { position: relative; padding: clamp(22px, 2.8vw, 40px); border-radius: var(--ecke-l); background: var(--feld); border: 1px solid var(--feld-rand); overflow: hidden; }
.vorfuehrung__kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13.5px; font-weight: 560; color: var(--ink-2); }
.vorfuehrung__kopf span:last-child { font-weight: 420; color: var(--ink-3); }
.vorfuehrung__fuss { margin-top: 18px; font-size: 13px; color: var(--ink-3); }

/* Verschluesselungsstrecke */
.strecke { display: grid; gap: 14px; margin-top: 22px; }
.strecke__station { position: relative; padding: 18px 20px; border-radius: var(--ecke); background: var(--karte); border: 1px solid var(--linie); box-shadow: var(--schatten); }
.strecke__station small { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; font-weight: 560; color: var(--ink-3); }
.strecke__wert { margin-top: 8px; font-family: var(--mono); font-size: clamp(14.5px, 1.25vw, 17px); line-height: 1.5; color: var(--ink); word-break: break-all; min-height: 1.5em; }
.strecke__wert--lang { min-height: 3em; }
.strecke__wert .neu { color: var(--blau-text); }
.strecke__weg { position: relative; height: 34px; margin-left: 32px; width: 2px; background: var(--feld-rand); }
.strecke__weg::after { content: ''; position: absolute; left: -1px; top: 0; width: 4px; height: 12px; border-radius: 2px; background: var(--blau); animation: strecke-lauf 1.6s var(--ease) infinite; animation-delay: var(--v, 0s); }
@keyframes strecke-lauf { 0% { transform: translateY(-12px); opacity: 0; } 25% { opacity: 1; } 100% { transform: translateY(34px); opacity: 0; } }
.strecke__schluessel { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: var(--ecke); background: var(--ink); color: var(--grund); font-size: 14px; font-weight: 520; }
.strecke__schluessel svg { width: 20px; height: 20px; color: var(--blau); flex: none; }
.strecke__schluessel span:last-child { margin-left: auto; font-family: var(--mono); font-size: 12.5px; font-weight: 400; opacity: .7; }

/* ---------- Grafiken im Kopfbereich (Marcels "Schema-Grafiken") ----------
   Quadratische Karte, je eine Zeichnung fuer Hell und Dunkel. */
.schema { display: grid; place-items: center; aspect-ratio: 1; padding: clamp(12px, 3vw, 32px); border: 1px solid #dce3ee; background: linear-gradient(180deg, #ffffff 0%, #f2f6fd 100%); }
[data-thema='dunkel'] .schema { border-color: #1c2230; background: radial-gradient(120% 90% at 50% 0%, #00113d 0%, #000 65%); }
.schema__bild { width: 100%; height: auto; aspect-ratio: 600 / 560; }
.schema text { font-family: var(--schrift); }
.schema-code { transition: opacity .5s; }
.schema-code.ist-neu { opacity: 0; transition: none; }

/* Breite Grafik ohne Kasten, je eine Zeichnung fuer Hell und Dunkel (z. B. Haushalt).
   Das Seitenverhaeltnis steht fest, damit die Zeichnung immer die volle Breite fuellt. */
.zeichnung { margin-top: clamp(40px, 5vw, 72px); }
.zeichnung__bild { width: 100%; height: auto; aspect-ratio: 1200 / 630; }
.zeichnung text { font-family: var(--schrift); }

/* Abschnitt nur mit Titel und Text, ohne Bild */
.textblock { max-width: 1000px; }
.textblock .aussage { margin-top: 24px; max-width: 66ch; }

/* Freigestelltes Bild ohne Hintergrund (z. B. FidenoOTP-Mockup) */
.freigestellt img { width: 100%; height: auto; }

/* ---------- Deutschland: Europa aus Lichtpunkten (Marcels Vorlage, Ueber uns) ---------- */
.deutschland { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: min(100svh, 980px); color: #fff; background: radial-gradient(90% 80% at 68% 50%, #00134a 0%, #000820 45%, #000 80%); }
.deutschland__karte { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s var(--ease); }
.deutschland__karte.ist-bereit { opacity: 1; }
.deutschland::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(0, 0, 0, .85) 0%, rgba(0, 0, 0, .45) 38%, rgba(0, 0, 0, 0) 60%); }
.deutschland__inhalt { padding-block: clamp(96px, 12vw, 160px); pointer-events: none; }
.deutschland__text { max-width: 600px; }
.deutschland .titel { color: #fff; }
.deutschland .blau { color: var(--blau); }
.deutschland .aussage { margin-top: 32px; max-width: 52ch; color: #b7c0cf; }

/* ---------- Grosse Aussage ---------- */
.aussageblock { max-width: 1120px; }
.aussageblock .lesen { max-width: none; font-size: clamp(28px, 3.4vw, 54px); line-height: 1.18; letter-spacing: -0.03em; }
.aussageblock__fuss { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 44px; }

/* ---------- Grundsaetze mit gezeichneter Linie ---------- */
.grundsaetze { position: relative; display: grid; gap: 0; padding-left: 40px; }
.grundsaetze::before { content: ''; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: var(--linie); }
.grundsaetze::after { content: ''; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: var(--blau); transform: scaleY(var(--zug, 0)); transform-origin: 50% 0; }
.grundsaetze:not(.mit-zug)::after { transform: scaleY(1); }
.grundsatz { position: relative; padding-block: 0 clamp(36px, 4vw, 56px); }
.grundsatz:last-child { padding-bottom: 0; }
.grundsatz::before { content: ''; position: absolute; left: -40px; top: 8px; width: 14px; height: 14px; border-radius: 3px; background: var(--grund); border: 2px solid var(--linie-2); transition: background-color .4s, border-color .4s; }
.grundsatz.ist-erreicht::before, .grundsaetze:not(.mit-zug) .grundsatz::before { background: var(--blau); border-color: var(--blau); }
.grundsatz h3 { font-size: clamp(20px, 1.7vw, 26px); font-weight: 460; letter-spacing: -0.018em; line-height: 1.25; }
.grundsatz p { margin-top: 10px; color: var(--ink-2); max-width: 60ch; }

/* ---------- Gegenueberstellung (z. B. Transport gegen Ende-zu-Ende) ---------- */
.gegenueber { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--spalt); }
.gegenueber__seite { position: relative; padding: clamp(24px, 3vw, 44px); border-radius: var(--ecke-l); border: 1px solid var(--linie); background: var(--karte); }
.gegenueber__seite--gut { background: var(--feld); border-color: var(--feld-rand); }
.gegenueber__seite h3 { font-size: clamp(20px, 1.7vw, 26px); font-weight: 460; letter-spacing: -0.018em; }
.gegenueber__seite > p { margin-top: 10px; color: var(--ink-2); }
.kette { display: grid; gap: 6px; margin-top: 28px; }
.kette li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 13px 16px; border-radius: var(--ecke-s); background: var(--grund); border: 1px solid var(--linie); font-size: 14.5px; }
.kette li span:last-child { font-family: var(--mono); font-size: 13px; color: var(--ink-3); }
.kette li.offen span:last-child { color: var(--fehler); }
.kette li.zu span:last-child { color: var(--blau-text); }

/* ---------- Rechtstexte und Systemseiten ---------- */
.recht { max-width: 78ch; }
.recht h2 { margin-top: 2.2em; font-size: clamp(22px, 1.9vw, 28px); font-weight: 480; letter-spacing: -0.018em; line-height: 1.25; }
.recht h3 { margin-top: 1.8em; font-size: 18px; font-weight: 600; }
.recht p, .recht ul, .recht ol { margin-top: .9em; color: var(--ink-2); }
.recht ul { padding-left: 1.2em; list-style: disc; }
.recht ol { padding-left: 1.4em; list-style: decimal; }
.recht li + li { margin-top: .35em; }
.recht strong { color: var(--ink); font-weight: 600; }
.recht table { width: 100%; margin-top: 1em; border-collapse: collapse; font-size: 15px; }
.recht th, .recht td { padding: 10px 12px; border-bottom: 1px solid var(--linie); text-align: left; vertical-align: top; }
.recht__stand { font-size: 13.5px; color: var(--ink-3); }
.recht__inhalt { margin-top: 2em; padding: 24px 28px; border-radius: var(--ecke-l); border: 1px solid var(--linie); background: var(--grund-2); backdrop-filter: none; }
.recht__inhalt ol { margin-top: 10px; padding-left: 0; list-style: none; columns: 2 280px; column-gap: 32px; }
.recht__inhalt li { break-inside: avoid; }
.recht__inhalt a { display: inline-block; padding-block: 4px; color: var(--ink-2); text-decoration: none; font-size: 14.5px; transition: color .2s; }
.recht__inhalt a:hover { color: var(--blau-link); }
.recht h2[id], .recht h3[id] { scroll-margin-top: calc(var(--kopf-hoehe) + 24px); }
.formular__nav .ist-weg { visibility: hidden; }
.planfinder__ergebnis.ist-neu .planfinder__grund, .planfinder__ergebnis.ist-neu .haken { animation: feld-rein .6s var(--ease) both; }
.planfinder__ergebnis.ist-neu .haken { animation-delay: .08s; }
.kachel--verlauf .textlink, .kachel--verlauf h3 { color: #fff; }

.aussageblock .titel + .lesen { margin-top: clamp(32px, 4vw, 56px); }

/* App-Laeden */
.herunterladen { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.herunterladen a { display: inline-flex; align-items: center; gap: 22px; min-height: 64px; padding: 0 22px; border-radius: var(--ecke); background: var(--ink); color: var(--grund); transition: transform .5s var(--ease), background-color .3s, color .3s; }
.herunterladen a:hover { transform: translateY(-3px); background: var(--blau); color: #fff; }
.herunterladen span { font-size: 18px; font-weight: 560; letter-spacing: -0.01em; line-height: 1.2; }
.herunterladen small { display: block; font-size: 12.5px; font-weight: 420; opacity: .7; }
.herunterladen svg { width: 18px; height: 18px; flex: none; }
.herunterladen .herunterladen__marke { width: 26px; height: 26px; margin-right: -8px; }
.haken--liste { flex-direction: column; flex-wrap: nowrap; gap: 12px; margin-top: 30px; }
.haken--liste li { color: var(--ink-2); }
.haken--liste li::before { background: var(--blau); }

/* Betriebsformen */
.wahl .kopfblock { align-items: end; }
.wahl__kopf { justify-self: end; }
.wahl__felder { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--spalt); }
.wahl.ist-umschaltbar .wahl__felder { grid-template-columns: minmax(0, 1fr); }
.betrieb { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px clamp(32px, 5vw, 80px); align-items: center; padding: clamp(28px, 4vw, 64px); border-radius: var(--ecke-l); border: 1px solid var(--feld-rand); background: var(--feld); }
.wahl.ist-umschaltbar .betrieb { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); min-height: 380px; }
.betrieb .titel--k { margin-top: 4px; }
.betrieb .aussage { margin-top: 16px; }
.betrieb .haken--liste { margin-top: 0; }
.betrieb .haken--liste li { padding: 16px 0; border-bottom: 1px solid var(--feld-rand); font-size: 16px; color: var(--ink); }
.betrieb .haken--liste li:first-child { border-top: 1px solid var(--feld-rand); }
.betrieb--eigen { background: var(--verlauf); border-color: transparent; color: #fff; }
.betrieb--eigen .aussage { color: rgba(255, 255, 255, .8); }
.betrieb--eigen .kachel__zeichen { background: rgba(255, 255, 255, .1); color: #fff; }
.betrieb--eigen .haken--liste li { color: #fff; border-color: rgba(255, 255, 255, .16) !important; }
.betrieb--eigen .haken--liste li::before { background: #1e9bff; }
.kette li.gesperrt { background: var(--ink); border-color: var(--ink); color: var(--grund); }
.kette li.gesperrt span:last-child { color: var(--blau); }
.gegenueber__seite > h3 + .kette { margin-top: 22px; }
.grundsatz__links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.grundsatz p + p { margin-top: 12px; }
.medien--halb > .kopfblock { margin-bottom: 0; align-self: start; }
.hinweiszeile { margin-top: 32px; }

/* Wo der Schluessel liegt */
.schluesselort { display: grid; gap: 10px; }
.schluesselort li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 16px; padding: 22px 26px; border-radius: var(--ecke-l); border: 1px solid var(--linie); background: var(--karte); }
.schluesselort li:first-child { background: var(--feld); border-color: var(--feld-rand); }
.schluesselort strong { font-size: clamp(18px, 1.4vw, 21px); font-weight: 520; letter-spacing: -0.012em; }
.schluesselort em { padding: 4px 10px; border-radius: var(--ecke-s); background: var(--grund-3); color: var(--ink-3); font-size: 12.5px; font-style: normal; font-weight: 600; white-space: nowrap; }
.schluesselort em.ja { background: var(--ink); color: var(--grund); }
.schluesselort p { grid-column: 1 / -1; color: var(--ink-2); font-size: 15.5px; }
.lesen--abstand { margin-top: clamp(56px, 7vw, 104px); }
.medien--oben { align-items: start; }
.klebend { position: sticky; top: calc(var(--kopf-hoehe) + 48px); }
.aussageblock--mitte { margin-inline: auto; text-align: center; }
.aussageblock--mitte .knopfreihe { justify-content: center; }
.seitenkopf__bild { margin-top: clamp(56px, 7vw, 104px); }
.bild__zug { position: absolute; inset: -9% 0; transform: translateY(var(--parallaxe, 0)); will-change: transform; }
.bild__zug img { height: 100%; }
.bild--breit .bild__zug img { object-position: 50% 42%; }
.kachel--gross { min-height: clamp(280px, 26vw, 380px); padding: clamp(28px, 3.4vw, 52px); }
.kachel--gross h3 { font-size: clamp(22px, 2vw, 30px); font-weight: 440; letter-spacing: -0.022em; }
.seitenkopf--kurz { padding-bottom: clamp(48px, 6vw, 88px); }
.planfinder__ohne { grid-column: 1 / -1; }
.preis__kopf { flex-wrap: wrap; }
.preis__kopf > span:first-child { margin-right: auto; }
.lichtlinien canvas { width: 100%; height: 100%; }
.seitenkopf__raster--oben { align-items: start; }
.seitenkopf__zusatz { margin-top: 20px; }
.abstand-oben { margin-top: 36px; }
.bild--auftritt { animation: vorhang 1.3s var(--ease-weich) .15s both; }
.bild--auftritt img { animation: bild-zoom 1.8s var(--ease) .15s both; }
@keyframes vorhang { from { clip-path: inset(100% 0 0 0 round var(--ecke-l)); } to { clip-path: inset(0 0 0 0 round var(--ecke-l)); } }
@keyframes bild-zoom { from { transform: scale(1.18); } }
.kachel__bild--hell { display: grid; place-items: center; padding: 14%; background: #fff; border-bottom: 1px solid var(--linie); }
.kachel__bild--hell img, .kachel__bild--dunkel img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.kachel__bild--dunkel { display: grid; place-items: center; padding: 22%; background: #000; }
.kachel__bild--portraet img { object-position: 50% 22%; }
.seitenkopf--recht { padding-top: calc(var(--kopf-hoehe) + clamp(40px, 5vw, 80px)); }
.seitenkopf--system { min-height: min(86svh, 860px); display: flex; align-items: center; }
.seitenkopf--system .rahmen { width: 100%; }
.systemwege { display: flex; flex-wrap: wrap; gap: 14px 32px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--linie); }
.systemzahl { margin-bottom: 18px; font-size: clamp(64px, 11vw, 168px); font-weight: 300; line-height: 1; letter-spacing: -0.04em; color: var(--blau-text); }
.systemhaken { display: block; width: 56px; height: 56px; margin-bottom: 28px; background: var(--blau); -webkit-mask: url('/assets/img/haken.svg?v=dc8fbde2c3') center / contain no-repeat; mask: url('/assets/img/haken.svg?v=dc8fbde2c3') center / contain no-repeat; animation: feld-rein .8s var(--ease) both; }
.kachel .haken--liste { margin-top: 6px; }
.kachel .haken--liste li { font-size: 15.5px; align-items: flex-start; }
.kachel .haken--liste li::before { margin-top: 4px; }

/* Lange Woerter: keine Silbentrennung (Marcel will keine getrennten Woerter), nur als Notbremse umbrechen */
.display, .titel, .preis__name, .planfinder__plan, .kachel h3, .zeilen__eintrag h3 { overflow-wrap: break-word; -webkit-hyphens: manual; hyphens: manual; }

/* ==========================================================================
   Bildschirmgroessen
   ========================================================================== */
@media (max-width: 1280px) {
  .kacheln--vier:not(.kacheln--kompakt) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav__link { padding: 0 10px; }
  .ausklapp__raster { gap: 28px; }
  .held__kugel { right: max(-14vw, -180px); width: min(66vw, 820px); }
}

@media (max-width: 1120px) {
  .kacheln--kompakt { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav, .kopf__anmelden { display: none; }
  .kopf__menue { display: block; }
  .kopf__aktionen { margin-left: 0; }

  .held { min-height: auto; padding-bottom: 40px; }
  .held__raster { order: 1; }
  .held__kugel { order: 2; position: relative; top: auto; right: auto; transform: none; width: min(100%, 680px); margin: 8px auto 0; }
  .held__fuss { order: 3; padding-top: 32px; }

  .seitenkopf__raster { grid-template-columns: minmax(0, 1fr); }
  .seitenkopf__buehne, .seitenkopf__raster > .formkarte, .seitenkopf__raster > .bild { width: 100%; max-width: 760px; }

  .erzaehlung { grid-template-columns: minmax(0, 1fr); }
  .erzaehlung__buehne { display: none; }
  .erzaehlung__mobil { display: block; margin-top: 28px; }
  .erzaehlung__schritt, .erzaehlung__schritt:first-child { min-height: 0; padding-block: 0; }
  .erzaehlung__schritt + .erzaehlung__schritt { margin-top: clamp(64px, 9vw, 96px); }
  .erzaehlung.ist-bereit .erzaehlung__schritt:not(.ist-aktiv) { opacity: 1; }

  .reiter { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 960px) {
  .kopfblock { grid-template-columns: minmax(0, 1fr); }
  .kopfblock > .aussage, .kopfblock > div { justify-self: start; }
  .wahl__kopf { justify-self: start; }

  .medien, .medien--halb { grid-template-columns: minmax(0, 1fr); }
  .medien--umgekehrt > :first-child { order: 0; }
  .klebend { position: static; }

  .geheim { grid-template-columns: minmax(0, 1fr); }
  .geheim__weg { width: 2px; height: 64px; margin: 20px 0 20px 32px; }
  .geheim__weg::before { width: 100%; height: 40%; background: linear-gradient(180deg, transparent, var(--blau)); animation-name: weg-puls-senk; }
  @keyframes weg-puls-senk { 0% { transform: translateY(-100%); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(260%); opacity: 0; } }

  .zahlen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .drei, .drei--vier { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kacheln { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gegenueber { grid-template-columns: minmax(0, 1fr); }
  .zeilen__eintrag { grid-template-columns: minmax(0, 1fr); }
  .wahl.ist-umschaltbar .betrieb { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .wahl__felder { grid-template-columns: minmax(0, 1fr); }

  .preise { grid-template-columns: minmax(0, 1fr); max-width: 620px; margin-inline: auto; }
  .planfinder { grid-template-columns: minmax(0, 1fr); }
  .vergleich__wischen { display: block; }

  .faq-raster { grid-template-columns: minmax(0, 1fr); }
  .faq-raster__kopf { position: static; }
  .abschluss__raster { grid-template-columns: minmax(0, 1fr); align-items: start; }

  .fuss__oben { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 860px) {
  .faecher { height: auto; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--rand)); padding: 0 var(--rand) 4px; scrollbar-width: none; }
  .faecher::-webkit-scrollbar { display: none; }
  .faecher__teil, .faecher__teil.ist-aktiv { flex: 0 0 min(80%, 420px); height: clamp(420px, 110vw, 540px); scroll-snap-align: center; }
  .faecher__teil img { opacity: 1; transform: none; }
  .faecher__teil:not(.ist-aktiv) .faecher__text strong { writing-mode: horizontal-tb; transform: none; font-size: clamp(20px, 5vw, 26px); }
  .faecher__text strong, .faecher__teil:not(.ist-aktiv) .faecher__text strong { white-space: normal; }
  .faecher__text span, .faecher__teil.ist-aktiv .faecher__text span { opacity: 1; transform: none; }
  .faecher__fortschritt { display: none; }

  /* Animierte Grafiken passen immer in den Bildschirm (Marcel, 18.10.2026: nichts darf seitlich
     herausragen). Sie werden kleiner und nutzen dafuer die ganze Breite bis auf einen schmalen Rand. */
  .fg, .zeichnung { margin-top: 28px; }
  .fg__flaeche { overflow: visible; margin-inline: calc(8px - var(--rand)); }
  .fg svg, .zeichnung__bild { min-width: 0; max-width: 100%; }

  .gruender { grid-template-columns: minmax(0, 1fr); }
  .gruender__bild { min-height: 200px; }
  .bildband::before { background: linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .86) 100%); }
  .fuss__spalten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  :root { --kopf-hoehe: 64px; --g-display: clamp(32px, 9.2vw, 46px); --g-titel: clamp(26px, 7.4vw, 38px); --g-titel-k: clamp(23px, 6.4vw, 30px); }
  .kopf__logo img { height: 26px; }
  .seitenkopf .display { font-size: var(--g-display); }
  .seitenkopf { padding-top: calc(var(--kopf-hoehe) + 40px); }

  .knopfreihe .knopf--gross { flex: 1 1 100%; }
  .kacheln, .kacheln--zwei, .kacheln--vier, .drei, .drei--vier, .drei--zwei { grid-template-columns: minmax(0, 1fr); }
  .formular__gruppe { grid-template-columns: minmax(0, 1fr); }
  .formular__stand { display: none; }
  .chip span { min-height: 42px; padding: 0 14px; font-size: 14.5px; }
  .umschalter button { padding: 0 16px; }

  .fakten { gap: 16px 28px; }
  .geheim__daten { gap: 10px; }
  .vergleich th[scope='row'], .vergleich thead th:first-child { min-width: 190px; }
  .kontaktweg { padding: 18px; }
  .fg-reiter { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
  .seitenkopf__buehne .schema { margin-inline: calc(-1 * var(--rand)); padding: 10px; border-inline: 0; }
  .deutschland__inhalt { padding-block: 96px; }
  .fg-reiter__mitte { display: none; }
  .fg-reiter button { white-space: normal; font-size: 15px; }
  .kontaktweg a { font-size: 16px; overflow-wrap: anywhere; }
  .herunterladen a { flex: 1 1 100%; }
  .herunterladen a > span { margin-right: auto; }
  .betrieb { padding: 26px 22px; }
  .gegenueber__seite { padding: 24px 20px; }
  .kette li { grid-template-columns: minmax(0, 1fr); gap: 2px; }

  .einwilligungsbox { right: 12px; bottom: 12px; width: calc(100vw - 24px); padding: 22px; }
  .einwilligungsbox__knoepfe { grid-template-columns: minmax(0, 1fr); }
  .fuss__unten { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .zahlen { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .fuss__spalten { grid-template-columns: minmax(0, 1fr); }
  .seitenkopf::before { background-size: 48px 48px; }
}

/* ==========================================================================
   Weniger Bewegung, wenn das System es wuenscht
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .seitenkopf::before { animation: none !important; }
  .vorher[data-zeige] { opacity: 1; transform: none; }
  .bild.vorher img { clip-path: none !important; }
  .bild.vorher img, .kippen { transform: none; }
}

/* Auftritt im ersten Bildschirm: was schon sichtbar ist, gleitet beim Laden herein */
.held [data-zeige]:not(.vorher), .seitenkopf [data-zeige]:not(.vorher) { animation: auftritt 1s var(--ease) both; animation-delay: calc(var(--v, 0s) + .05s); }
@keyframes auftritt { from { opacity: 0; transform: translateY(24px); } }

/* Weiterfuehrende Verweise: grosse Zeilen statt Kartenreihe */
.verweise { border-top: 1px solid var(--linie); }
.verweis { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 5fr) auto; align-items: center; gap: 12px var(--spalt); padding: clamp(26px, 3vw, 40px) clamp(4px, 1vw, 16px); border-bottom: 1px solid var(--linie); overflow: hidden; }
.verweis::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--feld); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .6s var(--ease-weich); }
.verweis:hover::before, .verweis:focus-visible::before { transform: scaleY(1); }
.verweis__titel { font-size: clamp(26px, 2.8vw, 44px); font-weight: 380; letter-spacing: -0.03em; line-height: 1.1; transition: transform .6s var(--ease), color .3s; }
.verweis:hover .verweis__titel { transform: translateX(10px); color: var(--blau-text); }
.verweis__text { color: var(--ink-2); max-width: 46ch; }
.verweis__mehr { display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 540; color: var(--blau-link); white-space: nowrap; }
.verweis__mehr svg { width: 22px; height: 22px; transition: transform .5s var(--ease); }
.verweis:hover .verweis__mehr svg { transform: translate(4px, -4px); }

/* Raster mit echten Software-Bildern */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--spalt); }
.bento__teil { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 12px; min-height: 320px; padding: clamp(24px, 2.8vw, 40px); border-radius: var(--ecke-l); border: 1px solid var(--linie); background: var(--karte); transition: border-color .4s, box-shadow .6s var(--ease); }
.bento__teil:hover { border-color: var(--feld-rand); box-shadow: var(--schatten-hoch); }
.bento__teil h3 { font-size: clamp(21px, 1.7vw, 26px); font-weight: 460; letter-spacing: -0.02em; line-height: 1.2; }
.bento__teil p { color: var(--ink-2); }
.bento__teil--breit { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: end; gap: 28px; padding-right: 0; padding-bottom: 0; background: var(--feld); border-color: var(--feld-rand); }
.bento__text { align-self: start; display: flex; flex-direction: column; gap: 12px; padding-bottom: clamp(24px, 2.8vw, 40px); }
.bento__bild img { width: 100%; border-radius: var(--ecke) 0 0 0; box-shadow: var(--schatten-hoch); transform: translateY(18px); transition: transform .9s var(--ease); }
.bento__teil--breit:hover .bento__bild img { transform: translateY(4px); }
.bento__teil--verlauf { background: var(--verlauf); border-color: transparent; color: #fff; }
.bento__teil--verlauf p { color: rgba(255, 255, 255, .78); }
.bento__zahl { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--linie); font-size: clamp(34px, 3vw, 48px); font-weight: 320; letter-spacing: -0.035em; line-height: 1; color: var(--ink) !important; }
.bento__zahl span { display: block; margin-top: 8px; font-size: 14px; letter-spacing: 0; color: var(--ink-3); }
.bento__teil--verlauf h3 { margin-top: auto; }

@media (max-width: 960px) {
  .verweis { grid-template-columns: minmax(0, 1fr); }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .bento__teil--breit { grid-column: auto; grid-template-columns: minmax(0, 1fr); padding-right: 0; }
  .bento__text { padding-right: clamp(24px, 2.8vw, 40px); padding-bottom: 0; }
  .bento__teil { min-height: 0; }
}
