/* ==========================================================================
   Kindertagespflege Hirschacker – Haupt-Stylesheet
   --------------------------------------------------------------------------
   Aufbau:
   1.  Schrift (selbst gehostet, DSGVO-konform)
   2.  Design-Tokens (Farben, Abstände, Radien, Schatten)
   3.  Basis & Reset
   4.  Typografie & Hilfsklassen
   5.  Buttons & Links
   6.  Navigation / Header
   7.  Hero-Bereiche
   8.  Sektionen, Karten, Raster
   9.  Timeline, Akkordeon, Statistiken
   10. Galerie & Lightbox
   11. Formulare & Kontakt
   12. Bewertungen
   13. Footer, Back-to-top, Loader
   14. Media Queries (größere Screens)
   ========================================================================== */

/* 1. Schrift ------------------------------------------------------------- */
/* Nunito als variable Schrift, lokal gehostet (kein Google-Server-Aufruf). */
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("../assets/fonts/nunito-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("../assets/fonts/nunito-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* 2. Design-Tokens --------------------------------------------------------
   Alle Farben, Abstände und Effekte zentral änderbar. */
:root {
  /* Primärfarben: helles Petrolblau */
  --teal-900: #0d3b42;
  --teal-800: #14515c;
  --teal-700: #1c7d8c;   /* Haupt-Markenfarbe */
  --teal-600: #2996ab;
  --turquoise: #6cd4e3;
  --blue-fresh: #4db3d9;
  --blue-deep: #1f6478;

  /* Verspielte Akzentfarben (kindlich, aber nicht kitschig) */
  --sun: #f9b234;
  --sun-deep: #e89a10;
  --coral: #f4796b;
  --coral-deep: #d95a4c;
  --grass: #6bbf7b;
  --grass-deep: #4da35f;
  --lilac: #a583d9;
  --lilac-deep: #8a63c4;

  /* Sekundärfarben: Creme & Weiß */
  --beige: #faf5e9;
  --sand: #f1e6cf;
  --gray-050: #f5f9fa;
  --gray-100: #eaf1f3;
  --gray-300: #c9dbe0;
  --white: #ffffff;

  /* Text */
  --ink: #17282e;
  --ink-soft: #4a5b61;
  --ink-inverse: #eef7fa;

  /* Verläufe */
  --grad-brand: linear-gradient(135deg, #1c7d8c 0%, #2996ab 45%, #4db3d9 100%);
  --grad-hero: linear-gradient(160deg, #0d3b42 0%, #1c7d8c 50%, #4db3d9 100%);
  --grad-card: linear-gradient(160deg, #ffffff 0%, #f2f8fa 100%);
  --grad-cta: linear-gradient(120deg, #1c7d8c, #4db3d9);

  /* Effekte */
  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 28px;
  --radius-pill: 999px;
  --shadow-s: 0 2px 10px rgba(13, 59, 66, 0.07);
  --shadow-m: 0 10px 30px rgba(13, 59, 66, 0.10);
  --shadow-l: 0 24px 60px rgba(13, 59, 66, 0.16);
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.55);

  /* Layout */
  --container: 1160px;
  --section-pad: clamp(4rem, 9vw, 7rem);
  --header-h: 76px;

  /* Typografie */
  --font: "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* 3. Basis & Reset --------------------------------------------------------*/
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
  /* verhindert horizontales Scrollen durch Reveal-Startpositionen */
  overflow-x: clip;
}

body {
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

ul[class], ol[class] { list-style: none; }

/* Sichtbarer Fokus für Tastaturnutzung (WCAG 2.4.7) */
:focus-visible {
  outline: 3px solid var(--blue-fresh);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--turquoise); color: var(--teal-900); }

/* Skip-Link: erst bei Fokus sichtbar */
.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 1200;
  padding: 0.7rem 1.2rem;
  background: var(--teal-700);
  color: #fff;
  border-radius: 0 0 var(--radius-s) var(--radius-s);
  text-decoration: none;
  font-weight: 700;
  transition: top 0.25s ease;
}
.skip-link:focus { top: 0; }

/* Nur für Screenreader */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* 4. Typografie ------------------------------------------------------------*/
h1, h2, h3, h4 {
  line-height: 1.18;
  font-weight: 800;
  color: var(--teal-900);
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.2rem, 5.4vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.45rem); }
p  { max-width: 68ch; }

a { color: var(--teal-700); }
a:hover { color: var(--teal-800); }

.lead {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--ink-soft);
}

/* Kicker: kleine Überzeile über Abschnittstiteln */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--teal-700);
  margin-bottom: 0.9rem;
}
.kicker::before {
  content: "";
  width: 34px; height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--coral), var(--sun), var(--grass), var(--blue-fresh));
}

