/* ============================================================
   Kinderyoga mit Patricia — Design-Tokens
   Alle Werte an Logo und Flyern nachgemessen, siehe
   DESIGN-HERLEITUNG.md. Keine Hex-Werte im Markup.
   ============================================================ */
:root {
  /* Flaechen */
  --blush:       #EECFC0; /* Grundflaeche, gemessen am A6-Flyer */
  --blush-warm:  #E6CDBF; /* zweite Flaeche, gemessen am A5-Flyer */
  --blush-deep:  #E0BCAB; /* abgeleitet: abgesetzte Flaechen */
  --paper:       #FFFFFF; /* weisse organische Formen */

  /* Regenbogen (Logo, gemessen) */
  --arc-terracotta: #D99383; /* aeusserer Bogen */
  --arc-rose:       #F1BEC4; /* zweiter Bogen */
  --arc-sage:       #C4C0A1; /* dritter Bogen */
  --arc-mustard:    #D3B05D; /* innerer Bogen */

  /* Akzente */
  --terracotta:      #D28878; /* Badge A5-Flyer, nur dekorativ (Kontrast zu schwach fuer Text) */
  --terracotta-deep: #A85B4B; /* abgeleitet: Buttons/Links, weiss darauf = 4.9:1 */
  --stone:           #716B60; /* Sprechblase A5-Flyer, weiss darauf = 5.3:1 */
  --terracotta-tint: #FDF4F1; /* abgeleitet: Label-Hintergrund, terracotta-deep darauf 4.55:1 */
  --sage-tint:       #F7F6F0; /* abgeleitet: Label-Hintergrund, terracotta-deep darauf 4.55:1 */

  /* Text */
  --warm-ink:   #4C443E; /* auf --blush 6.5:1, auf --paper 9.5:1 */
  --ink-soft:   #6B615A; /* Nebentext, nur auf --paper (5.6:1) */

  /* Typografie */
  --font-display: "Prata", "Georgia", serif;
  --font-body: "Poppins", "Segoe UI", system-ui, sans-serif;

  /* Layout */
  --content-max: 68rem;
  /* Text-Blobs: horizontale Radien in %, vertikale in festen px. So bleibt die
     Kurvenzone oben/unten konstant klein, egal wie hoch die Karte auf schmalen
     Screens wird — der Text kann nie in die Kurve laufen */
  --radius-blob-a: 54% 46% 52% 48% / 95px 85px 75px 85px;
  --radius-blob-b: 46% 54% 48% 52% / 80px 90px 75px 85px;
  --radius-blob-c: 52% 48% 45% 55% / 75px 85px 90px 80px;
  /* Tiefe Varianten nur fuer Flaechen ohne Text (Bildplaetze) */
  --radius-blob-deep-a: 58% 42% 55% 45% / 52% 48% 52% 48%;
  --radius-blob-deep-b: 45% 55% 48% 52% / 55% 45% 55% 45%;
  --radius-soft: 1.5rem;
}

/* ---------- Schriften, selbst gehostet ---------- */
@font-face {
  font-family: "Prata";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/prata-400.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/poppins-400.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/poppins-500.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/poppins-600.woff2") format("woff2");
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }

/* hidden must win over any display rule (lists hide whole sections when empty) */
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  -webkit-text-size-adjust: 100%; /* iOS Safari: no auto text inflation in landscape */
}
@media (max-width: 800px) {
  html { scroll-padding-top: 6.2rem; } /* zweizeiliger Header, kompakt */
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem; /* 17px */
  line-height: 1.65;
  color: var(--warm-ink);
  background: var(--blush);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(1.9rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.2rem; font-family: var(--font-body); font-weight: 600; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--terracotta-deep); -webkit-tap-highlight-color: transparent; }

img { max-width: 100%; height: auto; }

:focus-visible {
  outline: 3px solid var(--terracotta-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip-Link: unsichtbar, bis er per Tab den Fokus bekommt */
.skip-link {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 100;
  translate: 0 -200%;
  background: var(--warm-ink);
  color: var(--paper);
  font-weight: 600;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  transition: translate 0.2s cubic-bezier(0.23, 1, 0.32, 1);
}
.skip-link:focus { translate: 0 0; }
main:focus { outline: none; } /* nur Sprungziel, kein bedienbares Element */

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
}

section { padding-block: clamp(3rem, 8vw, 5.5rem); }

.section-title { text-align: center; margin-bottom: clamp(1.8rem, 5vw, 3rem); }
.section-title .eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
  margin-bottom: 0.5rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.97); }

.btn-primary {
  background: var(--terracotta-deep);
  color: var(--paper);
}
.btn-primary:hover { background: var(--stone); }

.btn-secondary {
  background: transparent;
  color: var(--warm-ink);
  border-color: var(--warm-ink);
}
.btn-secondary:hover { background: var(--paper); }

.btn svg { flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92); /* fallback for browsers without color-mix */
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  -webkit-backdrop-filter: blur(6px); /* older iOS Safari */
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--blush-warm);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4rem;
  max-width: 78rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.75rem; /* 44px touch target */
  text-decoration: none;
  color: var(--warm-ink);
  font-family: var(--font-display);
  font-size: 1.05rem;
  white-space: nowrap;
}
.brand svg { width: 2.1rem; height: auto; flex: none; }

@media (max-width: 340px) {
  /* Sehr schmale Geraete: Brand nur als Icon, sonst drueckt der Schriftzug den CTA raus */
  .brand-name { display: none; }
  .brand { min-width: 2.75rem; }
}

