/* ==========================================================
   Bauwasserschutz.de — Mobile First
   Basis-Styles gelten für Smartphones, Erweiterungen per min-width.
   ========================================================== */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --green: #092d1c;        /* Logo */
  --green-800: #144a31;    /* Buttons */
  --green-700: #1f6a45;    /* Hover, Akzente */
  --green-100: #dfece4;
  --green-50: #eff5f1;
  --sand: #f6f4ee;
  --sand-200: #ebe6d9;
  --wood: #c98f45;
  --wood-ink: #8a5a1c;

  --text: #1c2924;
  --muted: #56645d;
  --line: #e2e0d7;
  --white: #fff;
  --heat: #e8590c;
  --wa: #1fa855;

  --font: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;

  --wrap: 1200px;
  --gutter: 20px;
  --section: 64px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(9, 45, 28, .05), 0 12px 32px -18px rgba(9, 45, 28, .28);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; scroll-padding-bottom: 90px; -webkit-text-size-adjust: 100%; } /* unten: Platz für mobile Leiste */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(76px + env(safe-area-inset-bottom)); /* Platz für mobile Leiste */
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3 { margin: 0; color: var(--green); line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(2rem, 7vw, 3.5rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; }
h2 { font-size: clamp(1.65rem, 4.6vw, 2.6rem); font-weight: 760; letter-spacing: -0.028em; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.012em; }
h3 small, .legend small {
  font-size: .72rem; font-weight: 600; letter-spacing: .01em;
  color: #b8460a; background: #fdeee5; border-radius: 99px; padding: 2px 8px; margin-left: 6px; /* Kontrast ≥ 4,5:1 */
  vertical-align: middle; position: relative; top: -2px;
}
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--green-800); text-underline-offset: 3px; }
a:hover { color: var(--green-700); }
/* Fokusrahmen: ≥ 3:1 zum Untergrund (WCAG 1.4.11) – dunkles Holz auf hell, helles Holz auf dunkelgrün */
:focus-visible { outline: 3px solid var(--wood-ink); outline-offset: 2px; border-radius: 4px; }
.site-footer :focus-visible, .region :focus-visible { outline-color: var(--wood); }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--green); color: #fff; padding: 10px 14px; border-radius: 6px; }
.skip:focus { top: 12px; color: #fff; }

.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--wood-ink); margin-bottom: .9rem;
}
.kicker::before { content: ""; width: 18px; height: 2px; background: var(--wood); }

/* ---------- Buttons (min. 48px Touch-Ziel) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 24px;
  border: 1.5px solid var(--green-800); border-radius: 999px;
  background: var(--green-800); color: #fff;
  font: 650 1rem/1.1 var(--font); letter-spacing: -0.005em; text-align: center;
  text-decoration: none; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, transform .15s;
}
.btn:hover { background: var(--green); border-color: var(--green); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--green); border-color: rgba(9, 45, 28, .25); }
.btn-ghost:hover { background: var(--green-50); color: var(--green); border-color: var(--green); }
.btn-light { background: #fff; color: var(--green); border-color: #fff; }
.btn-light:hover { background: var(--green-50); color: var(--green); border-color: var(--green-50); }
.btn-wa { background: #fff; color: var(--green); border-color: var(--line); }
.btn-wa:hover { background: var(--green-50); color: var(--green); border-color: var(--wa); }
.btn-wa svg { width: 22px; height: 22px; fill: none; stroke: var(--wa); stroke-width: 1.8; stroke-linejoin: round; }
.btn-wa svg .fill { fill: var(--wa); stroke: none; }
.btn-small { min-height: 44px; padding: 0 18px; font-size: .92rem; }
.btn-wide { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { flex: none; }
.brand img { width: auto; height: 32px; }

.header-cta { display: none; }
.nav {
  display: none;
  position: absolute; left: 0; right: 0; top: 64px;
  flex-direction: column; background: #fff;
  border-bottom: 1px solid var(--line); box-shadow: 0 16px 24px -16px rgba(9,45,28,.3);
  padding: 4px var(--gutter) 16px;
}
.nav.is-open { display: flex; }
.nav a { color: var(--green); text-decoration: none; font-weight: 600; padding: 14px 0; border-bottom: 1px solid var(--line); }
.nav a:last-child { border-bottom: 0; }

.nav-toggle { width: 48px; height: 48px; margin-right: -12px; background: none; border: 0; cursor: pointer; color: var(--green); }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px;
  margin: 0 auto; position: relative; transition: transform .2s, background .2s;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { background: var(--sand); padding: 28px 0 32px; }
.hero-grid { display: grid; gap: 28px; }
.lead { font-size: 1.08rem; color: var(--muted); margin-top: 16px; max-width: 34em; }
.hero-actions { display: grid; gap: 10px; margin-top: 24px; }

.hero-media { margin: 0; position: relative; }
.hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.hero-badge {
  position: absolute; left: 12px; bottom: 12px;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.hero-badge span {
  background: rgba(255,255,255,.94); color: var(--green);
  font-size: .8rem; font-weight: 650; border-radius: 99px; padding: 5px 11px;
}

/* Mobil: Produktfoto direkt unter der Überschrift */
.hero-copy { display: contents; }
.hero-copy > * { order: 3; }
.hero-copy > h1 { order: 1; }
.hero-media { order: 2; }
.hero-grid { gap: 0; }
.hero-grid > .hero-media { margin: 20px 0 4px; }