/* Deutlich markierte Platzhalter, die der Betreiber ersetzen muss */
.platzhalter {
  background: #fff7e0;
  border: 1px dashed #d9a900;
  border-radius: 6px;
  padding: 0.05em 0.4em;
  color: #7a5d00;
  font-style: normal;
  font-weight: 600;
}

/* 5. Buttons ---------------------------------------------------------------*/
.btn {
  --btn-bg: var(--grad-cta);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 52px;                 /* touch-freundlich */
  padding: 0.85rem 1.9rem;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: #fff;
  font: inherit;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(41, 150, 171, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.btn:hover,
.btn:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(41, 150, 171, 0.45);
  color: #fff;
}
.btn:active { transform: translateY(-1px); }

.btn--ghost {
  --btn-bg: transparent;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(6px);
  box-shadow: none;
}
.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: rgba(255, 255, 255, 0.22);
  box-shadow: none;
}

.btn--light {
  background: #fff;
  color: var(--teal-700);
  box-shadow: var(--shadow-m);
}
.btn--light:hover,
.btn--light:focus-visible { color: var(--teal-800); }

/* Ripple-Effekt (per JS erzeugtes <span class="ripple">) */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transform: scale(0);
  animation: ripple 0.6s ease-out forwards;
  pointer-events: none;
}
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* 6. Navigation / Header ----------------------------------------------------*/
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.35s ease, box-shadow 0.35s ease,
              backdrop-filter 0.35s ease;
}
/* Nach dem Scrollen: dunkles Glas */
.site-header.is-scrolled {
  background: rgba(13, 59, 66, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
}

.nav {
  width: min(var(--container), 100% - 2.5rem);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.15;
}
.brand img { width: 44px; height: 44px; }
.brand small {
  display: block;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--turquoise);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.nav-list a {
  display: inline-block;
  padding: 0.55rem 0.8rem;
  border-radius: var(--radius-pill);
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.93rem;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-list a:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }
.nav-list a[aria-current="page"] {
  background: rgba(108, 212, 227, 0.22);
  color: var(--turquoise);
}
.nav-cta { display: none; } /* erscheint erst auf großen Screens */

/* Hamburger */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px; height: 48px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 0;
  border-radius: var(--radius-s);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2.5px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobiles Menü (Standard: Vollbild-Overlay) */
@media (max-width: 1099.98px) {
  .nav-list {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.3rem;
    padding: 2rem 1.5rem 3rem;
    background: rgba(13, 59, 66, 0.97);
    backdrop-filter: blur(16px);
    overflow-y: auto;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s;
  }
  .nav-list.is-open { transform: translateX(0); visibility: visible; }
  .nav-list a {
    width: 100%;
    max-width: 420px;
    text-align: center;
    font-size: 1.15rem;
    padding: 0.9rem 1rem;
  }
  body.nav-open { overflow: hidden; }
}
@media (min-width: 1100px) {
  .nav-toggle { display: none; }
}
/* Der zusätzliche CTA-Button passt erst auf sehr breiten Screens neben
   alle Menüpunkte, ohne dass etwas umbricht. */
@media (min-width: 1450px) {
  .nav-cta { display: inline-flex; min-height: 44px; padding: 0.5rem 1.3rem; font-size: 0.9rem; }
}

/* 7. Hero --------------------------------------------------------------------*/
.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: min(100svh, 900px);
  padding: calc(var(--header-h) + 3rem) 1.25rem 6rem;
  background: var(--grad-hero);
  color: var(--ink-inverse);
  overflow: hidden;
  isolation: isolate;
}
.hero::after {
  /* sanftes Licht oben rechts */
  content: "";
  position: absolute;
  inset: -30% -20% auto auto;
  width: 70%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(108, 212, 227, 0.28), transparent 65%);
  z-index: -1;
}
.hero-inner {
  width: min(880px, 100%);
  text-align: center;
  position: relative;
  z-index: 2;
}
.hero h1 { color: #fff; margin-bottom: 1.2rem; }
.hero .lead { color: rgba(242, 251, 249, 0.9); margin-inline: auto; margin-bottom: 2.4rem; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.hero-badges {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
}
.hero-badges li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1.05rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  font-size: 0.9rem;
  font-weight: 700;
}

/* Schwebende Natur-Deko im Hero */
.hero-deco {
  position: absolute;
  z-index: 1;
  opacity: 0.55;
  pointer-events: none;
}

/* Wellen-Abschluss unten am Hero */
.hero-wave {
  position: absolute;
  bottom: -1px; left: 0;
  width: 100%;
  z-index: 2;
  pointer-events: none;
}
.hero-wave svg { width: 100%; height: clamp(40px, 8vw, 110px); display: block; }

/* Kleiner Seiten-Hero für Unterseiten */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 4.5rem) 1.25rem 5.5rem;
  background: var(--grad-hero);
  color: var(--ink-inverse);
  text-align: center;
  overflow: hidden;
}
.page-hero h1 { color: #fff; }
.page-hero .lead {
  color: rgba(242, 251, 249, 0.88);
  margin: 1rem auto 0;
  max-width: 60ch;
}
.page-hero .hero-wave { position: absolute; }

/* 8. Sektionen & Karten -------------------------------------------------------*/
.section { padding-block: var(--section-pad); }
.section--tint { background: var(--gray-050); }
.section--beige { background: var(--beige); }
.section--dark {
  background: var(--grad-hero);
  color: var(--ink-inverse);
}
.section--dark h2, .section--dark h3 { color: #fff; }

.container {
  width: min(var(--container), 100% - 2.5rem);
  margin-inline: auto;
}
.container--narrow { max-width: 820px; }

.section-head { max-width: 700px; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .kicker { justify-content: center; }
.section-head--center p { margin-inline: auto; }
.section-head p { margin-top: 0.9rem; color: var(--ink-soft); }

/* Kartenraster */
.grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr));
}
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); }

