/* ============================================================
   Ergotherapie im Brunnenhof — WordPress-Theme (NK IT Service)
   Copyright © 2026 NK IT Service. Alle Rechte vorbehalten.
   Markenwelt: Grüntöne + Kreis-/Blasen-Motiv aus dem Kundenlogo
   Schrift: Vollkorn (Display) / Mulish (Text), selbst gehostet
   ============================================================ */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Vollkorn";
  src: url("../fonts/vollkorn-var.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Vollkorn";
  src: url("../fonts/vollkorn-italic-var.woff2") format("woff2");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Mulish";
  src: url("../fonts/mulish-var.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* Logo-Grün (bindend, aus dem Kundenlogo gesampelt) */
  --gruen-tief: oklch(0.431 0.107 151.4);      /* #106030 Schriftzug */
  --gruen-tiefer: oklch(0.361 0.089 151.5);    /* #0b4a24 Hover */
  --gruen-nacht: oklch(0.310 0.070 152.2);     /* #0d3a1e Footer-Band */
  --gruen-oliv: oklch(0.551 0.125 130.6);      /* #588028 Ringe */
  --gruen-hell: oklch(0.694 0.166 130.5);      /* #78b030 Ringe */
  --gruen-frisch: oklch(0.724 0.157 128.4);    /* #88b840 Ringe */
  --tinte: oklch(0.282 0.030 159.4);           /* #1c2e24 Fließtext */
  --tinte-2: oklch(0.40 0.03 155);             /* gedämpfter Text, ≥4,5:1 */
  --grund: #ffffff;
  --wasser-1: oklch(0.970 0.012 133.4);        /* #f2f7ef Sektionston */
  --wasser-2: oklch(0.942 0.029 128.8);        /* #e6f0dc */
  --auf-gruen: #ffffff;
  --auf-gruen-2: oklch(0.920 0.051 130.7);     /* #d9ecc9 Sekundär auf Tiefgrün */
  --linie: oklch(0.90 0.02 140);

  --serif: "Vollkorn", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Mulish", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 74rem;
  --radius: 1.25rem;
  --schatten: 0 14px 40px -18px oklch(0.431 0.107 151.4 / 0.35);

  /* z-Stufen semantisch */
  --z-kopf: 30;
  --z-menue: 40;
  --z-skip: 50;
  --z-banner: 60;
}

/* ---------- Reset / Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--tinte);
  background: var(--grund);
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gruen-tief); text-underline-offset: 3px; }
a:hover { color: var(--gruen-tiefer); }
:focus-visible {
  outline: 3px solid var(--gruen-tief);
  outline-offset: 3px;
  border-radius: 4px;
}
/* Auf dunklen Flächen braucht der Fokusring hellen Kontrast (WCAG 1.4.11) */
.zitat :focus-visible, .termin :focus-visible, .fuss :focus-visible { outline-color: #fff; }
/* Sprungziele nicht unter dem Sticky-Header verstecken */
[id] { scroll-margin-top: 6.5rem; }
p, ul, ol { margin: 0 0 1.1em; max-width: 68ch; }
ul, ol { padding-left: 1.3em; }
strong { font-weight: 750; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.16;
  color: var(--gruen-tief);
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.35rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }
.section { padding-block: clamp(3.6rem, 8vw, 6.5rem); }
.section-lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--tinte-2); }

