/* =========================================================
   KULTURLINE – Designsystem
   Abgeleitet aus dem Logo:
   – Fahrbahn (rote Linie mit Pfeilern) → Beginn jedes Abschnitts
   – Bogen (oben rund, unten gerade)    → Kacheln, Seitengrafik, Bildrahmen
   – Halbkreis-Enden                    → Buttons und Chips
   Rot ist reserviert für die Brücke und die Hauptaktion.
   ========================================================= */

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("../fonts/SchibstedGrotesk-latin.woff2") format("woff2");
  font-weight: 400 900; font-style: normal; font-display: swap;
  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: "Schibsted Grotesk";
  src: url("../fonts/SchibstedGrotesk-latin-ext.woff2") format("woff2");
  font-weight: 400 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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;
}

:root {
  --paper: #FFFFFF;
  --ink: #1C1B19;
  --ink-75: rgba(28, 27, 25, .75);
  --red: #E0312F;
  --red-strong: #CC2523;
  --stone: #F0EFEB;
  --stone-2: #E2E0DA;
  --grey: #55534E;
  --line: #DAD8D2;
  --line-ink: rgba(255, 255, 255, .2);

  --r-pill: 999px;
  --r-soft: 14px;
  --deck: 4px;

  --font: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --t-xs: .8125rem;
  --t-s: .9375rem;
  --t-m: 1.0625rem;
  --t-l: 1.3125rem;
  --t-xl: 1.75rem;
  --t-2xl: clamp(2rem, 3.5vw, 3.125rem);
  --t-3xl: clamp(2.6rem, 6vw, 5.25rem);
  --t-display: clamp(2.6rem, 9.4vw, 8.8rem);

  --wrap: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --gap: clamp(16px, 2.2vw, 32px);
  --s-1: 8px; --s-2: 16px; --s-3: 24px; --s-4: 32px; --s-5: 48px; --s-6: 64px; --s-7: 96px;
  --sec: clamp(56px, 7.5vw, 104px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 104px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: var(--t-m); line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; font-weight: 750; line-height: 1.1; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: var(--t-3xl); font-weight: 800; line-height: .98; letter-spacing: -.042em; }
h2 { font-size: var(--t-2xl); line-height: 1.04; letter-spacing: -.03em; }
h3 { font-size: var(--t-l); line-height: 1.2; letter-spacing: -.015em; }
h4 { font-size: var(--t-m); line-height: 1.3; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd, figure, blockquote { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }

a { color: inherit; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .22em; text-decoration-color: currentColor; }
a:hover { color: var(--red-strong); text-decoration-color: var(--red); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.on-red :focus-visible, .on-ink :focus-visible { outline-color: #fff; }
::selection { background: var(--red); color: #fff; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--grey); }
.small { font-size: var(--t-s); }
.lead { font-size: clamp(1.15rem, 1.7vw, 1.5rem); line-height: 1.4; letter-spacing: -.012em; max-width: 30em; }
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mt-3 { margin-top: var(--s-3); } .mt-4 { margin-top: var(--s-4); } .mt-5 { margin-top: var(--s-5); }

.skip { position: absolute; left: 16px; top: -80px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--r-pill); }
.skip:focus { top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: var(--r-pill);
  font: 700 var(--t-m)/1 var(--font); letter-spacing: -.01em; text-decoration: none; white-space: nowrap;
  border: 0; cursor: pointer; transition: background-color .18s, color .18s, box-shadow .18s;
}
.btn--red { background: var(--red-strong); color: #fff; }
.btn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn--paper { background: #fff; color: var(--ink); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: var(--t-s); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.textlink { font-weight: 700; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: transform .5s var(--ease); }
.header.is-hidden { transform: translateY(-101%); }
.header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line); opacity: 0; transition: opacity .2s; }
.header.is-scrolled::after { opacity: 1; }
.header__inner { display: flex; align-items: center; gap: var(--s-5); height: 92px; }
.header__logo { flex-shrink: 0; display: block; }
.header__logo img { height: 44px; width: auto; }
.nav { display: flex; gap: var(--s-4); margin-left: auto; }
.nav a { position: relative; padding: 8px 0; font-size: var(--t-m); font-weight: 650; text-decoration: none; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav__apply { display: none !important; }
.header__actions { display: flex; align-items: center; gap: var(--s-3); }
.lang { display: flex; align-items: center; gap: 2px; font-size: var(--t-s); }
.lang button { border: 0; background: none; cursor: pointer; padding: 8px 4px; font: 600 var(--t-s)/1 var(--font); color: var(--grey); }
.lang button + button::before { content: "/"; color: var(--line); margin-right: 6px; }
.lang button:hover { color: var(--ink); }
.lang button[aria-pressed="true"] { color: var(--ink); font-weight: 800; }
.header__cta[aria-current="page"] { background: var(--ink); }
.burger { display: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--stone); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--ink); transition: transform .25s var(--ease), top .25s var(--ease); }
.burger span:first-child { top: 19px; }
.burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }
@media (max-width: 1040px) {
  .burger { display: block; }
  .header__cta { display: none; }
  .header__inner { height: 80px; }
  .header__logo img { height: 36px; }
  .nav {
    position: fixed; inset: 80px 0 auto 0; flex-direction: column; gap: 0;
    background: #fff; padding: var(--s-2) var(--gutter) var(--s-4); border-bottom: var(--deck) solid var(--red);
    visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity .2s, transform .2s var(--ease), visibility .2s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; }
  .nav a { font-size: var(--t-xl); font-weight: 750; letter-spacing: -.02em; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { bottom: -1px; }
  .nav__apply { display: flex !important; justify-content: center; margin-top: var(--s-3); border-bottom: 0 !important; background: var(--red-strong); color: #fff !important; border-radius: var(--r-pill); }
  .nav__apply::after { display: none; }
}
@media (max-width: 440px) { .header__logo img { height: 30px; } .header__inner { gap: var(--s-2); } }

/* ---------- Fahrbahn: Beginn jedes Abschnitts ---------- */
.deck { position: relative; border-top: var(--deck) solid var(--red); padding-top: var(--s-4); }
.deck::before, .deck::after { content: ""; position: absolute; top: calc(var(--deck) * -1); width: var(--deck); height: 18px; background: var(--red); }
.deck::before { left: 0; }
.deck::after { right: 0; }

/* ---------- Abschnitte ---------- */
.sec { padding: var(--sec) 0; }
.sec + .sec { padding-top: 0; }
.head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.head > h2 { grid-column: 1 / 7; }
.head > :not(h2) { grid-column: 7 / 13; }
.head > p { color: var(--grey); font-size: var(--t-l); line-height: 1.45; max-width: 24em; padding-top: .3em; }
.head + * { margin-top: var(--s-6); }
@media (max-width: 900px) {
  .head > * { grid-column: 1 / -1 !important; }
  .head > p { font-size: var(--t-m); padding-top: 0; }
  .head + * { margin-top: var(--s-5); }
}

/* ---------- Seitenkopf ---------- */
.pagehead { padding: clamp(48px, 7vw, 104px) 0 var(--sec); }
.pagehead + .sec { padding-top: 0; }
.pagehead__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: end; }
.pagehead__text { grid-column: 1 / 8; }
.pagehead__text .lead { margin-top: var(--s-4); color: var(--grey); }
.pagehead__art { grid-column: 9 / 13; }
@media (max-width: 860px) {
  .pagehead__text, .pagehead__art { grid-column: 1 / -1; }
  .pagehead__art { max-width: 300px; }
}

/* Logo-Brücke als Seitengrafik: aktiver Bogen = rot */
.bridgeart { width: 100%; height: auto; overflow: visible; }
.bridgeart .b-line { fill: none; stroke: var(--red); stroke-width: 7; stroke-linejoin: miter; }
.bridgeart .b-fill { fill: var(--red); }



/* ---------- Startseite: Hero ---------- */
.hero { padding: clamp(40px, 6vw, 88px) 0 var(--sec); }
.hero__title { font-size: var(--t-display); font-weight: 800; line-height: .9; letter-spacing: -.05em; margin-left: -.04em; text-wrap: initial; }
.hero__title span { display: block; }
.bridge { margin-top: clamp(14px, 1.6vw, 24px); }
.bridge svg { width: 100%; height: clamp(60px, 12vw, 164px); overflow: visible; }
.bridge path { fill: none; stroke: var(--red); stroke-width: clamp(6px, .85vw, 12px); vector-effect: non-scaling-stroke; }
.bridge__labels { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 14px; }
.bridge__labels li { text-align: center; font-size: clamp(.9rem, 1.5vw, var(--t-l)); font-weight: 650; }
.hero__foot { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); margin-top: clamp(56px, 7vw, 96px); align-items: end; }
.hero__foot .lead { grid-column: 1 / 7; margin: 0; }
.hero__foot .btns { grid-column: 7 / 13; justify-content: flex-end; }
@media (max-width: 900px) { .hero__foot .lead, .hero__foot .btns { grid-column: 1 / -1; } .hero__foot .btns { justify-content: flex-start; } }

/* ---------- Bogen-Kacheln: hängen an der Fahrbahn wie im Logo ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.tiles.deck { padding-top: var(--s-2); }
.tile {
  display: grid; grid-template-rows: 1fr auto auto auto; row-gap: 8px;
  min-height: clamp(320px, 34vw, 460px); padding: clamp(24px, 2.8vw, 40px);
  border-radius: var(--r-pill) var(--r-pill) 0 0; background: var(--stone);
  color: var(--ink); text-decoration: none;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.tile__title { grid-row: 2; font-size: clamp(1.6rem, 2.6vw, 2.25rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.tile__text { grid-row: 3; color: var(--ink-75); min-height: 3.1em; max-width: 18em; transition: color .25s; }
.tile__more { grid-row: 4; margin-top: var(--s-1); font-weight: 700; font-size: var(--t-s); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .22em; }
.tile:hover, .tile:focus-visible { background: var(--red-strong); color: #fff; outline-color: var(--ink); }
.tile:hover .tile__text, .tile:focus-visible .tile__text { color: rgba(255, 255, 255, .88); }
.tiles--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tiles--2 .tile { min-height: clamp(300px, 30vw, 400px); }


@media (max-width: 860px) {
  .tiles { grid-template-columns: 1fr; }
  .tile { min-height: 0; padding-top: 120px; border-radius: 180px 180px 0 0; }
}


/* ---------- Bausteine ---------- */
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.split > h2 { grid-column: 1 / 7; }
.split > :not(h2) { grid-column: 7 / 13; }
@media (max-width: 900px) { .split > * { grid-column: 1 / -1 !important; } .split > h2 { margin-bottom: var(--s-2); } }

.cols { display: grid; gap: var(--s-5) var(--gap); }
.cols--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cols h3 { margin-bottom: .45em; }
.cols p { color: var(--grey); }
@media (max-width: 1000px) { .cols--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 800px) { .cols--3 { grid-template-columns: 1fr; } }
@media (max-width: 680px) { .cols--2 { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .cols--4 { grid-template-columns: 1fr; } }

.list li { display: flex; gap: 14px; align-items: baseline; padding: 13px 0; border-top: 1px solid var(--line); }
.list li:first-child { border-top: 0; padding-top: 2px; }
.list li::before { content: ""; flex: 0 0 10px; height: 2px; background: currentColor; transform: translateY(-.32em); }

.on-red .list li { border-top-color: rgba(255, 255, 255, .3); }

.deflist > div { display: grid; grid-template-columns: minmax(140px, 2fr) 3fr; gap: var(--gap); padding: 14px 0; border-top: 1px solid var(--line); }
.deflist > div:first-child { border-top: 0; padding-top: 2px; }
.deflist dt { font-weight: 700; }
.deflist dd { color: var(--grey); }
@media (max-width: 560px) { .deflist > div { grid-template-columns: 1fr; gap: 2px; } }

.panel { background: var(--stone); border-radius: var(--r-soft); padding: clamp(24px, 4vw, 48px); }

/* ---------- Angebot ---------- */

/* ---------- Ablauf ---------- */
.steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--gap); counter-reset: s; }
.steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps li { counter-increment: s; }
.steps li::before { content: counter(s); display: block; font-size: var(--t-2xl); font-weight: 800; line-height: 1; letter-spacing: -.04em; margin-bottom: var(--s-3); }
.steps h3 { font-size: var(--t-m); margin-bottom: 4px; }
.steps p { color: var(--grey); font-size: var(--t-s); line-height: 1.45; }
@media (max-width: 1000px) { .steps, .steps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--s-5); } }

