/* ==========================================================================
   David Benjamin Koll – Private Physiotherapie und Personal Training
   Farben & Typografie nach Brand Guidelines
   ========================================================================== */

/* ---------- Fonts (lokal, DSGVO-konform) ----------
   Ersatz für Dream Avenue -> Cormorant Garamond
   Ersatz für Cera Pro     -> Figtree
   Bei vorhandener Lizenz: Dateien in assets/fonts ablegen und unten tauschen. */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-400-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-var.woff2") format("woff2");
  font-weight: 300 900; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --green-900: #223521;   /* Primär */
  --green-700: #455e45;
  --green-500: #6a8467;
  --green-300: #91ac8c;
  --teal-500: #18b2ae;    /* Akzent */
  --teal-400: #3cc0bc;
  --teal-200: #cdebe9;
  --teal-700: #0b7471;    /* Akzent für kleine Schrift (Kontrast AA) */
  --cream-50: #f3f2ed;    /* Hintergrund */
  --cream-100: #e9e7df;
  --cream-200: #dddbd0;
  --sand-300: #cbc3ae;
  --sand-500: #b3ad90;
  --white: #fff;

  --text: var(--green-900);
  --text-muted: #4d5b4c;
  --bg: var(--cream-50);
  --line: rgba(34, 53, 33, .14);

  --font-display: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 18px 40px -18px rgba(34, 53, 33, .35);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(72px, 10vw, 128px);
  --header-h: 76px;
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; line-height: 1.1; }
h1, h2 { font-family: var(--font-display); letter-spacing: -.01em; }
h1, h2, h3, .brand-name, .hero-facts strong, .service-num, .step-num, .claim-text { font-variant-numeric: lining-nums; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.25rem); }
h3 { font-family: var(--font-body); font-size: 1.15rem; font-weight: 600; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-style: italic; }

:focus-visible { outline: 2px solid var(--teal-700); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--green-900); color: var(--cream-50); padding: 10px 16px; border-radius: var(--radius-sm); text-decoration: none; }
.skip-link:focus { top: 12px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .7em;
  margin: 0 0 1.1rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--teal-700);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 50px; padding: .8em 1.6em;
  font: 600 1rem/1.2 var(--font-body);
  border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s;
}
.btn span[aria-hidden] { transition: transform .25s; }
.btn:hover span[aria-hidden] { transform: translateX(4px); }
.btn-primary { background: var(--green-900); color: var(--cream-50); }
.btn-primary:hover { background: var(--green-700); }
.btn-ghost { border-color: var(--green-900); color: var(--green-900); background: transparent; }
.btn-ghost:hover { background: var(--green-900); color: var(--cream-50); }
.btn-light { background: var(--cream-50); color: var(--green-900); }
.btn-light:hover { background: var(--teal-200); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; }

.text-link {
  display: inline-flex; gap: .4em; align-items: center;
  font-weight: 600; color: var(--green-900); text-decoration: none;
  border-bottom: 1.5px solid var(--teal-500); padding-bottom: 2px;
}
.text-link span { transition: transform .25s; }
.text-link:hover span { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243, 242, 237, .88);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand-mark { width: 46px; height: auto; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand-name { font-family: var(--font-display); font-size: 1.45rem; font-weight: 500; white-space: nowrap; }
.brand-tag { font-size: .7rem; letter-spacing: .02em; color: var(--text-muted); white-space: nowrap; }

.site-nav ul { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); }
.site-nav a:not(.btn) {
  position: relative; text-decoration: none; font-weight: 500; font-size: .98rem; padding: 6px 0;
}
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: var(--teal-500); transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.site-nav a:not(.btn):hover::after, .site-nav a.is-active::after { transform: scaleX(1); }
.nav-cta .btn { min-height: 44px; padding: .6em 1.3em; font-size: .95rem; }

.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 104px); overflow: hidden; }
.hero-swoosh {
  position: absolute; top: 0; left: 0; width: 100%; height: 160px;
  color: var(--sand-500); opacity: .7; pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.75rem, 5.4vw, 4.6rem); line-height: 1.02; margin-bottom: 1.5rem; }
