/* =========================================================================
   Die Kleinen Strolche e. V.
   1  Schrift
   2  Design-Tokens
   3  Reset und Grundlagen
   4  Layout-Bausteine
   5  Typografie
   6  Buttons
   7  Karten und Listen
   8  Header und Navigation
   9  Hero
   10 Sektionen
   11 Footer
   12 Rechtsseiten
   13 Bewegung
   ========================================================================= */

/* 1  Schrift ------------------------------------------------------------- */

@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-latin-variable.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
  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+2074, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-latin-ext-variable.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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 ------------------------------------------------------- */

:root {
  /* Marke: die bestehende Farbwelt, zu einer Skala ausgebaut */
  --red-600: #df1c22;
  --red-700: #b41319;
  --red-800: #8f0f14;
  --red-050: #fdeaea;

  --yellow-400: #ffe478;
  --yellow-200: #fff4bd;
  --yellow-100: #fffaea;

  --orange-500: #f6ae35;
  --orange-100: #fdeccc;

  --ink-900: #2f211d;
  --ink-700: #3e2d28;
  --ink-500: #6b5750;
  --ink-200: #e4d9d2;

  --sand: #fdf8f1;
  --white: #ffffff;

  /* Aliase fuer die Verwendung im Layout */
  --bg: var(--sand);
  --surface: var(--white);
  --surface-soft: var(--yellow-100);
  --border: var(--ink-200);
  --text: var(--ink-700);
  --text-strong: var(--ink-900);
  --text-muted: var(--ink-500);
  --brand: var(--red-600);
  --brand-strong: var(--red-700);
  --brand-deep: var(--red-800);

  /* Kompatibilitaet mit den bisherigen Variablennamen */
  --ink: var(--ink-700);
  --accent: var(--red-600);
  --accent-dark: var(--red-700);
  --yellow: var(--yellow-400);
  --yellow-light: var(--yellow-200);
  --orange: var(--orange-500);

  /* Typografie */
  --font-sans: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;

  --step--1: 0.875rem;
  --step-0: clamp(1rem, 0.96rem + 0.18vw, 1.0625rem);
  --step-1: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  --step-2: clamp(1.2rem, 1.09rem + 0.5vw, 1.5rem);
  --step-3: clamp(1.45rem, 1.24rem + 0.95vw, 2rem);
  --step-4: clamp(1.8rem, 1.44rem + 1.6vw, 2.7rem);
  --step-5: clamp(2.3rem, 1.7rem + 2.9vw, 3.9rem);

  /* Abstaende, 4-px-Raster */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 2.5rem;
  --space-8: 3rem;
  --space-9: 4rem;
  --space-10: 5rem;

  --gutter: clamp(1.125rem, 4vw, 2.5rem);
  --section-y: clamp(3.5rem, 8vw, 6.5rem);
  --content: 74rem;
  --narrow: 44rem;

  /* Radien */
  --r-xs: 0.375rem;
  --r-sm: 0.625rem;
  --r-md: 1rem;
  --r-lg: 1.5rem;
  --r-xl: 2rem;
  --r-2xl: 2.75rem;
  --r-pill: 999px;

  /* Schatten, warm getoent statt neutral grau */
  --shadow-sm: 0 1px 2px rgba(62, 45, 40, 0.05), 0 2px 6px -2px rgba(62, 45, 40, 0.07);
  --shadow-md: 0 2px 4px rgba(62, 45, 40, 0.04), 0 12px 28px -12px rgba(62, 45, 40, 0.16);
  --shadow-lg: 0 4px 8px rgba(62, 45, 40, 0.05), 0 28px 56px -20px rgba(62, 45, 40, 0.2);

  --header-h: 4.25rem;
  --dur: 220ms;
  --ease: cubic-bezier(0.32, 0.72, 0.28, 1);
}

@media (min-width: 60rem) {
  :root {
    --header-h: 5rem;
  }
}

/* 3  Reset und Grundlagen ------------------------------------------------ */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked {
  overflow: hidden;
}

img,
picture,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: var(--brand-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--brand-deep);
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

::selection {
  background: var(--yellow-400);
  color: var(--ink-900);
}