.site-nav { margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.site-nav::-webkit-scrollbar { display: none; }
.site-nav ul {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  display: block;
  padding: 0.65rem 0.8rem; /* 44px touch target height */
  border-radius: 999px;
  color: var(--warm-ink);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
}
.site-nav a:hover { background: var(--blush); }

.header-cta { flex: none; padding: 0.55rem 1.1rem; font-size: 0.92rem; min-height: 2.75rem; }

@media (max-width: 800px) {
  .header-cta span { display: none; } /* nur Icon auf schmalen Screens */

  /* Kompakter Kreis auf Brand-Hoehe; Tippflaeche unsichtbar auf ~46px erweitert */
  .header-cta {
    padding: 0;
    min-height: 0;
    min-width: 0;
    width: 2.25rem;
    height: 2.25rem;
    justify-content: center;
    position: relative;
  }
  .header-cta::after { content: ""; position: absolute; inset: -0.35rem; border-radius: 999px; }

  /* Zweizeiliger Header: oben Brand + CTA, darunter die Nav in voller Breite */
  .site-header .wrap {
    flex-wrap: wrap;
    row-gap: 0; /* der 1rem-Flex-gap gilt sonst auch zwischen den zwei Zeilen */
    padding-top: 0.4rem;
    padding-bottom: 0.15rem;
    min-height: 0;
  }
  .brand { order: 1; min-height: 2.25rem; }
  .header-cta { order: 2; margin-left: auto; }
  .site-nav {
    order: 3;
    flex-basis: 100%;
    margin-left: 0;
    /* Fade am rechten Rand als Hinweis, dass die Zeile wischbar ist */
    -webkit-mask-image: linear-gradient(to right, #000 90%, transparent);
    mask-image: linear-gradient(to right, #000 90%, transparent);
  }
  .site-nav a { padding: 0.5rem 0.8rem; }
  .site-nav li:last-child a { margin-right: 1.5rem; } /* letzter Reiter nicht im Fade */
  .site-nav a:first-child { padding-left: 0.8rem; }
  .site-nav ul { margin-left: -0.8rem; } /* Reiter-Text buendig mit dem Brand-Icon */
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2.5rem, 7vw, 6rem); }
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 800px) {
  .hero .wrap { grid-template-columns: 1fr; }
}

.hero-card {
  background: var(--paper);
  border-radius: var(--radius-blob-a);
  padding: clamp(3rem, 9vw, 4.5rem) clamp(2.2rem, 7vw, 3.8rem);
}

.badge {
  display: inline-block;
  background: var(--stone);
  color: var(--paper);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  transform: rotate(-3deg);
  margin-bottom: 1.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}
.hero-note {
  margin-top: 0.9rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* ---------- Fotos ----------
   Jedes Foto sitzt in einer organischen Form wie die weissen Flaechen der Flyer.
   Der Hintergrund ist sichtbar, solange das Bild laedt. */
.photo {
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--blush-deep);
  /* Hover uses the individual `translate` property so it never fights the
     reveal, which animates `transform` */
  transition: translate 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}
.photo picture, .photo img {
  display: block;
  width: 100%;
  height: 100%;
}
.photo img {
  object-fit: cover;
  transition: scale 0.7s var(--ease-out);
}

/* Gleiche Bewegungssprache wie die Kaesten: anheben, tieferer Schatten,
   dazu zoomt das Bild sanft in seiner Form */
@media (hover: hover) and (pointer: fine) {
  .photo:hover {
    translate: 0 -6px;
    box-shadow: 0 34px 56px -30px rgba(168, 91, 75, 0.55);
  }
  .photo:hover img { scale: 1.05; }
  /* Ablauf: Foto hebt sich vom Farbschatten ab, der Schatten bleibt liegen */
  .step-photo:hover { box-shadow: none; }
  .step-photo:hover::after { transform: translate(12px, 18px); }
}

.hero-media { position: relative; }
.hero-photo {
  border-radius: var(--radius-blob-deep-b);
  aspect-ratio: 1 / 0.96;
}
/* Leichter Zoom auf den Tuchkreis, damit er die Form fuellt statt der leeren Wand */
.hero-photo img {
  object-position: 54% 50%;
  transform: scale(1.18);
  transform-origin: 55% 74%;
}
/* Ausgetauschtes Foto (Admin): Ausschnitt kommt vom gewählten Punkt, nicht vom Zoom */
.hero-photo.bild-eigen img { transform: none; }

/* Logo-Regenbogen als Siegel, das ueber den Bildrand ragt */
.rainbow-seal {
  position: absolute;
  left: -0.6rem;
  top: 0.6rem;
  width: clamp(5rem, 11vw, 7.5rem);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: var(--paper);
  border-radius: 50%;
  box-shadow: 0 18px 36px -22px rgba(168, 91, 75, 0.55);
  animation: floaty 7s ease-in-out infinite;
}
.rainbow-seal svg { width: 66%; height: auto; margin-top: 8%; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* Foto-Reveal (nur mit JS, siehe main.js): das ganze Foto steigt leicht auf
   und blendet ein, das Bild darin zoomt dabei minimal zurueck. Kurz und
   ohne Wisch-Kante, damit nichts "nachhaengt". */
html.js-reveal .photo-reveal:not(.photo-reveal--iris) {
  opacity: 0;
  transform: translateY(22px) scale(0.98);
  transition:
    opacity 0.5s ease-out,
    transform 0.7s var(--ease-out),
    translate 0.45s var(--ease-out),
    box-shadow 0.45s var(--ease-out);
}
html.js-reveal .photo-reveal:not(.photo-reveal--iris) img {
  transform: scale(1.06);
  transition: transform 0.9s var(--ease-out), scale 0.7s var(--ease-out);
}
html.js-reveal .photo-reveal.is-revealed:not(.photo-reveal--iris) { opacity: 1; transform: none; }
html.js-reveal .photo-reveal.is-revealed img { transform: none; }

/* Runde Formen oeffnen sich wie eine Iris, ausgehend vom Gesicht (--iris-at) */
.photo-reveal--iris { background: none; }
html.js-reveal .photo-reveal--iris img {
  clip-path: circle(0% at var(--iris-at, 50% 50%));
  transform: scale(1.1);
  transition:
    clip-path 0.9s var(--ease-out),
    transform 1.1s var(--ease-out),
    scale 0.7s var(--ease-out);
}
html.js-reveal .photo-reveal--iris.is-revealed img {
  clip-path: circle(80% at var(--iris-at, 50% 50%));
}

/* ---------- Fuer wen ---------- */
.fuer-wen { background: var(--blush-warm); }
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2rem);
}
@media (max-width: 800px) {
  .card-grid { grid-template-columns: 1fr; }
}
.card {
  background: var(--paper);
  border-radius: var(--radius-soft);
  padding: 1.8rem 1.6rem;
  box-shadow: 0 22px 44px -34px rgba(168, 91, 75, 0.45); /* fallback */
  box-shadow: 0 22px 44px -34px color-mix(in srgb, var(--terracotta-deep) 45%, transparent);
}

