/* ============================================================
   HERR SANIERUNGS-LP V3 — STYLES („Klare Kante": hell, bildgeführt)
   Fullwidth-Hero, klares Weiß, Laufkarten-Details als Würze.
   Alle Werte über Tokens (css/tokens.css). Mobile-first.
   ============================================================ */

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: var(--leading-body);
  color: var(--ink);
  background: var(--paper);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img, video, canvas, svg { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: var(--wine-600); }
:focus-visible { outline: 3px solid var(--wine-500); outline-offset: 3px; border-radius: var(--radius-1); }
.hero :focus-visible, .anfrage :focus-visible, .footer :focus-visible, .header:not(.is-solid) :focus-visible { outline-color: var(--snow); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: var(--space-2); z-index: var(--z-skip); background: var(--wine-600); color: var(--snow); padding: .7em 1.2em; border-radius: var(--radius-2); text-decoration: none; transition: top var(--dur-2) var(--ease-out); }
.skip-link:focus { top: var(--space-2); }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.sec, .footer { scroll-margin-top: calc(var(--header-h) + 8px); }
.muted { color: var(--ink-soft); font-weight: 400; font-size: .85em; }

/* ---------- Sektions-Grundfarben (hell) ---------- */
.sec { position: relative; padding-block: var(--section-y); }
.sec--paper { background: var(--paper); color: var(--ink); }
.sec--tint  { background: var(--paper-2); color: var(--ink); }
.sec--warm  { background: var(--paper); color: var(--ink); }

/* Korn nur noch auf fotografisch-dunklen Flächen */
.footer::after, .anfrage::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: var(--grain-opacity); z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}
.footer > *, .anfrage > * { position: relative; z-index: 2; }

/* ---------- Typo-Register ---------- */
.stamp {
  font-family: var(--font-body); font-weight: var(--stamp-weight);
  font-size: var(--stamp-size); letter-spacing: var(--stamp-track);
  text-transform: uppercase; color: var(--wine-600);
}
.anfrage .stamp, .footer .stamp { color: var(--wine-500); }

.sechead { max-width: var(--measure); margin-bottom: var(--space-5); }
.sechead__kicker { margin: 0 0 var(--space-2); }
.sechead__h { font-family: var(--font-display); font-weight: 900; font-size: var(--step-4); line-height: var(--leading-tight); letter-spacing: -.015em; margin: 0 0 var(--space-3); }
.sechead__sub { margin: 0; color: var(--ink-soft); }

.footnote { font-size: var(--step--1); color: var(--ink-soft); margin: var(--space-3) 0 0; }

