/* 360ok.de: reines CSS, kein Build. Gleiche Bildsprache wie oliverklamt.de,
   Akzentfarben aus dem 360OK-Logo (Grün zu Petrol). */

@font-face { font-family: "Geist"; src: url("../fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/GeistMono-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #F3F5F4;
  --surface: #FFFFFF;
  --fg: #101615;
  --muted: #46514F;
  --line: #D3DAD8;
  --accent: #146E72;
  --accent-strong: #1A7F84;
  --green: #2FBF7F;
  --green-text: #1A8F5A;      /* Verlaufstext: 3,75:1 auf --bg, ab 24 px AA */
  --mint: #7FD1BE;
  --band-bg: #145F63;
  --band-fg: #FFFFFF;
  --band-muted: #E3F3EE;
  --button-fg: #FFFFFF;
  --button-from: #0F5F63;
  --button-to: #1A7F84;
  --error: #A3261B;
  --error-bg: #FBEDEB;
  --success-bg: #E3F3EE;
  --tint: #E4F0ED;
  --glow-a: rgba(26, 127, 132, 0.22);
  --glow-b: rgba(47, 191, 127, 0.28);
  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.625rem;
  --step-3: clamp(1.9rem, 1.4rem + 2vw, 2.75rem);
  --radius: 10px;
  --wrap: 72rem;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0F1113; --surface: #171A1D; --fg: #EDEEF0; --muted: #A9AEB6; --line: #2A2E33;
  --accent: #7FD1BE; --accent-strong: #7FD1BE; --band-bg: #0A0C0E; --band-fg: #EDEEF0; --band-muted: #A9AEB6;
  --button-fg: #111316; --button-from: #4FD39A; --button-to: #A8E3D3;
  --error: #FF9C8F; --error-bg: #2A1714; --success-bg: #12271F; --tint: #172321;
  --glow-a: rgba(26, 127, 132, 0.35); --glow-b: rgba(47, 191, 127, 0.16);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font-sans); font-size: var(--step-0); line-height: 1.6; overflow-x: clip; }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -0.03em; font-weight: 560; text-wrap: balance; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: -0.015em; line-height: 1.25; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; }
