/* Heimatprofi – Designsystem. Schiefer + Ortstafel. Siehe 02_Marke/MARKE.md */
@font-face { font-family: "Barlow Condensed"; font-weight: 500; font-display: swap; src: url(../fonts/barlow-condensed-500.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url(../fonts/barlow-condensed-600.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url(../fonts/barlow-condensed-700.woff2) format("woff2"); }
@font-face { font-family: "Lexend"; font-weight: 300 700; font-display: swap; src: url(../fonts/lexend.woff2) format("woff2"); }

:root {
  --bg: oklch(1 0 0);
  --surface: oklch(0.965 0.007 250);
  --surface-2: oklch(0.93 0.012 250);
  --line: oklch(0.88 0.012 250);
  --ink: oklch(0.22 0.03 252);
  --muted: oklch(0.46 0.025 250);
  --primary: oklch(0.40 0.085 250);
  --primary-deep: oklch(0.30 0.07 250);
  --on-dark: oklch(0.93 0.015 250);
  --on-dark-muted: oklch(0.82 0.03 250);
  --sign: oklch(0.86 0.16 92);
  --sign-deep: oklch(0.78 0.16 88);
  --error: oklch(0.53 0.19 28);
  --ok: oklch(0.52 0.12 150);
  --logo-accent: var(--primary);

  --f-display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --f-body: "Lexend", "Segoe UI", system-ui, sans-serif;

  --step-0: 1.0625rem;
  --step-1: 1.35rem;
  --step-2: clamp(1.6rem, 1.1rem + 1.6vw, 2.3rem);
  --step-3: clamp(2.1rem, 1.3rem + 2.8vw, 3.4rem);
  --step-4: clamp(2.5rem, 1.4rem + 4vw, 4.4rem);

  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --wrap: 76rem;
  --radius: 6px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --z-sticky: 20; --z-menu: 30; --z-skip: 50;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 6rem; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 350 var(--step-0)/1.65 var(--f-body); text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--primary-deep); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--sign-deep); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 700; line-height: 1.05; letter-spacing: -0.005em; text-wrap: balance; margin: 0 0 0.5em; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); line-height: 1.06; }
