/* ==========================================================================
   Arche Nora e. V. – Stylesheet
   Design übernommen aus dem Familienkompass + (warmes Creme, freundliches
   Grün, sonniges Gelb, Türkis; runde Formen, verspielte Wellenkanten).

   Reines CSS ohne Build-Schritt: die Seite besteht aus statischen
   HTML-Dateien und kann auf jedem einfachen Webspace liegen.
   ========================================================================== */

/* --- Schriften: bewusst selbst gehostet ---------------------------------
   Beim Einbinden über die Google-Fonts-CDN würde bei jedem Seitenaufruf die
   IP-Adresse der Besucher:innen an Google in die USA übertragen – das wurde
   in Deutschland bereits abgemahnt. Die Dateien liegen deshalb lokal mit. */
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/nunito-400.woff2") format("woff2");
}
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/nunito-600.woff2") format("woff2");
}
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/nunito-700.woff2") format("woff2");
}
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("fonts/nunito-800.woff2") format("woff2");
}
@font-face {
  font-family: "Baloo 2";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/baloo2-600.woff2") format("woff2");
}
@font-face {
  font-family: "Baloo 2";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/baloo2-700.woff2") format("woff2");
}
@font-face {
  font-family: "Baloo 2";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("fonts/baloo2-800.woff2") format("woff2");
}

/* --- Design-Tokens (identisch zum Familienkompass +) -------------------- */
:root {
  color-scheme: light;

  --background: oklch(0.972 0.018 91);
  --foreground: oklch(0.29 0.03 200);
  --card: oklch(0.995 0.005 95);
  --primary: oklch(0.68 0.16 152);
  --primary-foreground: oklch(0.99 0.01 150);
  /* Exakt der Hintergrund der Zwergen-Illustration (RGB 124, 203, 225),
     damit Hero-Band und Bild denselben Blauton haben. */
  --secondary: #7ccbe1;
  --secondary-foreground: oklch(0.28 0.04 210);
  --muted: oklch(0.95 0.02 95);
  --muted-foreground: oklch(0.52 0.03 200);
  --accent: oklch(0.86 0.15 90);
  --accent-foreground: oklch(0.32 0.05 80);
  --border: oklch(0.88 0.02 200);

  --radius: 1rem;
  --radius-lg: 1.8rem;
  --radius-xl: 2rem;

  --font-sans: "Nunito", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-display: "Baloo 2", "Nunito", ui-sans-serif, system-ui, sans-serif;

  --wrap: 68rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0 0 1rem;
  text-wrap: pretty;
}

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

a {
  color: color-mix(in oklab, var(--primary) 82%, black);
  text-underline-offset: 2px;
}

a:hover {
  text-decoration-thickness: 2px;
}

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* Für Screenreader, optisch versteckt */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--card);
  color: var(--foreground);
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radius) 0;
  font-weight: 700;
}

.skip-link:focus {
  left: 0;
}

:focus-visible {
  outline: 3px solid color-mix(in oklab, var(--primary) 70%, white);
  outline-offset: 2px;
}

/* --- Kopfbereich / Navigation ------------------------------------------- */
.site-header {
  background: var(--card);
  border-bottom: 2px solid color-mix(in oklab, var(--border) 60%, transparent);
  position: sticky;
  top: 0;
  z-index: 40;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.brand img {
  width: 3.25rem;
  height: auto;
  border-radius: 0.6rem;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1.1;
  display: block;
}

.brand__sub {
  font-size: 0.78rem;
  color: var(--muted-foreground);
  font-weight: 600;
}

/* Menü ohne JavaScript: Checkbox-Umschalter für kleine Bildschirme.
   Die Checkbox bleibt bewusst per Tastatur erreichbar (kein display:none),
   ist optisch aber ausgeblendet – der sichtbare Fokus liegt auf dem Label. */
.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.nav-toggle:focus-visible + .nav-toggle-label {
  outline: 3px solid color-mix(in oklab, var(--primary) 70%, white);
  outline-offset: 2px;
}

.nav-toggle-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  border: 2px solid var(--border);
  background: var(--card);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-weight: 700;
  font-size: 0.9rem;
}

.nav-toggle-label:hover {
  background: var(--muted);
}

.nav-toggle-label .bars {
  display: inline-block;
  width: 1.1rem;
  height: 2px;
  background: currentColor;
  position: relative;
}

