/* Jo Logo! – Redesign, Version 3
   Grundlage ist Version 1 (warm, fotonah), weitergedacht mit:
   - Aquarell-Flecken in den Farben der Logo-Wolke (SVG-Filter, keine Bilddateien)
   - einem Farbsystem je Leistung: Gelb (Kinder), Türkis (Stimme), Himmelblau (Dentosophie)
   - Trittsteinen aus dem Therapieraum als Motiv für den Ablauf
   - Sprechblasen für die Sätze, die Eltern oft sagen */

:root {
  --weiss: #ffffff;
  --wolke: #f0f7f6;
  --wolke-2: #dcedea;
  --tinte: #243130;
  --tinte-weich: #56625f;
  --petrol: #1d5e5a;
  --petrol-dunkel: #144643;
  --tuerkis: #6cc4bf;
  --gelb: #f4cb55;
  --gelb-hell: #fdf4d6;
  --gelb-dunkel: #e2b33c;
  --himmel: #8fc3e0;   /* Himmelblau aus den hellen Rändern der Logo-Wolke (Dentosophie) */
  --mint: #a9d9c6;     /* zartes Wolken-Mint, nur als vierte Akzentfarbe */
  --linie: #dce6e4;

  --serif: "Alegreya", Georgia, serif;
  --sans: "Alegreya Sans", "Segoe UI", system-ui, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(18px, 4vw, 40px);
  --rund: 22px;
  --stein: 47% 53% 55% 45% / 56% 46% 54% 44%;
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--weiss);
  color: var(--tinte);
  font-family: var(--sans);
  font-size: 1.1875rem;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--petrol); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--petrol-dunkel); }
:focus-visible { outline: 3px solid var(--gelb); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.4vw, 4.3rem); letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.45rem; line-height: 1.2; }
/* Akzentzeile ("und Dentosophie"): rund und etwas verspielt */
h1 em, h2 em { font-family: "Varela Round", var(--sans); font-style: normal; font-weight: 400; letter-spacing: -.01em; color: var(--petrol); }
.hero h1 em { display: block; white-space: nowrap; font-size: .86em; margin-top: .12em; }
p { margin: 0 0 1em; text-wrap: pretty; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.lead { font-size: clamp(1.2rem, 1.7vw, 1.38rem); line-height: 1.5; color: var(--tinte-weich); }
.sprung { position: absolute; left: -9999px; top: .5rem; z-index: 100; background: var(--weiss); padding: .5rem 1rem; }
.sprung:focus { left: 1rem; }

/* ---------- Aquarell (Filter-Definitionen stehen im Seitenkopf) ---------- */
.aq-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.aq {
  position: absolute; z-index: 0;
  height: auto; overflow: visible;
  pointer-events: none;
  mix-blend-mode: multiply;
}
.aq ellipse { fill-opacity: .55; }
.aq--tuerkis ellipse { fill: var(--tuerkis); }
.aq--gelb ellipse { fill: var(--gelb); }
.aq--himmel ellipse { fill: var(--himmel); }
.aq--mint ellipse { fill: var(--mint); }

/* Fliegende Buchstaben wie im Logo */
.flug { position: absolute; z-index: 2; height: auto; overflow: visible; pointer-events: none; }
.flug text { font-family: var(--sans); font-size: 21px; fill: var(--tinte); letter-spacing: 2px; }

/* ---------- Kopf ---------- */
.topbar { background: var(--wolke); color: var(--tinte-weich); font-size: .95rem; }
.topbar .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 40px; }
.topbar .rechts { margin-left: auto; display: flex; align-items: center; gap: 1.5rem; }
.topbar a { color: var(--tinte); font-weight: 700; text-decoration: none; }
.topbar a:hover { color: var(--petrol); }

.kopf { position: sticky; top: 0; z-index: 50; background: var(--weiss); box-shadow: 0 1px 0 var(--linie); }
.kopf .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 94px; }
.marke { display: block; flex: none; }
.marke img { height: 78px; width: auto; }

