/* ============================================================
   SUNFLOWER GARDEN – AGE GATE STYLES
   Mobile-first, warme/erdige Sonnenblumen-Palette.
   Alle Kernwerte (Farben, Radien, Übergänge) liegen als
   CSS-Variablen in :root und sind dort zentral anpassbar.
============================================================ */

:root {
  /* ---------- Farbpalette (hell) ---------- */
  --color-bg: #faf3e0;              /* warmes Beige, Seitenhintergrund */
  --color-surface: #fffaf0;         /* Modal-Hintergrund */
  --color-primary: #f4a300;         /* Sonnenblumen-Gelb/Orange */
  --color-primary-dark: #d88c00;
  --color-secondary: #6a7f3f;       /* Olivgrün */
  --color-accent: #fb8500;          /* Kräftiges Orange */
  --color-text: #3a3226;            /* Dunkles Warmbraun */
  --color-text-muted: #6f6555;
  --color-border: #e8d9b5;
  --color-error: #b3261e;
  --color-overlay-bg: rgba(58, 41, 12, 0.55);

  /* ---------- Typografie ----------
     --font-body / --font-heading: identisch zur Original-Website
     (Open Sans als Fließtext). --font-script: die handschriftliche
     "Alex Brush", mit der die Live-Website ihr Logo UND ihre
     Abschnittsüberschriften (Über mich, Philosophie, Seminare, …)
     setzt – hier bewusst nur fürs Logo und die inhaltlichen
     Abschnittstitel verwendet, nicht für das Age-Gate-Modal selbst
     (dort zählt maximale Lesbarkeit bei einer rechtlich relevanten
     Eingabe) und nicht für Impressum/Datenschutz. */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-script: 'Alex Brush', cursive;

  /* ---------- Sonstiges ---------- */
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-modal: 0 20px 60px rgba(58, 41, 12, 0.25);
  --transition-fast: 0.2s ease;
  --transition-medium: 0.4s ease;
  --transition-slow: 0.6s ease;

  /* Höhe der fest positionierten Nav-Pille + Sicherheitsabstand.
     Wird von script.js beim Laden/Resize live nachgemessen und hier
     überschrieben (die Nav wächst bei mehr Menüpunkten oder auf
     schmalen Screens über mehrere Zeilen) – der Wert hier ist nur
     der Startwert, bevor JS greift bzw. falls JS deaktiviert ist. */
  --nav-clearance: 130px;
}

/* ---------- Dark-Mode: automatische Anpassung ---------- */
@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #221c14;
    --color-surface: #2e2619;
    --color-primary: #f4a300;
    --color-primary-dark: #ffb733;
    --color-secondary: #8fae5f;
    --color-accent: #ff9d2f;
    --color-text: #f5ecd9;
    --color-text-muted: #cabfa8;
    --color-border: #4a3f2c;
    --color-overlay-bg: rgba(10, 8, 4, 0.75);
    --shadow-modal: 0 20px 60px rgba(0, 0, 0, 0.5);
  }
}

/* ============================================================
   RESET & GRUNDLAYOUT
============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Da die Navigation fest positioniert ist und keinen Platz im
   Fluss beansprucht, würde ein Anker-Sprung (z.B. "#kontakt") die
   Zielüberschrift sonst direkt unter der Nav-Leiste verstecken. */
.site-content [id] {
  scroll-margin-top: var(--nav-clearance);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--color-text);
  /* Die Original-Website hat einen schlichten, hellen Seitenhintergrund –
     Fotos erscheinen dort nur innerhalb einzelner Abschnitte (Hero,
     Kunst-Bereich etc.), nicht als durchgehendes Seitenbild. Das
     übernehmen wir hier: einfarbiger, warmer Hintergrund statt eines
     sitweiten Fotos. */
  background-color: var(--color-bg);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  line-height: 1.25;
  margin: 0 0 0.5em;
}

/* Die Original-Website setzt ausnahmslos alle Überschriften in der
   Schreibschrift "Alex Brush" – das wirkt über eine ganze Seite hinweg
   schnell altbacken. Wir übernehmen die Schreibschrift bewusst nur noch
   fürs Logo (siehe .site-logo / .site-nav-logo / .site-footer-logo /
   .age-gate-logo-text) und setzen Abschnittsüberschriften in der
   moderneren, aber weiterhin warmen Playfair Display. */
.site-content h2 {
  font-size: 2.25rem;
  letter-spacing: -0.01em;
}

.site-content h3 {
  font-size: 1.35rem;
}

/* Kleines, editorial wirkendes Label oberhalb von Abschnittsüberschriften
   (z.B. "UNSERE PHILOSOPHIE") – gibt der Seite die ruhige,
   magazin-artige Anmutung eines modernen Wellness-Portals. */
.site-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 0.6rem;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--color-secondary);
}

/* ============================================================
   AGE GATE – OVERLAY (Backdrop)
============================================================ */
.age-gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;

  background: var(--color-overlay-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-slow), visibility var(--transition-slow);
}

/* Wird per JS gesetzt, sobald das Overlay aktiv gezeigt werden soll */
.age-gate-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

/* Wird per JS gesetzt, sobald die Bestätigung erfolgt ist -> sanftes Ausblenden */
.age-gate-overlay.is-fading-out {
  opacity: 0;
  visibility: hidden;
}