.nav-toggle-label .bars::before,
.nav-toggle-label .bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 1.1rem;
  height: 2px;
  background: currentColor;
}

.nav-toggle-label .bars::before {
  top: -6px;
}

.nav-toggle-label .bars::after {
  top: 6px;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.site-nav a {
  display: inline-block;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--foreground);
}

.site-nav a:hover {
  background: var(--muted);
}

.site-nav a[aria-current="page"] {
  background: color-mix(in oklab, var(--primary) 14%, transparent);
  color: color-mix(in oklab, var(--primary) 80%, black);
}

@media (max-width: 69rem) {
  .site-nav {
    display: none;
    width: 100%;
    padding-bottom: 0.75rem;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0.15rem;
  }

  .site-nav a {
    display: block;
    padding: 0.7rem 1rem;
  }

  .nav-toggle:checked ~ .site-nav {
    display: block;
  }

  .site-header__inner {
    flex-wrap: wrap;
  }
}

@media (min-width: 69.0625rem) {
  .nav-toggle-label {
    display: none;
  }
}

/* --- Wellenkante (wie im Familienkompass-Formular) ---------------------- */
.wave {
  display: block;
  width: 100%;
  height: 1.75rem;
  margin-bottom: -1px;
}

/* --- Hero ---------------------------------------------------------------- */
.hero {
  background: var(--secondary);
  color: var(--secondary-foreground);
  padding-top: 3.5rem;
  position: relative;
}

.hero__inner {
  text-align: center;
  padding-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
}

.hero p {
  max-width: 42rem;
  margin-inline: auto;
  margin-top: 0.85rem;
  font-size: 1.08rem;
  font-weight: 600;
  color: color-mix(in oklab, var(--secondary-foreground) 85%, transparent);
}

.hero__logo {
  background: var(--card);
  display: inline-flex;
  padding: 0.9rem 1.4rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px oklch(0 0 0 / 0.12);
  margin-bottom: 1.25rem;
}

.hero__logo img {
  width: 6rem;
}

/* Zwergen-Maskottchen: flankieren den Hero, stehen auf der Wellenlinie.
   Auf schmalen Screens ausgeblendet, damit sie den Text nicht überlagern. */
.hero__mascot {
  position: absolute;
  bottom: 0.5rem;
  width: clamp(6rem, 9vw, 9rem);
  height: auto;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 6px 10px oklch(0 0 0 / 0.14));
}

.hero__mascot--left {
  left: clamp(0.5rem, 3vw, 3rem);
}

.hero__mascot--right {
  right: clamp(0.5rem, 3vw, 3rem);
}

@media (max-width: 62rem) {
  .hero__mascot {
    display: none;
  }
}

/* --- Seitenkopf für Unterseiten ----------------------------------------- */
.pagehead {
  background: var(--accent);
  color: var(--accent-foreground);
  padding-top: 2.5rem;
}

.pagehead__inner {
  padding-bottom: 2rem;
}

.pagehead h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
}

.pagehead p {
  margin-top: 0.5rem;
  font-weight: 600;
  max-width: 44rem;
}

/* --- Abschnitte ---------------------------------------------------------- */
section {
  padding-block: 3rem;
}

section.tight {
  padding-block: 2rem;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.section-intro {
  color: var(--muted-foreground);
  max-width: 44rem;
  margin-bottom: 2rem;
  font-weight: 600;
}

/* Abschnittsüberschrift mit Illustration daneben (z. B. die Schatztruhe) */
.section-head {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.section-head img {
  width: clamp(4.5rem, 12vw, 7rem);
  flex: none;
}

.section-head .section-intro {
  margin-bottom: 0;
}

/* --- Karten -------------------------------------------------------------- */
.grid {
  display: grid;
  gap: 1.25rem;
}

.grid.cols-2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
}

.grid.cols-3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}

.card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.6rem;
  box-shadow: 0 2px 10px oklch(0 0 0 / 0.04);
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.card__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--accent-foreground);
  margin-bottom: 0.9rem;
  font-size: 1.4rem;
}

.card__icon.is-green {
  background: color-mix(in oklab, var(--primary) 18%, transparent);
  color: color-mix(in oklab, var(--primary) 75%, black);
}