/* ---------- Buttons & Chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: var(--touch-min); padding: .8em 1.5em;
  font-family: var(--font-body); font-weight: 700; font-size: var(--step-0);
  text-decoration: none; border: 1px solid transparent; border-radius: var(--radius-2);
  cursor: pointer; transition: background var(--dur-2) var(--ease-out), transform var(--dur-1) var(--ease-out), box-shadow var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out);
}
.btn--primary { background: var(--wine-600); color: var(--snow); box-shadow: var(--shadow-cta); }
.btn--primary:hover { background: var(--wine-700); }
.btn--primary:active { background: var(--wine-800); transform: translateY(1px); }
.btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn--ghost:hover { background: var(--wine-tint); }
.btn--onphoto { background: rgba(255, 255, 255, .12); color: var(--snow); border-color: rgba(255, 255, 255, .65); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn--onphoto:hover { background: rgba(255, 255, 255, .22); }
.btn--sm { min-height: 44px; padding: .45em 1.1em; font-size: var(--step--1); }
.btn--block { width: 100%; }

.chip {
  min-height: 36px; padding: .3em 1em; font: inherit; font-size: var(--step--1);
  background: transparent; color: inherit; border: 1px solid var(--line-light); border-radius: var(--radius-pill); cursor: pointer;
  transition: border-color var(--dur-2) var(--ease-out), background var(--dur-2) var(--ease-out);
}
.chip:hover, .chip.is-active { border-color: var(--wine-500); background: var(--wine-tint); }

/* ---------- Header (transparent über Hero → weiß nach Scroll) ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-header);
  color: var(--snow);
  background: linear-gradient(180deg, rgba(19, 23, 25, .55), rgba(19, 23, 25, 0));
  transition: background var(--dur-3) var(--ease-out), color var(--dur-3) var(--ease-out), box-shadow var(--dur-3) var(--ease-out);
}
.header.is-solid {
  color: var(--ink);
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line-light), 0 8px 24px -16px rgba(19, 23, 25, .25);
}
.header__in { width: min(100% - 2 * var(--gutter), var(--container-wide)); margin-inline: auto; min-height: var(--header-h); display: flex; align-items: center; gap: var(--space-4); }
.header__logo { width: 118px; height: auto; }
.header__logo--dark { display: none; }
.header.is-solid .header__logo--light { display: none; }
.header.is-solid .header__logo--dark { display: block; }
.header__nav { display: none; margin-inline: auto; }
.stations { list-style: none; display: flex; gap: var(--space-4); margin: 0; padding: 0; }
.stations a { display: inline-flex; align-items: center; gap: .5em; color: inherit; opacity: .82; text-decoration: none; font-size: var(--step--1); padding: .4em 0; border-bottom: 2px solid transparent; }
.stations a:hover { opacity: 1; }
.stations a.is-active { opacity: 1; border-bottom-color: var(--wine-500); }
.stations__num { font-weight: 700; color: var(--wine-500); font-variant-numeric: tabular-nums; }
.header.is-solid .stations__num { color: var(--wine-600); }
.header__actions { display: flex; align-items: center; gap: var(--space-3); margin-left: auto; }
.header__tel { display: none; color: inherit; text-decoration: none; font-weight: 700; font-variant-numeric: tabular-nums; }
.header__tel:hover { color: var(--wine-500); }
.header__thread { position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; }
.header__thread span { display: block; height: 100%; width: 0; background: var(--wine-500); box-shadow: 0 0 8px var(--wine-glow); }

@media (min-width: 700px)  { .header__tel { display: inline; } }
@media (min-width: 1080px) { .header__nav { display: block; } }
.no-js .header { position: sticky; color: var(--ink); background: rgba(255, 255, 255, .96); box-shadow: 0 1px 0 var(--line-light); }
.no-js .header .header__logo--light { display: none; }
.no-js .header .header__logo--dark { display: block; }

/* ---------- 01 · Hero (fullwidth Bild) ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: clip; color: var(--snow); }
.hero__bg, .hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__bg img { object-fit: cover; object-position: center 38%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, rgba(19, 23, 25, .18) 0%, rgba(19, 23, 25, .28) 45%, rgba(19, 23, 25, .78) 100%); }
.hero__in { position: relative; z-index: 2; width: min(100% - 2 * var(--gutter), var(--container-wide)); margin-inline: auto; padding-block: calc(var(--header-h) + var(--space-4)) var(--space-6); max-width: none; }
.hero__badge { display: inline-block; margin: 0 0 var(--space-3); padding: .5em 1em; background: var(--wine-600); color: var(--snow); font-family: var(--font-body); font-weight: 700; font-size: var(--stamp-size); letter-spacing: var(--stamp-track); text-transform: uppercase; border-radius: var(--radius-1); }
.hero__h { margin: 0 0 var(--space-3); font-family: var(--font-display); font-weight: 900; line-height: var(--leading-tight); letter-spacing: -.02em; text-shadow: 0 2px 24px rgba(19, 23, 25, .45); }
.hero__line { display: block; font-size: var(--step-5); }
.hero__line--sub { font-size: var(--step-3); font-weight: 700; opacity: .95; margin-top: .15em; }
.hero__sub { max-width: 52ch; color: rgba(255, 255, 255, .92); margin: 0 0 var(--space-4); text-shadow: 0 1px 12px rgba(19, 23, 25, .5); }
.hero__sub strong { color: #ffcf9e; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-3); }
.hero__trust { margin: 0; padding-top: var(--space-2); border-top: 1px solid rgba(255, 255, 255, .28); color: rgba(255, 255, 255, .82); font-size: var(--step--1); }
.hero__shortlink { color: var(--snow); }
.hero__cue { position: absolute; z-index: 2; left: 50%; bottom: var(--space-2); transform: translateX(-50%); width: 44px; height: 44px; display: none; align-items: center; justify-content: center; }
.hero__cue span { display: block; width: 22px; height: 34px; border: 2px solid rgba(255, 255, 255, .7); border-radius: 12px; position: relative; }
.hero__cue span::after { content: ""; position: absolute; left: 50%; top: 6px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: rgba(255, 255, 255, .85); animation: cue 1.8s var(--ease-inout) infinite; }
@keyframes cue { 0%, 100% { transform: translateY(0); opacity: 1; } 60% { transform: translateY(10px); opacity: .2; } }
@media (min-width: 900px) { .hero__cue { display: flex; } }
@media (prefers-reduced-motion: reduce) { .hero__cue span::after { animation: none; } }

/* ---------- 02 · Werksdaten ---------- */
.werksdaten__kicker { margin: 0 0 var(--space-4); }
.wdl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin: 0; border-top: 1px solid var(--line-light); }
.wdl__item { padding: var(--space-3) var(--space-2) var(--space-3) 0; border-bottom: 1px solid var(--line-light); }
.wdl__item dt { margin-bottom: .3em; color: var(--ink-soft); }
.wdl__item dd { margin: 0; font-family: var(--font-display); font-weight: 900; font-size: var(--step-6); line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.wdl__item--wink dd { color: var(--wine-600); }
.werksdaten__abbinder { margin: var(--space-4) 0 0; font-style: italic; color: var(--ink-soft); }

@media (min-width: 900px) { .wdl { grid-template-columns: repeat(3, 1fr); } .wdl__item { padding-right: var(--space-4); } }

/* ---------- 03 · Befund ---------- */
.befunde { list-style: none; margin: 0; padding: 0; }
.befunde__row { display: grid; grid-template-columns: auto 1fr; gap: var(--space-2) var(--space-3); align-items: center; padding: var(--space-4) 0; border-top: 1px solid var(--line-light); }
.befunde__row:last-child { border-bottom: 1px solid var(--line-light); }
.befunde__num { font-family: var(--font-display); font-weight: 900; font-size: var(--step-3); color: transparent; -webkit-text-stroke: 1px var(--wine-600); line-height: 1; }
.befunde__txt h3 { margin: 0 0 .3em; font-family: var(--font-display); font-weight: 700; font-size: var(--step-1); }
.befunde__txt p { margin: 0; color: var(--ink-soft); max-width: 52ch; }
.befunde__img { display: none; position: relative; }
.befunde__img img { width: 220px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-1); }
.befunde__img::before { content: ""; position: absolute; left: -2.4rem; top: 50%; width: 2.4rem; border-top: 1px dotted var(--dot-light); }
.befund__out { margin: var(--space-5) 0 0; max-width: var(--measure); font-size: var(--step-1); font-family: var(--font-display); font-weight: 700; line-height: var(--leading-head); }