/* ============================================================
   AGE GATE – MODAL BOX
============================================================ */
.age-gate-modal {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;

  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-modal);
  padding: 2rem 1.75rem 1.5rem;

  transform: translateY(16px) scale(0.98);
  opacity: 0;
  transition: transform var(--transition-slow), opacity var(--transition-slow);
}

.age-gate-overlay.is-visible .age-gate-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* ============================================================
   LOGO / BRANDING
============================================================ */
.age-gate-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.age-gate-logo-icon {
  width: 56px;
  height: 56px;
  animation: sway 6s ease-in-out infinite;
}

.sunflower-core {
  fill: var(--color-secondary);
}

.sunflower-petals ellipse {
  fill: var(--color-primary);
}

@keyframes sway {
  0%, 100% { transform: rotate(-4deg); }
  50%      { transform: rotate(4deg); }
}

.age-gate-logo-text {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: 2rem;
  color: var(--color-text);
}

.age-gate-logo-text span {
  color: var(--color-accent);
}

/* ============================================================
   TEXTE
============================================================ */
.age-gate-title {
  text-align: center;
  font-size: 1.5rem;
  color: var(--color-text);
}

.age-gate-desc {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.age-gate-legal-note {
  margin-top: 1.25rem;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  text-align: center;
  line-height: 1.5;
}

/* ============================================================
   FORMULAR
============================================================ */
.age-gate-form {
  margin-top: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.form-group label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text);
}

.form-input {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-bg);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:hover {
  border-color: var(--color-primary);
}

.form-input:focus-visible {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(244, 163, 0, 0.25);
}

/* Fehlermeldung: standardmäßig unsichtbar, bekommt per JS Inhalt + Klasse */
.age-gate-error {
  min-height: 1.2em;
  margin: 0.25rem 0 0.75rem;
  font-size: 0.85rem;
  color: var(--color-error);
  text-align: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.age-gate-error.is-visible {
  opacity: 1;
}

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: block;
  width: 100%;
  padding: 0.9rem 1.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  /* Pill-Form statt eckiger Buttons – Layout-Vorbild theki.eu */
  border-radius: 999px;
  cursor: pointer;
  transition: background-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(244, 163, 0, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-accent));
  transform: translateY(-1px);
}

.btn-primary:focus-visible {
  outline: 3px solid var(--color-secondary);
  outline-offset: 2px;
}

.btn-primary:active {
  transform: translateY(0);
}

/* ============================================================
   ANSICHT: ZU JUNG
============================================================ */
.age-gate-denied-text {
  text-align: center;
  color: var(--color-text-muted);
}

.age-gate-denied-view .age-gate-title:focus-visible {
  outline: none;
}

/* ============================================================
   FOOTER IM MODAL
============================================================ */
.age-gate-footer {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.78rem;
}

.age-gate-footer-link {
  color: var(--color-text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition-fast);
}

.age-gate-footer-link:hover,
.age-gate-footer-link:focus-visible {
  color: var(--color-accent);
}

.age-gate-footer-divider {
  color: var(--color-border);
}

/* ============================================================
   LADEANIMATION (Spinner)
============================================================ */
.age-gate-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 0;
}

/* [hidden] hat dieselbe Spezifität wie die Klasse oben und muss daher
   explizit erzwungen werden, sonst gewinnt die author-Regel */
.age-gate-loading[hidden] {
  display: none;
}