h3 { font-size: var(--step-2); font-weight: 600; }
p, li { text-wrap: pretty; }
p { margin: 0 0 1em; }
strong { font-weight: 600; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.prose { max-width: 68ch; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: var(--z-skip); background: var(--sign); color: var(--ink); padding: 0.6rem 1rem; font-weight: 700; }
.skip:focus { top: 1rem; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5em; min-height: 3.1rem; padding: 0.7rem 1.35rem; font: 700 1.2rem/1 var(--f-display); letter-spacing: 0.01em; text-decoration: none; border-radius: var(--radius); cursor: pointer; transition: transform 0.2s var(--ease), background-color 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.btn-sign { background: var(--sign); color: var(--ink); border: 2px solid var(--ink); box-shadow: inset 0 0 0 3px var(--sign), inset 0 0 0 4.5px var(--ink); }
.btn-sign:hover { background: var(--sign-deep); color: var(--ink); box-shadow: inset 0 0 0 3px var(--sign-deep), inset 0 0 0 4.5px var(--ink); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: inherit; border: 2px solid currentColor; }
.btn-ghost:hover { background: color-mix(in oklch, currentColor 10%, transparent); color: inherit; }
.btn .arrow { transition: transform 0.2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: var(--z-sticky); background: var(--bg); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 1.25rem; min-height: 4.5rem; }
.logo { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--ink); text-decoration: none; flex-shrink: 0; }
.logo:hover { color: var(--ink); }
.logo svg { height: 2.3rem; width: auto; }
.logo .svc { font: 600 1.45rem/1 var(--f-display); padding-left: 0.6rem; border-left: 1.5px solid var(--line); color: var(--ink); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 0.25rem; }
.nav a { font: 600 1.15rem/1 var(--f-display); color: var(--ink); text-decoration: none; padding: 0.7rem 0.7rem; border-radius: var(--radius); }
.nav a:hover, .nav a[aria-current="page"] { background: var(--surface); color: var(--primary); }
.nav .btn { margin-left: 0.5rem; }
.menu { display: none; margin-left: auto; }
.menu summary { list-style: none; cursor: pointer; font: 700 1.15rem/1 var(--f-display); padding: 0.75rem 1rem; border: 2px solid var(--ink); border-radius: var(--radius); }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { background: var(--ink); color: var(--bg); }
.menu-panel { position: absolute; top: 100%; left: 0; right: 0; z-index: var(--z-menu); background: var(--bg); border-bottom: 1px solid var(--line); padding: 1rem var(--gutter) 1.5rem; display: grid; gap: 0.25rem; max-height: calc(100dvh - 4.5rem); overflow: auto; box-shadow: 0 20px 40px -20px oklch(0.22 0.03 252 / 0.35); }
.menu-panel a { font: 600 1.4rem/1.2 var(--f-display); color: var(--ink); text-decoration: none; padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.menu-panel .btn { margin-top: 1rem; }
@media (max-width: 1060px) { .nav { display: none; } .menu { display: block; } }
@media (max-width: 420px) { .logo .svc { font-size: 1.2rem; } .logo svg { height: 1.9rem; } }

/* ---------- Breadcrumb ---------- */
.crumbs { font-size: 0.95rem; color: var(--on-dark-muted); margin-bottom: 1.25rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.35rem; padding: 0; margin: 0; }
.crumbs li + li::before { content: "›"; margin-right: 0.35rem; opacity: 0.7; }
.crumbs a { color: inherit; }

/* ---------- Hero ---------- */
.hero { background: var(--primary-deep); color: var(--on-dark); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; padding-block: clamp(2rem, 5vw, 4.5rem); }
.hero h1 { color: var(--bg); margin-bottom: 0.35em; }
.hero .lead { font-size: clamp(1.15rem, 1rem + 0.5vw, 1.35rem); color: var(--on-dark); max-width: 38ch; }
.hero a:not(.btn) { color: var(--bg); }
.hero-media { position: relative; align-self: stretch; min-height: 18rem; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.hero-media figcaption { position: absolute; left: 0.75rem; bottom: 0.75rem; font-size: 0.8rem; background: oklch(0.22 0.03 252 / 0.72); color: var(--on-dark); padding: 0.2rem 0.5rem; border-radius: 3px; }
.promise { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; list-style: none; padding: 0; margin: 1.5rem 0 0; font-size: 1rem; color: var(--on-dark-muted); }
.promise li { display: flex; gap: 0.45rem; align-items: center; }
.promise li::before { content: ""; width: 0.6rem; height: 0.6rem; background: var(--sign); border-radius: 1px; transform: rotate(45deg); flex-shrink: 0; }
.hero-simple .wrap { grid-template-columns: 1fr; padding-block: clamp(1.75rem, 4vw, 3.25rem); }
.hero-simple .lead { max-width: 60ch; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } .hero-media { min-height: 0; aspect-ratio: 4 / 3; order: -1; margin-inline: calc(-1 * var(--gutter)); } .hero-media img { border-radius: 0; } }

/* Schnellanfrage im Hero */
.quick { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.75rem; align-items: stretch; }
.quick label { flex-basis: 100%; font: 600 1.1rem/1 var(--f-display); color: var(--on-dark-muted); }
.quick select { flex: 1 1 14rem; min-height: 3.1rem; font: inherit; font-size: 1.05rem; padding: 0 0.9rem; border-radius: var(--radius); border: 2px solid var(--bg); background: var(--bg); color: var(--ink); }

/* ---------- Ortstafel ---------- */
.ortstafel { --h: clamp(7rem, 5rem + 8vw, 10.5rem); display: inline-grid; place-items: center; align-content: center; min-width: min(100%, 22rem); min-height: var(--h); padding: 1rem 2.2rem; background: var(--sign); color: var(--ink); border-radius: 10px; box-shadow: inset 0 0 0 7px var(--sign), inset 0 0 0 10px var(--ink), 0 18px 30px -18px oklch(0.1 0.02 250 / 0.6); text-align: center; transform-origin: 50% 0; animation: sign-in 0.9s var(--ease) both; }
.ortstafel .ort { font: 700 clamp(2.4rem, 1.5rem + 4vw, 4.2rem)/1 var(--f-display); letter-spacing: 0.01em; }
.ortstafel .kreis { font: 600 clamp(1rem, 0.8rem + 0.6vw, 1.3rem)/1.2 var(--f-display); margin-top: 0.35rem; }
@keyframes sign-in { from { transform: rotate(-4deg) translateY(-10px); opacity: 0; } to { transform: none; opacity: 1; } }
.city-hero .wrap { grid-template-columns: auto minmax(0, 1fr); }
@media (max-width: 860px) { .city-hero .wrap { grid-template-columns: 1fr; } .ortstafel { justify-self: start; } }

.signs { display: flex; flex-wrap: wrap; gap: 0.75rem; list-style: none; padding: 0; margin: 0; }
.signs a { display: grid; gap: 0.1rem; padding: 0.7rem 1.1rem 0.65rem; min-width: 9.5rem; background: var(--sign); color: var(--ink); text-decoration: none; border-radius: 6px; box-shadow: inset 0 0 0 3px var(--sign), inset 0 0 0 5px var(--ink); transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.signs a:hover { transform: translateY(-3px) rotate(-1deg); box-shadow: inset 0 0 0 3px var(--sign), inset 0 0 0 5px var(--ink), 0 10px 18px -10px oklch(0.1 0.02 250 / 0.5); color: var(--ink); }
.signs .ort { font: 700 1.5rem/1 var(--f-display); }
.signs .kreis { font-size: 0.85rem; line-height: 1.2; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(2.75rem, 2rem + 4vw, 5.5rem); }
.section.tint { background: var(--surface); }
.section.dark { background: var(--primary-deep); color: var(--on-dark); }
.section.dark h2, .section.dark h3 { color: var(--bg); }
.section.dark a:not(.btn) { color: var(--bg); }
.section-head { max-width: 46rem; margin-bottom: 2rem; }
.section-head p { font-size: 1.2rem; color: var(--muted); }
.section.dark .section-head p { color: var(--on-dark-muted); }

.answer { font-size: clamp(1.2rem, 1.05rem + 0.45vw, 1.42rem); line-height: 1.5; max-width: 60ch; }
.kurz { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem 2rem; align-items: start; }
.kurz .label { font: 700 1.25rem/1.1 var(--f-display); background: var(--sign); padding: 0.45rem 0.8rem; border-radius: 4px; box-shadow: inset 0 0 0 2px var(--sign), inset 0 0 0 3.5px var(--ink); white-space: nowrap; }
.kurz .answer { margin: 0; }
@media (max-width: 640px) { .kurz { grid-template-columns: 1fr; } .kurz .label { justify-self: start; } }

/* Artikel-Layout mit Seitenleiste */
.article { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.article > .content { min-width: 0; }
.article .content > section { margin-top: 2.75rem; }
.article .content > section:first-child { margin-top: 0; }
.content h2 { font-size: var(--step-2); margin-top: 0; scroll-margin-top: 6rem; }
.content .sec-answer { font-size: 1.22rem; line-height: 1.55; font-weight: 500; }
.content ul, .content ol { padding-left: 1.3rem; }
.content li { margin-bottom: 0.4rem; }
.content li::marker { color: var(--primary); }
.aside { position: sticky; top: 6rem; display: grid; gap: 1.25rem; }
.aside-box { border: 2px solid var(--ink); border-radius: var(--radius); padding: 1.35rem; background: var(--bg); }
.aside-box h2 { font-size: 1.6rem; margin-bottom: 0.4rem; }
.aside-box ol { padding-left: 1.2rem; margin: 0.75rem 0 1.1rem; font-size: 1rem; }
.aside-box .btn { width: 100%; }
.aside-box .fine { font-size: 0.9rem; color: var(--muted); margin: 0.75rem 0 0; }
.toc { font-size: 1rem; }
.toc h2 { font: 700 1.2rem/1 var(--f-display); margin-bottom: 0.6rem; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.1rem; }
.toc a { display: block; padding: 0.35rem 0; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.toc a:hover { color: var(--primary); }
@media (max-width: 980px) { .article { grid-template-columns: 1fr; } .aside { position: static; } .toc { display: none; } }

/* Tabellen */
.table-wrap { margin: 1.5rem 0; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 1rem; min-width: 30rem; }
caption { text-align: left; font: 700 1.25rem/1.2 var(--f-display); padding: 0.9rem 1rem 0.5rem; }
th, td { text-align: left; padding: 0.7rem 1rem; border-top: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--surface); font-weight: 700; border-top: 0; }
tbody tr:nth-child(even) > * { background: color-mix(in oklch, var(--surface) 55%, var(--bg)); }
.table-note { font-size: 0.9rem; color: var(--muted); padding: 0.6rem 1rem 0.8rem; margin: 0; border-top: 1px solid var(--line); }

.callout { margin: 1.5rem 0; padding: 1.2rem 1.35rem; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); }
.callout h3 { font-size: 1.35rem; margin-bottom: 0.35rem; }
.callout p:last-child { margin: 0; }

/* Schritte (echte Abfolge) */
.steps { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 3.2rem minmax(0, 1fr); gap: 0 1rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.steps li::before { content: counter(s); grid-row: span 2; width: 2.6rem; height: 2.6rem; display: grid; place-items: center; font: 700 1.5rem/1 var(--f-display); background: var(--sign); color: var(--ink); border-radius: 5px; box-shadow: inset 0 0 0 2px var(--sign), inset 0 0 0 3.5px var(--ink); }
.steps strong { font: 700 1.35rem/1.2 var(--f-display); display: block; margin-bottom: 0.2rem; }
.steps p { margin: 0; }
.section.dark .steps li { border-color: oklch(1 0 0 / 0.15); }
.steps-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 0 2rem; }
.steps-row li { border-top: 2px solid currentColor; }

/* Leistungsliste */
.svc-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); column-gap: 3rem; }
.svc-list li { border-top: 1px solid var(--line); }
.svc-list a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.2rem 1rem; padding: 1.1rem 0; text-decoration: none; color: var(--ink); }
.svc-list .t { font: 700 1.55rem/1.1 var(--f-display); }
.svc-list .d { grid-column: 1; color: var(--muted); font-size: 1rem; }
.svc-list .go { grid-row: 1 / span 2; grid-column: 2; align-self: center; font: 700 1.5rem/1 var(--f-display); color: var(--primary); transition: transform 0.2s var(--ease); }
.svc-list a:hover .t { color: var(--primary); }
.svc-list a:hover .go { transform: translateX(4px); }

