/* ==========================================================================
   Patrick Grindel Coaching – Stylesheet
   --------------------------------------------------------------------------
   1. Schriften   2. Farben & Maße   3. Grundlagen   4. Layout
   5. Kopfleiste  6. Hero            7. Sektionen    8. Bausteine
   9. Formular   10. Rechtstexte    11. Fußbereich  12. Mobil
   ========================================================================== */

/* 1. Schriften (lokal, keine Verbindung zu Dritten) ---------------------- */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-display-var.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-display-italic-var.woff2") format("woff2");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}

/* 2. Farben & Maße ------------------------------------------------------- */
:root {
  --gruen: #305247;          /* Markenfarbe aus dem Logo */
  --gruen-dunkel: #24403a;
  --gruen-tief: #16261f;
  --gruen-hauch: #e6ece8;
  --creme: #f5f2ea;          /* Hintergrund des Logos */
  --creme-tief: #ebe5d7;
  --sand: #9c7646;           /* Akzent auf hellem Grund (Kontrast AA) */
  --sand-hell: #dcc39c;      /* Akzent auf dunklem Grund */
  --text: #1c2622;
  --text-leise: #52605a;
  --linie: #e0dace;
  --weiss: #fff;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --breite: 1160px;
  --breite-eng: 760px;
  --rand: clamp(1.25rem, 4vw, 2.5rem);
  --abstand: clamp(4.5rem, 9vw, 7.5rem);
  --radius: 18px;
  --radius-klein: 10px;
  --schatten: 0 1px 2px rgb(22 38 31 / .05), 0 12px 32px -12px rgb(22 38 31 / .18);
}

/* 3. Grundlagen ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--weiss);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--gruen); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--gruen-dunkel); }
:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 0 0 .6em;
  color: inherit;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.3rem; line-height: 1.3; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1.1em; text-wrap: pretty; }
strong { font-weight: 600; }
ul, ol { margin: 0 0 1.2em; }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--gruen); color: #fff; padding: .6rem 1rem; border-radius: 8px; }
.skip:focus { top: 1rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.klein { font-size: .9rem; color: var(--text-leise); }

/* 4. Layout -------------------------------------------------------------- */
.wrap { width: min(100% - 2 * var(--rand), var(--breite)); margin-inline: auto; }
.wrap--eng { width: min(100% - 2 * var(--rand), var(--breite-eng)); }

.split { display: grid; gap: clamp(2.5rem, 6vw, 5.5rem); grid-template-columns: 1fr 1fr; align-items: center; }
.split--oben { align-items: start; }
.split--bild { grid-template-columns: 1.15fr .85fr; }
.split--bild-links { grid-template-columns: .9fr 1.1fr; }
.split--formular { grid-template-columns: 1.35fr .9fr; }
.split > * > :last-child { margin-bottom: 0; }

/* 5. Kopfleiste ---------------------------------------------------------- */
.kopfleiste {
  position: sticky; top: 0; z-index: 50;
  background: rgb(255 255 255 / .92);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid rgb(22 38 31 / .07);
}
.kopfleiste__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 78px; }

.logo { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--text); }
.logo img { width: 52px; height: 52px; }
.logo__text { font-family: var(--serif); font-size: 1.2rem; line-height: 1.1; font-weight: 500; }
.logo__text small { display: block; font-family: var(--sans); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-leise); margin-top: .25rem; }

.nav { display: flex; align-items: center; gap: 2.2rem; }
.nav ul { display: flex; gap: 1.9rem; list-style: none; margin: 0; padding: 0; }
.nav ul a { position: relative; color: var(--text); text-decoration: none; font-size: .96rem; font-weight: 500; padding: .4rem 0; }
.nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--sand); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav ul a:hover::after, .nav ul a[aria-current="page"]::after { transform: scaleX(1); }