/* Wird per JS entfernt/hinzugefügt (hidden-Attribut steuert Sichtbarkeit) */
.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--color-border);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Ein-/Ausblenden der Formular- bzw. Denied-Ansicht */
.age-gate-view {
  animation: fadeIn var(--transition-medium) ease both;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   HAUPTINHALT
============================================================ */
.site-content {
  transition: opacity var(--transition-slow);
}

/* Wird per JS entfernt, sobald das Alter bestätigt wurde */
.site-content.is-hidden {
  opacity: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.site-header {
  position: relative;
  /* Hero-Foto von der Live-Website. Sanfterer, luftigerer Verlauf statt
     einer kräftigen Farbwäsche – oben hell/dunstig (harmoniert mit der
     halbtransparenten Pill-Nav), zur Textzone hin dunkler für Lesbarkeit.
     Layout-Vorbild: der weiche, "verträumte" Hero-Look von theki.eu. */
  background-image: linear-gradient(
      180deg,
      rgba(250, 243, 224, 0.3) 0%,
      rgba(230, 160, 20, 0.35) 40%,
      rgba(180, 110, 15, 0.68) 100%
    ),
    url("assets/images/hero-sunflower-field.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
  /* Zusätzlicher Abstand oben, da die Navigation jetzt fest/transparent
     darüberliegt (siehe .site-nav) und keinen eigenen Platz mehr im
     Fluss beansprucht */
  padding: calc(4rem + var(--nav-clearance)) 1.5rem 4rem;
  text-align: center;
}

/* Weicher Verlauf in die Seitenfarbe statt einer harten Kante am
   Übergang zum nächsten Abschnitt (Vorbild: sanfte Farbverläufe
   zwischen Sektionen auf theki.eu). Sitzt exakt im leeren
   Bottom-Padding, berührt also nie den Hero-Inhalt darüber. */
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4rem;
  background: linear-gradient(to bottom, transparent, var(--color-bg));
  pointer-events: none;
}

.site-header-inner {
  max-width: 720px;
  margin: 0 auto;
}

.site-logo {
  font-family: var(--font-script);
  font-size: 2.75rem;
  font-weight: 400;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.site-logo span {
  color: var(--color-text);
}

.site-tagline {
  margin-top: 0.5rem;
  font-size: 1rem;
  font-style: italic;
  letter-spacing: 0.03em;
  opacity: 0.95;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
}

/* Gedankenstrich-Rahmen um die Tagline – Layout-Vorbild theki.eu */
.site-tagline::before {
  content: "— ";
}

.site-tagline::after {
  content: " —";
}

/* Sanft schwingender Scroll-Pfeil unterhalb des Hero-CTAs */
.site-scroll-hint {
  display: block;
  margin: 2.5rem auto 0;
  width: 22px;
  height: 22px;
  border-right: 2px solid rgba(255, 255, 255, 0.8);
  border-bottom: 2px solid rgba(255, 255, 255, 0.8);
  transform: rotate(45deg);
  animation: scroll-hint-bounce 2.2s ease-in-out infinite;
}

@keyframes scroll-hint-bounce {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.6; }
  50% { transform: rotate(45deg) translate(6px, 6px); opacity: 1; }
}

.site-header-inner .site-cta {
  margin-top: 2rem;
}

/* ---------- "Über mich" mit Porträtfoto ---------- */
.site-about {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

/* Fließtext, Liste und Signatur bleiben auch im gestapelten
   Mobile-Layout linksbündig – nur das Portrait ist zentriert.
   Zentrierter Fließtext über mehrere Absätze/Listen ist auf schmalen
   Screens schlecht lesbar. */
.site-about-text {
  text-align: left;
  width: 100%;
}

.site-about-photo-wrap {
  flex-shrink: 0;
  padding: 6px;
  /* "Arch"-Form (oben rund, unten gerade) statt Vollkreis –
     Layout-Vorbild theki.eu */
  border-radius: 140px 140px 12px 12px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  box-shadow: 0 16px 40px rgba(58, 41, 12, 0.22);
}

.site-about-photo {
  display: block;
  width: 200px;
  height: 280px;
  border-radius: 134px 134px 6px 6px;
  object-fit: cover;
  border: 4px solid var(--color-surface);
  /* Weicher unterer Rand statt hartem Bildschnitt – dieselbe
     Verlauf-Technik wie bei den Foto-Abschnitten, damit alle Bilder
     auf der Seite einheitlich sanft auslaufen. */
  -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0, #000 78%, transparent 100%);
}

.site-about-text h2 {
  margin-top: 0;
}

.site-intro-greeting {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--color-text-muted);
  margin: 0 0 0.15em;
}

@media (min-width: 640px) {
  .site-about {
    flex-direction: row;
    /* Foto oben am Textanfang verankern statt über die gesamte
       (sehr lange) Textspalte vertikal zu zentrieren – sonst rutscht
       es bei viel Text weit nach unten weg von der Überschrift. */
    align-items: flex-start;
    text-align: left;
  }
}

.site-section {
  position: relative;
  background-color: var(--color-bg);
  max-width: 760px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
}

/* Sanfter Wechsel zwischen zwei nahen, warmen Tönen sorgt für Rhythmus
   zwischen den Abschnitten, statt einer langen, flachen weißen Fläche
   (das war der Haupteindruck von "sieht alt aus") */
.site-content section.site-section:nth-of-type(even) {
  background-color: var(--color-surface);
}

@media (min-width: 860px) {
  .site-section {
    max-width: 900px;
    padding: 5rem 2rem;
  }
}

/* ---------- Abschnitte mit Foto-Hintergrund ----------
   Statt einer separaten Bildergalerie werden die Fotos der
   Live-Website hier direkt als Hintergrund thematisch passender
   Abschnitte verwendet (Philosophie, Seminare, Kinder Coaching,
   Kundalini Yoga). .site-section-photo ist der Basis-Modifier
   (voller Breite, weißer Text, dunkler Verlauf für Lesbarkeit);
   die konkreten *-bg-Klassen setzen nur noch das jeweilige Bild. */
.site-section-photo {
  max-width: none;
  padding: 0;
  color: #fff;
  background-size: cover;
  background-position: center;
  /* Weicher Rand statt hartem Bildschnitt an der Naht zum nächsten
     Abschnitt: oben/unten läuft das Foto sanft aus, statt abrupt an
     einer geraden Linie zu enden (wirkte "alt"/gebastelt). */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 70px, #000 calc(100% - 70px), transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 70px, #000 calc(100% - 70px), transparent 100%);
}

.site-section-photo-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

@media (min-width: 860px) {
  .site-section-photo-inner {
    max-width: 900px;
    padding: 6rem 2rem;
  }
}

.site-section-photo h2,
.site-section-photo h3 {
  color: #fff;
}

.site-section-photo .site-eyebrow {
  color: #fff;
}

.site-section-photo p,
.site-section-photo .site-list,
.site-section-photo .site-muted {
  color: rgba(255, 255, 255, 0.92);
}

.site-section-photo .site-inline-link {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.6);
}

.site-section-photo .site-leistungen-icon {
  background: rgba(255, 255, 255, 0.25);
}

.site-section-philosophie-bg {
  background-image: linear-gradient(rgba(58, 41, 12, 0.6), rgba(58, 41, 12, 0.6)), url("assets/images/poppy-field.jpg");
}

.site-section-seminare-bg {
  background-image: linear-gradient(rgba(58, 41, 12, 0.6), rgba(58, 41, 12, 0.6)), url("assets/images/nature-wide-2.jpg");
}

.site-section-kinder-bg {
  background-image: linear-gradient(rgba(58, 41, 12, 0.6), rgba(58, 41, 12, 0.6)), url("assets/images/nature-2.jpg");
}

.site-section-yoga-bg {
  background-image: linear-gradient(rgba(58, 41, 12, 0.6), rgba(58, 41, 12, 0.6)), url("assets/images/nature-wide-1.jpg");
}

/* ============================================================
   HAUPTNAVIGATION
============================================================ */
.site-nav {
  /* Fest positioniert (bleibt beim Scrollen sichtbar), halbtransparent
     warm über dem Hero-Foto (wie die alte sunflower-garden.com) UND als
     schwebende Pill-Leiste mit Rand-Abstand/Rundung (Layout-Vorbild
     theki.eu) statt einer randlosen, eckigen Leiste. */
  position: fixed;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  border-radius: 999px;
  background-color: rgba(244, 163, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(58, 41, 12, 0.18);
  z-index: 10;
}

.site-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.75rem 1.75rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 0.5rem;
  gap: 1.5rem;
  /* Bewusst KEIN overflow-x/y hier: ein Scroll-Container würde das
     absolut positionierte Leistungen-Dropdown vertikal abschneiden.
     Auf schmalen Screens brechen die Nav-Punkte stattdessen um. */
}

/* ---------- Sprachumschalter (oben rechts in der Nav) ---------- */
.site-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-left: auto;
  padding: 0.25rem;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  flex-shrink: 0;
}