@media (min-width: 900px) {
  .befunde__row { grid-template-columns: auto 1fr auto; }
  .befunde__img { display: block; }
  .befunde__row:nth-child(even) .befunde__img { transform: translateY(var(--space-3)); }
}

/* ---------- 03b · Profil-Linien ---------- */
.plines { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); grid-template-columns: repeat(2, 1fr); }
.pline { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line-light); border-radius: var(--radius-3); padding: var(--space-3); transition: box-shadow var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out); }
.pline:hover { box-shadow: var(--shadow-card); transform: translateY(-3px); border-color: rgba(139, 39, 56, .35); }
.pline:first-child { border-top: 3px solid var(--wine-600); }
.pline__img { display: grid; place-items: center; background: var(--paper-2); border-radius: var(--radius-2); padding: var(--space-3); margin-bottom: var(--space-3); }
.pline__img img { width: auto; max-height: 220px; }
.pline__txt h3 { margin: 0 0 .25em; font-family: var(--font-display); font-weight: 900; font-size: var(--step-1); }
.pline__claim { margin: 0 0 .6em; color: var(--ink-soft); font-size: var(--step--1); line-height: 1.5; }
.pline__specs { margin: auto 0 0; padding-top: .6em; border-top: 1px dotted var(--dot-light); font-family: var(--font-body); font-weight: var(--stamp-weight); font-size: var(--stamp-size); letter-spacing: .04em; text-transform: uppercase; color: var(--wine-600); }
@media (min-width: 900px) { .plines { grid-template-columns: repeat(3, 1fr); gap: var(--space-4); } .pline__img img { max-height: 260px; } }