.trust {
  list-style: none; margin: 32px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;
}
.trust span { min-width: 0; }
.trust li {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  background: #fff; border-radius: var(--radius-sm); padding: 12px;
  font-size: .85rem; line-height: 1.3; color: var(--muted);
}
.trust svg { width: 28px; height: 28px; flex: none; fill: none; stroke: var(--green-700); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.trust strong { display: block; color: var(--green); font-size: .9rem; }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section-sand { background: var(--sand); }
.section-head { max-width: 720px; margin-bottom: 32px; }
.section-intro { margin-top: 14px; font-size: 1.05rem; color: var(--muted); }
.section-head .btn { margin-top: 20px; }

/* ---------- Bento (Leistungen) ---------- */
.bento { display: grid; gap: 14px; }
.tile {
  background: var(--sand); border-radius: var(--radius); padding: 24px;
  display: flex; flex-direction: column; gap: 10px;
}
.tile p { color: var(--muted); font-size: .98rem; }
.tile-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: #fff; margin-bottom: 6px; }
.tile-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--green-700); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.tile-icon .heat { stroke: var(--heat); }
.tile-dark { background: var(--green); }
.tile-dark h3 { color: #fff; }
.tile-dark p { color: rgba(255,255,255,.78); }
.tile-dark .tile-icon { background: rgba(255,255,255,.1); }
.tile-dark .tile-icon svg { stroke: rgba(255,255,255,.85); }
.tile-dark .tile-icon .heat { stroke: #ff8a4c; }
.tile-dark h3 small { background: rgba(255,138,76,.18); color: #ffb08a; }
.tile-feature, .tile-photo { padding: 0; overflow: hidden; gap: 0; }
.tile-feature img, .tile-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tile-body { padding: 22px 24px 24px; display: grid; gap: 10px; }

/* Bildschutz (erschwert Speichern/Ziehen) */
.protect { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; pointer-events: none; }

/* ---------- Drawing ---------- */
.aufbau-grid { display: grid; gap: 14px; }
.drawing-card { margin: 0; background: #fff; border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: center; }
.drawing-card figcaption { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }

.drawing { width: 100%; height: auto; }
.drawing .hatch-line { stroke: #cfcabb; stroke-width: 1; }
.drawing .insul { fill: #e3ecf2; stroke: #49677a; stroke-width: 1.2; }
.drawing .insul-line { fill: none; stroke: #9bb8cc; stroke-width: .9; }
.drawing .wood { fill: #e2c08a; stroke: #8a6a3c; stroke-width: 1.4; }
.drawing .ln { stroke: var(--green); stroke-width: 1.4; fill: none; }
.drawing .ln-strong { stroke: var(--green); stroke-width: 2.2; fill: none; }
.drawing .ln-thin { stroke: var(--muted); stroke-width: .8; fill: none; }
.drawing .pipe-o { stroke: var(--green); stroke-width: 11; fill: none; stroke-linejoin: round; }
.drawing .pipe-i { stroke: #fff; stroke-width: 6; fill: none; stroke-linejoin: round; }
.drawing .hose { stroke: var(--green); stroke-width: 5; fill: none; stroke-linecap: round; }
.drawing .comp { fill: #fff; stroke: var(--green); stroke-width: 1.6; }
.drawing .comp-thin { fill: none; stroke: var(--green); stroke-width: .9; }
.drawing .dot, .drawing .plug { fill: var(--green); }
.drawing .heat { fill: none; stroke: var(--heat); stroke-width: 2.6; stroke-linejoin: round; stroke-linecap: round; }
.drawing .heat-lead { fill: none; stroke: var(--heat); stroke-width: 2; stroke-dasharray: 5 3; }
.drawing .heat-end { fill: var(--heat); }
.drawing .heat-box { fill: #fff; stroke: var(--heat); stroke-width: 2; }
.drawing .lbl { font-family: var(--font); font-size: 19px; font-weight: 600; fill: var(--muted); paint-order: stroke; stroke: #fff; stroke-width: 5px; stroke-linejoin: round; }
.drawing .leader { stroke: var(--green); stroke-width: 1; }
.drawing .mark { transform-box: fill-box; transform-origin: center; transform: scale(1.7); }
.drawing .mark circle { fill: var(--green); stroke: #fff; stroke-width: 1.5; transition: fill .15s; }
.drawing .mark text { font-family: var(--font); font-size: 12px; font-weight: 700; fill: #fff; text-anchor: middle; }
.drawing .mark-heat circle { fill: var(--heat); }
.drawing [data-part], .drawing .base { transition: opacity .2s; }
.drawing [data-part] { cursor: pointer; }
.drawing.has-active [data-part]:not(.is-on), .drawing.has-active .base { opacity: .2; }
.drawing [data-part].is-on .mark circle { fill: var(--wood); }
.drawing [data-part="7"].is-on .mark circle { fill: var(--heat); }

.legend {
  list-style: none; margin: 0; padding: 6px 0;
  display: flex; flex-direction: column;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
}
.legend li {
  flex: 1; display: flex; border-left: 3px solid transparent;
  font-size: .9rem; color: var(--muted); line-height: 1.35;
  transition: background .15s, border-color .15s;
}
.legend-btn {
  appearance: none; -webkit-appearance: none; margin: 0; border: 0; background: none;
  font: inherit; color: inherit; line-height: inherit; text-align: left; cursor: pointer;
  width: 100%; display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: center;
  padding: 10px 16px;
}
.legend-btn:focus-visible { outline-offset: -3px; }
.legend li + li { border-top: 1px solid var(--line); }
.legend li strong { display: block; color: var(--green); font-size: .95rem; }
.legend li.is-on { background: var(--green-50); border-left-color: var(--wood); }
.legend li[data-part="7"].is-on { background: #fdf1ea; border-left-color: var(--heat); }
.legend-no {
  width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: #fff;
  display: grid; place-items: center; font-size: .78rem; font-weight: 700;
}
.legend li.is-on .legend-no { background: var(--wood); }
.legend-no-heat, .legend li[data-part="7"].is-on .legend-no { background: var(--heat); }

/* ---------- Ablauf ---------- */
.ablauf-grid { display: grid; gap: 28px; }
.ablauf-media { margin: 0; }
.ablauf-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li { position: relative; padding: 0 0 24px 56px; counter-increment: step; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: -2px;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green); color: #fff; font-weight: 750;
}
.steps li:not(:last-child)::after {
  content: ""; position: absolute; left: 18px; top: 40px; bottom: 4px; width: 2px; background: var(--green-100);
}
.steps h3 { margin-bottom: 4px; padding-top: 5px; }
.steps p { color: var(--muted); font-size: .98rem; }

/* ---------- Region ---------- */
.region { background: var(--green); color: #fff; padding: 44px 0; }
.region-inner { display: grid; gap: 20px; }
.region h2 { color: #fff; font-size: clamp(1.4rem, 4vw, 2rem); margin-bottom: 8px; }
.region p { color: rgba(255,255,255,.78); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: 8px; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--sand); border-radius: var(--radius-sm); }
.faq details[open] { background: #fff; box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center;
  padding: 16px 18px; font-weight: 650; color: var(--green); line-height: 1.4; min-height: 56px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 5v10M5 10h10' stroke='%23092d1c' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--green-50); }
.faq details p { padding: 0 18px 18px; margin: 0; color: var(--muted); }

/* ---------- Kontakt ---------- */
.contact-panel { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: grid; }
.contact-photo { margin: 0; position: relative; }
.contact-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 18%; }
.contact-photo figcaption {
  position: absolute; left: 14px; bottom: 14px;
  background: rgba(255,255,255,.95); border-radius: var(--radius-sm); padding: 8px 14px; line-height: 1.3;
}
.contact-photo strong { display: block; color: var(--green); font-size: .98rem; }
.contact-photo span { font-size: .85rem; color: var(--muted); }
.contact-body { padding: 24px 20px 26px; }
.contact-body h2 { margin-bottom: 4px; }
.hints { margin-top: 20px; }
.hints p { font-size: .85rem; font-weight: 650; color: var(--green); margin-bottom: 8px; }
.hints ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.hints li {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--sand); border-radius: 99px; padding: 5px 12px 5px 9px; font-size: .85rem; color: var(--text);
}
.hints li::before {
  content: ""; width: 14px; height: 14px; flex: none; border-radius: 50%;
  background: var(--wood) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M4 7.2l2 2 4-4.4' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.contact-actions { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 8px; }
.contact-actions a {
  display: flex; align-items: center; gap: 12px; min-height: 56px;
  padding: 8px 14px; border-radius: var(--radius-sm); background: var(--sand);
  color: var(--green); text-decoration: none; font-weight: 650; font-size: .94rem; line-height: 1.35;
  transition: background .15s;
}
.contact-actions span { min-width: 0; }
@media (min-width: 640px) { .contact-actions a { font-size: 1rem; } }
.contact-actions a:hover { background: var(--green-50); color: var(--green); }
.contact-actions svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--green-700); stroke-width: 1.8; stroke-linejoin: round; }
.contact-actions .is-wa svg { stroke: var(--wa); }
.contact-actions .is-wa svg .fill { fill: var(--wa); stroke: none; }
.contact-actions small { display: block; font-size: .75rem; font-weight: 600; color: var(--muted); line-height: 1.2; }
.wa-note { margin: 12px 0 0; font-size: .8rem; color: var(--muted); }


/* ---------- Footer ---------- */
.site-footer { background: var(--green); color: rgba(255,255,255,.75); font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--green-100); text-decoration: underline; }
.footer-inner { display: grid; gap: 28px; padding-top: 48px; padding-bottom: 32px; }
.footer-inner p { color: rgba(255,255,255,.88); line-height: 1.7; }
.footer-inner a { color: rgba(255,255,255,.88); }
.footer-inner a:hover { color: #fff; }
.footer-brand img { width: 100%; max-width: 300px; }
.footer-title { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--wood); margin-bottom: .4rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 18px; padding-bottom: 22px; border-top: 1px solid rgba(255,255,255,.14); font-size: .88rem; }
.footer-bottom p { margin: 0; }
.footer-bottom nav { display: flex; gap: 20px; }

/* ---------- Mobile Aktionsleiste ---------- */
.mobile-bar {
  display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 8px;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: rgba(255,255,255,.97); border-top: 1px solid var(--line);
  box-shadow: 0 -8px 20px -12px rgba(9,45,28,.35);
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
}
.mobile-bar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 54px; border-radius: 12px;
  font-size: .78rem; font-weight: 700; text-decoration: none; color: var(--green); background: var(--sand);
}
.mobile-bar svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.mobile-bar .mobile-bar-wa svg { stroke: var(--wa); }
.mobile-bar .mobile-bar-main { background: var(--green-800); color: #fff; }

/* ==========================================================
   ≥ 640px  (große Smartphones quer, kleine Tablets)
   ========================================================== */
@media (min-width: 640px) {
  :root { --gutter: 28px; --section: 80px; }
  .hero-actions { display: flex; flex-wrap: wrap; }
  .trust { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .trust li { flex-direction: row; align-items: center; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile-feature { grid-column: 1 / -1; }
  .footer-inner { grid-template-columns: 1.4fr 1fr 1fr; }
  .drawing .lbl { font-size: 15px; stroke-width: 4px; }
  .drawing .mark { transform: scale(1.3); }
}

/* ==========================================================
   ≥ 960px  (Tablet quer, Desktop)
   ========================================================== */
@media (min-width: 960px) {
  :root { --gutter: 32px; --section: 104px; }
  html { scroll-padding-bottom: 0; }
  body { font-size: 18px; padding-bottom: 0; }
  .mobile-bar { display: none; }

  .header-inner { height: 76px; }
  .brand img { height: 38px; }
  .nav-toggle { display: none; }
  .nav {
    display: flex; position: static; flex-direction: row; gap: 26px;
    background: none; border: 0; box-shadow: none; padding: 0;
  }
  .nav a { padding: 6px 0; border: 0; font-size: .95rem; color: var(--text); font-weight: 550; }
  .nav a:hover { color: var(--green-700); }
  .header-cta { display: flex; align-items: center; gap: 18px; }
  .header-phone { display: inline-flex; align-items: center; gap: 7px; font-weight: 650; color: var(--green); text-decoration: none; font-size: .95rem; }
  .header-phone svg { width: 18px; height: 18px; fill: none; stroke: var(--green-700); stroke-width: 1.6; stroke-linejoin: round; }
  html { scroll-padding-top: 92px; }

  .hero { padding: 64px 0 56px; }
  .hero-copy { display: block; }
  .hero-grid > .hero-media { margin: 0; }
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
  .hero-media img { max-width: 560px; margin-left: auto; }
  .hero-badge { left: auto; right: 16px; bottom: 16px; }
  .trust { margin-top: 48px; }
  .trust li { padding: 16px; font-size: .9rem; }

  .section-head { margin-bottom: 44px; }

  .bento { grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: auto auto; }
  .bento > :nth-child(1) { grid-column: 1; grid-row: 1 / span 2; }
  .bento > :nth-child(2) { grid-column: 2; grid-row: 1; }
  .bento > :nth-child(3) { grid-column: 3; grid-row: 1; }
  .bento > :nth-child(4) { grid-column: 2; grid-row: 2; }
  .bento > :nth-child(5) { grid-column: 3; grid-row: 2; }
  .tile-feature img { aspect-ratio: auto; flex: 1; min-height: 280px; }
  .tile-photo img { aspect-ratio: 16 / 9; }

  .aufbau-grid { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
  .drawing-card { padding: 24px; }
  .drawing .lbl { font-size: 13px; stroke-width: 4px; }
  .drawing .mark { transform: none; }

  .ablauf-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
  .ablauf-media img { max-width: 520px; }

  .region { padding: 56px 0; }
  .region-inner { grid-template-columns: 1fr auto; align-items: center; gap: 40px; }

  .faq-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); gap: 64px; align-items: start; }
  .faq-grid .section-head { position: sticky; top: 110px; }

  .contact-panel { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .contact-photo img { height: 100%; aspect-ratio: auto; min-height: 520px; object-position: 50% 20%; }
  .contact-photo figcaption { left: 20px; bottom: 20px; }
  .contact-body { padding: 48px 52px; align-self: center; }
  .contact-actions { grid-template-columns: 1fr 1fr; }
  .contact-actions li:last-child { grid-column: 1 / -1; }
}

/* ---------- 404: eingefrorene Seite ---------- */
.nf { position: relative; overflow: hidden; background: linear-gradient(180deg, #eef5f9 0%, var(--sand) 100%); padding: 48px 0 72px; }
.nf-grid { position: relative; display: grid; gap: 28px; align-items: center; }
.nf-art { width: 100%; max-width: 420px; margin: 0 auto; }
.nf-dial { font: 700 13px var(--font); fill: #fff; font-variant-numeric: tabular-nums; }
.nf-label { font: 600 7px var(--font); fill: var(--muted); letter-spacing: 1px; text-transform: uppercase; }
.nf-temp { font: 800 15px var(--font); fill: #2a73a0; }
.nf-sparkle { animation: nf-twinkle 2.4s ease-in-out infinite; }
.nf-thermo { transform-box: fill-box; transform-origin: 50% 100%; animation: nf-shiver 3s ease-in-out infinite; }
.nf-links { margin-top: 18px; font-size: .95rem; color: var(--muted); }
.nf-snow span {
  position: absolute; top: -40px; color: #9bbdd3; font-size: 18px; opacity: .8; user-select: none;
  animation: nf-fall linear infinite;
}
.nf-snow span:nth-child(1)  { left: 4%;  animation-duration: 9s;  animation-delay: 0s; }
.nf-snow span:nth-child(2)  { left: 12%; animation-duration: 12s; animation-delay: 2s; font-size: 12px; }
.nf-snow span:nth-child(3)  { left: 21%; animation-duration: 10s; animation-delay: 5s; }
.nf-snow span:nth-child(4)  { left: 30%; animation-duration: 14s; animation-delay: 1s; font-size: 24px; }
.nf-snow span:nth-child(5)  { left: 39%; animation-duration: 11s; animation-delay: 6s; font-size: 13px; }
.nf-snow span:nth-child(6)  { left: 48%; animation-duration: 9s;  animation-delay: 3s; }
.nf-snow span:nth-child(7)  { left: 57%; animation-duration: 13s; animation-delay: 7s; font-size: 22px; }
.nf-snow span:nth-child(8)  { left: 66%; animation-duration: 10s; animation-delay: 4s; font-size: 12px; }
.nf-snow span:nth-child(9)  { left: 75%; animation-duration: 12s; animation-delay: 0s; }
.nf-snow span:nth-child(10) { left: 83%; animation-duration: 9s;  animation-delay: 5s; font-size: 20px; }
.nf-snow span:nth-child(11) { left: 91%; animation-duration: 14s; animation-delay: 2s; font-size: 14px; }
.nf-snow span:nth-child(12) { left: 97%; animation-duration: 11s; animation-delay: 8s; }
@keyframes nf-fall { from { transform: translateY(0) rotate(0); } to { transform: translateY(820px) rotate(220deg); } }
@keyframes nf-twinkle { 0%, 100% { opacity: .2; } 50% { opacity: 1; } }
@keyframes nf-shiver { 0%, 86%, 100% { transform: rotate(0); } 89% { transform: rotate(-3deg); } 92% { transform: rotate(3deg); } 95% { transform: rotate(-2deg); } }
@media (prefers-reduced-motion: reduce) { .nf-snow, .nf-sparkle, .nf-thermo { animation: none; } .nf-snow { display: none; } }
@media (min-width: 960px) {
  .nf { padding: 96px 0 120px; }
  .nf-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 64px; }
}

/* ---------- Rechtliche Seiten ---------- */
.legal { padding: 48px 0 var(--section); }
.legal .wrap { max-width: calc(46rem + 2 * var(--gutter)); }
.legal h1 { margin-bottom: 1.4rem; }
.legal h2 { font-size: 1.25rem; margin: 2rem 0 .6rem; }
.legal .note { margin-top: 2.4rem; padding: 18px 20px; background: var(--sand); border-left: 4px solid var(--wood); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.credits { margin-top: 3.5rem; padding-top: 1.6rem; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.legal .credits h2 { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 .5rem; }
.credits p { color: var(--muted); }
.todo { background: #fff1b8; color: var(--green); padding: 0 4px; border-radius: 3px; }
.legal-page { padding-bottom: 0; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.legal-page > main { flex: 1; }
.nf { display: flex; align-items: center; }
.nf > .wrap { width: 100%; }
.legal-page .header-inner .btn { display: inline-flex; }