.card {
  position: relative;
  background: var(--grad-card);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-l);
  padding: 2rem 1.7rem;
  box-shadow: var(--shadow-s);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-l); }
.card h3 { margin-bottom: 0.6rem; }
.card p { color: var(--ink-soft); font-size: 0.98rem; }

.card-icon {
  display: grid;
  place-items: center;
  width: 62px; height: 62px;
  margin-bottom: 1.2rem;
  border-radius: 20px;
  background: var(--grad-cta);
  color: #fff;
  box-shadow: 0 8px 18px rgba(41, 150, 171, 0.3);
}
.card-icon svg { width: 30px; height: 30px; }

/* Glaskarte für Hervorhebungen */
.card--glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* Zweispaltiges Text/Bild-Layout */
.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--media-right .split-media { order: 2; }
}
.split-media {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-l);
}
.split-media img { width: 100%; object-fit: cover; }
.split-body h2 { margin-bottom: 1rem; }
.split-body p { color: var(--ink-soft); margin-bottom: 1rem; }

/* Häkchen-Listen */
.check-list { display: grid; gap: 0.75rem; margin-top: 1.4rem; }
.check-list li {
  position: relative;
  padding-left: 2.2rem;
  font-weight: 600;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.18em;
  width: 1.4em; height: 1.4em;
  border-radius: 50%;
  background: var(--grad-cta);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2Zm5.1 7.5-5.9 6a1 1 0 0 1-1.4 0l-2.9-2.9a1 1 0 1 1 1.4-1.4l2.2 2.1 5.2-5.2a1 1 0 0 1 1.4 1.4Z"/></svg>') center/contain no-repeat;
          mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2Zm5.1 7.5-5.9 6a1 1 0 0 1-1.4 0l-2.9-2.9a1 1 0 1 1 1.4-1.4l2.2 2.1 5.2-5.2a1 1 0 0 1 1.4 1.4Z"/></svg>') center/contain no-repeat;
}

/* Trampolin-Trenner zwischen Sektionen */
.divider-trampoline {
  display: flex;
  justify-content: center;
  padding: 0.5rem 0 0;
}
.divider-trampoline img { width: clamp(120px, 18vw, 190px); opacity: 0.9; }