.hero h1 em { display: block; color: var(--green-500); }
.lead { font-size: clamp(1.08rem, 1.4vw, 1.22rem); color: var(--text-muted); max-width: 34em; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 2.75rem; }
.hero-actions:has(+ .hero-paths) { margin-bottom: 1.25rem; }
.hero-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 2.5rem; max-width: 560px; }
.path-link {
  position: relative; display: flex; flex-direction: column; gap: 2px;
  padding: 14px 44px 14px 18px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line); text-decoration: none;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.path-link:hover { border-color: var(--teal-500); transform: translateY(-2px); box-shadow: 0 12px 24px -16px rgba(34, 53, 33, .4); }
.path-label { font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; line-height: 1.15; color: var(--green-900); }
.path-desc { font-size: .85rem; color: var(--text-muted); line-height: 1.35; }
.path-arrow { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--teal-700); transition: transform .25s; }
.path-link:hover .path-arrow { transform: translate(4px, -50%); }

.hero-facts { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--line); padding-top: 1.5rem; }
.hero-facts li { flex: 1 1 0; min-width: 110px; padding-right: 16px; font-size: .9rem; color: var(--text-muted); line-height: 1.35; }
.hero-facts li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.hero-facts strong { display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 500; color: var(--green-900); line-height: 1.1; }

