/* =============================================================
   Lennerts Immobilien — Hausverwaltung im Bergischen Land
   Design-System (nativ, kein Framework)
   Aufbau: 1) Tokens  2) Reset/Basis  3) Typografie  4) Layout
   5) Header/Nav  6) Buttons  7) Sektionen/Komponenten
   8) Formular  9) Cookie/Karte  10) Footer  11) Utilities
   12) Motion/Reveal  13) Reduced-Motion
   ============================================================= */

/* ---------- 1) Tokens ---------------------------------------- */
:root {
  /* Farben (warm, gedeckt) */
  --papier:      #FAF8F4;
  --papier-2:    #F3EFE7;   /* leicht dunklere Sektionsfläche */
  --creme:       #EFE6D2;   /* warmer Creme-Ton für den Header-Balken */
  --weiss:       #FFFFFF;
  --tinte:       #22201D;
  --grau-text:   #56514B;
  --linie:       #E4DED4;
  --stein:       #8A8378;
  --ziegel:      #B4471F;
  --ziegel-dark: #963A18;
  --tinte-90:    rgba(34, 32, 29, 0.90);
  --tinte-70:    rgba(34, 32, 29, 0.70);

  /* Schrift */
  --font-serif: "Iowan Old Style", "Palatino Linotype", "Palatino", "Georgia", "Times New Roman", serif;
  --font-sans:  system-ui, -apple-system, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;

  /* Typo-Skala (fluid) */
  --fs-hero: clamp(2.35rem, 6.2vw, 4.3rem);
  --fs-h1:   clamp(1.95rem, 4.4vw, 3.05rem);
  --fs-h2:   clamp(1.5rem, 3vw, 2.2rem);
  --fs-h3:   clamp(1.15rem, 1.8vw, 1.4rem);
  --fs-lead: clamp(1.06rem, 1.5vw, 1.28rem);
  --fs-sm:   0.9rem;
  --fs-xs:   0.78rem;

  /* Abstände */
  --wrap:    1180px;
  --wrap-narrow: 760px;
  --gutter:  clamp(1.25rem, 5vw, 3rem);
  --section-y: clamp(3.5rem, 8vw, 6.5rem);

  /* Radius / Linien / Schatten (flach) */
  --r-sm: 4px;
  --r-md: 6px;
  --shadow-1: 0 1px 2px rgba(34, 32, 29, 0.06);
  --shadow-2: 0 8px 30px rgba(34, 32, 29, 0.08);

  /* Header */
  --header-h: 116px;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- 2) Reset / Basis -------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
:focus-visible {
  outline: 3px solid var(--ziegel);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Skip-Link */
.skip-link {
  position: absolute; left: 12px; top: -100px;
  background: var(--tinte); color: var(--papier);
  padding: 0.6rem 1rem; border-radius: var(--r-sm);
  z-index: 200; transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- 3) Typografie ----------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--tinte);
  margin: 0 0 0.6em;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 700; letter-spacing: -0.005em; }
p { margin: 0 0 1rem; max-width: 68ch; }
.lead { font-size: var(--fs-lead); color: var(--grau-text); line-height: 1.55; }
strong { font-weight: 650; }
.eyebrow {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stein);
  margin: 0 0 0.9rem;
  font-weight: 600;
}
.section-title { max-width: 20ch; }
a.textlink {
  color: var(--ziegel);
  text-decoration: none;
  border-bottom: 1px solid rgba(180, 71, 31, 0.35);
  padding-bottom: 1px;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
a.textlink:hover { color: var(--ziegel-dark); border-color: var(--ziegel-dark); }

/* ---------- 4) Layout --------------------------------------- */
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: var(--wrap-narrow); }
.section { padding-block: var(--section-y); }
.section--tint { background: var(--papier-2); }
.section--ink { background: var(--tinte); color: var(--papier); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--papier); }
.section--ink .lead { color: rgba(250, 248, 244, 0.78); }
.divider { border: 0; border-top: 1px solid var(--linie); margin: 0; }

/* editoriales asymmetrisches Raster */
.split {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
}
@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--6040 { grid-template-columns: 1.5fr 1fr; }
  .split--4060 { grid-template-columns: 1fr 1.5fr; }
  .split__media--first { order: -1; }
}