/* ---------- 04 · Werksreise ---------- */
.sechead--werk { margin-bottom: var(--space-4); }
.werk__skip { color: var(--ink-soft); font-size: var(--step--1); margin-left: .75em; }

.werk__scrolly { display: none; }
.js .werk--scrub .werk__scrolly { display: block; height: var(--scrolly-track); }
.js .werk--scrub .werk__cards { display: none; }
.werk__stage { position: sticky; top: 0; height: 100svh; overflow: clip; background: var(--hall-900); }
.werk__poster, .werk__poster img, .werk__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.werk__poster img { object-fit: cover; }
.werk__canvas { opacity: 0; transition: opacity var(--dur-3) var(--ease-out); }
.werk--frames-ready .werk__canvas { opacity: 1; }
.werk__stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19,23,25,.45) 0%, rgba(19,23,25,0) 30%, rgba(19,23,25,0) 55%, rgba(19,23,25,.65) 100%); pointer-events: none; }
.werk__hud { position: absolute; inset: 0; z-index: var(--z-hud); color: var(--snow); display: flex; flex-direction: column; justify-content: flex-end; padding: var(--space-5) var(--gutter) var(--space-6); pointer-events: none; }
.werk__hud .stamp { color: #ffb37a; }
.werk__beat { position: absolute; left: var(--gutter); bottom: var(--space-6); max-width: 44ch; opacity: 0; transform: translateY(var(--reveal-shift)); transition: opacity var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out); }
.werk__beat.is-on { opacity: 1; transform: none; }
.werk__beat p:last-child { margin: .4em 0 0; font-size: var(--step-1); font-family: var(--font-display); font-weight: 700; line-height: var(--leading-head); text-shadow: 0 1px 12px rgba(19,23,25,.8); }
.werk__progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: var(--space-3); height: 12px; background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.35) 0 1px, transparent 1px 25%); border-bottom: 1px solid rgba(255,255,255,.35); }
.werk__progress span { display: block; height: 100%; width: 0; border-bottom: 3px solid var(--wine-500); box-shadow: 0 2px 10px var(--wine-glow); }

.werk__cards { display: grid; gap: var(--space-4); }
.wcard figure { position: relative; }
.wcard img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-2); }
.wcard .stamp { margin: var(--space-2) 0 .3em; }
.wcard p:last-child { margin: 0; color: var(--ink-soft); }
@media (min-width: 700px) { .werk__cards { grid-template-columns: 1fr 1fr; } .wcard:nth-child(even) { transform: translateY(var(--space-4)); } }

.werk__out { display: grid; gap: var(--space-4); align-items: center; margin-top: var(--space-6); }
.werk__loop { position: relative; }
.werk__video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-2); filter: saturate(.85) brightness(.8); }
.werk__looptag { position: absolute; left: var(--space-2); bottom: var(--space-2); color: var(--snow); text-shadow: 0 1px 6px rgba(19,23,25,.9); }
.werk__outcopy p { font-family: var(--font-display); font-weight: 900; font-size: var(--step-3); line-height: var(--leading-tight); margin: 0 0 var(--space-3); }
@media (min-width: 900px) { .werk__out { grid-template-columns: 55% 40%; justify-content: space-between; } }

