/* ==========================================================================
   Praxis Alexandra Steuer – globales Stylesheet
   --------------------------------------------------------------------------
   Aufbau:
   1. Schriften (lokal, keine externen Anfragen)
   2. Design-Tokens (Farben, Typografie, Abstände) – hier zentral anpassen
   3. Basis / Reset
   4. Layout: Kopfzeile, Navigation, Bühne (fixes Foto + Lesespalte)
   5. Abschnitte der Startseite
   6. Unterseiten (Artikel, Breadcrumb, Akkordeon)
   7. Formular
   8. Fußzeile, fester Termin-Button
   9. Bewegung (Scroll-Reveals) und reduzierte Bewegung
   ========================================================================== */

/* 1. Schriften ------------------------------------------------------------ */
@font-face {
  font-family: "EB Garamond";
  src: url("/assets/fonts/eb-garamond-normal-latin.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "EB Garamond";
  src: url("/assets/fonts/eb-garamond-italic-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Libre Franklin";
  src: url("/assets/fonts/libre-franklin-normal-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

/* 2. Design-Tokens -------------------------------------------------------- */
:root {
  /* Farben: warme Off-White-/Beige-Basis, Sand/Taupe für Flächen, Salbei als einziger Akzent.
     Alle Text-/Grund-Kombinationen sind auf WCAG AA geprüft (siehe README). */
  --paper: #f7f3ed;        /* Grundfläche */
  --surface: #efe8de;      /* leicht abgesetzte Fläche */
  --sand: #e2d8ca;         /* Sandfläche (Ablauf, Kosten) */
  --taupe: #cfc2b0;        /* Taupe – nur für Flächen ohne Fließtext in Grau */
  --sage-field: #dfe3d6;   /* helle Salbei-Fläche */
  --ink: #2b2722;          /* Text */
  --muted: #5b544b;        /* Sekundärtext (nie auf --taupe) */
  --accent: #4f6149;       /* Salbei/Graugrün: Buttons, Links */
  --accent-strong: #3f4f3a;/* Hover */
  --on-accent: #f7f3ed;
  --mark: #e6e9dd;         /* dezente Markierung für Platzhalter */
  --error: #5c3a24;        /* Fehlermeldungen: dunkles Umbra, bewusst kein Rot */

  /* Typografie */
  --font-serif: "EB Garamond", "Iowan Old Style", Georgia, serif;
  --font-sans: "Libre Franklin", system-ui, -apple-system, "Segoe UI", sans-serif;
  --step-small: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);  /* 14–15px */
  --step-body: clamp(1.0625rem, 1.03rem + 0.2vw, 1.1875rem);  /* 17–19px */
  --step-lead: clamp(1.3125rem, 1.2rem + 0.4vw, 1.5rem);     /* 21–24px */
  --step-head: clamp(2rem, 1.55rem + 1.9vw, 3rem);            /* 32–48px */
  --step-display: clamp(2.625rem, 1.9rem + 3.1vw, 4.5rem);    /* 42–72px */
  --measure: 66ch;

  /* Abstände */
  --margin: clamp(1.25rem, 0.8rem + 2vw, 2.5rem);   /* äußerer Seitenrand */
  --gap: 0.75rem;                                    /* Abstand Bühne/Spalte */
  --section: clamp(5rem, 3.5rem + 7vw, 10rem);       /* Abstand zwischen Abschnitten */
  --header-h: 4.5rem;
  --radius-btn: 999px;    /* Buttons: voll gerundet. Bilder: eckig. */

  /* Bewegung */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.9s;
}

/* 3. Basis ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--step-body);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: var(--step-display); }
h2 { font-size: var(--step-head); }
h3 { font-size: var(--step-lead); line-height: 1.2; }
p { margin: 0 0 1em; text-wrap: pretty; }
p, li { max-width: var(--measure); }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--accent-strong); text-decoration-thickness: 2px; }
strong { font-weight: 600; }
ul, ol { padding-left: 1.2em; }
::selection { background: var(--sage-field); color: var(--ink); }

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

.skip-link {
  position: absolute; left: var(--margin); top: -100px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 0.75rem 1rem;
}
.skip-link:focus { top: 0.75rem; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* Platzhalter sichtbar markieren – vor dem Livegang ersetzen */
.ph { background: var(--mark); padding: 0 0.25em; }

/* Buttons: eine Form für die ganze Seite */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 48px; padding: 0.75rem 1.5rem;
  border: 0; border-radius: var(--radius-btn);
  background: var(--accent); color: var(--on-accent);
  font: 600 var(--step-small)/1.2 var(--font-sans);
  letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn:hover { background: var(--accent-strong); color: var(--on-accent); }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn--quiet { background: var(--surface); color: var(--ink); }
.btn--quiet:hover { background: var(--sand); color: var(--ink); }

.link-more {
  display: inline-flex; align-items: center; gap: 0.4em; min-height: 44px;
  font-weight: 600; font-size: var(--step-small);
}
.link-more span[aria-hidden] { transition: transform 0.3s var(--ease); }
.link-more:hover span[aria-hidden] { transform: translateX(4px); }

/* 4. Layout: Kopfzeile ---------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  transition: background-color 0.3s var(--ease);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  height: var(--header-h); padding: 0 var(--margin);
}
.wordmark { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); line-height: 1.1; }
.wordmark:hover { color: var(--ink); }
.wordmark__name { font-family: var(--font-serif); font-size: 1.5rem; letter-spacing: -0.01em; }
.wordmark__sub { font-size: var(--step-small); color: var(--muted); }

.nav { display: none; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.25rem; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.7rem;
  color: var(--ink); text-decoration: none; font-size: var(--step-small);
}
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 0.35em; }
.site-header .btn { display: none; }

.menu-toggle {
  display: inline-flex; align-items: center; gap: 0.6rem;
  min-height: 44px; min-width: 44px; padding: 0 0.5rem;
  background: none; border: 0; color: var(--ink); cursor: pointer;
  font: 600 var(--step-small) var(--font-sans);
}
.menu-toggle__bars { position: relative; width: 22px; height: 12px; }
.menu-toggle__bars::before, .menu-toggle__bars::after {
  content: ""; position: absolute; left: 0; width: 100%; height: 2px; background: currentColor;
  transition: transform 0.3s var(--ease);
}
.menu-toggle__bars::before { top: 0; }
.menu-toggle__bars::after { bottom: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-5px) rotate(-45deg); }

/* Mobiles Menü als Overlay */
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  background: var(--paper);
  padding: 2rem var(--margin) 3rem;
  overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s 0.3s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mobile-menu ul { list-style: none; margin: 0 0 2rem; padding: 0; }
.mobile-menu li a {
  display: flex; align-items: center; min-height: 52px;
  font-family: var(--font-serif); font-size: 1.75rem; color: var(--ink); text-decoration: none;
}
.mobile-menu__sub a { font-family: var(--font-sans) !important; font-size: 1.0625rem !important; min-height: 44px !important; }
.mobile-menu__contact { color: var(--muted); font-size: var(--step-small); }
.mobile-menu__contact a { color: var(--ink); }
body.menu-open { overflow: hidden; }

@media (min-width: 1080px) {
  .nav { display: block; }
  .site-header .btn { display: inline-flex; }
  .menu-toggle, .mobile-menu { display: none; }
}

/* 5. Startseite ----------------------------------------------------------- */
/* Abschnitte in voller Breite, gleiche Ränder links und rechts */
.section { padding: var(--section) var(--margin) 0; }
.section > h2 { margin-bottom: 2.5rem; }
.split { display: grid; gap: 1.5rem 4rem; }
@media (min-width: 900px) {
  .split { grid-template-columns: 5fr 7fr; gap: 4rem clamp(3rem, 7vw, 8rem); align-items: start; }
  .split > h2 { margin: 0; }
}

/* Hero: Text links, Foto rechts – scrollt normal mit */
.hero { display: grid; gap: 2rem; padding: 2rem var(--margin) 0; }
.hero h1 { max-width: 13ch; margin-bottom: 1.75rem; }
.hero__lead { font-size: var(--step-lead); line-height: 1.4; max-width: 30ch; margin-bottom: 2rem; font-family: var(--font-serif); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; }
.hero__actions a:not(.btn) { min-height: 44px; display: inline-flex; align-items: center; color: var(--ink); }
.hero__facts {
  display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; list-style: none; padding: 0; margin: 2.5rem 0 0;
  color: var(--muted); font-size: var(--step-small);
}
.hero__media { position: relative; background: var(--sand); }
.hero__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
/* Leiste unter dem Foto: Live-Sprechzeit links, Adresse rechts */
.hero__bar {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.25rem 1.5rem;
  padding: 0.75rem 0 0; background: var(--paper); font-size: var(--step-small); color: var(--muted);
}
.phone-status { display: flex; align-items: center; gap: 0.55rem; color: var(--ink); }
.phone-status__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--taupe); flex: none; }
.phone-status.is-open .phone-status__dot { background: var(--accent); animation: breathe 3.2s var(--ease) infinite; }
@keyframes breathe { 50% { transform: scale(1.5); opacity: 0.55; } }
@media (min-width: 1024px) {
  .hero {
    grid-template-columns: 5fr 7fr; gap: clamp(3rem, 6vw, 7rem); align-items: center;
    min-height: calc(100svh - var(--header-h)); padding-block: 1rem 2rem;
  }
  .hero__img { aspect-ratio: auto; height: calc(100svh - var(--header-h) - 6rem); min-height: 480px; }
}

/* Für wen */
.intro p { max-width: 56ch; }
.intro p:first-of-type { font-size: var(--step-lead); font-family: var(--font-serif); line-height: 1.35; max-width: 34ch; }
.intro__list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 0.5rem; }
.intro__list li { padding-left: 1.4rem; position: relative; max-width: 56ch; }
.intro__list li::before {
  content: ""; position: absolute; left: 0; top: 0.7em; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--accent);
}

