/* ==========================================================================
   AURIEGA Real Estate — zentrales Designsystem
   Farben, Schriften und Bildsprache aus dem Corporate Brand Manual (Bände
   III–V). Dunkelgrüner Kopfbereich, Sichtmauerwerk im Auftakt, Papierfläche
   für den gesamten redaktionellen Inhalt. Grün/Gold als einziges Akzentsystem.
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-var.woff2") format("woff2-variations");
  font-weight: 400 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Source Serif";
  src: url("../assets/fonts/source-serif-var.woff2") format("woff2-variations");
  font-weight: 600; font-style: normal; font-display: swap;
}

/* --- Design Tokens ------------------------------------------------------ */
:root {
  /* Markenfarben */
  --green-deep: #12301c;
  --green: #1b3f27;
  --green-mid: #24512f;
  --green-pale: #c3d6c9;
  --green-soft: #9bbca5;
  --gold: #c9a227;
  --gold-light: #e8c36a;
  --gold-pale: #f0dca4;
  --sand: #cbc5b7;

  /* Flächen */
  --paper: #f5f2ea;
  --paper-bright: #fbf9f4;
  --paper-texture: url("../assets/texture/papierstruktur.png");
  --masonry: url("../assets/texture/sichtmauerwerk.png");
  --ink: #1a2a1e;
  --ink-muted: #5a6a5f;
  --line: #ddd6c6;

  /* Typografie */
  --font-sans: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Source Serif", Cambria, Georgia, "Times New Roman", serif;
  --sans: var(--font-sans);
  --serif: var(--font-serif);
  --text-2xs: .72rem;   /* Versalien-Labels, Marken, Tabellenköpfe */
  --text-xs:  .82rem;   /* Meta, Bildunterschriften, Fußbereich */
  --text-sm:  .95rem;   /* zweitrangiger Fließtext */
  --text-base: 1.125rem;/* Fließtext (18px) */
  --text-lead: 1.18rem; /* Einleitungstext */
  --heading-1: clamp(2.1rem, 1.35rem + 2.7vw, 3.5rem);
  --heading-2: clamp(1.6rem, 1.2rem + 1.5vw, 2.35rem);
  --heading-3: clamp(1.18rem, 1.05rem + .45vw, 1.4rem);
  --heading-4: 1.08rem;
  /* Abwärtskompatible Aliase */
  --fs-2xs: var(--text-2xs); --fs-xs: var(--text-xs); --fs-sm: var(--text-sm);

  /* Layout-Breiten — nur diese vier bewussten Inhaltsbreiten */
  --site-max: 1440px;     /* .wrap — große Layouts, Raster */
  --content-max: 720px;   /* .content — redaktionelle Textspalte */
  --content-wide: 960px;  /* .content--wide — Tabellen, Formulare, Finder */
  --finder-max: 1120px;   /* .wrap--finder — Gutachtenfinder-Bereich */
  --max: var(--site-max);
  --measure: var(--content-max);

  /* Seitenabstände & vertikaler Rhythmus */
  --page-padding: 80px;
  --gutter: 24px;
  --section-space: 120px;
  --section-space-tight: 72px;
  --pad: var(--page-padding);
  --section: var(--section-space);
  --section-tight: var(--section-space-tight);
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 40px;
  --space-2xl: 64px;

  /* Komponenten */
  --radius: 12px;
  --radius-control: 999px;
  --edge-light: inset 0 1px 0 rgba(255, 255, 255, .9);
  --shadow: 0 2px 18px rgba(18, 48, 28, .08);
  --shadow-lift: 0 8px 30px rgba(18, 48, 28, .13);
  --shadow-float: 0 16px 48px rgba(9, 34, 19, .32);

  /* Bewegung */
  --ease: cubic-bezier(.2, .8, .2, 1);
  --fast: 150ms;
  --mid: 240ms;
}

/* Konsolidierte Breakpoints: 1280 / 1150 (Navigation) / 1024 / 768 / 640 / 380 */
@media (max-width: 1279px) {
  :root { --page-padding: 40px; --section-space: 96px; --section-space-tight: 56px; }
}
@media (max-width: 768px) {
  :root {
    --page-padding: 24px; --section-space: 72px; --section-space-tight: 40px;
    /* Überschriften maßvoll absenken, damit lange Komposita einzeilig bleiben.
       Fließtext und Lead behalten volle Größe — ganze Wörter wandern sauber um. */
    --heading-1: clamp(1.6rem, 1.1rem + 2.4vw, 2.1rem);
    --heading-2: clamp(1.35rem, 1.05rem + 1.3vw, 1.8rem);
    --heading-3: clamp(1.1rem, .98rem + .4vw, 1.3rem);
  }
}
@media (max-width: 379px) {
  :root {
    --page-padding: 16px;
    /* Sehr schmale Geräte: Überschriften nur soweit absenken, dass lange
       Einzelwörter (z. B. „Beleihungswertermittlung") einzeilig passen.
       Fließtext bleibt in voller Größe. */
    --heading-1: clamp(1.3rem, 1rem + 1.6vw, 1.65rem);
    --heading-2: clamp(1.15rem, 1rem + 1vw, 1.35rem);
    --heading-3: 1.05rem;
  }
}

/* --- Grundlagen --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.58;
  font-synthesis-weight: none;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
  background-color: var(--paper);
  background-image: var(--paper-texture);
  background-repeat: repeat;
  background-size: 496px 408px;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--green-deep);
  font-weight: 600;
  line-height: 1.18;
  margin: 0 0 .5em;
  text-wrap: balance;
  hyphens: manual;
  text-align: center;
}
h1 { font-size: var(--heading-1); letter-spacing: -.012em; }
h2 { font-size: var(--heading-2); }
h3 { font-size: var(--heading-3); }
h4 { font-size: var(--heading-4); }

p { margin: 0 0 1.1em; max-width: var(--content-max); }
a { color: var(--green); text-underline-offset: .18em; }
a:hover { color: #8a6f14; }
img { max-width: 100%; height: auto; }
strong { font-weight: 600; color: var(--green-deep); }

li { margin-bottom: .5em; }

/* Keine automatische Silbentrennung. Wörter bleiben als Ganzes erhalten und
   wandern bei Platzmangel in die nächste Zeile. Nur sehr lange Komposita, die
   sonst über ihren Kasten hinausragen, tragen im Text ein weiches Trennzeichen
   (&shy; bzw. \u00AD); nur dort darf getrennt werden. */
p, li, dd, figcaption { hyphens: manual; }

/* Technische Strings (lange URLs, E-Mail-Adressen, Schlüssel) dürfen umbrechen */
code, .technical-string { overflow-wrap: anywhere; }

