/* ==========================================================================
   Ergotherapie Daniela Kahr · Landingpage
   Farben aus dem Briefing; „-tief“-Varianten sind abgedunkelt, damit Text
   und Buttons WCAG AA erreichen (#9E825D und #707F66 schaffen auf Creme nur 3,1 bzw. 3,7 : 1).
   Bewegung: .motion-on / .motion-off auf <html> (Schalter + Systemeinstellung).
   ========================================================================== */

@font-face { font-family: "Playfair Display"; src: url("../fonts/playfair-display-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("../fonts/playfair-display-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/nunito-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/nunito-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-300.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  /* Briefing-Palette */
  --creme: #F4EEDF;          /* Hintergrund */
  --karte: #D4CEBA;          /* Kärtchen */
  --gruen: #707F66;          /* Akzent dunkel (Flächen, große Schrift) */
  --salbei: #A1A288;         /* Akzent mittel (Linien, Deko) */
  --text: #3D3D3D;           /* Fließtext 9,4 : 1 */
  --braun: #9E825D;          /* Markenbraun (Deko, Rahmen) */

  /* Abgeleitete Töne für Barrierefreiheit */
  --braun-tief: #765B3B;     /* Buttons, Links auf Creme: 5,5 : 1, Weiß darauf 6,3 : 1 */
  --braun-dunkel: #6A5134;   /* Hover, Links auf Karten: 4,7 : 1 */
  --gruen-tief: #566350;     /* Überschriften, kleine grüne Schrift: 5,5 : 1 */
  --gruen-dunkel: #4A5644;   /* Kontaktbereich, Creme darauf 6,7 : 1 */
  --karte-zart: #E7E1CF;     /* zweite Kartenebene */
  --feld: #FFFDF8;           /* Formularfelder */
  --rahmen: #8A8472;         /* Feldrahmen 3,7 : 1 */
  --leise: #5A5A5A;          /* Nebentext auf Creme 6,0 : 1 */
  --hell-auf-gruen: #E9E1CD; /* Nebentext auf Dunkelgrün 6,0 : 1 */
  --fehler: #A3392B;         /* Fehlertext 5,7 : 1 */

  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Nunito", "Segoe UI", system-ui, sans-serif;
  --font-ui: "Montserrat", "Segoe UI", system-ui, sans-serif;

  --pad-x: 18px;
  --section-y: clamp(60px, 9vw, 136px);
  --radius-l: 28px;
  --radius-m: 18px;
  --shadow-soft: 0 24px 48px -28px rgba(74, 58, 36, .45);
  --shadow-lift: 0 30px 60px -26px rgba(74, 58, 36, .5);
  --ease: cubic-bezier(.22, .7, .2, 1);
  --header-h: 72px;
}

@media (min-width: 640px)  { :root { --pad-x: 6vw; } }
@media (min-width: 1100px) { :root { --pad-x: 10vw; --header-h: 88px; } }

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--creme);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
  letter-spacing: .005em;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; color: var(--gruen-tief); letter-spacing: -.015em; line-height: 1.12; margin: 0; text-wrap: balance; font-variant-numeric: lining-nums; }
h2 { font-size: clamp(2rem, 1.35rem + 2.1vw, 3rem); }
h3 { font-size: 1.5rem; letter-spacing: -.008em; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
section { position: relative; }
main { overflow-x: clip; } /* Deko-Flecken dürfen über den Rand laufen, ohne Querscrollen; clip lässt sticky intakt */

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

:focus-visible { outline: 3px solid var(--gruen-dunkel); outline-offset: 3px; }
.contact :focus-visible, .site-footer :focus-visible { outline-color: var(--creme); }
.contact .form :focus-visible { outline-color: var(--gruen-dunkel); }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--braun-tief); color: #fff; padding: .75rem 1.25rem; border-radius: 999px;
  font-family: var(--font-ui); text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap { position: relative; z-index: 1; width: 100%; max-width: calc(1200px + 2 * var(--pad-x)); margin-inline: auto; padding-inline: var(--pad-x); }
.section { padding-block: var(--section-y); }

.section-head { max-width: 46rem; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head p { margin-top: 1.1rem; max-width: 42rem; }
.section-head--split { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section-head--split > div:first-child { max-width: 40rem; }

.text-link {
  color: var(--braun-tief);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: .22em;
  transition: color .2s, text-decoration-color .2s;
}
.text-link:hover { color: var(--braun-dunkel); text-decoration-thickness: 2.5px; }

/* Aquarell-Flecken als Tiefenebene (Parallax) */
.blob { position: absolute; z-index: 0; pointer-events: none; width: clamp(280px, 38vw, 560px); height: auto; }
.blob--story { left: -12vw; top: 6%; }
.blob--about { right: -10vw; top: 12%; }
.blob--services { left: -14vw; bottom: 8%; }
.blob--faq { right: -12vw; top: 20%; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .8rem 1.5rem;
  border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--font-ui); font-weight: 400; font-size: .9375rem; letter-spacing: .05em; line-height: 1.2; white-space: nowrap;
  text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .2s var(--ease), box-shadow .25s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn--small { min-height: 44px; padding: .6rem 1.2rem; font-size: .875rem; }
.btn--large { min-height: 56px; padding: 1rem 1.9rem; font-size: 1rem; }
.btn--block { width: 100%; }

.btn--primary { background: var(--braun-tief); color: #fff; box-shadow: 0 10px 22px -14px rgba(74, 52, 26, .8); }
.btn--primary:hover { background: var(--braun-dunkel); box-shadow: 0 14px 26px -14px rgba(74, 52, 26, .9); }
.btn--ghost { background: transparent; color: var(--braun-tief); border-color: var(--braun-tief); }
.btn--ghost:hover { background: rgba(158, 130, 93, .14); color: var(--braun-dunkel); }
.btn--secondary { background: transparent; color: var(--braun-dunkel); border-color: var(--braun-dunkel); white-space: normal; text-align: left; }
.btn--secondary:hover { background: var(--braun-dunkel); color: #fff; }
.btn--ghost-light { background: transparent; color: var(--creme); border-color: rgba(244, 238, 223, .7); }
.btn--ghost-light:hover { background: rgba(244, 238, 223, .14); }

.round-btn {
  display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: transparent; border: 1.5px solid var(--braun-tief); color: var(--braun-tief); cursor: pointer;
  transition: background-color .2s, color .2s, opacity .2s;
}
.round-btn:hover:not(:disabled) { background: var(--braun-tief); color: #fff; }
.round-btn:disabled { opacity: .35; cursor: default; }
.round-btn .icon { width: 22px; height: 22px; }

.draft-note {
  display: flex; gap: .65rem; align-items: flex-start;
  padding: .8rem 1.1rem; margin-bottom: 28px;
  border: 1.5px dashed var(--braun); border-radius: var(--radius-m);
  background: rgba(158, 130, 93, .08);
  font-size: .9375rem; line-height: 1.5;
}
.draft-note .icon { color: var(--braun-tief); margin-top: .1em; }
.draft-note--inline { margin: 1rem 0; }

/* Schalter „Bewegung reduzieren“ */
.motion-toggle {
  display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; padding: 0;
  background: none; border: 0; cursor: pointer;
  font-family: var(--font-ui); font-size: .875rem; letter-spacing: .04em; color: var(--text);
}
.motion-toggle__switch { position: relative; width: 40px; height: 24px; border-radius: 999px; background: var(--karte); border: 1.5px solid var(--rahmen); flex-shrink: 0; transition: background-color .25s; }
.motion-toggle__switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 17px; height: 17px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .25s var(--ease); }
.motion-toggle[aria-pressed="true"] .motion-toggle__switch { background: var(--gruen-tief); border-color: var(--gruen-tief); }
.motion-toggle[aria-pressed="true"] .motion-toggle__switch::after { transform: translateX(16px); }
.motion-toggle--light { color: var(--creme); margin-top: 18px; }
.motion-toggle--light .motion-toggle__switch { border-color: rgba(244, 238, 223, .6); background: rgba(244, 238, 223, .18); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 238, 223, .9);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--karte); box-shadow: 0 10px 30px -24px rgba(74, 58, 36, .5); }
.site-header__inner {
  max-width: calc(1200px + 2 * var(--pad-x)); margin-inline: auto; padding-inline: var(--pad-x);
  height: var(--header-h); display: flex; align-items: center; gap: 20px;
}
.brand { display: block; flex-shrink: 0; margin-right: auto; }
.brand img { width: 168px; height: auto; }
@media (min-width: 1100px) { .brand img { width: 200px; } }

.scroll-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--salbei), var(--braun)); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