/* Themen: drei Spalten, Bild oben */
.topics { display: grid; gap: 4rem clamp(2rem, 4vw, 4rem); }
.topic { display: grid; gap: 1.25rem; align-content: start; }
.topic__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--sand); }
.topic h3 { margin-bottom: 0.75rem; }
.topic ul { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 0.35rem; }
.topic p { margin-bottom: 0.75rem; }
.topic-more { margin-top: 3rem; }
@media (min-width: 900px) { .topics { grid-template-columns: repeat(3, minmax(0, 1fr)); } .topic__img { aspect-ratio: 4 / 5; } }

/* Ruhepunkt: ein breites Bild */
.band { padding: var(--section) var(--margin) 0; }
.band__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 700px) { .band__img { aspect-ratio: 21 / 8; } }

/* Methoden: Zeilen mit Überschrift, Text, Knopf */
.methods { display: grid; gap: 0; }
.method { padding: 0 0 4.5rem; display: grid; gap: 0.75rem 2rem; }
.method:last-child { padding-bottom: 0; }
.method .btn { justify-self: start; }
@media (max-width: 639px) { .method { padding-bottom: 0; } .method + .method { margin-top: 2.5rem; padding-top: 2.5rem; } .methods { gap: 0; } .method:nth-child(even) { background: var(--surface); margin-inline: calc(-1 * var(--margin)); padding: 2.5rem var(--margin); } .method:nth-child(even) .btn--quiet { background: var(--paper); } }
@media (min-width: 640px) {
  .method { grid-template-columns: 1fr auto; align-items: end; }
  .method h3 { grid-column: 1 / -1; }
  .method p { margin: 0; }
}
.method h3 { font-size: var(--step-head); }
.method h3 a { color: var(--ink); text-decoration: none; }
.method h3 a:hover { color: var(--accent); }
.method p { color: var(--ink); max-width: 46ch; }