/* Figur / Bildunterschrift */
figure { margin: 0; }
.figure {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--papier-2);
  box-shadow: var(--shadow-1);
}
.figure img { width: 100%; height: 100%; object-fit: cover; }
.figure--warm img { filter: saturate(0.9) contrast(0.98); }
.figcaption {
  font-size: var(--fs-xs);
  color: var(--stein);
  margin-top: 0.55rem;
  letter-spacing: 0.01em;
}
.figure--tall { aspect-ratio: 4 / 5; }
.figure--wide { aspect-ratio: 3 / 2; }
.figure--pano { aspect-ratio: 16 / 9; }

/* ---------- 5) Header / Navigation -------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: transparent;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
/* Header nutzt mehr Breite: Logo rückt weiter nach links, Menü weiter rechts */
.site-header .wrap { max-width: 1400px; padding-inline: clamp(1rem, 2.5vw, 1.75rem); }
/* Utility-Zeile (Öffnungszeiten + Kontakt) */
.utilbar {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--tinte);
  background: var(--creme);
  border-bottom: 1px solid var(--linie);
  transition: max-height 0.35s var(--ease), opacity 0.3s var(--ease), border-color 0.35s var(--ease);
  overflow: hidden;
  max-height: 44px;
}
.utilbar__inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; min-height: 40px;
}
.utilbar a { text-decoration: none; }
.utilbar a:hover { color: var(--ziegel-dark); }
.util-tel { display: inline-flex; align-items: center; gap: 0.4rem; }
.util-tel__ico { width: 14px; height: 14px; flex: none; color: var(--ziegel); }
.hours { display: inline-flex; align-items: center; gap: 0.4rem; }
.util-clock { width: 14px; height: 14px; flex: none; color: var(--ziegel); }
.utilbar .dot { color: var(--linie); margin-inline: 0.5rem; }
.util-tag {
  color: var(--stein);
  font-size: 0.68rem;
  border: 1px solid var(--linie);
  border-radius: 999px;
  padding: 1px 7px;
  margin-left: 0.5rem;
  vertical-align: middle;
}

/* Hauptzeile */
.navbar { position: relative; background: var(--papier); border-bottom: 1px solid var(--linie); }
.navbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
  transition: min-height 0.35s var(--ease);
}
.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand img { height: 90px; width: auto; transition: height 0.35s var(--ease); }
.brand__logo--light { display: none; }

/* Kleiner Creme-Balken oben (nur Öffnungszeiten + Telefon). Die Navbar mit
   Logo und Menü ist Papier; auf der Desktop-Startseite über dem Hero ist sie
   transparent (helles Logo/Menü). */
.site-header.is-scrolled .navbar { box-shadow: var(--shadow-2); }
@media (min-width: 901px) {
  .page-home .site-header:not(.is-scrolled) .navbar {
    background: transparent; border-bottom-color: transparent; box-shadow: none;
  }
  .page-home .site-header:not(.is-scrolled) .brand__logo--dark { display: none; }
  .page-home .site-header:not(.is-scrolled) .brand__logo--light { display: block; }
  .page-home .site-header:not(.is-scrolled) .nav__link { color: rgba(250, 248, 244, 0.95); }
}
.site-header.is-scrolled .utilbar {
  max-height: 0; opacity: 0; border-color: transparent;
}
@media (max-width: 620px) {
  .utilbar__inner .hours { display: none; }
  .utilbar__inner { justify-content: flex-end; }
}
.site-header.is-scrolled .brand img { height: 68px; }
.site-header.is-scrolled .navbar__inner { min-height: 82px; }

