/* ============================================================
   JMF – Haus & Garten · Design-System
   Charakter: bodenständig, regional, handwerklich, vertrauenswürdig.
   ============================================================ */

/* ---------- Nunito Sans · self-hosted (DSGVO-konform, keine Google-Server) ---------- */
@font-face {
  font-family: 'Nunito Sans'; font-style: normal; font-weight: 200 1000; font-display: swap;
  src: url('fonts/nunitosans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Nunito Sans'; font-style: normal; font-weight: 200 1000; font-display: swap;
  src: url('fonts/nunitosans-latinext.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Nunito Sans'; font-style: italic; font-weight: 200 1000; font-display: swap;
  src: url('fonts/nunitosans-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Nunito Sans'; font-style: italic; font-weight: 200 1000; font-display: swap;
  src: url('fonts/nunitosans-italic-latinext.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* ---------- Bricolage Grotesque · self-hosted, Display-Schrift ----------
   Variable Font, nur die wght-Achse (200–800). Trägt die Headlines und das
   Logo-SVG in jmf.v3.js, das diese Familie referenziert. */
@font-face {
  font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url('fonts/bricolage-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url('fonts/bricolage-latinext.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

:root {
  /* ======================================================================
     FARBE

     REGEL – bitte strikt einhalten:
       --messing      #7A5A38  NUR auf hellem Grund. Auf dunkel: 2,8:1 → fällt durch.
       --messing-hell #C8A060  NUR auf dunklem Grund. Auf hell:   2,2:1 → fällt durch.
     Wer die Fläche wechselt, wechselt das Akzent-Token. Keine Ausnahmen.

     Gemessene Kontraste (WCAG 2.1) gegen --bg #121A15:
       --text #F2EFE7        15,7:1   ✓ AAA
       --text-2 #C6CEC2      11,0:1   ✓ AAA
       --text-3 #9FAC9E       7,5:1   ✓ AAA
       --messing-hell         7,3:1   ✓ AAA
       --line-strong          3,9:1   ✓ (nur UI-Ränder, WCAG 1.4.11 verlangt 3:1)
     ====================================================================== */

  /* Dunkle Flächen – bewusst kein Schwarz, sonst wirkt es billig statt tief */
  --bg: #121A15;            /* Grundton: Waldgrün-Anthrazit */
  --bg-2: #1B2820;          /* abgesetzte Sektion */
  --bg-3: #223026;          /* Karte, erhöhte Fläche */
  --tann: #243B2A;          /* Marken-Grün, jetzt Akzentfläche */
  --tann-900: #1A2E1F;      /* tiefste Fläche, Footer */

  /* Helle Flächen – Formular-Insel, Rechtstexte */
  --stein: #DDD0B3;         /* warme Sandfläche */
  --papier: #F5F1E8;        /* warmes Creme */

  /* Text auf dunkel */
  --text: #F2EFE7;
  --text-2: #C6CEC2;
  --text-3: #9FAC9E;        /* unterste erlaubte Stufe */

  /* Text auf hell */
  --tinte: #1D1D1B;
  --tinte-60: rgba(29, 29, 27, .60);
  --tinte-40: rgba(29, 29, 27, .40);

  /* Akzent – nach Untergrund getrennt, siehe Regel oben */
  --messing: #7A5A38;
  --messing-ink: #5C4229;
  --messing-hell: #C8A060;
  --messing-hell-ink: #121A15;   /* Textfarbe AUF goldener Fläche */

  /* Linien */
  --line: #C8BAA0;                    /* Hairline auf hell */
  --line-dark: rgba(242, 239, 231, .12);  /* dekorativ auf dunkel */
  --line-strong: #6A7B66;             /* funktionale Ränder: Inputs, Fokus */
  --white: #ffffff;

  /* Status */
  --ok: #A9D6A2;
  --err: #F0B4A6;

  /* ---------- SCHRIFT ----------
     Bricolage Grotesque trägt die Headlines (verträgt enges Tracking),
     Nunito Sans den Fließtext (warm, lesbar).
     --font-mono wurde entfernt: es gab nie eine Monospace-Schrift, das Token
     zeigte auf Nunito Sans und täuschte einen Effekt vor, den es nicht gab. */
  --font-display: 'Bricolage Grotesque', 'Nunito Sans', system-ui, sans-serif;
  --font-body: 'Nunito Sans', system-ui, sans-serif;
  --font-label: 'Nunito Sans', system-ui, sans-serif;

  /* ---------- TYPO-SKALA ---------- */
  --fs-display: clamp(3rem, 7vw, 6rem);
  --fs-h1: clamp(2.3rem, 5vw, 4rem);
  --fs-h2: clamp(1.9rem, 3.6vw, 3rem);
  --fs-h3: clamp(1.2rem, 1.6vw, 1.45rem);
  --fs-lead: clamp(1.12rem, 1.6vw, 1.35rem);
  --fs-body: 1.0625rem;
  --fs-sm: .94rem;
  --fs-label: .74rem;

  /* ---------- ABSTÄNDE ----------
     Die drei Fluid-Werte ersetzen die bisher an 14 Stellen im HTML
     duplizierten Inline-clamp()-Angaben. */
  --sp-1: 4px;   --sp-2: 8px;   --sp-3: 12px;  --sp-4: 16px;  --sp-5: 24px;
  --sp-6: 32px;  --sp-7: 48px;  --sp-8: 64px;  --sp-9: 96px;  --sp-10: 128px;
  --sp-section: clamp(72px, 9vw, 130px);
  --sp-block: clamp(32px, 4vw, 56px);
  --sp-gap: clamp(28px, 4vw, 66px);

  /* ---------- FORM ---------- */
  --maxw: 1200px;
  --r-sm: 6px;
  --r: 10px;
  --r-lg: 18px;
  --r-pill: 999px;

  /* ---------- ELEVATION ----------
     Auf dunklem Grund trennt Licht, nicht Schatten: die 1px-Innenkante oben
     liest sich als Lichtkante und hebt die Karte auch dann ab, wenn der
     Helligkeitsunterschied zur Fläche gering ist. */
  --el-1: inset 0 1px 0 rgba(242,239,231,.06), 0 1px 2px rgba(0,0,0,.40);
  --el-2: inset 0 1px 0 rgba(242,239,231,.08), 0 8px 24px rgba(0,0,0,.45);
  --el-3: inset 0 1px 0 rgba(242,239,231,.10), 0 20px 50px rgba(0,0,0,.55);

  /* ---------- BEWEGUNG ----------
     Leitlinie: „spürbar, aber ruhig". Bewegt wird ausschliesslich opacity und
     transform (Compositor, kein Layout). Maximaler Weg 14px, kein Overshoot,
     kein Bounce – bei einem Handwerksbetrieb kippt Verspieltheit sonst
     schnell in Unseriosität. */
  --dur-0: 120ms;          /* Druckpunkt (:active) */
  --dur-1: 180ms;
  --dur-2: 300ms;
  --dur-3: 450ms;
  --dur-4: 620ms;          /* zeilenweises Headline-Reveal */
  --stagger: 60ms;
  --stagger-line: 90ms;    /* Versatz zwischen zwei Headline-Zeilen */
  --ease: cubic-bezier(.2, .6, .2, 1);
  --ease-out: cubic-bezier(.16, .84, .44, 1);   /* nur Ein-Bewegungen */
  --lift: -2px;            /* eine einzige Hebehöhe für alle Karten */
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
/* [hidden] muss jede display-Regel schlagen. Ohne !important gewinnt z. B.
   .btn { display: inline-flex } gegen den UA-Style und versteckte Buttons
   bleiben sichtbar. */
[hidden] { display: none !important; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: var(--fs-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--messing-hell); color: var(--messing-hell-ink); }

/* ---------- Layout ----------
   Drei dunkle Flächenstufen statt hell/dunkel-Streifen. Die alten Namen
   --tann / --stein bleiben als Alias erhalten, damit bestehendes Markup
   weiterläuft; gemeint sind jetzt aber Tiefenstufen, keine Materialien. */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--sp-5); }
.wrap--wide { max-width: 1340px; }
.section { padding: var(--sp-section) 0; }

.section--dark,  .section--tann  { background: var(--tann); color: var(--text); }
.section--deep,  .section--stein { background: var(--bg-2); color: var(--text); }
.section--light { background: var(--papier); color: var(--tinte); }

.section--dark h1, .section--dark h2, .section--dark h3,
.section--tann h1, .section--tann h2, .section--tann h3,
.section--deep h1, .section--deep h2, .section--deep h3,
.section--stein h1, .section--stein h2, .section--stein h3 { color: var(--text); }
.section--light h1, .section--light h2, .section--light h3 { color: var(--tinte); }
.section--light .lead, .section--light .muted { color: var(--tinte-60); }
.section--light .eyebrow { color: var(--messing-ink); }
.section--light .eyebrow::before { background: var(--messing); }

/* ---------- Typografie ----------
   Bricolage Grotesque verträgt deutlich engeres Tracking als Nunito Sans.
   Genau daher kommt der „teure" Eindruck: große Grade, eng gesetzt. */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.01em;
  color: var(--text);
}
.display {
  font-size: var(--fs-display);
  font-weight: 800;
  line-height: .96;
  letter-spacing: -.03em;
}
h1 { font-size: var(--fs-h1); font-weight: 800; line-height: 1.05; letter-spacing: -.025em; }
h2 { font-size: var(--fs-h2); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.25; letter-spacing: -.01em; }
p { max-width: 64ch; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--text-2); }
.muted { color: var(--text-2); }

/* Label / „Typenschild" – ersetzt die frühere Mono-Illusion (--font-mono). */
.label {
  font-family: var(--font-label);
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* Abstands-Utilities – lösen die an 14 Stellen duplizierten Inline-clamp() ab */
.mb-block { margin-bottom: var(--sp-block); }
.mb-gap { margin-bottom: var(--sp-gap); }
.mt-block { margin-top: var(--sp-block); }

/* ---------- Bewegungs-Utilities ----------
   .lift ist die EINE Hebe-Regel für alle Karten. :focus-within ist wichtig:
   sonst reagiert eine Karte auf die Maus, aber nicht auf die Tastatur. */
.lift {
  transition: transform var(--dur-1) var(--ease),
              box-shadow var(--dur-1) var(--ease),
              border-color var(--dur-1) var(--ease);
}
.lift:hover, .lift:focus-within {
  transform: translateY(var(--lift));
  box-shadow: var(--el-3);
  border-color: rgba(200, 160, 96, .35);
}

/* Druckpunkt: gab es bisher gar nicht. Ohne haptische Rückmeldung wirkt ein
   Klick auf dem Touchscreen, als wäre nichts passiert. */
.btn:active, .tile:active span, .lyr-btn:active, .tabs__tab:active, .ort-btn:active {
  transform: translateY(0) scale(.985);
  transition-duration: var(--dur-0);
}

/* Eyebrow – kurze Linie statt Quadrat */
.eyebrow {
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--messing-hell);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 22px; height: 2px;
  background: var(--messing-hell);
  flex: none;
  border-radius: 1px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  padding: 14px 26px; border-radius: var(--r);
  border: 1.5px solid transparent; cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), transform .15s var(--ease), border-color .2s;
}
.btn svg { width: 18px; height: 18px; }

/* Primär = goldene Fläche mit dunklem Text: 7,3:1 und der stärkste
   Blickfang auf dunklem Grund. --messing (Braun) fiele hier durch. */
.btn--primary { background: var(--messing-hell); color: var(--messing-hell-ink); border-color: var(--messing-hell); }
.btn--primary:hover { background: #DDB878; border-color: #DDB878; transform: translateY(-1px); }
.btn--outline, .btn--ondark { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn--outline:hover, .btn--ondark:hover { background: var(--text); color: var(--bg); border-color: var(--text); transform: translateY(-1px); }
.btn--block { width: 100%; justify-content: center; }

/* Auf heller Insel drehen sich die Akzente um – siehe Farbregel oben. */
.section--light .btn--primary { background: var(--messing); color: #fff; border-color: var(--messing); }
.section--light .btn--primary:hover { background: var(--messing-ink); border-color: var(--messing-ink); }
.section--light .btn--outline { color: var(--tinte); border-color: var(--line); }
.section--light .btn--outline:hover { background: var(--tinte); color: var(--papier); border-color: var(--tinte); }

/* Textlink mit Pfeil */
.arrow {
  font-family: var(--font-body); font-weight: 600; color: var(--text);
  display: inline-flex; align-items: center; gap: 8px;
  border-bottom: 1.5px solid var(--messing-hell); padding-bottom: 2px;
  transition: gap .2s var(--ease), color .2s;
}
.arrow:hover { gap: 12px; color: var(--messing-hell); }
.arrow svg { width: 16px; height: 16px; color: var(--messing-hell); }
.section--light .arrow { color: var(--tinte); border-bottom-color: var(--messing); }
.section--light .arrow:hover { color: var(--messing-ink); }
.section--light .arrow svg { color: var(--messing); }

/* ---------- Signature: Die Naht (Zwei-Hälften-Split) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; position: relative; }
.split::before {
  content: ''; position: absolute; top: 0; bottom: 0; left: 50%;
  width: 1px; background: var(--messing-hell); transform: translateX(-.5px);
  z-index: 2; opacity: .5;
}
.split__half { padding: clamp(28px, 4vw, 56px); }

/* ---------- Karten-Primitiv ----------
   Auf dunklem Grund trennt die Lichtkante oben (--el-2), nicht der Schatten. */
.card { background: var(--bg-3); border: 1px solid var(--line-dark); border-radius: var(--r); box-shadow: var(--el-2); }
.card--pad { padding: 26px 28px; }
.section--light .card { background: var(--white); border-color: var(--line); box-shadow: 0 2px 8px rgba(29,29,27,.06); }

/* ---------- Bilder ----------
   Kein Scrim, kein Overlay, keine Verdunklung: genau deshalb leuchten die
   Bilder gegen die dunkle Fläche. Statt Rahmen eine Innenkante, sonst
   entsteht auf Dunkel eine harte Linie um jedes Bild. */
.media { position: relative; background: var(--bg-3); border-radius: var(--r-lg); overflow: hidden; }
.media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.06) contrast(1.03); }
.media::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(242, 239, 231, .09);
}
.media--3x2 { aspect-ratio: 3 / 2; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--1x1 { aspect-ratio: 1 / 1; }
.media--portrait { aspect-ratio: 4 / 5; }

/* Symbolbild-Kennzeichnung: solange an einer Bildstelle noch ein Stockfoto
   steht, weist das Badge darauf hin. Beim Tausch gegen ein echtes Foto
   NUR das Attribut data-stock="1" im HTML entfernen – das Badge verschwindet
   dann automatisch. Siehe Ehrlichkeits-Regel in CLAUDE.md. */
[data-stock="1"] { position: relative; }
[data-stock="1"]::after {
  content: 'Symbolbild';
  position: absolute; right: 10px; bottom: 10px; z-index: 2;
  pointer-events: none;
  font-size: .66rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--messing-hell); background: rgba(18, 26, 21, .82);
  padding: 4px 9px; border-radius: 4px;
}

/* ---------- Line-Icons ---------- */
.ico { width: 24px; height: 24px; stroke: currentColor; stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ico--sm { width: 18px; height: 18px; }

/* ============================================================
   Header (zentral via jmf.js injiziert)
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(18, 26, 21, .86);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line-dark);
}
/* Ohne backdrop-filter-Unterstützung volldeckend, sonst wird Text unlesbar */
@supports not (backdrop-filter: blur(1px)) {
  .site-header { background: var(--bg); }
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; }
.brand .logo-img { height: 42px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav a { font-size: .96rem; font-weight: 600; color: var(--text-2); position: relative; transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"]::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -25px; height: 2px; background: var(--messing-hell); border-radius: 1px;
}
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-body); font-size: .9rem; font-weight: 600; color: var(--text); white-space: nowrap; }
.header-phone svg { color: var(--messing-hell); }
.header-cta { padding: 11px 20px; }

.burger { display: none; flex-direction: column; gap: 5px; padding: 10px; background: none; border: none; cursor: pointer; margin-left: auto; }
.burger span { width: 26px; height: 2px; background: var(--text); border-radius: 1px; transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   Footer – Naht-Motiv
   ============================================================ */
.site-footer { background: var(--tann-900); color: var(--text-2); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding: 72px 0 48px; }
.footer-brand .logo-img { height: 42px; margin-bottom: 18px; }
.footer-brand p { font-size: .95rem; max-width: 34ch; }
.footer-col h4 { font-family: var(--font-body); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--messing-hell); margin-bottom: 16px; }
.footer-col a, .footer-col span { display: block; font-size: .95rem; margin-bottom: 9px; color: var(--text-2); transition: color .2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 22px 0; border-top: 1px solid var(--line-dark); font-size: .82rem; color: var(--text-3); }

/* ---------- Actionbar (Anrufen · WhatsApp · Anfrage) ----------
   Mobil eine Bodenleiste, ab 861px eine kompakte Karte unten rechts.
   Sichtbar erst nach dem Hero und ausgeblendet, sobald Formular oder
   CTA-Band im Bild sind – gesteuert von wireActionbar() in jmf.v3.js. */
.actionbar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; gap: 1px; background: var(--line-dark); border-top: 1px solid var(--line-dark); }
.actionbar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 10px; font-weight: 700; font-size: .98rem; background: var(--bg-2); color: var(--text); }
.actionbar .mb-quote { background: var(--messing-hell); color: var(--messing-hell-ink); }
.actionbar a:hover { background: var(--bg-3); }
.actionbar .mb-quote:hover { background: #DDB878; }

@media (min-width: 861px) {
  .actionbar {
    left: auto; right: 24px; bottom: 24px;
    width: auto; flex-direction: column; gap: 0;
    border: 1px solid var(--line-dark); border-radius: var(--r-lg);
    overflow: hidden; box-shadow: var(--el-3); background: var(--line-dark);
    opacity: 0; transform: translateY(12px); pointer-events: none;
    transition: opacity var(--dur-2) var(--ease), transform var(--dur-2) var(--ease);
  }
  .actionbar.is-on { display: flex; opacity: 1; transform: none; pointer-events: auto; }
  .actionbar a { justify-content: flex-start; padding: 13px 20px; font-size: .93rem; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  .actionbar { transition: none; }
}

/* ---------- Formular-Controls ----------
   Eingabefelder sind dunkler als ihre Karte: das Feld liest sich als
   Vertiefung, nicht als weißer Fremdkörper. Rahmen --line-strong erfüllt
   die 3:1 aus WCAG 1.4.11 (--line-dark läge bei 1,3:1 und wäre zu wenig). */
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-body); font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); margin-bottom: 7px; }
.field label .req { color: var(--messing-hell); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--text);
  padding: 13px 15px; background: var(--bg); border: 1.5px solid var(--line-strong); border-radius: var(--r);
  transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); opacity: 1; }