/* Asymmetrie statt drei identischer Karten: verschiedene Blobs, versetzte Hoehen */
.fuer-wen .card-grid { grid-template-columns: 1.08fr 0.94fr 1.02fr; align-items: start; }
.fuer-wen .card:nth-child(1) { border-radius: var(--radius-blob-a); --rot: -1.1deg; }
.fuer-wen .card:nth-child(2) { margin-top: 3rem; border-radius: var(--radius-blob-b); --rot: 0.9deg; }
.fuer-wen .card:nth-child(3) { margin-top: 1.3rem; border-radius: var(--radius-blob-c); }
@media (max-width: 800px) {
  .fuer-wen .card-grid { grid-template-columns: 1fr; }
  /* border-radius muss hier mit, sonst gewinnen die nth-child-Blobs per Spezifitaet */
  .fuer-wen .card:nth-child(n) { margin-top: 0; --rot: 0deg; border-radius: 2.2rem; }
}
.card-blob {
  border-radius: var(--radius-blob-c);
  padding: 2.8rem 2.4rem;
}
@media (max-width: 800px) {
  /* Auf schmalen Screens laufen die Blob-Kurven in den Text — weicher Radius statt Blob */
  .card-blob { border-radius: 2.2rem; }
}
.card .dot {
  display: inline-block;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  margin: 0.5rem 0 0.9rem 1.6rem; /* Blob-Kurve schneidet die Ecke — Punkt sitzt eingerueckt auf Weiss */
}
.dot-terracotta { background: var(--arc-terracotta); }
.dot-rose { background: var(--arc-rose); }
.dot-sage { background: var(--arc-sage); }
.dot-mustard { background: var(--arc-mustard); }

/* ---------- Ablauf mit Regenbogen-Signature ---------- */
.ablauf .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.85fr); /* steps carry photos, rainbow needs less */
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 800px) {
  .ablauf .wrap { grid-template-columns: 1fr; }
}

.ablauf-rainbow {
  position: sticky;
  top: 6rem;
  display: grid;
  place-items: center;
  padding: 1rem;
}
@media (max-width: 800px) {
  .ablauf-rainbow { position: static; order: -1; }
}
.ablauf-rainbow svg { width: min(100%, 24rem); height: auto; }

/* Boegen werden beim Scrollen gezeichnet (JS setzt .is-drawn) */
.arc {
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: var(--arc-len);
  stroke-dashoffset: var(--arc-len);
  transition: stroke-dashoffset 1.1s ease-out;
}
.arc.is-drawn { stroke-dashoffset: 0; }

/* Kind aus dem Logo blendet ein, wenn alle Boegen stehen */
.rainbow-figure { opacity: 0; transition: opacity 0.8s ease 0.4s; }
.rainbow-figure.is-drawn { opacity: 1; }