.skip-link {
  position: absolute; left: -999px; top: 0.75rem; z-index: var(--z-skip);
  background: var(--gruen-tief); color: #fff; padding: 0.7rem 1.2rem;
  border-radius: 999px; text-decoration: none; font-weight: 700;
}
.skip-link:focus { left: 0.75rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.85rem 1.5rem; border-radius: 999px;
  font-weight: 750; font-size: 1.02rem; text-decoration: none;
  border: 2px solid transparent;
  transition: background-color 0.22s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.22s cubic-bezier(0.22, 1, 0.36, 1),
              color 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-voll { background: var(--gruen-tief); color: #fff; }
.btn-voll:hover { background: var(--gruen-tiefer); color: #fff; }
.btn-rand { border-color: var(--gruen-tief); color: var(--gruen-tief); background: transparent; }
.btn-rand:hover { background: var(--gruen-tief); color: #fff; }

.mehr-link {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-weight: 750; text-decoration: none;
}
.mehr-link svg { width: 1.05em; height: 1.05em; transition: translate 0.22s cubic-bezier(0.22, 1, 0.36, 1); }
.mehr-link:hover svg { translate: 4px 0; }

/* ---------- Header ---------- */
.kopf {
  position: sticky; top: 0; z-index: var(--z-kopf);
  background: rgb(255 255 255 / 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease-out, box-shadow 0.25s ease-out;
}
.kopf.getaucht { border-color: var(--linie); box-shadow: 0 10px 30px -22px oklch(0.431 0.107 151.4 / 0.5); }
.kopf-zeile {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-block: 0.8rem;
}
.marke { display: inline-flex; flex: none; }
.marke img { width: auto; height: 76px; }
.hauptnav { display: flex; align-items: center; gap: clamp(0.2rem, 1.2vw, 0.9rem); }
.hauptnav a {
  text-decoration: none; font-weight: 700; color: var(--tinte);
  padding: 0.55rem 0.85rem; border-radius: 999px;
}
.hauptnav a:hover { color: var(--gruen-tief); background: var(--wasser-1); }
.hauptnav a[aria-current="page"] { color: var(--gruen-tief); background: var(--wasser-2); }
/* Telefon-Pille im Kopf: weiß, beim Überfahren grün mit weißer Schrift */
.kopf-tel { margin-left: 0.4rem; padding: 0.6rem 1.15rem; font-size: 0.98rem; }
.hauptnav a.kopf-tel {
  background: #fff; color: var(--gruen-tief); border-color: var(--gruen-tief);
}
.hauptnav a.kopf-tel:hover {
  background: var(--gruen-tief); color: #fff; border-color: var(--gruen-tief);
}

.nav-knopf {
  display: none; border: 0; background: none; cursor: pointer;
  padding: 0.6rem; border-radius: 0.6rem; color: var(--gruen-tief);
}
.nav-knopf svg { width: 1.7rem; height: 1.7rem; display: block; }

@media (max-width: 920px) {
  .nav-knopf { display: block; }
  .hauptnav {
    position: absolute; inset: 100% 0 auto 0; z-index: var(--z-menue);
    flex-direction: column; align-items: stretch; gap: 0.25rem;
    background: #fff; border-bottom: 1px solid var(--linie);
    padding: 0.9rem clamp(1.1rem, 4vw, 2rem) 1.3rem;
    box-shadow: 0 24px 40px -28px oklch(0.431 0.107 151.4 / 0.5);
    display: none;
  }
  .hauptnav.offen { display: flex; }
  .hauptnav a { padding: 0.85rem 1rem; font-size: 1.1rem; }
  .kopf-tel { margin: 0.5rem 0 0; justify-content: center; }
  .marke img { height: 60px; }
}

/* ---------- Ring-Motiv (aus dem Logo) ---------- */
.ringe { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.ringe circle { fill: none; }
.ring-marker { flex: none; width: 3.2rem; height: 3.2rem; }
.ring-marker circle { fill: none; }
.ring-marker .sym { stroke: var(--gruen-tief); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-zeile {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5.5fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
  padding-block: clamp(2.8rem, 6vw, 5.5rem);
}
.hero h1 { margin-bottom: 0.45em; }
.hero-gruss {
  font-family: var(--serif); font-style: italic; font-size: 1.25rem;
  color: var(--gruen-oliv); margin-bottom: 0.5rem; display: block;
}
.hero-text p { font-size: clamp(1.08rem, 1.6vw, 1.2rem); color: var(--tinte-2); }
.hero-aktionen { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.6rem; }
.hero-fakten {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.6rem;
  margin: 2rem 0 0; padding: 0; list-style: none; max-width: none;
}
.hero-fakten li { display: flex; align-items: center; gap: 0.55rem; font-weight: 700; color: var(--tinte-2); font-size: 0.98rem; }
.hero-fakten svg { width: 1.25rem; height: 1.25rem; flex: none; color: var(--gruen-oliv); }

.hero-bild { position: relative; }
.hero-bild-rahmen {
  position: relative; border-radius: 999px 999px 999px var(--radius);
  overflow: hidden; box-shadow: var(--schatten);
  aspect-ratio: 5 / 6;
}
.hero-bild-rahmen img { width: 100%; height: 100%; object-fit: cover; }
.hero-ringe { position: absolute; inset: -8% -12%; width: 124%; height: 116%; }

@media (max-width: 860px) {
  .hero-zeile { grid-template-columns: 1fr; }
  /* Text zuerst: H1 und Anruf-Aktion bleiben im ersten Viewport */
  .hero-bild { max-width: 26rem; margin-inline: auto; }
  .hero-bild-rahmen { aspect-ratio: 3 / 2; border-radius: var(--radius) 999px var(--radius) var(--radius); }
}

/* ---------- Bewegung (nur Bildschirm; Reduced-Motion schaltet alles ab) ----------
   Grammatik der Marke: Wasser- und Klangkreise. Ringe schwingen ein (Klang-Ripple),
   schweben danach ruhig, Blasen steigen auf, Inhalte tauchen sanft ein.
   Ohne JavaScript bleibt jeder Inhalt sofort sichtbar. */
@media screen and (prefers-reduced-motion: no-preference) {

  /* Hero-Ringe: Ripple beim Laden, danach ruhiges Schweben */
  .hero-ringe circle {
    transform-origin: center;
    transform-box: fill-box;
    animation: klang 1.6s cubic-bezier(0.16, 1, 0.3, 1) both,
               schweben 7.5s ease-in-out 2s infinite alternate;
  }
  .hero-ringe circle:nth-child(2) { animation-delay: 0.12s, 2.6s; animation-duration: 1.6s, 8.5s; }
  .hero-ringe circle:nth-child(3) { animation-delay: 0.24s, 3s; animation-duration: 1.6s, 6.5s; }
  .hero-ringe circle:nth-child(4) { animation-delay: 0.36s, 3.4s; animation-duration: 1.6s, 9.5s; }
  @keyframes klang {
    from { scale: 0.82; opacity: 0; }
    to { scale: 1; opacity: 1; }
  }
  @keyframes schweben {
    from { translate: 0 0; }
    to { translate: 0 -16px; }
  }

  /* Blasen steigen im Hero auf (das Blasen-Motiv des Logos) */
  .hero-ringe circle.blase {
    animation: steigen 9s linear infinite;
    opacity: 0;
  }
  @keyframes steigen {
    0% { translate: 0 30px; opacity: 0; }
    12% { opacity: 0.85; }
    72% { opacity: 0.85; }
    100% { translate: 0 -170px; opacity: 0; }
  }

  /* Hintergrund-Ringe aller Bänder und Seitenköpfe: Schweben + Atmen */
  .ringe circle, .wohl-ringe circle {
    transform-origin: center;
    transform-box: fill-box;
    animation: schweben 11s ease-in-out infinite alternate,
               atmen 13s ease-in-out infinite alternate;
  }
  .ringe circle:nth-child(2), .wohl-ringe circle:nth-child(2) {
    animation-duration: 13s, 15s; animation-direction: alternate-reverse, alternate;
  }
  .ringe circle:nth-child(3) { animation-delay: 1.2s, 0.6s; animation-duration: 9.5s, 12s; }
  .ringe circle:nth-child(4) { animation-delay: 2s, 1.4s; animation-duration: 12.5s, 10s; animation-direction: alternate-reverse, alternate; }
  @keyframes atmen {
    from { scale: 1; }
    to { scale: 1.06; }
  }

  /* Sanftes Eintauchen beim Scrollen (JS vergibt .anim/.da und staffelt über --d) */
  html.js .anim { opacity: 0; translate: 0 26px; }
  html.js .anim.da {
    opacity: 1; translate: 0 0;
    transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1) var(--d, 0ms),
                translate 0.75s cubic-bezier(0.22, 1, 0.36, 1) var(--d, 0ms);
  }
  /* Ring-Marker zeichnen ihren Kreis beim Eintauchen */
  html.js .anim .ring-marker circle:first-of-type { stroke-dasharray: 145; stroke-dashoffset: 145; }
  html.js .anim.da .ring-marker circle:first-of-type {
    animation: ring-zeichnen 1.1s cubic-bezier(0.22, 1, 0.36, 1) var(--d, 0ms) forwards;
  }
  @keyframes ring-zeichnen { to { stroke-dashoffset: 0; } }

  /* Haken der Vertrauenszeile zeichnen sich nach dem Laden */
  .hero-fakten svg path { stroke-dasharray: 16; stroke-dashoffset: 16; animation: haken 0.5s ease-out 1.1s forwards; }
  .hero-fakten li:nth-child(2) svg path { animation-delay: 1.35s; }
  .hero-fakten li:nth-child(3) svg path { animation-delay: 1.6s; }
  @keyframes haken { to { stroke-dashoffset: 0; } }

  /* Kleine Symbol-Momente: Icon-Ringe atmen versetzt */
  .wohl-liste svg, .kontakt-daten svg { animation: atmen-icon 4.5s ease-in-out infinite; }
  .wohl-liste li:nth-child(2) svg, .kontakt-daten li:nth-child(2) svg { animation-delay: 0.8s; }
  .wohl-liste li:nth-child(3) svg, .kontakt-daten li:nth-child(3) svg { animation-delay: 1.6s; }
  .wohl-liste li:nth-child(4) svg, .kontakt-daten li:nth-child(4) svg { animation-delay: 2.4s; }
  @keyframes atmen-icon {
    0%, 100% { scale: 1; }
    50% { scale: 1.07; }
  }
  /* Klangschalen-Wellen pulsieren, Reiki-Funken funkeln */
  .wohl-liste li:nth-child(1) svg path:nth-of-type(3) { animation: wellen 2.6s ease-in-out infinite; }
  @keyframes wellen {
    0%, 100% { opacity: 0.35; }
    50% { opacity: 1; }
  }
  .wohl-liste li:nth-child(2) svg path:nth-of-type(2) {
    transform-origin: center; transform-box: fill-box;
    animation: funkeln 2.2s ease-in-out infinite;
  }
  @keyframes funkeln {
    0%, 100% { scale: 0.7; opacity: 0.4; }
    50% { scale: 1.15; opacity: 1; }
  }

  /* Telefon klingelt dezent im Termin-Band */
  .termin-tel svg { transform-origin: center; animation: klingeln 6s ease-in-out 3s infinite; }
  @keyframes klingeln {
    0%, 86%, 100% { rotate: 0deg; }
    88% { rotate: 10deg; }
    90% { rotate: -9deg; }
    92% { rotate: 7deg; }
    94% { rotate: -5deg; }
    96% { rotate: 2deg; }
  }

  /* Hero-Bild schwebt minimal mit */
  .hero-bild-rahmen { animation: schweben-klein 9s ease-in-out 2.5s infinite alternate; }
  @keyframes schweben-klein {
    from { translate: 0 0; }
    to { translate: 0 -8px; }
  }

  /* Buttons heben sich, Bilder zoomen sanft beim Überfahren */
  .btn {
    transition: background-color 0.22s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.22s cubic-bezier(0.22, 1, 0.36, 1),
                color 0.22s cubic-bezier(0.22, 1, 0.36, 1),
                translate 0.22s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.22s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .btn:hover { translate: 0 -2px; box-shadow: 0 10px 22px -12px oklch(0.431 0.107 151.4 / 0.55); }
  .felder-bild img, .block-zeile img, .praxis-zeile img, .wohl-bild img, .hero-bild-rahmen img {
    transition: scale 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .felder-bild figure:hover img, .block-zeile figure:hover img,
  .praxis-zeile figure:hover img, .wohl-bild:hover img, .hero-bild-rahmen:hover img { scale: 1.03; }

}

/* ---------- Zitat-Band ---------- */
.zitat {
  position: relative; overflow: hidden;
  background: var(--gruen-tief); color: var(--auf-gruen);
}
.zitat blockquote {
  margin: 0; max-width: 46ch; margin-inline: auto; text-align: center;
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(1.5rem, 3.4vw, 2.3rem); line-height: 1.35;
}
.zitat figcaption {
  text-align: center; margin-top: 1.4rem; font-weight: 700;
  color: var(--auf-gruen-2); font-style: normal;
}
.zitat .wrap { position: relative; }

/* ---------- Fachbereiche (Start) ---------- */
.felder-zeile {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2.2rem, 5vw, 4.5rem); align-items: start;
}
.felder-liste { list-style: none; margin: 0; padding: 0; max-width: none; }
.felder-liste > li {
  display: flex; gap: 1.3rem; align-items: flex-start;
  padding-block: 1.6rem;
}
.felder-liste > li + li { border-top: 1px solid var(--linie); }
.felder-liste h3 { margin-bottom: 0.25em; }
.felder-liste p { margin-bottom: 0.5em; color: var(--tinte-2); }
.felder-bild { position: sticky; top: 6.5rem; }
.felder-bild figure { margin: 0; position: relative; }
.felder-bild img {
  border-radius: var(--radius); box-shadow: var(--schatten);
  aspect-ratio: 3 / 4; object-fit: cover; width: 100%;
}
.felder-bild figcaption { margin-top: 0.7rem; font-size: 0.92rem; color: var(--tinte-2); }

@media (max-width: 860px) {
  .felder-zeile { grid-template-columns: 1fr; }
  .felder-bild { position: static; }
  .felder-bild img { aspect-ratio: 3 / 2; }
}

/* ---------- Entspannungs-Band ---------- */
.wohl { background: linear-gradient(180deg, var(--wasser-1), var(--wasser-2)); position: relative; overflow: hidden; }
.wohl-zeile {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(2.2rem, 5vw, 4rem); align-items: center;
}
.wohl-bild { position: relative; margin: 0; }
.wohl-bild img {
  border-radius: 999px; aspect-ratio: 1; object-fit: cover;
  width: min(100%, 34rem); margin-inline: auto; box-shadow: var(--schatten);
}
.wohl-bild .wohl-ringe { position: absolute; inset: -7%; width: 114%; height: 114%; }
.wohl-liste { list-style: none; margin: 1.2rem 0 1.6rem; padding: 0; max-width: none; }
.wohl-liste li { display: flex; gap: 0.95rem; align-items: flex-start; padding-block: 0.55rem; }
.wohl-liste svg {
  width: 2.5rem; height: 2.5rem; flex: none; margin-top: 0.15rem;
  padding: 0.5rem; border: 2.5px solid currentColor; border-radius: 50%;
  color: var(--gruen-oliv);
}
.wohl-liste strong { display: block; }
.wohl-liste span { color: var(--tinte-2); }

@media (max-width: 860px) {
  .wohl-zeile { grid-template-columns: 1fr; }
}

/* ---------- Praxis-Band (Start) ---------- */
.praxis-zeile {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5.5fr);
  gap: clamp(2.2rem, 5vw, 4rem); align-items: center;
}
.praxis-zeile figure { margin: 0; }
.praxis-zeile img { border-radius: var(--radius); box-shadow: var(--schatten); aspect-ratio: 3 / 2; object-fit: cover; }
@media (max-width: 860px) {
  .praxis-zeile { grid-template-columns: 1fr; }
}

/* ---------- Praktisches ---------- */
.praktisch {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid var(--linie); max-width: none;
}
.praktisch > div { padding: 1.9rem clamp(1rem, 2.5vw, 2rem); }
.praktisch > div + div { border-left: 1px solid var(--linie); }
.praktisch .ring-marker { width: 2.8rem; height: 2.8rem; margin-bottom: 0.7rem; }
.praktisch h3 { font-size: 1.22rem; }
.praktisch p { font-size: 0.98rem; color: var(--tinte-2); margin: 0; }
@media (max-width: 760px) {
  .praktisch { grid-template-columns: 1fr; }
  .praktisch > div + div { border-left: 0; border-top: 1px solid var(--linie); }
}

/* ---------- Termin-CTA ---------- */
.termin {
  position: relative; overflow: hidden;
  background: var(--gruen-tief); color: var(--auf-gruen); text-align: center;
}
.termin h2 { color: #fff; }
.termin p { margin-inline: auto; color: var(--auf-gruen-2); }
.termin-tel {
  display: inline-flex; align-items: center; gap: 0.8rem;
  font-family: var(--serif); font-weight: 700; text-decoration: none;
  font-size: clamp(1.7rem, 4vw, 2.6rem); color: #fff;
  margin-block: 1rem 0.4rem;
}
.termin-tel svg { width: 1em; height: 1em; color: var(--gruen-frisch); }
.termin-tel:hover { color: var(--auf-gruen-2); }
.termin-klein { font-size: 0.98rem; }
.termin .wrap { position: relative; }

/* ---------- Unterseiten-Kopf ---------- */
.seite-kopf { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--wasser-1), #fff); }
.seite-kopf .wrap { position: relative; padding-block: clamp(2.6rem, 6vw, 4.5rem); }
.seite-kopf p { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--tinte-2); margin-bottom: 0; }

/* ---------- Inhaltsblöcke Unterseiten ---------- */
.block-zeile {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5.5fr);
  gap: clamp(2.2rem, 5vw, 4rem); align-items: center;
}
.block-zeile figure { margin: 0; position: relative; }
.block-zeile img { border-radius: var(--radius); box-shadow: var(--schatten); aspect-ratio: 3 / 2; object-fit: cover; }
.block-zeile.gedreht figure { order: 2; }
.block-zeile + .block-zeile { margin-top: clamp(3rem, 7vw, 5.5rem); }
.block-zeile h2 { display: flex; align-items: center; gap: 0.8rem; overflow-wrap: break-word; }
.block-zeile h2 .ring-marker { width: 2.4rem; height: 2.4rem; }
.stich-liste { list-style: none; padding: 0; }
.stich-liste li { position: relative; padding-left: 1.7rem; margin-bottom: 0.45rem; }
.stich-liste li::before {
  content: ""; position: absolute; left: 0; top: 0.42em;
  width: 0.75em; height: 0.75em; border-radius: 50%;
  border: 2.5px solid var(--gruen-hell);
}
@media (max-width: 860px) {
  /* minmax(0, …): lange Überschriften dürfen die Spalte nicht über 320 px hinaus aufweiten */
  .block-zeile { grid-template-columns: minmax(0, 1fr); }
  .block-zeile.gedreht figure { order: 0; }
}

/* Ablauf (Prozess mit echter Reihenfolge) */
.ablauf { list-style: none; padding: 0; margin: 2rem 0 0; max-width: none; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(1.4rem, 3vw, 2.5rem); counter-reset: schritt; }
.ablauf li { counter-increment: schritt; position: relative; padding-top: 3.4rem; }
.ablauf li::before {
  content: counter(schritt);
  position: absolute; top: 0; left: 0;
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  border: 3px solid var(--gruen-hell); color: var(--gruen-tief);
  font-family: var(--serif); font-weight: 700; font-size: 1.25rem;
  display: grid; place-items: center;
}
.ablauf h3 { margin-bottom: 0.3em; }
.ablauf p { margin: 0; color: var(--tinte-2); }
@media (max-width: 760px) { .ablauf { grid-template-columns: 1fr; } }

/* Weiterbildungen */
.wb-gruppe { margin-top: clamp(2.2rem, 5vw, 3.4rem); }
.wb-gruppe h3 { display: flex; align-items: center; gap: 0.7rem; }
.wb-gruppe h3 .ring-marker { width: 2.1rem; height: 2.1rem; }
.wb-liste { list-style: none; padding: 0; margin: 0.8rem 0 0; max-width: none; columns: 2; column-gap: 3rem; }
.wb-liste li { position: relative; padding-left: 1.7rem; margin-bottom: 0.55rem; break-inside: avoid; }
.wb-liste li::before {
  content: ""; position: absolute; left: 0; top: 0.42em;
  width: 0.75em; height: 0.75em; border-radius: 50%;
  border: 2.5px solid var(--gruen-oliv);
}
@media (max-width: 700px) { .wb-liste { columns: 1; } }

/* Hinweis-Kasten */
.hinweis {
  background: var(--wasser-1); border-radius: var(--radius);
  padding: 1.4rem 1.7rem; max-width: 68ch;
  border: 1px solid var(--linie);
}
.hinweis p { margin: 0; font-size: 0.99rem; color: var(--tinte-2); }

/* ---------- Kontakt ---------- */
.kontakt-zeile {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.2rem, 5vw, 4rem); align-items: start;
}
@media (max-width: 860px) {
  /* Mobil untereinander: Kontaktdaten oben, Formular in voller Breite darunter */
  .kontakt-zeile { grid-template-columns: 1fr; }
}
.kontakt-daten { list-style: none; padding: 0; margin: 1.4rem 0 0; max-width: none; }
.kontakt-daten li { display: flex; gap: 1rem; align-items: flex-start; padding-block: 0.7rem; }
.kontakt-daten svg {
  width: 2.5rem; height: 2.5rem; flex: none; margin-top: 0.1rem;
  padding: 0.5rem; border: 2.5px solid currentColor; border-radius: 50%;
  color: var(--gruen-oliv);
}
.kontakt-daten a { font-weight: 750; }
.kontakt-daten .gross { font-size: 1.25rem; }

.formular {
  background: var(--wasser-1); border: 1px solid var(--linie);
  border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem);
}
.formular label { display: block; font-weight: 750; margin-bottom: 0.35rem; }
.formular input, .formular textarea {
  width: 100%; font: inherit; color: var(--tinte);
  border: 1.5px solid oklch(0.55 0.03 150); border-radius: 0.8rem;
  padding: 0.75rem 1rem; background: #fff; margin-bottom: 1.1rem;
}
.formular input::placeholder, .formular textarea::placeholder { color: var(--tinte-2); opacity: 1; }
.formular input:focus-visible, .formular textarea:focus-visible { outline-offset: 0; border-color: var(--gruen-oliv); }
.formular button { cursor: pointer; font: inherit; }
.formular-status { margin-top: 1rem; font-weight: 700; color: var(--gruen-tief); }

/* ---------- Footer ---------- */
.fuss { background: var(--gruen-nacht); color: var(--auf-gruen-2); position: relative; overflow: hidden; }
.fuss .wrap { position: relative; }
.fuss-zeile {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr);
  gap: clamp(2rem, 4vw, 3.5rem); padding-block: clamp(2.8rem, 6vw, 4.2rem);
}
.fuss h2 { color: #fff; font-size: 1.15rem; font-family: var(--sans); font-weight: 800; margin-bottom: 0.8em; }
.fuss a { color: #fff; }
.fuss a:hover { color: var(--gruen-frisch); }
.fuss p { color: var(--auf-gruen-2); }
.fuss ul { list-style: none; padding: 0; margin: 0; }
.fuss li { padding-block: 0.28rem; }
.fuss-marke {
  display: inline-block; background: #fff; border-radius: 1.3rem; padding: 1.3rem 1.8rem; margin-bottom: 1.3rem;
  max-width: 100%;
}
.fuss-marke img { height: 156px; max-width: 100%; width: auto; }
@media (max-width: 860px) {
  .fuss-marke img { height: 118px; }
}
.fuss-unten {
  border-top: 1px solid oklch(1 0 0 / 0.16);
  padding-block: 1.2rem;
  display: flex; flex-wrap: wrap; gap: 0.8rem 1.5rem; align-items: center; justify-content: space-between;
  font-size: 0.95rem;
}
.fuss-unten p { margin: 0; }
@media (max-width: 860px) {
  .fuss-zeile { grid-template-columns: 1fr; }
}

/* ---------- Rechtsseiten ---------- */
.recht h2 { margin-top: 2.2em; }
.recht h3 { margin-top: 1.6em; }


/* ---------- Kontaktformular (Theme) ---------- */
.formular-pflicht { margin: 0 0 1.1rem; font-size: 0.95rem; color: var(--tinte-2); }
.formular-hinweis { margin: -0.6rem 0 1.1rem; font-size: 0.92rem; color: var(--tinte-2); }
.formular-meldung {
  margin: 0 0 1.2rem; padding: 0.9rem 1.1rem; border-radius: 0.8rem;
  font-weight: 700; border: 1.5px solid;
}
.formular-meldung-ok { background: var(--wasser-2); color: var(--gruen-tief); border-color: var(--gruen-oliv); }
.formular-meldung-fehler { background: oklch(0.965 0.02 25); color: oklch(0.45 0.16 27); border-color: oklch(0.62 0.15 27); }
.formular-meldung:focus-visible { outline-offset: 3px; }
.formular [aria-invalid="true"] { border-color: oklch(0.52 0.17 27); box-shadow: 0 0 0 1px oklch(0.52 0.17 27); }
.formular-einwilligung {
  display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: start;
  margin: 0.2rem 0 1.3rem;
}
.formular .formular-einwilligung input {
  width: 1.3rem; height: 1.3rem; margin: 0.15rem 0 0; padding: 0;
  accent-color: var(--gruen-tief); cursor: pointer;
}
.formular .formular-einwilligung label { font-weight: 400; margin: 0; font-size: 0.95rem; }
/* Fallenfelder für Bots: für Menschen unsichtbar, nicht per display:none */
.ebh-hp {
  position: absolute; left: -10000px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}
.formular { position: relative; }

/* WordPress-Werkzeugleiste (angemeldet) über dem festen Kopf */
.admin-bar .kopf { top: 32px; }
@media (max-width: 782px) {
  .admin-bar .kopf { top: 46px; }
}
@media (max-width: 600px) {
  .admin-bar .kopf { top: 0; }
}

/* ---------- Reduzierte Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Druck ---------- */
@media print {
  .kopf, .fuss, .termin, .nav-knopf, .skip-link { display: none; }
}