.field select option { background: var(--bg); color: var(--text); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--messing-hell); box-shadow: 0 0 0 3px rgba(200, 160, 96, .22);
}
.field textarea { resize: vertical; min-height: 120px; }
/* Serverseitig beanstandete Felder markieren (gesetzt von wireForm in jmf.v3.js).
   Farbe allein reicht nicht – die Fehlermeldung benennt das Feld zusätzlich. */
.field [aria-invalid="true"] { border-color: var(--err); }
.field [aria-invalid="true"]:focus { border-color: var(--err); box-shadow: 0 0 0 3px rgba(240, 180, 166, .22); }

/* ---------- Mehrstufiges Formular ----------
   Ohne .wz-on (also ohne JavaScript) sind alle Fieldsets sichtbar und
   untereinander gestapelt – das Formular funktioniert dann als klassisches
   Langformular. Erst wireWizard() setzt .wz-on und blendet um. */
.wz-pane { border: 0; padding: 0; margin: 0 0 var(--sp-5); }
.wz-legend { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--text); padding: 0; margin-bottom: 16px; }
.wz-on .wz-pane { display: none; margin-bottom: 0; }
.wz-on .wz-pane.is-active { display: block; }
.wz-on .wz-legend { margin-bottom: 18px; }

.wz-nav { display: flex; gap: 12px; align-items: center; margin-top: var(--sp-5); }
.wz-nav .wz-next { margin-left: auto; }
.wz-on .wz-submit { width: auto; }