.site-lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  font-size: 1.05rem;
  line-height: 1;
  text-decoration: none;
  opacity: 0.7;
  filter: grayscale(60%);
  transition: background-color var(--transition-fast), opacity var(--transition-fast), filter var(--transition-fast), transform var(--transition-fast);
}

.site-lang-switch a span {
  transform: scale(1.3);
}

.site-lang-switch a:hover,
.site-lang-switch a:focus-visible {
  opacity: 1;
  filter: grayscale(0%);
}

.site-lang-switch a[aria-current="true"] {
  background: rgba(255, 255, 255, 0.9);
  opacity: 1;
  filter: grayscale(0%);
}

/* Variante für Seiten ohne Hauptnav (Impressum/Datenschutz): oben
   rechts direkt im Header platziert */
.site-lang-switch--header {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  margin-left: 0;
}

.site-nav-logo {
  font-family: var(--font-script);
  font-size: 1.75rem;
  font-weight: 400;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.site-nav-logo span {
  color: var(--color-text);
}

.site-nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 0.5rem;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
}

.site-nav-menu a {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding-bottom: 2px;
  transition: opacity var(--transition-fast);
}

.site-nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -2px;
  height: 2px;
  background: #fff;
  transition: right var(--transition-fast);
}

.site-nav-menu a:hover,
.site-nav-menu a:focus-visible {
  opacity: 0.8;
}

.site-nav-menu a:hover::after,
.site-nav-menu a:focus-visible::after {
  right: 0;
}

/* Leistungen-Untermenü als natives <details>/<summary> – ganz ohne JS
   bedienbar und barrierefrei per Tastatur/Screenreader */
.site-nav-submenu details {
  position: relative;
}

.site-nav-submenu summary {
  cursor: pointer;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  list-style: none;
}

.site-nav-submenu summary::-webkit-details-marker {
  display: none;
}

.site-nav-submenu summary:hover,
.site-nav-submenu summary:focus-visible {
  opacity: 0.8;
}

.site-nav-submenu ul {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px rgba(58, 41, 12, 0.15);
  min-width: 230px;
  z-index: 20;
}

.site-nav-submenu ul a {
  display: block;
  padding: 0.5rem 1.1rem;
  white-space: normal;
  /* .site-nav-menu a (Descendant-Selektor) trifft technisch auch diese
     verschachtelten Links mit; Großschreibung/Sperrung hier bewusst
     wieder zurücksetzen – bei längeren Leistungsnamen sonst schlecht
     lesbar. Das Dropdown-Panel selbst ist außerdem deckend (siehe
     oben), daher auch wieder die dunkle Textfarbe statt Weiß. */
  text-transform: none;
  letter-spacing: normal;
  font-size: 0.92rem;
  color: var(--color-text);
  text-shadow: none;
  opacity: 1;
}

.site-nav-submenu ul a:hover,
.site-nav-submenu ul a:focus-visible {
  color: var(--color-accent);
  opacity: 1;
}

.site-nav-submenu ul a::after {
  display: none;
}

/* ============================================================
   TEXT-BAUSTEINE FÜR SEITENINHALTE
============================================================ */
.site-list {
  padding-left: 1.25rem;
  margin: 1rem 0;
}

.site-list li {
  margin-bottom: 0.4rem;
}

.site-list-columns {
  columns: 1;
}

@media (min-width: 600px) {
  .site-list-columns {
    columns: 2;
    column-gap: 2rem;
  }
}

.site-signature {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.15rem;
}

.site-inline-link {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- Pill-CTA mit Kreis-Pfeil-Icon (Layout-Vorbild theki.eu) ---------- */
.site-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.7rem 0.7rem 0.7rem 1.6rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(244, 163, 0, 0.3);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.site-cta-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}

.site-cta:hover,
.site-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(244, 163, 0, 0.4);
}