/* ---------- 05 · Datenblatt ---------- */
.db { display: grid; gap: var(--space-5); }
.db__draw { color: var(--hall-700); max-width: 340px; }
.db__svg { width: 100%; height: auto; }
.db__dim { font: 600 12px var(--font-body); fill: currentColor; }
.db__list { list-style: none; margin: 0; padding: 0; }
.db__list li { padding: var(--space-3) 0; border-top: 1px dotted var(--dot-light); }
.db__list li:first-child { border-top: none; }
.db__no { display: block; margin-bottom: .35em; }
.db__list p { margin: 0; max-width: 56ch; }
.db__index { margin: var(--space-5) 0 0; padding-top: var(--space-3); border-top: 1px solid var(--line-light); color: var(--ink-soft); font-size: var(--step--1); letter-spacing: .02em; }
@media (min-width: 900px) { .db { grid-template-columns: 5fr 7fr; align-items: start; } .db__draw { position: sticky; top: calc(var(--header-h) + var(--space-4)); } }

/* ---------- 06 · Förderung / Beleg ---------- */
.foerder__grid { display: grid; gap: var(--space-5); }
.beleg {
  position: relative; background: var(--paper); color: var(--ink);
  border: 1px solid var(--line-light); border-top: 4px solid var(--wine-600);
  border-radius: var(--radius-3); padding: var(--space-4); box-shadow: var(--shadow-beleg);
  --punch: var(--paper-2);
}
.beleg::before { /* perforierte Stanzkante oben */
  content: ""; position: absolute; top: -7px; left: var(--space-4); right: var(--space-4); height: 12px;
  background-image: radial-gradient(circle at 6px 6px, var(--punch) 4px, transparent 4.5px);
  background-size: 24px 12px; background-repeat: repeat-x;
}
.beleg__head { margin: 0 0 var(--space-2); }
.beleg__intro { margin: 0 0 var(--space-4); color: var(--ink-soft); font-size: var(--step--1); line-height: 1.55; }
.beleg__label { display: block; font-weight: 700; margin-bottom: var(--space-1); }
.beleg__inputs { display: flex; align-items: center; gap: var(--space-3); }
.beleg__amount { font-family: var(--font-display); font-weight: 900; font-size: var(--step-2); font-variant-numeric: tabular-nums; min-width: 4.8em; text-align: right; }
.beleg__presets { display: flex; gap: var(--space-1); margin: var(--space-2) 0 var(--space-3); }
.beleg__lines { margin: 0 0 var(--space-3); border-top: 1px solid var(--line-light); }
.beleg__lines > div { display: flex; justify-content: space-between; gap: var(--space-2); padding: .55em 0; border-bottom: 1px dotted var(--dot-light); }
.beleg__lines dt { color: var(--ink-soft); }
.beleg__lines dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.beleg__total { border-bottom: none !important; border-top: 2px solid var(--ink); margin-top: .3em; }
.beleg__total dt { color: var(--ink); font-weight: 700; }
.beleg__total dd { font-family: var(--font-display); font-weight: 900; font-size: var(--step-2); color: var(--spark-500); }
.beleg__conditions { display: block; margin-top: var(--space-3); color: var(--ink-soft); }
.beleg__ns { font-size: var(--step--1); color: var(--ink-soft); }

/* Slider */
input[type="range"] { flex: 1; appearance: none; -webkit-appearance: none; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--wine-600) var(--fill, 20%), var(--line-light) var(--fill, 20%)); outline-offset: 6px; }
input[type="range"]::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--wine-600); border: 3px solid var(--paper); box-shadow: var(--shadow-card); cursor: grab; }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--wine-600); border: 3px solid var(--paper); cursor: grab; }

