/* ==========================================================================
   Zimmerei Brischle – Stylesheet
   Grundlage: zimmerei-brischle-design-system (tokens.css)
   „Fachwerk statt Baukasten“: Kalkweiß, Tannengrün, Ochsenblut, gerade Kanten
   ========================================================================== */

/* ---------- Schriften (lokal, DSGVO) ---------- */
@font-face { font-family: "Bitter"; src: url("../fonts/bitter-latin-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Bitter"; src: url("../fonts/bitter-latin-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/source-sans-3-vf.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --ochsenblut: #7a2e24; --ochsenblut-100: #f2e8e7; --ochsenblut-300: #e1a49c; --ochsenblut-700: #572119; --ochsenblut-900: #361410;
  --tannengruen: #2e3b33; --tannengruen-100: #ebeeec; --tannengruen-300: #b7c7bd; --tannengruen-700: #212a24; --tannengruen-900: #141a16;
  --ocker: #c08a3e; --ocker-100: #f2eee7; --ocker-300: #dfc49e; --ocker-700: #8a632c;
  --ocker-text: #8a632c; --ocker-text-dunkel: #d4a45c;
  --russbraun: #2a2521; --kalkweiss: #f6f1e8; --sandstein: #ddd3c4; --steingrau: #6b6158; --weiss: #fff;

  --surface: var(--kalkweiss); --surface-alt: var(--tannengruen-100); --surface-dark: var(--tannengruen);
  --ink: var(--russbraun); --ink-muted: var(--steingrau); --ink-on-dark: var(--kalkweiss); --ink-on-dark-muted: var(--tannengruen-300);
  --line: var(--sandstein); --line-strong: var(--steingrau);
  --primary: var(--ochsenblut); --primary-hover: var(--ochsenblut-700); --on-primary: var(--weiss);
  --accent: var(--ocker); --focus-ring: var(--ochsenblut); --focus-ring-dark: var(--ocker-text-dunkel);

  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-6: 24px; --space-8: 32px; --space-12: 48px; --space-16: 64px; --space-24: 96px;
  --radius-sm: 2px; --radius-md: 4px;
  --size-container: 1200px; --size-measure: 680px; --size-tap: 48px; --size-header: 72px;
  --font-slab: "Bitter", Georgia, "Times New Roman", serif;
  --font-sans: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --section-y: var(--space-24);
  --gutter: var(--space-8);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (max-width: 720px) { :root { --section-y: var(--space-16); --gutter: var(--space-4); } }

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--size-header) + 16px); }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--font-sans); font-size: 18px; line-height: 1.62; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--primary); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color 150ms, text-decoration-thickness 150ms; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.on-dark :focus-visible { outline-color: var(--focus-ring-dark); }
h1, h2, h3, h4 { font-family: var(--font-slab); color: var(--ink); margin: 0; text-wrap: balance; }
h1 { font-weight: 700; font-size: clamp(34px, 4.4vw, 52px); line-height: 1.12; letter-spacing: -0.01em; }
h2 { font-weight: 600; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.2; }
h3 { font-weight: 600; font-size: 24px; line-height: 1.33; }
p { margin: 0 0 var(--space-4); }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; }
::selection { background: var(--ocker-300); color: var(--ink); }

.container { width: 100%; max-width: calc(var(--size-container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.measure { max-width: var(--size-measure); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--primary); color: var(--on-primary); padding: 12px 16px; font-weight: 600; }
.skip:focus { top: 12px; }

.display { font-family: var(--font-slab); font-weight: 700; font-size: clamp(38px, 4.8vw, 64px); line-height: 1.06; letter-spacing: -0.015em; }
.lead { font-size: clamp(19px, 1.6vw, 21px); line-height: 1.55; color: var(--ink); }
.muted { color: var(--ink-muted); }
.small { font-size: 15px; line-height: 1.6; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 var(--space-4); font-size: 14px; line-height: 20px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ocker-text); }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--accent); flex: none; }
.on-dark .eyebrow { color: var(--ocker-text-dunkel); }
.accent { color: var(--primary); }