/* Fortschrittsanzeige */
.steps { list-style: none; display: flex; gap: 8px; margin-bottom: var(--sp-5); font-size: .84rem; color: var(--text-3); }
.steps li { display: flex; align-items: center; gap: 7px; flex: 1; }
.steps li span {
  display: grid; place-items: center; width: 26px; height: 26px; flex: none;
  border-radius: 50%; border: 1.5px solid var(--line-strong);
  font-size: .8rem; font-weight: 700;
}
.steps li.is-current { color: var(--text); }
.steps li.is-current span { border-color: var(--messing-hell); color: var(--messing-hell); }
.steps li.is-done { color: var(--text-2); }
.steps li.is-done span { background: var(--messing-hell); border-color: var(--messing-hell); color: var(--messing-hell-ink); }

/* Klickkacheln in Schritt 1 – grosse Trefferflaeche statt Dropdown */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile { position: relative; cursor: pointer; }
.tile input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tile span {
  display: flex; align-items: center; min-height: 56px;
  padding: 12px 16px; border-radius: var(--r);
  background: var(--bg); border: 1.5px solid var(--line-strong);
  font-weight: 600; font-size: .96rem; line-height: 1.3;
  transition: border-color var(--dur-1) var(--ease), background var(--dur-1) var(--ease), transform var(--dur-1) var(--ease);
}
.tile:hover span { border-color: var(--messing-hell); transform: translateY(-1px); }
.tile input:checked + span { border-color: var(--messing-hell); background: rgba(200, 160, 96, .14); }
/* Fokus muss sichtbar sein, obwohl der Radio-Button selbst versteckt ist */
.tile input:focus-visible + span { outline: 3px solid var(--messing-hell); outline-offset: 2px; }