/* Redaktionelle Listen: Der Text bleibt auf der normalen Lesachse.
   Aufzählungspunkte werden kontrolliert im freien Rand davor platziert,
   damit sie weder abgeschnitten noch unnötig weit eingerückt erscheinen. */
.content ul,
.section > .wrap ul {
  list-style: none;
  padding-left: 0;
}
.content ul > li,
.section > .wrap ul > li {
  position: relative;
  padding-left: 1.15em;
}
.content ul > li::before,
.section > .wrap ul > li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-weight: 700;
}
.content ol,
.section > .wrap ol {
  list-style-type: decimal;
  list-style-position: outside;
  padding-left: 1.5em;
}
.content > ul,
.content > ol {
  max-width: var(--content-max);
  margin-inline: auto;
}

/* Fokusring: Gold erreicht auf Papier nicht 3:1, deshalb Dunkelgrün */
:focus-visible { outline: 3px solid var(--green-deep); outline-offset: 3px; }
.brandheader :focus-visible,
.siteheader :focus-visible,
.mainnav :focus-visible,
.mainnav__links :focus-visible,
.hero :focus-visible,
.pagehead :focus-visible,
.section--deep :focus-visible,
.footer :focus-visible,
.skip-link:focus-visible { outline-color: var(--gold-light); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 50%; top: 0;
  transform: translate(-50%, -110%);
  background: var(--gold); color: var(--green-deep);
  padding: 12px 24px; z-index: 200;
  text-decoration: none; font-weight: 700;
}
.skip-link:focus { transform: translate(-50%, 0); }

/* --- Layout & Content-Breiten ------------------------------------------ */
.wrap { width: 100%; max-width: var(--site-max); margin-inline: auto; padding-inline: var(--page-padding); }
.wrap--narrow { max-width: calc(var(--content-max) + 2 * var(--page-padding)); }
.wrap--finder { max-width: var(--finder-max); }

/* Redaktionelle Textspalte — eine durchgehende Lesachse für Fach- und Leistungsseiten. */
.content { width: 100%; max-width: var(--content-max); margin-inline: auto; }
.content--wide { max-width: var(--content-wide); }
.content > h2,
.content > h3,
.content > h4 { text-align: left; }
.content > h2 {
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 22px;
}
.content > h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42px;
  height: 2px;
  background: var(--gold);
}

/* Bewusst breit bleiben: Kartenraster, Service-Grids, Portraits, Qualifikations-
   raster, Hero, Header, Footer, Gutachtenfinder, mehrspaltige Layouts — sie
   liegen direkt unter .wrap und werden nicht auf die Textspalte gezwungen. */

main { scroll-margin-top: 96px; }