/* Platzhalter-Markierung (MARK_PLACEHOLDERS) */
mark.ph { background: #fff3c4; color: inherit; outline: 1px dashed var(--ocker-700); outline-offset: 1px; padding: 0 2px; }
.on-dark mark.ph { background: #5a4a1c; }

/* ---------- Sektionen ---------- */
.section { padding: var(--section-y) 0; position: relative; }
.section--alt { background: var(--surface-alt); }
.section--ocker { background: var(--ocker-100); }
.section--dark, .on-dark { background: var(--surface-dark); color: var(--ink-on-dark); }
.section--dark h2, .section--dark h3, .on-dark h2, .on-dark h3 { color: var(--ink-on-dark); }
.section--dark .muted, .on-dark .muted { color: var(--ink-on-dark-muted); }
.section--dark a:not(.btn), .on-dark a:not(.btn) { color: var(--ink-on-dark); }
.section__head { display: grid; gap: var(--space-4); margin-bottom: var(--space-12); max-width: 760px; }
.section__head--split { max-width: none; grid-template-columns: 1fr auto; align-items: end; gap: var(--space-8); }
@media (max-width: 800px) { .section__head--split { grid-template-columns: 1fr; } }
.section__head p { color: var(--ink-muted); font-size: 19px; }
.on-dark .section__head p, .section--dark .section__head p { color: var(--ink-on-dark-muted); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--size-tap); padding: 0 var(--space-6); border: 2px solid transparent; border-radius: var(--radius-sm); font-family: var(--font-sans); font-size: 17px; line-height: 1.2; font-weight: 600; text-decoration: none; cursor: pointer; transition: background-color 150ms, border-color 150ms, color 150ms; white-space: nowrap; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--lg { min-height: 56px; padding: 0 var(--space-8); font-size: 18px; }
.btn--primary { background: var(--primary); color: var(--on-primary); }
.btn--primary:hover { background: var(--primary-hover); }
.btn--secondary { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn--secondary:hover { background: var(--ochsenblut-100); }
.btn--on-dark { background: transparent; color: var(--ink-on-dark); border-color: var(--ink-on-dark); }
.btn--on-dark:hover { background: var(--tannengruen-700); }
.btn--light { background: var(--kalkweiss); color: var(--ochsenblut); }
.btn--light:hover { background: var(--weiss); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.link-arrow svg { width: 18px; height: 18px; transition: transform 250ms var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
@media (max-width: 480px) { .btn-row .btn { flex: 1 1 100%; } }

/* ---------- Icons ---------- */
.i { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--surface); border-bottom: 1px solid var(--line); transition: box-shadow 200ms; }
.header__inner { display: flex; align-items: center; gap: var(--space-8); min-height: var(--size-header); }
.wm { display: inline-flex; flex-direction: column; gap: 3px; text-decoration: none; line-height: 1; }
.wm__name { font-family: var(--font-slab); font-weight: 700; font-size: 28px; letter-spacing: -.01em; color: var(--ochsenblut); }
.wm__zusatz { font-weight: 600; font-size: 10.5px; text-transform: uppercase; letter-spacing: .3em; color: var(--ink); padding-left: 1px; }
.wm--dark .wm__name, .wm--dark .wm__zusatz { color: var(--kalkweiss); }
.wm--lg .wm__name { font-size: 44px; } .wm--lg .wm__zusatz { font-size: 13px; }
.nav { margin-left: auto; }
.nav__list { display: flex; gap: var(--space-6); list-style: none; }
.nav__link { display: inline-block; padding: 8px 0; color: var(--ink); text-decoration: none; font-size: 17px; font-weight: 600; border-bottom: 2px solid transparent; transition: border-color 150ms; }
.nav__link:hover { border-bottom-color: var(--line); }
.nav__link[aria-current="page"], .nav__link.is-current { border-bottom-color: var(--accent); }
.nav-toggle { display: none; align-items: center; justify-content: center; width: var(--size-tap); height: var(--size-tap); margin-left: var(--space-2); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: transparent; color: var(--ink); cursor: pointer; }
.nav-toggle span { position: relative; display: block; width: 20px; height: 2px; background: currentColor; transition: background-color 150ms; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor; transition: transform 250ms var(--ease); }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .header__inner { gap: var(--space-4); }
  .nav-toggle { display: inline-flex; order: 3; }
  .nav-toggle { margin-left: auto; }
  .nav { position: fixed; inset: var(--size-header) 0 0 0; margin: 0; background: var(--surface); border-top: 1px solid var(--line); padding: var(--space-8) var(--gutter); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity 250ms var(--ease), transform 250ms var(--ease), visibility 0s 250ms; overflow-y: auto; }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity 250ms var(--ease), transform 250ms var(--ease); }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link { display: block; padding: 18px 0; font-family: var(--font-slab); font-size: 26px; border-bottom: 1px solid var(--line); }
  .nav__link[aria-current="page"], .nav__link.is-current { color: var(--primary); border-bottom-color: var(--line); }
}
@media (max-width: 420px) { .wm__name { font-size: 24px; } }

/* ---------- Kontaktleiste (mobil) ---------- */
.bar { display: none; }
@media (max-width: 720px) {
  .bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; gap: var(--space-2); padding: var(--space-2) var(--space-4) calc(var(--space-2) + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); }
  .bar .btn { flex: 1 1 0; padding: 0 var(--space-3); }
  body { padding-bottom: 72px; }
}

/* ---------- Breadcrumb ---------- */
.crumbs { padding-top: var(--space-6); font-size: 15px; color: var(--ink-muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--sandstein); }
.crumbs a { color: var(--ink-muted); text-decoration: none; }
.crumbs a:hover { color: var(--primary); text-decoration: underline; }

/* ---------- Hero (Start) ---------- */
.hero { padding: var(--space-16) 0 var(--space-24); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: var(--space-16); align-items: center; }
.hero__text .display { margin-bottom: var(--space-6); }
.hero__text .display .accent { display: block; }
.hero__text .lead { max-width: 560px; margin-bottom: var(--space-8); }
.hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) var(--space-6); margin-top: var(--space-8); }
.hero__media { position: relative; }
.hero__frame { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--sandstein); }
.hero__frame img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.hero__beam { position: absolute; background: var(--tannengruen); z-index: -1; }
.hero__beam--v { left: -24px; top: 48px; bottom: -24px; width: 24px; }
.hero__beam--h { left: -24px; right: 48px; bottom: -24px; height: 24px; }
.hero__tag { position: absolute; right: 0; bottom: 0; background: var(--surface); padding: var(--space-4) var(--space-6); display: grid; gap: 2px; max-width: 78%; }
.hero__tag strong { font-family: var(--font-slab); font-size: 20px; line-height: 1.3; }
.hero__tag span { font-size: 15px; color: var(--ink-muted); }
@media (max-width: 900px) {
  .hero { padding: var(--space-8) 0 var(--space-16); }
  .hero__grid { grid-template-columns: 1fr; gap: var(--space-12); }
  .hero__frame { aspect-ratio: 4 / 3; }
  .hero__media { margin-left: 24px; }
}