@media (max-width: 460px) {
  .tiles { grid-template-columns: 1fr; }
  .wz-nav { flex-wrap: wrap; }
  .wz-nav .wz-next, .wz-nav .wz-back { flex: 1; justify-content: center; }
}

/* ---------- Einsatzgebiet-Karte (eigenes Inline-SVG) ----------
   Ersetzt den früheren OpenStreetMap-iframe: keine Fremd-Requests, keine
   Tiles, kein Datenschutz-Thema – und farblich Teil des Designsystems. */
.karte { background: var(--bg-3); border-radius: var(--r-lg); padding: clamp(16px, 2.5vw, 28px); box-shadow: var(--el-2); }
.karte svg { display: block; width: 100%; height: auto; }
.karte figcaption { margin-top: 14px; font-size: .84rem; line-height: 1.5; }

.karte__wasser  { fill: rgba(111, 126, 130, .30); }
.karte__grenze  { fill: none; stroke: var(--text-3); stroke-width: 2; stroke-dasharray: 10 9; opacity: .7; }
.karte__grenzlabel { fill: var(--text-3); font-family: var(--font-body); font-size: 20px; letter-spacing: .06em; }
.karte__ring circle { fill: none; stroke: var(--line-dark); stroke-width: 1.5; }
.karte__ringlabel {
  fill: var(--text-3); font-family: var(--font-body); font-size: 17px;
  text-anchor: middle; letter-spacing: .04em;
}

.karte__punkt { fill: var(--messing-hell); transition: r var(--dur-2) var(--ease), fill var(--dur-2) var(--ease); }
.karte__label { fill: var(--text-2); font-family: var(--font-body); font-size: 22px; font-weight: 600;
                transition: fill var(--dur-2) var(--ease); }
.karte__ort { transition: opacity var(--dur-2) var(--ease); }
.karte__ort--basis .karte__punkt { fill: var(--text); }
.karte__ort--basis .karte__label { fill: var(--text); font-weight: 700; }
.karte__ort.is-on .karte__punkt { r: 15; fill: var(--text); }
.karte__ort.is-on .karte__label { fill: var(--text); }
.karte__ort.is-dim { opacity: .35; }

/* Ortsliste mit Entfernung – Muster wie .llist */
.orte--km li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.orte--km .ort-km { font-size: .8rem; color: var(--text-3); white-space: nowrap; }
.orte--km li.is-on { background: rgba(200, 160, 96, .10); border-radius: var(--r-sm); }
.ort-btn {
  background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; color: inherit; text-align: left;
  border-bottom: 1.5px dotted transparent;
  transition: color var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease);
}
.ort-btn:hover, .ort-btn[aria-pressed="true"] { color: var(--messing-hell); border-bottom-color: var(--messing-hell); }

/* Auf schmalen Displays trägt die Liste die Information – die Beschriftungen
   im SVG würden dort ineinanderlaufen. */
@media (max-width: 560px) {
  .karte__label { display: none; }
  .karte__ringlabel { font-size: 22px; }
}

/* ---------- Varianten-Umschalter ----------
   Ohne .tabs--on (also ohne JavaScript) ist .tabs schlicht das bisherige
   2×2-Raster mit vier vollständigen Karten. */
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.tabs--on { display: block; }
.tabs__bar {
  display: flex; gap: 6px; margin-bottom: 22px;
  overflow-x: auto; scrollbar-width: none;
  border-bottom: 1px solid var(--line-dark);
}
.tabs__bar::-webkit-scrollbar { display: none; }
.tabs__tab {
  position: relative; background: none; border: 0; cursor: pointer;
  padding: 12px 18px; white-space: nowrap;
  font-family: var(--font-body); font-weight: 700; font-size: .96rem;
  color: var(--text-2);
  transition: color var(--dur-1) var(--ease);
}
.tabs__tab:hover { color: var(--text); }
.tabs__tab[aria-selected="true"] { color: var(--text); }
.tabs__tab::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: -1px;
  height: 2px; background: var(--messing-hell); border-radius: 1px;
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-2) var(--ease);
}
.tabs__tab[aria-selected="true"]::after { transform: scaleX(1); }
/* Die Überschrift steckt jetzt im Reiter – im Panel wäre sie doppelt.
   Nicht display:none, damit sie als Beschriftung verfügbar bleibt. */