.section { padding-block: var(--section-space); }
.section--tight { padding-block: var(--section-space-tight); }
.section--bright {
  background-color: var(--paper-bright);
  background-image: var(--paper-texture);
  background-repeat: repeat;
  background-size: 496px 408px;
  border-block: 1px solid var(--line);
}
.section--deep {
  background: var(--green-deep);
  color: #e4ebe5;
  position: relative;
  overflow: hidden;
}
.section--deep::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(rgba(7, 38, 20, .88), rgba(7, 32, 18, .9)), var(--masonry) center / cover no-repeat;
  pointer-events: none;
}
.section--deep > * { position: relative; }
.section--deep h2, .section--deep h3, .section--deep h4 { color: #fff; }
.section--deep p, .section--deep li { color: #c8d4ca; }
.section--deep a { color: var(--gold-light); }

.lede { font-size: var(--text-lead); color: var(--ink-muted); max-width: var(--content-max); }
.section--deep .lede { color: #c8d4ca; }
.section > .wrap > h2,
.section > .wrap > .lede { text-align: center; margin-inline: auto; }

/* Fließtextspalte: direkte Kinder von .wrap werden auf die Textachse begrenzt,
   sofern sie nicht selbst eine bewusste Breite (.grid, .proof, .finder-*) haben. */
.section > .wrap > h2,
.section > .wrap > p,
.section > .wrap > ul,
.section > .wrap > ol,
.section > .wrap > h3,
.section > .wrap > h4,
.section > .wrap > figure,
.section > .wrap > details,
.section > .wrap > blockquote,
.section > .wrap > .lede {
  max-width: var(--content-max);
  margin-inline: auto;
}

/* --- Strukturelle Abstände (ersetzen manuelle mt-l/mb-0) ---------------- */
/* Überschriften innerhalb einer Inhaltsgruppe erhalten großzügigen Kopfabstand,
   außer der ersten. Blockkomponenten direkt nach einer Überschrift ebenfalls. */
.content > h2:not(:first-child),
.section > .wrap > h2:not(:first-child) { margin-top: var(--space-xl); }

.content > h2 + .grid,
.content > h2 + .steps,
.content > h2 + .faq,
.content > h2 + .tablewrap,
.content > h2 + .download-card,
.content > h2 + .overview-links,
.section > .wrap > h2 + .grid,
.section > .wrap > h2 + .steps,
.section > .wrap > h2 + .faq,
.section > .wrap > h2 + .tablewrap,
.section > .wrap > h2 + .download-card,
.section > .wrap > h2 + .overview-links { margin-top: var(--space-xl); }

.section > .wrap > .lede + p,
.section > .wrap > .lede + .proof,
.section > .wrap > .grid + p,
.section > .wrap > .grid + .grid,
.section > .wrap > .steps + p { margin-top: var(--space-xl); }

/* --- Kopfbereich -------------------------------------------------------- */
.brandheader {
  background: linear-gradient(rgba(7, 39, 21, .72), rgba(7, 35, 19, .8)), var(--masonry) center 22% / cover no-repeat;
}
.brandheader__inner { display: flex; justify-content: center; align-items: center; padding-block: 16px; }
.brandheader__logo { display: block; line-height: 0; }
.brandheader__logo img {
  display: block; width: 290px; height: 290px; object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .34));
}

.siteheader {
  position: sticky; inset-inline: 0; top: 0; z-index: 100;
  background: linear-gradient(rgba(8, 38, 21, .93), rgba(7, 34, 19, .95)), var(--masonry) center 44% / cover no-repeat;
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(155, 188, 165, .2);
  box-shadow: 0 4px 20px rgba(7, 20, 11, .14);
}
.siteheader__inner {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center; gap: 12px; min-height: 72px;
  max-width: none; padding-inline: clamp(16px, 2vw, 32px);
}
.siteheader__qualifications { grid-column: 1; display: flex; align-items: center; justify-content: flex-start; gap: 8px; min-width: 0; }
.siteheader__qualifications img { display: block; width: 38px; height: 38px; object-fit: contain; filter: drop-shadow(0 2px 5px rgba(0, 0, 0, .25)); }
.siteheader__qualifications img:nth-child(2) { width: 48px; }
.siteheader__actions { grid-column: 3; display: flex; align-items: center; justify-content: flex-end; gap: 8px; min-width: 0; }
.siteheader__contacticons { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.contacticon {
  display: inline-grid; place-items: center; width: 38px; height: 38px;
  color: var(--green-pale); text-decoration: none;
  border: 1px solid rgba(195, 214, 201, .28); border-radius: 50%;
  background: rgba(255, 255, 255, .03);
  transition: color var(--fast) ease-out, border-color var(--fast) ease-out, background var(--fast) ease-out, transform var(--fast) ease-out, box-shadow var(--fast) ease-out;
}
.contacticon svg { width: 18px; height: 18px; display: block; }
.contacticon:hover {
  color: var(--green-deep); background: var(--gold-light); border-color: var(--gold);
  transform: translateY(-2px); box-shadow: 0 4px 14px rgba(176, 142, 76, .28);
}
.contacticon:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.contacticon--whatsapp svg { width: 17px; height: 17px; }
.siteheader__cta { flex-shrink: 0; }

.mainnav { grid-column: 2; justify-self: center; min-width: 0; }
.mainnav__links { display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; justify-content: center; }
.navitem { position: relative; }
.navitem__link {
  display: block; padding: 12px 8px;
  font-size: var(--text-2xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  white-space: nowrap; color: var(--green-pale); text-decoration: none;
  border-bottom: 2px solid transparent;
}
.navitem__link:hover { color: var(--gold-light); border-bottom-color: var(--gold); }
.navitem__link[aria-current="page"] { color: #fff; border-bottom-color: var(--gold); }

@media (min-width: 1151px) {
  .navitem--has-submenu > .navitem__link::after { content: "▾"; padding-left: 8px; font-size: .68em; color: var(--gold-light); }
}

.navsubmenu {
  position: absolute; top: calc(100% - 2px); left: 50%; z-index: 130;
  min-width: 260px; padding: 8px;
  background: linear-gradient(rgba(7, 34, 19, .97), rgba(7, 30, 17, .98)), var(--masonry) center / cover no-repeat;
  border: 1px solid rgba(195, 214, 201, .2);
  box-shadow: 0 16px 34px rgba(4, 18, 10, .3);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
  transition: opacity var(--fast) ease-out, transform var(--fast) ease-out, visibility var(--fast);
  pointer-events: none;
}
@media (min-width: 1151px) {
  .navitem:hover > .navsubmenu,
  .navitem:focus-within > .navsubmenu { opacity: 1; visibility: visible; transform: translate(-50%, 0); pointer-events: auto; }
  /* Nach Klick auf einen Menüpunkt bleibt das Untermenü zu, bis die Maus geht. */
  .mainnav .navitem.navitem--closed > .navsubmenu { opacity: 0; visibility: hidden; transform: translate(-50%, 8px); pointer-events: none; }
}
.navsubmenu a {
  display: block; padding: 8px 12px;
  color: var(--green-pale); font-size: var(--text-xs); font-weight: 500; letter-spacing: .01em; line-height: 1.35;
  text-decoration: none; text-transform: none; white-space: nowrap;
  border-left: 2px solid transparent;
}
.navsubmenu a:hover, .navsubmenu a:focus-visible { color: #fff; background: rgba(255, 255, 255, .06); border-left-color: var(--gold); }

.mainnav__mobile-only { display: none !important; }
.navitem__toggle { display: none; }
.navitem__chevron { display: block; }

.navtoggle {
  display: none; align-items: center; gap: 8px;
  min-height: 46px; padding: 8px 16px;
  background: transparent; border: 1px solid rgba(195, 214, 201, .4); border-radius: var(--radius-control);
  font-family: var(--font-sans); font-size: var(--text-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--green-pale); cursor: pointer; white-space: nowrap; flex-shrink: 0;
}
.navtoggle__bars { position: relative; width: 18px; height: 2px; background: var(--green-pale); transition: background var(--fast) ease-out; }
.navtoggle__bars::before, .navtoggle__bars::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px;
  background: var(--green-pale); transition: transform var(--mid) var(--ease);
}
.navtoggle__bars::before { top: -6px; }
.navtoggle__bars::after { top: 6px; }
.navtoggle[aria-expanded="true"] .navtoggle__bars { background: transparent; }
.navtoggle[aria-expanded="true"] .navtoggle__bars::before { transform: translateY(6px) rotate(45deg); }
.navtoggle[aria-expanded="true"] .navtoggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

.navscrim {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(18, 48, 28, .55);
  opacity: 0; visibility: hidden;
  transition: opacity var(--mid) var(--ease), visibility var(--mid);
}
.navscrim.is-open { opacity: 1; visibility: visible; }

/* --- Mobile Off-Canvas-Drawer (Layout-Ebene, eigener Stacking-Context) --- */
.mobile-nav-drawer {
  position: fixed; inset: 0 0 0 auto; width: min(330px, 88vw); z-index: 210;
  background: var(--green-deep);
  padding: calc(14px + env(safe-area-inset-top)) 18px calc(28px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; flex-wrap: nowrap; justify-content: flex-start;
  transform: translateX(100%);
  transition: transform 280ms var(--ease), visibility 0s linear 280ms;
  overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  box-shadow: -6px 0 30px rgba(0, 0, 0, .35);
  visibility: hidden;
}
.mobile-nav-drawer.is-open { transform: translateX(0); visibility: visible; transition: transform 280ms var(--ease), visibility 0s linear 0s; }
.mobile-nav-drawer__nav { display: flex; flex-direction: column; }
@media (min-width: 1151px) { .mobile-nav-drawer { display: none; } }

@media (max-width: 1150px) {
  .navtoggle { display: inline-flex; }
  .mainnav__links { display: none; }
  .siteheader__inner { grid-template-columns: auto minmax(0, 1fr) auto; }
  .siteheader__qualifications { grid-column: 1; }
  .siteheader__actions { grid-column: 2; }
  .mainnav { grid-column: 3; }
  .siteheader .siteheader__cta { display: none; }

  .mobile-nav-drawer .navitem { width: 100%; }
  .mobile-nav-drawer .navitem__link,
  .mobile-nav-drawer .mainnav__mobile-only {
    padding: 16px 12px; min-height: 52px; display: flex; align-items: center; width: 100%;
    font-size: var(--text-xs); border-bottom: 1px solid rgba(155, 188, 165, .16);
  }
  .mobile-nav-drawer .navitem__link:hover,
  .mobile-nav-drawer .navitem__link[aria-current="page"] { border-bottom-color: rgba(155, 188, 165, .16); }
  .mobile-nav-drawer .navitem--has-submenu > .navitem__link { padding-right: 48px; }
  .mobile-nav-drawer .navitem__toggle {
    display: inline-flex; align-items: center; justify-content: center;
    position: absolute; right: 4px; top: 6px; width: 44px; min-height: 52px;
    background: transparent; border: 0; color: var(--green-pale); cursor: pointer; -webkit-tap-highlight-color: transparent;
  }
  .mobile-nav-drawer .navitem__chevron { font-size: .8rem; color: var(--gold-light); transition: transform var(--mid) var(--ease); }
  .mobile-nav-drawer .navitem.is-open .navitem__chevron { transform: rotate(180deg); }
  .mobile-nav-drawer .navsubmenu {
    position: static; min-width: 0; width: 100%; display: grid; grid-template-rows: 0fr;
    background: rgba(255, 255, 255, .035); border: 0; box-shadow: none;
    opacity: 0; visibility: hidden; transform: none; pointer-events: none;
    transition: grid-template-rows var(--mid) var(--ease), opacity var(--fast) ease-out, visibility var(--fast);
  }
  .mobile-nav-drawer .navsubmenu__inner { overflow: hidden; padding-left: 14px; }
  .mobile-nav-drawer .navitem.is-open > .navsubmenu { grid-template-rows: 1fr; opacity: 1; visibility: visible; pointer-events: auto; }
  .mobile-nav-drawer .navitem.is-open > .navsubmenu .navsubmenu__inner { padding: 2px 0 10px 14px; }
  .mobile-nav-drawer .navsubmenu a { min-height: 42px; padding: 8px 12px; white-space: normal; border-left: 1px solid rgba(232, 195, 106, .32); }
  .mobile-nav-drawer .mainnav__mobile-only {
    display: flex !important; align-items: center; justify-content: space-between;
    margin-top: 14px; padding: 16px 14px; color: var(--gold-light) !important;
    border-bottom: 0; background: rgba(232, 195, 106, .10); border-radius: 10px; font-weight: 600;
  }
  .mobile-nav-drawer .mainnav__mobile-only::after { content: "→"; margin-left: 10px; font-size: 1.05em; color: var(--gold-light); transition: transform var(--mid) var(--ease); }
  .mobile-nav-drawer .mainnav__mobile-only:hover::after { transform: translateX(4px); }
  .mobile-nav-drawer .navclose {
    align-self: flex-end; min-width: 46px; min-height: 46px; background: transparent; border: 0;
    font-size: 1.7rem; line-height: 1; color: var(--green-pale); cursor: pointer; margin-bottom: 6px;
  }
}
@media (min-width: 1151px) { .navclose { display: none; } }

@media (max-width: 768px) {
  .siteheader__inner { grid-template-columns: minmax(0, 1fr) auto; }
  .siteheader__qualifications { display: none; }
  .siteheader__actions { grid-column: 1; grid-row: 1; justify-content: flex-start; }
  .mainnav { grid-column: 2; grid-row: 1; }
  .siteheader .siteheader__cta { display: none; }
}
@media (max-width: 640px) {
  .siteheader__inner { min-height: 64px; gap: 8px; }
  .brandheader__inner { padding-block: 8px 4px; }
  .brandheader__logo img { width: 200px; height: 200px; }
  .siteheader__actions { gap: 8px; }
  .siteheader__contacticons { gap: 5px; }
  .contacticon { width: 44px; height: 44px; }
  .contacticon svg { width: 18px; height: 18px; }
  .contacticon--whatsapp svg { width: 17px; height: 17px; }
  .navtoggle { padding: 10px 13px; }
}
@media (max-width: 379px) {
  .siteheader__inner { gap: 6px; padding-inline: 14px; }
  .siteheader__contacticons { gap: 3px; }
  .navtoggle { padding: 10px 11px; }
}

/* --- Schaltflächen ------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px;
  font-family: var(--font-sans); font-size: var(--text-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; border: 2px solid transparent; border-radius: var(--radius-control); cursor: pointer;
  transition: background var(--fast) ease-out, color var(--fast) ease-out, border-color var(--fast) ease-out, transform var(--fast) ease-out;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--gold); color: var(--green-deep); border-color: var(--gold); }
.btn--primary:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--green-deep); }
.section--deep a.btn--primary, .section--deep a.btn--primary:hover { color: var(--green-deep); }
.btn--secondary { background: transparent; color: var(--green); border-color: var(--green); }
.btn--secondary:hover { background: var(--green); color: #fff; }
.section--deep .btn--secondary, .hero .btn--secondary { color: var(--green-pale); border-color: rgba(195, 214, 201, .5); }
.section--deep .btn--secondary:hover, .hero .btn--secondary:hover { background: var(--green-pale); color: var(--green-deep); border-color: var(--green-pale); }
.btn--wide { width: 100%; }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: var(--text-2xs); }

.linkarrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-sans); font-size: var(--text-xs); font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  text-decoration: none; color: var(--green);
}
.linkarrow::after { content: "→"; transition: transform var(--fast) ease-out; }
.linkarrow:hover::after { transform: translateX(4px); }
.section--deep .linkarrow, .hero .linkarrow { color: var(--gold-light); }

/* --- Auftakt: Hero ------------------------------------------------------ */
.hero { position: relative; background-color: #16341f; padding-block: clamp(56px, 7vw, 104px); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: var(--masonry) center / cover no-repeat; filter: saturate(.68) contrast(1.08); }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(5, 34, 18, .88) 0%, rgba(8, 43, 23, .76) 48%, rgba(8, 38, 21, .67) 100%), linear-gradient(to bottom, rgba(12, 48, 27, .22), rgba(4, 24, 13, .42));
}
.hero__inner { position: relative; z-index: 2; }
.hero__message { text-align: center; }
.hero__qualifications {
  display: grid; grid-template-columns: repeat(3, minmax(180px, 240px)); justify-content: center;
  gap: clamp(26px, 5vw, 68px); margin: clamp(52px, 6vw, 78px) auto 0; padding-top: clamp(34px, 4vw, 50px);
  border-top: 1px solid rgba(195, 214, 201, .24);
}
.hero__qualification { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 210px; padding: 0; background: transparent; border: 0; }
.hero__qualification img { display: block; width: 174px; height: 174px; object-fit: contain; }
.hero__qualification img.logo--sprengnetter-blue { width: 167.35px; height: 167.35px; }
.hero__qualification--sprengnetter p {
  max-width: 30ch; margin: 10px auto 0; color: var(--green-pale);
  font-size: var(--text-2xs); line-height: 1.35; text-align: center; text-shadow: 0 1px 10px rgba(0, 0, 0, .55);
}
@media (max-width: 640px) {
  .hero__qualifications { grid-template-columns: 1fr; max-width: 310px; gap: 20px; padding-top: 34px; }
  .hero__qualification { min-height: 184px; }
  .hero__qualification img { width: 164px; height: 164px; }
  .hero__qualification img.logo--sprengnetter-blue { width: 157.73px; height: 157.73px; }
}
.hero h1 {
  color: var(--gold-pale); font-size: clamp(2rem, 1.5rem + 2.4vw, 3.45rem);
  line-height: 1.07; letter-spacing: -.02em; max-width: 1260px; margin-inline: auto;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .45);
}
.hero h1 span { display: block; }
.hero h1 span + span { margin-top: .08em; }
.hero__sub { color: #cdd8cf; font-size: 1.12rem; line-height: 1.68; max-width: 62ch; margin: 24px auto 0; text-shadow: 0 1px 12px rgba(0, 0, 0, .5); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; margin-top: 32px; }
.hero__finderlink {
  color: var(--gold-light); font-family: var(--font-sans); font-size: var(--text-xs); font-weight: 600; letter-spacing: .02em; text-transform: none;
  text-decoration: none; border-bottom: 1px solid rgba(232, 195, 106, .4); padding-bottom: 2px;
}
.hero__finderlink:hover { color: #fff; border-bottom-color: var(--gold-light); }
@media (max-width: 768px) {
  .hero h1 span { display: inline; }
  .hero h1 span + span { margin-top: 0; }
  .hero h1 span + span::before { content: " "; }
}
@media (max-width: 640px) {
  .hero { padding-block: 36px; }
  .hero h1 { font-size: clamp(1.7rem, 6.8vw, 2.2rem); line-height: 1.12; }
  .hero__actions { flex-direction: column; align-items: center; gap: 12px; }
  .hero__actions .btn { width: auto; max-width: 100%; }
}

/* --- Seitenkopf Unterseiten -------------------------------------------- */
.pagehead { position: relative; background-color: #16341f; padding-block: clamp(40px, 5vw, 64px); overflow: hidden; }
.pagehead::before { content: ""; position: absolute; inset: 0; background: var(--masonry) center / cover no-repeat; filter: saturate(.68) contrast(1.08); }
.pagehead::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(5, 34, 18, .88) 0%, rgba(8, 43, 23, .76) 55%, rgba(8, 38, 21, .68) 100%);
}
.pagehead__inner { position: relative; z-index: 2; text-align: center; }
.pagehead h1 { color: var(--gold-pale); margin-bottom: .3em; text-shadow: 0 2px 18px rgba(0, 0, 0, .4); }
.pagehead p { color: #cdd8cf; max-width: var(--content-max); margin-inline: auto; }
.pagehead__badge { display: flex; justify-content: center; position: relative; z-index: 3; margin-top: -34px; padding-bottom: 4px; }
.pagehead__badge img { display: block; width: 68px; height: 68px; object-fit: contain; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .22)); }
@media (max-width: 640px) {
  .pagehead__badge { margin-top: -26px; }
  .pagehead__badge img { width: 52px; height: 52px; }
}

/* --- Karten & Raster ---------------------------------------------------- */
.grid { display: grid; gap: var(--gutter); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 285px), 1fr)); }
.grid--anlaesse { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--services { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Gemeinsame Papierfläche für Karten und hervorgehobene Informationskästen. */
.card,
.factbox,
.download-card,
.qualification-logo {
  background-color: var(--paper-bright);
  background-image: var(--paper-texture);
  background-repeat: repeat;
  background-size: 496px 408px;
}

.card {
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--edge-light), var(--shadow);
  padding: 32px; display: flex; flex-direction: column;
  transition: border-color var(--fast) ease-out, box-shadow var(--fast) ease-out, transform var(--fast) ease-out;
}
.card:hover { border-color: var(--green-soft); box-shadow: var(--edge-light), var(--shadow-lift); transform: translateY(-2px); }
.card h3 { margin-bottom: .4em; }
.card p { font-size: var(--text-sm); color: var(--ink-muted); flex: 1; }
.card__foot { margin-top: 24px; margin-bottom: 0; flex: none; }
.card--anlass { border-left: 3px solid var(--gold); }

.cardlink { min-height: 176px; color: inherit; text-align: center; text-decoration: none; cursor: pointer; }
.cardlink:hover { color: inherit; }
.cardlink h3 { margin-block: auto .6em; }
.cardlink .card__foot { margin-top: auto; align-self: center; }
.cardlink--service { border-left: 3px solid var(--gold); }
.cardlink--service > p { margin-inline: auto; }
.overview-service { min-height: 0; }

.finder-teaser { max-width: none; margin: 42px auto 0; text-align: center; }

/* Verwandte Hinweise werden auf Fachseiten bewusst als kompakter Abschlussblock
   zusammengezogen, statt zwei volle section--tight-Abstände zu stapeln. */
.related-links-section:has(+ .finder-hint-section) { padding-bottom: 0; }
.related-links-section + .finder-hint-section { padding-top: var(--space-md); }

.overview-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: var(--content-wide); margin: 28px auto 0; }
.overview-links a {
  display: flex; flex-direction: column; gap: 4px; padding: 22px 24px;
  color: var(--green-deep); text-align: center; text-decoration: none;
  background: rgba(255, 255, 255, .45); border: 1px solid var(--line); border-radius: var(--radius);
}
.overview-links a:hover { color: var(--green-deep); border-color: var(--gold); }
.overview-links span { color: var(--ink-muted); font-size: var(--text-xs); }

@media (max-width: 1024px) { .grid--services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 768px) { .grid--anlaesse { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .grid--anlaesse, .grid--services { grid-template-columns: 1fr; }
  .cardlink, .cardlink--service { min-height: 0; }
  .overview-links { grid-template-columns: 1fr; }
}

.price { font-family: var(--font-serif); font-size: 1.6rem; font-weight: 600; color: var(--green-deep); margin: 2px 0 4px; }
.price small { display: block; font-family: var(--font-sans); font-size: var(--text-xs); font-weight: 400; color: var(--ink-muted); letter-spacing: .02em; }

.meta {
  display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: var(--text-xs); color: var(--ink-muted);
  margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); flex: none;
}

/* --- Hervorgehobene Informationskästen ------------------------------- */
.factbox {
  max-width: var(--content-max);
  margin: 32px auto;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 24px 28px;
  box-shadow: var(--edge-light), var(--shadow);
}
.factbox h3 { font-size: 1.1rem; margin-bottom: .5em; text-align: center; }
.factbox p:last-child, .factbox ul:last-child { margin-bottom: 0; }

/* Key Facts bleiben als Komponente verfügbar, werden auf den Leistungsseiten
   derzeit jedoch bewusst nicht eingesetzt, um Doppelungen zu vermeiden. */
.service-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0;
  margin: 0 0 42px;
  max-width: var(--content-max);
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}
.service-facts__item { padding: 16px 18px; border-right: 1px solid var(--line); }
.service-facts__item:first-child { padding-left: 0; }
.service-facts__item:last-child { border-right: 0; padding-right: 0; }
.service-facts dt { font-family: var(--font-sans); font-size: var(--text-2xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #7b6418; margin-bottom: 6px; }
.service-facts dd { margin: 0; font-size: var(--text-sm); color: var(--ink); line-height: 1.5; }
@media (max-width: 640px) {
  .service-facts { grid-template-columns: 1fr; }
  .service-facts__item,
  .service-facts__item:first-child,
  .service-facts__item:last-child { padding: 14px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .service-facts__item:last-child { border-bottom: 0; }
}

/* --- Beweisführung ------------------------------------------------------ */
.proof { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(232px, 1fr)); }
.proof__item { text-align: center; }
.proof__item dt { font-family: var(--font-serif); font-size: 1.85rem; font-weight: 600; color: var(--gold-light); line-height: 1.1; margin-bottom: 9px; }
.proof__item dd { margin: 0; font-size: var(--text-sm); color: #c8d4ca; }

.home-proof-layout { display: grid; grid-template-columns: minmax(280px, .78fr) minmax(0, 1.45fr); align-items: center; gap: clamp(36px, 5vw, 78px); }
.home-proof-portrait { margin: 0; overflow: hidden; border: 1px solid rgba(255, 255, 255, .15); border-radius: var(--radius); background: rgba(255, 255, 255, .05); box-shadow: var(--shadow-float); }
.home-proof-portrait img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 53% center; }
.home-proof-portrait figcaption { padding: 12px 16px; color: var(--green-pale); font-size: var(--text-xs); letter-spacing: .08em; text-align: center; text-transform: uppercase; }
.home-proof-content { text-align: center; }
.home-proof-content .lede { margin-inline: auto; }
.home-proof-content .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 520px) { .home-proof-content .proof { grid-template-columns: 1fr; gap: 22px; } }

.proof-logos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.5vw, 32px); margin-top: 42px; }
.proof-logo { display: flex; flex-direction: column; min-width: 0; padding: clamp(22px, 3vw, 32px); background: rgba(255, 255, 255, .055); border: 1px solid rgba(255, 255, 255, .15); border-radius: var(--radius); }
.proof-logo__mark { display: grid; place-items: center; min-height: 190px; margin-bottom: 20px; }
.proof-logo__mark img { display: block; width: 100%; max-width: 210px; height: 170px; object-fit: contain; }
.proof-logo__mark img.logo--sprengnetter-blue { width: 163.5px; height: 163.5px; }
.proof-logo p { margin: auto 0 0; font-size: var(--text-sm); text-align: center; }
@media (max-width: 768px) {
  .home-proof-layout { grid-template-columns: 1fr; }
  .home-proof-portrait { width: min(100%, 520px); margin-inline: auto; }
  .proof-logos { grid-template-columns: 1fr; }
  .proof-logo__mark img { height: 190px; }
  .proof-logo__mark img.logo--sprengnetter-blue { width: 182.74px; height: 182.74px; }
}