/* Bewertung */
.rating { display: inline-flex; align-items: center; gap: var(--space-3); padding: 8px 16px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); text-decoration: none; color: var(--ink); }
.rating__wert { font-family: var(--font-slab); font-weight: 700; font-size: 24px; line-height: 1; }
.rating__meta { font-size: 15px; line-height: 1.4; color: var(--ink-muted); }
.stars { display: inline-flex; gap: 2px; font-size: 18px; line-height: 1; letter-spacing: 0; }
.star { color: var(--sandstein); } .star--on { color: var(--accent); }
.star--part { background: linear-gradient(90deg, var(--accent) var(--fill, 20%), var(--sandstein) var(--fill, 20%)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.on-dark .rating { background: transparent; border-color: var(--tannengruen-300); color: var(--ink-on-dark); }
.on-dark .rating__meta { color: var(--ink-on-dark-muted); }
a.rating:hover { border-color: var(--ocker); }

/* ---------- Versprechen + Fachwerk ---------- */
.promise { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-16); align-items: center; }
.promise__list { list-style: none; display: grid; gap: var(--space-6); margin-top: var(--space-8); }
.promise__list li { display: grid; grid-template-columns: 48px 1fr; gap: var(--space-4); align-items: start; }
.promise__num { font-family: var(--font-slab); font-weight: 700; font-size: 20px; color: var(--primary); border-top: 2px solid var(--accent); padding-top: 6px; }
.promise__list strong { display: block; font-size: 19px; margin-bottom: 2px; }
.promise__list span { color: var(--ink-muted); }
.fachwerk { width: 100%; max-width: 520px; margin: 0 auto; color: var(--tannengruen); }
.fachwerk .fw-fill { fill: var(--surface-alt); }
.fachwerk .fw-beam { fill: none; stroke: currentColor; stroke-width: 14; stroke-linecap: square; }
.fachwerk .fw-thin { fill: none; stroke: var(--accent); stroke-width: 2; }
.fachwerk .fw-peg { fill: var(--ochsenblut); }
@media (max-width: 900px) { .promise { grid-template-columns: 1fr; gap: var(--space-12); } .fachwerk { max-width: 360px; } }

/* ---------- Leistungskarten ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .cards, .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cards, .cards--2, .cards--4 { grid-template-columns: 1fr; } }
.card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; transition: border-color 200ms; }
.card:hover { border-color: var(--ocker-300); }
.card__media { overflow: hidden; aspect-ratio: 4 / 3; background: var(--sandstein); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-6); flex: 1; }
.card__eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ocker-text); }
.card__title { font-size: 23px; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card__text { color: var(--ink); margin: 0; }
.card__more { margin-top: auto; padding-top: var(--space-3); color: var(--primary); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.card__more svg { width: 18px; height: 18px; transition: transform 250ms var(--ease); }
.card:hover .card__more svg { transform: translateX(4px); }
.card:hover .card__title a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.card--compact .card__body { padding: var(--space-6); }
.card--text { background: var(--surface); }

/* ---------- Kundenstimmen ---------- */
.voices { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: var(--space-16); align-items: start; }
.voices__aside { position: sticky; top: calc(var(--size-header) + 32px); display: grid; gap: var(--space-6); justify-items: start; }
.voices__list { display: grid; gap: var(--space-6); }
.quote { margin: 0; padding: var(--space-8); background: var(--ocker-100); border-radius: var(--radius-sm); display: grid; gap: var(--space-4); position: relative; }
.quote::before { content: "„"; position: absolute; right: 24px; top: -8px; font-family: var(--font-slab); font-weight: 700; font-size: 110px; line-height: 1; color: var(--ocker-300); pointer-events: none; }
.quote__text p { font-family: var(--font-slab); font-weight: 600; font-size: clamp(20px, 2vw, 24px); line-height: 1.42; color: var(--ink); margin: 0; position: relative; }
.quote__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: 15px; }
.quote__name { font-weight: 600; }
.quote__src { color: var(--ink-muted); }
.section--alt .quote, .section--ocker .quote { background: var(--surface); }
@media (max-width: 900px) { .voices { grid-template-columns: 1fr; gap: var(--space-8); } .voices__aside { position: static; } }