.site-header__actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-phone {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; min-width: 44px; justify-content: center;
  border-radius: 999px; color: var(--braun-tief); text-decoration: none; white-space: nowrap;
  font-family: var(--font-ui); font-size: .9375rem; letter-spacing: .03em;
}
.header-phone .icon { width: 22px; height: 22px; }
.header-phone__number { display: none; }
.header-phone:hover { color: var(--braun-dunkel); }
.header-cta { display: none; }

.nav-toggle {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid var(--braun-tief); background: transparent; color: var(--braun-tief); cursor: pointer;
}
.nav-toggle .icon { width: 24px; height: 24px; grid-area: 1 / 1; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

.main-nav { --nav-pad: .6rem; }
.main-nav ul { display: flex; gap: 0; }
.main-nav a:not(.main-nav__phone):not(.btn) {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--nav-pad); white-space: nowrap;
  font-family: var(--font-ui); font-weight: 400; font-size: .9375rem; letter-spacing: .02em;
  color: var(--text); text-decoration: none; border-radius: 999px;
  background-image: linear-gradient(var(--braun), var(--braun)); background-size: 0 1.5px; background-repeat: no-repeat; background-position: 50% 78%;
  transition: background-size .3s var(--ease), color .2s;
}
.main-nav a:not(.main-nav__phone):not(.btn):hover,
.main-nav a[aria-current="true"] { color: var(--braun-dunkel); background-size: calc(100% - 2 * var(--nav-pad)) 1.5px; }
.main-nav__phone, .main-nav__motion { display: none; }
.main-nav__cta { margin-bottom: 12px; }

@media (max-width: 1099px) {
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    background: var(--creme); border-bottom: 1px solid var(--karte);
    padding: 20px var(--pad-x) 32px;
    box-shadow: 0 30px 40px -30px rgba(74, 58, 36, .5);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .main-nav ul { flex-direction: column; }
  .main-nav a:not(.main-nav__phone):not(.btn) {
    display: flex; min-height: 56px; padding: 0; border-bottom: 1px solid var(--karte); border-radius: 0;
    font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; letter-spacing: -.01em; color: var(--gruen-tief);
    background: none;
  }
  .main-nav__phone {
    display: inline-flex; align-items: center; gap: .6rem; margin-top: 20px; min-height: 48px;
    color: var(--braun-tief); font-family: var(--font-ui); font-size: 1.0625rem; letter-spacing: .03em; text-decoration: none;
  }
  .main-nav__motion { display: flex; margin-top: 8px; }
  body.nav-open { overflow: hidden; }
}
@media (min-width: 640px) { .header-cta { display: inline-flex; } }
@media (min-width: 1100px) {
  .nav-toggle, .main-nav__cta { display: none; }
}
/* Schmale Desktops: sieben Menüpunkte plus Telefon und Button passen nur etwas enger in die Kopfzeile */
@media (min-width: 1100px) and (max-width: 1279px) {
  .site-header__inner { gap: 14px; }
  .brand img { width: 168px; }
  .main-nav { --nav-pad: .42rem; }
  .main-nav a:not(.main-nav__phone):not(.btn) { font-size: .90625rem; }
}
@media (min-width: 1600px) { .header-phone__number { display: inline; } }

/* ---------- Kapitel-Navigation (Desktop) ---------- */
.chapter-nav { display: none; }
@media (min-width: 1200px) {
  .chapter-nav {
    position: fixed; z-index: 40; right: max(18px, calc(5vw - 22px)); top: 50%; transform: translateY(-50%);
    display: flex; flex-direction: column; align-items: flex-end; gap: 18px;
  }
  .chapter-nav ol { display: grid; gap: 2px; justify-items: end; }
  .chapter-nav a, .chapter-nav__motion { display: flex; align-items: center; gap: 12px; min-height: 30px; text-decoration: none; color: var(--text); }
  .chapter-nav__label {
    font-family: var(--font-ui); font-size: .8125rem; letter-spacing: .04em; white-space: nowrap;
    padding: .2rem .6rem; border-radius: 999px; background: rgba(244, 238, 223, .92);
    opacity: 0; transform: translateX(8px); transition: opacity .3s var(--ease), transform .3s var(--ease);
  }
  .chapter-nav__dot { width: 10px; height: 10px; margin-right: 6px; border-radius: 50%; border: 1.5px solid var(--gruen); background: var(--creme); transition: transform .35s var(--ease), background-color .35s; }
  .chapter-nav a:hover .chapter-nav__label, .chapter-nav a:focus-visible .chapter-nav__label, .chapter-nav__motion:focus-visible .chapter-nav__label,
  .chapter-nav.is-announce a[aria-current="true"] .chapter-nav__label,
  .chapter-nav:hover .chapter-nav__label, .chapter-nav:focus-within .chapter-nav__label { opacity: 1; transform: none; }
  .chapter-nav a[aria-current="true"] .chapter-nav__dot { background: var(--braun-tief); border-color: var(--braun-tief); transform: scale(1.5); }
  .chapter-nav a[aria-current="true"] .chapter-nav__label { color: var(--braun-dunkel); font-weight: 500; }
  .chapter-nav__motion { background: none; border: 0; cursor: pointer; padding: 0; }
  .chapter-nav__motion .motion-toggle__switch { width: 34px; height: 20px; }
  .chapter-nav__motion .motion-toggle__switch::after { width: 13px; height: 13px; }
  .chapter-nav__motion[aria-pressed="true"] .motion-toggle__switch::after { transform: translateX(14px); }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(28px, 5vw, 56px) clamp(72px, 8vw, 112px); }
.hero__grid { display: grid; gap: clamp(40px, 5vw, 72px); align-items: center; }
.hero__title { font-size: clamp(2.5rem, 1.45rem + 3.6vw, 4.1rem); line-height: 1.06; letter-spacing: -.022em; max-width: 13ch; }
.hero__intro { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; margin-top: 1.6rem; max-width: 40rem; }
.hero__avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 3px solid var(--creme); box-shadow: 0 0 0 1.5px var(--salbei), 0 12px 24px -14px rgba(60, 50, 30, .6); margin-top: .2rem; }
.hero__lead { font-size: clamp(1.125rem, 1.05rem + .3vw, 1.25rem); line-height: 1.65; max-width: 36rem; }
@media (max-width: 639px) { .hero__intro { gap: 14px; } .hero__avatar { width: 56px; height: 56px; } }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2.2rem; }
.hero__note { display: flex; align-items: center; gap: .55rem; margin-top: 1.6rem; font-family: var(--font-ui); font-weight: 300; font-size: .875rem; letter-spacing: .06em; color: var(--leise); }
.hero__note .icon { color: var(--gruen-tief); width: 18px; height: 18px; }