/* --- Person & Qualifikationslogos -------------------------------------- */
.person-intro { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); align-items: center; gap: clamp(36px, 6vw, 88px); margin-bottom: clamp(48px, 7vw, 84px); }
.person-intro__portrait { margin: 0; overflow: hidden; background: #e7ebe8; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.person-intro__portrait img { display: block; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: center 38%; }
.person-intro__copy h2 { margin-top: 0; text-align: left; }

.qualification-logos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 3vw, 34px); margin-top: clamp(34px, 5vw, 56px); }
.qualification-logo { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.qualification-logo__mark { display: grid; place-items: center; min-height: 270px; padding: clamp(26px, 3vw, 42px); background: transparent; border-bottom: 1px solid var(--line); }
.qualification-logo__mark img { display: block; width: 100%; max-width: 360px; height: 190px; object-fit: contain; }
.qualification-logo__mark img.logo--sprengnetter-blue { width: 182.74px; height: 182.74px; }
.qualification-logo__mark--compact img { width: 100%; max-height: none; }
.qualification-logo__content { display: flex; flex: 1; flex-direction: column; padding: clamp(24px, 3vw, 36px); }
.qualification-logo__content h3 { font-size: clamp(1.25rem, 1.1rem + .55vw, 1.65rem); text-align: left; }
.qualification-logo__content p { color: var(--ink-muted); }
.qualification-logo__eyebrow { margin-bottom: 12px; font-size: var(--text-2xs); font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: #7b6418 !important; }
@media (max-width: 768px) {
  .person-intro { grid-template-columns: 1fr; }
  .person-intro__portrait { max-width: 680px; }
  .qualification-logos { grid-template-columns: 1fr; }
  .qualification-logo__mark { min-height: 240px; }
}

/* --- Ablaufschritte ----------------------------------------------------- */
/* Nummern hängen links in den Rand; Überschrift und Text bleiben auf der
   normalen redaktionellen Achse. Dadurch entsteht keine zweite Textspalte. */
.steps { counter-reset: step; display: grid; gap: 0; max-width: var(--content-max); margin-inline: auto; }
.step { position: relative; padding: 24px 0; border-bottom: 1px solid var(--line); }
.step:last-child { border-bottom: 0; }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  right: calc(100% + 18px);
  top: 25px;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gold);
}
.step h3 { margin-bottom: .25em; text-align: left; }
.step p { margin: 0; font-size: var(--text-sm); color: var(--ink-muted); }
.section--deep .step { border-bottom-color: rgba(155, 188, 165, .18); }
@media (max-width: 860px) {
  .step { padding-left: 42px; }
  .step::before { left: 0; right: auto; top: 25px; }
}