/* Scroll-Reveal: Klasse wird per JS vergeben — ohne JS bleibt alles sichtbar */
.reveal {
  opacity: 0;
  --reveal-y: 26px;
  transform: translateY(var(--reveal-y));
  transition:
    opacity 0.7s ease-out,
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-visible { opacity: 1; --reveal-y: 0px; }

/* ---------- Kaesten: eine gemeinsame Bewegungssprache ----------
   transform wird aus Variablen zusammengesetzt, damit Scroll-Reveal (--reveal-y),
   Grundlage (--base-y, --rot) und Hover (--lift, --rot-k) sich nicht ueberschreiben. */
:where(.card, .quote-card, .credential, .individuell) {
  --lift: 0px;
  --base-y: 0px;
  --rot: 0deg;
  --rot-k: 1;
  transition:
    transform 0.45s cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow 0.45s cubic-bezier(0.23, 1, 0.32, 1);
}
html :is(.card, .quote-card, .credential, .individuell) {
  transform: translateY(calc(var(--reveal-y, 0px) + var(--base-y) + var(--lift)))
             rotate(calc(var(--rot) * var(--rot-k)));
}
/* Nach dem Einblenden: Hover ohne Stagger-Verzoegerung (Klasse setzt main.js) */
html :is(.card, .quote-card, .credential, .individuell).is-settled {
  transition:
    transform 0.45s cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow 0.45s cubic-bezier(0.23, 1, 0.32, 1);
  transition-delay: 0s;
}
@media (hover: hover) and (pointer: fine) {
  html :is(.card, .quote-card, .credential, .individuell):hover {
    --lift: -6px;
    --rot-k: 0; /* schraege Karten richten sich auf */
    box-shadow: 0 34px 56px -30px rgba(168, 91, 75, 0.55);
  }
  .card:hover .dot { transform: scale(1.6); }
}
.card .dot { transition: transform 0.45s cubic-bezier(0.23, 1, 0.32, 1); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .arc { stroke-dashoffset: 0; transition: none; }
  .rainbow-figure { opacity: 1; transition: none; }
  .btn:hover, .btn:active { transform: none; }
  .rainbow-seal { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html.js-reveal .photo-reveal img { clip-path: none; transform: none; transition: none; }
  html.js-reveal .photo-reveal:not(.photo-reveal--iris) { opacity: 1; transform: none; transition: none; }
  html :is(.card, .quote-card, .credential, .individuell):hover { --lift: 0px; --rot-k: 1; }
  .card:hover .dot, .ort-card:hover .ort-inhalt::before, .btn-pill:hover .arrow, .quote-card:hover::before, .news-card:hover .news-marke { transform: none; }
  .photo:hover { translate: none; }
  .photo:hover img { scale: none; }
  .step-photo:hover::after { transform: translate(12px, 12px); }
}

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.step {
  position: relative;
  padding: 0 0 1.8rem 3.4rem;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-weight: 600;
  color: var(--warm-ink);
  background: var(--step-color, var(--blush-warm));
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 1.15rem;
  top: 2.7rem;
  bottom: 0.3rem;
  width: 2px;
  background: var(--blush-deep);
}
.step h3 { margin-bottom: 0.3em; }
.step { padding-bottom: 3rem; }

/* Jedes Ablauf-Foto traegt einen versetzten Schatten in der Farbe seines Bogens */
.step-photo {
  margin-top: 1.3rem;
  margin-right: 14px;
  aspect-ratio: 3 / 2;
  overflow: visible;
  background: none;
}
.step-photo picture {
  overflow: hidden;
  border-radius: inherit;
  background: var(--blush-deep);
}
.step-photo { border-radius: 2.2rem 4.5rem 2.6rem 3.8rem / 3rem 2.4rem 4.2rem 2.6rem; }
.step:nth-child(2) .step-photo { border-radius: 4.2rem 2.4rem 3.6rem 2.6rem / 2.6rem 3.8rem 2.4rem 4rem; }
.step:nth-child(3) .step-photo { border-radius: 2.6rem 3.6rem 4.4rem 2.4rem / 3.6rem 2.6rem 3rem 3.4rem; }
.step:nth-child(4) .step-photo { border-radius: 3.8rem 2.6rem 2.4rem 4.4rem / 2.4rem 4rem 3.4rem 2.8rem; }
.step-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--step-color);
  transform: translate(12px, 12px);
  transition: transform 0.45s cubic-bezier(0.23, 1, 0.32, 1);
}
.step-photo { isolation: isolate; }

/* ---------- Ueber mich ---------- */
.ueber-mich { background: var(--paper); }
.ueber-mich .wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 800px) {
  .ueber-mich .wrap { grid-template-columns: 1fr; }
}
.portrait-photo {
  border-radius: var(--radius-blob-deep-a);
  aspect-ratio: 3 / 3.8;
  width: 100%;
  max-width: 24rem;
  margin-inline: auto;
}
.portrait-photo img { object-position: 50% 62%; } /* Gesicht statt Mandala im Ausschnitt */
.portrait-photo { --iris-at: 44% 54%; }

.credential {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: var(--blush-warm);
  border-radius: var(--radius-soft);
  padding: 1rem 1.3rem;
  margin-top: 1.5rem;
  font-weight: 500;
}
.credential svg { flex: none; width: 2.2rem; height: auto; }
.credential strong { font-weight: 600; }

/* ---------- Preise ---------- */
.preise { background: var(--blush-warm); }
.price-card {
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: 2.2rem 1.6rem;
}
.price-card .price {
  font-family: var(--font-display);
  font-size: 2rem;
  margin: 0.4rem 0 0.9rem;
}
.price-card .price small { font-size: 1rem; font-family: var(--font-body); }
.price-card p { color: var(--ink-soft); font-size: 0.98rem; }
.price-card.featured {
  outline: 3px solid var(--arc-terracotta);
  outline-offset: -3px;
  --base-y: -0.8rem;
  --rot: -0.7deg;
  box-shadow: 0 28px 52px -30px rgba(168, 91, 75, 0.55); /* fallback */
  box-shadow: 0 28px 52px -30px color-mix(in srgb, var(--terracotta-deep) 55%, transparent);
}
.preise .card-grid { align-items: start; }
.preise .price-card:nth-child(3) { margin-top: 1.4rem; }
@media (max-width: 800px) {
  .price-card.featured { --base-y: 0px; --rot: 0deg; }
  .preise .price-card:nth-child(3) { margin-top: 0; }
}
.price-note { text-align: center; margin-top: 1.6rem; color: var(--warm-ink); }

/* ---------- Wann & wo ----------
   Bonstetten und die Kurse/Workshops aus der Verwaltung teilen ein
   Zwei-Spalten-Raster: allein volle Breite, mit einem Angebot nebeneinander,
   ungerade letzte Karte volle Breite. Jede Karte waehlt per Container-Query
   anhand ihrer eigenen Breite ihr Layout, darum braucht es keine Sonderfaelle. */