/* Über mich: Bild links, Brief rechts */
.about { display: grid; gap: 2.5rem; }
.about__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about h2 { margin-bottom: 1.5rem; }
@media (min-width: 900px) { .about { grid-template-columns: 5fr 7fr; gap: clamp(3rem, 7vw, 8rem); align-items: center; } }

/* Über mich: Brief */
.letter { background: var(--surface); padding: clamp(1.5rem, 4vw, 3.5rem); margin-top: 0.5rem; }
.letter__head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.75rem; }
.letter__portrait { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: var(--sand); }
.letter p { max-width: 52ch; }
.letter__sign { font-family: var(--font-serif); font-style: italic; font-size: var(--step-lead); margin: 1.5rem 0 0; }
.letter__role { color: var(--muted); font-size: var(--step-small); }

/* Volle Breite: Ablauf als Zettel */
.wide { padding-inline: var(--margin); }
.process {
  margin-top: var(--section);
  background: var(--sand);
  padding: var(--section) var(--margin);
  display: grid; gap: 3rem;
}
.process > * { min-width: 0; }
.process__intro p { max-width: 34ch; }
.slip {
  background: var(--paper); padding: 2rem 1.5rem 3.25rem;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px),
    95% 100%, 90% calc(100% - 12px), 85% 100%, 80% calc(100% - 12px), 75% 100%, 70% calc(100% - 12px),
    65% 100%, 60% calc(100% - 12px), 55% 100%, 50% calc(100% - 12px), 45% 100%, 40% calc(100% - 12px),
    35% 100%, 30% calc(100% - 12px), 25% 100%, 20% calc(100% - 12px), 15% 100%, 10% calc(100% - 12px),
    5% 100%, 0 calc(100% - 12px));
  font-variant-numeric: tabular-nums;
  max-width: 38rem;
}
.slip h3 { font-family: var(--font-sans); font-size: var(--step-body); font-weight: 600; margin: 1.75rem 0 0.6rem; }
.slip h3:first-child { margin-top: 0; }
.slip ol { list-style: none; margin: 0; padding: 0; }
.slip li { display: grid; grid-template-columns: minmax(0, auto) minmax(1.5rem, 1fr) auto; align-items: end; gap: 0.5rem; padding: 0.3rem 0; max-width: none; }
.slip li .dots { min-width: 0; height: 1.1em; overflow: hidden; color: var(--taupe); letter-spacing: 0.25em; white-space: nowrap; }
.slip li .dots::before { content: "··································································"; }
.slip li span:last-child { white-space: nowrap; color: var(--muted); }
.slip__total {
  display: flex; justify-content: space-between; gap: 1rem; white-space: nowrap; flex-wrap: wrap; margin-top: 1.5rem;
  background: var(--ink); color: var(--paper); padding: 0.75rem 1rem; font-weight: 600;
}
@media (min-width: 900px) {
  .process { grid-template-columns: 5fr 6fr; gap: clamp(3rem, 8vw, 9rem); align-items: start; }
}