/* ---------- Ablauf ---------- */
.process { position: relative; max-width: 880px; }
.process__list { list-style: none; margin: 0; padding: 0; display: grid; }
.process__line { position: absolute; left: 27px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.process__line::after { content: ""; position: absolute; inset: 0; background: var(--ochsenblut); transform-origin: top; transform: scaleY(var(--p, 0)); }
.process__step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: var(--space-6); padding-bottom: var(--space-12); }
.process__step:last-child { padding-bottom: 0; }
.process__num { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; background: var(--surface); border: 2px solid var(--line); font-family: var(--font-slab); font-weight: 700; font-size: 22px; color: var(--ink-muted); transition: border-color 400ms, color 400ms, background-color 400ms; }
.process__step.is-active .process__num { border-color: var(--ochsenblut); color: var(--on-primary); background: var(--ochsenblut); }
.section--alt .process__num { background: var(--surface-alt); }
.section--alt .process__step.is-active .process__num { background: var(--ochsenblut); }
.process__step h3 { margin: 12px 0 var(--space-2); }
.process__step p { color: var(--ink-muted); max-width: 560px; }
.process-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: var(--space-16); }
.process-wrap .section__head { position: sticky; top: calc(var(--size-header) + 32px); align-self: start; }
@media (max-width: 900px) { .process-wrap { grid-template-columns: 1fr; gap: 0; } .process-wrap .section__head { position: static; } }