/* Nav */
.nav { display: flex; align-items: center; gap: 0.35rem; }
.nav__list { display: flex; align-items: center; gap: 0.2rem; list-style: none; margin: 0; padding: 0; }
.nav__link {
  display: inline-flex; align-items: center; gap: 0.3rem;
  text-decoration: none; color: var(--tinte);
  font-size: 0.96rem; font-weight: 500;
  padding: 0.55rem 0.8rem; border-radius: var(--r-sm);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav__link:hover { color: var(--ziegel-dark); }
.nav__link[aria-current="page"] { color: var(--ziegel); }
.nav__link[aria-current="page"]::after {
  content: ""; display: block;
}

/* Dropdown (Leistungen) */
.has-dropdown { position: relative; }
.nav__toggle { background: none; border: 0; }
.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0;
  min-width: 250px;
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-2);
  padding: 0.8rem;
  display: grid; grid-template-columns: 1fr; gap: 0.2rem;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.dropdown.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown__group-label {
  font-size: var(--fs-xs); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--stein); font-weight: 700; margin: 0 0 0.45rem;
}
.dropdown a {
  text-decoration: none; color: var(--tinte);
  padding: 0.4rem 0.5rem; border-radius: var(--r-sm);
  font-size: 0.92rem;
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}
.dropdown a:hover { background: var(--papier-2); color: var(--ziegel-dark); }
.dropdown__col { display: grid; align-content: start; gap: 0.1rem; }

/* Burger */
.burger {
  display: none;
  width: 44px; height: 44px;
  background: none; border: 0;
  flex-direction: column; justify-content: center; gap: 5px;
  padding: 10px;
}
.burger span {
  display: block; height: 2px; width: 100%;
  background: var(--tinte); border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease), background 0.3s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Mobile: kompakter Header + Vollbild-Menü ---- */
@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .brand img { height: 50px; }
  .site-header.is-scrolled .brand img { height: 44px; }
  .site-header.is-scrolled .navbar__inner { min-height: 58px; }

  .burger { display: flex; position: relative; z-index: 3; }

  /* Vollbild-Menü: volle Breite, weiß, Einträge linksbündig über die ganze Breite */
  .nav {
    position: fixed; inset: 0;
    width: 100%;
    background: var(--weiss);
    border: 0; box-shadow: none;
    flex-direction: column; align-items: stretch;
    padding: calc(var(--header-h) + 14px) 0 2rem;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    overflow-y: auto;
    gap: 0;
    z-index: 2;
  }
  .nav.is-open { transform: translateX(0); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; width: 100%; border-top: 1px solid var(--linie); }
  .nav__link {
    width: 100%;
    padding: 1.15rem clamp(1.25rem, 6vw, 2rem);
    font-size: 1.3rem; font-weight: 600; color: var(--tinte);
    border-bottom: 1px solid var(--linie); border-radius: 0;
    justify-content: space-between;
  }
  .nav__link[aria-current="page"] { color: var(--ziegel); }
  /* Leistungen-Untermenü (Akkordeon) */
  .dropdown {
    position: static; min-width: 0; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-bottom: 1px solid var(--linie);
    border-radius: 0; grid-template-columns: 1fr;
    padding: 0.2rem clamp(1.25rem, 6vw, 2rem) 0.9rem;
    display: none; background: var(--papier-2);
  }
  .dropdown.is-open { display: grid; }
  .dropdown a { padding: 0.65rem 0.1rem; font-size: 1.05rem; }
  .dropdown__group-label { grid-column: 1; margin-top: 0.6rem; }
  .nav__toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }

  .nav-overlay { display: none; }
  body.nav-locked { overflow: hidden; }
}

/* Utilbar mobil: Öffnungszeiten sichtbar (gestapelt über der Nummer) */
@media (max-width: 620px) {
  .utilbar { max-height: 64px; }
  .utilbar__inner {
    flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 1px; min-height: 0; padding-block: 6px;
  }
  .utilbar__inner .hours { display: block; font-size: 0.72rem; }
}

.chev { width: 12px; height: 12px; transition: transform 0.25s var(--ease); }