/* Split mit Bild */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split figure { margin: 0; }
.split img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.split figcaption, .figure figcaption { font-size: 0.9rem; color: var(--muted); margin-top: 0.5rem; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.figure { margin: 2rem 0; }
.figure img { border-radius: var(--radius); aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }

/* Fakten der Region */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 0; margin: 0; border-top: 2px solid var(--ink); }
.facts div { padding: 1rem 1rem 1rem 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 0.95rem; color: var(--muted); }
.facts dd { margin: 0.15rem 0 0; font: 700 1.45rem/1.15 var(--f-display); }

/* FAQ */
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) 2rem; gap: 1rem; align-items: center; padding: 1.1rem 0; font: 700 1.35rem/1.25 var(--f-display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; justify-self: end; width: 2rem; height: 2rem; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 50%; font: 700 1.3rem/1 var(--f-body); transition: transform 0.25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 3rem 1.2rem 0; }
.faq .a p:last-child { margin: 0; }

/* Quellen */
.sources { font-size: 0.95rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 1.25rem; margin-top: 3rem; }
.sources h2 { font: 700 1.3rem/1 var(--f-display); color: var(--ink); margin-bottom: 0.6rem; }
.sources ol { padding-left: 1.2rem; margin: 0 0 0.8rem; }
.sources li { margin-bottom: 0.3rem; overflow-wrap: anywhere; }
.sources a { color: var(--muted); }
.meta-line { font-size: 0.95rem; color: var(--muted); }