/* Ablauf kompakt (Unterseiten) */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); list-style: none; counter-reset: s; }
.steps li { border-top: 2px solid var(--ochsenblut); padding-top: var(--space-4); counter-increment: s; }
.steps li::before { content: "0" counter(s); display: block; font-family: var(--font-slab); font-weight: 700; font-size: 15px; color: var(--ocker-text); margin-bottom: 6px; letter-spacing: .08em; }
.steps strong { display: block; font-family: var(--font-slab); font-weight: 600; font-size: 21px; margin-bottom: 6px; }
.steps p { color: var(--ink-muted); }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Bildband mit Zahlen + Ortsnamen ---------- */
.band { position: relative; overflow: hidden; color: var(--ink-on-dark); background: var(--tannengruen-900); }
.band__img { position: absolute; inset: -12% 0; }
.band__img img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.band__img::after { content: ""; position: absolute; inset: 0; background: rgba(20, 26, 22, .74); }
.band__inner { position: relative; padding: var(--space-24) 0; }
.ticker { white-space: nowrap; font-family: var(--font-slab); font-weight: 700; font-size: clamp(44px, 8vw, 120px); line-height: 1; color: var(--kalkweiss); opacity: .95; will-change: transform; margin-bottom: var(--space-16); }
.ticker span { color: var(--ocker); margin: 0 .35em; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
.stat { border-top: 1px solid var(--tannengruen-300); padding-top: var(--space-4); }
.stat__num { display: block; font-family: var(--font-slab); font-weight: 700; font-size: clamp(40px, 4.6vw, 60px); line-height: 1.05; color: var(--kalkweiss); font-variant-numeric: tabular-nums; }
.stat__label { display: block; margin-top: 6px; color: var(--tannengruen-300); font-size: 17px; }
@media (max-width: 800px) { .stats { grid-template-columns: repeat(2, 1fr); gap: var(--space-8) var(--space-6); } .band__inner { padding: var(--space-16) 0; } }

/* ---------- Einsatzgebiet / Karte ---------- */
.area { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: var(--space-16); align-items: center; }
.map { width: 100%; height: auto; overflow: visible; }
.map .m-radius { fill: none; stroke: var(--sandstein); stroke-width: 1.5; stroke-dasharray: 4 6; }
.map .m-radius-fill { fill: var(--ocker-100); }
.map .m-line { fill: none; stroke: var(--ocker); stroke-width: 1.5; }
.map .m-dot { fill: var(--tannengruen); }
.map .m-home { fill: var(--ochsenblut); }
.map .m-home-ring { fill: none; stroke: var(--ochsenblut); stroke-width: 1.5; }
.map .m-label { font-family: var(--font-sans); font-size: 15px; font-weight: 600; fill: var(--ink); }
.map .m-label--home { font-family: var(--font-slab); font-size: 17px; font-weight: 700; fill: var(--ochsenblut); }
.map .m-label--muted { font-weight: 400; fill: var(--ink-muted); font-size: 13px; }
.map a:hover .m-label { fill: var(--ochsenblut); text-decoration: underline; }
.map a:hover .m-dot { fill: var(--ochsenblut); }
.map a:focus-visible { outline: none; }
.map a:focus-visible .m-label { fill: var(--ochsenblut); text-decoration: underline; }
.places { list-style: none; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.places li { border-bottom: 1px solid var(--line); }
.places li:nth-child(odd) { border-right: 1px solid var(--line); }
.places a { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 14px 12px; text-decoration: none; color: var(--ink); font-weight: 600; transition: background-color 150ms, color 150ms; }
.places a:hover { background: var(--ocker-100); color: var(--primary); }
.places small { font-weight: 400; color: var(--ink-muted); font-size: 14px; white-space: nowrap; }
@media (max-width: 900px) { .area { grid-template-columns: 1fr; gap: var(--space-8); } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.chips li, .chips a { display: inline-block; padding: 6px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 16px; color: var(--ink); text-decoration: none; background: var(--surface); }
.chips a:hover { border-color: var(--primary); color: var(--primary); }
.chips a { padding: 6px 14px; margin: 0; }
.chips li:has(a) { padding: 0; border: 0; background: none; }

/* ---------- Über-uns-Teaser / Split ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-16); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media { position: relative; overflow: hidden; background: var(--sandstein); }
.split__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.split__media--wide img { aspect-ratio: 4 / 3; }
.split__text > * + * { margin-top: var(--space-4); }
.split__text h2 { margin-bottom: var(--space-2); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: var(--space-8); } .split--rev .split__media { order: 0; } .split__media img { aspect-ratio: 4 / 3; } }
.sig { display: flex; align-items: center; gap: var(--space-4); margin-top: var(--space-8) !important; padding-top: var(--space-6); border-top: 1px solid var(--line); }
.sig__mono { display: grid; place-items: center; width: 56px; height: 56px; background: var(--ochsenblut); color: var(--kalkweiss); font-family: var(--font-slab); font-weight: 700; font-size: 26px; flex: none; }
.sig strong { display: block; font-family: var(--font-slab); font-size: 20px; }
.sig span { color: var(--ink-muted); font-size: 16px; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: var(--space-16); align-items: start; }
.faq-wrap .section__head { position: sticky; top: calc(var(--size-header) + 32px); }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; gap: 0; } .faq-wrap .section__head { position: static; } }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--space-6); padding: var(--space-6) 0; font-family: var(--font-slab); font-weight: 600; font-size: 21px; line-height: 1.35; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--primary); }
.faq__a { padding: 0 0 var(--space-6); color: var(--ink); max-width: 680px; }
.faq details[open] .faq__a { animation: faqIn 350ms var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Kontaktblock ---------- */
.contact { padding: var(--section-y) 0; overflow: hidden; position: relative; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: var(--space-16); align-items: end; }
.contact h2 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.08; font-weight: 700; margin-bottom: var(--space-6); }
.contact p { color: var(--ink-on-dark-muted); font-size: 19px; max-width: 560px; }
.contact .btn-row { margin-top: var(--space-8); }
.contact__tel { font-family: var(--font-slab); font-weight: 700; font-size: clamp(22px, 2.4vw, 28px); min-height: 64px; }
.contact__addr { border-top: 2px solid var(--accent); padding-top: var(--space-6); font-style: normal; display: grid; gap: var(--space-4); font-size: 17px; }
.contact__addr strong { font-family: var(--font-slab); font-size: 20px; color: var(--kalkweiss); }
.contact__row { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-on-dark-muted); }
.contact__row .i { color: var(--ocker-text-dunkel); margin-top: 2px; }
.contact__row a { color: var(--ink-on-dark); }
.contact__deco { position: absolute; right: -60px; top: -40px; width: 420px; color: var(--tannengruen-700); pointer-events: none; opacity: .9; }
.contact__deco .fw-beam { stroke: currentColor; stroke-width: 14; fill: none; }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; gap: var(--space-12); } .contact__deco { display: none; } }