/* ---------- 6) Buttons -------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-sans); font-weight: 600; font-size: 0.96rem;
  text-decoration: none; white-space: nowrap;
  padding: 0.75rem 1.35rem; border-radius: var(--r-sm);
  border: 1px solid transparent;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.08s var(--ease), border-color 0.2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--ziegel); color: #fff; }
.btn--primary:hover { background: var(--ziegel-dark); }
.btn--ghost { background: transparent; border-color: var(--linie); color: var(--tinte); }
.btn--ghost:hover { border-color: var(--stein); background: var(--papier-2); }
.btn--on-ink { background: var(--papier); color: var(--tinte); }
.btn--on-ink:hover { background: #fff; }
.btn--ghost-ink { background: transparent; border-color: rgba(250,248,244,0.4); color: var(--papier); }
.btn--ghost-ink:hover { border-color: var(--papier); }
.btn--sm { padding: 0.5rem 0.9rem; font-size: 0.9rem; }

/* ---------- 7) Sektionen / Komponenten ---------------------- */

/* Hero (Startseite) — Vollbild-Video */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex; align-items: flex-end;
  color: var(--papier);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  /* Warmer, markentypischer Verlauf (Terracotta/Espresso statt neutralem Grau) */
  background:
    linear-gradient(180deg, rgba(45,24,14,0.48) 0%, rgba(45,24,14,0.10) 28%, rgba(120,52,26,0.16) 56%, rgba(90,34,16,0.82) 100%);
}
.hero__inner { width: 100%; padding-block: clamp(2.5rem, 7vw, 5rem) clamp(3rem, 7vw, 5rem); }
.hero__inner > * { max-width: 40rem; }
.hero__eyebrow { color: rgba(250,248,244,0.82); margin-bottom: 0.7rem; }
.hero h1 {
  color: var(--papier);
  font-size: clamp(2.2rem, 5.2vw, 3.7rem);
  margin-bottom: 0.6rem;
  text-shadow: 0 1px 30px rgba(0,0,0,0.25);
}
.hero__lead { color: rgba(250,248,244,0.9); font-size: var(--fs-lead); margin-bottom: 1.6rem; max-width: 32ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }
.hero__meta {
  margin-top: 1.6rem; font-size: var(--fs-sm); color: rgba(250,248,244,0.85);
  display: flex; flex-wrap: wrap; gap: 0.4rem 0.9rem; align-items: center;
}
.hero__meta .dot { color: rgba(250,248,244,0.45); }

/* Seiten-Kopf (Unterseiten) */
.pagehead { padding-top: calc(var(--header-h) + 40px + clamp(1.5rem, 5vw, 3rem)); padding-bottom: clamp(1.5rem, 4vw, 3rem); }
.pagehead .eyebrow { margin-bottom: 0.6rem; }
.pagehead h1 { max-width: 18ch; }
.pagehead .lead { max-width: 60ch; }
.breadcrumb { font-size: var(--fs-xs); color: var(--stein); margin-bottom: 1rem; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--ziegel-dark); }

/* Zwei-Säulen-Überblick */
.pillars { display: grid; gap: 1.5rem; }
@media (min-width: 800px) { .pillars { grid-template-columns: 1fr 1fr; } }
.pillar {
  background: var(--weiss); border: 1px solid var(--linie);
  border-radius: var(--r-md); overflow: hidden;
  display: flex; flex-direction: column;
}
.pillar__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--papier-2); }
.pillar__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.92); }
.pillar__body { padding: clamp(1.25rem, 3vw, 1.9rem); display: flex; flex-direction: column; flex: 1; }
.pillar__body h3 { margin-bottom: 0.3rem; }
.pillar__list { list-style: none; margin: 0.8rem 0 1.3rem; padding: 0; display: grid; gap: 0.15rem; }
.pillar__list li { padding: 0.35rem 0; border-bottom: 1px solid var(--linie); color: var(--grau-text); }
.pillar__foot { margin-top: auto; }