.orte-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2rem);
}
.orte-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 800px) {
  .orte-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Jede Ortskarte traegt einen Regenbogen-Ausschnitt in ihrer Akzentfarbe (oben rechts) */
.ort-card {
  --accent: var(--arc-terracotta);
  --accent-2: var(--arc-rose);
  --accent-tint: var(--terracotta-tint);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  overflow-wrap: anywhere; /* long words typed in the admin must never break the card */
  padding: clamp(2rem, 4vw, 2.6rem) clamp(1.6rem, 3.5vw, 2.6rem);
  border-radius: 2.4rem 3.6rem 2.6rem 3rem / 2.8rem 2.4rem 3.4rem 2.6rem;
}
.ort-inhalt {
  flex: 1;
  display: grid;
  grid-template-areas: "kopf" "fakten" "aktionen";
  grid-template-rows: auto 1fr auto; /* actions sit at the bottom of equal-height cards */
  row-gap: 1.6rem;
}
.ort-kopf { grid-area: kopf; max-width: 82%; /* nicht unter den Regenbogen-Ausschnitt laufen */ }
.ort-text { margin: 0.9rem 0 0; white-space: pre-line; }
.ort-fakten { grid-area: fakten; display: grid; gap: 1.1rem; align-content: start; margin: 0; }
.ort-aktionen { grid-area: aktionen; display: flex; flex-wrap: wrap; gap: 0.6rem; }

/* Schmale Karte (Handy): kleinerer Ring, damit er nie den Titel ueberdeckt */
@container (max-width: 28rem) {
  .ort-card .ort-inhalt::before { top: -70px; right: -70px; width: 135px; height: 135px; border-width: 14px; box-shadow: 0 0 0 7px var(--paper), 0 0 0 19px var(--accent-2); }
  .ort-kopf { max-width: 78%; }
}

/* Breite Karte (Bonstetten allein, ungerade letzte Karte): Kopf und Knoepfe
   links, Fakten zweispaltig rechts. Mehrzeiliges «Wann» ueber beide Spalten. */
@container (min-width: 46rem) {
  .ort-inhalt {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.5fr);
    grid-template-areas: "kopf fakten" "aktionen fakten";
    grid-template-rows: auto 1fr;
    column-gap: 3rem;
  }
  .ort-kopf { max-width: none; }
  .ort-fakten { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.8rem; row-gap: 1.5rem; padding-top: 3.4rem; }
  .ort-fakten > .fact--daten { grid-column: 1 / -1; }
  .ort-aktionen { align-self: end; }
  .ort-card .ort-inhalt::before { top: -96px; right: -96px; width: 180px; height: 180px; }
}

/* ---------- Event-Karte (Aktuelles mit Details) ----------
   Bauart der Ortskarten, dazu Datumskreis neben dem Titel und Programm.
   Knoepfe stehen am Schluss, nach dem Programm. */
.ort-card--event { --news-tint: var(--accent-tint); --news-ring: var(--accent); }
.aktuelles-events > .ort-card--event:nth-child(2n) { --accent: var(--arc-sage); --accent-2: var(--arc-mustard); --accent-tint: var(--sage-tint); }
/* spacing lives on the parts, not as row-gap: empty areas (no plan, no buttons) take no space */
.ort-card--event .ort-inhalt { grid-template-areas: "kopf" "fakten" "plan" "aktionen"; grid-template-rows: auto; row-gap: 0; }
.ort-card--event .ort-fakten { margin-top: 1.6rem; }
.ort-card--event .event-plan { margin-top: 1.8rem; }
.ort-card--event .ort-aktionen { margin-top: 1.6rem; }
.ort-card--ohne-fakten .ort-inhalt { grid-template-areas: "kopf" "plan" "aktionen"; }
.event-titelzeile { display: flex; align-items: center; gap: 1rem; }
.event-titelzeile .news-marke { flex: none; }
.event-plan { grid-area: plan; }
.event-plan-titel {
  margin: 0 0 0.6rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
}
.event-plan-liste { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--blush-warm); }
.event-plan-liste li {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  grid-template-areas: "zeit was" "zeit text";
  gap: 0.15rem 1.4rem;
  align-items: baseline;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--blush-warm);
}
.event-plan-zeit { grid-area: zeit; }
.event-plan-was { grid-area: was; }
.event-plan-text { grid-area: text; }
.event-plan-liste .event-plan-text:empty { display: none; }
.event-plan-zeit { font-family: var(--font-display); font-size: 1.05rem; line-height: 1.5; color: var(--terracotta-deep); }
.event-plan-was { display: block; font-weight: 600; }
.event-plan-text { margin: 0; font-size: 0.95rem; color: var(--ink-soft); white-space: pre-line; }
@container (max-width: 30rem) {
  .event-plan-liste li { grid-template-columns: minmax(0, 1fr); grid-template-areas: "zeit" "was" "text"; }
}
@container (min-width: 46rem) {
  .event-plan-liste li { grid-template-columns: 8.5rem minmax(9rem, 14rem) minmax(0, 1fr); grid-template-areas: "zeit was text"; }
}
@container (min-width: 46rem) {
  .ort-card--event .ort-inhalt { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); grid-template-areas: "kopf fakten" "plan plan" "aktionen aktionen"; grid-template-rows: auto; }
  .ort-card--event .ort-fakten { margin-top: 0; padding: 0.3rem 1.6rem 0 2.4rem; border-left: 1px solid var(--blush-warm); }
  .ort-card--event .ort-inhalt::before {
    top: -100px; right: -100px; width: 150px; height: 150px; border-width: 16px;
    box-shadow: 0 0 0 7px var(--paper), 0 0 0 21px var(--accent-2);
  }
  .ort-card--ohne-fakten .ort-inhalt { grid-template-columns: minmax(0, 1fr); grid-template-areas: "kopf" "plan" "aktionen"; }
  .ort-card--event .event-plan { margin-top: 2rem; }
}
.aktuelles-events { display: grid; gap: clamp(1rem, 2.5vw, 1.6rem); margin-bottom: clamp(1rem, 2.5vw, 1.6rem); }
.aktuelles-events:empty, .aktuelles-grid:empty { display: none; }
.aktuelles-mehr .aktuelles-events { text-align: left; margin-top: 1.4rem; }

