/* Layout: Soft Structuralism — weißer Grund, viel Weißraum, schwebende Flächen mit Doppelrand; Navy und ein gedecktes Salbeigrün.
   Bewusst eine helle Welt (angelehnt an masko-consulting.com), daher ohne Dunkelvariante. */
:root {
  color-scheme: light;
  --weiss: #ffffff;
  --flaeche: #f5f7f9;
  --flaeche-2: #edf0f4;
  --navy: #152a45;
  --navy-2: #1e3859;
  --nacht: #0c1420;
  --akzent: #2f8a6c;
  --akzent-hell: #9ad4bb;
  --tx: #1b2129;
  --tx-2: #5a6470;
  --tx-3: #8b939d;
  --linie: rgba(21, 42, 69, .08);
  --linie-2: rgba(21, 42, 69, .14);
  --rot: #c0533f;
  --gelb: #c99a2a;
  --gruen: #4e8a73;
  --schatten: 0 1px 2px rgba(21, 42, 69, .04), 0 28px 64px -36px rgba(21, 42, 69, .32);
  --ease: cubic-bezier(.32, .72, 0, 1);
  --f: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-serif: "Newsreader", Georgia, "Times New Roman", serif;
  --f-mono: "Geist Mono", ui-monospace, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--weiss); color: var(--tx);
  font-family: var(--f); font-size: 16px; line-height: 1.6; letter-spacing: -.006em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: inherit; }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: clamp(20px, 3vw, 40px); }
h1, h2, h3 { font-family: var(--f); font-weight: 500; margin: 0; color: var(--tx); text-wrap: balance; }
h1 { font-size: clamp(44px, 6.4vw, 86px); line-height: 1; letter-spacing: -.045em; }
h2 { font-size: clamp(34px, 4.2vw, 56px); line-height: 1.06; letter-spacing: -.04em; }
h3 { font-size: 18px; line-height: 1.35; font-weight: 500; letter-spacing: -.02em; }
h1 em, h2 em { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; color: var(--akzent); }
p { margin: 0; text-wrap: pretty; }
.tag {
  display: inline-flex; align-items: center; gap: 8px; justify-self: start; padding: 6px 12px; border-radius: 999px;
  background: var(--flaeche); font: 500 10.5px/1 var(--f); letter-spacing: .2em; text-transform: uppercase; color: var(--tx-2);
}
.tag::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--akzent); }
.lead { font-size: 18px; line-height: 1.6; color: var(--tx-2); max-width: 52ch; }
.sec { padding-block: clamp(96px, 11vw, 168px) clamp(104px, 12vw, 180px); }
.sec.eng { padding-top: 0; }
.kopf { display: grid; gap: 20px; max-width: 720px; margin-bottom: clamp(48px, 6vw, 80px); }
:focus-visible { outline: 2px solid var(--akzent); outline-offset: 3px; border-radius: 12px; }
.klein { font-size: 13px; color: var(--tx-3); }

/* Einblenden: startet sichtbar, nur leicht versetzt */
@media (prefers-reduced-motion: no-preference) {
  .js .auf { transform: translateY(26px); transition: transform 1.1s var(--ease); }
  .js .auf.da { transform: none; }
}