@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); min-height: min(800px, calc(100svh - var(--header-h) - 96px)); }
}

.scroll-cue {
  display: none; position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--font-ui); font-size: .8125rem; letter-spacing: .08em; color: var(--leise); text-decoration: none;
}
.scroll-cue__line { width: 1.5px; height: 44px; background: linear-gradient(var(--salbei) 50%, transparent 50%); background-size: 100% 200%; }
.motion-on .scroll-cue__line { animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0% { background-position: 0 100%; } 60%, 100% { background-position: 0 -100%; } }
@media (min-width: 1024px) and (min-height: 760px) { .scroll-cue { display: flex; } }

/* Kreis-Komposition: zentrales Bild, Schwerpunkte auf dem Ring */
.hero__visual { position: relative; }
.orbit { position: relative; width: min(100%, 540px); margin-inline: auto; container-type: inline-size; --mx: 0; --my: 0; }
.orbit__stage { position: relative; aspect-ratio: 1; }
.orbit__wash { position: absolute; inset: -10%; width: 120%; height: 120%; pointer-events: none; translate: calc(var(--mx) * -22px) calc(var(--my) * -22px); }
.orbit__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; transform: rotate(-90deg); translate: calc(var(--mx) * -8px) calc(var(--my) * -8px); }
.orbit__ring circle { fill: none; stroke: var(--salbei); stroke-width: .3; stroke-dasharray: 100; stroke-dashoffset: 0; }
.orbit__dash { position: absolute; inset: 5.5%; border-radius: 50%; border: 1px dashed rgba(112, 127, 102, .5); translate: calc(var(--mx) * -4px) calc(var(--my) * -4px); }
.motion-on .orbit__dash { animation: turn 140s linear infinite; }
@keyframes turn { to { transform: rotate(360deg); } }
.orbit__photo {
  position: absolute; inset: 11%; border-radius: 50%; overflow: hidden;
  box-shadow: 0 40px 70px -40px rgba(60, 50, 30, .7);
  background: var(--karte);
  translate: calc(var(--mx) * 10px) calc(var(--my) * 10px);
}
.orbit__photo img { position: absolute; left: 0; top: -7%; width: 100%; height: 114%; object-fit: cover; object-position: 30% 50%; }
.orbit__photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 90% at 18% 8%, rgba(244, 238, 223, .38), transparent 55%),
    linear-gradient(200deg, rgba(161, 162, 136, .10), rgba(112, 127, 102, .26));
  mix-blend-mode: soft-light;
}

.orbit__nodes { position: absolute; inset: 0; translate: calc(var(--mx) * 16px) calc(var(--my) * 16px); }
.node {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%) rotate(var(--a)) translateX(50cqi) rotate(calc(-1 * var(--a)));
}
.node__pill {
  display: flex; align-items: center; gap: .65rem; width: max-content; max-width: 17rem;
  padding: .4rem .85rem .4rem .4rem;
  font: inherit; color: var(--text); text-align: left; cursor: pointer;
  background: rgba(244, 238, 223, .96); border: 1px solid var(--karte); border-radius: 999px;
  box-shadow: 0 14px 28px -18px rgba(74, 58, 36, .55);
  transition: background-color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.node__pill:hover { border-color: var(--braun); box-shadow: 0 18px 30px -16px rgba(74, 58, 36, .6); }
.node__pill[aria-expanded="true"] { background: var(--gruen-tief); border-color: var(--gruen-tief); color: #fff; }
.motion-on .node__pill { animation: float 6s ease-in-out infinite; }
.motion-on .node:nth-child(2) .node__pill { animation-duration: 7s; animation-delay: -2s; }
.motion-on .node:nth-child(3) .node__pill { animation-duration: 6.5s; animation-delay: -4s; }
.motion-on .node:nth-child(4) .node__pill { animation-duration: 7.5s; animation-delay: -1s; }
.motion-on .node:nth-child(5) .node__pill { animation-duration: 6.8s; animation-delay: -3s; }
.motion-on .node:nth-child(6) .node__pill { animation-duration: 7.2s; animation-delay: -5s; }
@keyframes float { 50% { translate: 0 -7px; } }
.node__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--gruen-tief); color: #fff; flex-shrink: 0; transition: background-color .25s var(--ease), color .25s var(--ease); }
.node__pill[aria-expanded="true"] .node__icon { background: var(--creme); color: var(--gruen-tief); }
.node__icon .icon { width: 22px; height: 22px; }
.node__text { display: grid; line-height: 1.25; hyphens: manual; }
.node__text strong { font-size: 1rem; color: inherit; }
.node__more { width: 18px; height: 18px; flex-shrink: 0; margin-left: auto; color: var(--braun-tief); transition: transform .3s var(--ease), color .25s; }
.node__pill[aria-expanded="true"] .node__more { transform: rotate(45deg); color: #fff; }

/* Erklärung zum angetippten Fachbereich: auf dem Kreis über dem Foto, am Handy unter den Buttons */
.orbit__infos { position: absolute; left: 50%; bottom: 4%; z-index: 3; width: min(76%, 23rem); transform: translateX(-50%); }
/* Button in der unteren Hälfte angetippt: Erklärung oben, damit der Button sichtbar bleibt */
.orbit[data-info-pos="oben"] .orbit__infos { bottom: auto; top: 4%; }
.node-info {
  position: relative; padding: 1.1rem 3rem 1.15rem 1.25rem;
  background: var(--creme); border: 1px solid var(--karte); border-radius: var(--radius-m);
  box-shadow: var(--shadow-lift);
}
.node-info > * + * { margin-top: .55rem; }
.node-info p { margin-bottom: 0; line-height: 1.5; }
.node-info__title { font-family: var(--font-head); font-weight: 700; font-size: 1.1875rem; color: var(--gruen-tief); line-height: 1.2; }
.node-info .text-link { display: inline-block; margin-top: .7rem; }
.node-info__close {
  position: absolute; top: .55rem; right: .55rem; display: grid; place-items: center; width: 36px; height: 36px;
  border: 0; border-radius: 50%; background: transparent; color: var(--braun-tief); cursor: pointer;
}
.node-info__close:hover { background: var(--karte-zart); }
.node-info__close .icon { width: 20px; height: 20px; }
.motion-on .node-info:not([hidden]) { animation: info-in .4s var(--ease); }
@media (min-width: 640px) {
  /* filter statt opacity: opacity steuert GSAP beim Einstieg */
  .node__pill { transition: background-color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease), filter .25s var(--ease); }
  .orbit.is-info-open .node__pill[aria-expanded="false"]:not(:hover, :focus-visible) { filter: opacity(.4); }
}
@keyframes info-in { from { opacity: 0; transform: translateY(10px) scale(.97); } }

@media (max-width: 639px) {
  /* Zwei Spalten auch auf 360 px: „Querschnitt-“ braucht rund 83 px Textbreite */
  .orbit__nodes { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 28px; translate: none; }
  .node { position: static; transform: none; }
  .node__pill { width: 100%; max-width: none; height: 100%; gap: .4rem; border-radius: var(--radius-m); padding: .5rem .5rem .5rem .45rem; }
  .motion-on .node__pill { animation: none; }
  .node__icon { width: 30px; height: 30px; }
  .node__icon .icon { width: 17px; height: 17px; }
  .node__text { min-width: 0; overflow-wrap: anywhere; }
  .node__text strong { font-size: .875rem; }
  .node__more { width: 14px; height: 14px; }
  .orbit__infos { position: static; width: auto; margin-top: 10px; transform: none; }
}

/* Bis die Animation startet, Intro-Elemente verbergen (kein Aufblitzen) */
.motion-pending [data-intro] { visibility: hidden; }

/* ---------- Scrollytelling: Alltag ---------- */
/* --story-size: Kreisdurchmesser; Ring (r = 49 im viewBox 100) und Punkte nutzen denselben Radius 0,49 × Durchmesser */
.story { --story-size: min(58vw, 38vh, 520px); background: linear-gradient(180deg, var(--creme), #EFE8D6 30%, #EFE8D6 70%, var(--creme)); }
.story__grid { display: grid; gap: 24px; }
.story__stage { position: sticky; top: calc(var(--header-h) + 12px); z-index: 1; align-self: start; display: grid; justify-items: center; gap: 14px; padding-block: 8px; }
.story__circle { position: relative; width: var(--story-size); aspect-ratio: 1; }
.story__wash { position: absolute; inset: -12%; width: 124%; height: 124%; pointer-events: none; }
.story__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; transform: rotate(-90deg); }
.story__track { fill: none; stroke: var(--karte); stroke-width: .9; }
.story__progress { fill: none; stroke: var(--braun-tief); stroke-width: .9; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.story__photo { position: absolute; inset: 7%; border-radius: 50%; overflow: hidden; background: var(--karte); box-shadow: 0 36px 70px -40px rgba(60, 50, 30, .7); isolation: isolate; }
.story__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.story__photo img.is-current { opacity: 1; }
.story__dots li { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(var(--a)) translateX(calc(var(--story-size) * .49)) rotate(calc(-1 * var(--a))); }
.story__dots button { position: relative; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 50%; }
.story__dot { width: 16px; height: 16px; border-radius: 50%; background: var(--creme); border: 2px solid var(--braun-tief); transition: transform .4s var(--ease), background-color .4s; }
.story__dots button[aria-current="true"] .story__dot { background: var(--braun-tief); transform: scale(1.35); }
.story__dot-label { display: none; }
.story__count { margin-top: 10px; font-family: var(--font-ui); font-size: .875rem; letter-spacing: .08em; color: var(--leise); font-variant-numeric: tabular-nums; }

.story__scenes { position: relative; z-index: 2; }
.scene { min-height: 72vh; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 6vh; }
.scene__card {
  background: rgba(250, 246, 236, .96); border: 1px solid var(--karte); border-radius: var(--radius-l);
  padding: 28px; box-shadow: var(--shadow-soft);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.scene:not(.is-active) .scene__card { opacity: .45; }
.scene__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--gruen-tief); color: #fff; margin-bottom: 1rem; }
.scene__icon .icon { width: 24px; height: 24px; }
.scene h3 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); margin-bottom: .7rem; }
.scene p { font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); }

