/* Förderverein Grundschule Grunbach – Stylesheet
   Schrift: Figtree (selbst gehostet, keine externen Requests)            */

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

/* ---------- Tokens ---------- */
:root {
  color-scheme: light;

  --bg: #f7f7f5;
  --surface: #ffffff;
  --surface-2: #ecedea;
  --line: #d9dbd6;
  --text: #1d2226;
  --text-2: #4d5660;
  --text-3: #6f7883;

  --accent: #c7461f;        /* Terrakotta der Schulfassade */
  --accent-hover: #a93a18;
  --accent-text: #ffffff;
  --accent-soft: #fbe9e2;
  --accent-ink: #8a2f12;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgb(29 34 38 / .06), 0 12px 32px -12px rgb(29 34 38 / .18);
  --max: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}


/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--accent-ink); text-decoration-thickness: 1px; text-underline-offset: .15em; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.12; letter-spacing: -.02em; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 1.3rem + 3.2vw, 3.6rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.65rem, 1.2rem + 1.8vw, 2.5rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
strong { font-weight: 650; }
.lead { font-size: 1.2rem; color: var(--text-2); max-width: 60ch; text-wrap: pretty; }
.muted { color: var(--text-2); }
.small { font-size: .9375rem; }
.measure { max-width: 68ch; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  padding: 10px 16px; background: var(--accent); color: var(--accent-text);
  border-radius: var(--radius-sm); font-weight: 600;
}
.skip-link:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 1.4em;
  border-radius: var(--radius-sm); border: 1.5px solid transparent;
  font: inherit; font-weight: 650; font-size: 1rem; line-height: 1; white-space: nowrap;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .15s var(--ease), border-color .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-text); }
.btn-primary:hover { background: var(--accent-hover); color: var(--accent-text); }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--text-3); color: var(--text); background: var(--surface); }
.btn-light { background: var(--surface); color: var(--text); }
.btn-light:hover { background: var(--surface-2); color: var(--text); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); min-width: 0; }
.brand img { width: 46px; height: auto; border-radius: 50%; flex: none; }
.brand-name { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name b { font-weight: 750; font-size: 1.05rem; letter-spacing: -.01em; }
.brand-name span { font-size: .8rem; color: var(--text-2); }

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { padding: 8px 12px; border-radius: var(--radius-sm); color: var(--text-2); text-decoration: none; font-weight: 550; font-size: .97rem; }
.site-nav a:hover { color: var(--text); background: var(--surface-2); }
.site-nav a[aria-current="page"] { color: var(--text); font-weight: 700; }
.site-nav .btn { margin-left: 10px; min-height: 42px; }
.site-nav .btn-primary, .site-nav .btn-primary:hover { color: var(--accent-text); }
.site-nav .btn-primary:hover { background: var(--accent-hover); }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: transparent; color: var(--text); cursor: pointer; padding: 0;
}
.nav-toggle svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }
.nav-toggle .ic-close { display: none; }
.nav-toggle[aria-expanded="true"] .ic-menu { display: none; }
.nav-toggle[aria-expanded="true"] .ic-close { display: block; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 72px;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px var(--gutter) 20px; background: var(--bg); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 14px; font-size: 1.05rem; }
  .site-nav .btn { margin: 10px 0 0; }
  .brand-name span { display: none; }
}

/* ---------- Sektionen ---------- */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section-tight { padding-block: clamp(40px, 5vw, 64px); }
.section-head { max-width: 62ch; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { color: var(--text-2); font-size: 1.1rem; }

/* Hero */
.hero { padding-block: clamp(28px, 5vw, 64px) clamp(40px, 6vw, 80px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: .55em; }
.hero .lead { margin-bottom: 1.6em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-media { position: relative; margin: 0; }
.hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.hero-media figcaption { margin-top: 10px; font-size: .875rem; color: var(--text-3); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
}

/* Kennzahlen */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts > div { padding: 26px 24px 26px 0; }
.facts > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.facts b { display: block; font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem); font-weight: 750; letter-spacing: -.03em; line-height: 1; color: var(--text); margin-bottom: 6px; }
.facts span { color: var(--text-2); font-size: .98rem; }
@media (max-width: 640px) {
  .facts { grid-template-columns: 1fr; }
  .facts > div { padding: 18px 0; }
  .facts > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}

/* Förderbereiche: Bento mit Foto */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(150px, auto); gap: 14px; }
.bento .cell { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 20px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; }
.bento .cell h3 { margin: 0; font-size: 1.15rem; }
.bento .cell p { margin: 0; color: var(--text-2); font-size: .97rem; }
.bento .cell-accent { background: var(--accent-soft); border-color: transparent; }
.bento .cell-accent h3 { color: var(--accent-ink); }
.bento figure { margin: 0; }
.bento .cell-photo { grid-column: 3; grid-row: 1 / span 3; padding: 0; overflow: hidden; border: 0; position: relative; min-height: 280px; }
.bento .cell-photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.bento .cell-photo figcaption { position: relative; margin-top: auto; padding: 14px 18px; font-size: .875rem; color: #fff; background: linear-gradient(to top, rgb(0 0 0 / .55), transparent); }
@media (max-width: 860px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
  .bento .cell-photo { grid-column: 1 / -1; grid-row: auto; min-height: 240px; }
}
@media (max-width: 520px) { .bento { grid-template-columns: 1fr; } }

/* Projekt-Teaser: Vollbild mit überlappender Karte */
.feature { position: relative; }
.feature-media { border-radius: var(--radius); overflow: hidden; }
.feature-media img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; object-position: 50% 60%; }
.feature-card {
  position: relative; margin: -72px var(--gutter) 0 auto; max-width: 560px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: clamp(22px, 3vw, 34px);
}
.feature-card .kicker { color: var(--accent-ink); font-weight: 650; margin-bottom: 6px; font-size: .95rem; }
.feature-card h2 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem); }
.feature-card p { color: var(--text-2); }
@media (max-width: 860px) {
  .feature-media img { aspect-ratio: 4 / 3; }
  .feature-card { margin: -40px 12px 0; max-width: none; }
}