/* Kosten: zwei Farbfelder */
.prices { display: grid; grid-template-columns: 1fr; }
.price {
  display: flex; flex-direction: column; justify-content: space-between; gap: 2.5rem;
  min-height: 70svh; padding: clamp(2rem, 5vw, 4rem) var(--margin);
}
.price--first { background: var(--surface); }
.price--session { background: var(--sage-field); }
.price h2, .price h3 { font-size: var(--step-head); }
.price__dur { font-size: var(--step-body); margin: 0.5rem 0 0; }
.price__for { font-size: var(--step-lead); font-family: var(--font-serif); line-height: 1.3; max-width: 24ch; margin-top: 1rem; }
.price__amount {
  font-family: var(--font-serif); font-size: clamp(4.5rem, 3rem + 7vw, 9rem); line-height: 0.9; letter-spacing: -0.02em;
}
.price__amount small { font-family: var(--font-sans); font-size: var(--step-body); letter-spacing: 0; margin-left: 0.4rem; }
.price__foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; }
.price__note { max-width: 44ch; }
@media (min-width: 900px) {
  .prices { grid-template-columns: 5fr 7fr; }
  .price { min-height: 82svh; }
}
.prices-note {
  padding: 2rem var(--margin) 0; color: var(--muted); font-size: var(--step-small);
}
.prices-note p { max-width: 80ch; }

/* FAQ als Lesetext */
.faq-read { padding: var(--section) var(--margin) 0; display: grid; gap: 2rem; }
.faq-read__text p { break-inside: avoid; margin-bottom: 1.25rem; }
.faq-read__text strong { font-weight: 600; }
@media (min-width: 900px) {
  .faq-read { grid-template-columns: 3fr 9fr; gap: 4rem; }
  .faq-read__text { columns: 2; column-gap: 3.5rem; }
}

/* Kontakt: Satz, Foto, Links + Formular */
.contact { padding: var(--section) var(--margin) 0; display: grid; gap: 3rem; }
.contact__statement { font-family: var(--font-serif); font-size: var(--step-lead); line-height: 1.3; margin: 0; }
.contact__direct { display: grid; gap: 1.5rem; align-content: start; }
.contact__photo { width: 100%; max-width: 360px; aspect-ratio: 4 / 3; object-fit: cover; }
.contact__direct dl { margin: 0; display: grid; gap: 1rem; }
.contact__direct dt { color: var(--muted); font-size: var(--step-small); }
.contact__direct dd { margin: 0; font-size: var(--step-lead); font-family: var(--font-serif); overflow-wrap: anywhere; }
.contact__direct dd a { color: var(--ink); }
@media (min-width: 1000px) {
  .contact { grid-template-columns: 7fr 5fr; column-gap: clamp(3rem, 7vw, 8rem); }
  .contact__statement { grid-column: 1 / -1; }
}