/* Mobil: Bühne liegt oben wie ein Fenster, die Szenen-Karten gleiten darunter durch */
@media (max-width: 1023px) {
  .story__stage {
    top: var(--header-h); z-index: 3; margin-inline: calc(-1 * var(--pad-x)); padding: 20px var(--pad-x) 26px;
    background: linear-gradient(180deg, #EFE8D6 0%, #EFE8D6 86%, rgba(239, 232, 214, 0) 100%);
  }
}

/* ohne JavaScript: Bilder direkt in den Szenen, keine Bühne */
html:not(.js) .story__stage { display: none; }
.js .scene__img { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
html:not(.js) .scene__img { border-radius: var(--radius-l); margin-bottom: 16px; }
html:not(.js) .scene { min-height: 0; padding-bottom: 32px; }

@media (min-width: 1024px) {
  .story__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(48px, 6vw, 96px); }
  .story { --story-size: min(36vw, 62vh, 540px); }
  .story__stage { top: calc(var(--header-h) + (100vh - var(--header-h) - var(--story-size)) / 2 - 20px); }
  .story__count { margin-top: 2.6rem; } /* Abstand zur Beschriftung „Sitzen“ unter dem unteren Punkt */
  .story__dot-label {
    display: block; position: absolute; white-space: nowrap; pointer-events: none;
    font-family: var(--font-ui); font-size: .875rem; letter-spacing: .05em; color: var(--leise);
    transition: color .3s;
  }
  .story__dots li:nth-child(1) .story__dot-label { bottom: 100%; }
  .story__dots li:nth-child(2) .story__dot-label { left: 100%; }
  .story__dots li:nth-child(3) .story__dot-label { top: 100%; }
  .story__dots li:nth-child(4) .story__dot-label { right: 100%; }
  .story__dots button[aria-current="true"] .story__dot-label { color: var(--braun-dunkel); font-weight: 500; }
  .scene { min-height: 88vh; justify-content: center; padding-bottom: 0; }
  .scene__card { padding: 40px; background: transparent; border-color: transparent; box-shadow: none; }
  .scene:not(.is-active) .scene__card { opacity: .28; transform: translateX(14px); }
  .story__scenes { padding-block: 6vh 18vh; }
}

/* ---------- Über mich ---------- */
.about__grid { display: grid; gap: clamp(40px, 6vw, 88px); }
.about__person { display: flex; align-items: center; gap: 18px; margin-bottom: 28px; }
.about__portrait { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 4px solid var(--creme); box-shadow: 0 0 0 1.5px var(--salbei); }
.about__name { display: grid; line-height: 1.3; }
.about__name strong { font-size: 1.125rem; }
.about__name span { font-family: var(--font-ui); font-weight: 300; font-size: .875rem; letter-spacing: .06em; color: var(--leise); }
.about__quote { margin: 2rem 0 0; padding-left: 1.4rem; border-left: 2px solid var(--braun); }
.about__quote p { font-family: var(--font-head); font-style: italic; font-weight: 400; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); line-height: 1.4; color: var(--gruen-tief); }
.about__body { margin-top: 2rem; display: grid; gap: 1.1rem; max-width: 40rem; }
.about__facts { display: grid; gap: 36px; margin-top: 3rem; padding-top: 2.4rem; border-top: 1px solid var(--karte); }
.facts-block h3 { font-size: 1.375rem; margin-bottom: 1.1rem; }

.timeline { display: grid; gap: 1rem; padding-left: 1.6rem; }
.timeline li { position: relative; display: grid; line-height: 1.4; }
.timeline li::before { content: ""; position: absolute; left: -1.6rem; top: .38rem; width: 12px; height: 12px; border-radius: 50%; background: var(--creme); border: 2px solid var(--gruen); z-index: 1; transition: background-color .5s var(--ease), transform .5s var(--ease); }
.timeline li:not(:last-child)::after { content: ""; position: absolute; left: calc(-1.6rem + 5px); top: calc(.38rem + 12px); bottom: calc(-1rem - .38rem); width: 1.5px; background: var(--salbei); transform-origin: 50% 0; transform: scaleY(var(--fill, 1)); }
.timeline li.is-reached::before, .timeline li:first-child::before { background: var(--gruen); } /* neuester Eintrag (Start 2027) steht oben */
.motion-on .timeline li:not(.is-reached)::after { --fill: 0; }
.motion-on .timeline li::after { transition: transform .7s var(--ease); }
.timeline__year { font-family: var(--font-ui); font-weight: 400; font-size: .875rem; letter-spacing: .06em; color: var(--gruen-tief); }