/* Helle Variante für Einsatz auf dunklen Foto-Abschnitten */
.site-section-photo .site-cta {
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-text);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.site-section-photo .site-cta .site-cta-arrow {
  background: rgba(244, 163, 0, 0.18);
  color: var(--color-accent);
}

.site-muted {
  color: var(--color-text-muted);
}

/* ---------- Leistungen-Übersichtsraster (Startseite) ---------- */
.site-leistungen-grid {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 600px) {
  .site-leistungen-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.site-leistungen-grid a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 2.25rem 1rem 1.75rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  /* Stärker abgerundete Oberkante passend zur Arch-Formensprache
     (Layout-Vorbild theki.eu) */
  border-radius: 40px 40px var(--radius-md) var(--radius-md);
  box-shadow: 0 4px 14px rgba(58, 41, 12, 0.06);
  color: var(--color-text);
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.site-leistungen-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.4rem;
  background: linear-gradient(135deg, rgba(244, 163, 0, 0.15), rgba(251, 133, 0, 0.15));
}

.site-leistungen-grid a:hover,
.site-leistungen-grid a:focus-visible {
  border-color: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(58, 41, 12, 0.14);
}

/* Dasselbe Icon-Badge, wenn es direkt vor einer h2 auf der
   Leistungen-Detailseite steht statt in einer Grid-Karte */
.site-content h2 .site-leistungen-icon {
  display: inline-flex;
  vertical-align: middle;
  width: 44px;
  height: 44px;
  font-size: 1.2rem;
  margin-right: 0.75rem;
}

/* ---------- Themen-Karte (Vorbild: theki.eu Curriculum-Liste) ---------- */
.site-list-card {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 1.75rem 2rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg, 24px);
  box-shadow: 0 4px 14px rgba(58, 41, 12, 0.06);
}

.site-list-card li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
}

.site-list-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
}

.site-list-card li:last-child {
  margin-bottom: 0;
}

/* ---------- Weitere Leistungen: bunte Cross-Nav-Karten
   (Vorbild: "Alle THEKI Seminare" auf theki.eu/theki-1) ---------- */
.site-related-services {
  margin-top: 1.5rem;
}

.site-related-grid {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.site-related-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius-lg, 24px);
  color: #fff;
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: 0 4px 14px rgba(58, 41, 12, 0.08);
}

.site-related-card:hover,
.site-related-card:focus-visible {
  transform: translateY(-3px) translateX(2px);
  box-shadow: 0 14px 28px rgba(58, 41, 12, 0.18);
}

.site-related-card-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
}

.site-related-card-sub {
  display: block;
  margin-top: 0.2rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-style: italic;
  font-weight: 400;
  opacity: 0.85;
}

.site-related-card-arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.18);
  font-size: 1.1rem;
}