/* ---------- Footer ---------- */
.footer { background: var(--tannengruen-700); color: var(--ink-on-dark-muted); padding: var(--space-16) 0 var(--space-8); font-size: 16px; }
.footer a { color: var(--ink-on-dark); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: var(--space-8); padding-bottom: var(--space-12); border-bottom: 1px solid var(--tannengruen); }
.footer h2 { font-family: var(--font-sans); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ocker-text-dunkel); margin-bottom: var(--space-4); }
.footer ul { list-style: none; display: grid; gap: 8px; }
.footer address { font-style: normal; margin-top: var(--space-6); line-height: 1.7; }
.footer__tel { font-family: var(--font-slab); font-weight: 700; font-size: 22px; color: var(--kalkweiss) !important; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-4); padding-top: var(--space-6); font-size: 15px; }
.footer__legal { display: flex; gap: var(--space-6); }
.footer__legal span { color: var(--ink-on-dark-muted); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Unterseiten-Hero ---------- */
.phero { padding: var(--space-8) 0 var(--space-16); }
.phero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: var(--space-16); align-items: center; }
.phero h1 { margin-bottom: var(--space-6); }
.phero .lead { margin-bottom: var(--space-8); }
.phero__media { position: relative; overflow: hidden; background: var(--sandstein); aspect-ratio: 4 / 3; }
.phero__media img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.phero--simple .phero__grid { grid-template-columns: 1fr; }
@media (max-width: 900px) { .phero__grid { grid-template-columns: 1fr; gap: var(--space-8); } .phero { padding-bottom: var(--space-12); } }
.answer { border-left: 3px solid var(--accent); background: var(--surface-alt); padding: var(--space-6); margin-bottom: var(--space-8); max-width: 640px; }
.answer__label { display: block; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ocker-text); margin-bottom: 6px; }
.answer p { font-size: 18px; }
.facts { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); list-style: none; margin-bottom: var(--space-8); color: var(--ink-muted); font-size: 16px; }
.facts li { display: inline-flex; gap: 8px; align-items: center; }
.facts .i { color: var(--ocker-text); width: 20px; height: 20px; }

/* Checkliste */
.checks { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4) var(--space-8); }
.checks li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; padding-bottom: var(--space-4); border-bottom: 1px solid var(--line); }
.checks .i { color: var(--ochsenblut); width: 24px; height: 24px; margin-top: 2px; }
@media (max-width: 720px) { .checks { grid-template-columns: 1fr; } }
.twocol { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: var(--space-16); align-items: start; }
.twocol > :first-child > * + * { margin-top: var(--space-4); }
@media (max-width: 900px) { .twocol { grid-template-columns: 1fr; gap: var(--space-8); } }
.signs { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-6); counter-reset: sg; }
.signs li { background: var(--surface); border: 1px solid var(--line); padding: var(--space-6); counter-increment: sg; display: grid; gap: 8px; }
.signs li::before { content: counter(sg, decimal-leading-zero); font-family: var(--font-slab); font-weight: 700; color: var(--ochsenblut); font-size: 18px; }
@media (max-width: 720px) { .signs { grid-template-columns: 1fr; } }