.tabs--on .tabs__pane > h3 {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.tabs--on .tabs__pane { animation: paneIn var(--dur-2) var(--ease-out) both; }
@keyframes paneIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 600px) { .tabs { grid-template-columns: 1fr; } }

/* ---------- Lesefortschritt ----------
   Sitzt auf der unteren Kante des Headers und überlagert dessen Trennlinie. */
.scrollbar {
  position: absolute; left: 0; right: 0; bottom: -1px;
  height: 2px; background: transparent; pointer-events: none;
}
.scrollbar__fill {
  display: block; height: 100%;
  background: var(--messing-hell);
  transform: scaleX(0); transform-origin: left;
  will-change: transform;   /* einziges will-change der Seite: dauerhaft animiert */
}

/* ---------- Sprungnavigation ----------
   Klebt unter dem Header. Funktioniert ohne JavaScript vollständig –
   JS ergänzt nur die Markierung des sichtbaren Abschnitts. */
.jump {
  position: sticky; top: 72px; z-index: 99;
  background: rgba(18, 26, 21, .92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-dark);
}
@supports not (backdrop-filter: blur(1px)) { .jump { background: var(--bg); } }
.jump__inner { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.jump__inner::-webkit-scrollbar { display: none; }
.jump a {
  padding: 13px 14px; font-size: .9rem; font-weight: 600;
  color: var(--text-2); white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease);
}
.jump a:hover { color: var(--text); }
.jump a[aria-current="true"] { color: var(--messing-hell); border-bottom-color: var(--messing-hell); }
/* 72px Header + 46px Sprungleiste + Luft – sonst landet die Überschrift dahinter */
.jump-target { scroll-margin-top: 124px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (max-width: 860px) { .jump { top: 72px; } }

/* ---------- Zeilenweises Headline-Reveal ----------
   .ln  = ein Zeilenkasten, schneidet die noch unten stehende Zeile ab
   .ln__i = der bewegte Inhalt

   padding-bottom + negativer margin-bottom in gleicher Höhe: ohne das
   schneidet overflow:hidden die Unterlängen ab (das „g" in „Pflasterarbeiten").
   Die Kombination schafft Luft, ohne die Zeilenhöhe zu verändern – kein CLS. */
html.js .lines .ln {
  display: block;
  overflow: hidden;
  padding-bottom: .09em;
  margin-bottom: -.09em;
}
html.js .lines .ln__i {
  display: block;
  transform: translateY(105%);
  opacity: 0;
  transition: transform var(--dur-4) var(--ease-out),
              opacity var(--dur-4) var(--ease-out);
  transition-delay: calc(var(--i, 0) * var(--stagger-line));
}
html.js .lines.is-in .ln__i { transform: none; opacity: 1; }

/* ---------- Reveal ---------- */
html.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity var(--dur-3) var(--ease), transform var(--dur-3) var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }
/* Gestaffelt: --i wird von wireReveal() je Kind gesetzt */
html.js .reveal--stagger > * {
  opacity: 0; transform: translateY(12px);
  transition: opacity var(--dur-2) var(--ease), transform var(--dur-2) var(--ease);
  transition-delay: calc(var(--i, 0) * var(--stagger));
}
html.js .reveal--stagger.in > * { opacity: 1; transform: none; }

/* ---------- no-JS-Fallback ----------
   Bewusst minimal gestylt: das ist die Notluke, nicht das Design. Sobald
   jmf.v3.js laeuft, ersetzt replaceWith() diese Bloecke vollstaendig. */
.nav-fallback, .foot-fallback {
  display: flex; flex-wrap: wrap; gap: 8px 20px;
  padding: 16px var(--sp-5); font-size: .92rem;
  background: var(--bg-2); border-bottom: 1px solid var(--line-dark);
}
.foot-fallback { display: block; border-bottom: none; border-top: 1px solid var(--line-dark); color: var(--text-2); line-height: 2; }
.nav-fallback a { color: var(--text); font-weight: 600; }
.foot-fallback a { color: var(--messing-hell); text-decoration: underline; }
.nav-fallback a:hover, .foot-fallback a:hover { color: var(--messing-hell); }

/* ---------- A11y ---------- */
a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--messing-hell); outline-offset: 2px; border-radius: 3px;
}
.section--light a:focus-visible, .section--light button:focus-visible { outline-color: var(--messing); }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 300; background: var(--messing-hell); color: var(--messing-hell-ink); padding: 12px 18px; font-weight: 700; border-radius: 0 0 var(--r) var(--r); }
.skip-link:focus { left: 0; }