.hero-media { position: relative; padding: 0 0 28px 28px; }
.hero-media picture img {
  width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; object-position: 60% center;
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 120px;
  box-shadow: var(--shadow);
}
.hero-badge {
  position: absolute; left: 0; bottom: 0;
  display: flex; align-items: center; gap: 14px;
  background: var(--green-900); color: var(--cream-50);
  padding: 16px 22px 16px 18px; border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-badge img { width: 40px; }
.hero-badge p { margin: 0; font-size: .92rem; line-height: 1.35; font-weight: 500; }

/* Rechtwinkel-Motiv aus dem Logo */
.angle-deco {
  position: absolute; z-index: -1; top: -26px; right: -26px;
  width: 58%; height: 70%;
  border-right: 1.5px solid var(--teal-200); border-top: 1.5px solid var(--teal-200);
}
.angle-deco::before, .angle-deco::after {
  content: ""; position: absolute; width: 14px; height: 14px;
  border: 1.5px solid var(--teal-200); border-radius: 50%; background: var(--bg);
}
.angle-deco::before { left: -7px; top: -8px; }
.angle-deco::after { right: -8px; bottom: -7px; }
.angle-deco span { position: absolute; top: -1.5px; right: -1.5px; width: 16px; height: 16px; border-left: 1.5px solid var(--teal-200); border-bottom: 1.5px solid var(--teal-200); }
.angle-deco--left { right: auto; left: -26px; top: auto; bottom: -26px; border: 0; border-left: 1.5px solid var(--teal-200); border-bottom: 1.5px solid var(--teal-200); }
.angle-deco--left::before { left: auto; right: -8px; top: auto; bottom: -8px; }
.angle-deco--left::after { right: auto; left: -8px; bottom: auto; top: -8px; }
.angle-deco--left span { top: auto; right: auto; left: -1.5px; bottom: -1.5px; border: 0; border-right: 1.5px solid var(--teal-200); border-top: 1.5px solid var(--teal-200); }

/* ---------- Benefits ---------- */
.benefits { background: var(--white); border-block: 1px solid var(--line); }
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.benefit { padding: 36px 28px; }
.benefit + .benefit { border-left: 1px solid var(--line); }
.benefit svg, .place svg, .contact-list svg {
  fill: none; stroke: var(--teal-500); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.benefit svg { width: 36px; height: 36px; margin-bottom: 18px; }
.benefit h3 { margin-bottom: .4rem; }
.benefit p { margin: 0; font-size: .95rem; color: var(--text-muted); }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section-alt { background: var(--cream-100); }
.section-head { max-width: 680px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head p:last-child { margin: 1rem 0 0; color: var(--text-muted); }

/* Services */
.services { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 40px); }
.service {
  display: flex; flex-direction: column;
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .4s, box-shadow .4s;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-media { overflow: hidden; }
.service-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .8s; }
.service:hover .service-media img { transform: scale(1.04); }
.service-body { position: relative; padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; flex: 1; }
.service-num {
  position: absolute; right: clamp(28px, 3vw, 40px); top: 18px;
  font-family: var(--font-display); font-size: 3.6rem; line-height: 1; color: var(--cream-200);
}
.service h3 { font-family: var(--font-display); font-size: clamp(1.8rem, 2.6vw, 2.2rem); font-weight: 500; margin-bottom: .8rem; padding-right: 64px; }
.service-body > p { color: var(--text-muted); }
.service .text-link { margin-top: auto; align-self: flex-start; }

.checklist { margin: .5rem 0 1.8rem; display: grid; gap: .55rem; }
.checklist li { position: relative; padding-left: 1.9em; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 1.1em; height: 1.1em; border-radius: 50%;
  border: 1.5px solid var(--teal-500);
  background: radial-gradient(circle, var(--teal-500) 0 28%, transparent 30%);
}

/* Feature (Einrichtungen) */
.feature {
  margin-top: clamp(24px, 3vw, 40px);
  display: grid; grid-template-columns: .8fr 1.2fr; align-items: stretch;
  background: var(--green-900); color: var(--cream-50);
  border-radius: var(--radius-lg); overflow: hidden;
}
.feature-media img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; object-position: 60% 50%; }
.feature-body { padding: clamp(32px, 5vw, 64px); align-self: center; }
.feature .eyebrow { color: var(--teal-400); }
.feature h3 { font-family: var(--font-display); font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 500; margin-bottom: 1rem; }
.feature p { color: rgba(243, 242, 237, .82); max-width: 36em; margin-bottom: 1.8rem; }
.feature .btn-ghost { border-color: var(--cream-50); color: var(--cream-50); }
.feature .btn-ghost:hover { background: var(--cream-50); color: var(--green-900); }

/* Places */
.places { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.5vw, 32px); }
.place { background: var(--cream-50); border-radius: var(--radius); padding: clamp(28px, 3vw, 40px); border: 1px solid var(--line); }
.place svg { width: 48px; height: 48px; margin-bottom: 20px; }
.place h3 { font-family: var(--font-display); font-size: 1.65rem; font-weight: 500; margin-bottom: .6rem; }
.place p { margin: 0; color: var(--text-muted); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); counter-reset: step; }
.step { position: relative; padding-top: 28px; border-top: 1px solid var(--green-900); }
.step::before {
  content: ""; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; border-radius: 50%;
  background: var(--bg); border: 1.5px solid var(--teal-500);
}
.step-num { display: block; font-family: var(--font-display); font-size: clamp(3rem, 5vw, 4.25rem); line-height: 1; color: var(--green-300); margin-bottom: 16px; }
.step h3 { margin-bottom: .5rem; }
.step p { margin: 0; color: var(--text-muted); font-size: .98rem; }

/* Claim */
.claim { position: relative; overflow: hidden; background: var(--green-900); color: var(--cream-50); padding-block: clamp(80px, 11vw, 140px); }
.claim-mark { position: absolute; right: -40px; top: 50%; transform: translateY(-50%); width: min(520px, 60vw); opacity: .12; pointer-events: none; }
.claim-inner { position: relative; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; }
.claim-text { margin: 0; font-family: var(--font-display); font-size: clamp(2.4rem, 5.4vw, 4.4rem); line-height: 1.05; }
.claim-text em { color: var(--teal-400); }