.foerder__b { align-self: end; border-left: 3px solid var(--wine-600); padding-left: var(--space-3); }
.foerder__b p { color: var(--ink-soft); margin: var(--space-2) 0 0; }
.foerder__b strong { color: var(--ink); }
.foerder__disclaimer { font-size: var(--step--1); }
.foerder__pivotline { margin: var(--space-6) 0 0; text-align: center; font-family: var(--font-display); font-weight: 700; font-size: var(--step-1); color: var(--ink-soft); }
@media (min-width: 1000px) { .foerder__grid { grid-template-columns: 7fr 5fr; align-items: start; } }

/* ---------- 07 · Referenzen ---------- */
.refs__strip { display: grid; gap: var(--space-4); }
.refs__kader { position: relative; padding: var(--space-2); background: var(--paper); border: 1px solid var(--line-light); border-radius: var(--radius-1); box-shadow: var(--shadow-card); }
.refs__kader::before, .refs__kader::after { content: "⌖"; position: absolute; font-size: 11px; color: var(--ink-soft); opacity: .6; }
.refs__kader::before { top: 3px; left: 6px; }
.refs__kader::after { bottom: 3px; right: 6px; }
.refs__kader img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.refs__kader figcaption { padding: var(--space-2) var(--space-1) var(--space-1); font-size: var(--step--1); color: var(--ink-soft); }
.refs__orte { margin: var(--space-5) 0 0; padding-top: var(--space-3); border-top: 1px solid var(--line-light); color: var(--ink-soft); font-size: var(--step--1); letter-spacing: .03em; }
@media (min-width: 800px) {
  .refs__strip { grid-template-columns: repeat(3, 1fr); }
  .refs__kader:nth-child(2) { transform: translateY(var(--space-4)) rotate(.4deg); }
  .refs__kader:nth-child(3) { transform: rotate(-.4deg); }
}

/* ---------- 08 · Familie ---------- */
.familie { background: var(--paper-2); }
.familie__grid { display: grid; gap: var(--space-5); align-items: center; }
.familie__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-1); border: 6px solid #fff; box-shadow: var(--shadow-card); transform: rotate(-.6deg); }
.familie__copy .sechead__h { margin-bottom: var(--space-3); }
.familie__copy > p { max-width: 58ch; }
.familie__tel { font-size: var(--step-1); font-weight: 700; }
.familie__tel a { text-decoration: none; }
.familie__zeiten { display: block; margin-top: var(--space-2); color: var(--ink-soft); }
@media (min-width: 900px) { .familie__grid { grid-template-columns: 5fr 7fr; } .familie__img { margin-left: calc(-1 * var(--space-4)); } }

