/* ==========================================================================
   Hausverwaltung Carl-Philipp Erk – Stylesheet
   1  Design-Tokens          4  Buttons & Links        7  Sektionen
   2  Reset & Basis          5  Header & Navigation    8  Formular
   3  Layout-Hilfen          6  Hero                   9  Footer & Utilities
   ========================================================================== */

/* 1 ---------------------------------------------------------- Design-Tokens */
:root {
  /* Farben */
  --gruen-900: #0E3326;
  --gruen-800: #14402F;
  --gruen-700: #1A5540;
  --gruen-600: #22704F;
  --gruen-500: #2E8B63;
  --gruen-100: #DCEAE1;
  --gruen-050: #EEF4EF;

  --kupfer: #8F5A28;            /* Text auf hell 5,5:1 · Weiß darauf 5,7:1 */
  --kupfer-tief: #7F4F24;       /* Hover der Kupfer-Buttons */
  --kupfer-hell: #C79257;       /* rein dekorativ */
  --kupfer-auf-gruen: #E0B483;  /* Text/Akzent auf dunkelgrünem Grund 6,1:1 */

  --sand-050: #FBF9F5;
  --sand-100: #F5F1E9;
  --sand-200: #ECE6DA;

  --tinte: #16211D;
  --tinte-70: #4A5852;
  --tinte-50: #5B6862;          /* 5,2:1 auf --sand-100 */
  --linie: rgba(20, 64, 47, .14);
  --linie-feld: #5F6C66;        /* Eingabefelder, WCAG 1.4.11: 5,2:1 */
  --weiss: #fff;

  /* Typografie */
  --serif: 'Source Serif 4', 'Iowan Old Style', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --fs-xs: .78rem;
  --fs-sm: .9rem;
  --fs-base: clamp(1rem, .97rem + .14vw, 1.075rem);
  --fs-lg: clamp(1.1rem, 1.04rem + .3vw, 1.3rem);
  --fs-h4: clamp(1.15rem, 1.08rem + .34vw, 1.4rem);
  --fs-h3: clamp(1.35rem, 1.22rem + .6vw, 1.75rem);
  --fs-h2: clamp(1.75rem, 1.47rem + 1.3vw, 2.7rem);
  --fs-h1: clamp(2.3rem, 1.75rem + 2.6vw, 4.1rem);

  /* Maße */
  --wrap: 1200px;
  --wrap-schmal: 760px;
  --radius: 14px;
  --radius-lg: 22px;
  --spalte: clamp(1.25rem, 4vw, 2.5rem);
  --block: clamp(3.75rem, 7vw, 7rem);

  --schatten-s: 0 1px 2px rgba(14, 51, 38, .06), 0 4px 12px rgba(14, 51, 38, .05);
  --schatten-m: 0 2px 6px rgba(14, 51, 38, .07), 0 18px 40px -16px rgba(14, 51, 38, .22);
  --schatten-l: 0 30px 70px -30px rgba(14, 51, 38, .4);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* 2 ------------------------------------------------------------ Reset/Basis */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  font-family: var(--sans);
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: 1.65;
  color: var(--tinte);
  background: var(--sand-050);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.015em;
  color: var(--gruen-900);
  text-wrap: balance;
}
h1, h2, h3, h4 { overflow-wrap: break-word; }
/* Lange deutsche Komposita in schmalen Spalten trennen */
.karte h3, .leistung__text h3, .schritt h3, .kontaktkachel strong, .liste-strich strong,
.faq summary { hyphens: auto; -webkit-hyphens: auto; }
h1 { font-size: var(--fs-h1); letter-spacing: -.028em; }
h2 { font-size: var(--fs-h2); letter-spacing: -.022em; }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

p { text-wrap: pretty; }
a { color: inherit; }
strong { font-weight: 600; }
ul, ol { padding: 0; margin: 0; list-style: none; }