/* --- Tabellen ----------------------------------------------------------- */
.tablewrap { width: fit-content; max-width: 100%; margin: 28px auto; overflow: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--edge-light), var(--shadow); }
table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: var(--text-sm); }
th, td { text-align: left; padding: 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--font-sans); font-size: var(--text-2xs); font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: #fff; background: var(--green); }
th a { color: inherit; text-decoration-color: var(--gold-light); }
th a:hover { color: var(--gold-pale); }
tbody tr:hover { background: rgba(255, 255, 255, .5); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }

/* --- Akkordeon (FAQ) ---------------------------------------------------- */
.faq { max-width: var(--content-max); margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 56px; padding: 16px 0;
  font-family: var(--font-serif); font-size: 1.08rem; font-weight: 600; color: var(--green-deep);
  cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-sans); font-size: 1.5rem; font-weight: 400; color: var(--gold); transition: transform var(--mid) var(--ease); flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding-bottom: 24px; }
.faq p { font-size: var(--text-sm); color: var(--ink-muted); margin-bottom: .7em; }
.faq p:last-child { margin-bottom: 0; }

/* --- PDF-Download ------------------------------------------------------- */
.download-card {
  display: grid; gap: 16px; justify-items: start;
  margin: 32px auto 44px; max-width: var(--content-max); padding: 26px 30px;
  border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: var(--radius);
  box-shadow: var(--edge-light), var(--shadow);
}
.download-card h2 { margin-bottom: 10px; }
.download-card p:not(.eyebrow) { max-width: none; margin-bottom: 0; }
.download-card .btn { white-space: nowrap; margin-top: 4px; }
@media (max-width: 768px) { .download-card .btn { width: 100%; white-space: normal; text-align: center; } }