/* About */
.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.about-media { position: relative; max-width: 440px; padding: 0 0 28px 28px; isolation: isolate; }
.about-media img { width: 100%; border-radius: var(--radius-lg) 120px var(--radius-lg) var(--radius-lg); box-shadow: var(--shadow); }
.about-media .angle-deco--left { width: 70%; height: 60%; left: 0; bottom: 0; }
.about-role { font-weight: 600; color: var(--teal-700); margin: .6rem 0 1.5rem; }
.about-copy > p:not(.eyebrow):not(.about-role) { color: var(--text-muted); max-width: 36em; }
.quals { margin: 2rem 0 0; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.quals-title { font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--teal-700); margin-bottom: 1.1rem; }
.quals-group + .quals-group { margin-top: 1rem; }
.quals-label { margin: 0 0 .5rem; font-size: .88rem; font-weight: 600; color: var(--green-900); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  padding: 6px 14px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--cream-200);
  font-size: .88rem; line-height: 1.4; color: var(--green-900);
}

.about-quote {
  margin: 2rem 0; padding-left: 1.2rem; border-left: 2px solid var(--teal-500);
  font-family: var(--font-display); font-style: italic; font-size: clamp(1.5rem, 2.3vw, 1.85rem); line-height: 1.3;
}

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-wrap .section-head a { color: var(--green-900); font-weight: 600; text-decoration-color: var(--teal-500); text-underline-offset: 3px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 22px 48px 22px 0; font-weight: 600; font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after, .faq summary::before {
  content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 1.5px; background: var(--green-900);
  transition: transform .3s;
}
.faq summary::before { transform: rotate(90deg); }
.faq details[open] summary::before { transform: rotate(0); }
.faq summary:hover { color: var(--green-700); }
.faq details p { margin: 0; padding: 0 48px 24px 0; color: var(--text-muted); }

/* Contact */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-info > p { color: var(--text-muted); margin-top: 1rem; }
.contact-list { margin-top: 2rem; display: grid; gap: 16px; }
.contact-list li { display: flex; align-items: center; gap: 14px; }
.contact-list svg { width: 22px; height: 22px; flex-shrink: 0; }
.contact-list a { text-decoration: none; font-weight: 500; overflow-wrap: anywhere; }
.contact-list a:hover { text-decoration: underline; text-decoration-color: var(--teal-500); text-underline-offset: 3px; }

.contact-form {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 44px); box-shadow: 0 30px 60px -40px rgba(34, 53, 33, .4);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.field { margin-bottom: 18px; min-width: 0; }
.field label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: 6px; }
.req { color: var(--teal-700); }
.opt { font-weight: 400; color: var(--text-muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  background: var(--cream-50); border: 1.5px solid transparent; border-radius: var(--radius-sm);
  padding: 13px 14px; transition: border-color .2s, background-color .2s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: #8a9388; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--cream-200); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-500); background: var(--white); }
.field.has-error input, .field.has-error textarea { border-color: #b3261e; background: #fdf3f2; }
.select-wrap { position: relative; }
.select-wrap::after {
  content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; margin-top: -6px;
  border-right: 1.5px solid var(--green-900); border-bottom: 1.5px solid var(--green-900); transform: rotate(45deg); pointer-events: none;
}
.select-wrap select { padding-right: 40px; cursor: pointer; }
.field-error { margin: 6px 0 0; font-size: .85rem; color: #b3261e; min-height: 0; }
.field-error:empty { display: none; }

.field-check { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: start; margin: 8px 0 24px; }
.field-check input {
  width: 22px; height: 22px; padding: 0; margin-top: 2px; border-radius: 6px; cursor: pointer;
  border: 1.5px solid var(--green-500); background: var(--white); display: grid; place-content: center;
}
.field-check input::before { content: ""; width: 11px; height: 6px; border-left: 2px solid var(--cream-50); border-bottom: 2px solid var(--cream-50); transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.field-check input:checked { background: var(--green-900); border-color: var(--green-900); }
.field-check input:checked::before { opacity: 1; }
.field-check label { font-weight: 400; font-size: .88rem; color: var(--text-muted); margin: 0; cursor: pointer; }
.field-check label a { color: var(--green-900); }
.field-check .field-error { grid-column: 2; }
.field-check.has-error input { border-color: #b3261e; }

.form-hint {
  display: flex; gap: 12px; align-items: flex-start;
  margin: 0 0 20px; padding: 14px 16px;
  background: var(--cream-50); border-left: 3px solid var(--teal-500); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: .88rem; line-height: 1.5; color: var(--text-muted);
}
.form-hint strong { color: var(--green-900); }
.form-hint svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; fill: none; stroke: var(--teal-700); stroke-width: 1.8; stroke-linecap: round; }

.hp { position: absolute; left: -9999px; }
.form-status { margin: 16px 0 0; font-weight: 500; }
.form-status:empty { display: none; }
.form-status.is-success { padding: 14px 16px; background: var(--teal-200); border-radius: var(--radius-sm); color: var(--green-900); }
.form-status.is-error { padding: 14px 16px; background: #fdf3f2; border-radius: var(--radius-sm); color: #8c1d18; }
.form-note { margin: 12px 0 0; font-size: .8rem; color: var(--text-muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: var(--cream-50); padding-top: clamp(56px, 7vw, 88px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand img { width: 240px; }
.footer-title { font-family: var(--font-body); font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--teal-400); margin-bottom: 1rem; }
.footer-list { display: grid; gap: .5rem; color: rgba(243, 242, 237, .82); }
.footer-list a { text-decoration: none; }
.footer-list a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding-block: 22px; border-top: 1px solid rgba(243, 242, 237, .16);
  font-size: .88rem; color: rgba(243, 242, 237, .7);
}
.footer-bottom p { margin: 0; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--white); text-decoration: underline; }

/* ---------- Leistungs-Unterseiten ---------- */
.page-hero { padding: clamp(32px, 5vw, 72px) 0 clamp(48px, 6vw, 88px); }
.page-hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.page-hero h1 { font-size: clamp(2.75rem, 5.6vw, 4.6rem); line-height: 1.02; margin-bottom: 1.4rem; }
.page-hero .hero-actions { margin-bottom: 0; }
.page-hero-media img {
  width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 120px; box-shadow: var(--shadow);
}
.page-hero-media--senior img { aspect-ratio: 4 / 4.2; object-position: 50% 40%; }
.page-hero .lead strong { color: var(--green-900); font-weight: 600; }
.split-intro { color: var(--text-muted); margin-bottom: 1.4rem; }
.info-box + .info-box { margin-top: clamp(16px, 2.5vw, 28px); }
.next-links { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.5vw, 28px); }
.service-body > p strong { color: var(--green-900); font-weight: 600; }

.back-link {
  display: flex; width: fit-content; gap: .5em; align-items: center; margin-bottom: 1.6rem;
  font-size: .92rem; font-weight: 500; color: var(--text-muted); text-decoration: none;
}
.back-link:hover { color: var(--green-900); }
.back-link span { transition: transform .25s; }
.back-link:hover span { transform: translateX(-4px); }

.section-tight { padding-block: clamp(56px, 7vw, 96px); }

.detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.5vw, 28px); }
.detail-card {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 3vw, 34px); padding-top: calc(clamp(24px, 3vw, 34px) + 10px);
}
.detail-card::before {
  content: ""; position: absolute; top: clamp(24px, 3vw, 34px); left: clamp(24px, 3vw, 34px);
  width: 28px; height: 2px; background: var(--teal-500);
}
.detail-card h3 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; margin: .6rem 0 .6rem; }
.detail-card p { margin: 0; color: var(--text-muted); font-size: .98rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.split h2 { margin-bottom: 1.6rem; }
.checklist-lg { gap: .9rem; margin: 0; }
.benefit-list { display: grid; gap: 1.4rem; }
.benefit-list > div { padding-left: 1.2rem; border-left: 2px solid var(--teal-200); }
.benefit-list h3 { margin-bottom: .3rem; }
.benefit-list p { margin: 0; color: var(--text-muted); }

/* Zwei Spalten mit gleich vielen Punkten: Punkte zeilenweise auf gleicher Höhe (nur Desktop) */
@media (min-width: 901px) {
  .split--aligned { grid-template-rows: repeat(6, auto); row-gap: 0; }
  .split--aligned > div { display: grid; grid-row: 1 / span 6; grid-template-rows: subgrid; }
  .split--aligned .mini-steps,
  .split--aligned .benefit-list { grid-row: span 4; display: grid; grid-template-rows: subgrid; gap: 0; }
  .split--aligned .mini-steps > li,
  .split--aligned .benefit-list > div { margin-bottom: 1.4rem; }
  .split--aligned .mini-steps > li:last-child,
  .split--aligned .benefit-list > div:last-child { margin-bottom: 0; }
}

.mini-steps { display: grid; gap: 1.2rem; counter-reset: mini; }
.mini-steps li { position: relative; padding-left: 3.2rem; color: var(--text-muted); counter-increment: mini; }
.mini-steps li::before {
  content: counter(mini, decimal-leading-zero); position: absolute; left: 0; top: -.15em;
  font-family: var(--font-display); font-size: 1.9rem; line-height: 1; color: var(--green-300); font-variant-numeric: lining-nums;
}
.mini-steps strong { display: block; color: var(--green-900); font-weight: 600; margin-bottom: .15rem; }

/* Bedürfnis-Abschnitt („Kennen Sie das?“ / „Sie möchten …?“) */
.needs { align-items: center; }
.needs-text p { color: var(--text-muted); }
.needs-text .needs-turn {
  margin: 1.4rem 0 0; font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.5rem, 2.4vw, 1.9rem); line-height: 1.2; color: var(--green-900);
}
.needs-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(26px, 3.5vw, 44px); box-shadow: 0 30px 60px -44px rgba(34, 53, 33, .45);
}
.needs-card h3 { font-family: var(--font-display); font-size: clamp(1.7rem, 2.6vw, 2.1rem); font-weight: 500; margin-bottom: 1.2rem; }
.needs-close { margin: 1.6rem 0 0; padding-top: 1.2rem; border-top: 1px solid var(--line); font-weight: 600; color: var(--green-900); }