/* 6. Unterseiten ---------------------------------------------------------- */
.breadcrumb { padding-top: 1.5rem; font-size: var(--step-small); color: var(--muted); }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.25rem; }
.breadcrumb li { display: flex; align-items: center; gap: 0.25rem; }
.breadcrumb li + li::before { content: "/"; color: var(--taupe); padding: 0 0.3rem; }
.breadcrumb a { color: var(--muted); display: inline-flex; min-height: 44px; align-items: center; }
.breadcrumb [aria-current] { color: var(--ink); }

.article-page { padding: 0 var(--margin); }
.article-hero { display: grid; gap: 2rem; padding: 1.5rem 0 1rem; }
.article-hero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 1024px) {
  .article-hero { grid-template-columns: 6fr 6fr; gap: clamp(3rem, 6vw, 7rem); align-items: center; }
}
.article-layout { display: grid; gap: 3rem; }
@media (min-width: 1024px) {
  .article-layout { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(3rem, 7vw, 8rem); }
}
.article { padding-bottom: 2rem; max-width: 70ch; }
.article-aside {
  align-self: start; background: var(--surface); padding: 1.75rem; margin-top: 4rem;
}
.article-aside h2 { font-size: var(--step-lead); margin-bottom: 0.75rem; }
.article-aside .btn { margin: 0.5rem 0 1.25rem; }
.article-aside__direct { font-family: var(--font-serif); font-size: var(--step-lead); line-height: 1.4; overflow-wrap: anywhere; }
.article-aside__direct a { color: var(--ink); }
.article-aside__note { color: var(--muted); font-size: var(--step-small); margin: 0.75rem 0 0; }
@media (max-width: 1023px) { .article-aside { display: none; } } /* mobil: fester Termin-Button und Kasten am Artikelende */
/* Kontaktkasten steht neben dem Artikelanfang und scrollt normal mit (bewusst nicht fixiert) */
.article__head { padding: 1rem 0; }
.article__head h1 { max-width: 16ch; margin-bottom: 1.5rem; }
.article__lead { font-family: var(--font-serif); font-size: var(--step-lead); line-height: 1.4; max-width: 34ch; }
.article h2 { margin: 4rem 0 1.25rem; }
.article h3 { margin: 2.25rem 0 0.75rem; }
.article ul li { margin-bottom: 0.35rem; }
.answer-box { background: var(--surface); padding: 1.5rem 1.75rem; margin: 2rem 0; }
.answer-box p:last-child { margin-bottom: 0; }

/* Akkordeon mit <details>/<summary> */
.faq { margin-top: 1rem; display: grid; gap: 0.5rem; }
.faq details { background: var(--surface); transition: background-color 0.3s var(--ease); }
.faq details[open] { background: var(--sand); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  min-height: 56px; padding: 1rem 1.25rem;
  font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 12px; height: 12px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(45deg) translateY(-3px); transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq summary:hover { color: var(--accent-strong); }
.faq__answer { padding: 0 1.25rem 1.25rem; }
.faq__answer p:last-child { margin-bottom: 0; }

.notice {
  background: var(--sage-field); padding: 1.5rem 1.75rem; margin: 3rem 0;
}
.notice h2, .notice h3 { font-size: var(--step-lead); margin: 0 0 0.75rem; }
.notice p:last-child { margin-bottom: 0; }
.notice a { color: var(--ink); font-weight: 600; }

.cta-block { background: var(--surface); padding: clamp(1.75rem, 4vw, 3rem); margin-top: 4rem; }
.cta-block h2 { margin: 0 0 1rem !important; }
.cta-block .btn { margin-top: 0.5rem; }
.cta-block__alt { margin-top: 1rem; font-size: var(--step-small); color: var(--muted); }
.cta-block__alt a { color: var(--ink); }

.related { margin-top: 4rem; }
.related h2 { margin-top: 0 !important; }
.related ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.25rem; }
.related a { display: inline-flex; min-height: 44px; align-items: center; font-family: var(--font-serif); font-size: var(--step-lead); }