/* CTA-Band */
.cta-band { background: var(--sign); color: var(--ink); }
.cta-band .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem 3rem; align-items: center; padding-block: clamp(2.25rem, 4vw, 3.5rem); }
.cta-band h2 { margin-bottom: 0.3rem; }
.cta-band p { margin: 0; font-size: 1.15rem; max-width: 52ch; }
.cta-band .btn { background: var(--ink); color: var(--sign); border: 2px solid var(--ink); }
.cta-band .btn:hover { background: var(--primary-deep); color: var(--sign); }
@media (max-width: 760px) { .cta-band .wrap { grid-template-columns: 1fr; } }

.note-bar { background: var(--surface); border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.note-bar .wrap { padding-block: 0.65rem; }

/* ---------- Formular ---------- */
.form { display: grid; gap: 2.25rem; max-width: 46rem; }
.form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.form legend { font: 700 var(--step-2)/1.1 var(--f-display); margin-bottom: 1rem; padding: 0; display: flex; gap: 0.75rem; align-items: center; }
.form legend .n { width: 2.4rem; height: 2.4rem; display: inline-grid; place-items: center; background: var(--sign); border-radius: 5px; box-shadow: inset 0 0 0 2px var(--sign), inset 0 0 0 3.5px var(--ink); font-size: 1.4rem; flex-shrink: 0; }
.field { display: grid; gap: 0.4rem; margin-bottom: 1.25rem; }
.field > label, .field > .label { font-weight: 700; }
.field .help { font-size: 0.95rem; color: var(--muted); margin: 0; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=number], .field select, .field textarea { width: 100%; min-height: 3.2rem; font: inherit; padding: 0.6rem 0.85rem; border: 2px solid var(--muted); border-radius: var(--radius); background: var(--bg); color: var(--ink); }
.field textarea { min-height: 7rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); outline: 3px solid color-mix(in oklch, var(--primary) 30%, transparent); outline-offset: 0; }
.field ::placeholder { color: var(--muted); opacity: 1; }
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 0 1rem; }
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 0.6rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span { display: flex; align-items: center; gap: 0.7rem; min-height: 3.2rem; padding: 0.7rem 0.9rem; border: 2px solid var(--line); border-radius: var(--radius); font-weight: 500; line-height: 1.3; transition: border-color 0.15s, background-color 0.15s; }
.choice span::before { content: ""; width: 1.25rem; height: 1.25rem; flex-shrink: 0; border: 2px solid var(--muted); border-radius: 50%; background: var(--bg); transition: box-shadow 0.15s, border-color 0.15s; }
.choice input:hover + span { border-color: var(--muted); }
.choice input:checked + span { border-color: var(--ink); background: color-mix(in oklch, var(--sign) 28%, var(--bg)); }
.choice input:checked + span::before { border-color: var(--ink); box-shadow: inset 0 0 0 4px var(--bg); background: var(--ink); }
.choice input:focus-visible + span { outline: 3px solid var(--sign-deep); outline-offset: 2px; }
.consent { display: grid; grid-template-columns: 1.6rem minmax(0, 1fr); gap: 0.8rem; align-items: start; padding: 1.1rem; border: 2px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.consent input { width: 1.4rem; height: 1.4rem; margin-top: 0.15rem; accent-color: var(--ink); }
.consent label { font-size: 1rem; }
.exclude-msg { display: none; padding: 1rem 1.1rem; border-radius: var(--radius); background: color-mix(in oklch, var(--sign) 30%, var(--bg)); border: 2px solid var(--sign-deep); }
.exclude-msg.show { display: block; }
.hp { position: absolute; left: -9999px; }
.form-foot { display: grid; gap: 0.75rem; }
.form-foot .btn { justify-self: start; font-size: 1.35rem; min-height: 3.5rem; padding-inline: 1.8rem; }
.form-foot p { font-size: 0.95rem; color: var(--muted); margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-muted); font-size: 1rem; --logo-accent: var(--sign); }
.site-footer .wrap { padding-block: 3.5rem 2rem; }
.foot-top { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 2.5rem; }
.site-footer h2 { font: 700 1.25rem/1 var(--f-display); color: var(--bg); margin-bottom: 0.9rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.45rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--sign); text-decoration: underline; }
.site-footer .logo { color: var(--bg); }
.site-footer .logo .svc { color: var(--bg); border-color: oklch(1 0 0 / 0.25); }
.foot-about p { margin: 1rem 0 0; max-width: 34ch; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid oklch(1 0 0 / 0.15); font-size: 0.95rem; }
.foot-bottom ul { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; }
@media (max-width: 900px) { .foot-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-top { grid-template-columns: 1fr; } }