.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .1rem; }
.nav a, .sub-toggle {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .6rem .75rem;
  font: 500 1.05rem/1.2 var(--sans);
  color: var(--tinte); text-decoration: none;
  background: none; border: 0; border-radius: 10px; cursor: pointer;
}
.nav > ul > li > a:hover, .sub-toggle:hover { background: var(--wolke); color: var(--tinte); }
.nav a[aria-current="page"], .has-sub.is-current > .sub-toggle { color: var(--petrol); font-weight: 700; background: var(--wolke); }
.sub-toggle svg { width: 12px; height: 12px; transition: transform .2s; }
.has-sub:hover .sub-toggle svg, .has-sub.open .sub-toggle svg { transform: rotate(180deg); }
.nav .nav-cta { margin-left: .6rem; padding: .75rem 1.15rem; background: var(--petrol); color: #fff; font-weight: 700; border-radius: 12px; }
.nav .nav-cta:hover { background: var(--petrol-dunkel); color: #fff; }

.has-sub { position: relative; }
.sub {
  list-style: none; margin: 0; padding: .5rem;
  position: absolute; top: calc(100% + 12px); left: 50%;
  width: 360px;
  background: var(--weiss);
  border-radius: 16px;
  box-shadow: 0 0 0 1px var(--linie), 0 24px 50px -24px rgba(20, 60, 57, .4);
  opacity: 0; visibility: hidden;
  transform: translate(-50%, -4px);
  transition: opacity .16s, transform .16s, visibility .16s;
}
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.sub a { display: grid; grid-template-columns: 14px 1fr; gap: .1rem .85rem; padding: .8rem .9rem; border-radius: 12px; }
.sub a::before {
  content: ""; grid-row: span 2;
  width: 14px; height: 14px; margin-top: .38rem;
  border-radius: var(--stein); background: var(--punkt, var(--tuerkis));
}
.sub strong { font-family: var(--serif); font-size: 1.15rem; font-weight: 700; line-height: 1.25; }
.sub span { font-size: .95rem; color: var(--tinte-weich); }
.sub a:hover, .sub a[aria-current="page"] { background: var(--wolke); }

.nav-toggle {
  display: none;
  font: 700 1.05rem var(--sans); color: var(--petrol);
  background: var(--wolke); border: 0; border-radius: 12px;
  padding: .7rem 1.1rem; cursor: pointer;
}

@media (max-width: 1000px) {
  .kopf .wrap { min-height: 74px; }
  .marke img { height: 58px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--weiss);
    box-shadow: 0 18px 30px -18px rgba(0, 0, 0, .25);
    display: none; max-height: calc(100vh - 74px); overflow-y: auto;
  }
  .nav.open { display: block; }
  .nav > ul { flex-direction: column; align-items: stretch; padding: .25rem var(--gutter) 1.25rem; gap: 0; }
  .nav > ul > li { border-bottom: 1px solid var(--linie); }
  .nav > ul > li:last-child { border-bottom: 0; padding-top: 1rem; }
  .nav a, .sub-toggle { width: 100%; justify-content: space-between; padding: 1rem .2rem; font-size: 1.15rem; border-radius: 0; }
  .nav a[aria-current="page"], .has-sub.is-current > .sub-toggle,
  .nav > ul > li > a:hover, .sub-toggle:hover { background: none; }
  .nav .nav-cta { justify-content: center; margin: 0; border-radius: 12px; }
  .sub {
    position: static; width: auto; padding: 0 0 .75rem;
    box-shadow: none; border-radius: 0;
    display: none; opacity: 1; visibility: visible; transform: none;
  }
  .has-sub:hover .sub, .has-sub:focus-within .sub { display: none; transform: none; }
  .has-sub.open .sub { display: block; transform: none; }
  .topbar .ort { display: none; }
}
@media (max-width: 480px) {
  .topbar .kassen { display: none; }
}

/* ---------- Knöpfe & Links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .95rem 1.4rem;
  font: 700 1.08rem/1.1 var(--sans);
  color: #fff; background: var(--petrol);
  border: 2px solid var(--petrol); border-radius: 12px;
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--petrol-dunkel); border-color: var(--petrol-dunkel); color: #fff; }
.btn--rand { background: transparent; color: var(--petrol); }
.btn--rand:hover { background: var(--weiss); color: var(--petrol-dunkel); }
.knoepfe { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; }
.textlink {
  font-weight: 700; color: var(--petrol);
  text-decoration: underline; text-decoration-color: var(--gelb);
  text-decoration-thickness: 3px; text-underline-offset: 6px;
}
.textlink:hover { text-decoration-color: var(--petrol); }

/* ---------- Startseite: Einstieg ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(2.5rem, 6vw, 5.5rem) 0 clamp(4rem, 8vw, 6.5rem); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.hero h1 { font-size: clamp(2.7rem, 5.8vw, 4.6rem); max-width: 13.5ch; }
.hero .lead { max-width: 36ch; margin-bottom: 2rem; }
.merkmale { list-style: none; margin: 2.5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.8rem; font-size: 1.02rem; color: var(--tinte-weich); }
.merkmale li { display: inline-flex; align-items: center; gap: .55rem; }
.merkmale li::before { content: ""; flex: none; width: 12px; height: 12px; border-radius: var(--stein); background: var(--farbe, var(--tuerkis)); }

.hero-bild { position: relative; justify-self: end; width: min(100%, 470px); }
.hero-bild img {
  position: relative; z-index: 1;
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 22%;
  border-radius: var(--rund);
}
.hero-bild .aq--tuerkis { width: 140%; left: -32%; top: -20%; }
.hero-bild .aq--gelb { width: 70%; right: -26%; bottom: -20%; }
.hero-bild .flug { width: 64%; left: -42%; top: -9%; }

@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-bild { justify-self: center; width: min(84%, 420px); margin-top: 1.5rem; }
  .hero-bild .flug { width: 52%; left: -4%; top: -14%; }
}

/* ---------- Abschnitte ---------- */
.abschnitt { position: relative; padding: clamp(4rem, 8vw, 6.5rem) 0; }
/* Aquarell-Flecken dürfen über den Rand laufen, aber keinen Querscroll auslösen */
.abschnitt, .leistungen, .person { overflow-x: hidden; overflow-x: clip; }
.abschnitt--wolke { background: var(--wolke); }
.abschnitt--eng { padding-top: 0; }
.kopfzeile { max-width: 660px; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.kopfzeile .lead { margin: 0; }
.zwei { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.zwei--oben { align-items: start; }
.zwei > * { min-width: 0; }
@media (max-width: 880px) { .zwei { grid-template-columns: 1fr; } }

/* Leistungen als Foto-Geschichten */
.leistungen { padding: clamp(3rem, 6vw, 5rem) 0 clamp(4.5rem, 9vw, 7rem); }
.kacheln { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.75rem); align-items: start; }
.kachel { position: relative; display: block; color: inherit; text-decoration: none; }
.kachel:nth-child(2) { margin-top: 4.5rem; }
.kachel:nth-child(3) { margin-top: 1.75rem; }
.kachel .aq { width: 72%; }
.kachel:nth-child(1) .aq { left: -16%; top: -9%; }
.kachel:nth-child(2) .aq { right: -14%; top: 38%; }
.kachel:nth-child(3) .aq { right: -12%; top: -10%; }
.kachel-bild { position: relative; z-index: 1; overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--rund); }
.kachel-bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.kachel:hover .kachel-bild img { transform: scale(1.035); }
.kachel-text { position: relative; z-index: 1; padding: 1.4rem .2rem 0; }
.kachel h3 { font-size: clamp(1.5rem, 2.2vw, 1.85rem); margin-bottom: .45rem; }
.kachel p { color: var(--tinte-weich); margin-bottom: .8rem; }
.kachel .mehr { font-weight: 700; color: var(--petrol); text-decoration: underline; text-decoration-color: var(--farbe); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.kachel:hover .mehr { text-decoration-color: var(--petrol); }
@media (max-width: 900px) {
  .kacheln { grid-template-columns: 1fr; gap: 3rem; }
  .kachel:nth-child(n) { margin-top: 0; }
  .kachel-bild { aspect-ratio: 3 / 2; }
  .kachel .aq { width: 55%; }
}

/* Collage */
.collage { position: relative; min-height: 540px; }
.collage img { position: absolute; z-index: 1; object-fit: cover; border-radius: 18px; }
.collage .c1 { width: 64%; height: 80%; left: 0; top: 0; }
.collage .c2 { width: 50%; height: 56%; right: 0; bottom: 0; border: 8px solid var(--wolke); border-radius: 24px; }
.collage .aq { width: 70%; right: -6%; top: -8%; }
@media (max-width: 880px) { .collage { min-height: 430px; } }

.werte { list-style: none; margin: 1.75rem 0 2.25rem; padding: 0; display: grid; gap: 1.15rem; }
.werte li { position: relative; padding-left: 2rem; }
.werte li::before { content: ""; position: absolute; left: 0; top: .5em; width: 15px; height: 15px; border-radius: var(--stein); background: var(--farbe, var(--tuerkis)); }
.werte b { display: block; font-family: var(--serif); font-size: 1.25rem; line-height: 1.3; }

/* Trittsteine */
.weg { position: relative; }
.weg-pfad { position: absolute; left: 0; top: 0; width: 100%; height: 110px; overflow: visible; }
.weg-pfad path { fill: none; stroke: var(--tinte); stroke-opacity: .4; stroke-width: 2; stroke-dasharray: 1 9; stroke-linecap: round; }
.steine { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.stein {
  display: grid; place-items: center;
  width: 84px; height: 72px; margin-bottom: 1.3rem;
  font: 700 1.75rem/1 var(--serif); color: var(--tinte);
  background: var(--farbe, var(--tuerkis));
  border-radius: var(--stein);
  box-shadow: inset 0 -6px 0 rgba(0, 0, 0, .08);
}
.steine li:nth-child(2) .stein { margin-top: 34px; border-radius: 55% 45% 50% 50% / 48% 56% 44% 52%; }
.steine li:nth-child(3) .stein { margin-top: 6px; border-radius: 44% 56% 48% 52% / 54% 44% 56% 46%; }
.steine li:nth-child(4) .stein { margin-top: 28px; border-radius: 52% 48% 57% 43% / 46% 54% 46% 54%; }
.steine h3 { margin-bottom: .35rem; }
.steine p { margin: 0; color: var(--tinte-weich); font-size: 1.05rem; }
.weiter { margin: 2.75rem 0 0; }
@media (max-width: 760px) {
  .weg-pfad { display: none; }
  .steine { grid-template-columns: 1fr; gap: 1.75rem; }
  .steine::before { content: ""; position: absolute; left: 41px; top: 40px; bottom: 40px; border-left: 2px dotted rgba(36, 49, 48, .35); }
  .steine li { position: relative; display: grid; grid-template-columns: 84px 1fr; column-gap: 1.25rem; align-items: start; }
  .steine li .stein, .steine li:nth-child(n) .stein { margin: 0; grid-row: span 2; }
}

/* Ablauf-Seite: Trittsteine untereinander mit mehr Text */
.steine--senkrecht { grid-template-columns: 1fr; gap: 2.5rem; max-width: 820px; }
.steine--senkrecht::before { content: ""; position: absolute; left: 41px; top: 40px; bottom: 40px; border-left: 2px dotted rgba(36, 49, 48, .35); }
.steine--senkrecht li { position: relative; display: grid; grid-template-columns: 84px 1fr; column-gap: 1.75rem; align-items: start; }
.steine--senkrecht li .stein, .steine--senkrecht li:nth-child(n) .stein { margin: 0; grid-row: span 3; }
.steine--senkrecht p + p { margin-top: .6rem; }
.steine--senkrecht .klein { font-size: .98rem; font-style: italic; }

/* Aquarell-Grafik für die Stimmtherapie (statt Foto): Schallwellen + fliegende Buchstaben */
.illu { position: relative; z-index: 1; overflow: hidden; background: var(--wolke); border-radius: var(--rund); aspect-ratio: 5 / 4; }
.illu svg { display: block; width: 100%; height: 100%; overflow: visible; }
.illu .illu-t { fill: var(--tuerkis); fill-opacity: .55; }
.illu .illu-g { fill: var(--gelb); fill-opacity: .6; }
.illu .illu-punkt { fill: var(--petrol); }
.illu .welle { fill: none; stroke: var(--petrol); stroke-width: 7; stroke-linecap: round; }
.illu .welle:nth-of-type(2) { stroke-opacity: .7; }
.illu .welle:nth-of-type(3) { stroke-opacity: .45; }
.illu text { font-family: var(--sans); font-size: 26px; letter-spacing: 3px; fill: var(--tinte); }
.kachel-bild.illu { aspect-ratio: 4 / 5; }
.kachel-bild.illu svg { transition: transform .6s ease; }
.kachel:hover .kachel-bild.illu svg { transform: scale(1.035); }
@media (max-width: 900px) { .kachel-bild.illu { aspect-ratio: 3 / 2; } }

/* Fotoausschnitt (Stimmtherapie): nur Flasche, Schlauch und Hände, ohne Gesicht */
.ausschnitt {
  position: relative; z-index: 1;
  aspect-ratio: 5 / 4; border-radius: var(--rund);
  /* Bild steht inline im HTML (background-image), damit der Pfad relativ zur Seite gilt */
  background-position: var(--pos, 50% 50%);
  background-size: var(--gr, 100%) auto;
  background-repeat: no-repeat;
}
.kachel-bild.ausschnitt { aspect-ratio: 4 / 5; }
/* Im Querformat (Handy) etwas tiefer ansetzen, damit Flaschenboden und Hand ganz im Bild sind */
@media (max-width: 900px) { .kachel-bild.ausschnitt { aspect-ratio: 3 / 2; --pos: 50% 58% !important; } }

/* Zwei Fotos übereinander (Dentosophie: Mund, Kiefer, Haltung) */
.bild-paar { position: relative; display: grid; gap: clamp(.7rem, 1.5vw, 1rem); }
.bild-paar img { position: relative; z-index: 1; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 18px; }
.bild-paar .aq { width: 75%; right: -14%; top: -10%; }
@media (max-width: 880px) { .bild-paar { width: min(100%, 560px); } }

/* Fotoreihe (Dentosophie) */
.galerie-abschnitt { padding-bottom: 0; }
.galerie { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.8rem, 2vw, 1.4rem); }
.galerie img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; }
.galerie--quer { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.galerie--quer img { aspect-ratio: 4 / 3; }
@media (max-width: 700px) {
  .galerie { grid-template-columns: 1fr 1fr; }
  .galerie li:last-child { grid-column: span 2; }
  .galerie li:last-child img { aspect-ratio: 16 / 10; }
}

/* Spiegel-Foto mit Spielbildern (Kinderseite) */
.spiel { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(.7rem, 1.5vw, 1rem); }
.spiel img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; }
.spiel .aq { width: 70%; left: -14%; bottom: -12%; }
@media (max-width: 880px) { .spiel { width: min(100%, 560px); } }

/* Ablauf-Seite: Schritte links, Trittstein-Foto rechts (bleibt beim Scrollen stehen) */
.schritte { grid-template-columns: 1.45fr .85fr; }
.schritte-bild { position: sticky; top: 130px; }
@media (max-width: 880px) {
  .schritte { grid-template-columns: 1fr; }
  .schritte-bild { position: relative; top: auto; width: min(100%, 420px); }
}

/* Zitat in der Aquarell-Wolke */
.zitat { position: relative; overflow: hidden; padding: clamp(5rem, 11vw, 8.5rem) 0; text-align: center; }
.zitat .aq { width: min(820px, 120%); left: 50%; top: 50%; transform: translate(-50%, -50%); }
.zitat blockquote { position: relative; z-index: 1; margin: 0 auto; max-width: 19ch; font: italic 500 clamp(2.1rem, 4.6vw, 3.5rem)/1.15 var(--serif); }
.zitat .quelle { position: relative; z-index: 1; margin: 1.1rem 0 0; font-size: 1.05rem; letter-spacing: .06em; color: var(--tinte); }

/* Kontaktblock vor dem Fuß */
/* Kontaktblock: gerahmte Karte auf weißem Grund mit dunkelgelbem Rand */
.anfrage { position: relative; isolation: isolate; overflow-x: hidden; overflow-x: clip; background: var(--weiss); padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.anfrage .wrap {
  position: relative;
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 1.5rem clamp(2rem, 5vw, 4rem); align-items: start;
  margin: 0 max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter)));
  max-width: none;
  padding: clamp(1.75rem, 4.5vw, 3.5rem);
  border: 2px solid var(--gelb-dunkel);
  border-radius: var(--rund);
  background: var(--weiss);
}
/* Aquarell-Fleck schaut hinter der rechten oberen Ecke der Karte hervor */
.anfrage .wrap > .aq { z-index: -1; width: 260px; right: -70px; top: -80px; }
.anfrage-kopf { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 1.1rem; }
.anfrage-text p { margin-top: 0; }
.anfrage .eckdaten { align-self: stretch; align-content: start; padding-left: clamp(2rem, 5vw, 4rem); border-left: 1.5px solid var(--gelb); }
@media (max-width: 880px) { .anfrage .eckdaten { padding: 1.5rem 0 0; border-left: 0; border-top: 1.5px solid var(--gelb); } }
.anfrage-kopf img {
  flex: none; width: 96px; height: 96px; border-radius: 50%;
  object-fit: cover; object-position: center;
  border: 3px solid var(--weiss); box-shadow: 0 0 0 2px var(--gelb-dunkel);
}
.anfrage-kopf h2 { margin: 0; }
@media (max-width: 520px) { .anfrage-kopf img { width: 72px; height: 72px; } .anfrage .wrap > .aq { width: 180px; right: -40px; top: -60px; } }
.anfrage h2 { margin-bottom: .4em; }
.anfrage p { max-width: 44ch; margin-bottom: 1.75rem; }
.anfrage .aq { width: 520px; right: -200px; bottom: -230px; }
.eckdaten { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .8rem 1.5rem; font-size: 1.08rem; }
.eckdaten dt { font-weight: 700; }
.eckdaten dd { margin: 0; }
@media (max-width: 880px) { .anfrage .wrap { grid-template-columns: 1fr; } }