.courses { display: grid; }
.courses li { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem 0; border-bottom: 1px solid var(--karte); line-height: 1.4; font-size: 1.0625rem; }
.courses li:first-child { padding-top: 0; }
.courses__year { font-family: var(--font-ui); font-size: .875rem; letter-spacing: .06em; color: var(--gruen-tief); white-space: nowrap; padding-top: .15em; }

.about__media { align-self: start; }
.about__media-frame { position: relative; border-radius: 999px 999px var(--radius-l) var(--radius-l); overflow: hidden; background: var(--karte); box-shadow: var(--shadow-soft); aspect-ratio: 3 / 4; }
.about__media-frame img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; }
.about__media-stage { position: relative; }
.about__inset {
  position: absolute; left: -10%; bottom: -7%; width: 42%; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  border: 6px solid var(--creme); box-shadow: 0 24px 40px -22px rgba(60, 50, 30, .65); background: var(--karte);
  translate: 0 var(--inset-y, 0px); /* Parallax per GSAP über die Variable, verträgt sich mit dessen transform */
}
.about__inset img { width: 100%; height: 100%; object-fit: cover; }
.about__media figcaption { margin-top: calc(1rem + 7%); font-size: 1rem; color: var(--leise); max-width: 30rem; padding-left: 34%; }
@media (max-width: 1023px) { .about__inset { left: -12px; } }

@media (min-width: 900px) { .about__facts { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (min-width: 1024px) {
  .about__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; }
  .about__media { position: sticky; top: calc(var(--header-h) + 32px); }
}
@media (max-width: 1023px) { .about__media { max-width: 460px; } }

/* ---------- Leistungen ---------- */
.services__group-title {
  font-family: var(--font-ui); font-weight: 400; font-size: .9375rem; letter-spacing: .08em; color: var(--gruen-tief);
  display: flex; align-items: center; gap: 14px; margin-bottom: 22px;
}
.services__group-title::after { content: ""; flex: 1; height: 1px; background: var(--karte); }
.cards + .services__group-title { margin-top: clamp(48px, 6vw, 72px); }

.cards { display: grid; gap: 24px; }
.card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius-l); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.card:hover, .card:focus-within { transform: translateY(-6px); box-shadow: var(--shadow-lift); }