@media (prefers-reduced-motion: reduce) {
  /* WICHTIG: Jede animierte Klasse muss hier auf ihren ENDZUSTAND gesetzt
     werden, nicht nur „transition: none". Wer nur die Transition abschaltet,
     friert Elemente bei opacity:0 ein – die Sektion ist dann dauerhaft
     unsichtbar. Genau dieser Fehler ist in diesem Projekt schon passiert.
     Bei jeder neuen Animation: Klasse hier ergänzen. */
  .reveal, .reveal--stagger > *,
  .lines .ln__i,
  .tabs__pane, .ba__art, .lyr, .karte__ort {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
  /* Ohne Bewegung ist der Überlauf-Beschnitt nur noch ein Risiko */
  .lines .ln { overflow: visible; }
  .scrollbar__fill { transition: none; }
  * { scroll-behavior: auto !important; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 860px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  /* Nur die Navigation wandert ins Burger-Menue. Die Telefonnummer bleibt
     sichtbar – Telefon-Leads konvertieren um ein Vielfaches besser als
     Formulare und gehoeren nicht hinter zwei Klicks versteckt. */
  .nav { display: none; }
  .header-phone {
    margin-left: auto; padding: 9px 14px;
    border: 1.5px solid var(--messing-hell); border-radius: var(--r);
    color: var(--messing-hell);
  }
  .burger { display: flex; margin-left: 12px; }
  .nav.is-open {
    display: flex; position: fixed; inset: 72px 0 0 0; flex-direction: column; align-items: stretch;
    gap: 0; margin: 0; background: var(--bg); padding: 12px 24px 28px; overflow-y: auto;
  }
  .nav.is-open a { padding: 16px 0; border-bottom: 1px solid var(--line-dark); font-size: 1.1rem; color: var(--text); }
  .nav.is-open a[aria-current="page"]::after { display: none; }
  .nav.is-open .header-cta { margin-top: 16px; text-align: center; justify-content: center; border-bottom: none; }
  .actionbar { display: flex; }
  body { padding-bottom: 64px; }
}
/* Unter 560px wird der Platz im Header knapp: nur noch das Hoerer-Icon */
@media (max-width: 560px) {
  .header-phone span { display: none; }
  .header-phone { padding: 9px 11px; }
}
@media (max-width: 600px) {
  .split { grid-template-columns: 1fr; }
  .split::before { left: 0; right: 0; top: auto; bottom: auto; width: auto; height: 1px; top: 50%; }
  .footer-top { grid-template-columns: 1fr; }
}

/* ============================================================
   Startseite – Sektionen
   ============================================================ */

/* Bild-Platzhalter mit dezentem Slot-Icon */
.media--ph { display: flex; align-items: center; justify-content: center; }
.media--ph svg { width: 46px; height: 46px; stroke: var(--tinte); stroke-width: 1.3; fill: none; opacity: .14; }

/* ---- Hero: Foto vollflächig, Text im Container ---- */
/* min() statt min-height + max-height: eine reine max-height wird von einer
   groesseren min-height ueberstimmt – auf hohen Bildschirmen (4K, Hochkant)
   waere der Hero sonst weit ueber 860px hoch geworden. */
.hero { position: relative; display: flex; align-items: center; min-height: min(78vh, 860px); overflow: hidden; background: var(--bg); }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 32%; }
.hero__scrim { position: absolute; inset: 0; background: linear-gradient(95deg, rgba(18,26,21,.95) 0%, rgba(18,26,21,.76) 44%, rgba(18,26,21,.28) 100%); }
/* ---- Typo-Hero ----
   Übergangslösung, solange kein eigenes Hero-Foto vorliegt. Ein ehrlicher
   Verlauf mit feinem Raster wirkt hochwertiger als ein Stockfoto mit Scrim
   darüber – und behauptet nichts. Beim Foto-Tausch (Etappe 7) einfach die
   Klasse hero--type am <section> entfernen und das <img> einsetzen. */
.hero--type .hero__bg {
  background:
    radial-gradient(120% 90% at 12% 0%, rgba(36, 59, 42, .95) 0%, rgba(18, 26, 21, 0) 62%),
    linear-gradient(160deg, var(--tann) 0%, var(--tann-900) 42%, var(--bg) 100%);
}
/* Feines Gold-Raster: zwei 1px-Linienscharen, sehr niedrige Deckkraft.
   Gibt der Fläche Textur, ohne als Muster aufzufallen. */
.hero--type .hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(200,160,96,.05) 0 1px, transparent 1px 74px),
    repeating-linear-gradient(0deg,  rgba(200,160,96,.05) 0 1px, transparent 1px 74px);
  -webkit-mask-image: radial-gradient(80% 70% at 30% 40%, #000 0%, transparent 78%);
  mask-image: radial-gradient(80% 70% at 30% 40%, #000 0%, transparent 78%);
}
.hero--type .hero__scrim { display: none; }

.hero__content { position: relative; z-index: 2; padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 96px); }
.hero__content > * { max-width: 640px; }
.hero__content .eyebrow { color: var(--messing-hell); }
.hero__content .eyebrow::before { background: var(--messing-hell); }
.hero__content .display { color: var(--text); margin: 16px 0 20px; }
.hero__content .lead { color: var(--text-2); margin-bottom: 30px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__call { font-family: var(--font-body); font-size: .92rem; font-weight: 500; color: var(--text-2); margin-top: 26px; }
.hero__call a { color: var(--text); border-bottom: 2px solid rgba(200,160,96,.6); padding-bottom: 1px; font-weight: 600; transition: border-color .2s; }
.hero__call a:hover { border-color: var(--messing-hell); }
.hero__trust { display: flex; flex-wrap: wrap; gap: 9px 20px; margin-top: 22px; font-family: var(--font-body); font-size: .78rem; font-weight: 600; letter-spacing: .03em; color: var(--text-2); }
.hero__trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero__trust span::before { content: ''; width: 6px; height: 6px; background: var(--messing-hell); border-radius: 50%; flex: none; }

/* Formular-Beruhigung unter dem Button */
.form-note { font-size: .84rem; color: var(--text-2); text-align: center; margin-top: 12px; }

/* Vorher/Nachher: "Vorher" gefiltert */
.ba__before img { filter: grayscale(.55) brightness(.82) contrast(.96) sepia(.16); }

/* ---- Leistungen: Haus | Garten Split ---- */
.leist__intro { max-width: 60ch; margin-bottom: clamp(32px, 4vw, 52px); }
.lhalf { padding: clamp(26px, 3vw, 44px); }
.lhalf__media { margin-bottom: 26px; }
.lhalf__head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.lhalf__head svg { width: 26px; height: 26px; stroke: var(--messing-hell); stroke-width: 1.6; fill: none; }
.lhalf h3 { font-size: 1.65rem; }
.lhalf > p { color: var(--text-2); margin: 8px 0 18px; }
.llist { list-style: none; margin-bottom: 24px; }
.llist li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line-dark); }
.llist li:first-child { border-top: 1px solid var(--line-dark); }
.llist .t { font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; }
/* Verlinkte Listenpunkte (Schwerpunkt-Leistungen mit eigener Unterseite) */
.llist .t a { border-bottom: 1.5px solid var(--messing-hell); padding-bottom: 1px; transition: color .2s; }
.llist .t a:hover { color: var(--messing-hell); }
.llist .d { font-family: var(--font-body); font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); white-space: nowrap; }

/* ---- Warum (dunkel, redaktionell) ---- */
.warum-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.warum-grid > .lead { color: var(--text-2); }
.warum-list { list-style: none; }
.warum-list li { padding: 24px 0; border-top: 1px solid var(--line-dark); }
.warum-list li:last-child { border-bottom: 1px solid var(--line-dark); }
.warum-list h3 { color: var(--text); font-size: 1.25rem; margin-bottom: 8px; }
.warum-list p { color: var(--text-2); max-width: 52ch; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 28px; font-family: var(--font-body); font-size: .8rem; font-weight: 600; color: var(--text-2); }
.facts span { display: inline-flex; align-items: center; gap: 8px; }
.facts span::before { content: ''; width: 6px; height: 6px; background: var(--messing-hell); border-radius: 50%; }

/* ---- Ablauf ---- */
.ablauf-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 28px; }
.ablauf-step { padding-top: 22px; border-top: 2px solid var(--messing-hell); }
.ablauf-step .num { font-family: var(--font-body); font-size: .8rem; font-weight: 700; color: var(--messing-hell); letter-spacing: .05em; }
.ablauf-step h3 { font-size: 1.18rem; margin: 10px 0 7px; }
.ablauf-step p { color: var(--text-2); font-size: .96rem; }