/* ---------- Unterseiten ---------- */
.seitenkopf { position: relative; overflow: hidden; padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(3.5rem, 7vw, 5.5rem); }
.seitenkopf .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.seitenkopf h1 { max-width: 14ch; }
.seitenkopf .lead { max-width: 40ch; margin: 0; }
.seitenkopf--schlicht .wrap { grid-template-columns: 1fr; }
.seitenkopf--schlicht .aq { width: 400px; right: -110px; top: 24px; }
@media (max-width: 700px) { .seitenkopf--schlicht .aq { width: 260px; right: -120px; top: 10px; } }
.pfad { font-size: .98rem; color: var(--tinte-weich); margin: 0 0 1.25rem; }
.pfad a { color: var(--tinte-weich); }
.kopfbild { position: relative; }
.kopfbild img { position: relative; z-index: 1; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--rund); }
.kopfbild .aq { width: 128%; left: -22%; top: -24%; }
@media (max-width: 880px) {
  .seitenkopf .wrap { grid-template-columns: 1fr; }
  .kopfbild { width: min(100%, 560px); }
}

.bild { position: relative; }
.bild img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--rund); }
.bild .aq { width: 75%; }
.bild--links .aq { left: -14%; bottom: -10%; }
.bild--rechts .aq { right: -14%; top: -10%; }
.bild--quer img { aspect-ratio: 1 / 1; }
@media (max-width: 880px) { .bild { width: min(100%, 520px); } }