.card--focus { background: var(--karte); overflow: hidden; }
.card__art { position: relative; height: 170px; display: grid; place-items: center start; padding-left: 32px; background: linear-gradient(160deg, #DCD6C3, var(--karte)); }
.card__blob { position: absolute; left: -10px; top: 50%; width: 230px; height: 230px; transform: translateY(-50%); }
.card__badge { position: relative; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--gruen-tief); color: #fff; border: 5px solid var(--creme); box-shadow: 0 16px 30px -18px rgba(60, 50, 30, .7); }
.card__badge .icon { width: 36px; height: 36px; stroke-width: 1.6; }
.card__body { display: flex; flex-direction: column; gap: 1rem; flex: 1; padding: 8px 32px 32px; }
.card__title { font-size: 1.625rem; }
.card__cta { margin-top: auto; align-self: flex-start; }

.card--more { background: var(--karte-zart); padding: 32px; gap: .9rem; }
.card--more .card__title { font-size: 1.3125rem; }
.card__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--salbei); color: var(--gruen-tief); background: var(--creme); transition: transform .5s var(--ease), background-color .3s, color .3s; }
.card--more:hover .card__icon { transform: rotate(-8deg) scale(1.06); background: var(--gruen-tief); color: #fff; }
.card__icon .icon { width: 26px; height: 26px; }
.card--more p { font-size: 1.0625rem; }
.card--more .text-link { color: var(--braun-dunkel); }

@media (min-width: 700px) and (max-width: 1023px) { .cards--focus { grid-template-columns: repeat(2, 1fr); } .cards--focus .card:last-child { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .cards--focus { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 600px)  { .cards--more { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cards--more { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Scrollytelling: Ablauf als Weg ---------- */
.journey-section { background: var(--karte-zart); overflow: hidden; }
.journey { position: relative; }
.journey__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; display: none; }
.js .journey__svg { display: block; }
.journey__track { fill: none; stroke: var(--salbei); stroke-width: 2; stroke-dasharray: 2 9; stroke-linecap: round; }
.journey__done { fill: none; stroke: var(--braun-tief); stroke-width: 3.5; stroke-linecap: round; }
.journey__marker {
  position: absolute; left: 0; top: 0; z-index: 3; display: none; place-items: center;
  width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%;
  background: var(--braun-tief); color: #fff; border: 4px solid var(--creme);
  box-shadow: 0 16px 30px -14px rgba(60, 40, 20, .8);
  will-change: transform;
}
.journey__marker .icon { width: 28px; height: 28px; }
.motion-on .journey__marker { display: grid; }

.journey__steps { position: relative; z-index: 2; display: grid; gap: clamp(28px, 5vh, 56px); }
.jstep { display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: start; }
.jstep__pin {
  position: relative; z-index: 2; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--creme); border: 2px solid var(--gruen); color: var(--gruen-tief);
  font-family: var(--font-head); font-weight: 700; font-size: 1.375rem; font-variant-numeric: lining-nums;
  transition: background-color .5s var(--ease), color .5s, border-color .5s, transform .5s var(--ease);
}
.jstep__card {
  background: var(--creme); border-radius: var(--radius-l); padding: 24px 28px; box-shadow: var(--shadow-soft);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.jstep__card h3 { font-size: 1.375rem; margin-bottom: .5rem; }
.jstep__card p { font-size: 1.0625rem; }
.jstep__card .text-link { display: inline-block; margin-top: .8rem; }
.motion-on .jstep:not(.is-reached) .jstep__card { opacity: .5; transform: translateY(10px); }
.jstep.is-reached .jstep__pin { background: var(--gruen-tief); border-color: var(--gruen-tief); color: #fff; }

@media (min-width: 900px) {
  .journey__steps { gap: 24px; }
  .jstep { grid-template-columns: 1fr 140px 1fr; gap: 0; min-height: 190px; align-items: center; }
  .jstep__pin { grid-column: 2; grid-row: 1; justify-self: center; }
  .jstep:nth-child(odd) .jstep__pin { transform: translateX(-34px); }
  .jstep:nth-child(even) .jstep__pin { transform: translateX(34px); }
  .jstep:nth-child(odd) .jstep__card { grid-column: 1; grid-row: 1; }
  .jstep:nth-child(even) .jstep__card { grid-column: 3; grid-row: 1; }
  .jstep__card { padding: 28px 32px; }
  .jstep.is-reached:nth-child(odd) .jstep__pin { transform: translateX(-34px) scale(1.08); }
  .jstep.is-reached:nth-child(even) .jstep__pin { transform: translateX(34px) scale(1.08); }
}

/* ---------- Bildband ---------- */
.band { position: relative; min-height: clamp(520px, 86vh, 860px); display: flex; align-items: flex-end; overflow: hidden; background: var(--gruen-dunkel); }
.band__media { position: absolute; inset: 0; }
.band__media img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; object-position: 50% 40%; }
.band__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(38, 44, 33, .86) 0%, rgba(38, 44, 33, .55) 34%, rgba(38, 44, 33, 0) 62%),
    linear-gradient(90deg, rgba(38, 44, 33, .35), rgba(38, 44, 33, 0) 60%);
}
.band__content { padding-block: clamp(48px, 8vw, 96px); color: var(--creme); }
.band__content h2 { color: var(--creme); font-size: clamp(2.2rem, 1.4rem + 3vw, 4rem); max-width: 16ch; line-height: 1.08; }
.band__content p { margin: 1.1rem 0 1.8rem; max-width: 34rem; font-size: clamp(1.125rem, 1.05rem + .3vw, 1.25rem); }
/* Mobil/Tablet: Bild oben, Text darunter auf Grün */
@media (max-width: 1023px) {
  .band { display: block; min-height: 0; }
  .band__media { position: relative; height: min(64vh, 120vw); overflow: hidden; }
  .band__media img { object-position: 64% 67%; }
  .band__media::after { background: linear-gradient(0deg, var(--gruen-dunkel) 0%, rgba(74, 86, 68, 0) 28%); }
  .band__content { padding-top: 8px; }
}
/* Desktop: Die Igelbälle bleiben links neben dem Text sichtbar. */
@media (min-width: 1024px) {
  .band { align-items: center; }
  .band__media img { width: min(68%, 130vh); object-position: 58% 65%; mask-image: linear-gradient(90deg, #000 78%, transparent); }
  .band__content { display: flex; flex-direction: column; align-items: flex-start; padding-left: calc(var(--pad-x) + 52%); }
  .band__content h2 { font-size: clamp(2.2rem, 1.2rem + 2.2vw, 3.4rem); }
  .band__media::after {
    background:
      linear-gradient(270deg, rgba(38, 44, 33, .88) 0%, rgba(38, 44, 33, .7) 34%, rgba(38, 44, 33, 0) 56%),
      linear-gradient(0deg, rgba(38, 44, 33, .35), rgba(38, 44, 33, 0) 40%);
  }
}
.band :focus-visible { outline-color: var(--creme); }

/* ---------- Stimmen (Karussell ohne horizontalen Scrollbereich) ---------- */
.carousel { --per: 1; --gap: 24px; }
@media (min-width: 900px) { .carousel { --per: 2; } }
.carousel__viewport { overflow: hidden; border-radius: var(--radius-l); touch-action: pan-y; }
.carousel__track { display: flex; gap: var(--gap); transition: transform .8s var(--ease); will-change: transform; }
.carousel__track.is-dragging { transition: none; }
.voice {
  position: relative; flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per));
  display: flex; flex-direction: column; gap: 1.6rem;
  background: var(--karte); border-radius: var(--radius-l); padding: 32px;
  user-select: none; transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.voice[aria-hidden="true"] { opacity: .45; transform: scale(.97); }
@media (min-width: 640px) { .voice { padding: 40px; } }
.voice__tag {
  align-self: flex-start; font-family: var(--font-ui); font-weight: 400; font-size: .875rem; letter-spacing: .05em;
  color: var(--braun-dunkel); border: 1.5px dashed var(--braun-dunkel); border-radius: 999px; padding: .2rem .8rem;
}
.voice blockquote { margin: 0; flex: 1; }
.voice blockquote p { font-family: var(--font-head); font-style: italic; font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); line-height: 1.45; color: var(--text); }
.voice__author { display: flex; align-items: center; gap: 14px; line-height: 1.3; }
.voice__author > span:last-child { display: grid; }
.voice__author strong { font-size: 1.0625rem; }
.voice__avatar {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0;
  background: var(--gruen-tief); color: var(--creme); font-family: var(--font-head); font-weight: 700; font-size: 1.4rem;
  box-shadow: 0 0 0 4px var(--karte), 0 0 0 5.5px var(--salbei);
}
/* Sterne: ausgefüllt, Markenbraun (Grafik-Kontrast auf Karte über 3 : 1) */
.stars { display: inline-flex; gap: 2px; color: var(--braun-tief); }
.stars .icon { width: 20px; height: 20px; fill: currentColor; stroke: currentColor; stroke-width: 1; }
.voice__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.rating-summary { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .8rem; font-family: var(--font-ui); font-size: .9375rem; letter-spacing: .03em; }
.rating-summary .stars .icon { width: 24px; height: 24px; }
.rating-summary strong { font-family: var(--font-head); font-size: 1.625rem; letter-spacing: 0; color: var(--gruen-tief); margin-right: .2rem; }
.carousel__controls { display: flex; gap: 12px; }
.carousel__dots { display: flex; justify-content: center; gap: 4px; margin-top: 24px; }
.carousel__dot { width: 32px; height: 32px; display: grid; place-items: center; border: 0; background: transparent; cursor: pointer; padding: 0; border-radius: 50%; }
.carousel__dot::before { content: ""; width: 10px; height: 10px; border-radius: 999px; background: var(--salbei); transition: width .35s var(--ease), background-color .35s; }
.carousel__dot[aria-current="true"]::before { width: 28px; background: var(--braun-tief); }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; gap: 40px; }
.faq__intro p { margin: 1.1rem 0 1.6rem; max-width: 26rem; }
@media (min-width: 1024px) {
  .faq__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 72px; align-items: start; }
  .faq__intro { position: sticky; top: calc(var(--header-h) + 32px); }
}
.faq-item { border-bottom: 1px solid var(--karte); }
.faq-item:first-child { border-top: 1px solid var(--karte); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 1.4rem 0; cursor: pointer; list-style: none; border-radius: 6px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: clamp(1.1875rem, 1.1rem + .35vw, 1.375rem); color: var(--text); transition: color .2s, transform .35s var(--ease); }
.faq-item summary:hover h3 { color: var(--gruen-tief); transform: translateX(4px); }
.faq-item__icon {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  border: 1.5px solid var(--braun-tief); color: var(--braun-tief);
  transition: transform .45s var(--ease), background-color .3s, color .3s;
}
.faq-item__icon .icon { width: 20px; height: 20px; }
.faq-item[open] .faq-item__icon { transform: rotate(135deg); background: var(--braun-tief); color: #fff; }
.faq-item__content { padding: 0 0 1.6rem; max-width: 44rem; overflow: hidden; }
.faq__list { min-width: 0; }
.faq-item__content > * + * { margin-top: 1rem; }

/* Honorar und Rückerstattung: Spalte 1 Leistung, dann Honorar, dann je Kasse */
.tariff-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tariff { width: 100%; max-width: 40rem; border-collapse: collapse; font-size: 1.0625rem; }
.tariff caption { text-align: left; font-family: var(--font-ui); font-size: .875rem; letter-spacing: .04em; color: var(--leise); padding-bottom: .5rem; }
.tariff thead th { text-align: right; vertical-align: bottom; font-family: var(--font-ui); font-weight: 400; font-size: .875rem; letter-spacing: .04em; line-height: 1.3; color: var(--gruen-tief); padding: .4rem 0 .4rem .9rem; border-bottom: 1.5px solid var(--salbei); }
.tariff thead th:first-child { text-align: left; padding-left: 0; }
.tariff tbody th { text-align: left; font-weight: 400; padding: .55rem 0; border-bottom: 1px solid var(--karte); white-space: nowrap; }
.tariff td { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; padding: .55rem 0 .55rem .9rem; border-bottom: 1px solid var(--karte); }
.tariff td:nth-child(2) { font-weight: 700; }
.tariff sup { font-size: .7em; line-height: 0; }
.tariff-notes { margin: .6rem 0 0; padding-left: 1.2rem; list-style: decimal; font-size: .9375rem; color: var(--leise); }
.tariff-notes li + li { margin-top: .2rem; }
.tariff-source { font-size: .9375rem; color: var(--leise); }
@media (max-width: 639px) {
  .tariff { font-size: .875rem; }
  .tariff thead th { font-size: .75rem; letter-spacing: .02em; padding-left: .35rem; }
  .tariff td { padding-left: .35rem; }
}

/* ---------- Tarife (eigenes Kapitel nach dem Ablauf) ---------- */
.blob--pricing { left: -14vw; top: 10%; }
.pricing__grid { display: grid; gap: clamp(24px, 3vw, 40px); }
.pricing__card {
  min-width: 0; padding: clamp(18px, 3.2vw, 40px);
  background: var(--feld); border: 1px solid var(--karte); border-radius: var(--radius-l); box-shadow: var(--shadow-soft);
}
.pricing__card .tariff { max-width: none; }
.pricing__card .tariff-source { margin-top: 1rem; }
.pricing__aside {
  display: flex; flex-direction: column; align-items: flex-start; gap: 1rem;
  padding: clamp(24px, 3vw, 36px); background: var(--karte-zart); border-radius: var(--radius-l);
}
.pricing__aside h3 { font-size: 1.375rem; }
.pricing__aside p { font-size: 1.0625rem; }
.pricing__links { display: grid; gap: .7rem; }
.pricing__links .text-link { font-size: 1.0625rem; }
.pricing__aside .btn { margin-top: .2rem; }
@media (max-width: 639px) {
  .pricing__card { padding: 20px 14px; border-radius: var(--radius-m); }
  .pricing__card .tariff tbody th { white-space: normal; } /* „je Kilometer“ darf umbrechen, Minuten-Zeilen haben ein festes Leerzeichen */
}
/* Sehr schmale Handys (360 px): Karte reicht näher an den Rand, damit alle fünf Spalten ohne Querscrollen passen */
@media (max-width: 389px) {
  .pricing__card { margin-inline: -10px; padding-inline: 12px; }
  .pricing__aside { margin-inline: -10px; }
}
@media (min-width: 1024px) {
  .pricing__grid { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); align-items: start; }
}

/* ---------- Kontakt ---------- */
.contact { background: var(--gruen-dunkel); color: var(--creme); border-radius: clamp(28px, 5vw, 56px) clamp(28px, 5vw, 56px) 0 0; }
.contact h2 { color: var(--creme); }
.contact__grid { display: grid; gap: clamp(40px, 5vw, 72px); }
@media (min-width: 1024px) { .contact__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; } }
.contact__lead { margin-top: 1.1rem; max-width: 30rem; }
.contact__direct { display: grid; gap: 14px; margin-top: 2rem; }
.contact__big-link {
  display: flex; align-items: center; gap: 16px; text-decoration: none; color: var(--creme);
  font-family: var(--font-head); font-weight: 700; font-size: clamp(1.25rem, 1.05rem + .8vw, 1.625rem); letter-spacing: -.01em; line-height: 1.2; font-variant-numeric: lining-nums;
  border-radius: var(--radius-m); padding: 6px 8px 6px 0; overflow-wrap: anywhere;
}
.contact__big-link > span:last-child { display: grid; gap: 2px; }
.contact__big-link:hover .contact__icon { background: var(--creme); color: var(--gruen-dunkel); }
.contact__label { font-family: var(--font-ui); font-weight: 300; font-size: .875rem; letter-spacing: .06em; color: var(--hell-auf-gruen); }
.contact__icon {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0;
  border: 1.5px solid rgba(244, 238, 223, .55); color: var(--creme); transition: background-color .25s, color .25s;
}
.contact__icon .icon { width: 24px; height: 24px; }
.contact__facts { display: grid; gap: 18px; margin: 2.4rem 0 0; padding-top: 2rem; border-top: 1px solid rgba(244, 238, 223, .22); }
.contact__facts dt { display: flex; align-items: center; gap: .5rem; font-family: var(--font-ui); font-weight: 400; font-size: .875rem; letter-spacing: .06em; color: var(--hell-auf-gruen); }
.contact__facts dt .icon { width: 18px; height: 18px; }
.contact__facts dd { margin: .25rem 0 0; font-size: 1.0625rem; }

