/* ============================================================
   PGL – Praxis für ganzheitliches Lernen
   Relaunch-Mockup (statisches HTML, 1:1 nach pgl-oberursel.de)
   ============================================================ */

:root {
  --green: #143d0d;
  --green-btn: #143d0d;
  --green-panel: #213d12;
  --cream: #f6f4e9;
  --card-cream: #f4f0df;
  --yellow: #fae9a6;
  --yellow-fill: #f7e180;
  --navy: #143757;
  --white: #ffffff;
  --radius-lg: 28px;
  --radius-md: 22px;
  --maxw: 1592px;
  --pad: 46px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Rubik', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  color: var(--green);
  background: var(--white);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

/* ---------- Header ---------- */
.site-header {
  position: relative;
  z-index: 100;
  background: var(--white);
}
.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 44px 29px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.logo img { height: 77px; width: auto; }
.main-nav { display: flex; gap: 28px; }
.main-nav a {
  font-size: 16px;
  color: var(--green);
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}
.main-nav a:hover { border-color: var(--green); }
.main-nav a.active { border-color: var(--green); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px; height: 40px;
  position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ''; display: block; position: absolute;
  width: 26px; height: 2px; background: var(--green);
  left: 7px; transition: 0.25s;
}
.nav-toggle span { top: 19px; }
.nav-toggle span::before { top: -8px; left: 0; }
.nav-toggle span::after { top: 8px; left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  border-radius: 999px;
  padding: 23px 53px;
  line-height: 22px;
  font-size: 16px;
  font-family: inherit;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.15s, opacity 0.2s;
  border: none;
}
.btn:hover { transform: translateY(-2px); opacity: 0.92; }
.btn-green { background: var(--green-btn); color: #fff; }
.btn-cream { background: var(--cream); color: var(--green); }
.btn-outline {
  background: var(--white);
  color: var(--green);
  border: 1px solid var(--green);
  padding: 12px 24px;
}
.btn-sm { padding: 11px 22px; font-size: 15px; }
.bar .header-cta { margin-left: 38px; flex-shrink: 0; }
.hero .btn { margin-top: 40px; }

/* ---------- Typografie ---------- */
h1, h2, h3 { font-weight: 600; line-height: 1.08; letter-spacing: -0.002em; }
.display { font-size: clamp(44px, 6.2vw, 88px); letter-spacing: -0.006em; }
.h2 { font-size: clamp(36px, 4.6vw, 64px); letter-spacing: -0.004em; }
.h3 { font-size: 26px; line-height: 1.2; }
p + p { margin-top: 1.4em; }

/* ---------- Hero (Home) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px var(--pad) 80px;
  overflow: hidden;
}
.hero h1 { max-width: 830px; }
.hero .sub {
  max-width: 700px;
  margin-top: 20px;
  font-size: 19px;
  line-height: 1.3;
  color: #171616;
}
/* Eingangsanimationen 1:1 nach Wix-Original: einmalig, keine Endlosschleifen.
   Smiley = spinIn (scale 0.6 + rotate -360°), Chevron = fadeIn,
   Werte-Icons & Ablauf-Schritte = floatIn (60px aufwärts). */
.hero .doodle {
  position: absolute;
  top: 51px;
  right: 10.5%;
  width: 136px;
  animation: spinIn 1.2s cubic-bezier(0.55, 0.055, 0.675, 0.19) both;
}
@keyframes spinIn {
  from { opacity: 0; transform: scale(0.6) rotate(-360deg); }
  to   { opacity: 1; transform: scale(1) rotate(0deg); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.scroll-down {
  margin-top: 21px;
  background: none; border: none; cursor: pointer;
  animation: fadeIn 0.7s cubic-bezier(0.445, 0.05, 0.55, 0.95) both;
}
.scroll-down svg { width: 52px; height: 28px; stroke: var(--green); }

/* ---------- Abschnitts-Container ---------- */
.section { padding: 28px var(--pad); max-width: var(--maxw); margin: 0 auto; }

.panel {
  border-radius: var(--radius-lg);
  padding: 90px 60px;
}
.panel-cream { background: var(--cream); }
.panel-yellow { background: rgba(255, 214, 9, 0.5); }

/* ---------- Bereiche (Home) ---------- */
.bereiche { text-align: center; }
.bereiche .lead { font-size: 22px; line-height: 1.4; max-width: 1020px; margin: 0 auto 49px; }
.pill-list { display: grid; gap: 30px; max-width: 1040px; margin: 0 auto; }
.pill-list .pill {
  position: relative;
  display: block;
  background: var(--white);
  border-radius: 999px;
  padding: 12px 64px;
  line-height: 28px;
  font-size: 21px;
  font-weight: 500;
  transition: transform 0.15s, box-shadow 0.15s;
}
.pill-list .pill::after {
  content: '→';
  position: absolute;
  right: 28px; top: 50%;
  transform: translateY(-50%) translateX(-6px);
  opacity: 0;
  transition: opacity 0.15s, transform 0.15s;
}
.pill-list .pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(20, 61, 13, 0.08);
}
.pill-list .pill:hover::after { opacity: 1; transform: translateY(-50%) translateX(0); }

/* ---------- Leistungs-Seiten ---------- */
.leistung-hero { max-width: 860px; margin: 0 auto; text-align: center; padding-top: 70px; }
.leistung-hero h1 { font-size: clamp(38px, 4.4vw, 60px); margin-bottom: 30px; }
.leistung-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 30px; }
.leistung-card { background: var(--cream); border-radius: var(--radius-lg); padding: 56px 48px; }
.leistung-card h2 { font-size: 28px; margin-bottom: 24px; }
.leistung-card ul { list-style: none; }
.leistung-card ul li { position: relative; padding-left: 24px; margin-bottom: 12px; }
.leistung-card ul li::before {
  content: ''; position: absolute; left: 4px; top: 10px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--green);
}
.leistung-hinweis { max-width: 860px; margin: 18px auto 0; text-align: center; font-size: 15px; opacity: 0.75; }

/* ---------- Bild voll ---------- */
.photo-full { padding: 28px var(--pad); max-width: var(--maxw); margin: 0 auto; }
.photo-full img {
  width: 100%;
  height: auto;
  aspect-ratio: 1500 / 730;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* ---------- Split (Home: Seit 1999) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.split > div { border-radius: var(--radius-lg); }
.split .text-card {
  background: var(--cream);
  padding: 72px 56px;
  display: flex; flex-direction: column; justify-content: center;
}
.split .text-card .big {
  font-size: clamp(28px, 2.9vw, 42px);
  line-height: 1.18;
  font-weight: 500;
}
.split .text-card .btn { margin-top: 30px; align-self: flex-start; }
.illu-card {
  background: var(--green-panel);
  position: relative;
  min-height: 540px;
  overflow: hidden;
}
.illu-card .illu { position: absolute; }
.illu-card .funkeln { top: 5%; left: 44%; width: 88px; }
.illu-card .wolke-1 { top: 42%; left: 3%; width: 200px; will-change: transform; }
.illu-card .wolke-2 { top: 34%; right: 5%; width: 235px; will-change: transform; }
/* Rakete: scroll-gesteuert per JS (Position folgt dem Scrollfortschritt).
   Basis hier = grobe Mittelposition als Fallback ohne JS / bei reduzierter Bewegung. */
.illu-card .rakete { top: 50%; left: 50%; width: 165px; transform: translateX(-50%) translate(30px, -120px); will-change: transform, opacity; }
.illu-card .corner {
  position: absolute; right: 32px; bottom: 32px;
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
}
.illu-card .corner svg { width: 30px; height: 30px; stroke: var(--green); }

/* ---------- Werte (Home) ----------
   Original-Layout: links Headline + großer Stempel + „Mehr erfahren"-Pille,
   rechts 2x3 Wertekarten. */
.werte-panel { padding: 30px; border-radius: 44px; }
.werte-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  align-items: stretch;
}
.werte-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
}
.werte-head { font-size: 52px; font-weight: 700; align-self: start; }
/* Stempel mittig in der linken Spalte, Pille bündig zur Stempel-Kante (wie Original) */
.werte-stamp { width: 71%; align-self: center; margin: 6px 0; }
.werte-stamp img { width: 100%; height: auto; }
.werte-cta { align-self: flex-start; margin-left: 14.5%; }
.werte-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 41px;
}
.value-card {
  background: #f6f4e9;
  border-radius: 38px;
  padding: 26px 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.value-card .icon { display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.value-card .icon img, .value-card .icon svg { height: 81px; width: auto; }
.value-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.value-card p { font-size: 16px; line-height: 1.4; }

/* ---------- Ablauf (Home) ---------- */
.ablauf { text-align: center; padding-top: 90px; padding-bottom: 40px; }
.ablauf-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 36px;
  margin-top: 70px;
  text-align: center;
}
.step-card {
  background: var(--cream);
  border-radius: 38px;
  padding: 40px 28px 44px;
  min-height: 250px;
  display: flex; flex-direction: column; align-items: center;
}
.step-card .num { font-size: 54px; font-weight: 500; margin-bottom: 14px; }
.step-card p { font-size: 19px; font-weight: 500; line-height: 1.3; }
.step-card .step-icon { margin-top: auto; padding-top: 28px; }
.step-card .step-arrow { width: 64px; height: auto; }
.step-card .step-smiley { width: 54px; height: auto; }

/* ---------- CTA ---------- */
.cta-panel { text-align: center; padding: 100px 60px; }
.cta-panel h2 { margin-bottom: 36px; }
.cta-panel .btn { padding: 18px 42px; border-radius: 30px; color: #fafafa; }
/* Abstand Foto-Banner -> Seit-1999-Abschnitt wie im Original */
.photo-full + .section { padding-top: 98px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--cream); margin-top: 60px; }
.site-footer .inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 70px var(--pad) 28px;
}
.footer-cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.footer-cols .brand { font-size: clamp(26px, 2.6vw, 38px); font-weight: 500; }
.footer-cols nav { display: flex; flex-direction: column; gap: 8px; }
.footer-cols nav a:hover { text-decoration: underline; }
.footer-meta {
  display: flex; justify-content: space-between; gap: 20px;
  margin-top: 80px; font-size: 15px; flex-wrap: wrap;
}

/* ---------- Unterseiten: Hero-Split ---------- */
.page-hero {
  display: grid; grid-template-columns: 1fr 1fr; gap: 41px;
  align-items: start;
  padding-top: 60px; padding-bottom: 40px;
}
.page-hero.media-left img,
.page-hero.media-right img {
  width: 100%; height: auto;
  border-radius: var(--radius-lg);
}
/* Textspalte: Original hat 395 von 675 (58,5 %), auf Wunsch etwas breiter */
.page-hero .copy { width: 72%; justify-self: center; }
.page-hero img { object-fit: cover; }
.page-hero .copy h1 { margin-bottom: 36px; font-size: clamp(40px, 4.4vw, 62px); }
.page-hero .copy.pad-top { padding-top: 90px; }