/* Mobile Sticky-CTA */
.mobile-cta { display: none; }
@media (max-width: 760px) {
  .mobile-cta { display: block; position: sticky; bottom: 0; z-index: var(--z-sticky); background: var(--bg); border-top: 1px solid var(--line); padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom)); }
  .mobile-cta .btn { width: 100%; }
}

/* Load-Motion: Hero-Text setzt sich einmal, Inhalte bleiben ohne Animation sichtbar */
.hero .intro > * { animation: rise 0.7s var(--ease) both; }
.hero .intro > *:nth-child(2) { animation-delay: 0.06s; }
.hero .intro > *:nth-child(3) { animation-delay: 0.12s; }
.hero .intro > *:nth-child(4) { animation-delay: 0.18s; }
.hero .intro > *:nth-child(5) { animation-delay: 0.24s; }
.hero-media img { animation: settle 1.1s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; transition-duration: 0.01ms !important; }
}
@media print { .site-header, .mobile-cta, .aside, .cta-band, .site-footer { display: none; } }

/* Abnahme-Loop 1: Tabellen und Upload auf dem Handy */
@media (max-width: 640px) {
  table { min-width: 0; font-size: 0.95rem; }
  caption { font-size: 1.1rem; padding: 0.8rem 0.75rem 0.4rem; }
  th, td { padding: 0.6rem 0.7rem; }
  .table-wrap { margin-inline: calc(-1 * var(--gutter) / 2); }
}
td { font-variant-numeric: tabular-nums; }
.field input[type=file] { font: inherit; font-size: 1rem; padding: 0.9rem; border: 2px dashed var(--muted); border-radius: var(--radius); background: var(--surface); width: 100%; cursor: pointer; }
.field input[type=file]::file-selector-button { font: 700 1.05rem/1 var(--f-display); padding: 0.6rem 1rem; margin-right: 0.9rem; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--bg); color: var(--ink); cursor: pointer; }
@media (max-width: 860px) { .hero .wrap:has(> .hero-media) { padding-top: 0; } .city-hero .wrap { padding-top: 1.75rem; } }
@media (max-width: 860px) { .ortstafel { min-width: 0; min-height: 0; padding: 0.9rem 1.6rem 1rem; } .ortstafel .ort { font-size: 2.3rem; } .ortstafel .kreis { font-size: 0.95rem; } }