.skip-link {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 200;
  padding: 0.7rem 1.1rem;
  background: var(--brand);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--r-sm);
  transform: translateY(-160%);
  transition: transform var(--dur) var(--ease);
}

.skip-link:focus-visible {
  color: var(--white);
  transform: translateY(0);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* 4  Layout-Bausteine --------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--content);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-y);
}

.section--surface {
  background: var(--surface);
}

.section--soft {
  background: var(--surface-soft);
}

/* Eine bewusst gesetzte organische Kante, sparsam eingesetzt */
.section--curved-top {
  border-start-start-radius: var(--r-2xl);
  border-start-end-radius: var(--r-2xl);
}

.section--curved-bottom {
  border-end-start-radius: var(--r-2xl);
  border-end-end-radius: var(--r-2xl);
}

/* Zwei Baender direkt hintereinander brauchen weniger Luft dazwischen */
.section--pb-tight {
  padding-bottom: calc(var(--section-y) / 3);
}

.section--pt-tight {
  padding-top: calc(var(--section-y) / 3);
}

.stack > * + * {
  margin-top: var(--space-4);
}

.grid {
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 40rem) {
  .grid {
    gap: var(--space-5);
  }
}

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

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

/* Team: schmalere Spalten, damit auf grossen Displays vier Steckbriefe
   in eine Reihe passen und keine einzelne Karte allein stehen bleibt. */
.grid--team {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 13.5rem), 1fr));
}

.grid--halves {
  grid-template-columns: 1fr;
}

@media (min-width: 56rem) {
  .grid--halves {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
}

/* 5  Typografie -------------------------------------------------------- */

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--text-strong);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.018em;
  text-wrap: balance;
}

h1 {
  font-size: var(--step-5);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

h2 {
  font-size: var(--step-4);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

h3 {
  font-size: var(--step-2);
}

h4 {
  font-size: var(--step-1);
  font-weight: 700;
}

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

p + p {
  margin-top: var(--space-4);
}

.lead {
  max-width: 38rem;
  font-size: var(--step-2);
  font-weight: 500;
  line-height: 1.45;
  color: var(--text);
}

.prose {
  max-width: 40rem;
  color: var(--text-muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  color: var(--brand-strong);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  flex: none;
  width: 1.4rem;
  height: 2px;
  background: var(--brand);
  border-radius: var(--r-pill);
}

@media (max-width: 30rem) {
  .eyebrow {
    font-size: 0.8125rem;
    letter-spacing: 0.06em;
  }
}

.eyebrow--plain::before {
  display: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  background: var(--yellow-200);
  color: var(--ink-900);
  font-size: var(--step--1);
  font-weight: 700;
  border-radius: var(--r-pill);
}

.badge--outline {
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--border);
  color: var(--text-muted);
  font-weight: 600;
}

.section-head {
  max-width: 44rem;
  margin-bottom: var(--space-7);
}

.section-head > * + * {
  margin-top: var(--space-3);
}

.section-head p {
  color: var(--text-muted);
  font-size: var(--step-1);
}

/* 6  Buttons ----------------------------------------------------------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.7rem 1.4rem;
  font-size: var(--step-0);
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  border: 0;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: background-color var(--dur) var(--ease),
    color var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    transform var(--dur) var(--ease);
}

.button svg {
  flex: none;
  width: 1.15em;
  height: 1.15em;
}

.button--primary {
  background: var(--brand);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.button--primary:hover {
  background: var(--brand-strong);
  color: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.button--secondary {
  background: var(--white);
  color: var(--brand-strong);
  box-shadow: inset 0 0 0 1.5px var(--border), var(--shadow-sm);
}

.button--secondary:hover {
  color: var(--brand-deep);
  box-shadow: inset 0 0 0 1.5px var(--brand), var(--shadow-md);
  transform: translateY(-1px);
}

.button--ghost {
  background: transparent;
  color: var(--brand-strong);
  box-shadow: inset 0 0 0 1.5px currentColor;
}

.button--ghost:hover {
  background: var(--brand);
  color: var(--white);
}

.button--on-brand {
  background: var(--white);
  color: var(--brand-strong);
}

.button--on-brand:hover {
  background: var(--yellow-200);
  color: var(--brand-deep);
  transform: translateY(-1px);
}

.button--block {
  width: 100%;
}

.button[aria-disabled="true"] {
  background: var(--white);
  color: var(--text-muted);
  box-shadow: inset 0 0 0 1.5px var(--border);
  cursor: not-allowed;
  transform: none;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  text-decoration: none;
}

.link-arrow::after {
  content: "→";
  transition: transform var(--dur) var(--ease);
}

.link-arrow:hover::after {
  transform: translateX(3px);
}

/* 7  Karten und Listen ------------------------------------------------- */

.card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  height: 100%;
  padding: var(--space-5);
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px var(--border), var(--shadow-sm);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.card p {
  color: var(--text-muted);
}

.card--soft {
  background: var(--surface-soft);
  box-shadow: inset 0 0 0 1px var(--orange-100);
}

.card--lift:hover {
  box-shadow: inset 0 0 0 1px var(--orange-100), var(--shadow-md);
  transform: translateY(-3px);
}

.card__icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  background: var(--yellow-200);
  color: var(--brand-strong);
  border-radius: var(--r-md);
}

.card__icon svg {
  width: 1.4rem;
  height: 1.4rem;
}

.card__icon--orange {
  background: var(--orange-100);
}

.card__icon--red {
  background: var(--red-050);
}

.card__foot {
  margin-top: auto;
  padding-top: var(--space-2);
  color: var(--text-muted);
  font-size: var(--step--1);
}

/* Faktenzeile, uebernommen aus dem bisherigen .facts-Muster */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr));
  gap: var(--space-3);
  margin: 0;
}