.area-map { margin-top: 2.4rem; max-width: 380px; }
.area-map svg { width: 100%; height: auto; overflow: visible; }
.area-map__zone { fill: rgba(161, 162, 136, .28); stroke: var(--salbei); stroke-width: 1.5; }
.area-map__zone--small { fill: rgba(161, 162, 136, .2); }
.area-map__town circle { fill: var(--creme); }
.area-map__town text { fill: var(--creme); font-family: var(--font-body); font-weight: 700; font-size: 15px; }
.area-map__pulse { fill: none; stroke: var(--creme); stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; }
.area-map figcaption { margin-top: .6rem; font-size: .9375rem; color: var(--hell-auf-gruen); }

.contact__form-wrap { background: var(--creme); color: var(--text); border-radius: clamp(22px, 3vw, 32px); padding: clamp(24px, 4vw, 48px); box-shadow: 0 40px 60px -40px rgba(20, 24, 18, .55); }
.form__title { font-size: 1.75rem; }
.form__hint { margin-top: .4rem; font-size: .9375rem; color: var(--leise); }
.form { display: grid; gap: 22px; }
.form > .form__title + .form__hint { margin-top: -14px; }
.field { display: grid; gap: .45rem; align-content: start; }
.field-row { display: grid; gap: 22px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label, .field legend { font-weight: 700; font-size: 1rem; }
.req { color: var(--braun-tief); }
.optional { font-weight: 400; color: var(--leise); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: .8rem 1rem;
  background: var(--feld); border: 1.5px solid var(--rahmen); border-radius: 14px;
  font-size: 1.0625rem; line-height: 1.4;
  transition: border-color .2s, box-shadow .25s var(--ease), background-color .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--gruen-tief); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gruen-tief); box-shadow: 0 0 0 4px rgba(86, 99, 80, .28); }
.field__hint { font-size: .9375rem; color: var(--leise); line-height: 1.45; }
.field__error { display: flex; align-items: flex-start; gap: .4rem; font-size: .9375rem; font-weight: 700; color: var(--fehler); line-height: 1.4; }
.field__error .icon { width: 18px; height: 18px; margin-top: .1em; }
.motion-on .field__error:not([hidden]) { animation: nudge .45s var(--ease); }
@keyframes nudge { 0% { opacity: 0; transform: translateY(-4px); } 100% { opacity: 1; transform: none; } }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--fehler); border-width: 2px; background: #FFF8F5; }
.field.is-valid input { border-color: var(--gruen-tief); }

.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 2.8rem; cursor: pointer; }
.select::after { content: ""; position: absolute; right: 1.1rem; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--braun-tief); border-bottom: 2px solid var(--braun-tief); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.select.is-flash select { animation: flash 1.2s var(--ease); }
@keyframes flash { 0%, 100% { box-shadow: 0 0 0 0 rgba(118, 91, 59, 0); } 30% { box-shadow: 0 0 0 6px rgba(118, 91, 59, .35); } }