/* CTA-Banner */
.cta-banner {
  position: relative;
  border-radius: var(--radius-l);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  background: var(--grad-cta);
  color: #fff;
  text-align: center;
  overflow: hidden;
  box-shadow: var(--shadow-l);
}
.cta-banner h2 { color: #fff; margin-bottom: 0.8rem; }
.cta-banner p { margin: 0 auto 1.8rem; color: rgba(255, 255, 255, 0.92); }
.cta-banner::before,
.cta-banner::after {
  /* dekorative Blasen */
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}
.cta-banner::before {
  width: 220px; height: 220px; top: -90px; left: -70px;
  background: rgba(252, 211, 77, 0.28); /* sonniger Farbtupfer */
}
.cta-banner::after { width: 300px; height: 300px; bottom: -140px; right: -100px; }
.cta-banner > * { position: relative; z-index: 1; }

/* 9. Timeline, Akkordeon, Statistiken ----------------------------------------*/
.timeline {
  position: relative;
  display: grid;
  gap: 2rem;
  padding-left: 2.2rem;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 10px; top: 8px; bottom: 8px;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(var(--turquoise), var(--blue-fresh));
}
.timeline-item { position: relative; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -2.2rem; top: 6px;
  width: 23px; height: 23px;
  border-radius: 50%;
  background: #fff;
  border: 5px solid var(--teal-600);
  box-shadow: 0 0 0 4px rgba(41, 150, 171, 0.15);
}
.timeline-item .time {
  display: inline-block;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--teal-700);
  background: rgba(41, 150, 171, 0.1);
  border-radius: var(--radius-pill);
  padding: 0.15rem 0.85rem;
  margin-bottom: 0.5rem;
}
.timeline-item h3 { margin-bottom: 0.35rem; }
.timeline-item p { color: var(--ink-soft); font-size: 0.98rem; }

/* Tagesablauf-Karten mit Icon */
.routine-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.1rem;
  align-items: start;
}
.routine-item .card-icon { width: 56px; height: 56px; margin: 0; border-radius: 16px; }

/* Akkordeon (FAQ) – natives <details> für Barrierefreiheit */
.accordion { display: grid; gap: 0.9rem; }
.accordion details {
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-s);
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}
.accordion details[open] { box-shadow: var(--shadow-m); }
.accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
  color: var(--teal-900);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "+";
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--teal-700);
  font-size: 1.3rem;
  font-weight: 700;
  transition: transform 0.3s ease, background 0.3s ease;
}
.accordion details[open] summary::after {
  content: "–";
  background: var(--teal-600);
  color: #fff;
}
.accordion .accordion-body { padding: 0 1.4rem 1.3rem; color: var(--ink-soft); }

/* Statistiken / animierte Zähler */
.stats {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  text-align: center;
}
.stat {
  padding: 2rem 1rem;
  border-radius: var(--radius-l);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
}
.stat .stat-number {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 900;
  color: var(--turquoise);
  line-height: 1;
}
.stat .stat-label { margin-top: 0.5rem; font-weight: 700; font-size: 0.95rem; }

/* Preise */
.price-card { text-align: left; display: flex; flex-direction: column; }
.price-card .price {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--teal-700);
  margin: 0.6rem 0 0.2rem;
}
.price-card .price small { font-size: 1rem; font-weight: 700; color: var(--ink-soft); }
.price-card .check-list { margin-bottom: 1.6rem; }
.price-card .btn { margin-top: auto; align-self: flex-start; }
.price-card--featured {
  border: 2px solid var(--teal-600);
  box-shadow: var(--shadow-l);
}
.price-note {
  margin-top: 1.5rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* Downloads */
.download-list { display: grid; gap: 0.9rem; }
.download-list a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.05rem 1.3rem;
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-s);
  text-decoration: none;
  font-weight: 700;
  color: var(--teal-900);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.download-list a:hover { transform: translateX(6px); box-shadow: var(--shadow-m); }
.download-list svg { flex-shrink: 0; width: 26px; height: 26px; color: var(--teal-600); }

/* 10. Galerie & Lightbox --------------------------------------------------------*/
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.filter-btn {
  min-height: 44px;
  padding: 0.5rem 1.3rem;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--ink-soft);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}
.filter-btn:hover { border-color: var(--teal-600); color: var(--teal-700); }
.filter-btn[aria-pressed="true"] {
  background: var(--teal-700);
  border-color: var(--teal-700);
  color: #fff;
}