/* ---- Feature-Reihe (Bild | Text, abwechselnd) ---- */
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 66px); align-items: center; }
.frow--rev .frow__media { order: 2; }
.frow h2 { font-size: clamp(1.65rem, 2.8vw, 2.2rem); }
.frow .flist { margin-top: 16px; }
.frow__text .quote { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; line-height: 1.3; color: var(--text); border-left: 3px solid var(--messing-hell); padding-left: 18px; margin: 22px 0; border-radius: 0 2px 2px 0; }
.frow__text .sign { font-family: var(--font-body); font-size: .82rem; font-weight: 600; color: var(--text-2); margin-bottom: 22px; letter-spacing: .02em; }

/* ---- Einsatzgebiet ---- */
.einsatz-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 70px); align-items: center; }
.orte { list-style: none; columns: 2; column-gap: 30px; margin: 20px 0 26px; }
.orte li { padding: 10px 0; border-bottom: 1px solid var(--line-dark); font-family: var(--font-body); font-size: .93rem; font-weight: 500; break-inside: avoid; }
.map { aspect-ratio: 16 / 11; border: 1px solid var(--line-dark); border-radius: var(--r-lg); overflow: hidden; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---- FAQ ---- */
.faq-list { max-width: 840px; }
.faq-item { border-bottom: 1px solid var(--line-dark); }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 0; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--text); display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ''; width: 14px; height: 14px; flex: none; background: linear-gradient(var(--messing-hell),var(--messing-hell)) center/100% 2px no-repeat, linear-gradient(var(--messing-hell),var(--messing-hell)) center/2px 100% no-repeat; transition: transform .25s var(--ease); border-radius: 1px; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 0 22px; color: var(--text-2); max-width: 70ch; line-height: 1.65; }
.faq-item .faq-a a { color: var(--messing-hell); text-decoration: underline; }

/* ---- CTA-Band ---- */
.ctaband-inner { display: flex; justify-content: space-between; align-items: center; gap: clamp(24px, 4vw, 56px); flex-wrap: wrap; }
.ctaband-inner h2 { color: var(--text); max-width: 22ch; }
.ctaband-inner .lead { color: var(--text-2); max-width: 40ch; margin-top: 12px; }
.ctaband-actions { display: flex; gap: 14px; flex-wrap: wrap; }

@media (max-width: 860px) {
  .hero { min-height: 66vh; }
  .hero__scrim { background: linear-gradient(180deg, rgba(18,26,21,.55) 0%, rgba(18,26,21,.92) 100%); }
  .warum-grid, .einsatz-grid { grid-template-columns: 1fr; gap: 32px; }
  .ablauf-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .frow { grid-template-columns: 1fr; gap: 26px; }
  .frow--rev .frow__media { order: 0; }
}
@media (max-width: 560px) {
  .ablauf-grid { grid-template-columns: 1fr; }
  .orte { columns: 1; }
  .ctaband-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  .hero__actions, .ctaband-actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn, .ctaband-actions .btn { justify-content: center; }
}

/* ============================================================
   Unterseiten
   ============================================================ */

/* Subpage-Banner */
.subhero { background: var(--tann); color: var(--text); padding: clamp(52px, 8vw, 88px) 0; }
.subhero .eyebrow { color: var(--messing-hell); }
.subhero .eyebrow::before { background: var(--messing-hell); }
.subhero h1 { color: var(--text); max-width: 22ch; }
.subhero .lead { color: var(--text-2); margin-top: 16px; max-width: 62ch; }
.crumbs { font-family: var(--font-body); font-size: .78rem; font-weight: 500; color: var(--text-3); margin-bottom: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--text); }
.crumbs span { opacity: .5; }

/* Feature-Liste */
.flist { list-style: none; }
.flist li { position: relative; padding: 13px 0 13px 28px; border-bottom: 1px solid var(--line-dark); color: var(--text); }
.flist li::before { content: ''; position: absolute; left: 0; top: 21px; width: 12px; height: 2px; background: var(--messing-hell); border-radius: 1px; }
.section--light .flist li { border-color: var(--line); color: var(--tinte); }
.section--light .flist li::before { background: var(--messing); }

/* Winterdienst-Akzent */
.winter { background: var(--bg-3); color: var(--text); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 48px); box-shadow: var(--el-2); }
.winter .eyebrow { color: var(--messing-hell); }
.winter .eyebrow::before { background: var(--messing-hell); }
.winter h3 { color: var(--text); font-size: 1.55rem; margin-bottom: 14px; }
.winter > p { color: var(--text-2); margin-bottom: 8px; }

/* ---------- Aufbau-Schnitt (Inline-SVG auf pflasterarbeiten.html) ----------
   Alle Farben stehen hier, nicht als Hex im Markup – damit die Zeichnung dem
   Farbsystem folgt und bei einem Theme-Wechsel mitgeht. */
.schnitt { background: var(--bg-3); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 36px); box-shadow: var(--el-2); }
.schnitt svg { display: block; width: 100%; height: auto; }