.text { max-width: 68ch; }
.text h2 { margin-top: 2.5rem; }
.text h2:first-child { margin-top: 0; }
.text ul { padding-left: 1.2rem; }
.text li { margin-bottom: .45rem; }
.text li::marker { color: var(--petrol); }

/* Zweite Spalte beginnt auf Höhe des Textes (unter der Überschrift der ersten Spalte) */
.spalte-tief { margin-top: clamp(3.4rem, 5.6vw, 4.4rem); }
.ganze-breite { grid-column: 1 / -1; }
@media (max-width: 880px) { .spalte-tief { margin-top: 0; } }

/* Rechtstexte: Überschriften links, Text rechts */
.rechtstext { max-width: none; display: grid; grid-template-columns: minmax(220px, 1fr) 2.4fr; column-gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.rechtstext > * { grid-column: 2; max-width: 68ch; }
.rechtstext > h2 { grid-column: 1; font-size: 1.45rem; }
.rechtstext > h2, .rechtstext > h2 + * { margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid var(--linie); }
.rechtstext > h2:first-child, .rechtstext > h2:first-child + * { margin-top: 0; }
@media (max-width: 760px) {
  .rechtstext { display: block; }
  .rechtstext > h2 + * { margin-top: 0; padding-top: 0; border-top: 0; }
}

/* Themen mit Trittstein-Punkten */
.themen { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 3.5rem; }
.themen li { position: relative; padding-left: 2.1rem; }
.themen li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: var(--stein); background: var(--farbe, var(--tuerkis)); }
.themen li:nth-child(3n+1) { --farbe: var(--gelb); }
.themen li:nth-child(3n+2) { --farbe: var(--tuerkis); }
.themen li:nth-child(3n) { --farbe: var(--himmel); }
.themen h3 { font-size: 1.35rem; margin-bottom: .3rem; }
.themen p { margin: 0; color: var(--tinte-weich); }
@media (max-width: 760px) { .themen { grid-template-columns: 1fr; gap: 1.5rem; } }