/* Doppelrand: Schale und Kern */
.schale { padding: 8px; border-radius: 34px; background: rgba(21, 42, 69, .035); box-shadow: inset 0 0 0 1px rgba(21, 42, 69, .05); }
.kern { border-radius: 26px; background: var(--weiss); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), var(--schatten); }
.kern.nacht { background: radial-gradient(120% 100% at 75% 0%, #1f3a5c 0%, #101c2c 50%, var(--nacht) 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 40px 80px -44px rgba(12, 20, 32, .85); }

/* Pillen-Knöpfe mit Pfeilkreis */
.pill {
  display: inline-flex; align-items: center; gap: 14px; padding: 6px 6px 6px 22px; min-height: 50px;
  border-radius: 999px; border: 1px solid transparent; font: 500 15px/1 var(--f); letter-spacing: -.01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .5s var(--ease), background-color .4s var(--ease), border-color .4s var(--ease), box-shadow .5s var(--ease);
}
.pill .kreis { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex: none; transition: transform .5s var(--ease); }
.pill .kreis svg { width: 14px; height: 14px; }
.pill:hover .kreis { transform: translate(2px, -1px) scale(1.06); }
.pill:active { transform: scale(.98); }
.pill-dunkel { background: var(--navy); color: #fff; box-shadow: 0 16px 34px -20px rgba(21, 42, 69, .9); }
.pill-dunkel .kreis { background: rgba(255, 255, 255, .12); color: #fff; }
.pill-dunkel:hover { background: var(--navy-2); }
.pill-hell { background: var(--weiss); color: var(--tx); border-color: var(--linie-2); }
.pill-hell .kreis { background: var(--flaeche); color: var(--navy); }
.pill-hell:hover { border-color: rgba(21, 42, 69, .32); }
.pill-weiss { background: #fff; color: var(--navy); }
.pill-weiss .kreis { background: var(--flaeche); color: var(--navy); }
.pill-klein { min-height: 42px; padding: 4px 4px 4px 18px; font-size: 14px; gap: 10px; }
.pill-klein .kreis { width: 34px; height: 34px; }
.text-link { background: none; border: 0; padding: 4px 0; font: 500 14px var(--f); color: var(--navy); cursor: pointer; text-decoration: underline; text-decoration-color: var(--linie-2); text-underline-offset: 4px; transition: text-decoration-color .3s; }
.text-link:hover { text-decoration-color: var(--navy); }
@media (prefers-reduced-motion: reduce) { .pill, .pill .kreis { transition: none; } .pill:hover .kreis { transform: none; } }

/* Schwebende Navigation */
.nav {
  position: fixed; top: calc(16px + env(safe-area-inset-top, 0px)); left: 50%; transform: translateX(-50%); z-index: 50;
  width: max-content; max-width: calc(100% - 24px); display: flex; align-items: center; gap: clamp(20px, 3vw, 44px);
  padding: 7px 7px 7px 22px; border-radius: 999px;
  background: rgba(255, 255, 255, .78); border: 1px solid rgba(21, 42, 69, .06);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 12px 40px -22px rgba(21, 42, 69, .45);
}
.marke { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.marke svg { width: 32px; height: 22px; flex: none; }
.marke b { font-weight: 600; font-size: 18px; letter-spacing: -.035em; }
.nav-links { display: flex; gap: clamp(18px, 2vw, 28px); font-size: 14px; color: var(--tx-2); }
.nav-links a { text-decoration: none; transition: color .3s var(--ease); }
.nav-links a:hover { color: var(--navy); }
@media (max-width: 900px) { .nav-links { display: none; } }
@media (max-width: 760px) {
  .nav { width: calc(100% - 24px); justify-content: space-between; padding: 7px 7px 7px 18px; }
}

/* Hero */
.hero { padding-top: clamp(140px, 15vw, 196px); position: relative; isolation: isolate; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-color: #f5f7f9;
  background-image: linear-gradient(rgba(21, 42, 69, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(21, 42, 69, .06) 1px, transparent 1px);
  background-size: 64px 64px; background-position: 50% 0;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 60%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 60%, transparent 100%);
}
.hero-bg .quadrat { position: absolute; width: 63px; height: 63px; background: var(--akzent); display: none; }
.hero-bg .q1 { left: calc(50% - 671px); top: 65px; opacity: .9; }
.hero-bg .q2 { left: calc(50% - 607px); top: 65px; opacity: .32; }
.hero-bg .q3 { left: calc(50% - 671px); top: 129px; opacity: .32; }
.hero .tag { background: #fff; box-shadow: 0 1px 2px rgba(21, 42, 69, .06); }
@media (min-width: 1360px) { .hero-bg .quadrat { display: block; } }

.hero-grid { display: grid; gap: clamp(48px, 6vw, 88px); align-items: center; }
@media (min-width: 1020px) { .hero-grid { grid-template-columns: 1.02fr .98fr; } }
.hero-txt { display: grid; gap: 30px; min-width: 0; }
.aktionen { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.vertrauen { margin-top: clamp(72px, 8vw, 112px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); border-top: 1px solid var(--linie); }
.vertrauen span { padding: 22px 24px 0 0; font-size: 14px; color: var(--tx-2); }
.vertrauen b { display: block; font-weight: 500; color: var(--tx); font-size: 15px; margin-bottom: 2px; }

.plan { margin: 0; min-width: 0; }
.plan .kern { padding: clamp(14px, 2vw, 22px); overflow: hidden; }
.plan svg { display: block; width: 100%; height: auto; }
.plan figcaption { margin: 16px 6px 2px; font-size: 13.5px; color: var(--tx-3); max-width: 58ch; }
.s-gitter { stroke: rgba(255, 255, 255, .045); stroke-width: 1; fill: none; }
.s-gurt { stroke: rgba(255, 255, 255, .92); stroke-width: 1.8; fill: none; stroke-linejoin: round; stroke-linecap: round; }
.s-steg { stroke: rgba(255, 255, 255, .34); stroke-width: 1.1; fill: none; }
.s-knoten { fill: #fff; filter: drop-shadow(0 0 4px rgba(255, 255, 255, .9)) drop-shadow(0 0 10px rgba(154, 212, 187, .55)); }
.s-lager { fill: none; stroke: rgba(255, 255, 255, .66); stroke-width: 1.3; stroke-linejoin: round; }
.s-schraff { stroke: rgba(255, 255, 255, .3); stroke-width: 1; }
.s-last { stroke: var(--akzent-hell); stroke-width: 1.6; fill: none; }
.s-spitze { fill: var(--akzent-hell); }
.s-mass { stroke: rgba(255, 255, 255, .3); stroke-width: 1; fill: none; }
.s-text { font-family: var(--f-mono); font-size: 12px; fill: rgba(255, 255, 255, .56); }
.s-text-hell { font-family: var(--f-mono); font-size: 12px; fill: rgba(255, 255, 255, .92); font-weight: 500; }
.s-feld { fill: none; stroke: rgba(255, 255, 255, .2); stroke-width: 1; }
.zeichnen { stroke-dasharray: 1; stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference) {
  .zeichnen { animation: zeichnen 1.6s var(--ease) both; }
  .zeichnen.z2 { animation-delay: .3s; }
  .s-knoten { animation: aufleuchten .8s ease 1.2s both; }
  .lasten { animation: senken 1s var(--ease) 1.3s both; }
  @keyframes zeichnen { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
  @keyframes aufleuchten { from { opacity: 0; } to { opacity: 1; } }
  @keyframes senken { from { transform: translateY(-12px); opacity: 0; } to { transform: none; opacity: 1; } }
}

/* Warnsignale */
.signale { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 clamp(32px, 5vw, 80px); }
@media (min-width: 820px) { .signale { grid-template-columns: 1fr 1fr; } }
.signal { display: grid; gap: 8px; padding: 28px 0 30px; border-top: 1px solid var(--linie-2); }
.signal p { color: var(--tx-2); font-size: 15.5px; max-width: 46ch; }
.nachsatz { margin-top: clamp(48px, 6vw, 72px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.nachsatz p { font-size: 20px; letter-spacing: -.02em; color: var(--tx); max-width: 40ch; }

/* Frühwarn-Check */
.check-flaeche { border-radius: 40px; background: var(--flaeche); padding: clamp(32px, 6vw, 96px) clamp(20px, 5vw, 80px); display: grid; gap: clamp(40px, 5vw, 72px); align-items: center; }
@media (min-width: 1020px) { .check-flaeche { grid-template-columns: .82fr 1.18fr; } }
.check-txt { display: grid; gap: 22px; min-width: 0; }
.hinweis { font-size: 14px; color: var(--tx-3); max-width: 44ch; }
.check-flaeche .schale { background: rgba(255, 255, 255, .6); min-width: 0; }
.check-karte { padding: clamp(24px, 3.5vw, 44px); min-height: 440px; display: grid; align-content: start; }
.check-karte > * { min-width: 0; }
@media (max-width: 560px) { .ergebnis .pill { white-space: normal; line-height: 1.3; max-width: 100%; } }
.check-oben { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; color: var(--tx-3); font-variant-numeric: tabular-nums; }
.balken { height: 2px; border-radius: 2px; background: var(--flaeche-2); margin: 14px 0 34px; overflow: hidden; }
.balken i { display: block; height: 100%; width: 12.5%; background: var(--navy); transition: width .6s var(--ease); }
.frage h3 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.2; letter-spacing: -.03em; margin-bottom: 26px; }
.frage h3:focus { outline: none; }
.wahl { display: grid; gap: 10px; }
.wahl button {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; min-height: 58px; padding: 14px 16px 14px 20px;
  border-radius: 16px; border: 1px solid var(--linie-2); background: var(--weiss); color: var(--tx);
  font: 400 16px var(--f); letter-spacing: -.01em; text-align: left; cursor: pointer;
  transition: border-color .4s var(--ease), background-color .4s var(--ease), transform .4s var(--ease);
}
.wahl button::after { content: ""; width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--linie-2); flex: none; transition: box-shadow .4s var(--ease), border-color .4s var(--ease); }
.wahl button:hover { border-color: rgba(21, 42, 69, .34); transform: translateX(2px); }
.wahl button:active { transform: scale(.99); }
.wahl button[aria-pressed="true"] { border-color: var(--navy); background: var(--flaeche); }
.wahl button[aria-pressed="true"]::after { border-color: var(--navy); box-shadow: inset 0 0 0 5px var(--flaeche), inset 0 0 0 10px var(--navy); }
.hilfe { margin-top: 20px; font-size: 13.5px; color: var(--tx-2); }
.hilfe summary { cursor: pointer; color: var(--navy); font-weight: 500; }
.hilfe-inhalt { display: grid; gap: 8px; margin-top: 12px; padding: 16px 18px; border-radius: 14px; background: var(--flaeche); }
.hilfe-inhalt code { font-family: var(--f-mono); font-size: 12.5px; color: var(--tx); overflow-wrap: anywhere; }
.ergebnis { display: grid; gap: 18px; align-content: start; }
.ampel { display: flex; align-items: center; gap: 14px; }
.ampel-punkte { display: flex; gap: 6px; padding: 8px 10px; border-radius: 999px; background: var(--flaeche); }
.ampel-punkte i { width: 12px; height: 12px; border-radius: 50%; background: var(--flaeche-2); box-shadow: inset 0 0 0 1px var(--linie); }
.ergebnis[data-stufe="rot"] .ampel-punkte i:nth-child(1) { background: var(--rot); box-shadow: 0 0 0 4px rgba(192, 83, 63, .15); }
.ergebnis[data-stufe="gelb"] .ampel-punkte i:nth-child(2) { background: var(--gelb); box-shadow: 0 0 0 4px rgba(201, 154, 42, .15); }
.ergebnis[data-stufe="gruen"] .ampel-punkte i:nth-child(3) { background: var(--gruen); box-shadow: 0 0 0 4px rgba(78, 138, 115, .15); }
.ampel span { font-size: 13px; color: var(--tx-2); }
.ergebnis h3 { font-size: clamp(26px, 2.8vw, 34px); line-height: 1.1; letter-spacing: -.035em; }
.ergebnis h3:focus { outline: none; }
.ergebnis p, .ergebnis li { color: var(--tx-2); }
.ergebnis ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 15px; }

/* Förder-Check (Startseite und Förderseite) */
#foerdercheck { scroll-margin-top: 90px; }
.fc-kopf { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0 0 18px; font-size: 15px; color: var(--tx-2); }
.fc-kopf b { font-size: 10.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--akzent); }
.ergebnis .fc-punkte { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.fc-punkte li { position: relative; padding: 13px 16px 13px 40px; border-radius: 14px; background: var(--flaeche); font-size: 14.5px; line-height: 1.5; }
.fc-punkte li::before { content: ""; position: absolute; left: 16px; top: 19px; width: 10px; height: 10px; border-radius: 50%; background: var(--mint); }
.fc-punkte li.fc-offen::before { background: var(--gelb); }
.fc-punkte li.fc-nein::before { background: var(--rot); }
.fc-punkte b { display: block; font-weight: 500; color: var(--tx); }

/* Förderung */
.foerder { display: grid; gap: clamp(48px, 6vw, 96px); align-items: center; }
@media (min-width: 1000px) { .foerder { grid-template-columns: 1fr 1fr; } }
.foerder-txt { display: grid; gap: 24px; min-width: 0; }
.foerder-zahlen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
.foerder-zahlen div { padding: 16px 0 18px 20px; border-left: 1px solid var(--linie); min-width: 0; }
.foerder-zahlen div:first-child { border-left: 0; padding-left: 0; }
.foerder-zahlen dt { font-size: 12.5px; color: var(--tx-3); }
.foerder-zahlen dd { margin: 4px 0 0; font-size: clamp(22px, 2.6vw, 34px); font-weight: 500; line-height: 1.05; letter-spacing: -.045em; white-space: nowrap; background: linear-gradient(180deg, #2a4b76 0%, #152a45 55%, #2f8a6c 125%); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 420px) { .foerder-zahlen div { padding-left: 12px; } .foerder-zahlen dd { font-size: 20px; } }
.haken { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 14px; }
.haken li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; color: var(--tx); font-size: 16px; }
.haken li::before { content: ""; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--flaeche) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M7 11.4l2.7 2.7L15.3 8.4' fill='none' stroke='%234e8a73' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat; }

/* Leistungen als Bento */
.bento { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(12, 1fr); }
  .bento li:nth-child(1) { grid-column: span 5; }
  .bento li:nth-child(2) { grid-column: span 7; }
  .bento li:nth-child(3) { grid-column: span 7; }
  .bento li:nth-child(4) { grid-column: span 5; }
  .bento li:nth-child(5) { grid-column: span 5; }
  .bento li:nth-child(6) { grid-column: span 7; }
}
.stufe { border-radius: 26px; background: var(--flaeche); padding: clamp(26px, 3vw, 38px); display: grid; gap: 12px; align-content: space-between; min-height: 250px; transition: background-color .5s var(--ease), transform .6s var(--ease); }
.stufe:hover { background: var(--flaeche-2); transform: translateY(-3px); }
@media (prefers-reduced-motion: reduce) { .stufe:hover { transform: none; } }
.stufe-kopf { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 12.5px; color: var(--tx-3); }
.stufe-kopf em { font-style: normal; padding: 5px 11px; border-radius: 999px; background: var(--weiss); color: var(--tx-2); white-space: nowrap; }
.stufe h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; letter-spacing: -.035em; margin-top: 36px; }
.stufe p { color: var(--tx-2); font-size: 15.5px; max-width: 44ch; }
.stufe.hervor { background: radial-gradient(120% 120% at 80% 0%, #1f3a5c 0%, var(--navy) 55%, #0f1f33 100%); color: #fff; }
.stufe.hervor h3 { color: #fff; }
.stufe.hervor p { color: rgba(255, 255, 255, .72); }
.stufe.hervor .stufe-kopf { color: rgba(255, 255, 255, .55); }
.stufe.hervor .stufe-kopf em { background: rgba(154, 212, 187, .16); color: var(--akzent-hell); }

/* Zehn Tage */
.tage { list-style: none; margin: 0; padding: 0; display: grid; }
@media (min-width: 880px) { .tage { grid-template-columns: repeat(4, 1fr); } }
.tag-schritt { position: relative; display: grid; gap: 10px; align-content: start; padding: 0 0 40px 36px; }
.tag-schritt::before { content: ""; position: absolute; left: 6px; top: 12px; bottom: -8px; width: 1px; background: var(--linie-2); }
.tag-schritt::after { content: ""; position: absolute; left: 0; top: 5px; width: 13px; height: 13px; border-radius: 50%; background: var(--weiss); box-shadow: inset 0 0 0 1.5px var(--navy), 0 0 0 5px var(--weiss); }
.tag-schritt:last-child::before { display: none; }
@media (min-width: 880px) {
  .tag-schritt { padding: 44px 32px 0 0; }
  .tag-schritt::before { left: 0; right: 0; top: 11px; bottom: auto; width: auto; height: 1px; }
  .tag-schritt:last-child::before { display: block; right: 70%; }
}
.wann { font-family: var(--f-mono); font-size: 12.5px; color: var(--akzent); }
.tag-schritt p { color: var(--tx-2); font-size: 15px; }

/* Warum */
.warum { display: grid; gap: clamp(40px, 5vw, 96px); }
@media (min-width: 980px) { .warum { grid-template-columns: .9fr 1.1fr; } .warum .kopf { position: sticky; top: 130px; align-self: start; margin-bottom: 0; } }
.gruende { list-style: none; margin: 0; padding: 0; }
.gruende li { display: grid; gap: 8px; padding: 28px 0; border-top: 1px solid var(--linie-2); }
.gruende li:last-child { border-bottom: 1px solid var(--linie-2); }
@media (min-width: 640px) { .gruende li { grid-template-columns: 210px 1fr; gap: 28px; } }
.gruende p { color: var(--tx-2); font-size: 15.5px; }

/* Branchen */
.branchen { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 clamp(28px, 3vw, 48px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.branche { border-top: 1px solid var(--linie-2); padding: 28px 0 32px; display: grid; gap: 10px; align-content: start; }
.branche p { color: var(--tx-2); font-size: 15px; }

/* Praxis */
.fall-kern { padding: clamp(28px, 4.5vw, 64px); display: grid; gap: clamp(32px, 4vw, 52px); }
.fall-kopf { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
.fall-kopf h3 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; letter-spacing: -.035em; }
.etikett { font-size: 12.5px; color: var(--tx-2); padding: 7px 14px; border-radius: 999px; background: var(--flaeche); }
.fall-spalten { display: grid; gap: 28px clamp(28px, 3vw, 48px); }
@media (min-width: 880px) { .fall-spalten { grid-template-columns: repeat(3, 1fr); } }
.fall-spalten > div { display: grid; gap: 12px; align-content: start; min-width: 0; }
.fall-spalten .klein { text-transform: uppercase; letter-spacing: .18em; font-size: 10.5px; font-weight: 500; color: var(--akzent); }
.fall-spalten p, .fall-spalten li { color: var(--tx-2); font-size: 15px; }
.fall-spalten ul { margin: 0; padding-left: 18px; display: grid; gap: 8px; }

/* Menü am Handy */
.burger { display: none; position: relative; width: 44px; height: 44px; flex: none; border: 0; border-radius: 50%; background: var(--flaeche); cursor: pointer; padding: 0; }
.burger span { position: absolute; left: 50%; top: 50%; width: 17px; height: 1.6px; border-radius: 2px; background: var(--navy); transition: transform .5s var(--ease); }
.burger span:nth-child(1) { transform: translate(-50%, calc(-50% - 4px)); }
.burger span:nth-child(2) { transform: translate(-50%, calc(-50% + 4px)); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translate(-50%, -50%) rotate(-45deg); }
.nav-rechts { display: flex; align-items: center; gap: 8px; }
@media (max-width: 900px) { .burger { display: block; } }
.menue {
  position: fixed; inset: 0; z-index: 45; display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: calc(112px + env(safe-area-inset-top, 0px)) 24px calc(28px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%);
  opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s;
}
.menue.offen { opacity: 1; visibility: visible; }
.menue-links { display: grid; }
.menue-links a {
  display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--linie);
  font-size: clamp(28px, 8vw, 38px); font-weight: 500; letter-spacing: -.04em; color: var(--tx); text-decoration: none;
  opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.menue-links a small { font: 400 12px var(--f-mono); letter-spacing: 0; color: var(--tx-3); }
.menue.offen .menue-links a { opacity: 1; transform: none; }
.menue.offen .menue-links a:nth-child(2) { transition-delay: .04s; }
.menue.offen .menue-links a:nth-child(3) { transition-delay: .08s; }
.menue.offen .menue-links a:nth-child(4) { transition-delay: .12s; }
.menue.offen .menue-links a:nth-child(5) { transition-delay: .16s; }
.menue.offen .menue-links a:nth-child(6) { transition-delay: .2s; }
.menue .pill { justify-content: space-between; }
body.menue-auf { overflow: hidden; }
@media (min-width: 901px) { .menue { display: none; } }
@media (prefers-reduced-motion: reduce) { .menue, .menue-links a, .burger span { transition: none; } }

/* Icons der Warnsignale */
.signal { grid-template-columns: 48px 1fr; column-gap: 20px; row-gap: 6px; }
.signal .symbol { grid-row: span 2; width: 48px; height: 48px; border-radius: 50%; background: var(--flaeche); display: grid; place-items: center; color: var(--navy); }
.signal .symbol svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* Fotoband */
.band-sec { padding-bottom: clamp(96px, 11vw, 168px); }
.band { position: relative; margin: 0; border-radius: 34px; overflow: hidden; min-height: clamp(440px, 52vw, 620px); display: grid; align-items: end; background: var(--nacht); }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 20, 32, 0) 28%, rgba(12, 20, 32, .38) 58%, rgba(12, 20, 32, .82) 100%); }
.band-txt { position: relative; z-index: 1; display: grid; gap: 16px; padding: clamp(28px, 5vw, 64px); max-width: 720px; color: #fff; }
.band-txt .tag { background: rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .85); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.band-txt .tag::before { background: var(--akzent-hell); }
.band-txt h2 { color: #fff; }
.band-txt h2 em { color: var(--akzent-hell); }
.band-txt p { color: rgba(255, 255, 255, .82); font-size: 17px; max-width: 54ch; }

/* Grafiken in den Leistungs-Kacheln */
.stufe .mini { display: block; width: 168px; height: 56px; margin-top: 26px; overflow: visible; }
.mini .l { fill: none; stroke: var(--navy); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; opacity: .5; }
.mini .a { fill: none; stroke: var(--akzent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mini .f { fill: var(--akzent); }
.mini .g { fill: var(--navy); opacity: .14; }
.stufe.hervor .mini .l { stroke: #fff; opacity: .45; }
.stufe.hervor .mini .a { stroke: var(--akzent-hell); }
.stufe.hervor .mini .f { fill: var(--akzent-hell); filter: drop-shadow(0 0 6px rgba(154, 212, 187, .6)); }
.stufe.hervor .mini .g { fill: #fff; opacity: .22; }
.stufe h3 { margin-top: 22px !important; }

/* Foto bei „Warum“ */
.warum-bild { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 26px; margin-top: 12px; background: var(--flaeche); }

/* Branchen mit Fotos */
.branchen { grid-template-columns: 1fr; gap: 40px clamp(20px, 2.4vw, 32px); }
@media (min-width: 560px) { .branchen { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .branchen { grid-template-columns: repeat(4, 1fr); } }
.branche { border-top: 0; padding: 0; gap: 10px; }
.branche-bild { margin: 0 0 8px; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--flaeche); }
.branche-bild img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease); }
.branche:hover .branche-bild img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .branche:hover .branche-bild img { transform: none; } }

/* Fragen: aufklappbar über das Kreuz */
.fragen-layout { display: grid; gap: clamp(32px, 5vw, 96px); }
@media (min-width: 980px) { .fragen-layout { grid-template-columns: .8fr 1.2fr; } .fragen-layout .kopf { position: sticky; top: 130px; align-self: start; margin-bottom: 0; } .fragen-layout h2 { font-size: clamp(34px, 3.3vw, 46px); } }
.fragen { border-top: 1px solid var(--linie-2); }
.fragen details { border-bottom: 1px solid var(--linie-2); }
.fragen summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 0; font-weight: 500; font-size: clamp(17px, 1.6vw, 19px); line-height: 1.35; letter-spacing: -.02em; color: var(--tx);
}
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary:focus-visible { outline: 2px solid var(--akzent); outline-offset: 4px; }
.kreuz { position: relative; width: 38px; height: 38px; flex: none; border-radius: 50%; background: var(--flaeche); transition: transform .5s var(--ease), background-color .4s var(--ease); }
.kreuz::before, .kreuz::after { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 1.6px; border-radius: 1px; background: var(--navy); transform: translate(-50%, -50%); transition: background-color .4s var(--ease); }
.kreuz::after { transform: translate(-50%, -50%) rotate(90deg); }
.fragen summary:hover .kreuz { background: var(--flaeche-2); }
.fragen details[open] .kreuz { transform: rotate(45deg); background: var(--navy); }
.fragen details[open] .kreuz::before, .fragen details[open] .kreuz::after { background: #fff; }
.fragen .antwort { padding: 0 62px 28px 0; color: var(--tx-2); font-size: 15.5px; max-width: 70ch; }
.fragen .antwort a { color: var(--navy); text-underline-offset: 3px; text-decoration-color: rgba(47, 138, 108, .45); }
@media (max-width: 560px) { .fragen .antwort { padding-right: 0; } }
@supports (interpolate-size: allow-keywords) {
  @media (prefers-reduced-motion: no-preference) {
    :root { interpolate-size: allow-keywords; }
    .fragen details::details-content { block-size: 0; overflow: hidden; transition: block-size .5s var(--ease), content-visibility .5s allow-discrete; }
    .fragen details[open]::details-content { block-size: auto; }
  }
}
@media (prefers-reduced-motion: reduce) { .kreuz, .kreuz::before, .kreuz::after { transition: none; } }

/* Kontakt */
.kontakt-kern { padding: clamp(32px, 5.5vw, 88px); display: grid; gap: clamp(40px, 5vw, 80px); align-items: start; color: #fff; }
@media (min-width: 1000px) { .kontakt-kern { grid-template-columns: .9fr 1.1fr; } }
.kontakt-txt { display: grid; gap: 24px; min-width: 0; }
.kontakt-txt h2 { color: #fff; }
.kontakt-txt h2 em { color: var(--akzent-hell); }
.kontakt-txt .tag { background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .7); }
.kontakt-txt .lead { color: rgba(255, 255, 255, .7); }
.ablauf { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 16px; counter-reset: a; }
.ablauf li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; color: rgba(255, 255, 255, .84); font-size: 15.5px; }
.ablauf li::before { counter-increment: a; content: counter(a); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 500 12.5px var(--f-mono); background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.form-schale { padding: 7px; border-radius: 30px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); min-width: 0; }
.formular { background: var(--weiss); color: var(--tx); border-radius: 23px; padding: clamp(22px, 3vw, 38px); box-shadow: inset 0 1px 0 #fff; }
.segment { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 999px; background: var(--flaeche); margin: 0 0 26px; border: 0; }
.segment legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.segment label { position: relative; flex: 1 1 auto; }
.segment input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.segment span { display: block; text-align: center; white-space: nowrap; padding: 10px 14px; border-radius: 999px; font-size: 14px; color: var(--tx-2); cursor: pointer; transition: background-color .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease); }
.segment input:checked + span { background: var(--weiss); color: var(--navy); font-weight: 500; box-shadow: 0 1px 2px rgba(21, 42, 69, .08), 0 6px 14px -8px rgba(21, 42, 69, .3); }
.segment input:focus-visible + span { outline: 2px solid var(--akzent); outline-offset: 2px; }
@media (max-width: 560px) {
  .kontakt-kern { padding: 32px 18px 18px; }
  .form-schale { padding: 5px; border-radius: 26px; }
  .formular { border-radius: 21px; padding: 20px 16px 22px; }
  .segment { flex-wrap: nowrap; }
  .segment label { flex: 1 1 0; min-width: 0; }
  .segment span { padding: 10px 2px; font-size: 12.5px; }
  .kontakt-kern { padding-inline: 14px; }
  .check-karte { padding: 22px 18px; min-height: 0; }
}
.felder { display: grid; gap: 16px; }
@media (min-width: 620px) { .felder.zwei { grid-template-columns: 1fr 1fr; } }
.feld { display: grid; gap: 8px; min-width: 0; }
.feld label { font-size: 13px; color: var(--tx-2); }
.feld label i { font-style: normal; color: var(--tx-3); }
.feld input, .feld select, .feld textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 14px; border: 1px solid transparent;
  background: var(--flaeche); color: var(--tx); font: 400 16px var(--f); transition: border-color .4s var(--ease), background-color .4s var(--ease), box-shadow .4s var(--ease);
}
.feld textarea { min-height: 116px; resize: vertical; }
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: none; border-color: rgba(21, 42, 69, .3); background: var(--weiss); box-shadow: 0 0 0 4px rgba(21, 42, 69, .06); }
.einwilligung { display: grid; grid-template-columns: 24px 1fr; gap: 10px; margin-top: 6px; font-size: 13px; color: var(--tx-2); }
.einwilligung input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--navy); }
.einwilligung a { color: var(--navy); }
.topf { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.senden { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 26px; }
.status { margin-top: 14px; font-size: 14px; color: var(--tx-2); }
.status:empty { display: none; }
.status.ok { color: var(--gruen); }
.status.fehler { color: var(--rot); }

/* Fußzeile */
.fuss { padding-block: clamp(64px, 7vw, 96px) 72px; font-size: 14px; color: var(--tx-2); }
.fuss-grid { display: grid; gap: 32px; padding-top: 40px; border-top: 1px solid var(--linie); }
@media (min-width: 880px) { .fuss-grid { grid-template-columns: 1fr 1fr; } }
.fuss-links { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: start; align-content: start; }
.fuss-siegel { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 12px; }
.fuss-siegel img { display: block; width: auto; }
.fuss-siegel .s-adler { height: 42px; }
.fuss-siegel .s-ubit { height: 56px; }
.fuss-links a, .fuss-links summary { color: var(--tx); text-decoration: none; cursor: pointer; }
.fuss-links a:hover, .fuss-links summary:hover { color: var(--akzent); }
details.impressum { flex-basis: 100%; order: 3; }
details.impressum summary { list-style: none; display: inline-block; }
details.impressum summary::-webkit-details-marker { display: none; }
.impressum-inhalt { margin-top: 16px; display: grid; gap: 12px; font-size: 13.5px; max-width: 620px; }
.impressum-inhalt dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; }
.impressum-inhalt dt { color: var(--tx-3); }
.impressum-inhalt dd { margin: 0; color: var(--tx); min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 520px) { .impressum-inhalt dl { grid-template-columns: 1fr; } .impressum-inhalt dd { margin-bottom: 8px; } }

/* Insel am Handy */
.insel { display: none; }
@media (max-width: 760px) {
  .nav .pill { display: none; }
  .insel {
    display: grid; grid-template-columns: auto 1fr; gap: 6px; position: fixed; z-index: 40;
    left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); padding: 6px; border-radius: 999px;
    background: rgba(255, 255, 255, .82); border: 1px solid rgba(21, 42, 69, .06);
    -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 14px 40px -18px rgba(21, 42, 69, .5);
  }
  .insel .pill { justify-content: space-between; }
  .insel .pill-hell { border-color: transparent; background: var(--flaeche); padding-right: 18px; }
  body { padding-bottom: 92px; }
}

/* ===== Hochglanz-Schicht: Mint als Akzent, polierte Flächen ===== */
:root { --mint: #9ad4bb; --mint-zart: #e4f5ed; --mint-glanz: linear-gradient(180deg, #c6eedc 0%, #8fd0b4 100%); }

/* Knöpfe mit Lichtkante, Mint-Pfeil und Lichtstreif */
.pill { position: relative; overflow: hidden; isolation: isolate; }
.pill::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(110deg, transparent 32%, rgba(255, 255, 255, .26) 46%, transparent 60%); transform: translateX(-130%); transition: transform 1.1s var(--ease); }
.pill:hover::before { transform: translateX(130%); }
.pill .kreis { background: var(--mint-glanz) !important; color: var(--navy) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 6px 16px -6px rgba(110, 190, 158, .95); }
.pill-dunkel { background: linear-gradient(180deg, #23436d 0%, #152a45 55%, #0f203a 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), inset 0 -1px 0 rgba(0, 0, 0, .28), 0 0 0 1px rgba(15, 32, 58, .9), 0 18px 40px -20px rgba(21, 42, 69, .95); }
.pill-dunkel:hover { background: linear-gradient(180deg, #2a4e7d 0%, #1a3354 55%, #12264a 100%); }
.pill-hell { background: linear-gradient(180deg, #ffffff 0%, #f3f6f8 100%); border-color: rgba(21, 42, 69, .12); box-shadow: inset 0 1px 0 #fff, 0 10px 26px -18px rgba(21, 42, 69, .55); }
.pill-hell::before { background: linear-gradient(110deg, transparent 32%, rgba(154, 212, 187, .4) 46%, transparent 60%); }
.pill-weiss { background: linear-gradient(180deg, #ffffff 0%, #edf2f5 100%); box-shadow: inset 0 1px 0 #fff, 0 16px 34px -18px rgba(0, 0, 0, .6); }
@media (prefers-reduced-motion: reduce) { .pill::before { display: none; } }

/* Insel-Navigation und Leisten wie Glas */
.nav, .insel { background: linear-gradient(180deg, rgba(255, 255, 255, .94), rgba(255, 255, 255, .76)); border: 1px solid rgba(255, 255, 255, .95); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(21, 42, 69, .06), 0 16px 44px -22px rgba(21, 42, 69, .5); }
.burger { background: linear-gradient(180deg, #fff, #eef2f5); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(21, 42, 69, .08); }

/* Kennzeichnungen */
.tag { background: linear-gradient(180deg, #ffffff, #f2f5f7); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(21, 42, 69, .07); }
.tag::before { background: var(--mint); box-shadow: 0 0 0 3px rgba(154, 212, 187, .28), 0 0 10px rgba(154, 212, 187, .95); }
.marker::before { background: var(--mint); }

/* Betonte Wörter mit Glanzverlauf */
h1 em, h2 em { background: linear-gradient(100deg, #237a5e 0%, #3fa682 50%, #2b8768 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; }
.dunkel h2 em, .kontakt-txt h2 em, .band-txt h2 em { background: linear-gradient(100deg, #d2f3e4 0%, #8fd0b4 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Doppelrand poliert */
.schale { background: linear-gradient(180deg, rgba(255, 255, 255, .95), rgba(234, 240, 244, .75)); box-shadow: inset 0 0 0 1px rgba(21, 42, 69, .06), 0 1px 0 #fff; }
.kern { background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%); box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px rgba(21, 42, 69, .05), 0 1px 2px rgba(21, 42, 69, .05), 0 30px 70px -40px rgba(21, 42, 69, .38); }
.kern.nacht, .stufe.hervor {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, .11) 0%, rgba(255, 255, 255, .02) 30%, rgba(255, 255, 255, 0) 46%),
    radial-gradient(60% 55% at 100% 100%, rgba(154, 212, 187, .2), rgba(154, 212, 187, 0) 70%),
    radial-gradient(120% 100% at 75% 0%, #22416a 0%, #101c2c 52%, #0b131f 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 0 0 1px rgba(255, 255, 255, .05), 0 40px 90px -42px rgba(12, 20, 32, .85), 0 34px 90px -56px rgba(110, 190, 158, .7);
}

.haken li::before { background-color: var(--mint-zart); }

/* Leistungs-Kacheln poliert */
.stufe:not(.hervor) { background: linear-gradient(180deg, #ffffff 0%, #f6f9fa 100%); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(21, 42, 69, .07), 0 24px 50px -36px rgba(21, 42, 69, .35); transition: transform .6s var(--ease), box-shadow .5s var(--ease); }
.stufe:not(.hervor):hover { background: linear-gradient(180deg, #ffffff 0%, #f6f9fa 100%); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(143, 208, 180, .95), 0 30px 60px -34px rgba(47, 138, 108, .45); }
.stufe-kopf em { background: var(--mint-zart); color: #24705a; }
.stufe.hervor .stufe-kopf em { background: rgba(154, 212, 187, .18); color: var(--mint); box-shadow: inset 0 0 0 1px rgba(154, 212, 187, .3); }

/* Frühwarn-Check */
.balken i { background: linear-gradient(90deg, #8fd0b4, #2f8a6c); }
.wahl button:hover { border-color: #8fd0b4; }
.wahl button[aria-pressed="true"] { border-color: #8fd0b4; background: var(--mint-zart); }
.wahl button[aria-pressed="true"]::after { border-color: #2f8a6c; box-shadow: inset 0 0 0 5px var(--mint-zart), inset 0 0 0 10px #2f8a6c; }

/* Icons, Zeitleiste, Ablauf, Fragen */
.signal .symbol { background: linear-gradient(180deg, #effaf4, #dff2e8); color: #24705a; box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(47, 138, 108, .12); }
.tag-schritt::after { box-shadow: inset 0 0 0 1.5px #2f8a6c, 0 0 0 5px var(--weiss), 0 0 14px rgba(154, 212, 187, .9); }
.ablauf li::before { background: rgba(154, 212, 187, .16); color: var(--mint); box-shadow: inset 0 0 0 1px rgba(154, 212, 187, .35); }
.fragen details[open] .kreuz { background: var(--mint-glanz); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 6px 16px -6px rgba(110, 190, 158, .95); }
.fragen details[open] .kreuz::before, .fragen details[open] .kreuz::after { background: var(--navy); }
.fragen summary:hover .kreuz { background: var(--mint-zart); }

/* Bilder mit Tiefe */
.band { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 44px 90px -54px rgba(12, 20, 32, .75); }
.warum-bild, .branche-bild { box-shadow: 0 26px 54px -36px rgba(21, 42, 69, .55); }

/* Hero-Quadrate in Mint */
.hero-bg .quadrat { background: var(--mint-glanz); }
.hero-bg .q1 { opacity: 1; box-shadow: 0 14px 30px -18px rgba(110, 190, 158, .9); }
.hero-bg .q2, .hero-bg .q3 { opacity: .45; }

.pill:disabled { opacity: .6; cursor: progress; }

/* Zarter Mint-Schein hinter Förderung */
#foerderung { background: radial-gradient(42% 52% at 82% 42%, rgba(154, 212, 187, .2), rgba(154, 212, 187, 0) 70%); }

/* Leitfaden als 3D-Buch (Aufbau wie der Baustein „Buch / PDF-Cover“ im CRM-Website-Baukasten, hier in Tragkraft-Farben) */
.buch { width: 100%; display: grid; place-items: center; padding: 10px 0 18px; }
.buch img { display: block; width: min(78%, 320px); height: auto; transition: transform .9s var(--ease); transform-origin: 50% 80%; }
.buch:hover img, a:hover .buch img { transform: translateY(-5px) rotate(-.8deg); }
.cover { position: absolute; inset: 0; border-radius: 3px 10px 10px 3px; overflow: hidden; color: #fff; display: block;
  background: linear-gradient(155deg, #27507c 0%, #152a45 46%, #0c1420 100%);
  box-shadow: inset 7px 0 12px -6px rgba(0, 0, 0, .5), 0 2px 6px rgba(0, 0, 0, .22); container-type: inline-size; }
.cover::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5.5cqi; background: linear-gradient(90deg, rgba(255, 255, 255, .22), rgba(0, 0, 0, .28) 45%, rgba(255, 255, 255, .1) 75%, transparent); z-index: 3; }
.cover::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 9cqi 9cqi; -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 70%); mask-image: linear-gradient(180deg, #000 0%, transparent 70%); }
.cover-glanz { position: absolute; right: -32%; bottom: -22%; width: 100%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(154, 212, 187, .55) 0%, rgba(154, 212, 187, 0) 66%); z-index: 1; }
.cover-innen { position: absolute; inset: 0; z-index: 2; display: grid; grid-template-rows: auto 1fr auto; padding: 11cqi 10cqi 9cqi 13cqi; }
.cover-marke { display: flex; align-items: center; gap: 2.6cqi; font-size: 4.2cqi; font-weight: 600; letter-spacing: -.02em; }
.cover-marke svg { width: 10cqi; height: 7cqi; color: #fff; }
.cover-titel { align-self: center; display: grid; gap: 4.5cqi; }
.cover-titel small { font-size: 3.4cqi; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--akzent-hell); }
.cover-titel b { font-weight: 500; font-size: 11cqi; line-height: 1.02; letter-spacing: -.045em; text-wrap: balance; }
.cover-titel b em { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; color: var(--akzent-hell); }
.cover-titel span { font-size: 4.3cqi; line-height: 1.4; color: rgba(255, 255, 255, .78); max-width: 30ch; }
.cover-fuss { display: flex; justify-content: space-between; align-items: end; gap: 3cqi; white-space: nowrap; padding-top: 4cqi; border-top: 1px solid rgba(255, 255, 255, .16); font-size: 3.2cqi; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }
/* Zweite Ausgabe: hell mit Mint, große Zahl */
.cover.hell { color: var(--navy); background: linear-gradient(160deg, #ffffff 0%, #eef8f3 52%, #cdebdd 100%); box-shadow: inset 7px 0 12px -6px rgba(21, 42, 69, .28), inset 0 0 0 1px rgba(21, 42, 69, .06), 0 2px 6px rgba(21, 42, 69, .14); }
.cover.hell::after { background-image: linear-gradient(rgba(21, 42, 69, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(21, 42, 69, .05) 1px, transparent 1px); }
.cover.hell .cover-glanz { background: radial-gradient(circle, rgba(47, 138, 108, .28) 0%, rgba(47, 138, 108, 0) 66%); }
.cover.hell .cover-marke svg { color: var(--navy); }
.cover.hell .cover-titel small { color: var(--akzent); }
.cover.hell .cover-titel b em { color: var(--akzent); }
.cover.hell .cover-titel span { color: var(--tx-2); }
.cover.hell .cover-fuss { color: var(--tx-3); border-top-color: var(--linie-2); }
.cover-titel .cover-zahl { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: 38cqi; line-height: .78; letter-spacing: -.05em; color: var(--akzent); max-width: none; margin-bottom: -2cqi; }
@media (prefers-reduced-motion: reduce) { .buch img { transition: none; } }

/* Ratgeber-Karten (Startseite, Übersicht, Weiterlesen) */
.art-karten { display: grid; gap: 14px; }
@media (min-width: 760px) { .art-karten { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .art-karten.drei { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.art-karte { display: grid; align-content: start; gap: 12px; padding: clamp(22px, 2.6vw, 30px); border-radius: 22px; text-decoration: none; color: var(--tx); background: linear-gradient(180deg, #ffffff 0%, #f7f9fa 100%); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(21, 42, 69, .07), 0 24px 50px -38px rgba(21, 42, 69, .4); transition: transform .6s var(--ease), box-shadow .6s var(--ease); min-width: 0; }
.art-karte:hover { transform: translateY(-3px); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(21, 42, 69, .12), 0 30px 60px -36px rgba(21, 42, 69, .5); }
.art-karte .art-kicker { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--akzent); }
.art-karte h3 { font-size: clamp(19px, 1.7vw, 22px); line-height: 1.25; letter-spacing: -.025em; }
.art-karte p { font-size: 15px; color: var(--tx-2); }
.art-karte .art-mehr { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; font-size: 13px; color: var(--tx-3); }
.art-karte .art-mehr .kreis { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--flaeche); color: var(--navy); transition: transform .5s var(--ease), background-color .5s var(--ease); }
.art-karte .art-mehr .kreis svg { width: 13px; height: 13px; }
.art-karte:hover .art-mehr .kreis { transform: translate(2px, -1px); background: var(--mint-zart, #e4f5ed); }
.art-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.art-chips span { padding: 4px 10px; border-radius: 999px; font-size: 12px; color: var(--tx-2); background: var(--flaeche); }
.art-karte-weg { grid-column: 1 / -1; display: grid; gap: 18px; align-content: center; padding: clamp(24px, 3vw, 36px); border-radius: 22px; background: var(--mint-zart); box-shadow: inset 0 0 0 1px rgba(47, 138, 108, .14); }
@media (min-width: 1080px) { .art-karte-weg { grid-column: span 2; } }
.art-karte-weg h3 { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -.03em; line-height: 1.2; max-width: 22ch; }
.art-karte-weg p { color: var(--tx-2); font-size: 15.5px; max-width: 54ch; }

/* Ratgeber-Hinweis auf der Startseite */
.rg-teaser { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; margin-bottom: clamp(28px, 4vw, 48px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--linie-2); }
@media (min-width: 980px) { .rg-teaser { grid-template-columns: 1.1fr .9fr; } }
.rg-teaser-kopf { display: grid; gap: 20px; justify-items: start; }
.rg-teaser-buecher { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; text-decoration: none; color: var(--tx-2); font-size: 13px; text-align: center; }
.rg-teaser-buecher .buch { padding: 0 0 12px; }
.rg-teaser-buecher .buch img { width: min(88%, 220px); }
.rg-teaser-buecher > span > b { display: block; color: var(--tx); font-weight: 500; font-size: 14px; }
.rg-teaser-buecher .cover { text-align: left; }

/* Förderung und Partner, direkt unter dem Einstieg */
.partner { padding-top: clamp(40px, 5vw, 64px); }
.partner-leiste { display: grid; gap: 22px 44px; align-items: center; padding: clamp(22px, 3vw, 30px) clamp(22px, 3.4vw, 40px); border-radius: 26px; background: linear-gradient(180deg, #ffffff 0%, #f7f9fa 100%); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px var(--linie), 0 24px 50px -40px rgba(21, 42, 69, .4); }
@media (min-width: 1040px) { .partner-leiste { grid-template-columns: auto auto 1fr; } }
.partner-label { margin: 0; font: 600 11px/1.5 var(--f); letter-spacing: .18em; text-transform: uppercase; color: var(--tx-3); }
.siegel { display: flex; align-items: center; gap: 16px; min-width: 0; text-decoration: none; color: inherit; }
.siegel-zeichen { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: radial-gradient(120% 120% at 30% 20%, #27507c 0%, var(--navy) 55%, var(--nacht) 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 10px 22px -12px rgba(12, 20, 32, .7); }
.siegel-zeichen svg { width: 30px; height: 21px; }
.siegel-streifen { flex: none; align-self: stretch; width: 4px; border-radius: 2px; background: var(--mint-glanz); }
.siegel-txt { display: grid; gap: 3px; min-width: 0; }
.siegel-txt small { font-size: 12px; line-height: 1.35; color: var(--tx-2); }
.siegel-txt b { font-size: clamp(17px, 1.55vw, 20px); font-weight: 600; line-height: 1.2; letter-spacing: -.025em; color: var(--navy); }
.siegel-txt em { font-style: normal; font-size: 12px; color: var(--tx-3); }
.siegel:hover .siegel-txt b { color: var(--akzent); }
.partner-logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 18px 0; }
.partner-logos li { display: flex; align-items: center; padding: 0 0 0 36px; margin-left: 36px; border-left: 1px solid var(--linie-2); }
.partner-logos li:first-child { padding-left: 0; margin-left: 0; border-left: 0; }
.partner-logos a { display: block; }
.partner-logos img { display: block; width: auto; height: 34px; }
@media (max-width: 1039px) {
  .partner-logos { justify-content: flex-start; padding-top: 18px; border-top: 1px solid var(--linie); }
}
@media (max-width: 560px) {
  .partner-logos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .partner-logos li { padding: 0; margin: 0; border: 0; }
  .partner-logos img { height: auto; max-height: 30px; max-width: 100%; }
  .siegel-zeichen { width: 48px; height: 48px; }
}

/* Förder-Check: Ergebnis-Stempel */
/* Stempel bekommt eine eigene Spalte neben Ampel und Überschrift: so überdeckt er nie Text, egal wie lang die Zeilen sind */
#fcErgebnis { position: relative; grid-template-columns: minmax(0, 1fr) auto; column-gap: 14px; }
#fcErgebnis > * { grid-column: 1 / -1; min-width: 0; }
#fcErgebnis > .ampel, #fcErgebnis > h3 { grid-column: 1; }
#fcErgebnis > .fc-stempel { grid-column: 2; grid-row: 1 / span 2; align-self: start; margin: -12px -8px -16px 0; }
.fc-stempel { position: relative; width: 124px; height: 124px; pointer-events: none; mix-blend-mode: multiply; color: var(--akzent); opacity: .9; transform: rotate(-12deg); animation: fc-stempel .75s cubic-bezier(.2, .9, .25, 1.15) .15s both; }
.fc-stempel svg { width: 100%; height: 100%; display: block; font-family: var(--f); overflow: visible; }
#fcErgebnis[data-stufe="gelb"] .fc-stempel { color: #b5861c; }
#fcErgebnis[data-stufe="rot"] .fc-stempel { color: var(--rot); }
@keyframes fc-stempel {
  0% { opacity: 0; transform: scale(2.3) rotate(-30deg); }
  55% { opacity: .95; transform: scale(.93) rotate(-10deg); }
  78% { transform: scale(1.04) rotate(-13deg); }
  100% { opacity: .9; transform: scale(1) rotate(-12deg); }
}
#fcErgebnis:has(.fc-stempel) { animation: fc-ruck .35s ease-out .55s both; }
@keyframes fc-ruck { 0% { transform: none; } 30% { transform: translate(1px, 1.5px); } 60% { transform: translate(-1px, -.5px); } 100% { transform: none; } }
@media (max-width: 560px) {
  .fc-stempel { width: 92px; height: 92px; }
  /* schmal: Ampel-Zeile über die volle Breite, Stempel neben der Überschrift */
  #fcErgebnis > .ampel { grid-column: 1 / -1; }
  #fcErgebnis > .fc-stempel { grid-row: 2; margin: -4px -6px -10px 0; }
}
@media (prefers-reduced-motion: reduce) { .fc-stempel, #fcErgebnis:has(.fc-stempel) { animation: none; } }

/* ===== Video direkt unter dem Einstieg: Vorschaubild mit Start-Knopf, Kapitel zum Springen ===== */
.film { padding-top: clamp(72px, 8vw, 120px); }
.film-kopf { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(32px, 4vw, 48px); }
.film-grid { display: grid; gap: clamp(16px, 2.4vw, 32px); align-items: start; }
@media (min-width: 980px) { .film-grid { grid-template-columns: minmax(0, 1fr) 300px; } }
.film-buehne { margin: 0; min-width: 0; }
.film-kern { position: relative; overflow: hidden; aspect-ratio: 16 / 9; }
.film-kern video { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--nacht); }
.film-start {
  position: absolute; inset: 0; display: grid; place-items: center; margin: 0; padding: 0; border: 0; cursor: pointer;
  color: #fff; font: inherit; background: linear-gradient(180deg, rgba(12, 20, 32, 0) 38%, rgba(12, 20, 32, .64) 100%);
}
.film-knopf {
  position: relative; width: clamp(64px, 7vw, 88px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; color: var(--navy);
  background: var(--mint-glanz); transition: transform .6s var(--ease);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85), 0 18px 40px -14px rgba(110, 190, 158, .9), 0 0 0 10px rgba(154, 212, 187, .14);
}
.film-knopf svg { width: 38%; height: 38%; margin-left: 6%; fill: currentColor; }
.film-knopf::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(154, 212, 187, .55); animation: film-puls 2.6s var(--ease) infinite; }
@keyframes film-puls { 0% { transform: scale(.92); opacity: .9; } 100% { transform: scale(1.45); opacity: 0; } }
.film-start:hover .film-knopf { transform: scale(1.06); }
.film-start:active .film-knopf { transform: scale(.97); }
.film-start:focus-visible { outline: 2px solid var(--mint); outline-offset: -8px; border-radius: 26px; }
.film-hinweis { position: absolute; left: clamp(16px, 2.4vw, 28px); bottom: clamp(14px, 2vw, 24px); display: grid; gap: 3px; text-align: left; font-size: 13px; color: rgba(255, 255, 255, .72); }
.film-hinweis b { font-size: 16px; font-weight: 500; color: #fff; letter-spacing: -.01em; }
@media (prefers-reduced-motion: reduce) { .film-knopf::after { animation: none; opacity: 0; } }

.film-kapitel { display: grid; align-content: start; gap: 10px; min-width: 0; padding: 20px 14px 14px; border-radius: 30px; background: var(--flaeche); box-shadow: inset 0 0 0 1px var(--linie); }
.film-kapitel-titel { margin: 0 10px 2px; font: 500 10.5px/1 var(--f); letter-spacing: .2em; text-transform: uppercase; color: var(--tx-3); }
.film-kapitel ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.film-kapitel button {
  width: 100%; display: flex; align-items: center; gap: 14px; padding: 11px 12px; border: 0; border-radius: 14px; background: transparent; cursor: pointer;
  color: var(--tx); font: 400 15px/1.3 var(--f); letter-spacing: -.01em; text-align: left; transition: background-color .4s var(--ease), transform .4s var(--ease);
}
.film-kapitel button span { flex: none; min-width: 38px; font: 500 12.5px/1 var(--f-mono); color: var(--akzent); font-variant-numeric: tabular-nums; }
.film-kapitel button:hover { background: #fff; transform: translateX(2px); }
.film-kapitel button[aria-current="true"] { background: #fff; font-weight: 500; box-shadow: 0 1px 2px rgba(21, 42, 69, .06), inset 3px 0 0 var(--akzent); }
/* schmal: Kapitel als waagrechte Leiste zum Wischen */
@media (max-width: 979px) {
  .film-kapitel { padding: 14px 0 12px; border-radius: 24px; }
  .film-kapitel-titel { margin: 0 18px 2px; }
  .film-kapitel ol { display: flex; gap: 8px; overflow-x: auto; padding: 2px 16px 4px; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .film-kapitel ol::-webkit-scrollbar { display: none; }
  .film-kapitel li { flex: none; scroll-snap-align: start; }
  .film-kapitel button { width: auto; white-space: nowrap; padding: 10px 16px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--linie); font-size: 14px; }
  .film-kapitel button:hover { transform: none; }
  .film-kapitel button[aria-current="true"] { box-shadow: inset 0 0 0 1.5px var(--akzent); }
}
@media (max-width: 560px) {
  .film-knopf { width: 54px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85), 0 12px 28px -12px rgba(110, 190, 158, .9), 0 0 0 7px rgba(154, 212, 187, .14); }
  .film-knopf::after { inset: -7px; }
  .film-hinweis { left: 14px; bottom: 11px; font-size: 11.5px; gap: 1px; }
  .film-hinweis b { font-size: 13.5px; }
}

/* Fallbeispiele auf der Startseite (gefüllt von build-fallbeispiele.py) */
.fall-liste { display: grid; gap: 14px; }
.fall-teaser { display: block; text-decoration: none; color: inherit; transition: transform .6s var(--ease); }
.fall-teaser:hover { transform: translateY(-3px); }
.fall-teaser-kern { padding: clamp(28px, 4.5vw, 64px); display: grid; gap: clamp(28px, 4vw, 48px); }
@media (min-width: 980px) { .fall-teaser-kern { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); align-items: end; } }
.fall-teaser-txt { display: grid; gap: 16px; justify-items: start; min-width: 0; }
.fall-teaser-kicker { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--mint); }
.fall-teaser h3 { color: #fff; font-size: clamp(24px, 2.6vw, 34px); font-weight: 500; line-height: 1.15; letter-spacing: -.035em; max-width: 24ch; }
.fall-teaser p { color: rgba(255, 255, 255, .74); font-size: 16px; max-width: 54ch; }
.fall-teaser .pill { margin-top: 6px; }
.fall-teaser:hover .pill .kreis { transform: translate(2px, -1px); }
.fall-teaser-etikett { font-size: 12.5px; color: rgba(255, 255, 255, .5); }
.fall-teaser-zahlen { margin: 0; display: grid; }
.fall-teaser-zahlen div { padding: 14px 0 12px; border-top: 1px solid rgba(255, 255, 255, .12); min-width: 0; }
.fall-teaser-zahlen dt { font-size: 12.5px; color: rgba(255, 255, 255, .55); }
.fall-teaser-zahlen dd { margin: 4px 0 0; font-size: clamp(24px, 2.4vw, 32px); font-weight: 500; line-height: 1.1; letter-spacing: -.04em; background: linear-gradient(100deg, #d2f3e4 0%, #8fd0b4 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (min-width: 560px) and (max-width: 979px) {
  .fall-teaser-zahlen { grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(255, 255, 255, .12); }
  .fall-teaser-zahlen div { padding: 16px 0 0 16px; border-top: 0; border-left: 1px solid rgba(255, 255, 255, .12); }
  .fall-teaser-zahlen div:first-child { padding-left: 0; border-left: 0; }
}