/* Leistungs-Karten (Detail) */
.services { display: grid; gap: 1.25rem; }
@media (min-width: 720px) { .services { grid-template-columns: 1fr 1fr; } }
.service {
  background: var(--weiss); border: 1px solid var(--linie);
  border-radius: var(--r-md); padding: clamp(1.2rem, 3vw, 1.7rem);
  display: flex; flex-direction: column; gap: 0.5rem;
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.service__icon {
  width: 40px; height: 40px; color: var(--ziegel);
  display: grid; place-items: center; margin-bottom: 0.3rem;
}
.service__icon svg { width: 30px; height: 30px; }
.service h3 { margin: 0; }
.service .benefit { color: var(--tinte); font-weight: 600; margin: 0.2rem 0 0; }
.service p { color: var(--grau-text); margin: 0; }
.service__foot { margin-top: auto; padding-top: 0.6rem; }

/* Vertrauens-/Qualifikationsblock */
.trust { display: grid; gap: 1rem; }
@media (min-width: 680px) { .trust { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .trust { grid-template-columns: repeat(4, 1fr); } }
.trust__item {
  padding: 1.3rem 1.25rem;
  border: 1px solid rgba(250,248,244,0.16);
  border-radius: var(--r-md);
  background: rgba(250,248,244,0.03);
}
.trust__item h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.trust__item p { font-size: var(--fs-sm); color: rgba(250,248,244,0.72); margin: 0; }
.trust__icon { color: var(--ziegel); width: 26px; height: 26px; margin-bottom: 0.7rem; }
.trust__icon svg { width: 26px; height: 26px; }

/* Zitat / persönlicher Ton */
.quote {
  border-left: 3px solid var(--ziegel);
  padding-left: clamp(1rem, 3vw, 1.6rem);
  max-width: 46ch;
}
.quote p { font-family: var(--font-serif); font-size: var(--fs-h3); line-height: 1.4; color: var(--tinte); }
.quote cite { font-style: normal; font-size: var(--fs-sm); color: var(--stein); display: block; margin-top: 0.6rem; }

/* Team-Grid (erweiterbar) */
.team { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.member { }
.member__photo {
  aspect-ratio: 1 / 1; border-radius: var(--r-md); overflow: hidden;
  background: var(--papier-2); border: 1px solid var(--linie);
  display: grid; place-items: center;
}
.member__photo img { width: 100%; height: 100%; object-fit: cover; }
.member__ph { color: var(--stein); font-size: var(--fs-xs); text-align: center; padding: 1rem; }
.member h3 { margin: 0.8rem 0 0.1rem; font-size: 1.1rem; }
.member .role { color: var(--ziegel); font-size: var(--fs-sm); font-weight: 600; }
.member p { color: var(--grau-text); font-size: var(--fs-sm); margin-top: 0.4rem; }

/* FAQ Accordion */
.faq { max-width: 780px; }
.faq__item { border-bottom: 1px solid var(--linie); }
.faq__q {
  width: 100%; text-align: left; background: none; border: 0;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.15rem 0.2rem;
  font-family: var(--font-serif); font-size: var(--fs-h3); font-weight: 600; color: var(--tinte);
}
.faq__q .plus { flex: none; width: 20px; height: 20px; position: relative; color: var(--ziegel); }
.faq__q .plus::before, .faq__q .plus::after {
  content: ""; position: absolute; background: currentColor; border-radius: 2px;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.faq__q .plus::before { width: 16px; height: 2px; }
.faq__q .plus::after { width: 2px; height: 16px; transition: transform 0.25s var(--ease); }
.faq__q[aria-expanded="true"] .plus::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq__a { overflow: hidden; height: 0; transition: height 0.3s var(--ease); }
.faq__a-inner { padding: 0 0.2rem 1.3rem; color: var(--grau-text); }
.faq__a-inner p { margin-top: 0; }

/* Kontakt-Angaben */
.contact-grid { display: grid; gap: clamp(1.75rem, 4vw, 3rem); }
@media (min-width: 860px) { .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.info-list li { display: grid; grid-template-columns: 28px 1fr; gap: 0.8rem; align-items: start; }
.info-list .ico { color: var(--ziegel); width: 22px; height: 22px; margin-top: 3px; }
.info-list .ico svg { width: 22px; height: 22px; }
.info-list .k { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.1em; color: var(--stein); display: block; }
.info-list a { text-decoration: none; }
.info-list a:hover { color: var(--ziegel-dark); }

/* CTA-Band */
.ctaband { background: var(--tinte); color: var(--papier); }
.ctaband .wrap { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 800px) { .ctaband .wrap { grid-template-columns: 1.4fr 1fr; } }
.ctaband h2 { color: var(--papier); margin-bottom: 0.3rem; }
.ctaband p { color: rgba(250,248,244,0.78); margin: 0; }
.ctaband__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: flex-start; }
@media (min-width: 800px) { .ctaband__actions { justify-content: flex-end; } }

/* ---------- 8) Formular ------------------------------------- */
.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: var(--fs-sm); font-weight: 600; color: var(--tinte); }
.field .req { color: var(--ziegel); }
.field input, .field textarea, .field select {
  font: inherit; color: var(--tinte);
  background: var(--weiss);
  border: 1px solid var(--linie); border-radius: var(--r-sm);
  padding: 0.7rem 0.8rem; width: 100%;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: #a49c90; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--ziegel);
  box-shadow: 0 0 0 3px rgba(180,71,31,0.14);
}
.field--row { display: grid; gap: 1.1rem; }
@media (min-width: 560px) { .field--row { grid-template-columns: 1fr 1fr; } }
.field .hint { font-size: var(--fs-xs); color: var(--stein); }
.field .error { font-size: var(--fs-xs); color: var(--ziegel-dark); min-height: 1em; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--ziegel-dark); }
.checkbox { display: grid; grid-template-columns: 22px 1fr; gap: 0.6rem; align-items: start; }
.checkbox input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ziegel); }
.checkbox label { font-weight: 400; color: var(--grau-text); font-size: var(--fs-sm); }
.form__status { font-size: var(--fs-sm); border-radius: var(--r-sm); padding: 0.8rem 1rem; display: none; }
.form__status.is-ok { display: block; background: rgba(75,110,60,0.12); color: #3c5730; border: 1px solid rgba(75,110,60,0.3); }
.form__status.is-err { display: block; background: rgba(180,71,31,0.1); color: var(--ziegel-dark); border: 1px solid rgba(180,71,31,0.3); }

/* ---------- 9) Cookie-Consent + Karte ----------------------- */
.cookie {
  position: fixed; left: 50%; bottom: 1rem; transform: translateX(-50%) translateY(140%);
  width: min(680px, calc(100vw - 2rem));
  background: var(--weiss); color: var(--tinte);
  border: 1px solid var(--linie); border-radius: var(--r-md);
  box-shadow: var(--shadow-2);
  padding: 1.1rem 1.25rem; z-index: 150;
  transition: transform 0.4s var(--ease);
}
.cookie.is-visible { transform: translateX(-50%) translateY(0); }
.cookie p { margin: 0 0 0.9rem; font-size: var(--fs-sm); color: var(--grau-text); max-width: none; }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }

.map-consent {
  border: 1px solid var(--linie); border-radius: var(--r-md);
  background: var(--papier-2);
  aspect-ratio: 16 / 10; display: grid; place-items: center; text-align: center;
  padding: 1.5rem; position: relative; overflow: hidden;
}
.map-consent__inner { max-width: 36ch; }
.map-consent__inner p { font-size: var(--fs-sm); color: var(--grau-text); margin: 0.5rem 0 1rem; }
.map-embed { border: 0; width: 100%; aspect-ratio: 16 / 10; border-radius: var(--r-md); display: block; }

/* ---------- 10) Footer -------------------------------------- */
.site-footer { background: var(--tinte); color: rgba(250,248,244,0.8); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h4 { color: var(--papier); font-family: var(--font-sans); font-size: var(--fs-xs); letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 1rem; }
.site-footer a { color: rgba(250,248,244,0.8); text-decoration: none; }
.site-footer a:hover { color: var(--papier); }
.footer-brand img { height: 64px; width: auto; margin-bottom: 1rem; }
.footer-brand p { color: rgba(250,248,244,0.6); font-size: var(--fs-sm); max-width: 34ch; }
.footer-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(250,248,244,0.14);
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; justify-content: space-between; align-items: center;
  font-size: var(--fs-xs); color: rgba(250,248,244,0.55);
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; }
.footer-bottom .claim { font-family: var(--font-serif); font-style: italic; color: rgba(250,248,244,0.7); }