.field--choice { border: 0; padding: 0; margin: 0; min-width: 0; }
.field--choice legend { padding: 0; margin-bottom: .6rem; }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; display: inline-flex; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 46px; padding: .55rem 1.1rem;
  border: 1.5px solid var(--rahmen); border-radius: 999px; background: var(--feld);
  font-size: 1rem; cursor: pointer; transition: background-color .25s, border-color .25s, color .25s, transform .2s var(--ease);
}
.choice:active span { transform: scale(.97); }
.choice span::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--rahmen); background: var(--feld); flex-shrink: 0; transition: box-shadow .25s, border-color .25s; }
.choice input:checked + span { background: var(--gruen-tief); border-color: var(--gruen-tief); color: #fff; }
.choice input:checked + span::before { border-color: #fff; box-shadow: inset 0 0 0 4px var(--gruen-tief), inset 0 0 0 10px #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--gruen-dunkel); outline-offset: 3px; }

.field--check { margin-top: 4px; }
.check { display: flex; gap: .8rem; align-items: flex-start; font-weight: 400 !important; font-size: 1rem !important; line-height: 1.5; cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; width: 26px; height: 26px; min-height: 0; flex-shrink: 0; margin: 0; padding: 0; border-radius: 8px; border: 1.5px solid var(--rahmen); background: var(--feld); cursor: pointer; display: grid; place-items: center; transition: background-color .2s, border-color .2s; }
.check input::after { content: ""; width: 7px; height: 13px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translate(-1px, -1px) scale(0); transition: transform .25s var(--ease); }
.check input:checked { background: var(--gruen-tief); border-color: var(--gruen-tief); }
.check input:checked::after { transform: rotate(45deg) translate(-1px, -1px) scale(1); }
.field--check.is-invalid .check input { border-color: var(--fehler); border-width: 2px; }

.form__error-summary { border: 2px solid var(--fehler); border-radius: var(--radius-m); background: #FFF8F5; padding: 1rem 1.2rem; color: var(--fehler); font-weight: 700; }
.form__error-summary ul { margin-top: .4rem; padding-left: 1.2rem; list-style: disc; font-weight: 400; }
.form__error-summary a { color: var(--fehler); }

.btn__spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .45); border-top-color: #fff; animation: spin .8s linear infinite; }
.btn.is-loading .btn__spinner { display: inline-block; }
.btn.is-loading { pointer-events: none; opacity: .9; }
@keyframes spin { to { transform: rotate(360deg); } }

.form__privacy { display: flex; gap: .5rem; align-items: center; justify-content: center; font-size: .9375rem; color: var(--leise); margin-top: -6px; text-align: center; }
.form__privacy .icon { width: 18px; height: 18px; color: var(--gruen-tief); }

.form-success { text-align: center; padding: clamp(16px, 4vw, 40px) 0; display: grid; justify-items: center; gap: 1rem; }
.form-success__icon { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--gruen-tief); color: #fff; }
.motion-on .form-success__icon { animation: pop-in .7s var(--ease) both; }
.form-success__icon .icon { width: 38px; height: 38px; stroke-width: 2.25; stroke-dasharray: 24; stroke-dashoffset: 0; }
.motion-on .form-success__icon .icon { animation: draw .6s var(--ease) .35s both; }
.form-success h3 { font-size: 2rem; }
.form-success p { max-width: 28rem; }
@keyframes pop-in { from { transform: scale(.5); opacity: 0; } }
@keyframes draw { from { stroke-dashoffset: 24; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--gruen-dunkel); color: var(--creme); padding: 0 0 32px; }
.site-footer__grid { display: grid; gap: 32px; padding-top: 56px; border-top: 1px solid rgba(244, 238, 223, .22); }
.site-footer__brand img { width: 200px; background: var(--creme); border-radius: 16px; padding: 10px 14px; box-sizing: content-box; }
.site-footer__brand p { margin-top: 1rem; max-width: 22rem; font-size: 1rem; }
.site-footer__nap { font-style: normal; font-size: 1rem; line-height: 1.7; }
.site-footer a { color: var(--creme); text-underline-offset: .2em; }
.site-footer a:hover { text-decoration-thickness: 2px; }
.site-footer__nav ul { display: grid; gap: .4rem; }
.site-footer__nav a { display: inline-flex; min-height: 32px; align-items: center; font-family: var(--font-ui); font-size: .9375rem; letter-spacing: .04em; }
.site-footer__meta { display: flex; justify-content: space-between; gap: 16px; margin-top: 40px; font-family: var(--font-ui); font-weight: 300; font-size: .875rem; letter-spacing: .05em; color: var(--hell-auf-gruen); }
@media (min-width: 900px) { .site-footer__grid { grid-template-columns: 1.3fr 1fr .8fr; } }

/* ---------- Mobile Aktionsleiste ---------- */
.mobile-bar {
  position: fixed; z-index: 45; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; padding: 8px;
  background: var(--gruen-dunkel); border-radius: 999px; box-shadow: 0 18px 40px -16px rgba(30, 30, 20, .6);
  transition: transform .45s var(--ease), opacity .45s;
}
.mobile-bar .btn { min-height: 52px; padding-inline: 1rem; font-size: 1rem; }
.mobile-bar.is-hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }
body { padding-bottom: 88px; }
@media (min-width: 1024px) {
  .mobile-bar { display: none; }
  body { padding-bottom: 0; }
}

/* ---------- Bewegung reduzieren ---------- */
.motion-off { scroll-behavior: auto; }
.motion-off *, .motion-off *::before, .motion-off *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
@media (prefers-reduced-motion: reduce) {
  html:not(.motion-on) { scroll-behavior: auto; }
  html:not(.motion-on) *, html:not(.motion-on) *::before, html:not(.motion-on) *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Unterseiten (Impressum, Datenschutz, Barrierefreiheit) */
.legal { padding-block: var(--section-y); }
.legal .wrap > * + * { margin-top: 1.1rem; }
.legal h1 { font-size: clamp(2.2rem, 1.6rem + 2vw, 3rem); }
.legal h2 { font-size: 1.5rem; margin-top: 2.2rem; }
.legal__content > * { max-width: 46rem; } /* Lesebreite, linksbündig mit dem Logo */
.legal__lead { font-size: clamp(1.125rem, 1.05rem + .3vw, 1.25rem); line-height: 1.65; }
.legal ul { list-style: disc; padding-left: 1.3rem; }
.legal ul li + li { margin-top: .5rem; }
.legal ul li::marker { color: var(--braun-tief); }
.legal .legal__contact { list-style: none; padding-left: 0; }
.legal__meta { margin-top: 2.6rem !important; padding-top: 1.2rem; border-top: 1px solid var(--karte); font-size: .9375rem; color: var(--leise); }

/* Rechtsseiten: Datenliste (Impressum, Verantwortliche) */
.legal__dl { display: grid; grid-template-columns: minmax(9rem, 13rem) 1fr; gap: .55rem 1.4rem; margin: 0; }
.legal__dl dt { font-family: var(--font-ui); font-weight: 500; font-size: .9375rem; color: var(--gruen-tief); padding-top: .1em; }
.legal__dl dd { margin: 0; }
@media (max-width: 559px) {
  .legal__dl { grid-template-columns: 1fr; gap: .15rem; }
  .legal__dl dd + dt { margin-top: .9rem; }
}
/* Platzhalter für noch offene Angaben (Anschrift, Hosting); vor dem Start durch echte Daten ersetzen */
.platzhalter { display: inline-block; padding: 0 .4em; border: 1.5px dashed var(--braun); border-radius: 6px; background: rgba(158, 130, 93, .12); color: var(--braun-dunkel); font-family: var(--font-ui); font-size: .95em; line-height: 1.5; }