/* Befristete Angebote: Akzentfarben wechseln sich automatisch ab */
.ort-card--angebot:nth-of-type(3n + 1) { --accent: var(--arc-sage); --accent-2: var(--arc-mustard); --accent-tint: var(--sage-tint); border-radius: 3.4rem 2.4rem 3rem 2.6rem / 2.4rem 3.2rem 2.6rem 3.4rem; }
.ort-card--angebot:nth-of-type(3n + 2) { --accent: var(--arc-rose); --accent-2: var(--arc-terracotta); --accent-tint: var(--terracotta-tint); border-radius: 2.6rem 3rem 3.6rem 2.4rem / 3.2rem 2.6rem 2.4rem 3rem; }
.ort-card--angebot:nth-of-type(3n + 3) { --accent: var(--arc-mustard); --accent-2: var(--arc-sage); --accent-tint: var(--sage-tint); border-radius: 3rem 2.6rem 2.4rem 3.4rem / 2.6rem 3.4rem 3rem 2.4rem; }


.ort-inhalt::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -78px;
  right: -78px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 20px solid var(--accent);
  box-shadow: 0 0 0 9px var(--paper), 0 0 0 27px var(--accent-2);
  opacity: 0.5;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}
@media (hover: hover) and (pointer: fine) {
  .ort-card:hover .ort-inhalt::before { transform: scale(1.12) rotate(-8deg); }
}
.ort-card .ort-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
  background: var(--accent-tint);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 0.9rem;
}
.ort-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.45rem, 2.6vw, 1.75rem);
  margin-bottom: 0;
}
.fact {
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr);
  column-gap: 0.9rem;
  align-items: start;
  align-content: start; /* in stretched grid rows, label and text stay together */
}
.fact::before {
  content: "";
  grid-row: 1 / span 2;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--accent-tint) var(--icon) center / 1.25rem no-repeat;
}
.fact dt {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 0.15rem;
}
.fact dd { margin: 0.1rem 0 0; white-space: pre-line; /* editierbare Mehrzeiler (statt br) */ }
.fact--anfahrt dd { font-size: 0.95rem; color: var(--ink-soft); }