/* Masonry über CSS columns – ohne JS-Layout-Bibliothek */
.masonry {
  columns: 3 280px;
  column-gap: 1.2rem;
}
.masonry-item {
  break-inside: avoid;
  margin-bottom: 1.2rem;
  border-radius: var(--radius-m);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-s);
  border: 0;
  padding: 0;
  background: none;
  cursor: zoom-in;
  width: 100%;
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.35s ease;
}
.masonry-item:hover { transform: translateY(-4px) scale(1.01); box-shadow: var(--shadow-l); }
.masonry-item img { width: 100%; transition: transform 0.5s ease; }
.masonry-item:hover img { transform: scale(1.06); }
.masonry-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.2rem 1rem 0.8rem;
  background: linear-gradient(transparent, rgba(13, 59, 66, 0.75));
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  text-align: left;
}
.masonry-item.is-hidden { display: none; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(8, 34, 32, 0.92);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: min(1000px, 92vw);
  max-height: 80vh;
  width: auto;
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-l);
}
.lightbox-caption { margin-top: 1rem; color: #fff; font-weight: 700; text-align: center; }
.lightbox-btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  transition: background 0.2s ease;
}
.lightbox-btn:hover { background: rgba(255, 255, 255, 0.3); }
.lightbox-close { top: 1.2rem; right: 1.2rem; }
.lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* 11. Formulare & Kontakt --------------------------------------------------------*/
.form-grid { display: grid; gap: 1.2rem; }
@media (min-width: 640px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .form-field--full { grid-column: 1 / -1; }
}
.form-field label {
  display: block;
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
  color: var(--teal-900);
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.9rem 1.1rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-m);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--teal-600);
  box-shadow: 0 0 0 4px rgba(41, 150, 171, 0.15);
}
.form-field textarea { min-height: 160px; resize: vertical; }
.form-hint { font-size: 0.85rem; color: var(--ink-soft); margin-top: 0.3rem; }

.form-consent {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.form-consent input {
  flex-shrink: 0;
  width: 22px; height: 22px;
  margin-top: 0.2rem;
  accent-color: var(--teal-600);
}
.form-status {
  margin-top: 1rem;
  padding: 1rem 1.3rem;
  border-radius: var(--radius-m);
  font-weight: 700;
  display: none;
}
.form-status.is-success { display: block; background: #e5f7ef; color: #14683f; }
.form-status.is-error { display: block; background: #fdeaea; color: #a02525; }

/* Kontakt-Infokarten */
.contact-info { display: grid; gap: 1.1rem; }
.contact-info .card { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.4rem 1.5rem; }
.contact-info .card-icon { width: 50px; height: 50px; margin: 0; border-radius: 14px; }
.contact-info h3 { font-size: 1.05rem; margin-bottom: 0.15rem; }
.contact-info p { font-size: 0.95rem; }
.contact-info a { font-weight: 700; }

/* Zwei-Klick-Karte (DSGVO): Karte lädt erst nach Zustimmung */
.map-consent {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 380px;
  border-radius: var(--radius-l);
  background: var(--grad-card);
  border: 2px dashed var(--gray-300);
  text-align: center;
  padding: 2rem;
}
.map-consent p { color: var(--ink-soft); margin-bottom: 1.4rem; max-width: 46ch; }
.map-embed { border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-m); }
.map-embed iframe { width: 100%; height: 420px; border: 0; display: block; }

/* Öffnungszeiten-Tabelle */
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table th, .hours-table td {
  padding: 0.7rem 0.4rem;
  text-align: left;
  border-bottom: 1px solid var(--gray-100);
}
.hours-table th { font-weight: 800; color: var(--teal-900); }

/* 12. Bewertungen -----------------------------------------------------------------*/
.rating-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  text-align: center;
}
/* p.… nötig, damit die Regeln die allgemeinere ".card p"-Regel überstimmen */
p.rating-score {
  font-size: clamp(3.5rem, 8vw, 5rem);
  font-weight: 900;
  line-height: 1;
  color: var(--teal-700);
}
p.stars {
  display: inline-flex;
  gap: 0.25rem;
  color: #f5b301;
  font-size: 1.4rem;
  letter-spacing: 2px;
}
.review-card { display: flex; flex-direction: column; gap: 0.9rem; }
.review-card .stars { font-size: 1.1rem; }
.review-card blockquote { color: var(--ink-soft); font-size: 0.98rem; font-style: italic; }
.review-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: auto;
}
.review-avatar {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--grad-cta);
  color: #fff;
  font-weight: 900;
  font-size: 1.05rem;
}
.review-author strong { display: block; font-size: 0.95rem; color: var(--teal-900); }
.review-author span { font-size: 0.82rem; color: var(--ink-soft); }