/* Checkliste (Leistungsseiten) */
.checklist { list-style: none; margin: 1.1rem 0 1.5rem; padding: 0; display: grid; gap: 0.6rem; }
.checklist li { position: relative; padding-left: 1.9rem; color: var(--grau-text); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 0.2em; width: 20px; height: 20px; border-radius: 50%; background: rgba(180,71,31,0.12); }
.checklist li::after { content: ""; position: absolute; left: 6px; top: 0.42em; width: 7px; height: 4px; border-left: 2px solid var(--ziegel); border-bottom: 2px solid var(--ziegel); transform: rotate(-45deg); }

/* Überblick-Karten mit "Mehr erfahren" */
.pillar__foot .arrow { transition: transform 0.2s var(--ease); }
.pillar a.card-more { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--ziegel); font-weight: 600; text-decoration: none; }
.pillar a.card-more:hover { color: var(--ziegel-dark); }
.pillar a.card-more:hover .arrow { transform: translateX(3px); }

/* Leistungsseite: kompakte Kopfzeile mit Meta */
.leistung-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; margin-top: 1rem; font-size: var(--fs-sm); color: var(--stein); }
.leistung-meta .dot { color: var(--linie); }

/* Legal / Prosa */
.legal { max-width: 760px; }
.legal h2 { margin-top: 2.4rem; font-size: var(--fs-h3); }
.legal h3 { margin-top: 1.5rem; font-size: 1.02rem; }
.legal p, .legal li { color: var(--grau-text); }
.legal a { color: var(--ziegel); }
.legal address { font-style: normal; color: var(--tinte); margin-bottom: 1rem; }
.legal ul { padding-left: 1.15rem; display: grid; gap: 0.3rem; }
.legal .updated { font-size: var(--fs-xs); color: var(--stein); margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid var(--linie); }

/* ---------- 11) Utilities ----------------------------------- */
.stack > * + * { margin-top: 1rem; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.text-muted { color: var(--grau-text); }
.benefit { color: var(--tinte); font-weight: 600; }
.benefit--lead { font-size: var(--fs-lead); line-height: 1.5; }
.ph {
  color: var(--stein); font-size: 0.72rem; border: 1px dashed var(--linie);
  border-radius: 999px; padding: 1px 7px; margin-left: 0.35rem; white-space: nowrap;
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- 12) Motion / Reveal ----------------------------- */
/* Nur mit aktivem JS wird der Ausgangszustand versteckt, damit Inhalte
   ohne JavaScript immer sichtbar bleiben (Progressive Enhancement). */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
html.js .reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.07s; }
.reveal[data-delay="2"] { transition-delay: 0.14s; }
.reveal[data-delay="3"] { transition-delay: 0.21s; }

/* ---- Mobile-Hero: Video als sichtbarer Block, Text + Buttons darunter ---- */
@media (max-width: 760px) {
  .hero {
    min-height: 0; display: block;
    padding-top: calc(var(--header-h) + 52px);
  }
  .hero__media {
    position: relative; inset: auto; z-index: 0;
    width: 100%; aspect-ratio: 16 / 11; overflow: hidden;
  }
  .hero__media video, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .hero__scrim { display: none; }
  .hero__inner { max-width: none; width: 100%; color: var(--tinte); padding-block: 1.5rem 2.2rem; }
  .hero__eyebrow { color: var(--stein); }
  .hero h1 { color: var(--tinte); text-shadow: none; font-size: clamp(1.9rem, 7.5vw, 2.5rem); }
  .hero__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
  .hero__actions .btn { flex: 1 1 auto; justify-content: center; }
  .hero__actions .btn--ghost-ink { background: transparent; border-color: var(--linie); color: var(--tinte); }
  .hero__actions .btn--ghost-ink:hover { border-color: var(--stein); background: var(--papier-2); }
}

/* ---------- 12b) Hero-Einblendung beim Laden ---------------- */
@keyframes heroIn {
  from { opacity: 0; transform: translateX(-32px); }
  to   { opacity: 1; transform: translateX(0); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero__eyebrow,
  .hero h1,
  .hero__actions {
    opacity: 0;
    animation: heroIn 0.9s var(--ease) both;
  }
  .hero__eyebrow  { animation-delay: 0.20s; }
  .hero h1        { animation-delay: 0.42s; }
  .hero__actions  { animation-delay: 0.72s; }
}

/* ---------- 13) Reduced Motion ------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