/* Leistungsübersicht Zickzack */
.rows { display: grid; gap: var(--space-16); }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-12); align-items: center; }
.row:nth-child(even) .row__media { order: 2; }
.row__media { overflow: hidden; aspect-ratio: 3 / 2; background: var(--sandstein); display: block; }
.row__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.row__media:hover img { transform: scale(1.03); }
.row__num { font-family: var(--font-slab); font-weight: 700; color: var(--ocker-text); font-size: 15px; letter-spacing: .1em; }
.row h2 { font-size: clamp(26px, 2.6vw, 34px); margin: 8px 0 var(--space-4); }
.row h2 a { color: var(--ink); text-decoration: none; }
.row h2 a:hover { color: var(--primary); }
.row p { color: var(--ink); }
.row .mini { list-style: none; display: grid; gap: 6px; margin: var(--space-4) 0 var(--space-6); color: var(--ink-muted); font-size: 17px; }
.row .mini li::before { content: ""; display: inline-block; width: 14px; height: 2px; background: var(--accent); vertical-align: middle; margin-right: 10px; }
@media (max-width: 800px) { .row { grid-template-columns: 1fr; gap: var(--space-6); } .row:nth-child(even) .row__media { order: 0; } }

/* Zielgruppen */
.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); list-style: none; }
.audience li { border-top: 2px solid var(--ocker-text-dunkel); padding-top: var(--space-4); }
.audience strong { display: block; font-family: var(--font-slab); font-size: 21px; color: var(--kalkweiss); margin-bottom: 6px; }
.audience span { color: var(--ink-on-dark-muted); }
@media (max-width: 800px) { .audience { grid-template-columns: 1fr; } }

/* Werte */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); list-style: none; }
.values li { border-top: 2px solid var(--ochsenblut); padding-top: var(--space-4); }
.values strong { display: block; font-family: var(--font-slab); font-weight: 700; font-size: 26px; margin-bottom: 4px; }
.values em { display: block; font-style: normal; color: var(--ocker-text); font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.values span { color: var(--ink-muted); }
@media (max-width: 900px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }

/* ---------- Kontaktseite / Formular ---------- */
.kontakt-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: var(--space-16); align-items: start; }
@media (max-width: 900px) { .kontakt-grid { grid-template-columns: 1fr; gap: var(--space-12); } }
.direct { display: grid; gap: var(--space-6); }
.direct__tel { display: block; text-decoration: none; padding: var(--space-6); background: var(--ochsenblut); color: var(--on-primary) !important; transition: background-color 150ms; }
.direct__tel:hover { background: var(--ochsenblut-700); }
.direct__tel small { display: block; font-size: 15px; opacity: .85; }
.direct__tel strong { display: block; font-family: var(--font-slab); font-size: clamp(28px, 3vw, 36px); line-height: 1.2; }
.direct dl { margin: 0; display: grid; gap: var(--space-4); }
.direct dt { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ocker-text); }
.direct dd { margin: 2px 0 0; }
.form { background: var(--surface); border: 1px solid var(--line); padding: var(--space-8); display: grid; gap: var(--space-6); }
@media (max-width: 560px) { .form { padding: var(--space-6) var(--space-4); } }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-weight: 600; font-size: 16px; }
.field .opt { font-weight: 400; color: var(--ink-muted); }
.field input, .field select, .field textarea { width: 100%; min-height: var(--size-tap); padding: 10px 14px; font: inherit; font-size: 17px; color: var(--ink); background: var(--weiss); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); transition: border-color 150ms, box-shadow 150ms; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ochsenblut); box-shadow: 0 0 0 2px var(--ochsenblut-100); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.field .hint { font-size: 14px; color: var(--ink-muted); }
.field [aria-invalid="true"] { border-color: var(--ochsenblut); background: var(--ochsenblut-100); }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: 15px; color: var(--ink-muted); }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--ochsenblut); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: var(--space-4) var(--space-6); border-left: 3px solid var(--ochsenblut); background: var(--ochsenblut-100); color: var(--ochsenblut-900); }
.alert[hidden] { display: none; }
.form .btn { justify-self: start; }
@media (max-width: 480px) { .form .btn { justify-self: stretch; } }