/* Einfache Textseiten (Impressum, Datenschutz, Kontakt) */
.page-simple { padding: 0 var(--margin); display: grid; gap: 0 4rem; }
.page-simple h1 { margin: 2rem 0 2rem; }
.page-simple__body > h2:first-child { margin-top: 2rem; }
.page-simple h2 { font-size: var(--step-lead); margin: 3rem 0 1rem; }
.page-simple h3 { font-size: var(--step-lead); margin: 2rem 0 0.5rem; }
@media (min-width: 1000px) {
  .page-simple:not(.page-simple--wide) { grid-template-columns: 4fr 8fr; }
  .page-simple:not(.page-simple--wide) .page-simple__head { position: sticky; top: var(--header-h); align-self: start; }
  .page-simple:not(.page-simple--wide) h1 { font-size: var(--step-head); }
}
.page-simple--wide .contact__direct p, .page-simple--wide .article__lead { max-width: 52ch; }
.article__fig { margin: 3rem 0 0; }
.article__fig img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

/* 7. Formular ------------------------------------------------------------- */
.form { display: grid; gap: 1.25rem; max-width: 44rem; }
.form__row { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 600; font-size: 1rem; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; min-height: 52px; padding: 0.8rem 1rem;
  font: inherit; font-size: 1.0625rem; color: var(--ink);
  background: #fffdf9; border: 1.5px solid var(--taupe); border-radius: 4px;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.field__hint { font-size: var(--step-small); color: var(--muted); margin: 0; }
.field__error { font-size: var(--step-small); color: var(--error); margin: 0; font-weight: 600; }
.field__error:empty { display: none; }
.field.has-error input, .field.has-error textarea { border-color: var(--error); background: #f5efe6; }
.form__privacy-note { background: var(--surface); padding: 1rem 1.25rem; }
.form__privacy-note p { margin: 0; }
.check { display: grid; grid-template-columns: 28px 1fr; gap: 0.75rem; align-items: start; }
.check input { width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--accent); }
.check label { font-weight: 400; }
.form__status { padding: 1rem 1.25rem; background: var(--sage-field); }
.form__status[hidden] { display: none; }
.form__status:focus { outline: 3px solid var(--accent); }
.form__required { font-size: var(--step-small); color: var(--muted); margin: 0; }

/* 8. Fußzeile ------------------------------------------------------------- */
.site-footer { margin-top: var(--section); background: var(--surface); padding: 3.5rem var(--margin) 2rem; font-size: var(--step-small); }
.emergency { display: grid; gap: 0.5rem; padding-bottom: 2.5rem; }
.emergency h2 { font-size: var(--step-lead); }
.emergency p { max-width: 72ch; margin: 0; }
.emergency a { color: var(--ink); font-weight: 600; white-space: nowrap; }
.footer-grid { display: grid; gap: 2rem; padding-top: 2rem; }
.footer-grid h2 { font-family: var(--font-sans); font-size: var(--step-small); font-weight: 600; margin-bottom: 0.5rem; }
.footer-grid address { font-style: normal; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid a { color: var(--ink); display: inline-flex; min-height: 36px; align-items: center; }
.footer-name { font-family: var(--font-serif); font-size: var(--step-display); line-height: 1; letter-spacing: -0.02em; margin: 3rem 0 1rem; }
.footer-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; color: var(--muted); }
.footer-meta a { color: var(--muted); }
.credits { color: var(--muted); font-size: 0.8125rem; max-width: 100ch; margin-top: 1rem; }
.credits a { color: var(--muted); }
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
  .emergency { grid-template-columns: 3fr 9fr; gap: 4rem; align-items: start; }
}

/* Fester, dezenter Termin-Button */
.float-cta {
  position: fixed; right: var(--margin); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 40;
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), background-color 0.25s var(--ease);
}
.float-cta.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.no-js .float-cta { opacity: 1; transform: none; pointer-events: auto; }
@media (min-width: 1080px) { .float-cta { display: none; } } /* Desktop: Button in der festen Kopfzeile */

/* 9. Bewegung ------------------------------------------------------------- */
/* Inhalte sind ohne JS sichtbar; nur mit .js werden sie zum Einblenden vorbereitet. */
.js [data-reveal] {
  opacity: 0; transform: translateY(22px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Langsames Atmen des Startfotos (ein bewegtes Bild) */
.hero__img { animation: drift 24s var(--ease) both; }
.hero__media { overflow: hidden; }
@keyframes drift { from { transform: scale(1.06); } to { transform: scale(1); } }

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

@media print {
  .site-header, .float-cta, .article-aside, .mobile-menu { display: none !important; }
}