.places-2 { grid-template-columns: repeat(2, 1fr); margin-bottom: clamp(24px, 3vw, 40px); }

.info-box {
  display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(20px, 4vw, 64px); align-items: start;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
}
.info-box h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.info-box p:not(.eyebrow) { color: var(--text-muted); }
.info-box p:last-child { margin-bottom: 0; }

.next-link {
  display: flex; flex-direction: column; gap: .2rem; text-decoration: none;
  padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg); border: 1px solid var(--line);
  transition: background-color .3s, border-color .3s;
}
.next-link:hover { background: var(--white); border-color: var(--teal-500); }
.next-link .eyebrow { margin-bottom: .4rem; }
.next-title { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; }
.next-title span { display: inline-block; transition: transform .3s; }
.next-link:hover .next-title span { transform: translateX(6px); }

/* Klickbare Leistungskarten auf der Startseite */
.service-media { display: block; }
.service-media--senior img { object-position: 50% 42%; }
.service h3 a { text-decoration: none; }
.service h3 a:hover { color: var(--green-700); }
.service-links { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.service-links .text-link { margin-top: 0; }
.service-links .text-link--muted { border-bottom-color: var(--cream-200); font-weight: 500; color: var(--text-muted); }
.service-links .text-link--muted:hover { color: var(--green-900); border-bottom-color: var(--teal-500); }

/* ---------- Legal pages ---------- */
.legal { padding-block: clamp(48px, 7vw, 96px); }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(2.6rem, 5vw, 3.6rem); margin-bottom: 2rem; }
.legal h2 { font-size: clamp(1.6rem, 3vw, 2rem); margin: 2.5rem 0 .8rem; }
.legal h3 { margin: 1.6rem 0 .5rem; }
.legal p, .legal li { color: var(--text-muted); }
.legal ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.legal a { color: var(--green-900); text-decoration-color: var(--teal-500); text-underline-offset: 3px; }
.placeholder { background: #fff4c2; color: #5c4a00; padding: 0 .3em; border-radius: 4px; }
.notice { padding: 16px 20px; border-left: 3px solid var(--teal-500); background: var(--white); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin-bottom: 2rem; }

/* ---------- Reveal-Animation (nur mit JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

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

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .brand-tag { display: none; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }

  /* backdrop-filter würde das fixierte Menü auf die Header-Höhe begrenzen */
  .site-header { background: var(--cream-50); backdrop-filter: none; -webkit-backdrop-filter: none; }

  /* Mobile Navigation */
  .nav-toggle {
    display: grid; place-items: center; position: relative; z-index: 60;
    width: 48px; height: 48px; margin-right: -8px; border: 0; background: transparent; cursor: pointer; border-radius: 50%;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block; width: 24px; height: 1.8px; background: var(--green-900); border-radius: 2px; transition: transform .3s, background-color .3s;
  }
  .nav-toggle-bars { position: relative; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -7px; }
  .nav-toggle-bars::after { top: 7px; }
  .nav-open .nav-toggle-bars { background: transparent; }
  .nav-open .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

  .site-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 40;
    background: var(--cream-50);
    padding: 32px var(--gutter) 40px;
    overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s, transform .3s, visibility 0s .3s;
  }
  .nav-open .site-nav { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .3s; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav li { border-bottom: 1px solid var(--line); }
  .site-nav a:not(.btn) { display: block; padding: 18px 0; font-family: var(--font-display); font-size: 2rem; }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav .nav-cta { border: 0; margin-top: 28px; }
  .nav-cta .btn { width: 100%; min-height: 56px; font-size: 1.05rem; }
  body.nav-open { overflow: hidden; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 560px; }
  .hero-media picture img { aspect-ratio: 4 / 3.4; }

  .services { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; }
  .feature-media img { min-height: 0; aspect-ratio: 16 / 10; }
  .places { grid-template-columns: 1fr; }
  .page-hero-grid, .split, .info-box, .next-links { grid-template-columns: 1fr; }
  .page-hero-media { max-width: 560px; }
  .detail-grid { grid-template-columns: repeat(2, 1fr); }
  .about, .faq-wrap, .contact { grid-template-columns: 1fr; }
  .about-media { max-width: 380px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .brand-mark { width: 38px; }
  .brand-name { font-size: 1.25rem; }
  .hero { padding-top: 28px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-paths { grid-template-columns: 1fr; }
  .hero-facts li { min-width: 0; padding-right: 10px; font-size: .82rem; }
  .hero-facts li + li { padding-left: 12px; }
  .hero-facts strong { font-size: 1.6rem; }
  .hero-media { padding: 0 0 22px 14px; }
  .hero-media picture img { border-radius: var(--radius) var(--radius) var(--radius) 72px; }
  .hero-badge { padding: 12px 16px 12px 14px; }
  .hero-badge img { width: 32px; }
  .hero-badge p { font-size: .84rem; }
  .angle-deco { top: -14px; right: -6px; }

  .benefits-grid { grid-template-columns: 1fr; }
  .benefit { padding: 26px 0; display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; }
  .benefit svg { grid-row: span 2; margin: 0; width: 32px; height: 32px; }
  .benefit + .benefit { border-left: 0; border-top: 1px solid var(--line); }

  .steps { grid-template-columns: 1fr; row-gap: 40px; }
  .detail-grid { grid-template-columns: 1fr; }
  .page-hero { padding-top: 24px; }
  .page-hero .hero-actions .btn { flex: 1 1 100%; }
  .page-hero-media img { border-radius: var(--radius) var(--radius) var(--radius) 72px; }
  .field-row { grid-template-columns: 1fr; }
  .claim-inner { flex-direction: column; align-items: flex-start; }
  .claim-mark { right: -80px; width: 340px; }
  .faq summary { padding-right: 40px; }
  .faq details p { padding-right: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; }
  .legal-back { min-height: 40px; padding: .5em 1em; font-size: .88rem; }
  .legal-back .back-text { display: none; }
}