/* ---------- Scroll-Animationen (ruhig, handwerklich) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 900ms var(--ease), transform 900ms var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="left"] { transform: translateX(-32px); }
.js [data-reveal="wipe"] { opacity: 1; transform: none; clip-path: inset(0 100% 0 0); transition: clip-path 1200ms var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal="wipe-up"] { opacity: 1; transform: none; clip-path: inset(100% 0 0 0); transition: clip-path 1200ms var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
/* Balken zeichnen sich */
.js [data-draw] .fw-beam, .js [data-draw] .m-line, .js [data-draw] .fw-thin { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1400ms var(--ease); transition-delay: var(--d, 0ms); }
.js [data-draw].is-in .fw-beam, .js [data-draw].is-in .m-line, .js [data-draw].is-in .fw-thin { stroke-dashoffset: 0; }
.js [data-draw] .fw-peg, .js [data-draw] .m-dot, .js [data-draw] .m-label, .js [data-draw] .fw-fill { opacity: 0; transition: opacity 600ms var(--ease); transition-delay: var(--d, 0ms); }
.js [data-draw].is-in .fw-peg, .js [data-draw].is-in .m-dot, .js [data-draw].is-in .m-label, .js [data-draw].is-in .fw-fill { opacity: 1; }
/* Hero beim Laden */
.js .hero [data-load] { opacity: 0; transform: translateY(20px); animation: rise 1000ms var(--ease) forwards; animation-delay: var(--d, 0ms); }
.js .hero .hero__frame[data-load] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); animation: wipeDown 1400ms var(--ease) forwards; animation-delay: 150ms; }
.js .hero .hero__beam { transform: scale(0); animation: grow 900ms var(--ease) forwards; animation-delay: 900ms; }
.js .hero .hero__beam--v { transform-origin: bottom; } .js .hero .hero__beam--h { transform-origin: left; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes wipeDown { to { clip-path: inset(0 0 0 0); } }
@keyframes grow { to { transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; transition-duration: 1ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-draw] * { opacity: 1 !important; transform: none !important; clip-path: none !important; stroke-dashoffset: 0 !important; }
  .process__line::after { transform: scaleY(1); }
}

/* ---------- Druck ---------- */
@media print { .header, .bar, .nav, .contact__deco, .band { display: none !important; } body { background: #fff; padding: 0; } }

/* ---------- Feinschliff ---------- */
h2:not(:last-child) { margin-bottom: var(--space-4); }
.section__head h2, .faq-wrap h2, .voices__aside h2, .split__text h2 { margin-bottom: 0; }
.contact__grid { position: relative; z-index: 1; }
.contact__deco { right: -110px; top: -70px; width: 460px; opacity: .55; }
.contact__deco .fw-fill { fill: none; }
.contact__deco .fw-thin { stroke: var(--tannengruen-700); stroke-width: 2; fill: none; }
.contact__deco .fw-peg { fill: var(--tannengruen-700); }
.map a { text-decoration: none; }

/* ---------- Anpassungen Runde 2 ---------- */
.hero + .section { padding-top: var(--space-8); }
.quote__text { margin: 0; }
.section__intro { display: grid; gap: var(--space-3); }
.section__intro p { margin: 0; }
/* Versprechen: Bild statt Grafik */
.promise__media { position: relative; margin: 0 24px 24px 0; }
.promise__frame { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--sandstein); }
.promise__frame img { width: 100%; height: 112%; object-fit: cover; will-change: transform; }
.promise__beam { position: absolute; right: -24px; bottom: -24px; width: 72%; height: 72%; background: var(--tannengruen); z-index: -1; }
@media (max-width: 900px) { .promise__frame { aspect-ratio: 4 / 3; } }
/* Footer: Marke · Betrieb · Rechtliches */
.footer__grid { grid-template-columns: 1.6fr 1fr 1fr; }
.footer__legal span { color: var(--ink-on-dark-muted); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.faq__icon { width: 24px; height: 24px; color: var(--primary); stroke-width: 2; flex: none; transition: transform 250ms var(--ease); }
.faq details[open] .faq__icon { transform: rotate(180deg); }

/* ---------- Anpassungen Runde 5 ---------- */
/* Kontakt als Button in der Navigation */
.nav__list { align-items: center; }
.nav__link--cta { padding: 10px 22px; border: 0; border-radius: var(--radius-sm); background: var(--primary); color: var(--on-primary); transition: background-color 150ms; }
.nav__link--cta:hover { background: var(--primary-hover); border: 0; }
.nav__link--cta[aria-current="page"] { background: var(--primary-hover); }
@media (max-width: 960px) {
  .nav__list { align-items: stretch; }
  .nav__link--cta, .nav__link--cta[aria-current="page"] { margin-top: var(--space-6); padding: 16px 20px; text-align: center; color: var(--on-primary); border-bottom: 0; }
}
/* Footer: Betrieb weiter rechts */
.footer__grid { grid-template-columns: 1fr auto auto; column-gap: clamp(48px, 8vw, 128px); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; column-gap: var(--space-8); } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