.facts > div {
  padding: var(--space-3) var(--space-4);
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: inset 0 0 0 1px var(--border);
}

.facts dt {
  color: var(--brand-strong);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.facts dd {
  margin: 0.15rem 0 0;
  font-weight: 600;
  line-height: 1.3;
}

/* Bildplatzhalter: Seitenverhaeltnis steht, Datei kommt spaeter */
.media {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, var(--yellow-200), var(--orange-100) 70%);
  border-radius: var(--r-lg);
}

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(62, 45, 40, 0.08);
  border-radius: inherit;
  pointer-events: none;
}

.media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media__hint {
  display: grid;
  place-content: center;
  gap: 0.35rem;
  height: 100%;
  padding: var(--space-4);
  color: var(--ink-700);
  font-size: var(--step--1);
  font-weight: 600;
  text-align: center;
}

.media--4x3 {
  aspect-ratio: 4 / 3;
}

.media--1x1 {
  aspect-ratio: 1 / 1;
}

.media--4x5 {
  aspect-ratio: 4 / 5;
}

/* 8  Header und Navigation --------------------------------------------- */

/* Der Weichzeichner sitzt bewusst auf ::before und nicht auf dem Header
   selbst. Ein backdrop-filter auf dem Header wuerde ihn zum Containing
   Block machen und das mobile Menue-Panel (position: fixed) einklappen. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow var(--dur) var(--ease);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(253, 248, 241, 0.82);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  transition: background-color var(--dur) var(--ease);
}

.site-header.is-stuck {
  box-shadow: 0 1px 0 var(--border), var(--shadow-sm);
}

.site-header.is-stuck::before {
  background: rgba(253, 248, 241, 0.94);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 2.75rem;
  padding-block: 0.25rem;
  text-decoration: none;
  color: inherit;
}

.brand img {
  width: auto;
  height: 2.35rem;
}

.brand__text {
  display: none;
}

@media (min-width: 30rem) {
  .brand img {
    height: 2.6rem;
  }
}

@media (min-width: 60rem) {
  .brand img {
    height: 3rem;
  }
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.5rem 0.9rem 0.5rem 0.75rem;
  background: var(--white);
  font-size: var(--step--1);
  font-weight: 700;
  border: 0;
  border-radius: var(--r-pill);
  box-shadow: inset 0 0 0 1.5px var(--border);
  cursor: pointer;
}

.nav-toggle__bars {
  position: relative;
  width: 1.15rem;
  height: 0.85rem;
  flex: none;
}

.nav-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--brand);
  border-radius: var(--r-pill);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.nav-toggle__bars span:nth-child(1) {
  top: 0;
}
.nav-toggle__bars span:nth-child(2) {
  top: 50%;
  translate: 0 -50%;
}
.nav-toggle__bars span:nth-child(3) {
  bottom: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* Mobil: Panel unter dem Header */