.card__icon.is-blue {
  background: color-mix(in oklab, var(--secondary) 30%, transparent);
  color: var(--secondary-foreground);
}

/* --- Fotos --------------------------------------------------------------- */
figure {
  margin: 0;
}

.photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  border: 2px solid var(--border);
  box-shadow: 0 8px 24px oklch(0 0 0 / 0.08);
}

/* Ein einzelnes, zentriertes Foto als ruhiger Blickfang */
.feature-photo {
  margin-inline: auto;
  max-width: 34rem;
}

.feature-photo figcaption,
.split__media figcaption {
  margin-top: 0.6rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted-foreground);
}

/* Text und Foto nebeneinander (auf großen Bildschirmen) */
.split {
  display: grid;
  gap: 2rem;
  align-items: center;
  grid-template-columns: 1fr;
}

.split__media {
  max-width: 30rem;
  margin-inline: auto;
  width: 100%;
}

@media (min-width: 48rem) {
  .split {
    grid-template-columns: 1fr 1fr;
  }

  /* Foto links, Text rechts */
  .split.media-first .split__media {
    order: -1;
  }
}

/* Merkmalsliste innerhalb einer Karte (Zeit, Alter, Beitrag …) */
.facts {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
  font-size: 0.95rem;
}

.facts li {
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
}

.facts dt,
.facts .label {
  font-weight: 700;
  min-width: 7.5rem;
  flex-shrink: 0;
}

/* --- Hinweis-/Infobox ---------------------------------------------------- */
.notice {
  border: 2px solid color-mix(in oklab, var(--accent) 65%, var(--border));
  background: color-mix(in oklab, var(--accent) 22%, var(--card));
  border-radius: var(--radius-xl);
  padding: 1.25rem 1.5rem;
}

/* h2 für die vom Admin erzeugten Kästen direkt unter dem Seitentitel,
   h3 für Kästen innerhalb eines Abschnitts – optisch identisch. */
.notice h2,
.notice h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.notice.is-green {
  border-color: color-mix(in oklab, var(--primary) 40%, var(--border));
  background: color-mix(in oklab, var(--primary) 10%, var(--card));
}

/* --- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.85rem 1.5rem;
  font-weight: 800;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
  font-family: inherit;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 8px 20px color-mix(in oklab, var(--primary) 30%, transparent);
}

.btn-primary:hover {
  filter: brightness(1.06);
}

.btn-secondary {
  background: var(--card);
  color: var(--foreground);
  border-color: var(--border);
}

.btn-secondary:hover {
  background: var(--muted);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* --- Familienkompass ----------------------------------------------------- */
/* Türkiser Seitenkopf (statt des gelben Standard-Seitenkopfs) */
.pagehead--fk {
  background: var(--secondary);
  color: var(--secondary-foreground);
}

/* Teaser-Band auf der Startseite */
.fk-band {
  background: var(--secondary);
  color: var(--secondary-foreground);
}

.fk-band__inner {
  text-align: center;
  padding-block: 2.75rem;
}

.fk-band__eyebrow {
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.85rem;
  opacity: 0.85;
}

.fk-band h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  font-weight: 800;
  margin-top: 0.35rem;
}

.fk-band p {
  max-width: 40rem;
  margin: 0.75rem auto 0;
  font-weight: 600;
  color: color-mix(in oklab, var(--secondary-foreground) 88%, transparent);
}

.fk-band .btn-row {
  justify-content: center;
}

.fk-band__note {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  font-weight: 700;
  opacity: 0.8;
}

/* 3-Schritte-Infografik */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}

.step {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.6rem;
  box-shadow: 0 2px 10px oklch(0 0 0 / 0.04);
}

.step__num {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--primary-foreground);
  font-weight: 800;
  font-size: 1.3rem;
  margin-bottom: 0.9rem;
}

.step h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.step p {
  color: var(--muted-foreground);
}

/* Vier Schritte: feste Stufen statt Auto-Raster, damit nie 3 + 1 umbricht */
.steps--4 {
  grid-template-columns: 1fr;
}

@media (min-width: 40rem) {
  .steps--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 64rem) {
  .steps--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Merkmals-Pills (Kostenlos · Vertraulich · Ohne Anmeldung) */
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-top: 1.75rem;
}