.punkte { list-style: none; margin: 1rem 0 0; padding: 0; }
.punkte li { position: relative; padding: .5rem 0 .5rem 1.9rem; }
.punkte li::before { content: ""; position: absolute; left: 0; top: .95em; width: 13px; height: 13px; border-radius: var(--stein); background: var(--farbe, var(--tuerkis)); }

.kasten { position: relative; z-index: 1; background: var(--gelb-hell); border-radius: 16px; padding: 1.25rem 1.5rem; margin: 1.75rem 0 0; }
.kasten p:last-child { margin: 0; }
.kasten--weiss { background: var(--weiss); }

/* Sprechblasen */
.reiter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.reiter[hidden] { display: none; }
.reiter button {
  font: 700 1.02rem/1.2 var(--sans);
  padding: .7rem 1.1rem;
  color: var(--petrol); background: transparent;
  border: 2px solid var(--petrol); border-radius: 12px; cursor: pointer;
}
.reiter button:hover { background: var(--weiss); }
.reiter button[aria-selected="true"] { background: var(--petrol); color: #fff; }
.tafel + .tafel { margin-top: 2.5rem; }
.mit-reitern .tafel + .tafel { margin-top: 0; }
.tafel-titel { font-size: 1.35rem; margin-bottom: 1.25rem; }
.mit-reitern .tafel-titel { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.blasen { list-style: none; margin: 0; padding: 0 0 .5rem; display: flex; flex-wrap: wrap; gap: 1.4rem 1rem; align-items: flex-start; }
/* Sprechblasen: weiß mit türkisem Rand; auf der Kinderseite abwechselnd Gelb, Türkis, Himmelblau */
.blasen { --blase: var(--tuerkis); }
/* Kinderseite: festes Raster, damit die Farben schräg untereinander laufen.
   3 Spalten: Muster über 9 Blasen (G T H / H G T / T H G) ergibt Diagonalen. */
.blasen--kinder { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem 1rem; align-items: start; }
.blasen--kinder li { max-width: none; }
.blasen--kinder li:nth-child(9n+1), .blasen--kinder li:nth-child(9n+5), .blasen--kinder li:nth-child(9n+9) { --blase: var(--gelb); }
.blasen--kinder li:nth-child(9n+2), .blasen--kinder li:nth-child(9n+6), .blasen--kinder li:nth-child(9n+7) { --blase: var(--tuerkis); }
.blasen--kinder li:nth-child(9n+3), .blasen--kinder li:nth-child(9n+4), .blasen--kinder li:nth-child(9n+8) { --blase: var(--himmel); }
/* 2 Spalten (Tablet) und 1 Spalte (Handy): einfacher Dreierwechsel ergibt dort die Schräge */
@media (max-width: 900px) {
  .blasen--kinder { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blasen--kinder li:nth-child(3n+1) { --blase: var(--gelb); }
  .blasen--kinder li:nth-child(3n+2) { --blase: var(--tuerkis); }
  .blasen--kinder li:nth-child(3n) { --blase: var(--himmel); }
}
@media (max-width: 560px) { .blasen--kinder { grid-template-columns: 1fr; } }
.blasen li {
  position: relative;
  max-width: 36ch;
  padding: .85rem 1.15rem;
  background: var(--weiss);
  border: 2px solid var(--blase);
  border-radius: 20px;
  font-size: 1.07rem; line-height: 1.4;
}
.blasen li::after {
  content: ""; position: absolute; left: 24px; bottom: -9px;
  width: 15px; height: 15px; background: var(--weiss);
  border-right: 2px solid var(--blase); border-bottom: 2px solid var(--blase);
  transform: rotate(45deg); border-radius: 0 0 4px 0;
}
.blasen-hinweis { max-width: 60ch; margin: 2.5rem 0 0; color: var(--tinte-weich); }
.blasen-hinweis b { color: var(--tinte); }

/* Preise */
.preise { width: 100%; border-collapse: collapse; font-size: 1.1rem; margin-top: .5rem; }
.preise caption { text-align: left; font-weight: 700; padding-bottom: .6rem; color: var(--tinte-weich); }
.preise td { padding: .95rem 0; border-top: 1px solid var(--wolke-2); }
.preise tr:last-child td { border-bottom: 1px solid var(--wolke-2); }
.preise td:last-child { text-align: right; font: 700 1.4rem/1 var(--serif); white-space: nowrap; padding-left: 1rem; }
.preise--zusatz { margin-top: 1.75rem; }
.preise--zusatz td:first-child { line-height: 1.4; }
.preis-info { display: block; margin-top: .35rem; font-size: .92rem; color: var(--tinte-weich); }
.fussnote { font-size: 1rem; color: var(--tinte-weich); margin-top: 1.25rem; }

/* Team */
.person { padding: clamp(3rem, 7vw, 5rem) 0; }
.person + .person { border-top: 1px solid var(--linie); }
.person .zwei { align-items: start; grid-template-columns: .85fr 1.15fr; }
.rolle { font: italic 500 1.35rem/1.35 var(--serif); color: var(--petrol); margin: -.2rem 0 1.25rem; }
.kontaktzeile { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; font-weight: 700; margin: 0 0 1.5rem; }
.werdegang { list-style: none; margin: 1.75rem 0; padding: 1.25rem 1.5rem; background: var(--wolke); border-radius: 16px; }
.werdegang li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: .45rem 0; font-size: 1.05rem; }
.werdegang b { font-family: var(--serif); }
@media (max-width: 880px) { .person .zwei { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .werdegang li { grid-template-columns: 1fr; gap: 0; } }

/* Kontakt-Seite */
.warteliste { position: relative; overflow: hidden; background: var(--wolke); border-radius: var(--rund); padding: clamp(1.75rem, 4vw, 2.75rem); }
.warteliste > :not(.aq) { position: relative; z-index: 1; }
.warteliste .aq { width: 340px; right: -120px; bottom: -150px; }
.telefon-gross { display: inline-block; font: 700 clamp(1.9rem, 4vw, 2.6rem)/1.1 var(--serif); color: var(--tinte); text-decoration: none; margin: .2rem 0 1.25rem; }
.telefon-gross:hover { color: var(--petrol); }

/* ---------- Fuß ---------- */
.fuss { padding: 3.25rem 0 1.5rem; font-size: 1.02rem; color: var(--tinte-weich); }
.fuss-raster { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem; }
.fuss-marke img { width: 150px; }
.fuss h4 { font: 700 1.15rem var(--serif); color: var(--tinte); margin: 0 0 .6rem; }
.fuss ul { list-style: none; margin: 0; padding: 0; }
.fuss li { margin-bottom: .3rem; }
.fuss a { color: var(--tinte-weich); text-decoration: none; }
.fuss a:hover { color: var(--petrol); text-decoration: underline; }
.fuss-unten { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .75rem; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--linie); font-size: .95rem; }
@media (max-width: 900px) { .fuss-raster { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .fuss-raster { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