/* Spenden */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.bank {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 30px);
}
.bank dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; margin: 0; }
.bank dt { color: var(--text-3); font-size: .9rem; padding-top: 3px; }
.bank dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.bank .iban { font-size: 1.15rem; letter-spacing: .02em; }
.bank .copy-row { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.copy-status { font-size: .9rem; color: var(--text-2); min-height: 1.4em; }

/* CTA-Band */
.cta-band { background: var(--accent); color: var(--accent-text); border-radius: var(--radius); padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 28px; align-items: center; }
.cta-band h2 { color: inherit; margin-bottom: .3em; }
.cta-band p { color: inherit; opacity: .9; max-width: 48ch; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { margin-top: clamp(40px, 6vw, 80px); border-top: 1px solid var(--line); background: var(--surface); }
.footer-photo img { width: 100%; height: clamp(120px, 18vw, 200px); object-fit: cover; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-block: 44px 28px; }
.footer-grid h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); margin-bottom: 12px; font-weight: 650; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: var(--text-2); text-decoration: none; }
.footer-grid a:hover { color: var(--accent); text-decoration: underline; }
.footer-grid address { font-style: normal; color: var(--text-2); }
.footer-brand { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 14px; }
.footer-brand img { width: 56px; border-radius: 50%; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding: 18px 0 28px; border-top: 1px solid var(--line); color: var(--text-3); font-size: .9rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Unterseiten ---------- */
.page-head { padding-block: clamp(36px, 6vw, 72px) clamp(24px, 4vw, 40px); }
.page-head h1 { margin-bottom: .35em; }
.page-head .lead { margin: 0; }
.breadcrumb { font-size: .9rem; color: var(--text-3); margin-bottom: 14px; }
.breadcrumb a { color: var(--text-3); }

.article { max-width: 72ch; }
.article h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); margin-top: 1.4em; }
.article h3 { margin-top: 1.4em; }
.article figure { margin: 28px 0; }
.article figure img { border-radius: var(--radius); width: 100%; }
.article figcaption { margin-top: 8px; font-size: .9rem; color: var(--text-3); }
.article .meta { color: var(--text-3); font-size: .95rem; margin-bottom: 18px; }

.project { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: clamp(28px, 4vw, 48px); border-top: 1px solid var(--line); }
.project:first-of-type { border-top: 0; }
.project-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; }
.project-head h2 { margin: 0; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font-size: .8rem; font-weight: 650; letter-spacing: .01em; }
.tag-neutral { background: var(--surface-2); color: var(--text-2); }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.gallery img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
@media (max-width: 640px) { .gallery { grid-template-columns: 1fr; } }
.sponsors { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 10px 0 0; }
.sponsors li { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: .92rem; color: var(--text-2); background: var(--surface); }

/* Mitgliedschaft: Schritte */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--accent-text); font-weight: 750; font-size: 1.1rem; }
.steps h3 { margin: 6px 0 4px; font-size: 1.1rem; }
.steps p { margin: 0; color: var(--text-2); font-size: .98rem; }

.download { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-decoration: none; color: var(--text); transition: border-color .2s, transform .15s var(--ease); }
.download:hover { border-color: var(--accent); color: var(--text); transform: translateY(-1px); }
.download .doc { flex: none; width: 40px; height: 48px; border-radius: 6px; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; font-size: .7rem; font-weight: 750; letter-spacing: .04em; }
.download b { display: block; font-weight: 650; }
.download span { color: var(--text-3); font-size: .9rem; }
.download-list { display: grid; gap: 12px; }