.lyr__flaeche--planum  { fill: #2E3E32; }
.lyr__flaeche--frost   { fill: #35473A; }
.lyr__flaeche--bettung { fill: #4A5F4E; }
.lyr__steine rect      { fill: #7C917E; stroke: var(--bg); stroke-width: 3; }
.lyr__randstein        { fill: #9AA894; stroke: var(--bg); stroke-width: 2.5; }
.lyr__betonbett        { fill: #5D6E5F; stroke: var(--bg); stroke-width: 2; }
.lyr__kante            { stroke: #8FA08B; stroke-width: 1.5; }
.lyr__fuehrung         { stroke: var(--messing-hell); stroke-width: 1.5; fill: none; }
.lyr__label {
  fill: var(--messing-hell); font-family: var(--font-body);
  font-size: 16px; font-weight: 700;
}
.lyr__label--links { font-size: 15px; }
.schnitt__gefaelle path { stroke: var(--messing-hell); stroke-width: 2.5; fill: none; }
.schnitt__gefaelle text { fill: var(--messing-hell); font-family: var(--font-body); font-size: 15px; font-weight: 700; }
.schnitt__hinweis { fill: var(--text-2); font-family: var(--font-body); font-size: 14px; }

/* Hervorheben einer Schicht */
.lyr { transition: opacity var(--dur-2) var(--ease); }
.lyr.is-dim { opacity: .3; }
.lyr.is-on .lyr__flaeche,
.lyr.is-on .lyr__steine rect,
.lyr.is-on .lyr__randstein { stroke: var(--messing-hell); stroke-width: 3; }
.lyr.is-on .lyr__label { fill: var(--text); }
/* Ohne JS ist die Zeichnung rein informativ – kein toter Klickbereich */
html:not(.js) .lyr { pointer-events: none; }
html.js .flist--lyr-on .lyr { cursor: pointer; }

/* Die Liste neben der Zeichnung wird zur Bedienung */
.lyr-btn {
  background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; font-weight: 700; color: var(--text);
  border-bottom: 1.5px dotted var(--messing-hell);
  transition: color var(--dur-1) var(--ease);
}
.lyr-btn:hover, .lyr-btn[aria-pressed="true"] { color: var(--messing-hell); }
.flist--lyr li {
  transition: background var(--dur-2) var(--ease);
  border-radius: var(--r-sm);
  padding-left: 28px; padding-right: 10px;
}
.flist--lyr li.is-on { background: rgba(200, 160, 96, .10); }
.flist--lyr li.is-on::before { background: var(--text); }

/* Hub-Kachel: ganze Karte ist ein Link (Schwerpunkt-Unterseiten).
   Das Heben kommt aus .lift – eine Regel für alle Karten statt fünf Kopien. */
.hubcard { display: flex; flex-direction: column; align-items: flex-start; }
.hubcard h3 { margin-bottom: 10px; }
.hubcard p { color: var(--text-2); }
.hubcard .arrow { pointer-events: none; }   /* die Karte selbst ist der Link */
.hubcard:hover .arrow { gap: 12px; color: var(--messing-hell); }

/* Galerie / Projektkarten */
.projgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.projcard .media { margin-bottom: 14px; }
.projcard h3 { font-size: 1.15rem; }
.projcard p { color: var(--text-2); font-size: .92rem; margin-top: 4px; line-height: 1.5; }

/* Vorher/Nachher-Slider */
.ba { position: relative; aspect-ratio: 16 / 10; max-width: 980px; border: 1px solid var(--line-dark); border-radius: var(--r-lg); overflow: hidden; user-select: none; touch-action: none; background: var(--bg-3); }
.ba__layer { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
/* Das Platzhalter-Icon bekommt eine eigene Klasse - sonst wuerde diese Regel
   auch die Vergleichs-Zeichnungen auf Briefmarkengroesse schrumpfen. */
.ba__layer .ba__ph { width: 54px; height: 54px; stroke: var(--tinte); stroke-width: 1.2; fill: none; opacity: .14; }
/* Zeichnung fuellt die Ebene vollstaendig */
.ba__layer .ba__art { width: 100%; height: 100%; display: block; }
.ba__after { background: #E7E1D4; }
.ba__before { background: #CDC4B0; clip-path: inset(0 50% 0 0); }
.ba__tag { position: absolute; bottom: 14px; z-index: 3; max-width: 44%; line-height: 1.25; font-family: var(--font-body); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 4px; }
.ba__tag--b { left: 14px; background: rgba(18, 26, 21, .85); color: var(--text); }
.ba__tag--a { right: 14px; text-align: right; background: var(--messing-hell); color: var(--messing-hell-ink); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: var(--messing-hell); transform: translateX(-1px); z-index: 4; pointer-events: none; }
.ba__grip { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; background: var(--messing-hell); color: var(--messing-hell-ink); display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(29,29,27,.25); }
.ba__grip svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; fill: none; }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 5; }
/* Ohne JavaScript bewegt der Regler nichts. Ein unsichtbares, aber
   fokussierbares Steuerelement waere dann eine Falle fuer Tastaturnutzer. */
html:not(.js) .ba__range, html:not(.js) .ba__grip, html:not(.js) .ba__handle { display: none; }

/* ---- Kontakt ---- */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.channels { list-style: none; display: grid; gap: 18px; margin: 22px 0 26px; }
.channels li { display: flex; gap: 14px; align-items: flex-start; }
.channels svg { width: 22px; height: 22px; stroke: var(--messing-hell); stroke-width: 1.6; fill: none; flex: none; margin-top: 3px; }
.channels b { display: block; font-family: var(--font-body); font-size: .73rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); margin-bottom: 3px; }
.channels a, .channels span { display: block; color: var(--text); font-weight: 500; }
.channels a { display: inline-block; }
/* Zusatzhinweis unter einem Kanal (z. B. beim WhatsApp-Eintrag) */
.channels .hint { display: block; margin-top: 3px; font-size: .86rem; font-weight: 400; color: var(--text-3); }
.channels a:hover { color: var(--messing-ink); }
.check { display: flex; gap: 11px; align-items: flex-start; font-size: .92rem; color: var(--text-2); margin: 4px 0 18px; }
.check input[type="checkbox"] { accent-color: var(--messing-hell); width: 18px; height: 18px; flex: none; margin-top: 2px; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--messing); flex: none; border-radius: 3px; }
.check a { color: var(--messing-ink); text-decoration: underline; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { display: none; margin-top: 16px; padding: 14px 16px; border-radius: var(--r); font-weight: 600; }
.form-msg.is-ok { display: block; background: rgba(169, 214, 162, .12); color: var(--ok); border: 1px solid rgba(169, 214, 162, .35); }
.form-msg.is-err { display: block; background: rgba(240, 180, 166, .12); color: var(--err); border: 1px solid rgba(240, 180, 166, .35); }
.form-msg a { color: inherit; text-decoration: underline; }

/* ---- Rechtstexte ---- */
.legal { padding: clamp(40px, 6vw, 72px) 0; }
.legal .wrap { max-width: 820px; }
.legal h1 { margin-bottom: 22px; }
.legal h2 { font-size: 1.25rem; margin: 32px 0 10px; }
.legal p, .legal address { color: var(--text-2); margin-bottom: 12px; font-style: normal; line-height: 1.65; }
.legal a { color: var(--messing-hell); text-decoration: underline; }
.legal .note { margin-top: 28px; padding: 16px 18px; background: var(--bg-3); border-left: 3px solid var(--messing-hell); color: var(--text-2); border-radius: 0 var(--r) var(--r) 0; }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
  .projgrid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .projgrid { grid-template-columns: 1fr; }
}

/* Bilder im Vorher/Nachher-Slider */
.ba__layer img { width: 100%; height: 100%; object-fit: cover; }

/* Kundenstimmen */
.stimmen-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.stimme { display: flex; flex-direction: column; }
.stimme__q { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; line-height: 1.45; color: var(--text); }
.stimme__q::before { content: '\201E'; color: var(--messing); font-size: 1.4em; line-height: .8; }
.stimme__q::after { content: '\201C'; color: var(--messing); font-size: 1.4em; line-height: .8; }
.stimme__by { margin-top: 14px; font-family: var(--font-body); font-size: .88rem; font-weight: 400; color: var(--text-2); letter-spacing: .01em; line-height: 1.55; }
@media (max-width: 860px) { .stimmen-grid { grid-template-columns: 1fr; } }