::selection { background: var(--gruen-500); color: #fff; }

:focus-visible {
  outline: 3px solid var(--kupfer);
  outline-offset: 3px;
  border-radius: 4px;
}
/* Auf dunklen Flächen wäre das dunkle Kupfer zu kontrastarm */
.hero :focus-visible,
.abschnitt--gruen :focus-visible,
.cta-band :focus-visible,
.footer :focus-visible,
.mobil-nav :focus-visible,
.header:not(.header--fest):not(.ist-gescrollt) :focus-visible {
  outline-color: var(--kupfer-auf-gruen);
}

.skip-link {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -140%);
  z-index: 300; background: var(--gruen-800); color: #fff;
  padding: .75rem 1.25rem; border-radius: 0 0 10px 10px; font-weight: 500;
  transition: transform .2s var(--ease);
}
.skip-link:focus-visible { transform: translate(-50%, 0); }

/* 3 ----------------------------------------------------------- Layout-Hilfen */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--spalte); }

/* Grid-Kinder behalten sonst ihre automatische Mindestbreite (min-content) und
   sprengen bei langen Komposita den Viewport. */
.hero > *, .fliess > *, .faq > *, .form__reihe > *, .gitter > * { min-width: 0; }
.wrap--schmal { max-width: var(--wrap-schmal); }

.abschnitt { padding-block: var(--block); }
.abschnitt--sand { background: var(--sand-100); }
.abschnitt--gruen { background: var(--gruen-800); color: rgba(255, 255, 255, .85); }
.abschnitt--gruen h2, .abschnitt--gruen h3, .abschnitt--gruen h4 { color: #fff; }

.kopf { max-width: 46rem; margin-bottom: clamp(2.25rem, 4vw, 3.5rem); }
.kopf--zentriert { margin-inline: auto; text-align: center; }
.kopf p { margin-top: 1rem; font-size: var(--fs-lg); color: var(--tinte-70); }
.abschnitt--gruen .kopf p { color: rgba(255, 255, 255, .72); }

.auge {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--sans); font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--kupfer);
  margin-bottom: 1.1rem;
}
.auge::before { content: ""; width: 1.75rem; height: 1px; background: currentColor; }
.abschnitt--gruen .auge, .hero .auge, .cta-band .auge { color: var(--kupfer-auf-gruen); }

.gitter { display: grid; gap: clamp(1.25rem, 2.4vw, 2rem); }
.gitter--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.gitter--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.gitter--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }

.fliess { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 62em) {
  .fliess { grid-template-columns: 1fr 1fr; }
  .fliess--bild-links > :first-child { order: 2; }
  .fliess--schmal { grid-template-columns: 1.05fr .95fr; }
}
.fliess__text > * + * { margin-top: 1.1rem; }
.fliess__text ul { margin-top: 1.5rem; }

.bild { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--sand-200); }
.bild img { width: 100%; height: 100%; object-fit: cover; }
.bild--hoch { aspect-ratio: 4 / 5; }
.bild--quer { aspect-ratio: 4 / 3; }
.bild--band { aspect-ratio: 21 / 9; border-radius: 0; }
.bild::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(14, 51, 38, .09); pointer-events: none;
}
.bild--versetzt { box-shadow: var(--schatten-m); }

.quelle { margin-top: .9rem; font-size: var(--fs-xs); color: var(--tinte-50); }

/* 4 ----------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.6rem; border: 1px solid transparent; border-radius: 100px;
  font-family: var(--sans); font-size: var(--fs-sm); font-weight: 600;
  letter-spacing: .01em; text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn svg { width: 1.05em; height: 1.05em; flex: none; transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(0); }

.btn--primaer { background: var(--gruen-700); color: #fff; box-shadow: var(--schatten-s); }
.btn--primaer:hover { background: var(--gruen-800); box-shadow: var(--schatten-m); }

.btn--kupfer { background: var(--kupfer); color: #fff; box-shadow: var(--schatten-s); }
.btn--kupfer:hover { background: var(--kupfer-tief); box-shadow: var(--schatten-m); }

.btn--linie { border-color: var(--linie); color: var(--gruen-800); background: transparent; }
.btn--linie:hover { border-color: var(--gruen-700); background: var(--gruen-050); }

.btn--hell { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .32); color: #fff; }
.btn--hell:hover { background: #fff; color: var(--gruen-800); border-color: #fff; }

.btn--weiss { background: #fff; color: var(--gruen-800); }
.btn--weiss:hover { background: var(--gruen-050); }

.btn-reihe { display: flex; flex-wrap: wrap; gap: .85rem; }

.textlink {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; font-size: var(--fs-sm); color: var(--gruen-700);
  text-decoration: none; padding-bottom: 2px;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size .3s var(--ease), color .25s var(--ease);
}
.textlink svg { width: 1em; height: 1em; transition: transform .25s var(--ease); }
.textlink:hover { background-size: 100% 1px; }
.textlink:hover svg { transform: translateX(3px); }

/* 5 ------------------------------------------------------- Header/Navigation */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  padding-block: clamp(.85rem, 1.6vw, 1.15rem);
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease),
              padding .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.header .wrap { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); }