.callout { background: var(--accent-soft); border-radius: var(--radius); padding: 22px 24px; color: var(--text); }
.callout b { color: var(--accent-ink); }
.price { font-size: clamp(2.4rem, 2rem + 2vw, 3.4rem); font-weight: 750; letter-spacing: -.04em; line-height: 1; }
.price small { font-size: 1rem; font-weight: 500; letter-spacing: 0; color: var(--text-2); margin-left: 6px; }

/* Satzung */
.satzung-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.toc { position: sticky; top: 92px; font-size: .92rem; }
.toc h2 { font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); margin-bottom: 10px; }
.toc ol { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 14px; margin-left: -1px; border-left: 2px solid transparent; color: var(--text-2); text-decoration: none; }
.toc a:hover { color: var(--text); border-left-color: var(--accent); }
.satzung h2 { font-size: 1.35rem; margin-top: 2em; padding-top: .4em; }
.satzung h2:first-of-type { margin-top: 0; }
.satzung ol { padding-left: 1.4em; }
.satzung ol ol { list-style: lower-alpha; margin-top: .4em; }
.satzung li { margin-bottom: .5em; }
.satzung .closing { margin-top: 2.5em; color: var(--text-2); font-style: italic; }
@media (max-width: 860px) {
  .satzung-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
  .toc ol { columns: 2; border: 0; }
  .toc a { padding-left: 0; border: 0; }
}

/* Impressum */
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 10px 28px; margin: 0; }
.kv dt { color: var(--text-3); }
.kv dd { margin: 0; }
@media (max-width: 520px) { .kv { grid-template-columns: 1fr; gap: 2px; } .kv dd { margin-bottom: 12px; } }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .reveal.is-visible { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .nav-toggle, .cta-band, .hero-actions { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ---------- Formular (Online-Antrag) ---------- */
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 960px) { .form-layout { grid-template-columns: 1fr; } .form-aside { order: -1; } }
.antrag fieldset { border: 0; padding: 0; margin: 0 0 40px; min-width: 0; }
.antrag legend { font-size: 1.3rem; font-weight: 700; letter-spacing: -.01em; margin-bottom: 16px; padding: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.form-grid .span-2 { grid-column: 1 / -1; }
.form-grid .field-plz { max-width: 160px; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } .form-grid .field-plz { max-width: none; } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .choice-list + .field label { font-weight: 600; font-size: .97rem; }
.optional { font-weight: 450; color: var(--text-3); font-size: .9rem; margin-left: 4px; }
.field input, .field textarea, .input-unit input {
  font: inherit; color: var(--text); background: var(--surface);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 11px 14px; min-height: 48px; width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input::placeholder { color: var(--text-3); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field input[aria-invalid="true"] { border-color: #b3261e; }
.hint { margin: 0; font-size: .9rem; color: var(--text-2); }
.field-error { margin: 0; font-size: .9rem; color: #b3261e; font-weight: 600; }
.form-alert { padding: 14px 18px; border-radius: var(--radius-sm); background: #fdecea; color: #7a1a13; border: 1px solid #f3c2bd; margin-bottom: 28px; }
.form-alert a { color: inherit; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.choice-list { display: grid; gap: 10px; margin-bottom: 14px; }
.choice { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); cursor: pointer; }
.choice:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.choice input { margin: 4px 0 0; width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.field-betrag { max-width: 280px; }
.field-betrag.is-hidden { display: none; }
.input-unit { display: flex; align-items: center; gap: 10px; }
.input-unit span { color: var(--text-2); font-weight: 600; }

.mandat { margin-top: 20px; padding: 18px 20px; background: var(--surface-2); border-radius: var(--radius); font-size: .95rem; color: var(--text-2); }
.mandat p { margin-bottom: .8em; }
.check { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; cursor: pointer; color: var(--text); }
.check + .check { border-top: 1px solid var(--line); }
.check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--accent); flex: none; }
.check.is-invalid span { color: #7a1a13; }
.mandat .check { padding-top: 6px; }

.form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; padding-top: 8px; }
.form-success { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); max-width: 68ch; }
.form-success h2 { color: var(--accent-ink); }
.form-aside h3 { font-size: 1.05rem; margin: 24px 0 10px; }
.mini-steps { padding-left: 1.2em; color: var(--text-2); font-size: .95rem; }
.mini-steps li { margin-bottom: 6px; }
.preview-note { margin: 0 0 24px; padding: 12px 16px; border-radius: var(--radius-sm); background: #fff6d6; color: #5c4600; border: 1px solid #efd98a; font-size: .95rem; }
.preview-note strong { color: inherit; }
.field-live { margin: 0; font-size: .9rem; font-weight: 600; min-height: 1.3em; }
.field-live.is-ok { color: #1f6b3a; }
.field-live.is-error { color: #b3261e; }
.field-live:empty { display: none; }