/* 13. Footer, Back-to-top, Loader ---------------------------------------------------*/
.site-footer {
  background: var(--teal-900);
  color: rgba(242, 251, 249, 0.85);
  padding: 4.5rem 0 0;
  position: relative;
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  padding-bottom: 3rem;
}
.site-footer h3 {
  color: #fff;
  font-size: 1.02rem;
  margin-bottom: 1.1rem;
}
.site-footer ul { display: grid; gap: 0.55rem; }
.site-footer a {
  color: rgba(242, 251, 249, 0.85);
  text-decoration: none;
  transition: color 0.2s ease;
}
.site-footer a:hover { color: var(--turquoise); }
.footer-brand p { font-size: 0.95rem; max-width: 34ch; margin-top: 1rem; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.4rem 0;
  font-size: 0.88rem;
}
.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 2rem;
  align-items: center;
  justify-content: space-between;
}
.footer-legal { display: flex; gap: 1.4rem; }

/* Back-to-top */
.back-to-top {
  position: fixed;
  right: 1.3rem;
  bottom: 1.3rem;
  z-index: 900;
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border: 0;
  border-radius: 50%;
  background: var(--grad-cta);
  color: #fff;
  cursor: pointer;
  box-shadow: var(--shadow-m);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px); }
.back-to-top svg { width: 22px; height: 22px; }

/* Lade-Animation (nur Startseite, blendet schnell aus) */
.loader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  background: var(--grad-hero);
  transition: opacity 0.45s ease, visibility 0.45s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader img { width: 130px; }