.pill {
  background: color-mix(in oklab, var(--primary) 14%, var(--card));
  color: color-mix(in oklab, var(--primary) 80%, black);
  border: 2px solid color-mix(in oklab, var(--primary) 30%, var(--border));
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  font-weight: 800;
  font-size: 0.95rem;
}

/* Verpflichtende Förderangabe (Gewinnerschreiben) */
.foerderhinweis {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid color-mix(in oklab, var(--foreground) 12%, transparent);
  font-size: 0.9rem;
  color: var(--muted-foreground);
}

/* --- Team (Über uns) ----------------------------------------------------- */
/* Vorstands-Team: mehrere Personen nebeneinander in der grünen Hervorhebung */
.team-board {
  display: grid;
  gap: 1rem 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  margin-top: 0.85rem;
}

.team-board .name {
  font-weight: 800;
}

.team-board .rolle {
  display: block;
  color: var(--muted-foreground);
  font-size: 0.92rem;
}

/* Personen innerhalb einer Bereichskarte */
.team-members {
  list-style: none;
  margin: 0.6rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.team-members li {
  line-height: 1.3;
}

.team-members .name {
  font-weight: 700;
}

.team-members .rolle {
  color: var(--muted-foreground);
  font-size: 0.92rem;
}

/* --- FAQ (Akkordeon, natives <details> – ohne JavaScript) ---------------- */
.faq {
  display: grid;
  gap: 0.75rem;
  max-width: 48rem;
}

.faq-heading {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.faq-item {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
}

.faq-item > summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item > summary::-webkit-details-marker {
  display: none;
}

.faq-item > summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--primary);
  flex: none;
}

.faq-item[open] > summary::after {
  content: "–";
}

.faq-item > summary:hover {
  color: color-mix(in oklab, var(--primary) 80%, black);
}

.faq-item > summary:focus-visible {
  outline: 3px solid color-mix(in oklab, var(--secondary) 60%, var(--border));
  outline-offset: 2px;
  border-radius: var(--radius-lg);
}

.faq-item__body {
  padding: 0 1.25rem 1.15rem;
  color: var(--muted-foreground);
  line-height: 1.55;
}

.faq-item__body p {
  margin: 0;
}

.faq-item__body p + p {
  margin-top: 0.6rem;
}

.faq-item__body a {
  color: color-mix(in oklab, var(--primary) 80%, black);
  font-weight: 700;
}

/* --- Formular (Anmeldung Kinderbetreuung) -------------------------------- */
.form-card {
  max-width: 44rem;
  margin-inline: auto;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-section {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.form-step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid color-mix(in oklab, var(--border) 70%, transparent);
  padding-bottom: 0.75rem;
}

.form-step__num {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--primary);
  color: var(--primary-foreground);
  font-weight: 800;
  font-size: 0.9rem;
}

.form-step h2 {
  font-size: 1.15rem;
  font-weight: 700;
}

.field-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--foreground);
}

.field-label .ico {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-foreground);
  font-size: 0.9rem;
}

.field-label .optional {
  font-weight: 500;
  color: var(--muted-foreground);
}

.form-input,
.form-textarea {
  width: 100%;
  border-radius: 1rem;
  border: 2px solid var(--border);
  background: var(--card);
  padding: 0.75rem 1rem;
  font: inherit;
  font-size: 1rem;
  color: var(--foreground);
  box-shadow: 0 1px 2px oklch(0 0 0 / 0.03);
}

.form-textarea {
  resize: vertical;
  min-height: 5.5rem;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--primary) 15%, transparent);
}

.field-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 40rem) {
  .field-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Auswahlkacheln (Betreuungsart) */
.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.choice {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  cursor: pointer;
  border-radius: 1rem;
  border: 2px solid var(--border);
  background: var(--card);
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted-foreground);
}

.choice:hover {
  border-color: color-mix(in oklab, var(--primary) 40%, var(--border));
}

.choice input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.choice__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.choice__dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: var(--muted);
  color: var(--muted-foreground);
  font-size: 0.85rem;
}

.choice__price {
  padding-left: 2rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted-foreground);
}

.choice:has(input:checked) {
  border-color: var(--primary);
  background: color-mix(in oklab, var(--primary) 10%, var(--card));
  color: var(--foreground);
}

.choice:has(input:checked) .choice__dot {
  background: var(--primary);
  color: var(--primary-foreground);
}