/* ---------- Über uns ---------- */
.team-intro {
  display: grid; grid-template-columns: 1fr 1fr; gap: 41px;
  align-items: center; padding-top: 70px; padding-bottom: 50px;
}
.team-intro > div { width: 72%; justify-self: center; }
.team-intro img { width: 100%; height: auto; border-radius: var(--radius-lg); }
.team-intro h2 { font-size: clamp(36px, 4vw, 56px); margin-bottom: 32px; }
.team-section { padding-top: 80px; }
.team-section > h2 { text-align: center; margin-bottom: 70px; }
/* Spaltenabstand relativ wie im Original; Zeilenabstand MUSS in px stehen:
   ein prozentualer row-gap ist bei automatischer Rasterhoehe nicht aufloesbar
   und laesst die letzte Karte aus dem Abschnitt laufen. */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 8.6%; row-gap: 38px; max-width: 92.6%; margin: 0 auto; }
.team-card {
  background: var(--cream);
  border-radius: 200px 200px var(--radius-md) var(--radius-md);
  padding: 34px 34px 40px;
}
.team-card img {
  width: 100%; aspect-ratio: 0.95; object-fit: cover;
  border-radius: 50% 50% 46% 46% / 55% 55% 42% 42%;
  margin-bottom: 30px;
}
.team-card h3 { font-size: 26px; font-weight: 500; margin-bottom: 14px; }
.team-card .role { font-weight: 700; font-size: 16.5px; margin-bottom: 14px; }
.team-card ul { list-style: none; font-size: 16px; line-height: 1.5; }
.team-card ul li { margin-bottom: 4px; }

/* ---------- Philosophie ---------- */
.saeulen { text-align: center; padding-top: 100px; }
.saeulen .intro { max-width: 760px; margin: 28px auto 0; font-size: 18px; }
.saeulen-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 9px; margin-top: 70px; text-align: center;
}
.saeule-card {
  background: var(--card-cream);
  border-radius: var(--radius-md);
  padding: 44px 34px 48px;
}
.saeule-card img { height: 85px; width: auto; margin: 0 auto 24px; }
.saeule-card h3 { font-size: 23px; font-weight: 700; margin-bottom: 14px; }
.saeule-card p { font-size: 16.5px; }
strong { font-weight: 700; }
.bullet-list { margin-top: 1.2em; padding-left: 1.2em; }
.bullet-list li { margin-bottom: 0.6em; }

/* ---------- Jobs ---------- */
.jobs-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 189px;
  max-width: 1419px; padding-top: 70px;
}
.jobs-layout h1 { font-size: 40px; font-weight: 700; line-height: 1.1; margin-bottom: 30px; }
.jobs-block { border-top: 1.5px solid var(--green); padding: 26px 0 36px; }
.jobs-block h2 { font-size: 20px; font-weight: 400; margin-bottom: 18px; }
.jobs-block ul { list-style: none; }
.jobs-block ul li {
  position: relative; padding-left: 22px; margin-bottom: 10px;
}
.jobs-block ul li::before {
  content: ''; position: absolute; left: 4px; top: 10px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--green);
}