/* Stroke icons, colour = --warm-ink */
.fact--zeit    { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234C443E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
.fact--alter   { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234C443E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9 10h.01M15 10h.01M8.5 14.5a4.5 4.5 0 0 0 7 0'/%3E%3C/svg%3E"); }
.fact--adresse { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234C443E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5a7 7 0 0 1 14 0C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E"); }
.fact--anfahrt { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234C443E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='3' width='14' height='14' rx='3'/%3E%3Cpath d='M5 11h14M8 21l1.5-4M16 21l-1.5-4'/%3E%3Ccircle cx='8.5' cy='14' r='.6'/%3E%3Ccircle cx='15.5' cy='14' r='.6'/%3E%3C/svg%3E"); }
.fact--daten   { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234C443E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='3'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
.fact--kosten  { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234C443E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='6' width='18' height='12' rx='3'/%3E%3Ccircle cx='12' cy='12' r='2.5'/%3E%3C/svg%3E"); }

/* Karten-Link als Pill-Button, Pfeil weicht bei Hover nach rechts */
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  margin-top: auto;
  padding: 0.6rem 1.2rem;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  color: var(--terracotta-deep);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.btn-pill .arrow { transition: transform 0.25s cubic-bezier(0.23, 1, 0.32, 1); }
.btn-pill:hover { background: var(--terracotta-deep); color: var(--paper); }
.btn-pill:hover .arrow { transform: translateX(4px); }
.btn-pill:active { transform: scale(0.97); }
.btn-pill--voll { background: var(--terracotta-deep); border-color: var(--terracotta-deep); color: var(--paper); }
.btn-pill--voll:hover { background: var(--stone); border-color: var(--stone); }

/* ---------- Aktuelles (Verwaltung) ----------
   Direkt unter dem Hero, gleicher Hintergrund. 1 Meldung: schmal und zentriert,
   2 bis 3: nebeneinander, ab der vierten hinter «Weitere Meldungen». */
.aktuelles { padding-block: clamp(0.5rem, 2vw, 1.5rem) clamp(3rem, 7vw, 5rem); }
.aktuelles .section-title { margin-bottom: clamp(1.4rem, 4vw, 2.2rem); }
/* Spalten nach Anzahl: 1 schmal zentriert, 2 nebeneinander, 3 in einer Reihe
   (Desktop). Ungerade letzte Karte ueber die volle Breite, nie verloren in der Ecke. */
.aktuelles-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1rem, 2.5vw, 1.6rem);
}
.aktuelles-grid:has(> :only-child) { max-width: 46rem; margin-inline: auto; }
@media (min-width: 700px) {
  .aktuelles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aktuelles-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 1000px) {
  [data-liste="aktuelles"]:has(> :nth-child(3)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  [data-liste="aktuelles"]:has(> :nth-child(3)) > :last-child { grid-column: auto; }
}

.news-card {
  --news-tint: var(--terracotta-tint);
  --news-ring: var(--arc-terracotta);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.2rem;
  align-items: start;
  overflow-wrap: anywhere;
  padding: 1.7rem 1.8rem;
  border-radius: 2rem 2.8rem 2.2rem 2.6rem / 2.4rem 2rem 2.8rem 2.2rem;
}
.news-card:nth-child(3n + 2) { --news-tint: var(--sage-tint); --news-ring: var(--arc-sage); border-radius: 2.8rem 2rem 2.6rem 2.2rem / 2rem 2.6rem 2.2rem 2.8rem; }
.news-card:nth-child(3n + 3) { --news-tint: var(--terracotta-tint); --news-ring: var(--arc-rose); border-radius: 2.2rem 2.6rem 2rem 2.8rem / 2.8rem 2.2rem 2.4rem 2rem; }
.news-marke {
  width: 3.8rem;
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  text-align: center;
  line-height: 1;
  border-radius: 50%;
  background: var(--news-tint);
  box-shadow: inset 0 0 0 1.5px var(--news-ring);
}
.news-tag { font-family: var(--font-display); font-size: 1.45rem; }
.news-monat {
  margin-top: 0.15rem;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
}
.news-marke--symbol svg { width: 2.3rem; height: auto; margin-top: 0.3rem; }
.news-titel {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.08rem;
  line-height: 1.35;
  margin: 0.2rem 0 0.35em;
}
.news-text { margin: 0; white-space: pre-line; font-size: 0.98rem; }
.news-inhalt .btn-pill { margin-top: 1rem; }
@media (hover: hover) and (pointer: fine) {
  .news-card .news-marke { transition: transform 0.45s cubic-bezier(0.23, 1, 0.32, 1); }
  .news-card:hover .news-marke { transform: rotate(-8deg) scale(1.06); }
}

.aktuelles-mehr { margin-top: 1.4rem; text-align: center; }
.aktuelles-mehr summary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.6rem 1.3rem;
  border: 1.5px solid var(--warm-ink);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
}
.aktuelles-mehr summary::-webkit-details-marker { display: none; }
.aktuelles-mehr summary:hover { background: var(--paper); }
.aktuelles-mehr[open] summary { display: none; }
.aktuelles-mehr .aktuelles-grid { text-align: left; margin-top: 1.4rem; }

/* Individuelle Kurse — eigener, gewichtiger Block */
.individuell {
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--stone);
  color: var(--paper);
  border-radius: 3.5rem 5.5rem 3.5rem 5.5rem / 4.5rem 3.5rem 5.5rem 3.5rem;
  padding: clamp(2rem, 5vw, 3.2rem) clamp(1.8rem, 5vw, 3.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 1.5rem;
  align-items: center;
}
@media (max-width: 800px) {
  .individuell { grid-template-columns: 1fr; border-radius: 2.2rem; }
}
.individuell h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin-bottom: 0.5em;
}
.individuell p { color: #EEEDEC; } /* = paper 88% / stone 12%, ohne color-mix-Abhaengigkeit */
.individuell .btn-primary { background: var(--paper); color: var(--warm-ink); }
.individuell .btn-primary:hover { background: var(--blush); }

/* ---------- Studio-Galerie (Bonstetten) ---------- */
.studio { margin-top: clamp(2.5rem, 6vw, 4rem); }
.studio-intro .ort-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
  margin-bottom: 0.4rem;
}
.studio-intro h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
}
.studio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 0.85fr;
  grid-template-areas:
    "raum raum buddha"
    "kissen matten buddha";
  gap: clamp(0.7rem, 1.6vw, 1.1rem);
}
.studio-raum   { grid-area: raum;   aspect-ratio: 3 / 1.75; border-radius: 4.5rem 2rem 2.2rem 3rem / 3rem 2rem 2.4rem 4rem; }
.studio-kissen { grid-area: kissen; aspect-ratio: 3 / 2;    border-radius: 2rem 1.4rem 1.6rem 3.6rem / 1.6rem 1.4rem 2rem 3rem; }
.studio-matten { grid-area: matten; aspect-ratio: 3 / 2;    border-radius: 1.4rem 2rem 3rem 1.6rem / 1.4rem 1.6rem 2.6rem 1.4rem; }
.studio-buddha { grid-area: buddha; border-radius: 2rem 5rem 4.5rem 2rem / 3rem 6rem 5rem 2rem; }
@media (max-width: 800px) {
  .studio-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "raum raum"
      "kissen buddha"
      "matten buddha";
  }
}

/* ---------- Stimmen ---------- */
.stimmen { background: var(--blush-warm); }
.stimmen-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1.2rem, 3vw, 2.2rem);
  align-items: center;
}
.stimmen-photo {
  --iris-at: 50% 32%;
  grid-column: 1 / 6;
  aspect-ratio: 5 / 4.4;
  border-radius: var(--radius-blob-deep-a);
}
.quote { margin: 0; }
.quote footer {
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--terracotta-deep);
}
.quote-feature footer::before { content: "— "; }

.quote-feature { grid-column: 7 / 13; }
.quote-feature::before {
  content: "«";
  display: block;
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 6rem);
  line-height: 0.6;
  color: var(--arc-terracotta);
  margin-bottom: 0.6rem;
}
.quote-feature p {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, 2.5rem);
  line-height: 1.25;
}