/* Über hellen Hero-Fotos hätte die Navigation sonst zu wenig Kontrast.
   Im festen bzw. gescrollten Zustand wird die Abdunkelung ausgeblendet. */
.header::before {
  content: ""; position: absolute; inset: 0 0 -2.5rem; z-index: -1; pointer-events: none;
  background: linear-gradient(rgba(10, 36, 27, .82), rgba(10, 36, 27, .55) 55%, rgba(10, 36, 27, 0));
  transition: opacity .35s var(--ease);
}
.header--fest::before, .header.ist-gescrollt::before { opacity: 0; }

.header--fest, .header.ist-gescrollt {
  background: rgba(251, 249, 245, .93);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom-color: var(--linie);
}
.header.ist-gescrollt { padding-block: .7rem; }

.logo { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: #fff; }
.header--fest .logo, .header.ist-gescrollt .logo { color: var(--gruen-800); }
.logo__mark { width: 2.4rem; height: 2.4rem; flex: none; }
.logo__text { display: grid; line-height: 1.1; }
.logo__name { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; letter-spacing: -.01em; }
.logo__sub {
  font-size: .62rem; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; opacity: .72;
}

.nav { display: none; margin-left: auto; gap: clamp(1rem, 2.2vw, 2rem); }
@media (min-width: 66em) { .nav { display: flex; align-items: center; } }
.nav__link {
  position: relative; font-size: var(--fs-sm); font-weight: 500;
  color: rgba(255, 255, 255, .88); text-decoration: none; padding-block: .35rem; white-space: nowrap;
  transition: color .25s var(--ease);
}
.header--fest .nav__link, .header.ist-gescrollt .nav__link { color: var(--tinte-70); }
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link:hover, .nav__link[aria-current="page"] { color: #fff; }
.header--fest .nav__link:hover, .header--fest .nav__link[aria-current="page"],
.header.ist-gescrollt .nav__link:hover, .header.ist-gescrollt .nav__link[aria-current="page"] { color: var(--gruen-800); }

.header__cta { display: none; margin-left: auto; }
@media (min-width: 66em) { .header__cta { display: block; margin-left: 0; } }
@media (max-width: 65.99em) { .nav + .header__cta { margin-left: auto; } }

.burger {
  margin-left: auto; flex: none; width: 2.9rem; height: 2.9rem; display: grid; place-items: center;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%; cursor: pointer; color: #fff;
}
.header--fest .burger, .header.ist-gescrollt .burger {
  background: var(--gruen-050); border-color: var(--linie); color: var(--gruen-800);
}
@media (min-width: 66em) { .burger { display: none; } }
.burger__box { display: grid; gap: 4px; width: 18px; }
.burger__box span { height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] .burger__box span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__box span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__box span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.mobil-nav {
  position: fixed; inset: 0; z-index: 99; display: flex; flex-direction: column;
  justify-content: center; gap: 2rem; padding: 6rem var(--spalte) 2.5rem;
  background: var(--gruen-800); color: #fff;
  opacity: 0; visibility: hidden; transform: translateY(-1.5rem);
  /* visibility erst nach dem Ausblenden umschalten, beim Öffnen dagegen sofort –
     sonst lässt sich der Fokus beim Öffnen noch nicht ins Menü setzen. */
  transition: opacity .3s var(--ease), transform .4s var(--ease), visibility 0s .3s;
}
.mobil-nav.ist-offen {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .3s var(--ease), transform .4s var(--ease), visibility 0s 0s;
}
.mobil-nav__liste { display: grid; gap: .25rem; }
.mobil-nav__liste a {
  display: flex; align-items: baseline; gap: 1rem; padding: .7rem 0;
  font-family: var(--serif); font-size: clamp(1.5rem, 7vw, 2.1rem); font-weight: 500;
  color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.mobil-nav__liste i {
  font-style: normal; font-family: var(--sans); font-size: .7rem; font-weight: 600;
  letter-spacing: .1em; color: var(--kupfer-auf-gruen);
}
.mobil-nav__fuss { display: grid; gap: .9rem; }
.mobil-nav__tel {
  display: grid; text-decoration: none; color: #fff;
  padding: .9rem 1.2rem; border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--radius);
}
.mobil-nav__tel span { font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; opacity: .62; }
.mobil-nav__tel strong { font-size: 1.15rem; font-weight: 600; }
body.nav-offen { overflow: hidden; }

/* 6 -------------------------------------------------------------------- Hero */
.hero { position: relative; display: grid; align-items: end; min-height: min(92svh, 56rem); isolation: isolate; }
.hero--klein { min-height: min(62svh, 34rem); }
.hero__bild { position: absolute; inset: 0; z-index: -2; }
.hero__bild img { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(10, 36, 27, .94) 0%, rgba(11, 40, 30, .72) 38%, rgba(12, 44, 33, .36) 68%, rgba(14, 51, 38, .5) 100%),
    linear-gradient(to right, rgba(10, 36, 27, .6), transparent 65%);
}
.hero__inhalt { padding-block: clamp(6.5rem, 10vw, 8rem) clamp(2.75rem, 6vw, 4.5rem); color: #fff; max-width: 56rem; }
.hero h1 { color: #fff; }
.hero__sub {
  margin-top: 1.5rem; max-width: 40rem;
  font-size: clamp(1.05rem, .98rem + .45vw, 1.35rem);
  color: rgba(255, 255, 255, .84);
  overflow-wrap: anywhere; hyphens: auto;
}
.hero .btn-reihe { margin-top: 2.25rem; }
.hero__marken {
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 2.75rem;
  padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .18);
  font-size: var(--fs-sm); color: rgba(255, 255, 255, .72);
}
.hero__marken li { display: flex; align-items: center; gap: .5rem; }
.hero__marken svg { width: 1.05rem; height: 1.05rem; color: var(--kupfer-auf-gruen); flex: none; }

/* 7 --------------------------------------------------------------- Sektionen */

/* Karten */
.karte {
  position: relative; display: flex; flex-direction: column; gap: .85rem;
  padding: clamp(1.5rem, 2.6vw, 2.1rem); background: #fff;
  border: 1px solid var(--linie); border-radius: var(--radius-lg);
  box-shadow: var(--schatten-s);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.karte p { color: var(--tinte-70); }
.karte__icon {
  display: grid; place-items: center; width: 3.1rem; height: 3.1rem; margin-bottom: .35rem;
  border-radius: 14px; background: var(--gruen-050); color: var(--gruen-700);
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
.karte__icon svg { width: 1.5rem; height: 1.5rem; }
.karte--verlinkt:hover { transform: translateY(-4px); box-shadow: var(--schatten-m); border-color: rgba(20, 64, 47, .22); }
.karte--verlinkt:hover .karte__icon { background: var(--gruen-700); color: #fff; }
.karte__nr {
  font-family: var(--serif); font-size: 2.4rem; font-weight: 300; line-height: 1;
  color: var(--kupfer); opacity: .55;
}
.karte .textlink { margin-top: auto; padding-top: .5rem; }
.karte--flach { background: transparent; border: 0; box-shadow: none; padding: 0; }

/* Leistungskarten mit Bild */
.leistung {
  display: flex; flex-direction: column; overflow: hidden; text-decoration: none;
  background: #fff; border: 1px solid var(--linie); border-radius: var(--radius-lg);
  box-shadow: var(--schatten-s);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.leistung:hover { transform: translateY(-5px); box-shadow: var(--schatten-m); }
.leistung__bild { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand-200); }
.leistung__bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.leistung:hover .leistung__bild img { transform: scale(1.05); }
.leistung__text { display: flex; flex-direction: column; gap: .7rem; padding: clamp(1.35rem, 2.2vw, 1.85rem); flex: 1; }
.leistung__text p { color: var(--tinte-70); font-size: var(--fs-sm); }
.leistung__text .textlink { margin-top: auto; padding-top: .4rem; }

/* Listen mit Haken */
.haken { display: grid; gap: .8rem; }
.haken li { position: relative; padding-left: 2rem; color: var(--tinte-70); }
.haken li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 1.15rem; height: 1.15rem;
  border-radius: 50%; background: var(--gruen-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A5540' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 13 4.5 4.5L19 7'/%3E%3C/svg%3E") center / .72rem no-repeat;
}
.abschnitt--gruen .haken li { color: rgba(255, 255, 255, .8); }
.abschnitt--gruen .haken li::before { background-color: rgba(255, 255, 255, .16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 13 4.5 4.5L19 7'/%3E%3C/svg%3E"); }

.liste-strich { display: grid; }
.liste-strich li { padding-block: 1.1rem; border-top: 1px solid var(--linie); display: grid; gap: .35rem; }
.liste-strich li:last-child { border-bottom: 1px solid var(--linie); }
.liste-strich strong { font-family: var(--serif); font-size: var(--fs-h4); font-weight: 600; color: var(--gruen-900); }
.liste-strich span { color: var(--tinte-70); font-size: var(--fs-sm); }

/* Ablauf-Schritte */
.schritte { counter-reset: schritt; display: grid; gap: clamp(1.25rem, 2.4vw, 1.75rem); }
@media (min-width: 48em) { .schritte { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 72em) { .schritte { grid-template-columns: repeat(4, 1fr); } }
.schritt { position: relative; padding-top: 2.4rem; }
.schritt::before {
  counter-increment: schritt; content: counter(schritt, decimal-leading-zero);
  position: absolute; top: 0; left: 0;
  font-family: var(--sans); font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: .18em; color: var(--kupfer);
}
.schritt::after {
  content: ""; position: absolute; top: .55rem; left: 2.4rem; right: 0; height: 1px;
  background: var(--linie);
}
.schritt h3 { font-size: var(--fs-h4); margin-bottom: .55rem; }
.schritt p { color: var(--tinte-70); font-size: var(--fs-sm); }
.abschnitt--gruen .schritt p { color: rgba(255, 255, 255, .72); }
.abschnitt--gruen .schritt::before { color: var(--kupfer-auf-gruen); }
.abschnitt--gruen .schritt::after { background: rgba(255, 255, 255, .2); }

/* Kennzahlen / Fakten */
.fakten { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }
.fakt { display: grid; gap: .3rem; }
.fakt strong { font-family: var(--serif); font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.9rem); font-weight: 500; line-height: 1; color: var(--gruen-800); }
.fakt span { font-size: var(--fs-sm); color: var(--tinte-70); }
.abschnitt--gruen .fakt strong { color: #fff; }
.abschnitt--gruen .fakt span { color: rgba(255, 255, 255, .7); }

/* Zitat */
.zitat { max-width: 44rem; }
.zitat blockquote {
  font-family: var(--serif); font-size: clamp(1.3rem, 1.1rem + .9vw, 1.95rem);
  line-height: 1.35; font-weight: 400; letter-spacing: -.015em; color: var(--gruen-900);
}
.abschnitt--gruen .zitat blockquote { color: #fff; }
.zitat figcaption { margin-top: 1.5rem; font-size: var(--fs-sm); color: var(--tinte-50); }
.abschnitt--gruen .zitat figcaption { color: rgba(255, 255, 255, .62); }

/* Ortsliste */
.orte { display: flex; flex-wrap: wrap; gap: .55rem; }
.orte li {
  padding: .4rem .95rem; border: 1px solid var(--linie); border-radius: 100px;
  font-size: var(--fs-sm); color: var(--tinte-70); background: #fff;
}
.abschnitt--gruen .orte li { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); color: rgba(255, 255, 255, .85); }

/* FAQ */
.faq { display: grid; max-width: 54rem; }
.faq details {
  border-top: 1px solid var(--linie);
  transition: background-color .3s var(--ease);
}
.faq details:last-of-type { border-bottom: 1px solid var(--linie); }
.faq summary {
  display: flex; align-items: flex-start; gap: 1.25rem; justify-content: space-between;
  padding: 1.35rem .25rem; cursor: pointer; list-style: none;
  font-family: var(--serif); font-size: var(--fs-h4); font-weight: 600; color: var(--gruen-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary { overflow-wrap: anywhere; }
.faq summary::after {
  content: ""; flex: none; width: 1.5rem; height: 1.5rem; margin-top: .15rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A5540' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .35s var(--ease);
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq__antwort { padding: 0 .25rem 1.5rem; max-width: 46rem; color: var(--tinte-70); }
.faq__antwort > * + * { margin-top: .8rem; }

/* Kontaktkacheln */
.kontaktkachel {
  display: grid; gap: .45rem; padding: clamp(1.3rem, 2.2vw, 1.75rem);
  background: #fff; border: 1px solid var(--linie); border-radius: var(--radius-lg);
  text-decoration: none; box-shadow: var(--schatten-s);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
a.kontaktkachel:hover { transform: translateY(-3px); box-shadow: var(--schatten-m); }
.kontaktkachel span { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--kupfer); }
.kontaktkachel strong { font-family: var(--serif); font-size: var(--fs-h4); font-weight: 600; color: var(--gruen-900); }
.kontaktkachel small { font-size: var(--fs-sm); color: var(--tinte-50); line-height: 1.5; }

/* Hinweisbox */
.hinweis {
  display: grid; gap: .6rem; padding: clamp(1.25rem, 2.2vw, 1.75rem);
  background: var(--gruen-050); border-left: 3px solid var(--gruen-600);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.hinweis strong { font-family: var(--serif); font-size: var(--fs-h4); color: var(--gruen-900); }
.hinweis p { color: var(--tinte-70); font-size: var(--fs-sm); }

/* Rechtstexte */
.rechtstext { max-width: 48rem; }
.rechtstext h2 { font-size: var(--fs-h3); margin-top: 2.75rem; }
.rechtstext h2:first-of-type { margin-top: 0; }
.rechtstext h3 { font-size: var(--fs-h4); margin-top: 1.75rem; }
.rechtstext p, .rechtstext ul { margin-top: .9rem; color: var(--tinte-70); }
.rechtstext ul { display: grid; gap: .45rem; padding-left: 1.2rem; list-style: disc; }
.rechtstext a { color: var(--gruen-700); text-underline-offset: 3px; }
.rechtstext address { font-style: normal; margin-top: .9rem; color: var(--tinte-70); }

/* 8 ---------------------------------------------------------------- Formular */
.formular-karte {
  padding: clamp(1.5rem, 3vw, 2.75rem); background: #fff;
  border: 1px solid var(--linie); border-radius: var(--radius-lg); box-shadow: var(--schatten-m);
}
.form { display: grid; gap: 1.1rem; }
.form__reihe { display: grid; gap: 1.1rem; }
@media (min-width: 40em) { .form__reihe { grid-template-columns: 1fr 1fr; } }
.feld { display: grid; gap: .4rem; }
.feld label { font-size: var(--fs-sm); font-weight: 600; color: var(--gruen-900); }
.feld input, .feld select, .feld textarea {
  width: 100%; padding: .85rem 1rem; font: inherit; font-size: var(--fs-sm); color: var(--tinte);
  background: var(--sand-050); border: 1px solid var(--linie-feld); border-radius: 10px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.feld textarea { resize: vertical; min-height: 7.5rem; }
.feld select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A5852' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 1.1rem; padding-right: 2.75rem; }
.feld input:focus, .feld select:focus, .feld textarea:focus {
  outline: none; background: #fff; border-color: var(--gruen-600);
  box-shadow: 0 0 0 3px rgba(46, 139, 99, .16);
}
.feld input:user-invalid, .feld select:user-invalid, .feld textarea:user-invalid {
  border-color: #B4472F; box-shadow: 0 0 0 3px rgba(180, 71, 47, .12);
}
.feld__hinweis { font-size: var(--fs-xs); color: var(--tinte-50); }

.einwilligung { display: flex; gap: .8rem; align-items: flex-start; }
.einwilligung input { flex: none; width: 1.2rem; height: 1.2rem; margin-top: .25rem; accent-color: var(--gruen-700); }
.einwilligung label { font-size: var(--fs-xs); line-height: 1.6; color: var(--tinte-70); font-weight: 400; }
.einwilligung a { color: var(--gruen-700); }

.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__fuss { font-size: var(--fs-xs); color: var(--tinte-50); }
/* Die Live-Region steht immer im DOM (sonst kündigen Screenreader den erst
   eingeblendeten Text nicht zuverlässig an) und verschwindet nur, solange sie
   leer ist. */
.form-status {
  padding: .9rem 1.1rem; border-radius: 10px; font-size: var(--fs-sm);
}
.form-status:empty { display: none; padding: 0; border: 0; }
.form-status--ok { background: var(--gruen-050); color: var(--gruen-800); border: 1px solid var(--gruen-100); }
.form-status--fehler { background: #FBEDE9; color: #8E3620; border: 1px solid #F0CFC5; }

/* 9 ------------------------------------------------------ Footer & Utilities */
.cta-band { position: relative; isolation: isolate; overflow: hidden; background: var(--gruen-800); color: #fff; }
.cta-band__inhalt { padding-block: var(--block); display: grid; gap: 2rem; align-items: center; }
@media (min-width: 60em) { .cta-band__inhalt { grid-template-columns: 1.3fr .7fr; } }
.cta-band h2 { color: #fff; }
.cta-band p { margin-top: 1rem; color: rgba(255, 255, 255, .75); max-width: 38rem; }
.cta-band__aktion { display: grid; gap: .85rem; justify-items: start; }
@media (min-width: 60em) { .cta-band__aktion { justify-items: end; } }

.footer { background: var(--gruen-900); color: rgba(255, 255, 255, .68); padding-block: clamp(3rem, 5vw, 4.5rem) 1.75rem; }
.footer a { text-decoration: none; transition: color .2s var(--ease); }
.footer a:hover { color: #fff; }
.footer__oben { display: grid; gap: 2.5rem; padding-bottom: 2.75rem; }
@media (min-width: 56em) { .footer__oben { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 3rem; } }
.footer__marke .logo { color: #fff; margin-bottom: 1.1rem; }
.footer__marke p { font-size: var(--fs-sm); max-width: 24rem; }
.footer h4 {
  font-family: var(--sans); font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .5);
  margin-bottom: 1.1rem;
}
.footer ul { display: grid; gap: .6rem; font-size: var(--fs-sm); }
.footer__unten {
  display: flex; flex-wrap: wrap; gap: .75rem 1.75rem; justify-content: space-between;
  padding-top: 1.75rem; border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: var(--fs-xs); color: rgba(255, 255, 255, .5);
}
.footer__recht { display: flex; gap: 1.25rem; }

/* Reveal-Animation */
/* Die Einblendung greift nur, wenn JavaScript läuft (html.js wird im <head>
   gesetzt). Ohne JavaScript bleibt der Inhalt sichtbar statt auf opacity 0. */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.ist-sichtbar { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .09s; }
.reveal[data-delay="2"] { transition-delay: .18s; }
.reveal[data-delay="3"] { transition-delay: .27s; }

.nur-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.mt-l { margin-top: clamp(2rem, 4vw, 3rem); }
.mt-m { margin-top: 1.5rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .header, .mobil-nav, .cta-band, .hero__bild, .btn, .burger, .btn-reihe { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  /* Alles, was am Bildschirm weiß auf dunklem Grund steht, muss im Druck kippen */
  .hero, .hero::before, .abschnitt--gruen, .footer {
    background: #fff !important; color: #000 !important;
  }
  .hero__inhalt, .hero h1, .hero__sub, .hero__marken,
  .abschnitt--gruen h2, .abschnitt--gruen h3, .abschnitt--gruen h4,
  .abschnitt--gruen p, .abschnitt--gruen li, .abschnitt--gruen .kopf p,
  .abschnitt--gruen .schritt p, .abschnitt--gruen .haken li,
  .footer, .footer a, .footer h4, .footer p, .footer li {
    color: #000 !important;
  }
  .auge, .abschnitt--gruen .auge, .hero .auge, .schritt::before { color: #555 !important; }
  .footer { padding-block: 1rem; border-top: 1px solid #999; }
  .hero { min-height: 0; padding-block: 1rem; }
  .karte, .leistung, .kontaktkachel, .formular-karte { box-shadow: none; border: 1px solid #bbb; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
  .faq details { break-inside: avoid; }
  .faq .faq__antwort { display: block !important; }
}

/* Platzhalter in den Rechtstexten – vor dem Livegang ersetzen */
.luecke {
  background: #FFF4D6; color: #6B4E12; padding: .1em .4em;
  border-bottom: 2px dotted #C79257; border-radius: 3px;
  font-size: .95em;
}