.site-nav {
  position: fixed;
  inset: var(--header-h) 0 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  padding: var(--space-5) var(--gutter) var(--space-8);
  overflow-y: auto;
  background: var(--bg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-0.75rem);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease),
    visibility var(--dur) var(--ease);
}

.site-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-nav__list {
  display: flex;
  flex-direction: column;
}

.site-nav__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.25rem;
  padding: 0.65rem 0.25rem;
  color: var(--text-strong);
  font-size: var(--step-2);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}

.site-nav__list a[aria-current="true"] {
  color: var(--brand-strong);
}

.site-nav__list a[aria-current="true"]::after {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  background: var(--brand);
  border-radius: 50%;
}

.site-nav__cta {
  display: grid;
  gap: var(--space-3);
}

.site-nav__meta {
  color: var(--text-muted);
  font-size: var(--step--1);
}

.site-nav__meta a {
  color: var(--brand-strong);
}

/* Desktop: klassische Zeile */
@media (min-width: 62rem) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    inset: auto;
    flex-direction: row;
    align-items: center;
    gap: var(--space-5);
    padding: 0;
    overflow: visible;
    background: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .site-nav__list {
    flex-direction: row;
    align-items: center;
    gap: 0.15rem;
  }

  .site-nav__list a {
    position: relative;
    min-height: 2.5rem;
    padding: 0.45rem 0.7rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border: 0;
    border-radius: var(--r-sm);
    white-space: nowrap;
  }

  .site-nav__list a:hover {
    background: var(--yellow-200);
    color: var(--ink-900);
  }

  .site-nav__list a[aria-current="true"] {
    background: var(--yellow-200);
    color: var(--brand-strong);
  }

  .site-nav__list a[aria-current="true"]::after {
    display: none;
  }

  .site-nav__cta .button {
    min-height: 2.75rem;
    padding: 0.55rem 1.15rem;
    font-size: 0.9375rem;
  }

  .site-nav__meta,
  [data-nav-mobile-only] {
    display: none;
  }
}

/* 9  Hero -------------------------------------------------------------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(2.5rem, 7vw, 5rem) var(--section-y);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero__blob {
  position: absolute;
  border-radius: 50%;
}

.hero__blob--yellow {
  top: -18rem;
  right: -14rem;
  width: 34rem;
  height: 34rem;
  background: radial-gradient(circle at 42% 48%, var(--yellow-200) 8%, transparent 58%);
}

.hero__blob--orange {
  bottom: -20rem;
  left: -16rem;
  width: 32rem;
  height: 32rem;
  background: radial-gradient(circle at 60% 44%, var(--orange-100) 10%, transparent 56%);
}

.hero__grid {
  display: grid;
  gap: var(--space-7);
  align-items: center;
}

@media (min-width: 58rem) {
  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--space-9);
  }
}

.hero__text > * + * {
  margin-top: var(--space-4);
}

.hero__text .button-row,
.hero__text .facts {
  margin-top: var(--space-6);
}

.hero h1 .ev {
  display: block;
  margin-top: 0.15em;
  font-size: 0.36em;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--brand-strong);
}

/* Auf sehr kleinen Displays sind gleich breite Buttons ruhiger */
@media (max-width: 30rem) {
  .hero__text .button-row .button {
    flex: 1 1 100%;
  }
}

.hero__figure {
  position: relative;
  padding-bottom: 2.5rem;
}

.hero__media {
  border-radius: var(--r-2xl) var(--r-lg) var(--r-2xl) var(--r-lg);
  box-shadow: var(--shadow-lg);
}

.hero__logo-card {
  position: absolute;
  bottom: 0;
  left: clamp(0.75rem, 4vw, 2rem);
  display: grid;
  place-items: center;
  padding: 0.9rem 1.15rem;
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
}

.hero__logo-card img {
  width: clamp(6.5rem, 18vw, 9.5rem);
  height: auto;
}