/* ---------- 09 · Laufkarte ---------- */
.karte { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.karte__st { position: relative; border: 1px solid var(--line-light); border-radius: var(--radius-2); padding: var(--space-3); background: var(--paper); }
.karte__stamp { display: inline-block; border: 1px solid var(--wine-600); border-radius: var(--radius-1); padding: .35em .7em; transform: rotate(-1.2deg); margin-bottom: var(--space-2); background: var(--paper); }
.karte__stamp em { font-style: normal; background: var(--wine-600); color: #fff; padding: .1em .45em; border-radius: var(--radius-1); margin-left: .4em; }
.karte__st p { margin: 0; max-width: 60ch; }
.karte__st .btn { margin-top: var(--space-3); }
.karte__st--done { background: var(--wine-tint); border-color: var(--wine-600); }
.karte__st--next { box-shadow: var(--shadow-card); }
@media (min-width: 1000px) {
  .karte { grid-template-columns: repeat(5, 1fr); gap: var(--space-2); }
  .karte__st { padding: var(--space-3) var(--space-2); }
  .karte__st:not(:first-child)::before { content: ""; position: absolute; left: calc(-1 * var(--space-2) / 2 - 12px); top: 2.2rem; width: 24px; border-top: 1px dotted var(--dot-light); }
}

/* ---------- 10 · FAQ ---------- */
.faq { background: var(--paper-2); }
.faq__grid { display: grid; gap: var(--space-5); }
.faq__head { margin-bottom: 0; }
.faq__item { border-top: 1px solid var(--line-light); }
.faq__item:last-child { border-bottom: 1px solid var(--line-light); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-3); padding: var(--space-3) 0; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-family: var(--font-display); font-weight: 700; font-size: var(--step-2); line-height: 1; color: var(--wine-600); transition: transform var(--dur-2) var(--ease-out); flex: none; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item h3 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: var(--step-1); line-height: var(--leading-head); }
.faq__item > p { margin: 0 0 var(--space-3); max-width: 62ch; color: var(--ink-soft); }
@media (min-width: 1000px) { .faq__grid { grid-template-columns: 4fr 8fr; align-items: start; } .faq__head { position: sticky; top: calc(var(--header-h) + var(--space-4)); } }

/* ---------- 11 · Anfrage (Dämmerungs-Finale, fullwidth) ---------- */
.anfrage { color: var(--snow); overflow: clip; }
.anfrage__bg { position: absolute; inset: 0; background: image-set(url("../assets/img/fenster-sanierung-haus-herr-900.avif") type("image/avif"), url("../assets/img/fenster-sanierung-haus-herr-900.webp") type("image/webp")) center 30% / cover no-repeat var(--hall-950); }
@media (min-width: 900px) {
  .anfrage__bg { background-image: image-set(url("../assets/img/fenster-sanierung-haus-herr-1920.avif") type("image/avif"), url("../assets/img/fenster-sanierung-haus-herr-1920.webp") type("image/webp")); }
}
.anfrage__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19, 23, 25, .38) 0%, rgba(42, 32, 24, .55) 25%, rgba(26, 21, 16, .82) 60%, rgba(19, 23, 25, .95) 100%); }
.anfrage__in { position: relative; z-index: 2; }
.sechead--onphoto { text-shadow: 0 1px 14px rgba(19, 23, 25, .65); }
.sechead--onphoto .sechead__sub { color: var(--snow); }
.sechead--onphoto .sechead__kicker { color: #ffb37a; text-shadow: none; }

.beleg--form { max-width: 46rem; margin-inline: 0; padding: 0; --punch: #241c15; }
.fsteps { display: flex; gap: var(--space-3); padding: var(--space-4) var(--space-4) 0; color: var(--ink-soft); }
.beleg--form .fsteps__dot { opacity: .45; }
.beleg--form .fsteps__dot.is-active { opacity: 1; color: var(--wine-600); }
.beleg--form form { padding: var(--space-3) var(--space-4) var(--space-4); }
.form-status { display: none; padding: var(--space-4); }
.form-status h3 { font-family: var(--font-display); font-weight: 900; font-size: var(--step-2); margin: 0 0 var(--space-2); }
.form-status.ok h3 { color: var(--wine-600); }
.form-status p { margin: 0; color: var(--ink-soft); }
.beleg--form.is-sent form, .beleg--form.is-sent .fsteps { display: none; }
.beleg--form.is-sent .form-status.ok { display: block; }
.beleg--form.is-fail .form-status.fail { display: block; }

/* Formular-Elemente */
.fstep { display: none; border: 0; padding: 0; margin: 0; }
.fstep.is-active { display: block; }
.no-js .fstep { display: block; border-top: 1px solid var(--line-light); padding-top: var(--space-3); margin-top: var(--space-3); }
.field { margin-bottom: var(--space-3); }
.field label, .field__label { display: block; font-weight: 700; margin: 0 0 .45em; color: var(--ink); }
.req { color: var(--wine-600); }
input[type="text"], input[type="tel"], input[type="email"], select, textarea {
  width: 100%; min-height: var(--touch-min); padding: .65em .9em;
  font: inherit; color: var(--ink); background: #fff;
  border: 1px solid var(--line-light); border-radius: var(--radius-2);
}
input:focus, select:focus, textarea:focus { border-color: var(--wine-600); outline: 2px solid var(--wine-tint); }
textarea { min-height: 7.5em; resize: vertical; }
.grid-2 { display: grid; gap: var(--space-2); }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

.choice { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-1); }
.choice label { position: relative; display: flex; align-items: center; justify-content: center; min-height: var(--touch-min); padding: .7em .8em; text-align: center; border: 1px solid var(--line-light); border-radius: var(--radius-2); cursor: pointer; font-weight: 500; color: var(--ink); transition: border-color var(--dur-1), background var(--dur-1); }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice input:checked + span { color: var(--wine-600); font-weight: 700; }
.choice label:has(input:checked) { border-color: var(--wine-600); background: var(--wine-tint); }
.choice input:focus-visible + span { outline: 3px solid var(--wine-500); outline-offset: 8px; }

.err { display: none; margin-top: .4em; font-size: var(--step--1); color: var(--wine-700); font-weight: 500; }
.field.has-err .err, .has-err > .err { display: block; }
.field.has-err input, .field.has-err select, .field.has-err textarea { border-color: var(--wine-600); }
.anfrage__either { font-size: var(--step--1); color: var(--ink-soft); margin: calc(-1 * var(--space-2)) 0 var(--space-3); }
.consent { display: grid; grid-template-columns: auto 1fr; gap: var(--space-2); align-items: start; }
.consent input { width: 22px; height: 22px; margin-top: .2em; accent-color: var(--wine-600); }
.consent label { font-weight: 400; font-size: var(--step--1); color: var(--ink-soft); }
.form-actions { display: flex; gap: var(--space-2); margin-top: var(--space-4); }
.form-actions .btn--ghost { color: var(--ink); }
.form-actions .btn--primary { flex: 1; }
.form-note { margin: var(--space-3) 0 0; text-align: center; color: var(--ink-soft) !important; }
.textlink { color: var(--wine-600); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- 12 · Footer ---------- */
.footer { position: relative; background: var(--hall-950); color: var(--snow-soft); padding: var(--space-6) 0 var(--space-4); }
.footer__grid { display: grid; gap: var(--space-4); padding-bottom: var(--space-4); border-bottom: 1px solid var(--line-dark); }
.footer__col p { margin: var(--space-2) 0 0; }
.footer__tel { font-family: var(--font-display); font-weight: 900; font-size: var(--step-2); }
.footer__tel a { color: var(--snow); text-decoration: none; }
.footer__claim { font-style: italic; }
.footer .textlink { color: var(--snow-soft); }
.footer .textlink:hover { color: var(--snow); }
.footer__col--legal { text-align: left; }
.footer__col--legal img { margin-top: var(--space-2); }
.footer__line { display: block; text-align: center; margin: var(--space-3) auto 0; color: var(--snow-dim); }
@media (min-width: 800px) { .footer__grid { grid-template-columns: 1.2fr 1fr 1fr; } .footer__col--legal { text-align: right; } .footer__col--legal img { margin-left: auto; } }

/* ---------- Bottom-Bar (mobil) ---------- */
.bottombar { position: fixed; inset: auto 0 0 0; z-index: var(--z-bottombar); display: none; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--hall-950); border-top: 1px solid var(--line-dark); transform: translateY(100%); transition: transform var(--dur-3) var(--ease-out); }
.bottombar.is-visible { transform: none; }
.bottombar a { display: flex; align-items: center; justify-content: center; min-height: 54px; font-weight: 700; text-decoration: none; }
.bottombar__call { background: var(--hall-800); color: var(--snow); }
.bottombar__cta { background: var(--wine-600); color: var(--snow); }
@media (max-width: 899px) { .js .bottombar { display: grid; } }

/* ---------- Reveals & Motion ---------- */
.reveal { opacity: 0; transform: translateY(var(--reveal-shift)); transition: opacity var(--dur-4) var(--ease-out), transform var(--dur-4) var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .werk__beat { opacity: 1 !important; transform: none !important; transition: none !important; }
  .header, .bottombar { transition: none; }
  .btn, .chip, .faq__item summary::after, .pline { transition: none; }
}