a { color: var(--accent); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent-strong); outline-offset: 3px; border-radius: 4px; }
img, svg, iframe { max-width: 100%; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 4rem); margin-inline: auto; padding-inline: max(16px, env(safe-area-inset-left)); }
@media (min-width: 48rem) { .wrap { padding-inline: max(2rem, env(safe-area-inset-left)); } }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -4rem; z-index: 100; padding: 0.75rem 1rem; background: var(--fg); color: var(--bg); border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 0.75rem; }
.eyebrow, .label { font-family: var(--font-mono); font-size: var(--step--1); letter-spacing: 0.02em; color: var(--muted); }
.lead { font-size: var(--step-1); color: var(--muted); max-width: 42rem; line-height: 1.5; }
.gradient-text { background: linear-gradient(110deg, var(--green-text), var(--accent-strong) 55%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
:root[data-theme="dark"] .gradient-text { background-image: linear-gradient(110deg, #6BE3B0, #A8E3D3); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem; padding-block: 0.6rem; }
.logo { display: inline-flex; line-height: 0; }
.logo img { width: 5.6rem; height: auto; }
.logo-small img { width: 5rem; }
.header-tools { display: flex; gap: 0.25rem; margin-left: auto; }
.theme-toggle, .nav-toggle, .nav-close { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 0; background: none; color: var(--fg); border-radius: 999px; cursor: pointer; }
.theme-toggle:hover, .nav-toggle:hover, .nav-close:hover { background: var(--tint); }
.theme-toggle svg, .nav-toggle svg, .nav-close svg { width: 1.4rem; height: 1.4rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.theme-toggle[aria-pressed="true"] svg { fill: currentColor; }
.nav-list { display: flex; flex-wrap: wrap; gap: 0.25rem 1.1rem; margin: 0; padding: 0; list-style: none; font-size: 0.95rem; }
.nav-list a { display: inline-block; padding-block: 0.4rem; color: var(--fg); text-decoration: none; }
.nav-list a:hover { color: var(--accent); text-decoration: underline; }
.nav-list a[aria-current="page"] { color: var(--accent); text-decoration: underline; text-decoration-thickness: 2px; }
.nav-list a.nav-cta, .nav-list a.nav-cta:hover, .nav-list a.nav-cta[aria-current="page"] { color: var(--button-fg); text-decoration: none; }
.nav-list .nav-cta { color: var(--button-fg); background: linear-gradient(120deg, var(--button-from), var(--button-to)); padding: 0.5rem 1.1rem; border-radius: 999px; font-weight: 600; text-decoration: none; }
.nav-close, .nav-overlay { display: none; }

@media (min-width: 72rem) { .nav-toggle { display: none; } .header-tools { margin-left: 0; } #hauptmenue { margin-left: auto; } }
@media (max-width: 71.99rem) {
  .js #hauptmenue { position: fixed; inset: 0 0 0 auto; z-index: 40; width: min(22rem, 88vw); padding: 4.5rem 1.5rem 2rem; background: var(--surface); border-left: 1px solid var(--line); transform: translateX(100%); visibility: hidden; transition: transform 0.25s ease, visibility 0.25s; overflow-y: auto; }
  .js #hauptmenue.offen { transform: none; visibility: visible; }
  .js .nav-close { display: inline-grid; position: absolute; top: 0.75rem; right: 0.75rem; }
  .js .nav-list { flex-direction: column; gap: 0; font-size: 1.15rem; }
  .js .nav-list a { padding-block: 0.7rem; display: block; }
  .js .nav-list .nav-cta { text-align: center; margin-top: 1rem; }
  .js .nav-overlay:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 30; background: rgba(8, 14, 13, 0.5); }
  .menue-offen { overflow: hidden; }
  html:not(.js) .header-inner { flex-wrap: wrap; } html:not(.js) .nav-toggle { display: none; }
}

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: 0.75rem 1.4rem; border-radius: 999px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; border: 1.5px solid transparent; transition: transform 0.2s ease, box-shadow 0.2s ease, background-position 0.4s ease; }
.button:hover { text-decoration: none; }
.button-primary { color: var(--button-fg); background: linear-gradient(120deg, var(--button-from), var(--button-to), var(--button-from)); background-size: 200% 100%; box-shadow: 0 6px 20px -10px var(--accent-strong); }
.button-primary:hover { background-position: 100% 0; transform: translateY(-1px); }
.button-ghost { color: var(--fg); border-color: var(--line); background: var(--surface); }
.button-ghost:hover { border-color: var(--accent-strong); }
.button-light { background: #fff; color: #0F5F63; }
.button-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Hero */
.hero, .page-hero { position: relative; isolation: isolate; overflow: hidden; }
.hero { padding-block: clamp(3rem, 7vw, 6rem) clamp(3rem, 6vw, 5rem); }
.page-hero { padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(2rem, 4vw, 3.5rem); }
.hero::before, .page-hero::before { content: ""; position: absolute; inset: -20%; z-index: -1; background: radial-gradient(40% 50% at 80% 30%, var(--glow-b), transparent 70%), radial-gradient(45% 55% at 12% 90%, var(--glow-a), transparent 70%); }
.hero-inner { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 60rem) { .hero-inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); } }
.hero-text { display: grid; gap: 1.4rem; min-width: 0; justify-items: start; }
.hero-title { font-size: clamp(2.2rem, 1.4rem + 3.6vw, 4rem); letter-spacing: -0.045em; font-weight: 540; line-height: 1.03; }
.page-title { font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); letter-spacing: -0.04em; font-weight: 540; line-height: 1.05; max-width: 22ch; }
.page-hero-text { display: grid; gap: 1.2rem; justify-items: start; }
.fakten { font-size: var(--step--1); color: var(--muted); font-family: var(--font-mono); }
.crumbs { font-size: var(--step--1); color: var(--muted); }
.crumbs a { color: var(--muted); }
.hero-art { width: 100%; height: auto; filter: drop-shadow(0 24px 40px rgba(16, 60, 58, 0.18)); }
.hero-art .a-card { fill: var(--surface); stroke: var(--line); }
.hero-art .a-raster { fill: none; stroke: var(--line); stroke-width: 1; opacity: 0.55; }
.hero-art .a-wand { fill: none; stroke: var(--fg); stroke-width: 7; stroke-linejoin: miter; }
.hero-art .a-innen { fill: none; stroke: var(--fg); stroke-width: 5; stroke-linecap: butt; }
.hero-art .a-fenster { fill: none; stroke: var(--accent-strong); stroke-width: 3; }
.hero-art .a-tuer path, .hero-art .a-moebel * { fill: none; stroke: var(--muted); stroke-width: 1.4; }
.hero-art .a-tuer path { stroke-dasharray: 3 3; }
.hero-art .a-mass path { fill: none; stroke: var(--accent); stroke-width: 1.3; }
.hero-art .a-pfad { fill: none; stroke: var(--accent-strong); stroke-width: 2; stroke-dasharray: 2 6; stroke-linecap: round; }
.hero-art .a-ring { fill: var(--glow-b); stroke: var(--accent-strong); stroke-width: 1.5; stroke-dasharray: 4 5; }
.hero-art .a-punkt { fill: var(--accent-strong); }
.hero-art .a-chip { fill: var(--surface); stroke: var(--accent-strong); stroke-width: 1.4; }
.hero-art text { font-family: var(--font-mono); font-size: 12.5px; font-weight: 500; fill: var(--muted); }
.hero-art .a-chiptext { fill: var(--accent); font-weight: 600; }
.hero-art .a-band { stroke: var(--muted); stroke-width: 7; stroke-linecap: round; fill: none; }
.hero-art .a-brille { fill: var(--fg); }
.hero-art .a-linse { fill: var(--surface); stroke: var(--accent-strong); stroke-width: 2.5; }
.hero-art .a-linse-innen { fill: var(--accent-strong); opacity: 0.35; }
.hero-art .a-nase { fill: var(--surface); }

/* Sektionen */
.section { padding-block: clamp(3rem, 6vw, 5.5rem); }
.section-tight { padding-block: clamp(2rem, 4vw, 3.5rem); }
.section-head { display: grid; gap: 0.9rem; max-width: 46rem; margin-bottom: clamp(1.75rem, 3vw, 2.75rem); }
.section-head p { color: var(--muted); font-size: var(--step-1); line-height: 1.5; }
.band { background: var(--band-bg); color: var(--band-fg); }
.band .eyebrow, .band .section-head p, .band p { color: var(--band-muted); }
.band a:not(.button) { color: #fff; }
.tint { background: var(--tint); }

.grid { display: grid; gap: 1.25rem; }
@media (min-width: 40rem) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 62rem) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { display: grid; align-content: start; gap: 0.75rem; padding: 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.card p { color: var(--muted); font-size: 0.98rem; }
.card .more { margin-top: auto; font-weight: 600; font-size: 0.95rem; }
.card-link { text-decoration: none; color: inherit; transition: border-color 0.2s, transform 0.2s; }
.card-link:hover { border-color: var(--accent-strong); transform: translateY(-2px); }
.card-link .more { color: var(--accent); }
.icon { width: 2.6rem; height: 2.6rem; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, var(--green), var(--accent-strong)); color: #fff; }
.icon svg { width: 1.4rem; height: 1.4rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.band .card { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.18); }
.band .card p { color: var(--band-muted); }

.split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 60rem) { .split { grid-template-columns: repeat(2, minmax(0, 1fr)); } .split-wide { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); } }
.stack { display: grid; gap: 1.1rem; justify-items: start; }
.stack p { color: var(--muted); }
.band .stack p { color: var(--band-muted); }

.check-list { list-style: none; padding: 0; display: grid; gap: 0.6rem; }
.check-list li { position: relative; padding-left: 1.9rem; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 0.3em; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: linear-gradient(135deg, var(--green), var(--accent-strong)); }
.check-list li::after { content: ""; position: absolute; left: 0.37rem; top: 0.52em; width: 0.35rem; height: 0.6rem; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0.8); }