/* 10  Sektionen -------------------------------------------------------- */

/* Kurzvorstellung: Ueberschrift links, Text rechts */
.intro-grid {
  display: grid;
  gap: var(--space-5);
}

@media (min-width: 56rem) {
  .intro-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: var(--space-9);
    align-items: start;
  }
}

.intro-grid__body > * + * {
  margin-top: var(--space-4);
}

/* Oeffnungszeiten */
.hours {
  display: grid;
  gap: var(--space-5);
}

@media (min-width: 56rem) {
  .hours {
    grid-template-columns: 1.15fr 1fr;
    gap: var(--space-6);
    align-items: start;
  }
}

.hours__panel {
  padding: var(--space-5);
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px var(--border), var(--shadow-sm);
}

.hours__list {
  display: grid;
}

.hours__list > li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border);
}

.hours__list > li:last-child {
  border-bottom: 0;
}

.hours__day {
  font-weight: 700;
}

.hours__time {
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.hours__cards {
  display: grid;
  gap: var(--space-4);
}

.note {
  display: flex;
  gap: 0.75rem;
  padding: var(--space-4);
  background: var(--yellow-200);
  border-radius: var(--r-md);
  color: var(--ink-900);
  font-size: var(--step--1);
}

.note svg {
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.15rem;
  color: var(--brand-strong);
}

/* Team */
.team-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  height: 100%;
  padding: var(--space-4);
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px var(--border), var(--shadow-sm);
}

.team-card .media {
  border-radius: var(--r-md);
}

.team-card__name {
  margin-top: var(--space-1);
}

.team-card__role {
  color: var(--brand-strong);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.team-card__bio {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* Termine */
.year-plan {
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 46rem) {
  .year-plan {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  }
}

.month {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px var(--border);
}

.month__label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--brand-strong);
  font-size: var(--step--1);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.month__label::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  background: var(--orange-500);
  border-radius: 50%;
}

.month__list {
  display: grid;
  gap: var(--space-3);
}

.month__list li {
  padding-left: 0.95rem;
  border-left: 2px solid var(--yellow-400);
  font-weight: 600;
}

.month__list span {
  display: block;
  color: var(--text-muted);
  font-size: var(--step--1);
  font-weight: 400;
}

/* Aufmerksamkeitsband, fuer Mitgliedschaft und Kita-Platz */
.band {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 6vw, 3.5rem);
  border-radius: var(--r-xl);
}

.band--yellow {
  background: var(--yellow-400);
}

.band--brand {
  background: var(--brand);
  color: var(--white);
}

.band--brand h2,
.band--brand h3 {
  color: var(--white);
}

.band--brand .eyebrow {
  color: var(--yellow-200);
}

.band--brand .eyebrow::before {
  background: var(--yellow-400);
}

/* Volles Weiss, damit der Kontrast auf dem roten Band bei 4,85:1 bleibt */
.band--brand p {
  color: var(--white);
}

.band__grid {
  display: grid;
  gap: var(--space-5);
  align-items: center;
}

@media (min-width: 54rem) {
  .band__grid {
    grid-template-columns: 1.35fr 0.65fr;
    gap: var(--space-8);
  }

  .band__grid .button-row {
    justify-content: flex-end;
  }
}

.band__body > * + * {
  margin-top: var(--space-3);
}

.band__deco {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  opacity: 0.5;
  pointer-events: none;
}

.band__deco--one {
  top: -5rem;
  right: -4rem;
  width: 14rem;
  height: 14rem;
  background: rgba(255, 255, 255, 0.28);
}

.band__deco--two {
  bottom: -6rem;
  left: 25%;
  width: 10rem;
  height: 10rem;
  background: rgba(255, 255, 255, 0.16);
}

.band__grid {
  position: relative;
  z-index: 1;
}

/* Dokumente */
.doc-list {
  display: grid;
  gap: var(--space-3);
}

.doc {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3) var(--space-4);
  padding: var(--space-4);
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: inset 0 0 0 1px var(--border);
  transition: box-shadow var(--dur) var(--ease);
}

.doc:hover {
  box-shadow: inset 0 0 0 1px var(--orange-100), var(--shadow-sm);
}