/* Tabellen (z. B. Kosten) */
.table-wrap { overflow-x: auto; border-radius: var(--radius-m); box-shadow: var(--shadow-s); }
.data-table { width: 100%; border-collapse: collapse; background: #fff; }
.data-table th, .data-table td { padding: 1rem 1.2rem; text-align: left; }
/* Auf schmalen Screens passt sich die Tabelle an, statt zu scrollen */
@media (max-width: 719.98px) {
  .data-table th, .data-table td { padding: 0.8rem 0.7rem; font-size: 0.92rem; }
}
.data-table thead th { background: var(--teal-700); color: #fff; font-weight: 800; }
.data-table tbody tr:nth-child(even) { background: var(--gray-050); }

/* 14. Verspielte Farbakzente ------------------------------------------------------
   Kartensymbole, Zeitleisten-Punkte, Häkchen, Zähler und Avatare rotieren
   durch die Akzentfarben – so wirkt die Seite kindlich-bunt, ohne unruhig
   zu werden. Reihenfolge: Blau (Standard) → Koralle → Sonne → Gras → Flieder. */

/* Karten-Icons & Bewertungs-Avatare im 5er-Zyklus einfärben */
.grid > *:nth-child(5n+2) .card-icon,
.grid > *:nth-child(5n+2) .review-avatar,
.contact-info > .card:nth-child(5n+2) .card-icon,
.timeline > li:nth-child(5n+2) .card-icon {
  background: linear-gradient(135deg, var(--coral-deep), var(--coral));
  box-shadow: 0 8px 18px rgba(244, 121, 107, 0.35);
}
.grid > *:nth-child(5n+3) .card-icon,
.grid > *:nth-child(5n+3) .review-avatar,
.contact-info > .card:nth-child(5n+3) .card-icon,
.timeline > li:nth-child(5n+3) .card-icon {
  background: linear-gradient(135deg, var(--sun-deep), var(--sun));
  box-shadow: 0 8px 18px rgba(249, 178, 52, 0.35);
}
.grid > *:nth-child(5n+4) .card-icon,
.grid > *:nth-child(5n+4) .review-avatar,
.contact-info > .card:nth-child(5n+4) .card-icon,
.timeline > li:nth-child(5n+4) .card-icon {
  background: linear-gradient(135deg, var(--grass-deep), var(--grass));
  box-shadow: 0 8px 18px rgba(107, 191, 123, 0.35);
}
.grid > *:nth-child(5n) .card-icon,
.grid > *:nth-child(5n) .review-avatar,
.contact-info > .card:nth-child(5n) .card-icon,
.timeline > li:nth-child(5n) .card-icon {
  background: linear-gradient(135deg, var(--lilac-deep), var(--lilac));
  box-shadow: 0 8px 18px rgba(165, 131, 217, 0.35);
}

/* Zeitleiste: Punkte & Zeit-Pillen farbig rotieren */
.timeline > .timeline-item:nth-child(5n+2)::before { border-color: var(--coral); box-shadow: 0 0 0 4px rgba(244, 121, 107, 0.15); }
.timeline > .timeline-item:nth-child(5n+3)::before { border-color: var(--sun); box-shadow: 0 0 0 4px rgba(249, 178, 52, 0.18); }
.timeline > .timeline-item:nth-child(5n+4)::before { border-color: var(--grass); box-shadow: 0 0 0 4px rgba(107, 191, 123, 0.15); }
.timeline > .timeline-item:nth-child(5n)::before   { border-color: var(--lilac); box-shadow: 0 0 0 4px rgba(165, 131, 217, 0.15); }
.timeline > .timeline-item:nth-child(5n+2) .time { color: #b8483b; background: rgba(244, 121, 107, 0.13); }
.timeline > .timeline-item:nth-child(5n+3) .time { color: #8a6100; background: rgba(249, 178, 52, 0.16); }
.timeline > .timeline-item:nth-child(5n+4) .time { color: #33794a; background: rgba(107, 191, 123, 0.15); }
.timeline > .timeline-item:nth-child(5n) .time   { color: #6d4fa1; background: rgba(165, 131, 217, 0.14); }

/* Häkchen-Listen: bunte Punkte im 4er-Zyklus */
.check-list li:nth-child(4n+2)::before { background: linear-gradient(135deg, var(--coral-deep), var(--coral)); }
.check-list li:nth-child(4n+3)::before { background: linear-gradient(135deg, var(--sun-deep), var(--sun)); }
.check-list li:nth-child(4n)::before   { background: linear-gradient(135deg, var(--grass-deep), var(--grass)); }

/* Statistiken auf dunklem Grund: helle Akzentfarben */
.stat:nth-child(4n+2) .stat-number { color: #ffd166; }
.stat:nth-child(4n+3) .stat-number { color: #ffa69e; }
.stat:nth-child(4n) .stat-number   { color: #9be3ad; }

/* Hero-Badges: dezente Farbränder */
.hero-badges li:nth-child(4n+1) { border-color: rgba(108, 212, 227, 0.6); }
.hero-badges li:nth-child(4n+2) { border-color: rgba(255, 209, 102, 0.6); }
.hero-badges li:nth-child(4n+3) { border-color: rgba(255, 166, 158, 0.6); }
.hero-badges li:nth-child(4n)   { border-color: rgba(155, 227, 173, 0.6); }

/* Bunte Linie als oberer Abschluss des Footers */
.site-footer::before {
  content: "";
  display: block;
  height: 5px;
  background: linear-gradient(90deg, var(--coral), var(--sun), var(--grass), var(--turquoise), var(--lilac));
}

/* 15. Mobile Feinschliff --------------------------------------------------------------*/
@media (max-width: 719.98px) {
  /* Schwebende Deko würde auf kleinen Screens den Text überlagern */
  .hero-deco { display: none; }

  /* Buttons im Hero untereinander in voller Breite – besser tippbar */
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 340px; }

  /* Google-Bewertungskarte: alles mittig statt links */
  .rating-summary { gap: 1.2rem; }
  .rating-summary > div { text-align: center !important; }

  /* Footer-Unterzeile zentrieren */
  .footer-bottom .container { justify-content: center; text-align: center; }
  .footer-legal { justify-content: center; }

  /* Lightbox-Pfeile näher an den Rand */
  .lightbox-prev { left: 0.3rem; }
  .lightbox-next { right: 0.3rem; }
}

/* 16. Größere Screens ----------------------------------------------------------------*/
@media (min-width: 1600px) {
  :root { --container: 1280px; }
  body { font-size: 1.125rem; }
}

/* Druckansicht: Navigation & Deko ausblenden */
@media print {
  .site-header, .back-to-top, .loader, .hero-deco, .cta-banner { display: none !important; }
}