.kennzahlen { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 40rem) { .kennzahlen { grid-template-columns: repeat(4, 1fr); } }
.kennzahlen > div { background: var(--surface); padding: 1.25rem 1.5rem; }
.kennzahlen strong { display: block; font-size: 1.9rem; letter-spacing: -0.03em; line-height: 1.1; background: linear-gradient(110deg, var(--green-text), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
:root[data-theme="dark"] .kennzahlen strong { background-image: linear-gradient(110deg, #6BE3B0, #A8E3D3); }
.kennzahlen span { color: var(--muted); font-size: 0.92rem; }

.steps { list-style: none; padding: 0; display: grid; gap: 1.25rem; counter-reset: s; }
@media (min-width: 48rem) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: s; display: grid; gap: 0.5rem; align-content: start; }
.steps li::before { content: "0" counter(s); font-family: var(--font-mono); color: var(--accent); font-size: var(--step--1); border-bottom: 1px solid var(--line); padding-bottom: 0.6rem; }
.steps p { color: var(--muted); font-size: 0.96rem; }
.band .steps li::before { color: #BFEBDD; border-color: rgba(255,255,255,0.3); }
.band .steps h3 { color: #fff; }
.band .steps p { color: var(--band-muted); }

.vergleich { display: grid; gap: 1.25rem; }
@media (min-width: 48rem) { .vergleich { grid-template-columns: repeat(2, 1fr); } }
.vergleich .card h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.vergleich .card .label { font-weight: 400; }

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; }
.chips li { padding: 0.35rem 0.85rem; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; font-size: 0.92rem; }

/* Tour-Embed */
.tour { margin: 0; width: 100%; justify-self: stretch; min-width: 0; }
.tour-box { position: relative; aspect-ratio: var(--ratio, 16/9); background: linear-gradient(135deg, #0F5F63, #1A7F84); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 20px 40px -24px rgba(16,60,58,0.5); }
.tour-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tour-start { all: unset; box-sizing: border-box; position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 0.6rem; padding: 1rem; text-align: center; color: #fff; cursor: pointer; background: radial-gradient(60% 70% at 50% 40%, rgba(255,255,255,0.16), transparent 70%); }
.tour-start:focus-visible { outline: 3px solid #fff; outline-offset: -8px; }
.tour-play { width: 4.25rem; height: 4.25rem; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,0.95); color: #0F5F63; transition: transform 0.2s; }
.tour-start:hover .tour-play { transform: scale(1.08); }
.tour-play svg { width: 1.8rem; height: 1.8rem; fill: currentColor; margin-left: 3px; }
.tour-titel { font-size: var(--step-1); font-weight: 600; letter-spacing: -0.01em; }
.tour-hinweis { font-family: var(--font-mono); font-size: 0.8rem; }
.tour figcaption { margin-top: 0.6rem; font-size: var(--step--1); color: var(--muted); }

/* Preise */
.preis-karten { display: grid; gap: 1.25rem; }
@media (min-width: 40rem) { .preis-karten { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 62rem) { .preis-karten.vier { grid-template-columns: repeat(4, 1fr); } .preis-karten.drei { grid-template-columns: repeat(3, 1fr); } }
.preis { display: grid; align-content: start; gap: 0.6rem; padding: 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); position: relative; }
.preis.top { border-color: var(--accent-strong); box-shadow: 0 0 0 1px var(--accent-strong), 0 18px 36px -24px var(--accent-strong); }
.preis .badge { position: absolute; top: -0.7rem; left: 1.25rem; background: linear-gradient(120deg, var(--button-from), var(--button-to)); color: var(--button-fg); font-size: 0.75rem; font-weight: 600; padding: 0.2rem 0.7rem; border-radius: 999px; }
.preis h3 { font-size: 1.1rem; }
.preis .betrag { font-size: 2.3rem; letter-spacing: -0.04em; font-weight: 560; line-height: 1.1; }
.preis .betrag small { font-size: 0.95rem; color: var(--muted); font-weight: 400; letter-spacing: 0; }
.preis .flaeche { font-family: var(--font-mono); font-size: var(--step--1); color: var(--muted); }
.preis p { color: var(--muted); font-size: 0.95rem; }
.preis .button { margin-top: 0.5rem; }
.tabelle { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 0.98rem; }
.tabelle th, .tabelle td { text-align: left; padding: 0.85rem 1.1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.tabelle tr:last-child td, .tabelle tr:last-child th { border-bottom: 0; }
.tabelle thead th { font-family: var(--font-mono); font-size: var(--step--1); font-weight: 500; color: var(--muted); background: var(--tint); }
.tabelle td:last-child, .tabelle th:last-child { text-align: right; white-space: nowrap; font-weight: 600; }
.tabelle td small { display: block; color: var(--muted); font-weight: 400; }
.hinweis { font-size: var(--step--1); color: var(--muted); max-width: 52rem; }

/* FAQ */
.faq { display: grid; gap: 0.6rem; max-width: 50rem; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary { cursor: pointer; padding: 1rem 1.25rem; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 1.25rem 1.1rem; color: var(--muted); }

/* Querverweise */
.cross { display: grid; gap: 1.25rem; }
@media (min-width: 48rem) { .cross { grid-template-columns: repeat(2, 1fr); } }
.cross a, .cross div { display: grid; gap: 0.5rem; padding: 1.6rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--fg); transition: border-color 0.2s, transform 0.2s; }
.cross a:hover { border-color: var(--accent-strong); transform: translateY(-2px); }
.cross a p { color: var(--muted); font-size: 0.98rem; }
.cross .ziel { font-family: var(--font-mono); font-size: var(--step--1); color: var(--accent); }

.cta-box { display: grid; gap: 1.2rem; justify-items: start; padding: clamp(1.75rem, 4vw, 3rem); border-radius: 16px; background: var(--band-bg); color: var(--band-fg); position: relative; overflow: hidden; isolation: isolate; }
.cta-box::before { content: ""; position: absolute; inset: -30%; z-index: -1; background: radial-gradient(40% 50% at 85% 20%, rgba(47,191,127,0.45), transparent 70%); }
.cta-box p { color: var(--band-muted); max-width: 40rem; }
.cta-box h2 { color: #fff; max-width: 24ch; }

/* Formular */
.form-layout { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 62rem) { .form-layout { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); } }
.form-karte { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: clamp(1.25rem, 3vw, 2.25rem); display: grid; gap: 1.4rem; }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 1rem; min-width: 0; }
legend { font-family: var(--font-mono); font-size: var(--step--1); color: var(--accent); padding: 0 0 0.6rem; border-bottom: 1px solid var(--line); width: 100%; margin-bottom: 0.4rem; }
.feld { display: grid; gap: 0.35rem; }
.feld-reihe { display: grid; gap: 1rem; }
@media (min-width: 40rem) { .feld-reihe { grid-template-columns: 1fr 1fr; } }
label, .feld-label { font-weight: 600; font-size: 0.95rem; }
.opt { font-weight: 400; color: var(--muted); }
input[type=text], input[type=email], input[type=tel], input[type=date], input[type=number], select, textarea { width: 100%; font: inherit; color: var(--fg); background: var(--bg); border: 1.5px solid var(--line); border-radius: 8px; padding: 0.7rem 0.85rem; min-height: 3rem; }
textarea { min-height: 8rem; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--accent-strong); outline-offset: 1px; border-color: var(--accent-strong); }
.feld-hilfe { font-size: 0.85rem; color: var(--muted); }
.feld-fehler { font-size: 0.9rem; color: var(--error); font-weight: 600; }
.hat-fehler input, .hat-fehler select, .hat-fehler textarea { border-color: var(--error); }
.auswahl { display: grid; gap: 0.5rem; }
@media (min-width: 40rem) { .auswahl.zwei { grid-template-columns: 1fr 1fr; } }
.auswahl label { display: flex; gap: 0.7rem; align-items: flex-start; font-weight: 500; padding: 0.7rem 0.9rem; border: 1.5px solid var(--line); border-radius: 8px; background: var(--bg); cursor: pointer; }
.auswahl label:has(input:checked) { border-color: var(--accent-strong); background: var(--tint); }
.auswahl input { margin-top: 0.3rem; accent-color: var(--accent-strong); width: 1.1rem; height: 1.1rem; flex: none; }
.auswahl small { display: block; color: var(--muted); font-weight: 400; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-meldung { padding: 1rem 1.25rem; border-radius: 8px; border: 1.5px solid var(--error); background: var(--error-bg); color: var(--fg); }
.form-meldung ul { margin: 0.4rem 0 0; padding-left: 1.2rem; }
.form-erfolg { padding: 1.5rem; border-radius: 12px; background: var(--success-bg); border: 1.5px solid var(--accent-strong); display: grid; gap: 0.5rem; }
.seitenleiste { display: grid; gap: 1.25rem; position: sticky; top: 5.5rem; }
.seitenleiste .card h2 { font-size: 1.1rem; letter-spacing: -0.015em; line-height: 1.25; }

/* Fließtext rechtlich */
.legal { max-width: 46rem; display: grid; gap: 1rem; }
.legal h2 { font-size: var(--step-2); margin-top: 1.5rem; }
.legal h3 { margin-top: 0.75rem; }
.legal ul { padding-left: 1.2rem; display: grid; gap: 0.3rem; }
.platzhalter { background: #FFF3C4; color: #5B4600; padding: 0 0.3em; border-radius: 3px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); margin-top: 2rem; }
.footer-grid { display: grid; gap: 2rem; padding-block: 3rem 2rem; }
@media (min-width: 48rem) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand { display: grid; gap: 1rem; align-content: start; font-size: 0.95rem; color: var(--muted); }
.footer-titel { font-family: var(--font-mono); font-weight: 500; font-size: var(--step--1); letter-spacing: 0.02em; color: var(--muted); margin-bottom: 0.75rem; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: 0.35rem; font-size: 0.95rem; }
.site-footer a { color: var(--fg); text-decoration: none; }
.site-footer a:hover { color: var(--accent); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; padding-block: 1.25rem 2rem; border-top: 1px solid var(--line); font-size: 0.88rem; color: var(--muted); }
.footer-bottom ul { display: flex; gap: 1.25rem; }

/* Hilfsklassen (kein Inline-Style wegen CSP) */
.mt { margin-top: 1.5rem; }
.mt-s { margin-top: 1rem; }
.more-light { color: #fff; }
.button-outline-light { color: #fff; border-color: rgba(255,255,255,0.5); background: transparent; }
.button-outline-light:hover { border-color: #fff; }
.tour-box { --ratio: 16/9; }

/* Navigation: Gruppen als Aufklapp-Menü (Desktop), auf kleinen Bildschirmen als Liste */
.nav-gruppe { position: relative; }
.nav-gruppe-knopf { font: inherit; font-size: 0.95rem; color: var(--fg); background: none; border: 0; padding: 0.4rem 0.2rem; cursor: pointer; display: inline-flex; align-items: center; gap: 0.35rem; }
.nav-gruppe-knopf::after { content: ""; width: 0.45rem; height: 0.45rem; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) translateY(-2px); }
.nav-gruppe-knopf:hover, .nav-gruppe-knopf[data-aktiv] { color: var(--accent); }
.nav-gruppe-knopf[data-aktiv] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.3em; }
.nav-unter { list-style: none; margin: 0; padding: 0.5rem; }
.nav-unter a { display: block; padding: 0.5rem 0.75rem; border-radius: 6px; white-space: nowrap; }
.nav-unter a:hover { background: var(--tint); text-decoration: none; }
@media (min-width: 72rem) {
  .js .nav-unter { position: absolute; top: 100%; left: -0.5rem; z-index: 25; min-width: 15rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 18px 40px -20px rgba(16, 60, 58, 0.4); display: none; }
  .js .nav-gruppe-knopf[aria-expanded="true"] + .nav-unter { display: block; }
  html:not(.js) .nav-gruppe-knopf { display: none; }
  html:not(.js) .nav-unter { display: flex; gap: 0.25rem 1.1rem; padding: 0; }
  html:not(.js) .nav-list { gap: 0.25rem 1.1rem; }
}
@media (max-width: 71.99rem) {
  .nav-gruppe-knopf { pointer-events: none; font-family: var(--font-mono); font-size: var(--step--1); color: var(--muted); padding: 0.9rem 0 0.2rem; }
  .nav-gruppe-knopf::after { display: none; }
  .nav-unter { padding: 0; }
  .nav-unter a { padding-inline: 0; }
}

/* Footer mit Profilbild */
.footer-person { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: center; max-width: 30rem; }
.profilbild { width: 4.5rem; height: 4.5rem; border-radius: 50%; object-fit: cover; border: 2px solid var(--line); }

/* Zusatzblock unter den Zielgruppen */
.zusatz { margin-top: clamp(2.25rem, 4vw, 3.5rem); display: grid; gap: 1.1rem; }
.zusatz .chips { gap: 0.6rem; }
.partner-box { padding: 1.25rem 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--tint); }
.partner-box a { font-weight: 600; }