/* ---------- Projekt-Check 25.09.2026: Telefon, Nutzenbotschaft ---------- */
.topbar { background: var(--ink); color: var(--on-dark-muted); font-size: 0.95rem; }
.topbar .wrap { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 0.2rem 0.6rem; min-height: 2.4rem; padding-block: 0.3rem; }
.topbar a { color: var(--sign); font-weight: 600; text-decoration: none; white-space: nowrap; }
.topbar a:hover { color: var(--bg); text-decoration: underline; }
.topbar-hours { color: var(--on-dark-muted); }
@media (max-width: 560px) { .topbar .wrap { justify-content: center; } .topbar .wrap > span:first-child { display: none; } .topbar a::before { content: "Telefon: "; color: var(--on-dark-muted); font-weight: 400; } }
.menu-tel { margin: 1rem 0 0; font-size: 1.1rem; }
.menu-tel a { font: 700 1.4rem/1.2 var(--f-display); border: 0; padding: 0; }
.menu-legal { margin: 0.25rem 0 0; font-size: 1rem; }
.menu-panel .menu-legal a { font: inherit; border: 0; padding: 0; color: var(--muted); display: inline; }
.hero-tel { margin: 1rem 0 0; color: var(--on-dark-muted); font-size: 1.05rem; }
.hero .hero-tel a { color: var(--sign); font-weight: 600; white-space: nowrap; }
.aside-tel { margin: 1rem 0 0; padding-top: 0.9rem; border-top: 1px solid var(--line); font-size: 0.95rem; color: var(--muted); }
.aside-tel a { font: 700 1.35rem/1.3 var(--f-display); white-space: nowrap; }
.foot-contact a { color: var(--sign); }
.benefits-wrap { padding-block: clamp(2rem, 1.5rem + 2.5vw, 3.5rem); border-bottom: 1px solid var(--line); }
.benefits-h { font-size: var(--step-2); margin-bottom: 1.25rem; }
.benefits { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1rem; }
.benefits li { padding: 1.2rem 1.25rem 1.1rem; background: var(--bg); border: 2px solid var(--line); border-top: 6px solid var(--sign); border-radius: var(--radius); }
.benefits h3 { font-size: 1.55rem; margin-bottom: 0.35rem; }
.benefits p { margin: 0; font-size: 1rem; color: var(--muted); }
.benefits a { font-weight: 600; white-space: nowrap; }
.contact-error { color: var(--error); font-weight: 700; margin: 0.2rem 0 0; font-size: 1rem; }