.burger { display: none; background: none; border: 0; padding: .6rem; margin-right: -.6rem; cursor: pointer; color: var(--text); }
.burger__linien, .burger__linien::before, .burger__linien::after { display: block; width: 24px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s ease, opacity .2s; }
.burger__linien { position: relative; }
.burger__linien::before, .burger__linien::after { content: ""; position: absolute; left: 0; }
.burger__linien::before { top: -7px; }
.burger__linien::after { top: 7px; }
.burger[aria-expanded="true"] .burger__linien { background: transparent; }
.burger[aria-expanded="true"] .burger__linien::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__linien::after { transform: translateY(-7px) rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 50px; padding: .8rem 1.6rem;
  border-radius: 999px; border: 1.5px solid transparent;
  font: 600 .95rem/1.2 var(--sans); letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--klein { min-height: 42px; padding: .55rem 1.2rem; font-size: .88rem; }
.btn--primaer { background: var(--gruen); color: #fff; }
.btn--primaer:hover { background: var(--gruen-dunkel); color: #fff; }
.btn--kontur { border-color: var(--gruen); color: var(--gruen); }
.btn--kontur:hover { background: var(--gruen); color: #fff; }
.btn--hell { background: var(--creme); color: var(--gruen-tief); }
.btn--hell:hover { background: #fff; color: var(--gruen-tief); }
.btn--geist { border-color: rgb(255 255 255 / .55); color: #fff; }
.btn--geist:hover { background: rgb(255 255 255 / .12); border-color: #fff; color: #fff; }

.aktionen { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

/* Kicker – kleine Zeile über Überschriften */
.kicker {
  display: flex; align-items: center; gap: .75rem;
  margin: 0 0 1rem;
  font: 600 .75rem/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  color: var(--sand);
}
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; flex: none; }
.kicker--hell { color: var(--sand-hell); }

/* 6. Hero ---------------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate;
  display: flex; align-items: center;
  min-height: clamp(460px, 62vh, 620px);
  padding-block: clamp(5rem, 10vw, 7rem);
  color: #fff;
  background: var(--gruen-tief);
  overflow: hidden;
}
.hero--gross { min-height: clamp(560px, calc(100svh - 78px), 820px); }
.hero__bild, .sektion__bild { position: absolute; inset: 0; z-index: -1; }
.hero__bild img, .sektion__bild img { width: 100%; height: 100%; object-fit: cover; }
.hero__bild::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 70% at 50% 50%, rgb(14 26 21 / .55), rgb(14 26 21 / .35) 100%),
    linear-gradient(0deg, rgb(14 26 21 / .45), rgb(14 26 21 / .2) 60%);
}
/* Hero zentriert – ruhiger Einstieg, kurze Zeilen */
.hero__inhalt { text-align: center; }
.hero__inhalt > * { max-width: 44rem; margin-inline: auto; }
.hero .kicker { justify-content: center; }
.hero .kicker::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.hero h1 { max-width: 20ch; margin-bottom: .55em; font-weight: 500; text-shadow: 0 2px 24px rgb(0 0 0 / .25); }
.hero--gross h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); }
.hero__text { max-width: 38rem !important; font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.7; color: rgb(255 255 255 / .9); }
.hero .aktionen { margin-top: 2.4rem; justify-content: center; }

.seitenkopf { background: var(--creme); padding: clamp(3.5rem, 8vw, 5.5rem) 0 clamp(2.5rem, 5vw, 3.5rem); border-bottom: 1px solid var(--linie); }
.seitenkopf h1 { margin: 0; font-size: clamp(2.1rem, 4.5vw, 3.2rem); }

/* 7. Sektionen ----------------------------------------------------------- */
.sektion { position: relative; isolation: isolate; padding-block: var(--abstand); }
.sektion--creme { background: var(--creme); }
.sektion--dunkel { background: var(--gruen-tief); color: #fff; }
.sektion--bild { color: #fff; background: var(--gruen-tief); overflow: hidden; }
.sektion__bild::after { content: ""; position: absolute; inset: 0; background: rgb(14 26 21 / .72); }
.sektion--dunkel .kicker, .sektion--bild .kicker { color: var(--sand-hell); }
.sektion--dunkel a:not(.btn), .sektion--bild a:not(.btn) { color: #fff; }

.kopf { margin-bottom: clamp(2rem, 4vw, 3rem); }
.kopf h2, .kopf h3 { margin-bottom: 0; }
.kopf__text { margin: 1rem 0 0; color: var(--text-leise); font-size: 1.1rem; }
.kopf--mitte { text-align: center; max-width: 42rem; margin-inline: auto; }
.kopf--mitte .kicker { justify-content: center; }
.kopf--mitte .kicker::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.split .kopf { margin-bottom: 1.6rem; }
.split p + .kopf { margin-top: 3rem; }

.lead { font-size: 1.2rem; line-height: 1.65; color: var(--text); }

/* Lesespalte auf Bild – zentriert mit kurzer Zeilenlänge */
.lesespalte { max-width: 40rem; margin-inline: auto; text-align: center; }
.lesespalte .kopf { margin-inline: auto; }
.lesespalte .kicker { justify-content: center; }
.lesespalte .kicker::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.lesespalte p { font-size: 1.12rem; color: rgb(255 255 255 / .9); }
.quelle { margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid rgb(255 255 255 / .2); font-family: var(--serif); font-style: italic; font-size: 1.05rem !important; }

/* Abschluss-Band */
.sektion--abschluss { text-align: center; padding-block: clamp(5rem, 11vw, 8.5rem); }
.sektion--abschluss .sektion__bild::after { background: linear-gradient(0deg, rgb(14 26 21 / .82), rgb(14 26 21 / .6)); }
.abschluss { max-width: 48rem; margin-inline: auto; }
.abschluss__text { font-family: var(--serif); font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.3; margin-bottom: .8em; text-wrap: balance; }
.abschluss__zeile { color: var(--sand-hell); font-size: 1.1rem; }
.abschluss .aktionen { justify-content: center; }

.persoenlich { text-align: center; }
.persoenlich p { font-size: 1.15rem; }
.persoenlich .aktionen { justify-content: center; }

/* 8. Bausteine ----------------------------------------------------------- */
.icon { width: 22px; height: 22px; flex: none; }

/* Portrait & Fotos */
.portrait { margin: 0; justify-self: end; width: 100%; max-width: 440px; position: relative; }
.portrait::before { content: ""; position: absolute; inset: 1.4rem -1.4rem -1.4rem 1.4rem; border-radius: var(--radius); background: var(--creme-tief); z-index: -1; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--schatten); }
.foto { margin: 0; }
.foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--schatten); }

/* Merkmale unter der Vorstellung */
.merkmale { list-style: none; padding: 1.4rem 0 0; margin: 1.8rem 0 0; border-top: 1px solid var(--linie); display: flex; flex-wrap: wrap; gap: .7rem 1.8rem; }
.merkmale li { display: flex; align-items: center; gap: .5rem; font-weight: 500; font-size: .95rem; }
.merkmale .icon { color: var(--sand); width: 18px; height: 18px; stroke-width: 2.2; }

/* Checkliste */
.checkliste { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: .9rem; }
.checkliste li { display: grid; grid-template-columns: 28px 1fr; gap: .8rem; align-items: start; }
.checkliste .icon { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: var(--gruen-hauch); color: var(--gruen); stroke-width: 2.4; margin-top: .05rem; }
.sektion--bild .checkliste .icon, .sektion--dunkel .checkliste .icon { background: rgb(255 255 255 / .12); color: var(--sand-hell); }
.liste-einleitung, .unterzeile { font-weight: 600; margin-bottom: 1rem; }

/* Karten */
.karten { display: grid; gap: 1.4rem; grid-template-columns: repeat(3, 1fr); }
.karte {
  background: #fff; border-radius: var(--radius); padding: 2.2rem 2rem 2rem;
  border: 1px solid var(--linie);
  transition: transform .25s ease, box-shadow .25s ease;
}
.sektion:not(.sektion--creme) .karte { background: var(--creme); border-color: transparent; }
.karte:hover { transform: translateY(-3px); box-shadow: var(--schatten); }
.karte h3 { margin: 1.3rem 0 .6rem; }
.karte p { margin: 0; color: var(--text-leise); }
.karte__zusatz { font-weight: 600; color: var(--text) !important; font-size: .95rem; margin-bottom: .6rem !important; }
.karte__icon { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--gruen); color: var(--creme); }
.karte__icon .icon { width: 24px; height: 24px; }

/* Schritte */
.schritte { list-style: none; counter-reset: schritt; padding: 0; margin: 0; }
.schritte li { counter-increment: schritt; position: relative; padding: 0 0 1.6rem 3.6rem; }
.schritte li::before {
  content: counter(schritt, decimal-leading-zero);
  position: absolute; left: 0; top: .1rem;
  display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%;
  font: 600 .8rem/1 var(--sans); letter-spacing: .04em;
  background: var(--gruen-hauch); color: var(--gruen);
}
.schritte li:not(:last-child)::after { content: ""; position: absolute; left: 1.2rem; top: 2.8rem; bottom: .3rem; width: 1px; background: var(--linie); }
.schritte h3 { font-size: 1.15rem; margin: 0 0 .2rem; padding-top: .35rem; }
.schritte p { margin: 0; color: var(--text-leise); font-size: .98rem; }
.schritte li:last-child { padding-bottom: 0; }
.sektion--dunkel .schritte li::before { background: rgb(255 255 255 / .1); color: var(--sand-hell); }
.sektion--dunkel .schritte li::after { background: rgb(255 255 255 / .15); }
.sektion--dunkel .schritte p { color: rgb(255 255 255 / .7); }

/* Kontaktdaten */
.kontaktdaten { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 0; background: var(--linie); border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; }
.kontaktdaten > div { display: grid; grid-template-columns: auto 1fr; column-gap: .75rem; align-content: start; padding: 1.4rem; background: #fff; }
.kontaktdaten .icon { grid-row: span 2; color: var(--sand); margin-top: .15rem; }
.kontaktdaten dt { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-leise); }
.kontaktdaten dd { margin: .2rem 0 0; font-weight: 500; line-height: 1.5; overflow-wrap: anywhere; }
.kontaktdaten a { text-decoration: none; }
.kontaktdaten a:hover { text-decoration: underline; }
.sektion--dunkel .kontaktdaten { background: rgb(255 255 255 / .12); border-color: rgb(255 255 255 / .12); }
.sektion--dunkel .kontaktdaten > div { background: var(--gruen-tief); }
.sektion--dunkel .kontaktdaten dt { color: rgb(255 255 255 / .6); }
.sektion--dunkel .kontaktdaten .icon { color: var(--sand-hell); }
.split__b .kontaktdaten + .aktionen { margin-top: 1.6rem; }

.kontaktbox { margin-bottom: 1.4rem; }
.kontaktbox .kontaktdaten { grid-template-columns: 1fr; }
.kontaktbox--leise { background: var(--creme); border-radius: var(--radius); padding: 1.8rem; }

/* Kasten, Zitat, Hinweis */
.kasten { background: var(--gruen); color: #fff; border-radius: var(--radius); padding: clamp(2rem, 4vw, 2.8rem); }
.kasten .kicker { color: var(--sand-hell); }
.kasten p:not(.kicker) { font-size: 1.08rem; }
.zitat { margin: 1.6rem 0; padding: .4rem 0 .4rem 1.6rem; border-left: 2px solid var(--sand); }
.zitat p { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2.2vw, 1.6rem); line-height: 1.4; color: var(--gruen); }
.hinweis { margin-top: 1.4rem; padding: 1.4rem 1.6rem; border-radius: var(--radius-klein); background: var(--creme); font-size: .92rem; color: var(--text-leise); }
.hinweis p { margin: 0; }

/* 9. Formular ------------------------------------------------------------ */
.formular { display: grid; gap: 1.2rem; }
.formular__reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.feld { display: grid; gap: .4rem; }
.feld > span { font-size: .9rem; font-weight: 600; }
.feld em { font-style: normal; font-weight: 400; color: var(--text-leise); }
.feld input, .feld textarea {
  width: 100%; padding: .85rem 1rem;
  font: inherit; font-size: 1rem; color: var(--text);
  background: #fff; border: 1px solid #cfc8b8; border-radius: var(--radius-klein);
  transition: border-color .2s, box-shadow .2s;
}
.feld textarea { resize: vertical; min-height: 9rem; }
.feld input:focus, .feld textarea:focus { outline: none; border-color: var(--gruen); box-shadow: 0 0 0 3px rgb(48 82 71 / .15); }
.feld [aria-invalid="true"] { border-color: #a4402f; }
.haken { display: grid; grid-template-columns: 22px 1fr; gap: .8rem; align-items: start; font-size: .92rem; color: var(--text-leise); cursor: pointer; }
.haken input { width: 20px; height: 20px; margin: .15rem 0 0; accent-color: var(--gruen); }
.formular .btn { justify-self: start; min-width: 14rem; }
.formular .btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.formular__hinweis { margin: 0; font-size: .85rem; color: var(--text-leise); }
.formular__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formular__status { padding: 1rem 1.2rem; border-radius: var(--radius-klein); font-weight: 500; }
.formular__status--ok { background: var(--gruen-hauch); color: var(--gruen-dunkel); border: 1px solid #b9cbc2; }
.formular__status--fehler { background: #fbeeea; color: #7c2d1f; border: 1px solid #efc9bf; }

/* 10. Rechtstexte -------------------------------------------------------- */
.rechtstext { font-size: 1rem; }
.rechtstext h2 { font-size: 1.6rem; margin: 2.6rem 0 .8rem; }
.rechtstext h2:first-child { margin-top: 0; }
.rechtstext h3 { font-family: var(--sans); font-size: 1.05rem; font-weight: 600; margin: 1.8rem 0 .5rem; letter-spacing: 0; }
.rechtstext h4 { font-family: var(--sans); font-size: 1rem; font-weight: 600; margin: 1.2rem 0 .3rem; letter-spacing: 0; }
.rechtstext address { font-style: normal; margin: 0 0 1.1em; }
.rechtstext ul { padding-left: 1.2rem; }
.rechtstext li { margin-bottom: .3rem; }
.rechtstext hr { border: 0; border-top: 1px solid var(--linie); margin: 2.5rem 0 1.5rem; }
.rechtstext p, .rechtstext li { overflow-wrap: break-word; hyphens: auto; }

/* 11. Fußbereich --------------------------------------------------------- */
.fuss { background: var(--gruen-tief); color: rgb(255 255 255 / .72); font-size: .95rem; padding-top: clamp(3.5rem, 7vw, 5rem); }
.fuss a { color: rgb(255 255 255 / .85); text-decoration: none; }
.fuss a:hover { color: #fff; text-decoration: underline; }
.fuss__raster { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2.5rem; padding-bottom: 3rem; }
.fuss__marke img { width: 64px; height: 64px; margin-bottom: 1rem; }
.fuss__marke p:last-child { max-width: 30rem; }
.fuss__titel { font-family: var(--serif); font-size: 1.3rem; color: #fff; margin-bottom: .6rem; }
.fuss__label { font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--sand-hell); margin-bottom: 1rem; }
.fuss ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.fuss__unten { border-top: 1px solid rgb(255 255 255 / .1); padding-block: 1.4rem; font-size: .85rem; color: rgb(255 255 255 / .5); }

/* 12. Mobil -------------------------------------------------------------- */
@media (max-width: 1060px) {
  .fuss__raster { grid-template-columns: 1fr 1fr; }
  .fuss__marke { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 78px 0 auto 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 1.2rem;
    padding: 1.2rem var(--rand) 2rem;
    background: #fff; border-bottom: 1px solid var(--linie);
    box-shadow: 0 24px 40px -24px rgb(22 38 31 / .3);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s .2s;
  }
  .nav.ist-offen { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .2s ease; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: .9rem 0; font-size: 1.15rem; border-bottom: 1px solid var(--linie); }
  .nav ul a::after { display: none; }
  .nav ul a[aria-current="page"] { color: var(--gruen); font-weight: 600; }
  .nav .btn { min-height: 52px; }

  .split, .split--bild, .split--bild-links, .split--formular { grid-template-columns: 1fr; }
  .split--bild .portrait { justify-self: start; max-width: 380px; order: -1; }
  .karten { grid-template-columns: 1fr; }
  .hero__bild::after { background: linear-gradient(0deg, rgb(14 26 21 / .8), rgb(14 26 21 / .55)); }
}

@media (min-width: 640px) and (max-width: 960px) {
  .karten { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .logo__text { font-size: 1.05rem; }
  .logo img { width: 44px; height: 44px; }
  .kopfleiste__inner { min-height: 68px; }
  .nav { inset: 68px 0 auto 0; }
  .kontaktdaten, .formular__reihe { grid-template-columns: 1fr; }
  .aktionen .btn { flex: 1 1 100%; }
  .formular .btn { justify-self: stretch; }
  .portrait::before { inset: 1rem -.8rem -.8rem 1rem; }
  .fuss__raster { grid-template-columns: 1fr; }
  .karte { padding: 1.8rem 1.5rem; }
}

@media print {
  .kopfleiste, .fuss, .hero__bild, .sektion__bild, .aktionen { display: none !important; }
  .hero, .sektion--dunkel, .sektion--bild { color: #000; background: none; }
}