.doc__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--red-050);
  color: var(--brand-strong);
  border-radius: var(--r-sm);
}

.doc__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.doc__body {
  flex: 1 1 12rem;
  min-width: 0;
}

.doc__title {
  font-weight: 700;
}

.doc__meta {
  color: var(--text-muted);
  font-size: var(--step--1);
}

.doc__action {
  flex: none;
}

.doc__action .button {
  min-height: 2.75rem;
  padding: 0.5rem 1.05rem;
  font-size: 0.9375rem;
}

/* Kontakt */
.contact-grid {
  display: grid;
  gap: var(--space-5);
}

@media (min-width: 56rem) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
}

.contact-list {
  display: grid;
  gap: var(--space-4);
}

.contact-list > li {
  display: flex;
  gap: var(--space-3);
}

.contact-list__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--yellow-200);
  color: var(--brand-strong);
  border-radius: var(--r-sm);
}

.contact-list__icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

.contact-list__label {
  color: var(--text-muted);
  font-size: var(--step--1);
  font-weight: 600;
}

.contact-list__value {
  font-weight: 600;
}

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

/* 11  Footer ----------------------------------------------------------- */

.site-footer {
  margin-top: var(--section-y);
  padding-block: var(--space-8) var(--space-5);
  background: var(--ink-900);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9375rem;
}

.site-footer a {
  color: var(--white);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--yellow-400);
  text-decoration: underline;
}

.site-footer :focus-visible {
  outline-color: var(--yellow-400);
}

.site-footer__grid {
  display: grid;
  gap: var(--space-6);
}

@media (min-width: 48rem) {
  .site-footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: var(--space-7);
  }
}

.site-footer__brand img {
  width: auto;
  height: 3rem;
  margin-bottom: var(--space-3);
}

.site-footer__title {
  margin-bottom: var(--space-3);
  color: var(--white);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.site-footer__list {
  display: grid;
}

/* Ausreichend grosse Touchflaechen, ohne die Liste aufzublaehen */
.site-footer__list a,
.footer-links a,
.link-arrow,
.contact-list__value a,
.site-nav__meta a {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding-block: 0.2rem;
}

.site-footer__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: var(--space-7);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.875rem;
}

.site-footer__bar p {
  margin: 0;
}

/* Schlanke Variante fuer Impressum und Datenschutz, dort gibt es keine
   Spalten oberhalb der Fussleiste. */
.site-footer--slim {
  padding-block: var(--space-4) var(--space-4);
}

.site-footer--slim .site-footer__bar {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

/* 12  Rechtsseiten ----------------------------------------------------- */

.legal-page {
  width: 100%;
  max-width: 52rem;
  margin-inline: auto;
  padding: clamp(2rem, 6vw, 4rem) var(--gutter) 0;
}

.legal-page h1 {
  margin: var(--space-4) 0 var(--space-6);
  font-size: var(--step-4);
}

.legal-page h2 {
  margin-top: var(--space-7);
  margin-bottom: var(--space-3);
  font-size: var(--step-2);
}

.legal-page p {
  max-width: 42rem;
  color: var(--text);
}

.legal-page p + p,
.legal-page h2 + p {
  margin-top: var(--space-3);
}

.legal-page a {
  color: var(--brand-strong);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  text-decoration: none;
}

.notice {
  padding: var(--space-4) var(--space-5);
  background: var(--yellow-200);
  border-left: 0.3rem solid var(--orange-500);
  border-radius: var(--r-sm);
}

.notice p {
  margin: 0;
}

/* 13  Bewegung --------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 520ms var(--ease), transform 520ms var(--ease);
  }

  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Ohne JavaScript bleibt die Navigation erreichbar */
.no-js .nav-toggle {
  display: none;
}

.no-js .site-nav {
  position: static;
  inset: auto;
  opacity: 1;
  visibility: visible;
  transform: none;
  background: none;
  padding: 0 0 var(--space-4);
}

.no-js .reveal {
  opacity: 1;
  transform: none;
}

@media print {
  .site-header,
  .site-nav,
  .hero__bg,
  .band__deco {
    display: none;
  }

  body {
    background: #fff;
  }
}