.site-related-card--1 { background: #d88c00; }
.site-related-card--2 { background: #b5651d; }
.site-related-card--3 { background: #8c6d46; }
.site-related-card--4 { background: #6a7f3f; }
.site-related-card--5 { background: #a63a3a; }
.site-related-card--6 { background: #cc9544; }
.site-related-card--7 { background: #7d8c4a; }
.site-related-card--8 { background: #a67c52; }
.site-related-card--9 { background: #c1440e; }

@media (min-width: 700px) {
  .site-related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

/* ---------- Statement-Sektion: großes zentriertes Zitat
   (Vorbild: THEKI-1-Wiederholung "Erinnere dich, wer du wirklich bist") ---------- */
.site-statement {
  padding: 4.5rem 1.5rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(244, 163, 0, 0.14), rgba(180, 110, 15, 0.2));
}

.site-statement-eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-accent);
}

.site-statement-eyebrow::before {
  content: "— ";
}

.site-statement-eyebrow::after {
  content: " —";
}

.site-statement-text {
  margin: 1.25rem auto 0;
  max-width: 640px;
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text);
}

/* ---------- Kontakt ---------- */
.site-contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .site-contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.site-contact-info {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 40px 40px var(--radius-md) var(--radius-md);
  padding: 2rem;
}

.site-contact h3 {
  margin-top: 1.25rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-weight: 700;
}

.site-contact h3:first-child {
  margin-top: 0;
}

.site-map-wrapper {
  border-radius: 40px 40px var(--radius-md) var(--radius-md);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(58, 41, 12, 0.15);
  min-height: 260px;
}

.site-map {
  width: 100%;
  height: 100%;
  min-height: 260px;
  border: 0;
  display: block;
}

/* ---------- Anmelde-/Kontaktformular ---------- */
.site-form {
  max-width: 640px;
  margin-top: 2rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg, 24px);
  padding: 2rem;
}

.site-form-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 560px) {
  .site-form-row {
    flex-direction: row;
    gap: 1.25rem;
  }

  .site-form-row .form-group {
    flex: 1;
  }
}

.site-form-textarea {
  resize: vertical;
  min-height: 130px;
  font-family: var(--font-body);
}

.site-form-note {
  margin: 0.25rem 0 1.25rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.site-form-submit {
  max-width: 280px;
  margin: 0 auto;
}

.form-error {
  min-height: 1.2em;
  margin: 0.25rem 0 0.75rem;
  font-size: 0.85rem;
  color: var(--color-error);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.form-error.is-visible {
  opacity: 1;
}

.form-success {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(106, 127, 63, 0.15);
  color: var(--color-text);
  font-size: 0.9rem;
  opacity: 0;
  height: 0;
  overflow: hidden;
  transition: opacity var(--transition-fast);
}

.form-success.is-visible {
  opacity: 1;
  height: auto;
  padding: 0.85rem 1rem;
  margin: 0 0 1rem;
}

/* ---------- Calendly-Terminbuchung ---------- */
.site-calendly-wrapper {
  max-width: 900px;
  margin: 2.5rem auto 0;
  border-radius: 40px 40px var(--radius-md) var(--radius-md);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(58, 41, 12, 0.15);
  background: var(--color-surface);
}

.site-calendly {
  width: 100%;
  height: 700px;
  border: 0;
  display: block;
}

/* ---------- Zwei-Klick-Lösung für Drittanbieter-Einbettungen
   (Google Maps, Calendly): lädt erst nach Einwilligung ---------- */
.site-consent-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  padding: 2.5rem 1.5rem;
  min-height: 260px;
  background: var(--color-bg);
}

.site-consent-placeholder p {
  max-width: 42ch;
  margin: 0;
  color: var(--color-text-muted);
}

.site-consent-load-btn {
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.site-consent-note {
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.site-consent-note button {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.site-consent-note button:hover,
.site-consent-note button:focus-visible {
  color: var(--color-primary);
}

/* Utility: Abschnitt direkt unter einem vorherigen Abschnitt ohne
   zusätzlichen oberen Abstand (z. B. Calendly direkt unter der
   Einleitung auf termin.html) */
.site-section-notop {
  padding-top: 0;
}

/* ---------- Kompakter Header für Unterseiten ---------- */
.site-header-compact {
  padding: calc(2.5rem + var(--nav-clearance)) 1.5rem 2.5rem;
}

.site-header-compact::after {
  height: 2.5rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background-color: var(--color-text);
  color: var(--color-bg);
  text-align: center;
  padding: 2rem 1.5rem;
}

.site-footer-logo {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: 1.75rem;
  margin: 0 0 0.5rem;
}

.site-footer-logo span {
  color: var(--color-primary);
}

/* Gedankenstrich-Tagline unterhalb des Logos – Layout-Vorbild theki.eu */
.site-footer-tagline {
  margin: 0.4rem 0 0;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0.85;
}

.site-footer-divider {
  max-width: 480px;
  margin: 2rem auto;
  border: none;
  border-top: 1px solid rgba(250, 243, 224, 0.25);
}

.site-footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem 0.65rem 0.65rem 1.75rem;
  background: var(--color-bg);
  color: var(--color-text);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.site-footer-cta:hover,
.site-footer-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.site-footer-cta-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-text);
  color: var(--color-bg);
  font-size: 1.2rem;
}

.site-footer-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 2.25rem 0 0;
  padding: 0;
  list-style: none;
}

.site-footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(250, 243, 224, 0.12);
  color: var(--color-bg);
  text-decoration: none;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.site-footer-social a:hover,
.site-footer-social a:focus-visible {
  background: var(--color-primary);
  color: var(--color-text);
}

.site-footer-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.site-footer-legal {
  margin-top: 2.25rem;
}

.site-footer-legal a {
  color: var(--color-bg);
  opacity: 0.85;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-footer-legal a:hover,
.site-footer-legal a:focus-visible {
  opacity: 1;
  color: var(--color-primary);
}

/* ============================================================
   RESPONSIVE: ab Tablet-Breite etwas mehr Luft
============================================================ */
@media (min-width: 600px) {
  .age-gate-modal {
    padding: 2.5rem 2.5rem 1.75rem;
  }

  .age-gate-title {
    font-size: 1.75rem;
  }
}

/* ============================================================
   REDUZIERTE BEWEGUNG: Animationen respektieren Nutzerpräferenz
============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   THEKI-INSPIRIERTE GESTALTUNG
   Ruhige, editoriale Flächen mit weicher Bewegung und bewusst
   zurückhaltender Farbigkeit. Die vorhandene Seitenstruktur bleibt
   erhalten; diese Schicht vereinheitlicht alle DE-/EN-Seiten.
============================================================ */
:root {
  --color-bg: #f6f1eb;
  --color-surface: #fffdf9;
  --color-primary: #92717a;
  --color-primary-dark: #765761;
  --color-secondary: #53677a;
  --color-accent: #a07b65;
  --color-text: #25282f;
  --color-text-muted: #66636a;
  --color-border: #e7ded7;
  --color-overlay-bg: rgba(34, 35, 40, 0.46);
  --font-heading: 'Baskervville', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-script: 'Cormorant Garamond', Georgia, serif;
  --radius-lg: 28px;
  --radius-md: 18px;
  --shadow-modal: 0 20px 60px rgba(37, 40, 47, 0.18);
}

body {
  background: var(--color-bg);
  font-size: 0.98rem;
  line-height: 1.72;
}

.site-content h1,
.site-content h2,
.site-content h3,
.age-gate-title {
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: -0.025em;
}

.site-content h2 {
  font-size: clamp(2.45rem, 5.2vw, 4.35rem);
  line-height: 1.02;
  max-width: 16ch;
  margin-bottom: 0.65em;
}

.site-content h3 {
  font-family: var(--font-script);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 500;
}

.site-eyebrow,
.site-tagline,
.site-nav-menu a,
.site-nav-submenu summary {
  font-family: var(--font-body);
  font-weight: 600;
}

/* Schwebende, helle Navigationsleiste wie bei der Referenz. */
.site-nav {
  top: 1.25rem;
  left: clamp(0.75rem, 2.4vw, 2rem);
  right: clamp(0.75rem, 2.4vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 253, 249, 0.92);
  box-shadow: 0 10px 34px rgba(37, 40, 47, 0.1);
}

.site-nav-inner {
  max-width: 1240px;
  padding: 0.75rem 1.45rem;
  gap: 1.75rem;
}

.site-nav.is-scrolled {
  background: rgba(255, 253, 249, 0.97);
  box-shadow: 0 14px 38px rgba(37, 40, 47, 0.16);
}

.site-nav-logo {
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: 1.65rem;
  letter-spacing: 0.02em;
  text-shadow: none;
}

.site-nav-logo span { color: var(--color-primary); }

.site-nav-menu a,
.site-nav-submenu summary {
  color: var(--color-text);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  text-shadow: none;
  text-transform: none;
}

.site-nav-menu a::after { background: var(--color-primary); }
.site-lang-switch { background: #f1e9e3; }

/* Hero: mehr Raum, feiner Verlauf, große redaktionelle Typografie. */
.site-header {
  min-height: min(760px, 100vh);
  display: grid;
  align-items: center;
  text-align: left;
  background-image: linear-gradient(90deg, rgba(246, 241, 235, 0.97) 0%, rgba(246, 241, 235, 0.8) 38%, rgba(246, 241, 235, 0.13) 74%), url("assets/images/hero-sunflower-field.jpg");
  background-position: center;
  color: var(--color-text);
  padding: calc(6rem + var(--nav-clearance)) clamp(1.5rem, 7vw, 8rem) 5rem;
}

.site-header::after { background: linear-gradient(to bottom, transparent, var(--color-bg)); }
.site-header-inner { max-width: 700px; margin: 0; }

.site-logo {
  font-family: var(--font-heading);
  font-size: clamp(3.7rem, 7vw, 6.4rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-shadow: none;
}

.site-logo span { color: var(--color-primary); }
.site-tagline { color: var(--color-text); font-style: normal; font-size: 0.9rem; text-shadow: none; }
.site-tagline::before, .site-tagline::after { color: var(--color-primary); }

.site-section {
  max-width: 1120px;
  padding: clamp(4.75rem, 9vw, 8rem) clamp(1.5rem, 5vw, 4.5rem);
}

.site-content section.site-section:not(.site-section-photo):nth-of-type(even) { background: transparent; }
.site-section + .site-section:not(.site-section-photo) { border-top: 1px solid rgba(37, 40, 47, 0.08); }

.site-about { gap: clamp(2.5rem, 7vw, 7rem); }
.site-about-photo-wrap { padding: 0; border-radius: 220px 220px 12px 12px; background: none; box-shadow: none; }
.site-about-photo { width: min(310px, 72vw); height: 440px; border: 0; border-radius: 210px 210px 8px 8px; }
.site-intro-greeting { font-family: var(--font-script); font-size: 1.85rem; color: var(--color-primary); }

.site-section-photo { background-position: center; }
.site-section-photo-inner { max-width: 1120px; padding: clamp(6rem, 11vw, 9rem) clamp(1.5rem, 5vw, 4.5rem); }

.site-cta,
.btn-primary,
.site-footer-cta {
  background: var(--color-primary);
  box-shadow: none;
  font-family: var(--font-body);
  font-weight: 600;
}

.site-cta { padding: 0.68rem 0.68rem 0.68rem 1.55rem; }
.site-cta-arrow { background: rgba(255, 255, 255, 0.78); color: var(--color-text); }
.site-cta:hover, .site-cta:focus-visible { background: var(--color-primary-dark); box-shadow: 0 12px 28px rgba(118, 87, 97, 0.24); }

.site-leistungen-grid { gap: 1.15rem; }
.site-leistungen-grid a,
.site-contact-info,
.site-form,
.site-list-card {
  border-color: var(--color-border);
  border-radius: 28px 28px 10px 10px;
  box-shadow: none;
  background: var(--color-surface);
}
.site-leistungen-grid a:hover, .site-leistungen-grid a:focus-visible { border-color: var(--color-primary); box-shadow: 0 16px 30px rgba(37, 40, 47, 0.1); }
.site-leistungen-icon { background: #f0e8e2; }

.site-related-card { border-radius: 20px; box-shadow: none; }
.site-related-card--1, .site-related-card--4, .site-related-card--7 { background: #78869a; }
.site-related-card--2, .site-related-card--5, .site-related-card--8 { background: #92717a; }
.site-related-card--3, .site-related-card--6, .site-related-card--9 { background: #a17b65; }
.site-related-card-title, .site-statement-text { font-family: var(--font-heading); font-weight: 400; }

.site-statement { background: #ede5df; padding: clamp(5rem, 10vw, 8rem) 1.5rem; }
.site-statement-text { max-width: 19ch; font-size: clamp(2.45rem, 5.2vw, 4.5rem); line-height: 1.05; }

.site-footer { background: #29333e; padding: 4rem 1.5rem 2rem; }
.site-footer-logo { font-family: var(--font-heading); font-size: 2.4rem; }
.site-footer-logo span { color: #dfc8bc; }

.age-gate-modal { border-radius: 22px; background: var(--color-surface); }
.age-gate-logo-text { font-family: var(--font-heading); color: var(--color-text); }
.age-gate-logo-text span { color: var(--color-primary); }
.sunflower-core { fill: var(--color-primary-dark); }
.sunflower-petals ellipse { fill: #d9b16d; }

/* Dezente, performante Erscheinungsanimation für Inhaltsblöcke. */
@media (prefers-reduced-motion: no-preference) {
  .site-content:not(.is-hidden) .site-footer {
    animation: sunflower-reveal 700ms both;
    animation-timing-function: cubic-bezier(.2, .7, .2, 1);
  }
}

@keyframes sunflower-reveal {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 740px) {
  .site-nav { position: absolute; border-radius: 24px; }
  .site-nav-inner { justify-content: center; gap: 0.6rem 1.05rem; padding: 0.75rem 1rem; }
  .site-nav-logo { width: 100%; text-align: center; }
  .site-lang-switch { margin-left: 0; }
  .site-header { min-height: 680px; background-image: linear-gradient(180deg, rgba(246, 241, 235, 0.96) 0%, rgba(246, 241, 235, 0.82) 58%, rgba(246, 241, 235, 0.28) 100%), url("assets/images/hero-sunflower-field.jpg"); }
  .site-header-inner { margin: 0 auto; text-align: center; }
  .site-content h2 { max-width: none; }
}

/* Scroll-Übergänge: Die Referenz lässt Flächen ineinander übergehen,
   statt Abschnitte durch harte Linien zu trennen. */
.site-section + .site-section:not(.site-section-photo) {
  border-top: 0;
}

.site-section::before,
.site-statement::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -2.75rem;
  left: 7%;
  width: 86%;
  height: 5.5rem;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(105, 117, 139, 0.22) 0%, rgba(146, 113, 122, 0.1) 43%, transparent 72%);
  filter: blur(13px);
  opacity: 0;
  transform: scaleX(0.72) translateY(12px);
  transition: opacity 750ms ease, transform 900ms cubic-bezier(.2, .7, .2, 1);
  pointer-events: none;
}

.site-section.is-current::before,
.site-statement.is-current::before {
  opacity: 1;
  transform: scaleX(1) translateY(0);
}

.site-section > *,
.site-statement > * { position: relative; z-index: 1; }

/* Kleine asymmetrische Medaillons statt technischer, perfekter Kreise. */
.site-leistungen-icon,
.site-content h2 .site-leistungen-icon {
  border-radius: 47% 53% 43% 57% / 55% 45% 55% 45%;
  background: linear-gradient(135deg, #e8dbe0, #e5d6c6);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.72), 0 7px 14px rgba(67, 61, 64, 0.1);
  transition: transform 450ms cubic-bezier(.2, .8, .2, 1), border-radius 450ms ease, box-shadow 450ms ease;
}

.site-leistungen-grid a:hover .site-leistungen-icon,
.site-leistungen-grid a:focus-visible .site-leistungen-icon {
  border-radius: 58% 42% 55% 45% / 45% 55% 45% 55%;
  transform: rotate(-7deg) translateY(-2px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.82), 0 12px 20px rgba(67, 61, 64, 0.16);
}

/* Bewegung nur dort, wo sie nicht vom Betriebssystem reduziert wird. */
@media (prefers-reduced-motion: no-preference) {
  .site-section,
  .site-statement,
  .site-footer {
    transition: transform 650ms cubic-bezier(.2, .7, .2, 1), filter 650ms ease;
  }

  .site-section.is-current,
  .site-statement.is-current {
    transform: translateY(-3px);
    filter: saturate(1.03);
  }
}

/* Desktop-Scroll-Slides: Bildbereiche werden für einen Moment angeheftet,
   während der Inhalt wie bei der Referenz in die nächste Fläche übergeht. */
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .site-section-photo {
    min-height: 130svh;
    padding: 0;
    background-attachment: fixed;
    background-position: center;
  }

  .site-section-photo-inner {
    position: sticky;
    top: 0;
    min-height: 100svh;
    display: grid;
    align-content: center;
    padding-top: calc(4rem + var(--nav-clearance));
    padding-bottom: 5rem;
  }

  .site-section-photo::after {
    content: "";
    position: absolute;
    z-index: 0;
    right: 0;
    bottom: 0;
    left: 0;
    height: 32%;
    background: linear-gradient(to bottom, transparent, var(--color-bg));
    pointer-events: none;
  }

  .site-section-photo-inner {
    z-index: 1;
    transition: opacity 500ms ease, transform 700ms cubic-bezier(.2, .7, .2, 1);
  }

  .site-section-photo.is-current .site-section-photo-inner {
    transform: translateY(-10px);
  }
}

/* Echte Einblendung beim Erreichen eines Abschnitts – auf jeder Unterseite. */
@media (prefers-reduced-motion: no-preference) {
  html.has-scroll-motion .site-section,
  html.has-scroll-motion .site-statement,
  html.has-scroll-motion .site-footer {
    opacity: 0;
    transform: translateY(44px) scale(0.985);
    filter: blur(3px);
    transition: opacity 700ms ease, transform 850ms cubic-bezier(.2, .75, .2, 1), filter 700ms ease;
  }

  html.has-scroll-motion .site-section.is-seen,
  html.has-scroll-motion .site-statement.is-seen,
  html.has-scroll-motion .site-footer.is-seen {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }

  html.has-scroll-motion .site-section.is-seen.is-current,
  html.has-scroll-motion .site-statement.is-seen.is-current {
    transform: translateY(-3px) scale(1);
  }
}