/* Elternzitate: Zitat-Badge ragt oben aus der Karte (wie das Regenbogen-Siegel
   im Hero), unten eine Autorenzeile mit Initial-Monogramm */
.quote-card {
  --q-accent: var(--arc-terracotta);
  --q-tint: var(--terracotta-tint);
  position: relative;
  background: var(--paper);
  padding: 3.6rem 3.2rem 2.4rem;
  box-shadow: 0 22px 44px -34px rgba(168, 91, 75, 0.45);
  align-self: start;
}
.quote-card:nth-of-type(3) {
  --q-accent: var(--arc-sage);
  --q-tint: var(--sage-tint);
}
.quote-card::before {
  content: "«";
  position: absolute;
  top: -1.7rem;
  left: 2.6rem;
  width: 3.4rem;
  height: 3.4rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--q-accent);
  box-shadow: 0 0 0 6px var(--blush-warm); /* cut-out against the section background */
  font-family: var(--font-display);
  font-size: 3.4rem; /* Prata draws guillemets very small */
  line-height: 1;
  color: var(--paper);
  padding-bottom: 0.12em;
  transition: transform 0.45s cubic-bezier(0.23, 1, 0.32, 1);
}
.quote-card p {
  white-space: pre-line;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--warm-ink);
}
.quote-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.8rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--blush-warm);
}
.monogram {
  flex: none;
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--q-tint);
  box-shadow: inset 0 0 0 1.5px var(--q-accent);
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--terracotta-deep);
}
.quote-author cite {
  font-style: normal;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: var(--warm-ink);
}
@media (hover: hover) and (pointer: fine) {
  .quote-card:hover::before { transform: rotate(-10deg) scale(1.08); }
}
/* Text-heavy cards: organic but shallow corners so no line runs into a curve */
.quote-card:nth-of-type(2) { grid-column: 1 / 8; border-radius: 3rem 4.5rem 3.4rem 4rem / 3.6rem 3rem 4rem 3rem; }
.quote-card:nth-of-type(3) { grid-column: 8 / 13; margin-top: 3rem; border-radius: 4.2rem 3rem 4.4rem 3.2rem / 3rem 4rem 3.2rem 3.8rem; }

@media (max-width: 800px) {
  .stimmen-photo, .quote-feature { grid-column: 1 / -1; }
  .quote-card:nth-of-type(n) { grid-column: 1 / -1; margin-top: 2rem; border-radius: 2.2rem; padding: 3rem 1.8rem 2rem; }
  .quote-card::before { left: 1.8rem; }
}

/* ---------- FAQ ---------- */
.faq { background: var(--paper); }
.faq-list { max-width: 46rem; margin-inline: auto; }
.faq-item {
  border-bottom: 1px solid var(--blush-deep);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0.2rem;
  font-weight: 600;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--terracotta-deep);
  flex: none;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-answer { padding: 0 0.2rem 1.2rem; color: var(--warm-ink); }

/* ---------- Kontakt ---------- */
.kontakt { text-align: center; }
.kontakt-lead { max-width: 34rem; margin-inline: auto; }
.kontakt-primary { margin: 1.8rem 0 0.6rem; }
.kontakt-note { font-size: 0.92rem; color: var(--warm-ink); margin-bottom: 2rem; }
.kontakt-wege {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
/* .tel-text: Telefonnummer am Computer als reiner Text (main.js), gleiche Pille */
.kontakt-wege a, .kontakt-wege .tel-text {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--paper);
  border-radius: 999px;
  padding: 0.6rem 1.2rem;
  text-decoration: none;
  color: var(--warm-ink);
  font-weight: 500;
}
.kontakt-wege a:hover { background: var(--blush-warm); }
.kontakt-adresse { margin-top: 2rem; color: var(--warm-ink); font-size: 0.95rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--stone);
  color: var(--paper);
  padding: 2.5rem 0;
  font-size: 0.9rem;
}
.site-footer .wrap {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
@media (max-width: 640px) {
  .site-footer .wrap { grid-template-columns: 1fr; }
}
.site-footer h2 {
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.site-footer a {
  color: var(--paper);
  /* extended tap area without visual shift */
  display: inline-block;
  padding: 0.7rem 0.25rem;
  margin: -0.7rem -0.25rem;
}
.site-footer p { margin: 0.35rem 0; }

/* ---------- Rechtstexte (datenschutz.html) ---------- */
.rechtstext { padding-block: clamp(2.5rem, 7vw, 4.5rem); background: var(--paper); }
.rechtstext .wrap { max-width: 46rem; }
.rechtstext h1 { margin-bottom: 1.25rem; }
.rechtstext h2 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.1rem;
  margin: 2rem 0 0.4rem;
}
.rechtstext p { margin: 0.4rem 0; }
.rechtstext a { color: var(--terracotta-deep); overflow-wrap: anywhere; }
.rechtstext-stand { margin-top: 2.5rem !important; color: var(--ink-soft); font-size: 0.9rem; }
.rechtstext .rechtstext-zurueck { margin: 0 0 1rem; font-size: 0.95rem; }
.rechtstext-zurueck a { display: inline-block; padding: 0.6rem 0; text-decoration: none; font-weight: 600; }
.rechtstext-zurueck a:hover { text-decoration: underline; }
.kontakt-adresse a {
  display: inline-block;
  padding: 0.6rem 0.3rem;
  margin: -0.6rem -0.3rem;
}