.choice input:focus-visible + .choice__title .choice__dot {
  outline: 3px solid color-mix(in oklab, var(--primary) 70%, white);
  outline-offset: 2px;
}

/* Info- und Beitragsbox */
.info-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--muted) 60%, var(--card));
  border-radius: 1rem;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
}

.info-row .ico {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: var(--card);
  font-size: 0.9rem;
}

.fee-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border: 2px solid color-mix(in oklab, var(--primary) 25%, transparent);
  background: color-mix(in oklab, var(--primary) 10%, var(--card));
  border-radius: 1rem;
  padding: 1rem;
}

.fee-box__label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.fee-box__amount {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: color-mix(in oklab, var(--primary) 75%, black);
  white-space: nowrap;
}

/* Einverständnis-Zeilen */
.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  border-radius: 1rem;
  border: 2px solid var(--border);
  background: color-mix(in oklab, var(--muted) 40%, var(--card));
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
}

.consent:hover {
  border-color: color-mix(in oklab, var(--primary) 40%, var(--border));
}

.consent input {
  margin-top: 0.15rem;
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
  accent-color: var(--primary);
}

/* Fehlermeldung */
.form-error {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  border-radius: 1rem;
  background: color-mix(in oklab, oklch(0.62 0.22 28) 12%, var(--card));
  color: oklch(0.5 0.2 28);
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.form-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 40rem) {
  .form-actions {
    grid-template-columns: 1fr 1fr;
  }
}

.form-actions .btn {
  justify-content: center;
  padding-block: 1rem;
}

.form-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--muted-foreground);
}

/* Erfolgsansicht nach dem Absenden */
.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-block: 2rem;
}

.form-success__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 999px;
  background: color-mix(in oklab, var(--primary) 15%, transparent);
  color: color-mix(in oklab, var(--primary) 75%, black);
  font-size: 1.8rem;
}

/* Nur beim Drucken sichtbarer, schlichter Titel */
.print-title {
  display: none;
}

@media print {
  .site-header,
  .site-footer,
  .form-actions,
  .form-hint,
  .form-error {
    display: none !important;
  }

  .print-title {
    display: block;
    text-align: center;
    margin-bottom: 1rem;
  }

  body {
    background: #fff;
  }

  .form-card {
    max-width: none;
  }

  .card {
    border: none;
    box-shadow: none;
    padding: 0;
  }
}

/* --- Öffnungszeiten-Tabelle ---------------------------------------------- */
.hours {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.hours th,
.hours td {
  text-align: left;
  padding: 0.6rem 0.5rem;
  border-bottom: 1px solid var(--border);
}

.hours th {
  font-weight: 700;
  width: 45%;
}

.hours tr:last-child th,
.hours tr:last-child td {
  border-bottom: 0;
}

/* --- Kontaktblock -------------------------------------------------------- */
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.contact-list a {
  font-weight: 700;
}

/* --- Rechtstexte (Impressum, Datenschutz) -------------------------------- */
.legal h2 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.legal h2:first-of-type {
  margin-top: 0;
}

.legal p,
.legal li {
  color: color-mix(in oklab, var(--foreground) 88%, transparent);
}

.legal ul {
  padding-left: 1.2rem;
}

/* --- Fußbereich ---------------------------------------------------------- */
.site-footer {
  background: var(--card);
  border-top: 2px solid color-mix(in oklab, var(--border) 60%, transparent);
  padding-block: 2.5rem;
  margin-top: 1rem;
}

.site-footer .grid {
  gap: 2rem;
}

.site-footer h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
  font-size: 0.95rem;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--muted-foreground);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: space-between;
}

/* --- Druckansicht -------------------------------------------------------- */
@media print {
  .site-header,
  .site-footer,
  .btn-row,
  .skip-link {
    display: none;
  }

  body {
    background: #fff;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Mehrere Aktuelles-Hinweise in einem Kasten (vom Admin erzeugt);
   versteckte (geplante/abgelaufene) Hinweise zählen für den Abstand nicht. */
.notice .hinweis:not([hidden]) ~ .hinweis:not([hidden]) {
  margin-top: 1rem;
}

/* hidden-Attribut immer respektieren, auch bei Elementen mit eigenem display */
[hidden] {
  display: none !important;
}