/* ---------- FAQ ---------- */
.faq-head { text-align: center; padding-top: 80px; }
.faq-head h1 { font-size: 36px; font-weight: 700; line-height: 1.1; }
.faq-head .sub-line { font-size: 36px; font-weight: 400; margin-top: 4px; }
.faq-head .intro { max-width: 1010px; margin: 36px auto 0; font-size: 15px; line-height: 1.4; }
.faq-search {
  display: flex; justify-content: flex-end; margin: 50px 0 10px;
}
.faq-search input {
  border: none; border-bottom: 1.5px solid var(--green);
  background: transparent; padding: 8px 36px 8px 4px;
  font-family: inherit; font-size: 16px; color: var(--green);
  width: 330px; outline: none;
}
.faq-search { position: relative; }
.faq-search svg { position: absolute; right: 6px; bottom: 12px; width: 18px; height: 18px; stroke: var(--green); }
.faq-item { border-bottom: 1px solid rgba(20, 61, 13, 0.16); }
.faq-item button.q {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-family: inherit; font-size: 22px; font-weight: 400; color: var(--green);
  text-align: left; padding: 34px 6px;
}
.faq-item .chev { transition: transform 0.3s; flex-shrink: 0; margin-left: 24px; }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-item .a {
  max-height: 0; overflow: hidden; transition: max-height 0.35s ease;
}
.faq-item .a p { padding: 0 6px 34px; max-width: 1010px; font-size: 15px; line-height: 1.4; color: #171616; }
.faq-item.open .a { max-height: 400px; }

/* ---------- Kontakt ---------- */
.kontakt-head { text-align: center; padding-top: 90px; padding-bottom: 60px; }
.kontakt-head h1 { font-size: 48px; font-weight: 700; line-height: 1.1; margin-bottom: 28px; }
.kontakt-head .intro { max-width: 820px; margin: 0 auto 60px; font-size: 15px; line-height: 1.4; }
.kontakt-head address { font-style: normal; line-height: 1.4; font-size: 15px; }
.kontakt-head address .gap { display: block; margin-top: 22px; }
.anfahrt { text-align: center; padding: 90px 60px; }
.anfahrt h2 { font-size: 50px; font-weight: 400; line-height: 1.1; margin-bottom: 26px; }
.anfahrt h3 { font-size: 15px; font-weight: 400; margin: 34px 0 6px; }
.anfahrt p { max-width: 800px; margin-left: auto; margin-right: auto; font-size: 15px; line-height: 1.4; }
.anfahrt-map { margin-top: 54px; border-radius: var(--radius-md); overflow: hidden; }
.anfahrt-map iframe { display: block; width: 100%; height: 460px; border: 0; }

/* ---------- Rechtstexte ---------- */
.legal { margin: 0 auto; padding: 80px var(--pad); }
.legal h1 { line-height: 1.1; }
.legal ul { padding-left: 1.2em; margin-top: 0.6em; }

/* Impressum: alles zentriert, flach (1:1 Original) */
.page-impressum .legal { max-width: 631px; text-align: center; }
.page-impressum .legal h1 { font-size: 3.906vw; font-weight: 400; margin-bottom: 40px; }
.page-impressum .legal h2 { font-size: 16px; font-weight: 400; line-height: 1.5; margin: 26px 0 0; }
.page-impressum .legal p { font-size: 16px; font-weight: 400; line-height: 1.5; }

/* Datenschutz: H1 zentriert, Fließtext linksbündig (1:1 Original) */
.page-datenschutz .legal { max-width: 848px; text-align: left; }
.page-datenschutz .legal h1 { font-size: 3.75vw; font-weight: 400; text-align: center; margin-bottom: 44px; }
.page-datenschutz .legal h2 { font-size: 11px; font-weight: 400; line-height: 1.4; margin: 24px 0 0; }
.page-datenschutz .legal p { font-size: 11px; font-weight: 400; line-height: 1.4; }
.page-datenschutz .legal ul { font-size: 11px; line-height: 1.4; }
.page-datenschutz .legal p strong { font-weight: 700; }

/* ---------- Reveal (progressive enhancement) ---------- */
.reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  body.io .reveal { opacity: 0; transform: translateY(60px); transition: opacity 1.2s cubic-bezier(0.445, 0.05, 0.55, 0.95), transform 1.2s cubic-bezier(0.445, 0.05, 0.55, 0.95); }
  body.io .reveal.in { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  :root { --pad: 28px; }
  .split, .page-hero, .team-intro, .jobs-layout { grid-template-columns: 1fr; }
  .saeulen-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { gap: 40px; max-width: none; }
  .saeulen-grid { gap: 20px; }
  .leistung-cols { grid-template-columns: 1fr; }
  .werte-layout { grid-template-columns: 1fr; gap: 36px; }
  .werte-left { flex-direction: column; align-items: center; gap: 28px; }
  .werte-head { align-self: center; text-align: center; }
  .werte-cta { align-self: center; }
  .ablauf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  
  .footer-cols { grid-template-columns: 1fr; }
}
@media (max-width: 1100px) {
  .main-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white);
    flex-direction: column; gap: 0;
    padding: 10px 28px 24px;
    box-shadow: 0 18px 30px rgba(20, 61, 13, 0.08);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 0; border-bottom: none; }
  .nav-toggle { display: block; }
  .bar .header-cta { margin-left: auto; margin-right: 18px; }
}
@media (max-width: 640px) {
  .logo img { height: 56px; }
  .werte-cards, .saeulen-grid, .team-grid { grid-template-columns: 1fr; }
  .panel { padding: 54px 26px; }
  .hero .doodle { width: 70px; right: 6%; top: 40px; }
  .werte-bottom { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .logo img { height: 44px; }
  .bar .header-cta { padding: 9px 16px; font-size: 14px; margin-right: 12px; }
  .site-header .bar { padding: 14px 20px; }
}

/* ---------- Analytics-Dashboard (interne Seite) ---------- */
.analytics { padding-top: 56px; padding-bottom: 40px; }
.analytics h1 { font-size: clamp(34px, 4vw, 52px); margin-bottom: 14px; }
.analytics .intro { max-width: 760px; margin-bottom: 38px; }
.analytics .badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--card-cream); border-radius: 999px;
  padding: 7px 16px; font-size: 14px; margin-bottom: 22px;
}
.analytics .badge::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--green);
}
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 26px; }
.kpi { background: var(--cream); border-radius: var(--radius-md); padding: 28px 26px; }
.kpi .num { font-size: 42px; font-weight: 500; line-height: 1; font-variant-numeric: tabular-nums; }
.kpi .lbl { margin-top: 12px; font-size: 15px; opacity: 0.8; }
.analytics-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-bottom: 26px; }
.acard { background: var(--cream); border-radius: var(--radius-md); padding: 34px 32px; }
.acard h2 { font-size: 22px; font-weight: 500; margin-bottom: 26px; }
.barrow { display: flex; align-items: center; gap: 14px; margin-bottom: 15px; font-size: 15px; }
.barrow:last-child { margin-bottom: 0; }
.barrow .name { width: 210px; flex-shrink: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.barrow .track { flex: 1; background: rgba(20, 61, 13, 0.1); border-radius: 999px; height: 12px; overflow: hidden; }
.barrow .fill { height: 100%; background: var(--green); border-radius: 999px; transition: width 0.6s cubic-bezier(0.445, 0.05, 0.55, 0.95); }
.barrow .val { width: 46px; text-align: right; flex-shrink: 0; font-variant-numeric: tabular-nums; font-weight: 500; }
.daychart { display: flex; align-items: flex-end; gap: 6px; height: 170px; }
.daychart .col { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 8px; height: 100%; }
.daychart .colbar { width: 100%; max-width: 34px; background: var(--green); border-radius: 6px 6px 0 0; min-height: 3px; transition: height 0.6s cubic-bezier(0.445, 0.05, 0.55, 0.95); }
.daychart .col.today .colbar { background: var(--yellow-fill); }
.daychart .collbl { font-size: 11px; opacity: 0.6; }
.atable { width: 100%; border-collapse: collapse; font-size: 15px; }
.atable th, .atable td { text-align: left; padding: 11px 8px; border-bottom: 1px solid rgba(20, 61, 13, 0.12); }
.atable th { font-weight: 700; }
.atable tr:last-child td { border-bottom: none; }
.empty-state { background: var(--cream); border-radius: var(--radius-lg); padding: 80px 40px; text-align: center; }
.empty-state h2 { font-size: 26px; font-weight: 500; margin-bottom: 14px; }
.empty-state p { max-width: 480px; margin: 0 auto; }
.analytics-foot { margin-top: 32px; font-size: 14px; opacity: 0.75; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.btn-reset { background: none; border: 1px solid var(--green); color: var(--green); border-radius: 999px; padding: 10px 20px; font-family: inherit; font-size: 14px; cursor: pointer; transition: background 0.15s, color 0.15s; }
.btn-reset:hover { background: var(--green); color: #fff; }
@media (max-width: 1024px) {
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .analytics-cols { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .kpi-grid { grid-template-columns: 1fr; }
  .barrow .name { width: 120px; }
}

/* ---------- Formulare (Anmeldung, Evaluation, Vertrag) ---------- */
.form-page { padding-top: 56px; padding-bottom: 40px; max-width: 940px; }
.form-page h1 { font-size: clamp(34px, 4.2vw, 56px); margin-bottom: 16px; }
.form-intro { max-width: 760px; margin-bottom: 30px; }
.notice { background: var(--card-cream); border-left: 4px solid var(--green); border-radius: 12px; padding: 18px 22px; font-size: 15px; line-height: 1.55; margin-bottom: 30px; }
.notice strong { font-weight: 700; }
.form-card { background: var(--cream); border-radius: var(--radius-lg); padding: 40px; margin-bottom: 24px; }
.form-card > h2 { font-size: 24px; font-weight: 500; margin-bottom: 6px; }
.form-card .hint { font-size: 14px; opacity: 0.75; margin-bottom: 26px; }
.field { margin-bottom: 20px; }
.field > label { display: block; font-size: 15px; font-weight: 500; margin-bottom: 8px; }
.field .req { color: #b0003a; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=date], .field input[type=number], .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 16px; color: var(--green);
  background: var(--white); border: 1px solid rgba(20, 61, 13, 0.2); border-radius: 12px;
  padding: 13px 15px; outline: none; transition: border-color 0.15s, box-shadow 0.15s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(20, 61, 13, 0.08); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #c0003a; box-shadow: 0 0 0 3px rgba(192, 0, 58, 0.08); }
.field .err { display: none; color: #c0003a; font-size: 13px; margin-top: 6px; }
.field.invalid .err { display: block; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0 24px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; margin-bottom: 14px; }
.check input { margin-top: 3px; width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--green); }
.check.invalid { color: #c0003a; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.choice { position: relative; border: 1px solid rgba(20, 61, 13, 0.2); border-radius: 14px; padding: 18px 20px; cursor: pointer; transition: border-color 0.15s, box-shadow 0.15s; background: var(--white); }
.choice:hover { border-color: var(--green); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice.sel { border-color: var(--green); box-shadow: 0 0 0 2px var(--green) inset; }
.choice .ct { font-weight: 700; font-size: 16px; }
.choice .cd { font-size: 14px; opacity: 0.8; margin-top: 4px; }
.rating { display: flex; gap: 8px; flex-wrap: wrap; }
.rating button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(20, 61, 13, 0.25); background: var(--white); font-family: inherit; font-size: 16px; cursor: pointer; color: var(--green); transition: 0.15s; }
.rating button:hover { border-color: var(--green); }
.rating button.on { background: var(--green); color: #fff; border-color: var(--green); }
.rating-legend { display: flex; justify-content: space-between; font-size: 12px; opacity: 0.6; margin-top: 6px; max-width: 280px; }
.sig-wrap { }
.sig-pad { border: 1px solid rgba(20, 61, 13, 0.25); border-radius: 12px; background: #fff; touch-action: none; width: 100%; height: 170px; display: block; cursor: crosshair; }
.sig-row { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font-size: 13px; opacity: 0.8; }
.sig-clear { background: none; border: none; color: var(--green); text-decoration: underline; cursor: pointer; font-family: inherit; font-size: 13px; }
.terms-box { max-height: 230px; overflow-y: auto; background: var(--white); border: 1px solid rgba(20, 61, 13, 0.18); border-radius: 12px; padding: 20px 22px; font-size: 14px; line-height: 1.65; margin-bottom: 18px; }
.terms-box h3 { font-size: 16px; margin: 14px 0 6px; }
.terms-box h3:first-child { margin-top: 0; }
.summary-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(20, 61, 13, 0.12); font-size: 15px; }
.summary-row:last-child { border-bottom: none; }
.summary-row .k { opacity: 0.75; }
.summary-row .v { font-weight: 500; text-align: right; }
.form-actions { display: flex; gap: 16px; align-items: center; margin-top: 8px; flex-wrap: wrap; }
.form-confirm { background: var(--cream); border-radius: var(--radius-lg); padding: 70px 40px; text-align: center; }
.form-confirm .ok { width: 70px; height: 70px; border-radius: 50%; background: var(--green); display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; }
.form-confirm .ok svg { width: 34px; height: 34px; stroke: #fff; fill: none; stroke-width: 3; }
.form-confirm h2 { font-size: 30px; font-weight: 500; margin-bottom: 14px; }
.form-confirm p { max-width: 540px; margin: 0 auto 10px; }
@media (max-width: 680px) { .grid-2, .grid-3, .choice-grid { grid-template-columns: 1fr; } .form-card { padding: 30px 24px; } }

/* ---------- Sommerferienkurs-Banner (Home) ---------- */
.kurs-banner { background: var(--yellow); border-radius: var(--radius-lg); padding: 60px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center; }
.kurs-banner .tag { display: inline-block; background: var(--green); color: #fff; font-size: 13px; padding: 5px 14px; border-radius: 999px; margin-bottom: 16px; }
.kurs-banner h2 { font-size: clamp(28px, 3.4vw, 44px); margin-bottom: 14px; }
.kurs-banner p { font-size: 17px; max-width: 520px; }
.kurs-banner .cta { text-align: right; }
@media (max-width: 860px) { .kurs-banner { grid-template-columns: 1fr; padding: 44px 30px; } .kurs-banner .cta { text-align: left; } }

/* ---------- Inline-Editor (Texte selbst ändern, Demo) ---------- */
body.edit-mode .editable { outline: 2px dashed rgba(20, 61, 13, 0.4); outline-offset: 3px; border-radius: 4px; cursor: text; }
body.edit-mode .editable:hover { background: rgba(250, 233, 166, 0.45); }
body.edit-mode .editable:focus { outline: 2px solid var(--green); background: #fff; }
.edit-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000; background: var(--green); color: #fff; display: flex; align-items: center; gap: 16px; padding: 12px 20px; font-size: 14px; flex-wrap: wrap; box-shadow: 0 -8px 24px rgba(0,0,0,0.12); }
.edit-bar span { flex: 1; min-width: 200px; }
.edit-bar button { background: #fff; color: var(--green); border: none; border-radius: 999px; padding: 9px 18px; font-family: inherit; font-size: 14px; cursor: pointer; }
.edit-bar button:hover { opacity: 0.9; }
.edit-flash { position: fixed; bottom: 70px; left: 50%; transform: translateX(-50%); background: var(--green); color: #fff; padding: 10px 22px; border-radius: 999px; z-index: 1001; font-size: 14px; }

/* ---------- Footer: 4 Spalten inkl. "Für Eltern" ---------- */
.footer-cols { grid-template-columns: 1.6fr 1fr 1fr; }
.footer-eltern { display: flex; flex-direction: column; gap: 8px; }
.footer-eltern a:hover { text-decoration: underline; }
.footer-colhead { font-weight: 700; margin-bottom: 4px; font-size: 15px; }
@media (max-width: 1024px) { .footer-cols { grid-template-columns: 1fr; } }

/* ---------- Formular-Backend: Honeypot + Fehlermeldung ---------- */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form-error { color: #c0003a; background: rgba(192, 0, 58, 0.07); border: 1px solid rgba(192, 0, 58, 0.3); border-radius: 12px; padding: 14px 18px; font-size: 15px; margin-bottom: 16px; }

/* ---------- Feinschliff: Tastatur-Fokus & sanfte Karten-Interaktion ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, .pill:focus-visible, [contenteditable]:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Interner Bereich (Übersicht) ---------- */
.intern-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-bottom: 30px; }
.intern-card { display: block; background: var(--cream); border-radius: var(--radius-md); padding: 34px 32px; color: var(--green); transition: transform 0.2s cubic-bezier(0.22,0.61,0.36,1), box-shadow 0.2s ease; }
a.intern-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(20, 61, 13, 0.09); }
.intern-card h2 { font-size: 23px; font-weight: 500; margin-bottom: 10px; }
.intern-card p { font-size: 15.5px; opacity: 0.85; }
.intern-card code { background: rgba(20, 61, 13, 0.08); border-radius: 5px; padding: 1px 6px; font-size: 0.92em; }
.intern-card .go { display: inline-block; margin-top: 18px; font-weight: 500; }
.intern-card.static { cursor: default; }
.intern-links { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.intern-links a { text-decoration: underline; font-size: 15.5px; }
.intern-note { background: var(--card-cream); border-radius: 12px; padding: 16px 20px; font-size: 14px; line-height: 1.55; }
.intern-note code { background: rgba(20, 61, 13, 0.08); border-radius: 5px; padding: 1px 6px; }
@media (max-width: 760px) { .intern-grid { grid-template-columns: 1fr; } }

/* ---------- Skip-Link (Tastatur/Screenreader) ---------- */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 2000;
  background: var(--green); color: #fff; padding: 12px 20px;
  border-radius: 0 0 12px 12px; font-size: 15px; transition: top 0.2s;
}
.skip-link:focus { top: 0; outline: 2px solid var(--yellow-fill); outline-offset: 2px; }

/* ============================================================
   1:1-Schriftgrößen nach gemessenem Wix-Original (Desktop).
   Überschreibt die früheren clamp-Größen mit den echten px-Werten.
   ============================================================ */
body { font-size: 16px; letter-spacing: normal; }
.main-nav a { font-size: 16px; }
.btn { font-size: 15px; }
.display { font-size: 70px; font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
.h2 { font-size: 50px; font-weight: 400; line-height: 1.1; letter-spacing: -0.02em; }
.werte-head { font-size: 52px; font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; }
.bereiche .lead { font-size: 22px; font-weight: 400; }
.pill-list .pill { font-size: 20px; font-weight: 700; }
.hero .sub { font-size: 22px; font-weight: 400; }
.split .text-card .big { font-size: 48px; font-weight: 400; line-height: 1.1; letter-spacing: -0.03em; }
.value-card h3 { font-size: 22px; font-weight: 700; line-height: 1.4; }
.value-card p { font-size: 16px; line-height: 1.4; }
.step-card .num { font-size: 3.75vw; font-weight: 400; }
.step-card p { font-size: 20px; font-weight: 400; line-height: 1.4; }
.site-footer .brand { font-size: 36px; font-weight: 400; line-height: 1.1; }
.footer-cols nav a, .footer-cols p, .footer-colhead, .footer-eltern a { font-size: 15px; }
.footer-meta { font-size: 14px; }
@media (max-width: 640px) {
  .display { font-size: 40px; }
  .h2 { font-size: 30px; }
  .werte-head { font-size: 26px; }
  .split .text-card .big { font-size: 24px; }
  .site-footer .brand { font-size: 26px; }
  .bereiche .lead { font-size: 18px; }
  .hero .sub { font-size: 18px; }
  /* Original blendet den großen Stempel auf Mobil aus */
  .werte-stamp { display: none; }
  /* Bereiche-Pillen kleiner */
  .pill-list .pill { font-size: 15px; padding: 18px 26px; }
  /* Ablauf: 2x2-Raster, große Headline, kompakte Karten (wie Original-Mobil) */
  .ablauf .h2 { font-size: clamp(40px, 10.5vw, 65px); }
  .step-card { min-height: 0; padding: 28px 16px 30px; border-radius: 28px; }
  .step-card .num { font-size: 25px; margin-bottom: 8px; }
  .step-card p { font-size: 14px; line-height: 1.3; }
  .step-card .step-arrow { width: 52px; }
  .step-card .step-smiley { width: 44px; }
  .step-card .step-icon { padding-top: 18px; }
  /* Alle vier Kacheln gleich breit und gleich hoch */
  .ablauf-grid { gap: 14px; margin-top: 40px; }
  .step-card { padding: 26px 12px 28px; justify-content: flex-start; }
  .step-card p { hyphens: auto; }
}

/* ============================================================
   Über uns – 1:1 nach gemessenem Original (Desktop)
   ============================================================ */
.page-ueberuns .page-hero .copy h1 { font-size: 50px; font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
.page-ueberuns .page-hero .copy p { font-size: 15px; font-weight: 400; line-height: 1.4; }
.page-ueberuns .team-intro h2 { font-size: 50px; font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
.page-ueberuns .team-intro p { font-size: 15px; font-weight: 400; line-height: 1.4; }
/* "Das Praxisteam": cremefarbener Vollbreite-Abschnitt */
.page-ueberuns .team-section {
  max-width: none; margin: 0; background: var(--cream);
  padding: 80px max(var(--pad), calc((100% - var(--maxw)) / 2)) 90px;
}
.page-ueberuns .team-section > h2 { font-size: 3.75vw; font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
/* Team-Mitglieder: Bogen-Bild ohne Karten-Kasten */
.page-ueberuns .team-card { background: none; border-radius: 0; padding: 0; }
.page-ueberuns .team-card img {
  height: auto; aspect-ratio: 377 / 495; object-fit: cover; object-position: center;
  border-radius: 50% 50% 5% 5% / 40% 40% 4% 4%;
  margin-bottom: 26px;
}
/* Bild-Beschnitte 1:1 wie Original (height-Attribut aushebeln) */
.page-ueberuns .page-hero img { height: auto; aspect-ratio: 675 / 783; object-fit: cover; object-position: center 20%; }
.page-ueberuns .photo-full img { height: auto; aspect-ratio: 1500 / 625; object-fit: cover; object-position: center; }
.page-ueberuns .team-intro img { height: auto; aspect-ratio: 675 / 796; object-fit: cover; object-position: center; }
/* Philosophie: beide Hero-Bilder wie Original (675 x 872) */
.page-philosophie .page-hero img { height: auto; aspect-ratio: 675 / 872; object-fit: cover; object-position: center; }
.page-ueberuns .team-card h3 { font-size: 27.5px; font-weight: 400; line-height: 1.4; margin-bottom: 8px; }
.page-ueberuns .team-card .role { font-size: 14px; font-weight: 700; margin-bottom: 16px; }
.page-ueberuns .team-card ul { font-size: 14px; font-weight: 400; line-height: 1.5; }
.page-ueberuns .cta-panel h2 { font-size: 36px; font-weight: 400; }

/* ============================================================
   Philosophie – 1:1 nach gemessenem Original (Desktop)
   ============================================================ */
.page-philosophie .page-hero .copy h1 { font-size: 3.906vw; font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
.page-philosophie .page-hero .copy p { font-size: 15px; font-weight: 400; line-height: 1.4; }
.page-philosophie .bullet-list li { font-size: 15px; font-weight: 400; line-height: 1.4; }
.page-philosophie .saeulen > h2 { font-size: 5.469vw; font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
.page-philosophie .saeulen .intro { font-size: 15px; font-weight: 400; line-height: 1.6; max-width: 720px; }
.page-philosophie .saeule-card { background: #f6f4e9; border-radius: 38px; }
.page-philosophie .saeule-card h3 { font-size: 26px; font-weight: 700; line-height: 1.1; }
.page-philosophie .saeule-card p { font-size: 15px; font-weight: 400; line-height: 1.4; }

/* ============================================================
   Unterseiten – Mobil-Größen 1:1 (≤640, nach gemessenem Original-Mobil)
   MUSS nach den Desktop-Page-Blöcken stehen (gleiche Spezifität)
   ============================================================ */
@media (max-width: 640px) {
  /* Über uns: große Headlines 30, Team-Name 20, CTA 20 */
  .page-ueberuns .page-hero .copy h1,
  .page-ueberuns .team-intro h2,
  .page-ueberuns .team-section > h2 { font-size: 30px; }
  .page-ueberuns .team-card h3 { font-size: 20px; }
  .page-ueberuns .cta-panel h2 { font-size: 20px; }
  /* Philosophie: Hero-H1s 30, Sechs Säulen ~47 */
  .page-philosophie .page-hero .copy h1 { font-size: 30px; }
  .page-philosophie .saeulen > h2 { font-size: clamp(34px, 9vw, 47px); }
  /* Kontakt: H1 36, Anfahrt 36 */
  .kontakt-head h1 { font-size: 36px; }
  .anfahrt h2 { font-size: 36px; }
  .anfahrt { padding: 60px 26px; }
  /* Rechtstexte: H1 kleiner */
  .page-impressum .legal h1 { font-size: 40px; }
  .page-datenschutz .legal h1 { font-size: clamp(34px, 9vw, 47px); }
  /* Rechtstext auf Mobil lesbar halten */
  .page-datenschutz .legal h2,
  .page-datenschutz .legal p,
  .page-datenschutz .legal ul { font-size: 13px; }
}

/* Feature-Bilder: feste Höhe nur Desktop; auf Tablet/Mobil responsiv */
@media (max-width: 1024px) {
  .page-ueberuns .page-hero img,
  .page-ueberuns .team-intro img,
  .page-philosophie .page-hero img { height: auto; aspect-ratio: 9 / 10; }
}

/* FAQ-Liste 1:1: schmaler + zentriert wie Original (~1145px) */
.faq-search, .faq-list { max-width: 1145px; margin-left: auto; margin-right: auto; }
.faq-item .a p { max-width: none; }

/* ============================================================
   Kontaktformular – 1:1 nach gemessenem Original
   Panel 879 breit, radius 30, Felder weiss auf Creme
   ============================================================ */
.kontakt-form-wrap { padding-top: 0; padding-bottom: 40px; }
.kontakt-form-panel {
  background: var(--cream);
  border-radius: 30px;
  max-width: 879px;
  margin: 0 auto;
  padding: 33px 24px 40px;
}
.kontakt-form-panel h2 {
  font-size: 36px; font-weight: 400; line-height: 1.1;
  margin-bottom: 34px;
}
.kontakt-form-panel .field { margin-bottom: 24px; border: 0; padding: 0; }
.honigtopf { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.kontakt-form-panel label,
.kontakt-form-panel legend {
  display: block; font-size: 14px; line-height: 20px;
  margin-bottom: 7px; padding: 0;
}
.kontakt-form-panel .req { padding-left: 2px; color: inherit; }
.kontakt-form-panel .input-box {
  background: var(--white);
  border-radius: 6px;
  height: 40px;
}
.kontakt-form-panel .input-box.textarea-box { height: 76px; }
.kontakt-form-panel input[type="text"],
.kontakt-form-panel input[type="tel"],
.kontakt-form-panel input[type="email"],
.kontakt-form-panel textarea {
  width: 100%; height: 100%;
  border: 0; background: none; border-radius: 6px;
  font-family: inherit; font-size: 16px; color: var(--green);
  padding: 8px 12px;
  resize: none;
}
.kontakt-form-panel input:focus-visible,
.kontakt-form-panel textarea:focus-visible {
  outline: 2px solid var(--green); outline-offset: 1px;
}
.kontakt-form-panel .haken {
  display: flex; align-items: center; gap: 14px;
  font-size: 16px; line-height: 24px; margin-bottom: 12px;
  min-height: 24px;
}
.kontakt-form-panel .haken input { width: 16px; height: 16px; accent-color: var(--green); flex-shrink: 0; }
.kontakt-form-panel .datenschutz-check { margin-top: 30px; align-items: flex-start; }
.kontakt-form-panel .datenschutz-check a { text-decoration: underline; }
.kontakt-form-panel .form-error { color: #a02020; font-size: 15px; margin-top: 14px; }
.kontakt-form-panel .form-submit {
  margin-top: 25px;
  width: 403px; max-width: 100%;
  padding: 10px 20px;
  background: var(--green); color: var(--cream);
  border-radius: 100px; font-size: 16px;
}
@media (max-width: 640px) {
  .kontakt-form-panel { padding: 26px 18px 32px; border-radius: 22px; }
  .kontakt-form-panel h2 { font-size: 24px; }
  .kontakt-form-panel .form-submit { width: 100%; }
}

/* ============================================================
   Bearbeitungsmodus (?bearbeiten=1) – nur fuer angemeldete Admins
   ============================================================ */
body.cms-aktiv { padding-bottom: 84px; }

.cms-leiste {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999;
  display: flex; align-items: center; gap: 14px;
  padding: 14px 22px;
  background: var(--green); color: #fff;
  font-size: 15px; line-height: 1.3;
  box-shadow: 0 -10px 30px rgba(20, 61, 13, 0.18);
  flex-wrap: wrap;
}
.cms-leiste .cms-titel { font-weight: 700; }
.cms-leiste .cms-info { flex: 1; opacity: 0.85; font-size: 14px; min-width: 200px; }
.cms-leiste.cms-erfolg { background: #2e7d32; }

.cms-knopf {
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: none; color: #fff;
  border-radius: 100px; padding: 9px 20px;
  font-family: inherit; font-size: 14px; cursor: pointer;
  text-decoration: none; display: inline-block;
}
.cms-knopf:hover { background: rgba(255, 255, 255, 0.12); }
.cms-knopf[disabled] { opacity: 0.4; cursor: default; }
.cms-knopf-voll { background: #fff; color: var(--green); border-color: #fff; font-weight: 500; }
.cms-knopf-voll:hover { background: #fff; opacity: 0.9; }

body.cms-bearbeiten .cms-text {
  outline: 1px dashed rgba(20, 61, 13, 0.35);
  outline-offset: 3px;
  border-radius: 3px;
  transition: outline-color 0.15s, background 0.15s;
}
body.cms-bearbeiten .cms-text:hover { outline-color: var(--green); background: rgba(255, 214, 9, 0.14); }
body.cms-bearbeiten .cms-text:focus {
  outline: 2px solid var(--green); background: rgba(255, 214, 9, 0.2);
}
body.cms-bearbeiten .cms-bild {
  outline: 2px dashed rgba(20, 61, 13, 0.4); outline-offset: 4px;
  cursor: pointer; transition: outline-color 0.15s, opacity 0.15s;
}
body.cms-bearbeiten .cms-bild:hover { outline-color: var(--green); opacity: 0.85; }

/* ============================================================
   Terminbuchung
   ============================================================ */
.termin-wrap { padding-top: 0; padding-bottom: 40px; }
.termin-panel {
  background: var(--cream);
  border-radius: 30px;
  max-width: 879px;
  margin: 0 auto;
  padding: 34px 34px 40px;
}
.termin-panel h2 { font-size: 30px; font-weight: 700; line-height: 1.1; margin-bottom: 24px; }
.termin-lade, .termin-hinweis { font-size: 15px; color: rgba(20, 61, 13, 0.7); }
.termin-hinweis a { text-decoration: underline; }

.termin-tage { display: flex; flex-direction: column; gap: 18px; }
.termin-tag { background: var(--white); border-radius: 16px; padding: 18px 20px; }
.termin-tag-kopf { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.termin-tag-kopf strong { font-size: 16px; font-weight: 700; }
.termin-tag-kopf span { font-size: 14px; color: rgba(20, 61, 13, 0.65); }
.termin-zeiten { display: flex; flex-wrap: wrap; gap: 9px; }
.termin-zeit {
  border: 1px solid rgba(20, 61, 13, 0.25);
  background: var(--white); color: var(--green);
  border-radius: 100px; padding: 10px 20px;
  font-family: inherit; font-size: 15px; cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.termin-zeit:hover { background: var(--green); color: #fff; border-color: var(--green); }

.termin-gewaehlt {
  background: var(--white); border-radius: 12px;
  padding: 16px 20px; margin-bottom: 26px;
  font-size: 17px; font-weight: 500;
}
.termin-gewaehlt .termin-dauer { font-weight: 400; font-size: 14px; color: rgba(20, 61, 13, 0.65); }

.termin-panel .field { margin-bottom: 24px; border: 0; padding: 0; }
.termin-panel label { display: block; font-size: 14px; line-height: 20px; margin-bottom: 7px; }
.termin-panel .req { padding-left: 2px; color: inherit; }
.termin-panel .input-box { background: var(--white); border-radius: 6px; height: 40px; }
.termin-panel .input-box.textarea-box { height: 76px; }
.termin-panel input[type="text"],
.termin-panel input[type="tel"],
.termin-panel input[type="email"],
.termin-panel textarea {
  width: 100%; height: 100%;
  border: 0; background: none; border-radius: 6px;
  font-family: inherit; font-size: 16px; color: var(--green);
  padding: 8px 12px; resize: none;
}
.termin-panel input:focus-visible, .termin-panel textarea:focus-visible {
  outline: 2px solid var(--green); outline-offset: 1px;
}
.termin-panel .haken {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 16px; line-height: 24px; margin-top: 26px;
}
.termin-panel .haken input { width: 16px; height: 16px; accent-color: var(--green); flex-shrink: 0; margin-top: 4px; }
.termin-panel .haken a { text-decoration: underline; }
.termin-knopfreihe { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.termin-knopfreihe .form-submit {
  background: var(--green); color: var(--cream);
  border-radius: 100px; padding: 12px 28px; font-size: 16px;
}
.termin-knopfreihe .btn-outline { padding: 12px 24px; font-size: 15px; }

@media (max-width: 640px) {
  .termin-panel { padding: 24px 18px 30px; border-radius: 22px; }
  .termin-panel h2 { font-size: 24px; }
  .termin-knopfreihe .form-submit, .termin-knopfreihe .btn-outline { width: 100%; text-align: center; }
}

/* ============================================================
   Anmeldung zum Therapievertrag
   ============================================================ */
.anmeldung-wrap { padding-top: 0; padding-bottom: 40px; }
.anmeldung-panel {
  background: var(--cream);
  border-radius: 30px;
  max-width: 879px;
  margin: 0 auto;
  padding: 34px 34px 40px;
}
.am-block { border: 0; padding: 0; margin-bottom: 40px; }
.am-block legend {
  font-size: 22px; font-weight: 700; line-height: 1.2;
  margin-bottom: 20px; padding: 0;
}
.am-zweispaltig { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
.anmeldung-panel .field { margin-bottom: 22px; }
.anmeldung-panel label { display: block; font-size: 14px; line-height: 20px; margin-bottom: 7px; }
.anmeldung-panel .req { padding-left: 2px; color: inherit; }
.anmeldung-panel .input-box { background: var(--white); border-radius: 6px; height: 40px; }
.anmeldung-panel input[type="text"],
.anmeldung-panel input[type="tel"],
.anmeldung-panel input[type="email"],
.anmeldung-panel input[type="date"],
.anmeldung-panel select {
  width: 100%; height: 100%;
  border: 0; background: none; border-radius: 6px;
  font-family: inherit; font-size: 16px; color: var(--green);
  padding: 8px 12px;
}
.anmeldung-panel select { cursor: pointer; }
.anmeldung-panel input:focus-visible, .anmeldung-panel select:focus-visible {
  outline: 2px solid var(--green); outline-offset: 1px;
}
.am-hinweis { font-size: 14px; line-height: 1.5; color: rgba(20, 61, 13, 0.7); margin-top: 4px; }

/* Bewusst OHNE eigene Scrollleiste: Bei einem verbindlichen Vertrag soll
   niemand argumentieren können, der Text sei nicht vollständig sichtbar
   gewesen. Die Seite wird dadurch länger, das ist hier richtig so. */
.am-bedingungen {
  background: var(--white); border-radius: 12px;
  padding: 24px 26px; margin: 6px 0 20px;
  font-size: 14.5px; line-height: 1.65;
}
.am-bedingungen h3 { font-size: 15px; font-weight: 700; margin: 16px 0 4px; }
.am-bedingungen h3:first-child { margin-top: 0; }
.am-bedingungen p + p { margin-top: 10px; }
.am-bedingungen a { text-decoration: underline; }

/* Leistung und Entgelt: kommt aus der Vertragsfassung, damit die Seite
   automatisch stimmt, wenn sich der Vertrag ändert. */
.am-preis {
  background: var(--white); border-radius: 12px;
  padding: 24px 26px; margin: 14px 0 0;
  font-size: 14.5px; line-height: 1.65;
}
.am-preis-umfang { font-size: 15.5px; }
.am-preis-betrag {
  display: flex; flex-direction: column; gap: 4px;
  margin-top: 16px; padding-top: 16px;
  border-top: 1px solid rgba(20, 61, 13, 0.12);
}
.am-preis-betrag strong { font-size: 22px; line-height: 1.2; }
.am-preis-betrag span { font-size: 14px; color: rgba(20, 61, 13, 0.7); }
.am-preis-titel {
  font-weight: 700; margin-top: 20px; padding-top: 16px;
  border-top: 1px solid rgba(20, 61, 13, 0.12);
}
.am-preis ul { list-style: none; margin: 8px 0 0; padding: 0; }
.am-preis ul li { position: relative; padding-left: 22px; margin-top: 6px; }
.am-preis ul li::before {
  content: ''; position: absolute; left: 2px; top: 9px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--green);
}
.am-preis-zusatz li {
  display: flex; flex-wrap: wrap; gap: 4px 16px;
  justify-content: space-between; padding-left: 0;
}
.am-preis-zusatz li::before { display: none; }
.am-preis-zusatz li strong { white-space: nowrap; }
.am-preis .am-hinweis { margin-top: 12px; }

.anmeldung-panel .haken {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 15.5px; line-height: 24px; margin-bottom: 12px;
}
.anmeldung-panel .haken input { width: 16px; height: 16px; accent-color: var(--green); flex-shrink: 0; margin-top: 4px; }
.anmeldung-panel .haken a { text-decoration: underline; }
.anmeldung-panel .datenschutz-check { margin: 30px 0 0; }

.am-unterschrift {
  background: var(--white); border-radius: 12px;
  border: 1px dashed rgba(20, 61, 13, 0.3);
  padding: 2px; margin-bottom: 12px;
}
.am-unterschrift canvas { display: block; touch-action: none; cursor: crosshair; border-radius: 10px; }
.am-unterschrift-hinweis {
  font-size: 13px; color: rgba(20, 61, 13, 0.55);
  text-align: center; padding: 0 0 8px;
}
.anmeldung-panel .form-submit {
  margin-top: 26px;
  background: var(--green); color: var(--cream);
  border-radius: 100px; padding: 13px 32px; font-size: 16px;
}
#am-fertig h2 { font-size: 28px; font-weight: 700; margin-bottom: 14px; }

@media (max-width: 640px) {
  .anmeldung-panel { padding: 24px 18px 30px; border-radius: 22px; }
  .am-zweispaltig { grid-template-columns: 1fr; }
  .am-block legend { font-size: 19px; }
}

/* ============================================================
   Mobil: Tippziele auf mindestens 44 px, Unterschriftenfeld sicher im Rahmen
   ============================================================ */
.am-unterschrift canvas { max-width: 100%; }

@media (max-width: 640px) {
  /* Terminwahl: Zeitknöpfe gut treffbar, zwei pro Reihe */
  .termin-zeiten { gap: 10px; }
  .termin-zeit { min-height: 46px; padding: 12px 18px; flex: 1 1 calc(50% - 5px); }

  /* Eingabefelder etwas höher, Schriftgröße bleibt bei 16 px
     (darunter zoomt iOS beim Antippen automatisch hinein) */
  .termin-panel .input-box,
  .anmeldung-panel .input-box,
  .kontakt-form-panel .input-box { height: 46px; }
  .termin-panel .input-box.textarea-box { height: 96px; }
  .kontakt-form-panel .input-box.textarea-box { height: 96px; }

  /* Ankreuzfelder größer */
  .termin-panel .haken input,
  .anmeldung-panel .haken input,
  .kontakt-form-panel .haken input { width: 20px; height: 20px; }
  .kontakt-form-panel .haken { min-height: 30px; }

  /* Absende-Knöpfe volle Breite */
  .anmeldung-panel .form-submit,
  .kontakt-form-panel .form-submit { width: 100%; }
}

/* ============================================================
   Rückmeldebogen für Eltern
   ============================================================ */
.eval-wrap { padding-top: 0; padding-bottom: 40px; }
.eval-panel {
  background: var(--cream);
  border-radius: 30px;
  max-width: 879px;
  margin: 0 auto;
  padding: 34px 34px 40px;
}
.eval-block { border: 0; padding: 0; margin-bottom: 40px; }
.eval-block legend {
  font-size: 22px; font-weight: 700; line-height: 1.2;
  margin-bottom: 14px; padding: 0;
}
.eval-hinweis { font-size: 14px; line-height: 1.5; color: rgba(20, 61, 13, 0.7); margin-bottom: 20px; }

.eval-note {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
  background: var(--white); border-radius: 14px;
  padding: 16px 20px; margin-bottom: 10px;
}
.eval-frage { font-size: 16px; flex: 1; min-width: 200px; }
.sterne { display: flex; align-items: center; gap: 4px; }
.stern {
  background: none; border: 0; padding: 3px; cursor: pointer;
  line-height: 0; border-radius: 6px;
}
.stern svg { fill: rgba(20, 61, 13, 0.16); transition: fill 0.12s, transform 0.12s; }
.stern:hover svg { fill: rgba(20, 61, 13, 0.4); transform: scale(1.12); }
.stern.an svg { fill: #f2c200; }
.stern:focus-visible { outline: 2px solid var(--green); outline-offset: 1px; }
.stern-text {
  font-size: 13px; color: rgba(20, 61, 13, 0.7);
  margin-left: 10px; min-width: 110px;
}

.eval-wahl { display: flex; gap: 10px; flex-wrap: wrap; }
.wahl-knopf { position: relative; }
.wahl-knopf input { position: absolute; opacity: 0; width: 0; height: 0; }
.wahl-knopf span {
  display: block;
  background: var(--white); border: 1px solid rgba(20, 61, 13, 0.2);
  border-radius: 100px; padding: 12px 24px;
  font-size: 15px; cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.wahl-knopf span:hover { border-color: var(--green); }
.wahl-knopf input:checked + span { background: var(--green); color: #fff; border-color: var(--green); }
.wahl-knopf input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }

.eval-panel .field { margin-bottom: 22px; }
.eval-panel label { display: block; font-size: 14px; line-height: 20px; margin-bottom: 7px; }
.eval-panel .input-box { background: var(--white); border-radius: 6px; height: 40px; }
.eval-panel .input-box.textarea-box { height: auto; }
.eval-panel input[type="text"],
.eval-panel input[type="email"],
.eval-panel select,
.eval-panel textarea {
  width: 100%; height: 100%;
  border: 0; background: none; border-radius: 6px;
  font-family: inherit; font-size: 16px; color: var(--green);
  padding: 8px 12px; resize: vertical;
}
.eval-panel textarea { min-height: 92px; }
.eval-panel input:focus-visible, .eval-panel select:focus-visible, .eval-panel textarea:focus-visible {
  outline: 2px solid var(--green); outline-offset: 1px;
}
.eval-panel .haken {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 15.5px; line-height: 24px; margin-top: 8px;
}
.eval-panel .haken input { width: 16px; height: 16px; accent-color: var(--green); flex-shrink: 0; margin-top: 4px; }
.eval-panel .form-submit {
  margin-top: 8px;
  background: var(--green); color: var(--cream);
  border-radius: 100px; padding: 13px 32px; font-size: 16px;
}
#ev-fertig h2 { font-size: 28px; font-weight: 700; margin-bottom: 14px; }

@media (max-width: 640px) {
  .eval-panel { padding: 24px 18px 30px; border-radius: 22px; }
  .eval-block legend { font-size: 19px; }
  .eval-note { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px 18px; }
  .stern svg { width: 34px; height: 34px; }
  .stern-text { margin-left: 0; }
  .eval-panel .input-box { height: 46px; }
  .eval-panel .haken input { width: 20px; height: 20px; }
  .eval-panel .form-submit { width: 100%; }
  .wahl-knopf span { padding: 13px 22px; }
}

/* ============================================================
   Onboarding für neue Mitarbeitende
   ============================================================ */
.ob-wrap { padding-top: 0; padding-bottom: 20px; }
.ob-panel {
  background: var(--cream);
  border-radius: 30px;
  max-width: 879px;
  margin: 0 auto;
  padding: 34px 34px 38px;
}
.ob-panel h2 { font-size: 26px; font-weight: 700; line-height: 1.15; margin-bottom: 12px; }
.ob-lede { font-size: 15px; line-height: 1.6; color: rgba(20, 61, 13, 0.72); margin-bottom: 24px; }

.ob-liste { list-style: none; }
.ob-liste li {
  background: var(--white); border-radius: 14px;
  padding: 18px 20px; margin-bottom: 10px;
  transition: opacity 0.15s;
}
.ob-liste li.erledigt { opacity: 0.55; }
.ob-liste label { display: flex; align-items: flex-start; gap: 16px; cursor: pointer; }
.ob-liste input { width: 22px; height: 22px; accent-color: var(--green); flex-shrink: 0; margin-top: 2px; }
.ob-liste span { font-size: 15px; line-height: 1.55; }
.ob-liste strong { display: block; font-size: 16.5px; font-weight: 700; margin-bottom: 3px; }
.ob-liste li.erledigt strong { text-decoration: line-through; }
.ob-liste a { text-decoration: underline; }

.ob-fortschritt {
  margin-top: 18px; font-size: 14.5px;
  color: rgba(20, 61, 13, 0.7);
}
.ob-fortschritt.fertig { color: #2e7d32; font-weight: 500; }

.ob-karten { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ob-karte { background: var(--white); border-radius: 14px; padding: 20px 22px; }
.ob-karte h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 6px; }
.ob-karte p { font-size: 14.5px; line-height: 1.55; }

.ob-links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ob-link {
  background: var(--white); border-radius: 14px;
  padding: 18px 20px; display: block;
  transition: transform 0.15s, box-shadow 0.15s;
}
.ob-link:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(20, 61, 13, 0.08); }
.ob-link strong { display: block; font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.ob-link span { font-size: 14px; line-height: 1.5; color: rgba(20, 61, 13, 0.72); }

.ob-hilfe p { font-size: 15.5px; line-height: 1.6; }
.ob-fuss { font-size: 13.5px; color: rgba(20, 61, 13, 0.6); margin: 18px 0 20px; }

@media (max-width: 640px) {
  .ob-panel { padding: 24px 18px 30px; border-radius: 22px; }
  .ob-panel h2 { font-size: 21px; }
  .ob-karten, .ob-links { grid-template-columns: 1fr; }
}
@media print {
  .site-header, .site-footer, .ob-hilfe .btn, .skip-link { display: none; }
  .ob-panel { background: none; padding: 0 0 20px; }
  .ob-liste li, .ob-karte, .ob-link { border: 1px solid #ddd; break-inside: avoid; }
}

/* Fieldsets schrumpfen ohne min-width:0 nicht unter ihre Inhaltsbreite
   und sprengen dadurch auf schmalen Bildschirmen das Layout. */
.eval-block, .am-block, .choice-group { min-width: 0; }

@media (max-width: 640px) {
  /* Sternereihe umbrechen lassen, Beschriftung in die nächste Zeile */
  .sterne { flex-wrap: wrap; }
  .stern-text { min-width: 0; width: 100%; margin-left: 0; margin-top: 2px; }
  .stern { padding: 2px; }
  .stern svg { width: 32px; height: 32px; }
}

/* Vertragsabschluss: Button-Lösung nach § 312j BGB */
.am-abschluss {
  background: var(--white); border-radius: 14px;
  padding: 20px 22px; margin-top: 26px;
}
.am-abschluss-hinweis { font-size: 14.5px; line-height: 1.55; margin-bottom: 16px; }
.anmeldung-panel .am-abschluss .form-submit { margin-top: 0; }
.am-fertig-kasten {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px; background: var(--white); border-radius: 14px;
  padding: 20px 22px; margin: 20px 0;
}
.am-fertig-kasten span { display: block; font-size: 13px; color: rgba(20, 61, 13, 0.65); }
.am-fertig-kasten strong { font-size: 17px; font-weight: 700; }

/* ============================================================
   Persönlicher Bereich der Familie (/start)
   ============================================================ */
.st-tor {
  background: var(--cream); border-radius: 30px;
  max-width: 520px; margin: 0 auto; padding: 38px 34px 40px;
}
.st-tor h1 { font-size: 30px; font-weight: 700; line-height: 1.15; margin-bottom: 14px; }
.st-tor p { font-size: 15.5px; line-height: 1.6; margin-bottom: 24px; }
.st-tor label { display: block; font-size: 14px; margin-bottom: 7px; }
.st-tor .input-box { background: var(--white); border-radius: 6px; height: 46px; }
.st-tor input {
  width: 100%; height: 100%; border: 0; background: none; border-radius: 6px;
  font-family: inherit; font-size: 16px; color: var(--green); padding: 8px 14px;
}
.st-tor input:focus-visible { outline: 2px solid var(--green); outline-offset: 1px; }
.st-tor .form-submit {
  margin-top: 20px; width: 100%;
  background: var(--green); color: var(--cream);
  border-radius: 100px; padding: 13px 28px; font-size: 16px;
}

.st-kopf { max-width: 879px; margin: 0 auto 8px; text-align: center; }
.st-kopf h1 { font-size: 40px; font-weight: 700; line-height: 1.1; margin-bottom: 14px; }
.st-kopf .intro { font-size: 17px; line-height: 1.5; margin-bottom: 28px; }
.st-balken {
  height: 8px; background: var(--cream); border-radius: 100px;
  overflow: hidden; max-width: 420px; margin: 0 auto;
}
.st-balken i { display: block; height: 100%; background: var(--green); border-radius: 100px; transition: width 0.4s; }
.st-fortschritt { font-size: 14px; color: rgba(20, 61, 13, 0.7); margin-top: 10px; }

.st-schritte { max-width: 879px; margin: 34px auto 0; display: flex; flex-direction: column; gap: 14px; }
.st-schritt {
  display: grid; grid-template-columns: 46px 1fr; gap: 20px;
  background: var(--cream); border-radius: 20px; padding: 26px 28px;
  border: 2px solid transparent;
}
.st-schritt.aktuell { border-color: var(--green); background: var(--white); box-shadow: 0 10px 30px rgba(20, 61, 13, 0.07); }
.st-schritt.fertig { opacity: 0.72; }
.st-nummer {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(20, 61, 13, 0.12); color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 700;
}
.st-schritt.fertig .st-nummer { background: var(--green); color: #fff; }
.st-schritt.aktuell .st-nummer { background: var(--green); color: #fff; }
.st-inhalt h2 { font-size: 21px; font-weight: 700; margin-bottom: 8px; }
.st-inhalt p { font-size: 15.5px; line-height: 1.6; }
.st-inhalt p + p { margin-top: 10px; }
.st-inhalt .form-submit {
  display: inline-block; margin-top: 6px;
  background: var(--green); color: var(--cream);
  border-radius: 100px; padding: 12px 26px; font-size: 15px;
}
.st-erfolg { font-size: 16.5px; }
.st-klein { font-size: 13.5px; color: rgba(20, 61, 13, 0.7); }
.st-dateien { list-style: none; margin: 12px 0; }
.st-dateien li {
  display: flex; justify-content: space-between; gap: 14px;
  padding: 9px 0; border-bottom: 1px solid rgba(20, 61, 13, 0.1); font-size: 14.5px;
}
.st-dateien a { text-decoration: underline; }
.st-dateien span { color: rgba(20, 61, 13, 0.6); white-space: nowrap; }
.st-upload { margin-top: 14px; }

.st-hilfe { max-width: 879px; margin: 30px auto 0; text-align: center; }
.st-hilfe h2 { font-size: 21px; font-weight: 700; margin-bottom: 8px; }
.st-hilfe p { font-size: 15.5px; }
.st-hilfe a { text-decoration: underline; }

@media (max-width: 640px) {
  .st-tor { padding: 28px 20px 32px; border-radius: 22px; }
  .st-kopf h1 { font-size: 27px; }
  .st-schritt { grid-template-columns: 1fr; gap: 12px; padding: 22px 20px; border-radius: 18px; }
  .st-inhalt h2 { font-size: 19px; }
  .st-inhalt .form-submit { width: 100%; text-align: center; }
}

/* Widerruf und Textknöpfe im Elternbereich */
.st-widerruf {
  margin-top: 16px; padding-top: 14px;
  border-top: 1px solid rgba(20, 61, 13, 0.12);
}
.st-widerruf-knopf {
  background: none; border: 1px solid rgba(160, 32, 32, 0.35);
  color: #a02020; border-radius: 100px;
  padding: 9px 20px; font-family: inherit; font-size: 14px; cursor: pointer;
  transition: background 0.15s;
}
.st-widerruf-knopf:hover { background: #faeaea; }
.st-widerruf-knopf[disabled] { opacity: 0.5; cursor: default; }
.st-textknopf {
  background: none; border: 0; padding: 0;
  color: var(--green); font-family: inherit; font-size: 13.5px;
  text-decoration: underline; cursor: pointer;
}
.st-inhalt .btn-outline { margin-top: 4px; }

/* ============================================================
   Willkommens-Guide für Familien (/willkommen)
   ============================================================ */
.page-willkommen { padding-bottom: 96px; }

/* Fortschrittsleiste und Kapitelleiste oben */
.wk-leiste { background: var(--white); border-bottom: 1px solid rgba(20, 61, 13, 0.1); }
.wk-balken { height: 4px; background: var(--cream); }
.wk-balken i { display: block; height: 100%; background: var(--green); transition: width 0.35s; }
.wk-leiste-inner {
  max-width: 900px; margin: 0 auto; padding: 10px 16px;
  display: flex; align-items: center; gap: 12px;
}
.wk-kapitelbar {
  flex: 1; display: flex; gap: 7px; overflow-x: auto; padding: 4px 2px;
  scrollbar-width: none; -ms-overflow-style: none; scroll-behavior: smooth;
}
.wk-kapitelbar::-webkit-scrollbar { display: none; }
.wk-chip {
  display: flex; align-items: center; gap: 8px; flex-shrink: 0;
  background: var(--cream); border: 1px solid transparent; border-radius: 100px;
  padding: 7px 14px 7px 8px; cursor: pointer;
  font-family: inherit; font-size: 14px; color: rgba(20, 61, 13, 0.75);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.wk-chip:hover { border-color: rgba(20, 61, 13, 0.3); }
.wk-chip-nr {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  background: rgba(20, 61, 13, 0.14); color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-size: 12.5px; font-weight: 700;
}
.wk-chip.gelesen .wk-chip-nr { background: var(--green); color: #fff; }
.wk-chip.gelesen .wk-chip-nr { font-size: 0; }
.wk-chip.gelesen .wk-chip-nr::before { content: '\2713'; font-size: 12px; }
.wk-chip.gelesen .wk-chip-nr { font-size: 12px; }
.wk-chip.gelesen span:last-child { color: rgba(20, 61, 13, 0.55); }
.wk-chip.jetzt {
  background: var(--green); color: #fff; border-color: var(--green);
  font-weight: 500;
}
.wk-chip.jetzt .wk-chip-nr { background: rgba(255, 255, 255, 0.28); color: #fff; }
.wk-chip:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.wk-zaehler {
  font-size: 13px; color: rgba(20, 61, 13, 0.6);
  white-space: nowrap; font-variant-numeric: tabular-nums; flex-shrink: 0;
}

/* Bühne */
.wk-buehne { max-width: 780px; margin: 0 auto; padding: 44px 24px 40px; }
.wk-kapitel { display: none; animation: wkRein 0.35s ease both; }
.wk-kapitel.aktiv { display: block; }
@keyframes wkRein { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.wk-nummer {
  display: inline-block; font-size: 13px; font-weight: 500;
  color: rgba(20, 61, 13, 0.6); margin-bottom: 12px;
}
.wk-kapitel h1 { font-size: 38px; font-weight: 700; line-height: 1.1; margin-bottom: 18px; }
.wk-lead { font-size: 18px; line-height: 1.6; margin-bottom: 26px; }
.wk-kapitel p { font-size: 16px; line-height: 1.65; }
.wk-kapitel p + p { margin-top: 14px; }
.wk-hinweis { font-size: 13.5px; color: rgba(20, 61, 13, 0.6); margin-top: 22px; }

.wk-karten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 26px 0; }
.wk-karte { background: var(--cream); border-radius: 16px; padding: 20px 22px; }
.wk-karte strong { display: block; font-size: 16px; font-weight: 700; margin-bottom: 5px; }
.wk-karte span { font-size: 14.5px; line-height: 1.5; }

.wk-zitat {
  background: rgba(255, 214, 9, 0.35); border-radius: 18px;
  padding: 26px 28px; margin: 26px 0;
}
.wk-zitat p { font-size: 20px; line-height: 1.4; font-weight: 500; }

.wk-fakten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 26px; }
.wk-fakten div { background: var(--cream); border-radius: 16px; padding: 20px; text-align: center; }
.wk-fakten strong { display: block; font-size: 22px; font-weight: 700; line-height: 1.2; }
.wk-fakten span { font-size: 13.5px; color: rgba(20, 61, 13, 0.7); }

/* Selbstcheck */
.wk-check { display: flex; flex-direction: column; gap: 8px; }
.wk-check label {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--cream); border-radius: 14px;
  padding: 15px 18px; cursor: pointer; font-size: 16px; line-height: 1.45;
  border: 2px solid transparent; transition: border-color 0.15s, background 0.15s;
}
.wk-check label:hover { border-color: rgba(20, 61, 13, 0.25); }
.wk-check label.an { border-color: var(--green); background: var(--white); }
.wk-check input { width: 22px; height: 22px; accent-color: var(--green); flex-shrink: 0; margin-top: 1px; }
.wk-auswertung {
  background: var(--green); color: #fff; border-radius: 18px;
  padding: 24px 26px; margin-top: 20px;
}
.wk-auswertung strong { display: block; font-size: 17px; margin-bottom: 8px; }
.wk-auswertung p { font-size: 15.5px; line-height: 1.6; }

/* Säulen */
.wk-saeulen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.wk-saeule {
  background: var(--card-cream); border: 2px solid transparent; border-radius: 18px;
  padding: 20px 14px; cursor: pointer; font-family: inherit; color: var(--green);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  transition: border-color 0.15s, transform 0.15s;
}
.wk-saeule:hover { transform: translateY(-2px); }
.wk-saeule.an { border-color: var(--green); background: var(--white); }
.wk-saeule img { height: 54px; width: auto; }
.wk-saeule span { font-size: 14px; font-weight: 500; line-height: 1.3; text-align: center; }
.wk-saeulen-text {
  background: var(--cream); border-radius: 16px; padding: 22px 24px;
  margin-top: 14px; font-size: 16px; line-height: 1.6;
  color: rgba(20, 61, 13, 0.6); min-height: 84px;
}
.wk-saeulen-text.gefuellt { color: var(--green); background: var(--white); border: 1px solid rgba(20, 61, 13, 0.12); }

/* Ablauf und Weg */
.wk-ablauf, .wk-weg { display: flex; flex-direction: column; gap: 12px; }
.wk-ablauf-teil, .wk-weg-schritt {
  display: grid; grid-template-columns: 44px 1fr; gap: 18px;
  background: var(--cream); border-radius: 18px; padding: 22px 24px;
}
.wk-ablauf-nr, .wk-weg-schritt > span {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--green); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700;
}
.wk-ablauf-teil strong, .wk-weg-schritt strong { display: block; font-size: 17px; font-weight: 700; margin-bottom: 5px; }
.wk-ablauf-teil p, .wk-weg-schritt p { font-size: 15.5px; line-height: 1.6; }

.wk-info {
  background: var(--white); border: 1px solid rgba(20, 61, 13, 0.14);
  border-radius: 16px; padding: 20px 22px; margin-top: 22px;
}
.wk-info strong { display: block; font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.wk-info p { font-size: 15.5px; line-height: 1.6; }

/* Fragen */
.wk-fragen details {
  background: var(--cream); border-radius: 14px;
  padding: 16px 20px; margin-bottom: 9px;
}
.wk-fragen summary {
  font-size: 16.5px; font-weight: 500; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; gap: 16px; align-items: flex-start;
}
.wk-fragen summary::-webkit-details-marker { display: none; }
.wk-fragen summary::after { content: '+'; font-size: 22px; line-height: 1; flex-shrink: 0; }
.wk-fragen details[open] summary::after { content: '–'; }
.wk-fragen details p { font-size: 15.5px; line-height: 1.65; margin-top: 12px; }

/* Abschluss */
.wk-abschluss { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0; }
.wk-cta {
  display: inline-block; background: var(--green); color: var(--cream);
  border-radius: 100px; padding: 15px 32px; font-size: 16.5px;
  transition: opacity 0.15s;
}
.wk-cta:hover { opacity: 0.9; }
.wk-cta-leise { background: none; color: var(--green); border: 1px solid rgba(20, 61, 13, 0.3); }
.wk-cta-leise:hover { background: var(--cream); opacity: 1; }
.wk-neustart { margin-top: 26px; }
.wk-neustart button {
  background: none; border: 0; padding: 0; color: rgba(20, 61, 13, 0.65);
  font-family: inherit; font-size: 14px; text-decoration: underline; cursor: pointer;
}

/* Steuerung unten */
.wk-steuerung {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: var(--white); border-top: 1px solid rgba(20, 61, 13, 0.1);
}
.wk-steuerung-inner {
  max-width: 780px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; gap: 16px;
}
.wk-kapitelname { flex: 1; text-align: center; font-size: 14px; color: rgba(20, 61, 13, 0.65); }
.wk-knopf {
  background: var(--green); color: var(--cream); border: 0;
  border-radius: 100px; padding: 13px 30px;
  font-family: inherit; font-size: 15.5px; cursor: pointer;
  transition: opacity 0.15s;
}
.wk-knopf:hover { opacity: 0.9; }
.wk-knopf-leise { background: none; color: var(--green); border: 1px solid rgba(20, 61, 13, 0.28); }
.wk-knopf-leise:hover { background: var(--cream); opacity: 1; }
.wk-knopf[disabled] { opacity: 0.35; cursor: default; }

@media (max-width: 640px) {
  .wk-buehne { padding: 30px 18px 32px; }
  .wk-kapitel h1 { font-size: 27px; }
  .wk-lead { font-size: 16.5px; }
  .wk-karten, .wk-fakten { grid-template-columns: 1fr; }
  .wk-saeulen { grid-template-columns: repeat(2, 1fr); }
  .wk-zitat p { font-size: 17.5px; }
  .wk-ablauf-teil, .wk-weg-schritt { grid-template-columns: 36px 1fr; gap: 14px; padding: 18px 18px; }
  .wk-ablauf-nr, .wk-weg-schritt > span { width: 32px; height: 32px; font-size: 14px; }
  .wk-leiste-inner, .wk-steuerung-inner { padding: 12px 16px; gap: 12px; }
  .wk-punkte { display: none; }
  .wk-knopf { padding: 13px 22px; font-size: 15px; }
  .wk-kapitelname { display: none; }
  .wk-abschluss .wk-cta { width: 100%; text-align: center; }
}

/* Willkommens-Guide: Bausteine für Bestandskunden */
.wk-liste { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.wk-liste > div { background: var(--cream); border-radius: 16px; padding: 20px 22px; }
.wk-liste strong { display: block; font-size: 16.5px; font-weight: 700; margin-bottom: 5px; }
.wk-liste p { font-size: 15.5px; line-height: 1.6; }

.wk-liste-titel { font-size: 14px; font-weight: 700; margin-bottom: 12px; }

.wk-check-liste { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.wk-check-liste label {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--cream); border-radius: 14px;
  padding: 14px 18px; cursor: pointer; font-size: 15.5px; line-height: 1.45;
  border: 2px solid transparent; transition: border-color 0.15s, background 0.15s, opacity 0.15s;
}
.wk-check-liste label.an { border-color: var(--green); background: var(--white); opacity: 0.7; }
.wk-check-liste label.an span { text-decoration: line-through; }
.wk-check-liste input { width: 22px; height: 22px; accent-color: var(--green); flex-shrink: 0; margin-top: 1px; }

.wk-notfall {
  background: var(--green); color: #fff;
  border-radius: 18px; padding: 22px 24px; margin-top: 20px;
}
.wk-notfall strong { display: block; font-size: 16.5px; margin-bottom: 6px; }
.wk-notfall p { font-size: 16px; line-height: 1.6; }
.wk-notfall a { color: #fff; text-decoration: underline; }

.wk-zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wk-gut, .wk-schlecht { border-radius: 16px; padding: 22px 24px; }
.wk-gut { background: #eaf3e2; }
.wk-schlecht { background: #f6efe4; }
.wk-gut ul, .wk-schlecht ul { list-style: none; }
.wk-gut li, .wk-schlecht li {
  position: relative; padding-left: 26px; margin-bottom: 9px;
  font-size: 15.5px; line-height: 1.5;
}
.wk-gut li::before { content: '✓'; position: absolute; left: 2px; color: #2e7d32; font-weight: 700; }
.wk-schlecht li::before { content: '×'; position: absolute; left: 4px; color: #a02020; font-weight: 700; font-size: 17px; line-height: 1.3; }

@media (max-width: 640px) {
  .wk-zwei { grid-template-columns: 1fr; }
}

/* Steuerung unten: Knöpfe verraten das Zielkapitel */
.wk-steuerung-inner { justify-content: space-between; }
.wk-knopf {
  display: flex; flex-direction: column; align-items: flex-start; gap: 1px;
  min-width: 0; text-align: left; line-height: 1.25;
}
#wkWeiter { align-items: flex-end; text-align: right; }
.wk-richtung { font-size: 15.5px; }
.wk-nachbar {
  font-size: 12.5px; opacity: 0.75; max-width: 34vw;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.wk-nachbar:empty { display: none; }

@media (max-width: 640px) {
  .wk-kapitelbar { gap: 6px; }
  .wk-chip { font-size: 13.5px; padding: 6px 12px 6px 6px; }
  .wk-chip-name { max-width: 118px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .wk-zaehler { display: none; }
}

/* Sprachauswahl im Willkommens-Guide */
.wk-sprachwahl {
  display: flex; align-items: center; gap: 5px; flex-shrink: 0;
  background: var(--cream); border-radius: 100px; padding: 4px 10px 4px 12px;
}
.wk-sprachsymbol { font-size: 14px; line-height: 1; }
.wk-sprachwahl select {
  border: 0; background: none; font-family: inherit; font-size: 14px;
  color: var(--green); cursor: pointer; padding: 4px 2px; max-width: 150px;
}
.wk-sprachwahl select:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; border-radius: 4px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.wk-laedt { padding: 40px 0; color: rgba(20, 61, 13, 0.6); }

@media (max-width: 640px) {
  .wk-sprachwahl { padding: 3px 6px 3px 9px; }
  .wk-sprachwahl select { font-size: 13.5px; max-width: 96px; }
}

/* Auf schmalen Bildschirmen brauchen Kapitelleiste und Sprachauswahl
   je eine eigene Zeile, sonst verdeckt die Auswahl das aktive Kapitel. */
@media (max-width: 720px) {
  .wk-leiste-inner { flex-wrap: wrap; row-gap: 8px; }
  .wk-sprachwahl { order: 1; margin-left: auto; }
  .wk-zaehler { order: 0; display: block; margin-right: auto; }
  .wk-kapitelbar { order: 2; flex-basis: 100%; }
  .wk-sprachwahl select { max-width: 160px; }
}

/* ---------- Mobil-Feinschliff (Touch, Lesbarkeit, iOS) ---------- */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { overflow-x: hidden; }
img, svg, video, canvas { max-width: 100%; }

@media (max-width: 640px) {
  /* iOS zoomt bei Feldern unter 16px automatisch hinein */
  input, select, textarea { font-size: 16px; }
  input[type="text"], input[type="email"], input[type="tel"],
  input[type="date"], input[type="number"], select { min-height: 46px; }
  .faq-search input { min-height: 46px; }

  /* Fingerfreundliche Trefferflächen im Footer */
  .footer-cols nav { gap: 0; }
  .footer-cols nav a,
  .footer-eltern a { display: block; padding: 11px 0; min-height: 44px; }
  .footer-cols p a { display: inline-block; padding: 7px 0; }
  .footer-eltern { gap: 0; }

  /* Ankreuzfelder größer und mit ruhiger Trefferfläche */
  .kontakt-form-panel .haken,
  .termin-panel .haken,
  .anmeldung-panel .haken,
  .eval-panel .haken { min-height: 44px; padding: 4px 0; align-items: flex-start; }
  .kontakt-form-panel .haken input,
  .termin-panel .haken input,
  .anmeldung-panel .haken input,
  .eval-panel .haken input { width: 24px; height: 24px; }

  /* Rechtstext auf dem Handy lesbar */
  .page-datenschutz .legal h2,
  .page-datenschutz .legal p,
  .page-datenschutz .legal ul { font-size: 14.5px; line-height: 1.6; }
  .page-datenschutz .legal { padding: 56px 22px; }

  /* Lange Adressen und Mails dürfen umbrechen statt zu überstehen */
  a[href^="mailto:"], a[href^="tel:"], .legal p { overflow-wrap: anywhere; }

  /* Telefon und Mail im Inhalt ebenfalls gut treffbar */
  .kontakt-head address a,
  .anfahrt a[href^="tel:"], .anfahrt a[href^="mailto:"] { display: inline-block; padding: 8px 0; }

  /* Auf dem Handy zaehlt jeder Millimeter Textbreite */
  :root { --pad: 20px; }
  .wk-buehne, .wk-leiste-innen { padding-left: 20px; padding-right: 20px; }

  /* Kein graues Blitzen beim Antippen */
  a, button, .faq-item .q, .nav-toggle { -webkit-tap-highlight-color: rgba(20, 61, 13, 0.08); }
}

/* Urheberzeile im Footer: Essential Advertising ist verlinkt */
.footer-meta a { color: inherit; text-decoration: none; }
.footer-meta a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) {
  .footer-meta a { display: inline-block; padding: 6px 0; }
}

/* ---------- Karte laedt erst auf Klick ---------- */
.karte-platz {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; min-height: 460px; padding: 40px 26px; text-align: center;
  background: var(--cream); border: 1px solid rgba(20, 61, 13, 0.12);
  border-radius: var(--radius-md);
}
.karte-platz svg { width: 46px; height: 46px; opacity: 0.85; }
.karte-adresse { font-size: 19px; font-weight: 500; line-height: 1.45; }
.karte-platz .btn { margin-top: 2px; }
.karte-hinweis { font-size: 13.5px; line-height: 1.55; max-width: 46ch; opacity: 0.8; }
.karte-hinweis a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) {
  .karte-platz { min-height: 340px; padding: 34px 20px; }
  .karte-adresse { font-size: 17px; }
  .karte-hinweis a { display: inline-block; padding: 6px 0; }
}