/* --- Erklärvideos ------------------------------------------------------- */
.video { max-width: var(--content-max); margin: 34px auto 42px; }
.video__player {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 9;
  background: var(--green-deep); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--edge-light), var(--shadow);
}

/* --- Eyebrow / kleine Hinweistexte (zentral) ---------------------------- */
.eyebrow {
  max-width: none; margin-bottom: var(--space-sm);
  font-size: var(--text-2xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #7b6418;
}
.text-small { font-size: var(--text-sm); }
.text-muted { color: var(--ink-muted); }

/* --- Gutachtenfinder (Spezialkomponente, eigene Klassen) --------------- */
.finder-section .lede { margin-inline: auto; text-align: center; }
.finder-shell {
  max-width: var(--content-wide); margin: 48px auto 0; padding: clamp(24px, 5vw, 56px);
  background-color: var(--paper-bright); background-image: var(--paper-texture); background-repeat: repeat; background-size: 496px 408px;
  border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: var(--radius);
  box-shadow: var(--edge-light), var(--shadow-lift);
}
.finder-progress { margin-bottom: clamp(34px, 5vw, 52px); }
.finder-progress__label { max-width: none; margin-bottom: 8px; color: var(--ink-muted); font-size: var(--text-xs); font-weight: 700; letter-spacing: .09em; text-align: center; text-transform: uppercase; }
.finder-progress__track { height: 5px; overflow: hidden; background: var(--line); border-radius: 999px; }
.finder-progress__track span { display: block; width: 20%; height: 100%; background: var(--gold); transition: width var(--mid) var(--ease); }
.finder-error { max-width: none; margin: -16px 0 24px; color: #7a2d24; font-size: var(--text-sm); font-weight: 600; text-align: center; }
.finder-step fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.finder-step__title {
  display: block; width: 100%; margin: 0 0 28px; scroll-margin-top: 110px;
  font-family: var(--font-serif); font-size: clamp(1.55rem, 1.2rem + 1.2vw, 2.15rem); font-weight: 600; line-height: 1.2;
  color: var(--green-deep); text-align: center;
}
.finder-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.finder-option {
  display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 16px;
  color: var(--ink); background: rgba(255, 255, 255, .68);
  border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer;
  transition: border-color var(--fast) ease-out, background var(--fast) ease-out, transform var(--fast) ease-out, box-shadow var(--fast) ease-out;
}
.finder-option:hover { border-color: var(--gold); transform: translateY(-1px); }
.finder-option:focus-within { outline: 3px solid var(--green-deep); outline-offset: 2px; }
.finder-option:has(input:checked) { background: rgba(232, 195, 106, .2); border-color: var(--gold); box-shadow: inset 4px 0 0 var(--gold); }
.finder-option input { width: 21px; height: 21px; margin: 0; accent-color: var(--green-deep); flex: 0 0 auto; }
.finder-location { display: grid; grid-template-columns: minmax(140px, .45fr) minmax(0, 1fr); gap: 16px; }
.finder-location .field { margin: 0; }
.finder-controls { display: flex; justify-content: space-between; gap: 16px; margin-top: clamp(32px, 5vw, 48px); }
.finder-controls .btn[disabled] { opacity: .42; cursor: not-allowed; transform: none; }

.finder-result { text-align: center; }
.finder-result .eyebrow { text-align: center; }
.finder-result h2 { margin-inline: auto; scroll-margin-top: 110px; }
.finder-result__reason { max-width: var(--content-max); margin: 0 auto 36px; color: var(--ink-muted); }
.finder-result__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; text-align: left; }
.finder-result__grid > div { padding: 24px; background: rgba(255, 255, 255, .62); border: 1px solid var(--line); border-radius: var(--radius); }
.finder-result__grid h3 { text-align: center; }
.finder-result__grid ul { margin-bottom: 0; }
.finder-result__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.finder-result__facts > div { display: flex; flex-direction: column; gap: 4px; padding: 20px; background: var(--green-deep); color: #fff; border-radius: var(--radius); }
.finder-result__fact-label { color: var(--green-pale); font-size: var(--text-2xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin: 0; }
.finder-result__fact-value { color: #fff; margin: 0; }
.finder-result__note { margin-top: 14px; font-size: var(--text-sm); color: var(--ink-muted); line-height: 1.5; }
.finder-result__alternative { margin-top: 16px; padding: 24px; text-align: left; background: rgba(232, 195, 106, .18); border-left: 3px solid var(--gold); border-radius: var(--radius); }
.finder-result__alternative h3 { margin-bottom: 8px; }
.finder-result__alternative p { margin-bottom: 0; }
.finder-result__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 20px; margin-top: 32px; }
.finder-restart { margin-top: 48px; text-align: center; }
@media (max-width: 768px) {
  .finder-shell { margin-top: 34px; padding: 24px 18px 28px; }
  .finder-options, .finder-result__grid, .finder-result__facts, .finder-location { grid-template-columns: 1fr; }
  .finder-option { min-height: 62px; }
  .finder-controls .btn { flex: 1; min-width: 0; padding-inline: 12px; }
  .finder-result__actions { flex-direction: column; }
  .finder-result__actions .btn, .finder-result__actions .linkarrow { width: 100%; }
  .finder-result__actions .linkarrow { justify-content: center; }
}

/* --- Formulare ---------------------------------------------------------- */
.form { max-width: var(--content-max); margin-inline: auto; }
.field { margin-bottom: 24px; }
.field label { display: block; margin-bottom: 8px; font-size: var(--text-sm); font-weight: 600; color: var(--green-deep); }
.field .hint { font-weight: 400; color: var(--ink-muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 16px;
  font-family: var(--font-sans); font-size: 1rem; color: var(--ink);
  background: #fff; border: 1px solid var(--sand); border-radius: var(--radius);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--green-soft); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); }
.field__error { display: block; margin-top: 6px; font-size: var(--text-2xs); color: #8a3324; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.fieldset { border: 0; padding: 0; margin: 0 0 32px; }
.fieldset legend { font-family: var(--font-serif); font-size: 1.15rem; font-weight: 600; color: var(--green-deep); padding: 0; margin-bottom: 14px; }

.consent { display: flex; gap: 12px; align-items: flex-start; margin: 26px 0; max-width: var(--content-max); }
.consent input { width: 22px; height: 22px; min-height: 0; margin-top: 2px; flex-shrink: 0; }
.consent label { font-size: var(--text-sm); font-weight: 400; color: var(--ink-muted); }

.form--compact {
  max-width: var(--content-wide); padding: clamp(24px, 4vw, 48px);
  background-color: var(--paper-bright); background-image: var(--paper-texture); background-repeat: repeat; background-size: 496px 408px;
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); scroll-margin-top: 96px;
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.form-grid .field { margin-bottom: 0; }
.field--wide { grid-column: 1 / -1; }
.form--compact .field textarea { min-height: 108px; }
.form--compact .consent { margin-inline: auto; }
.form__submit { margin: 32px 0 0; max-width: none; text-align: center; }
.form__privacy { max-width: var(--content-max); margin: 22px auto 0; color: var(--ink-muted); font-size: var(--text-xs); text-align: center; }
.form__privacy a { font-weight: 600; }
.form__note, .form__status { max-width: none; margin: 14px auto 0; color: var(--ink-muted); font-size: var(--text-xs); text-align: center; }
.form__status { color: var(--green-deep); font-weight: 600; }
@media (max-width: 768px) {
  .form-grid { grid-template-columns: 1fr; }
  .field--wide { grid-column: auto; }
}

/* --- Fußbereich --------------------------------------------------------- */
.footer {
  background: linear-gradient(rgba(7, 35, 19, .93), rgba(6, 29, 16, .96)), var(--masonry) center / cover no-repeat;
  color: var(--green-pale); padding-block: 64px 32px; font-size: var(--text-sm); position: relative;
}
.footer h4 { color: #fff; font-family: var(--font-sans); font-size: var(--text-2xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.footer a { color: var(--green-pale); text-decoration: none; }
.footer a:hover { color: var(--gold-light); text-decoration: underline; }
.footer ul { list-style: none; padding: 0; margin: 0; max-width: none; }
.footer li { margin-bottom: 8px; }
.footer p { color: var(--green-soft); max-width: 34ch; }
.footer__grid { display: grid; gap: 40px var(--gutter); grid-template-columns: repeat(auto-fit, minmax(195px, 1fr)); padding-bottom: 40px; border-bottom: 1px solid var(--green-mid); }
.footer__brand img { height: 92px; width: auto; margin-bottom: 16px; }
.footer .footer__claim { display: flex; flex-direction: column; gap: 0; max-width: 46ch; line-height: 1.5; }
.footer h4 a, .footer h4 a:hover { color: inherit; text-decoration: none; }
/* Kontakt wie die beiden Linkspalten: Überschrift und fünf Zeilen linksbündig. */
.footer__contact h4 { text-align: left; }
.footer__navpair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.footer__navpair ul { max-width: none; }
.footer__navpair h4 { text-align: left; white-space: nowrap; }
.footer__navpair a { white-space: nowrap; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; padding-top: 24px; font-size: var(--text-xs); color: var(--green-soft); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 24px; }
.closer__direct { margin: 18px auto 0; font-size: var(--text-sm); text-align: center; }
/* Desktop: Linkpaar in natürlicher Breite, damit die nicht umbrechenden Links
   nicht in die Nachbarspalte laufen. */
@media (min-width: 769px) {
  .footer__grid { grid-template-columns: minmax(0, 1fr) max-content minmax(0, 1fr); }
  .footer__navpair { grid-template-columns: max-content max-content; }
}
/* Tablet und kleine Laptops: Marke über die volle Breite, darunter Links und Kontakt. */
@media (min-width: 769px) and (max-width: 1100px) {
  .footer__grid { grid-template-columns: max-content minmax(0, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .footer { padding-block: 46px 24px; text-align: center; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; padding-bottom: 32px; }
  .footer__brand { display: flex; flex-direction: column; align-items: center; }
  .footer__brand img { margin-inline: auto; }
  .footer .footer__claim { max-width: 46ch; text-align: center; margin-inline: auto; }
  .footer__navpair h4, .footer__contact h4 { text-align: center; }
  .footer p { margin-inline: auto; }
  .footer ul { margin-inline: auto; }
  .footer__bottom { flex-direction: column; align-items: center; gap: 18px; }
  .footer__legal { justify-content: center; gap: 12px 24px; }
  .footer__navpair { gap: 16px; }
  .footer__navpair h4 { letter-spacing: .08em; }
  .footer__navpair a, .footer__contact li { font-size: var(--text-xs); }
  .closer__direct { display: flex; flex-direction: column; align-items: center; gap: 6px; }
  .section--deep .center .btn { max-width: 100%; }
}
@media (max-width: 379px) {
  /* Enge Smartphones: Linkgruppen untereinander statt in schmalen Spalten. */
  .footer__navpair { grid-template-columns: 1fr; gap: 24px; }
  .footer__navpair h4 { font-size: var(--text-2xs); letter-spacing: .08em; }
  .footer__navpair a { font-size: var(--text-xs); }
}

/* --- Hilfsklassen ------------------------------------------------------- */
.center { text-align: center; }
.center .lede, .center p { margin-inline: auto; }

/* --- Druck -------------------------------------------------------------- */
@media print {
  .brandheader, .siteheader, .navscrim, .mobile-nav-drawer { display: none; }
  body { background: #fff; font-size: 11pt; }
  .hero, .pagehead, .section--deep, .footer { background: #fff !important; color: #000; }
  .hero::before, .hero::after, .pagehead::before, .section--deep::before { display: none; }
  .hero h1, .pagehead h1, .section--deep h2 { color: #000; }
  .section { padding-block: 16pt; }
}