/* ---------- Förderfonds ---------- */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.facts dt { font-size: clamp(2.2rem, 4.4vw, 4rem); font-weight: 800; line-height: 1; letter-spacing: -.045em; white-space: nowrap; }
.facts dd { margin-top: 10px; color: var(--grey); }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; row-gap: var(--s-4); } }

.flow { display: grid; grid-template-columns: 1fr 64px minmax(200px, 250px) 64px 1fr; align-items: center; }
.flow__label { font-size: var(--t-s); font-weight: 700; margin-bottom: 8px; }
.flow__col ul { border-top: 1px solid var(--ink); }
.flow__col li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: var(--t-s); }
.flow__col li.is-main { font-weight: 700; }
.flow__arrow { height: 2px; background: var(--ink); position: relative; margin: 0 8px; }
.flow__arrow::after { content: ""; position: absolute; right: -2px; top: -6px; border: 7px solid transparent; border-left: 10px solid var(--ink); border-right: 0; }
.flow__fund { aspect-ratio: 1 / 1.2; border-radius: var(--r-pill) var(--r-pill) 0 0; background: #fff; color: var(--ink); box-shadow: inset 0 0 0 3px var(--ink); display: flex; flex-direction: column; justify-content: flex-end; align-items: center; text-align: center; padding: 24px; }
.flow__fund strong { font-size: var(--t-xl); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.flow__fund span { font-size: var(--t-s); color: var(--grey); margin-top: 6px; }
@media (max-width: 900px) {
  .flow { grid-template-columns: 1fr; }
  .flow__fund { max-width: 220px; width: 100%; }
  .flow__arrow { width: 2px; height: 40px; margin: 14px 0 14px 24px; }
  .flow__arrow::after { right: -6px; top: auto; bottom: -2px; border: 7px solid transparent; border-top: 10px solid var(--ink); border-bottom: 0; }
}

.check-quick { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.check-quick__head { grid-column: 1 / 5; }
.check-quick__head h3 { font-size: var(--t-xl); margin-bottom: 6px; }
.check-quick__items { grid-column: 5 / 13; display: grid; gap: 10px; }
.check-quick__result { grid-column: 1 / -1; display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; padding-top: var(--s-3); border-top: 1px solid var(--stone-2); }
.check-quick__result p { margin: 0; font-weight: 650; flex: 1; min-width: 220px; }
.meter { display: flex; gap: 6px; align-items: flex-end; }
.meter span { width: 26px; height: 20px; border-radius: 13px 13px 0 0; background: var(--stone-2); transition: background-color .2s; }
.meter span.is-on { background: var(--red); }
@media (max-width: 860px) { .check-quick__head, .check-quick__items { grid-column: 1 / -1; } }
.tick { display: flex; gap: 14px; align-items: center; padding: 15px 20px; border-radius: var(--r-pill); background: #fff; cursor: pointer; font-weight: 600; box-shadow: inset 0 0 0 1.5px var(--stone-2); transition: box-shadow .15s; }
.tick:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.tick:has(input:checked) { box-shadow: inset 0 0 0 2px var(--ink); }
.tick:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 3px; }
.tick input { appearance: none; -webkit-appearance: none; flex: 0 0 24px; width: 24px; height: 24px; margin: 0; border-radius: 50%; border: 2px solid var(--ink); display: grid; place-items: center; cursor: pointer; background: #fff; }
.tick input:focus-visible { outline: none; }
.tick input::after { content: ""; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) scale(0); margin-top: -3px; }
.tick input:checked { background: var(--ink); }
.tick input:checked::after { transform: rotate(45deg) scale(1); }

/* ---------- FAQ ---------- */
.faq__list { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 20px 48px 20px 0; font-size: var(--t-l); font-weight: 650; letter-spacing: -.015em; line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 18px; height: 2px; background: var(--ink); transition: transform .25s var(--ease); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq summary:hover { color: var(--red-strong); }
.faq details p { color: var(--grey); padding: 0 48px 22px 0; max-width: 40em; }
.legalnote { margin-top: var(--s-3); font-size: var(--t-xs); color: var(--grey); }

/* ---------- Brief ---------- */
.letter { font-size: var(--t-l); line-height: 1.5; max-width: 30em; }
.letter__sign { margin-top: 1.5em; font-weight: 700; }

/* ---------- Abschluss: rote Fahrbahn über dem dunklen Unterbau ---------- */
.closing { background: var(--red-strong); color: #fff; position: relative; }
.closing__inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: end; padding-top: clamp(56px, 7vw, 104px); padding-bottom: clamp(56px, 7vw, 104px); }
.closing h2 { grid-column: 1 / 10; font-size: var(--t-3xl); font-weight: 800; letter-spacing: -.045em; line-height: .95; max-width: 11em; }
.closing .btns { grid-column: 10 / 13; justify-content: flex-end; }
@media (max-width: 900px) { .closing h2, .closing .btns { grid-column: 1 / -1; } .closing .btns { justify-content: flex-start; } }

/* ---------- Formular ---------- */
.apply { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.apply__side { grid-column: 1 / 5; position: sticky; top: 120px; display: grid; gap: var(--s-5); }
.apply__main { grid-column: 5 / 13; }
@media (max-width: 1000px) { .apply__side, .apply__main { grid-column: 1 / -1; } .apply__side { position: static; order: 2; } }
.side-block h2 { font-size: var(--t-m); letter-spacing: -.01em; margin-bottom: 8px; }
.side-block p, .side-block li { font-size: var(--t-s); }
.side-block .list li { padding-top: 8px; padding-bottom: 8px; }
.formcard { background: var(--stone); border-radius: var(--r-soft); padding: clamp(22px, 4vw, 52px); }

.progress { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-bottom: var(--s-5); font-size: var(--t-xs); font-weight: 650; color: var(--grey); }
.progress li { padding-top: 12px; position: relative; }
.progress li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: var(--deck); background: var(--stone-2); transition: background-color .25s; }
.progress li.is-active, .progress li.is-done { color: var(--ink); }
.progress li.is-active::before { background: var(--red); }
.progress li.is-done::before { background: var(--ink); }
@media (max-width: 520px) { .progress li:not(.is-active) span { visibility: hidden; } }

.step__title { font-size: var(--t-xl); font-weight: 750; letter-spacing: -.025em; line-height: 1.15; margin-bottom: var(--s-4); }
.step__title:focus { outline: none; }
.errsum { background: #FFECE9; color: var(--red-strong); border-radius: var(--r-soft); padding: 14px 18px; font-weight: 650; font-size: var(--t-s); margin-bottom: var(--s-3); }
.errsum:focus { outline: 3px solid var(--ink); outline-offset: 3px; }
.field { margin-bottom: var(--s-3); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; } }
label, .label { display: block; font-weight: 650; font-size: var(--t-s); margin-bottom: 8px; padding: 0; }
.opt { font-weight: 400; color: var(--grey); }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], textarea {
  display: block; width: 100%; min-height: 52px; padding: 13px 18px;
  font: 400 var(--t-m)/1.4 var(--font); color: var(--ink);
  background: #fff; border: 0; border-radius: var(--r-soft); box-shadow: inset 0 0 0 1.5px var(--stone-2);
  -webkit-appearance: none; appearance: none; transition: box-shadow .15s;
}
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { color: #6F6D68; }
input:hover, textarea:hover { box-shadow: inset 0 0 0 1.5px #A9A7A1; }
input:focus, textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--ink), 0 0 0 3px rgba(28, 27, 25, .12); }
.counter { text-align: right; font-size: var(--t-xs); color: var(--grey); margin: 6px 0 0; font-variant-numeric: tabular-nums; }
.counter.is-near { color: var(--red-strong); }
.field__err { display: none; color: var(--red-strong); font-size: var(--t-s); font-weight: 600; margin: 8px 0 0; }
.field.is-invalid .field__err { display: block; }
.field.is-invalid input, .field.is-invalid textarea { box-shadow: inset 0 0 0 2px var(--red-strong); }
.field.is-invalid :is(input, textarea):focus { box-shadow: inset 0 0 0 2px var(--red-strong), 0 0 0 3px var(--ink); }
.field.is-invalid .chip span { box-shadow: inset 0 0 0 1.5px var(--red-strong); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { margin: 0; cursor: pointer; font-weight: 500; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 9px 18px; border-radius: var(--r-pill); background: #fff; box-shadow: inset 0 0 0 1.5px var(--stone-2); font-size: var(--t-s); user-select: none; transition: background-color .12s, color .12s, box-shadow .12s; }
.chip:hover span { box-shadow: inset 0 0 0 1.5px var(--ink); }
.chip input:checked + span { background: var(--ink); color: #fff; box-shadow: none; }
.chip input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }

.leadtime { margin: -8px 0 var(--s-3); padding: 12px 18px; border-radius: var(--r-soft); font-size: var(--t-s); font-weight: 600; }
.leadtime.is-ok { background: #E7F1E8; color: #234F2B; }
.leadtime.is-warn { background: #FFF1D9; color: #6E4200; }

.file { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: var(--r-pill); background: #fff; box-shadow: inset 0 0 0 1.5px var(--stone-2); cursor: pointer; font-weight: 400; margin: 0; }
.file:hover, .file.is-drag { box-shadow: inset 0 0 0 1.5px var(--ink); }
.file:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 3px; }
.file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.file__icon { flex: 0 0 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 1.2rem; }
.file__text { font-size: var(--t-s); color: var(--grey); word-break: break-word; }
.file.has-file .file__text { color: var(--ink); font-weight: 650; }
#fileErr { display: none; }
#fileErr.is-shown { display: block; }

.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: var(--t-s); cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; flex: 0 0 22px; height: 22px; border-radius: 6px; border: 2px solid var(--ink); margin: 0; display: grid; place-items: center; cursor: pointer; background: #fff; }
.check input::after { content: ""; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) scale(0); margin-top: -3px; }
.check input:checked { background: var(--ink); }
.check input:checked::after { transform: rotate(45deg) scale(1); }
.field.is-invalid .check input { border-color: var(--red-strong); }

.summary { background: #fff; border-radius: var(--r-soft); padding: 4px 22px; margin-bottom: var(--s-4); }
.summary__group { padding: 16px 0; border-bottom: 1px solid var(--line); }
.summary__group:last-child { border-bottom: 0; }
.summary__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.summary__head h3 { font-size: var(--t-m); }
.summary__edit { background: none; border: 0; padding: 4px 0; font: 700 var(--t-s) var(--font); color: var(--ink); cursor: pointer; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .22em; }
.summary dl { display: grid; grid-template-columns: minmax(130px, 34%) 1fr; gap: 6px 16px; font-size: var(--t-s); }
.summary dt { color: var(--grey); }
.summary dd { white-space: pre-wrap; word-break: break-word; }
@media (max-width: 520px) { .summary dl { grid-template-columns: 1fr; gap: 0; } .summary dd { margin-bottom: 8px; } }

.form__nav { display: flex; align-items: center; gap: 12px; margin-top: var(--s-4); padding-top: var(--s-3); border-top: 1px solid var(--stone-2); }
.form__stepinfo { margin-right: auto; font-size: var(--t-s); color: var(--grey); font-variant-numeric: tabular-nums; }
.form__error { background: #FFECE9; color: var(--red-strong); border-radius: var(--r-soft); padding: 14px 18px; font-weight: 600; font-size: var(--t-s); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.success .bridgeart { width: 200px; margin-bottom: var(--s-4); }
.success h2 { font-size: var(--t-2xl); line-height: 1.04; letter-spacing: -.03em; margin-bottom: .5em; max-width: 14em; }
.success h2:focus { outline: none; }
.success p { color: var(--grey); margin-bottom: var(--s-4); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, .72); font-size: var(--t-s); }
.footer__main { padding: var(--s-6) 0 var(--s-4); }
.footer__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.footer__logo { height: 44px; width: auto; margin-bottom: var(--s-3); }
.footer__title { font-size: var(--t-s); font-weight: 700; color: #fff; margin-bottom: 10px; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; text-decoration-color: var(--red); color: #fff; }
.footer li + li { margin-top: 4px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: var(--s-6); padding-top: var(--s-2); border-top: 1px solid var(--line-ink); font-size: var(--t-xs); }
@media (max-width: 860px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--s-4); } }

/* ---------- Rechtliche Seiten ---------- */
.legal { padding: clamp(48px, 7vw, 104px) 0 var(--sec); }
.legal .wrap { max-width: 900px; }
.legal h1 { margin-bottom: var(--s-5); }
.legal h2 { font-size: var(--t-l); margin: 2em 0 .6em; }
.legal p, .legal li { color: var(--grey); }
.legal__back { display: inline-block; margin-bottom: var(--s-4); font-weight: 700; font-size: var(--t-s); }
[data-lang-block] { display: none; }
html[lang="de"] [data-lang-block="de"], html[lang="en"] [data-lang-block="en"] { display: block; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .001ms !important; }
}

/* Schnell-Check ohne Box */
.qc-list { display: grid; gap: 10px; margin-top: var(--s-4); max-width: 34em; }
.qc-list .tick { border-radius: var(--r-pill); }
.qc-result { display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; margin: var(--s-2) 0 var(--s-3); }
.qc-result p { margin: 0; font-weight: 650; }
.footer__note { margin-top: var(--s-2); font-size: var(--t-xs); color: rgba(255, 255, 255, .6); }
/* =========================================================
   BEWEGUNG & FLUSS
   ========================================================= */

/* ---------- Intro: das Logo baut sich auf ---------- */
.intro { position: fixed; inset: 0; z-index: 200; background: #fff; display: grid; place-items: center; pointer-events: none; }
.intro__logo { width: min(72vw, 880px); }
.intro__logo svg { width: 100%; height: auto; overflow: visible; }
.intro__bridge path { fill: none; stroke: var(--red); stroke-width: 12; stroke-linecap: butt; }
.intro-seen .intro, .no-intro .intro { display: none; }
.is-intro .header__logo img { opacity: 0; }
.is-intro { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .intro { display: none; } }

/* ---------- Startseite: Brücke mit Räumen in den Bögen ---------- */
.hero__meta { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); margin-top: clamp(28px, 3.5vw, 48px); align-items: end; }
.hero__meta .lead { grid-column: 1 / 7; margin: 0; }
.hero__meta .btns { grid-column: 8 / 13; justify-content: flex-end; }
@media (max-width: 900px) { .hero__meta .lead, .hero__meta .btns { grid-column: 1 / -1; } .hero__meta .btns { justify-content: flex-start; } }
.hero__bridge { position: relative; margin-top: clamp(56px, 7vw, 104px); }
.hero__bridge svg { display: block; width: 100%; height: clamp(70px, 11vw, 150px); overflow: visible; }
.hero__bridge path { fill: none; stroke: var(--red); stroke-width: clamp(6px, .85vw, 12px); vector-effect: non-scaling-stroke; }
.bays { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: calc(clamp(70px, 11vw, 150px) * -.62); padding: 0 clamp(14px, 1.4vw, 20px); gap: clamp(14px, 1.4vw, 20px); }
.bay {
  position: relative; display: grid; grid-template-rows: 1fr auto auto auto; row-gap: 8px;
  min-height: clamp(340px, 36vw, 500px); padding: clamp(80px, 9vw, 130px) clamp(22px, 2.6vw, 40px) clamp(24px, 2.8vw, 40px);
  border-radius: 50% 50% 0 0 / clamp(60px, 9vw, 125px) clamp(60px, 9vw, 125px) 0 0;
  background: var(--stone); color: var(--ink); text-decoration: none;
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
.bay__label { grid-row: 1; align-self: start; font-size: var(--t-s); font-weight: 650; color: var(--grey); transition: color .35s; }
.bay__title { grid-row: 2; align-self: end; min-height: 2.04em; display: flex; align-items: flex-end; font-size: clamp(1.6rem, 2.6vw, 2.4rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; }
.bay__text { grid-row: 3; color: var(--ink-75); max-width: 17em; min-height: 4.7em; transition: color .35s; }
.bay__more { grid-row: 4; margin-top: 6px; font-weight: 700; font-size: var(--t-s); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .22em; }
.bay:hover .bay__text, .bay:hover .bay__label, .bay:focus-visible .bay__text, .bay:focus-visible .bay__label { color: rgba(255, 255, 255, .88); }
@media (max-width: 860px) {
  .bays { grid-template-columns: 1fr; margin-top: var(--s-4); padding: 0; }
  .bay { min-height: 0; padding-top: 96px; border-radius: 50% 50% 0 0 / 90px 90px 0 0; }
}

/* ---------- Fahrbahn zeichnet sich (Fallback ohne Linie, z. B. mobil) ---------- */
.deck--anim { border-top-color: transparent; background: linear-gradient(var(--red), var(--red)) 0 0 / 0% var(--deck) no-repeat; background-origin: border-box; background-clip: border-box; }
.deck--anim::before, .deck--anim::after { transform: scaleY(0); transform-origin: top; transition: transform .45s var(--ease); }
.deck--anim::after { transition-delay: 1.05s; }
.deck--anim.is-drawn::before, .deck--anim.is-drawn::after { transform: scaleY(1); }

/* ---------- Die durchgehende Linie ---------- */
main { position: relative; }

/* ---------- Weniger Raster: versetzte Kompositionen ---------- */
.head--step > h2 { grid-column: 1 / 9; }
.head--step > p { grid-column: 6 / 12; grid-row: 2; margin-top: var(--s-2); }
@media (min-width: 761px) {
  .facts > :nth-child(2) { margin-top: var(--s-5); }
  .facts > :nth-child(3) { margin-top: calc(var(--s-5) * 2); }
}

/* Grundsätze als typografische Liste */
.statements { border-top: 1px solid var(--ink); }
.statements > div { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); padding: var(--s-4) 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.statements h3 { grid-column: 1 / 7; font-size: var(--t-2xl); font-weight: 800; letter-spacing: -.035em; line-height: 1; }
.statements p { grid-column: 7 / 12; color: var(--grey); font-size: var(--t-l); line-height: 1.45; }
@media (max-width: 760px) { .statements > div > * { grid-column: 1 / -1; } }

/* ---------- Seitenwechsel: neue Seite steigt als Bogen auf ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .6s cubic-bezier(.7, 0, .2, 1) both; }
::view-transition-new(root) { animation: vt-in .8s cubic-bezier(.7, 0, .2, 1) both; }
@keyframes vt-in { from { clip-path: inset(100% 0 0 0 round 50% 50% 0 0); } to { clip-path: inset(0 0 0 0 round 0); } }
@keyframes vt-out { to { transform: translateY(-6%); opacity: .4; } }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }

/* SplitText-Masken */
.line { padding-bottom: .04em; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }

.intro__bridge path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.intro__wordmark { transform: translateY(170px); }
.intro { animation: intro-failsafe 0s 4.5s forwards; }
@keyframes intro-failsafe { to { visibility: hidden; } }

/* Ohne JS kein Intro */
html:not(.js) .intro { display: none; }
/* Seitenwechsel: Header bleibt stehen, nur der Inhalt steigt als Bogen auf */
.header { view-transition-name: site-header; }
::view-transition-group(site-header) { animation: none; }
::view-transition-old(site-header), ::view-transition-new(site-header) { animation: none; }
/* Zahlen als grosse typografische Zeilen */
.facts { grid-template-columns: 1fr; gap: 0; }
.facts > div { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: baseline; padding: var(--s-3) 0; border-bottom: 1px solid var(--line); margin-top: 0 !important; }
.facts > div:first-child { padding-top: 0; }
.facts dt { grid-column: 1 / 9; font-size: clamp(3.2rem, 10vw, 9rem); line-height: .9; letter-spacing: -.055em; white-space: nowrap; }
.facts dd { grid-column: 9 / 13; margin: 0; font-size: var(--t-l); color: var(--grey); }
@media (max-width: 760px) { .facts > div > * { grid-column: 1 / -1; } .facts dd { font-size: var(--t-m); } }
/* =========================================================
   MIKRO-INTERAKTIONEN: Bögen füllen sich von unten
   (wie ein Raum, der sich füllt)
   ========================================================= */

/* Buttons: die Füllung steigt als Bogen auf */
.btn { position: relative; overflow: hidden; isolation: isolate; transition: color .35s var(--ease), box-shadow .35s var(--ease); }
.btn::before {
  content: ""; position: absolute; left: -12%; right: -12%; bottom: 0; height: 240%; z-index: -1;
  border-radius: 50% 50% 0 0; background: var(--ink);
  transform: translateY(101%); transition: transform .55s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn--red:hover, .btn--line:hover, .btn--paper:hover { color: #fff; }
.btn--red:hover { background: var(--red-strong); }
.btn--line:hover { box-shadow: inset 0 0 0 2px var(--ink); transition-duration: .2s; }
.header__cta[aria-current="page"]::before { transform: translateY(0); }

/* ---------- Bogenkarten: Bogen = Fenster mit einer Aussage, Text darunter ---------- */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); }
.quad { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 32px); }
@media (max-width: 1000px) { .quad { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--s-6); } }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; row-gap: var(--s-6); } }
@media (max-width: 520px) { .quad { grid-template-columns: 1fr; } }

.archcard { display: flex; flex-direction: column; color: var(--ink); text-decoration: none; }
.archcard__arch {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 12px;
  aspect-ratio: 5 / 4; padding: clamp(24px, 3.4vw, 48px);
  border-radius: 50% 50% 0 0 / 52% 52% 0 0;
  background: var(--stone); color: var(--ink);
  transition: color .45s var(--ease);
}
.archcard__arch::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: 50% 50% 0 0 / 28% 28% 0 0; background: var(--red-strong);
  transform: translateY(101%); transition: transform .8s var(--ease);
}
.archcard--red .archcard__arch { background: var(--red-strong); color: #fff; }
.archcard--red .archcard__arch::before { background: var(--ink); }
.archcard:hover .archcard__arch, .archcard:focus-visible .archcard__arch { color: #fff; }
.archcard:hover .archcard__arch::before, .archcard:focus-visible .archcard__arch::before { transform: translateY(0); }
.archcard:focus-visible { outline: none; }
.archcard:focus-visible .archcard__arch { outline: 3px solid var(--ink); outline-offset: 4px; }

.archcard__kicker { font-size: var(--t-s); font-weight: 700; opacity: .85; }
.archcard__title { font-size: clamp(1.8rem, 3.1vw, 3rem); font-weight: 800; letter-spacing: -.04em; line-height: .98; max-width: 9em; }
.archcard__body { padding-top: var(--s-4); display: flex; flex-direction: column; flex: 1; }
.archcard__body .list li { padding-top: 14px; padding-bottom: 14px; }
.archcard__body .btns { margin-top: auto; padding-top: var(--s-4); }
.archcard__text { color: var(--grey); }
.archcard__more { margin-top: var(--s-2); font-weight: 700; font-size: var(--t-s); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .22em; }
.archcard:hover .archcard__more { text-decoration-color: var(--red); }

/* Kleine Variante (vier nebeneinander) */
.quad .archcard__arch { aspect-ratio: 4 / 5; border-radius: 50% 50% 0 0 / 40% 40% 0 0; padding: clamp(20px, 2.4vw, 32px); }
.quad .archcard__title { font-size: clamp(1.35rem, 1.9vw, 1.75rem); letter-spacing: -.03em; line-height: 1.05; }
.quad .archcard__body { padding-top: var(--s-3); }

/* ---------- Startseite: Räume füllen sich ---------- */
.bay { overflow: hidden; isolation: isolate; }
.bay::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: 50% 50% 0 0 / 22% 22% 0 0; background: var(--red-strong);
  transform: translateY(101%); transition: transform .8s var(--ease);
}
.bay:hover, .bay:focus-visible { color: #fff; }
.bay:hover::before, .bay:focus-visible::before { transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .btn::before, .archcard__arch::before, .bay::before { transition: none; }
}

/* Grössere Liste (Förderfonds: Was Sie bekommen) */
.list--big li { font-size: var(--t-l); line-height: 1.35; letter-spacing: -.01em; padding-top: 16px; padding-bottom: 16px; }
.list--big li:first-child { padding-top: 4px; }
.qc-list + .qc-result { margin-bottom: var(--s-2); }

/* =========================================================
   ERKLÄRENDE BILDER
   ========================================================= */
.figcap { margin-top: var(--s-3); font-size: var(--t-xs); color: var(--grey); }

/* ---------- 1. Brücke des Abends (Förderfonds: was Sie bekommen) ---------- */
.evening { margin-inline: 0; margin-bottom: 0; }
.evening__bridge { display: block; width: 100%; height: auto; overflow: visible; }
.evening__bridge .e-line { fill: none; stroke: var(--red); stroke-width: 7; }
.evening__bridge .e-fill { fill: var(--red); }
.evening__steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 var(--gap); margin-top: var(--s-3); counter-reset: none; }
.evening__steps li { text-align: center; padding: 0 4px; }
.evening__steps b { display: block; font-size: var(--t-l); font-weight: 750; letter-spacing: -.015em; margin-bottom: 4px; }
.evening__steps span { display: block; color: var(--grey); font-size: var(--t-s); line-height: 1.4; }
.evening__steps li.is-key b { color: var(--red-strong); }
@media (max-width: 760px) {
  .evening__steps { grid-template-columns: 1fr; row-gap: var(--s-3); }
  .evening__steps li { text-align: left; display: grid; grid-template-columns: 9em 1fr; gap: var(--s-2); }
}

/* ---------- 2. Tarif-Balken ---------- */
.tariff { margin-inline: 0; margin-bottom: 0; max-width: 980px; }
.tariff__bar { display: flex; height: clamp(72px, 8vw, 104px); border-radius: var(--r-pill); overflow: hidden; }
.tariff__part { display: flex; align-items: center; padding: 0 clamp(18px, 2.4vw, 32px); font-weight: 750; font-size: clamp(.95rem, 1.4vw, 1.2rem); letter-spacing: -.01em; white-space: nowrap; overflow: hidden; }
.tariff__part--you { flex: 4; background: var(--ink); color: #fff; }
.tariff__part--fund { flex: 6; background: var(--red-strong); color: #fff; }
.tariff__sum { position: relative; margin-top: 14px; padding-top: 16px; border-top: var(--deck) solid var(--red); text-align: center; font-weight: 750; font-size: var(--t-l); }
.tariff__sum::before, .tariff__sum::after { content: ""; position: absolute; top: -18px; width: var(--deck); height: 18px; background: var(--red); }
.tariff__sum::before { left: 0; } .tariff__sum::after { right: 0; }
.tariff__legend { display: flex; justify-content: space-between; gap: var(--gap); margin-top: 10px; font-size: var(--t-s); color: var(--grey); }

/* ---------- 3. Viele Abende tragen einen ---------- */
.pool { margin-inline: 0; margin-bottom: 0; display: grid; grid-template-columns: 1fr auto minmax(160px, 22%); align-items: end; gap: clamp(16px, 3vw, 48px); }
.pool__small { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: clamp(6px, 1vw, 12px); align-items: end; }
.pool__arch { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 50% 50% 0 0 / 38% 38% 0 0; background: var(--stone); overflow: hidden; }
.pool__arch i { position: absolute; inset: 0; background: var(--red-strong); transform-origin: 50% 100%; transform: scaleY(.22); border-radius: 50% 50% 0 0 / 18% 18% 0 0; }
.pool__big { position: relative; }
.pool__big .pool__arch { aspect-ratio: 4 / 5; box-shadow: inset 0 0 0 3px var(--ink); background: #fff; }
.pool__big .pool__arch i { transform: scaleY(1); }
.pool__big b { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; color: #fff; font-size: clamp(1rem, 1.5vw, 1.3rem); font-weight: 800; letter-spacing: -.02em; z-index: 1; }
.pool__arrow { width: clamp(40px, 6vw, 88px); height: 2px; background: var(--ink); position: relative; align-self: center; }
.pool__arrow::after { content: ""; position: absolute; right: -2px; top: -6px; border: 7px solid transparent; border-left: 10px solid var(--ink); border-right: 0; }
.pool__labels { display: grid; grid-template-columns: 1fr auto minmax(160px, 22%); gap: clamp(16px, 3vw, 48px); margin-top: 12px; font-size: var(--t-s); color: var(--grey); }
.pool__labels span:last-child { grid-column: 3; text-align: center; }
@media (max-width: 760px) {
  .pool { grid-template-columns: 1fr; }
  .pool__small { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pool__small > :nth-child(n+5) { display: none; }
  .pool__arrow { width: 2px; height: 36px; justify-self: center; }
  .pool__arrow::after { right: -6px; top: auto; bottom: -2px; border: 7px solid transparent; border-top: 10px solid var(--ink); border-bottom: 0; }
  .pool__big { max-width: 200px; justify-self: center; width: 100%; }
  .pool__labels { grid-template-columns: 1fr; }
  .pool__labels span:last-child { grid-column: 1; }
}

/* ---------- 4. Kalender (Für Häuser) ---------- */
.cal { margin-inline: 0; margin-bottom: 0; max-width: 720px; }
.cal__month { font-weight: 750; font-size: var(--t-l); margin-bottom: var(--s-2); }
.cal__head, .cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: clamp(5px, .8vw, 10px); }
.cal__head span { font-size: var(--t-xs); font-weight: 650; color: var(--grey); text-align: center; padding-bottom: 6px; }
.cal__day { position: relative; aspect-ratio: 1 / 1.05; border-radius: 50% 50% 0 0 / 34% 34% 0 0; background: var(--stone); display: flex; align-items: flex-end; justify-content: center; padding-bottom: 6px; font-size: var(--t-xs); font-weight: 650; color: var(--grey); overflow: hidden; isolation: isolate; }
.cal__day.is-empty { background: none; }
.cal__day.is-own { background: var(--ink); color: rgba(255, 255, 255, .8); }
.cal__day.is-filled { background: var(--red-strong); }
.cal__day.is-filled { color: #fff; }
.cal__legend { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-4); margin-top: var(--s-3); font-size: var(--t-s); }
.cal__legend span { display: inline-flex; align-items: center; gap: 8px; }
.cal__legend span::before { content: ""; width: 16px; height: 16px; border-radius: 50% 50% 0 0 / 40% 40% 0 0; background: var(--stone); }
.cal__legend .k-own::before { background: var(--ink); }
.cal__legend .k-filled::before { background: var(--red-strong); }

/* ---------- 5. Fünf Nummern werden zu einer (Veranstalten) ---------- */
.merge { margin-inline: 0; margin-bottom: 0; display: grid; grid-template-columns: minmax(0, 1.1fr) auto minmax(0, 1fr); align-items: center; gap: clamp(20px, 4vw, 64px); }
.merge__items { display: grid; gap: 10px; }
.merge__items li { display: flex; justify-content: space-between; gap: var(--s-3); align-items: center; padding: 14px 22px; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1.5px var(--stone-2); background: #fff; font-weight: 650; }
.merge__items li span { color: var(--grey); font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: .04em; font-size: var(--t-s); background: linear-gradient(var(--red), var(--red)) 0 55% / 100% 2px no-repeat; }
.merge__arrow { width: clamp(40px, 6vw, 88px); height: 2px; background: var(--ink); position: relative; }
.merge__arrow::after { content: ""; position: absolute; right: -2px; top: -6px; border: 7px solid transparent; border-left: 10px solid var(--ink); border-right: 0; }
.merge__one { aspect-ratio: 4 / 5; border-radius: 50% 50% 0 0 / 40% 40% 0 0; background: var(--red-strong); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(22px, 3vw, 40px); }
.merge__one b { font-size: clamp(1.5rem, 2.6vw, 2.4rem); font-weight: 800; letter-spacing: -.035em; line-height: 1; }
.merge__one span { margin-top: 10px; opacity: .9; }
@media (max-width: 800px) {
  .merge { grid-template-columns: 1fr; }
  .merge__arrow { width: 2px; height: 36px; justify-self: center; }
  .merge__arrow::after { right: -6px; top: auto; bottom: -2px; border: 7px solid transparent; border-top: 10px solid var(--ink); border-bottom: 0; }
  .merge__one { max-width: 260px; width: 100%; justify-self: center; }
}

/* ---------- Bei Ihnen / bei uns ---------- */
.sides2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); }
.sides2 h3 { font-size: var(--t-xl); letter-spacing: -.025em; margin-bottom: var(--s-3); padding-bottom: var(--s-2); border-bottom: 1px solid var(--ink); }
.sides2 .is-us h3 { color: var(--red-strong); border-bottom-color: var(--red); }
@media (max-width: 760px) { .sides2 { grid-template-columns: 1fr; row-gap: var(--s-5); } }

.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .steps--3 { grid-template-columns: 1fr; } }
.fig-wrap { margin-top: var(--s-6); }

/* Pool v2: kleine Bögen stehen auf einer Linie, die in den grossen Bogen fliesst */
.pool { position: relative; grid-template-columns: 1fr minmax(180px, 26%); gap: clamp(20px, 4vw, 64px); padding-bottom: 0; }
.pool__small { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(8px, 1.4vw, 18px); }
.pool__small .pool__arch { aspect-ratio: 3 / 4; }
.pool__big .pool__arch { aspect-ratio: 5 / 6; }
.pool__channel { position: absolute; left: 0; right: clamp(60px, 10%, 140px); bottom: 0; height: var(--deck); background: var(--red); z-index: 1; }
.pool__labels { grid-template-columns: 1fr minmax(180px, 26%); }
.pool__labels span:last-child { grid-column: 2; }
@media (max-width: 760px) {
  .pool { grid-template-columns: 1fr; }
  .pool__small { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pool__small > :nth-child(n+4) { display: none; }
  .pool__channel { display: none; }
  .pool__labels { grid-template-columns: 1fr; }
  .pool__labels span:last-child { grid-column: 1; }
}
.cal { max-width: 680px; }
@media (max-width: 760px) {
  .tariff__bar { height: auto; min-height: 64px; }
  .tariff__part { white-space: normal; line-height: 1.15; font-size: .9rem; padding: 12px 16px; }
  .pool__labels { display: none; }
  .pool__big b { font-size: 1.1rem; }
}
/* ---------- Fristen-Zeitstrahl (Förderfonds) ---------- */
.deadlines2 { margin-inline: 0; margin-bottom: 0; }
.deadlines2 ol { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gap); padding-top: 44px; }
.deadlines2 ol::before { content: ""; position: absolute; left: 0; right: 0; top: 14px; height: var(--deck); background: var(--red); transform-origin: 0 50%; transform: scaleX(var(--p, 1)); }
.deadlines2 li { position: relative; }
.deadlines2 li::before { content: ""; position: absolute; top: -40px; left: 0; width: 26px; height: 22px; border-radius: 50% 50% 0 0 / 70% 70% 0 0; background: #fff; box-shadow: inset 0 0 0 var(--deck) var(--red); }
.deadlines2 li.is-key::before { width: 40px; height: 32px; top: -48px; background: var(--red); box-shadow: none; }
.deadlines2 b { display: block; font-size: clamp(1.6rem, 2.6vw, 2.5rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; margin-bottom: 10px; white-space: nowrap; }
.deadlines2 li.is-key b { color: var(--red-strong); }
.deadlines2 span { display: block; color: var(--grey); line-height: 1.4; max-width: 14em; }
@media (max-width: 900px) {
  .deadlines2 ol { grid-template-columns: 1fr; padding-top: 0; padding-left: 52px; row-gap: var(--s-4); }
  .deadlines2 ol::before { left: 12px; right: auto; top: 8px; bottom: 8px; width: var(--deck); height: auto; transform-origin: 50% 0; transform: scaleY(var(--p, 1)); }
  .deadlines2 li::before { left: -52px; top: 4px; }
  .deadlines2 li.is-key::before { left: -58px; top: 0; }
}

/* ---------- Voraussetzungen beim Button ---------- */
.checks { margin-top: var(--s-4); display: grid; gap: 6px; }
.checks__label { font-size: var(--t-s); font-weight: 700; margin-bottom: 2px; }
.checks li { display: flex; gap: 12px; align-items: baseline; }
.checks li::before { content: ""; flex: 0 0 14px; width: 14px; height: 8px; border: solid var(--red-strong); border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg) translateY(-3px); }

/* ---------- Anfrage-Vorlage ---------- */
.request { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.request > h2 { grid-column: 1 / 7; }
.request > div { grid-column: 7 / 13; }
.request .btns { margin-top: var(--s-4); }
@media (max-width: 900px) { .request > * { grid-column: 1 / -1 !important; } }

/* =========================================================
   SZENEN (erzählte Seiten statt Abschnitte)
   ========================================================= */
.scene { position: relative; padding: clamp(72px, 10vw, 140px) 0; }
.scene__kicker { font-size: var(--t-s); font-weight: 700; color: var(--red-strong); margin-bottom: var(--s-3); }
.scene__title { font-size: var(--t-3xl); font-weight: 800; letter-spacing: -.045em; line-height: .96; max-width: 14em; }
.scene__text { font-size: var(--t-l); line-height: 1.45; color: var(--grey); max-width: 30em; margin-top: var(--s-4); }

/* ---------- Szene 1: Eröffnung ---------- */
.opener { min-height: calc(100svh - 92px); display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); }
.opener__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-5) var(--gap); align-items: end; }
.opener__title { grid-column: 1 / -1; font-size: clamp(2.8rem, 8.4vw, 8.6rem); font-weight: 800; letter-spacing: -.055em; line-height: .9; max-width: 11em; }
.opener__text { grid-column: 1 / 7; }
.opener .lead { color: var(--grey); max-width: 26em; }
.opener__cue { margin-top: var(--s-6); display: inline-flex; align-items: center; gap: 12px; font-size: var(--t-s); font-weight: 650; color: var(--grey); }
.opener__cue::after { content: ""; width: 2px; height: 36px; background: linear-gradient(var(--red), transparent); animation: cue 2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.opener__art { grid-column: 8 / 13; padding-bottom: 6px; }
@media (max-width: 860px) { .opener { min-height: 0; } .opener__text, .opener__art { grid-column: 1 / -1; } .opener__art { max-width: 300px; } }

/* ---------- Szene 2: der Abend entsteht (gepinnt) ---------- */
.story { position: relative; }
.story__inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.story__head { grid-column: 1 / -1; }
.story__steps { grid-column: 1 / -1; display: grid; gap: var(--s-5); margin-top: var(--s-5); }
.story__step b { display: block; font-size: var(--t-3xl); font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.story__step .n { display: block; font-size: var(--t-s); font-weight: 700; color: var(--red-strong); margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.story__step p { font-size: var(--t-l); color: var(--grey); margin-top: 10px; max-width: 24em; line-height: 1.4; }
.story__bridge { grid-column: 1 / -1; margin-top: var(--s-5); }
.story__bridge svg { width: 100%; height: auto; overflow: visible; display: block; }
.story__bridge .s-line { fill: none; stroke: var(--red); stroke-width: 8; }
.story__bridge .s-bay { fill: var(--red); }
.story__labels { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 12px; text-align: center; font-size: var(--t-s); font-weight: 650; color: var(--grey); }
.story__labels span { transition: color .3s; }
.story__labels span.is-on { color: var(--ink); }

/* Live-Variante (Desktop mit JS): die Brücke ist die Bühne.
   Ein Schritt auf einmal, gross über der Brücke; jeder füllt seinen Bogen. */
.story--live { height: 100svh; display: flex; align-items: center; padding: 64px 0 40px; }
.story--live .story__inner { width: 100%; row-gap: clamp(20px, 3.4vh, 40px); }
.story--live .story__head .scene__title { max-width: none; font-size: var(--t-xl); letter-spacing: -.025em; line-height: 1.15; }
.story--live .story__head .scene__kicker { margin-bottom: 6px; }
.story--live .story__steps { position: relative; height: clamp(150px, 23vh, 220px); margin: 0; display: block; }
.story--live .story__step { position: absolute; inset: auto 0 0 0; }
.story--live .story__step b { font-size: clamp(4rem, 9vw, 8.6rem); letter-spacing: -.055em; line-height: .9; }
.story--live .story__step p { margin-top: 12px; }
.story--live .story__step .n, .story--live .story__labels { display: none; }
.story--live .story__bridge svg { max-height: 40svh; }
@media (max-width: 899px) { .story--live { height: auto; } }

/* Schmal mit JS: die Brücke bleibt oben stehen, die Schritte ziehen darunter durch */
.story--sticky .story__head { order: -2; }
.story--sticky .story__bridge { order: -1; position: sticky; top: 80px; transition: top .5s var(--ease); z-index: 2; background: var(--paper); padding: 14px 0 10px; margin: var(--s-4) 0 0; }
.header-hidden .story--sticky .story__bridge { top: 0; }
.story--sticky .story__steps { margin-top: var(--s-4); }
.story--sticky .story__step { min-height: 34svh; }

/* ---------- Szene 3: der Tarif teilt sich ---------- */
.price__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.price__text { grid-column: 5 / 13; }
.price__text .scene__title { max-width: 13em; }
.price .split-price { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .price.is-pinned { min-height: 100svh; display: flex; align-items: center; padding: 64px 0 40px; }
  .price.is-pinned .wrap { width: 100%; }
}
@media (max-width: 899.98px) { .price__text { grid-column: 1 / -1; } }
.split-price { margin-top: var(--s-6); }
.split-price__bar { position: relative; display: flex; height: clamp(84px, 11vw, 160px); border-radius: var(--r-pill); overflow: hidden; background: var(--red-strong); }
.split-price__you { width: 42%; flex-shrink: 0; background: var(--ink); color: #fff; display: flex; align-items: center; padding-left: clamp(20px, 2.6vw, 36px); white-space: nowrap; overflow: hidden; }
.split-price__fund { flex: 1; min-width: 0; color: #fff; display: flex; align-items: center; padding-left: clamp(20px, 2.6vw, 36px); white-space: nowrap; overflow: hidden; }
/* Klammer über dem ganzen Balken: das Haus erhält immer den vollen Tarif */
.split-price__whole { position: relative; text-align: center; padding-bottom: 22px; margin-bottom: 12px; }
.split-price__whole::after { content: ""; position: absolute; left: 2px; right: 2px; bottom: 0; height: 12px; border: solid var(--ink); border-width: 2px 2px 0; border-radius: 6px 6px 0 0; }
.split-price b { font-size: clamp(1rem, 2.1vw, 2rem); font-weight: 800; letter-spacing: -.025em; }
.split-price__whole b { font-size: var(--t-l); }
.split-price__note { display: flex; justify-content: space-between; gap: var(--gap); margin-top: 14px; font-size: var(--t-s); color: var(--grey); }
@media (max-width: 760px) { .split-price__you b, .split-price__fund b { font-size: .9rem; white-space: normal; line-height: 1.15; } }

/* ---------- Szene 4: Fristen-Rechner ---------- */
/* Die Frage ist ein Satz, das Datum ein Teil davon */
.calc__ask { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .3em; font-size: var(--t-3xl); font-weight: 800; letter-spacing: -.045em; line-height: 1.05; }
.calc__ask label { margin: 0; font: inherit; letter-spacing: inherit; }
.calc__ask input[type="date"] { width: auto; min-width: 0; font: inherit; letter-spacing: -.03em; color: var(--red-strong); padding: 0 0 .04em; border: 0; border-radius: 0; background: transparent; box-shadow: inset 0 -.07em 0 var(--red); cursor: pointer; }
.calc__ask input[type="date"]:focus-visible { outline: 3px solid var(--ink); outline-offset: 6px; }
.calc__ask input[type="date"]::-webkit-calendar-picker-indicator { width: .5em; height: .5em; opacity: .55; cursor: pointer; }
.calc__warn { margin-top: var(--s-3); padding: 12px 18px; border-radius: var(--r-soft); background: #FFF1D9; color: #6E4200; font-weight: 600; font-size: var(--t-s); max-width: 44em; }
.calc .deadlines2 { margin-top: var(--s-6); }
.calc .deadlines2 b { font-variant-numeric: tabular-nums; }
.calc__hint { margin-top: var(--s-4); font-size: var(--t-s); color: var(--grey); }
.calc.is-live .deadlines2 span { color: var(--ink); font-weight: 650; }
.calc.is-live .deadlines2 span i { display: block; margin-top: 4px; font-style: normal; font-weight: 400; font-size: var(--t-s); color: var(--grey); }
.calc .deadlines2 li.is-past b { color: var(--grey); text-decoration: line-through; text-decoration-thickness: .08em; }

/* Breit: die Fristen als echte Strecke – Abstände nach Tagen, abwechselnd über und unter der Fahrbahn */
@media (min-width: 901px) {
  .track ol { display: block; height: 320px; padding: 0; }
  .track ol::before { top: 160px; }
  .track li { position: absolute; left: var(--x); bottom: 160px; max-width: 21%; padding-bottom: 38px; }
  .track li:nth-child(even) { bottom: auto; top: 160px; padding: 40px 0 0; }
  .track li[data-k="report"] { left: auto; right: 0; text-align: right; }
  .track li::before { top: auto; bottom: -13px; }
  .track li:nth-child(even)::before { bottom: auto; top: -9px; }
  .track li[data-k="report"]::before { left: auto; right: 0; }
  .track li.is-key::before { width: 64px; height: 50px; top: -48px; }
  .track li.is-key { padding-top: 48px; }
  .track b { font-size: clamp(1.8rem, 2.9vw, 3rem); }
  .track li.is-key b { font-size: clamp(2.2rem, 3.6vw, 3.6rem); }
  .track span { max-width: none; }
}
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.faq__pdf { margin-top: var(--s-3); font-weight: 650; }
.story:not(.story--live) .story__labels span { color: var(--ink); }
.deadlines2 b.is-flip { animation: flip .5s var(--ease); }
@keyframes flip { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Szene 6: Finale ---------- */
.finale { background: var(--red-strong); color: #fff; padding: clamp(80px, 11vw, 160px) 0; }
.finale .scene__kicker { color: rgba(255, 255, 255, .85); }
.finale__lines { margin-top: var(--s-3); }
.finale__lines li { font-size: clamp(2.2rem, 5.6vw, 5rem); font-weight: 800; letter-spacing: -.045em; line-height: 1.02; display: flex; gap: .35em; align-items: baseline; }
/* vor jeder Zeile ein Bogen wie im Logo – drei Bögen, die sich füllen */
.finale__lines li::before { content: ""; flex: 0 0 .86em; height: .62em; border-radius: 50% 50% 0 0 / 70% 70% 0 0; box-shadow: inset 0 0 0 .07em #fff; background: linear-gradient(#fff, #fff) 0 100% / 100% var(--f, 100%) no-repeat; }
.finale .btns { margin-top: var(--s-6); }
.finale .btn--paper { min-height: 60px; padding: 0 34px; font-size: var(--t-l); }
