/* Kinderarztpraxis Dr. Kreisberger · Designsystem
   Farben aus dem Praxislogo (Ziegel, Sand, Pfirsich) und den handbemalten Wandbildern (Rinde, Blatt, Vogel).
   Schriften: Fraunces (weiche Serifen, Überschriften) und Signika (Text, bereits Teil der Praxismarke). */

@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/assets/fonts/fraunces-soft-latin-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Signika';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/assets/fonts/signika-latin-var.woff2') format('woff2');
}

:root {
  /* Farbrollen */
  --creme: #fdf6ea;          /* Seitenhintergrund (wie bisher) */
  --papier: #fffcf6;         /* Karten */
  --pfirsich: #f8e3d1;       /* Schriftfarbe im Logo, helle Fläche */
  --sand: #e4d1c0;           /* Himmel im Logo, Konturen */
  --sand-hell: #efe2d4;
  --ziegel: #b73906;         /* Logofarbe: Marke und Hauptaktion */
  --ziegel-dunkel: #93300a;
  --rinde: #33211a;          /* Haupttext, dunkle Flächen */
  --rinde-2: #6a5243;        /* Sekundärtext */
  --rinde-3: #8d7666;        /* Metadaten auf hellen Flächen (nur groß/fett) */
  --blatt: #4f6d22;          /* Vorsorge & Gesundheit */
  --blatt-hell: #e5ecd2;
  --blatt-mittel: #7e9b3f;
  --see: #1e6672;            /* Jugendliche */
  --see-hell: #dcecea;
  --apfel: #d8462a;
  --linie: #e6d6c6;

  --font-head: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Signika', 'Segoe UI', system-ui, sans-serif;

  --text-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --text-lead: clamp(1.15rem, 1.05rem + 0.45vw, 1.375rem);
  --text-h1: clamp(2.3rem, 1.35rem + 3.7vw, 4.4rem);
  --text-h2: clamp(1.8rem, 1.25rem + 2.2vw, 3.1rem);
  --text-h3: clamp(1.25rem, 1.12rem + 0.5vw, 1.55rem);
  --text-klein: 0.9375rem;

  --content-max: 76rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-space: clamp(3.75rem, 7vw, 7rem);
  --grid-gap: clamp(1.5rem, 3vw, 3rem);

  /* Blattform: große Rundung oben links und unten rechts, kleine an den anderen Ecken */
  --r-blatt: 2rem 0.55rem 2rem 0.55rem;
  --r-blatt-klein: 1.25rem 0.4rem 1.25rem 0.4rem;
  --r-karte: 1.25rem;
  --r-feld: 0.75rem;
  --r-pille: 999px;

  --schatten: 0 1px 2px rgb(51 33 26 / 0.06), 0 12px 28px -12px rgb(51 33 26 / 0.18);
  --schatten-holz: drop-shadow(0 5px 5px rgb(90 45 20 / 0.22));
  --header-h: 4.75rem;
  --rand: max(var(--gutter), (100vw - var(--content-max)) / 2);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font: 400 var(--text-body)/1.6 var(--font-body);
  color: var(--rinde);
  background: var(--creme);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--ziegel); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--ziegel-dunkel); text-decoration-thickness: 2px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 620; margin: 0 0 0.5em; color: var(--rinde); font-optical-sizing: auto; text-wrap: balance; }
h1 { font-size: var(--text-h1); line-height: 1.05; letter-spacing: -0.018em; font-weight: 640; }
h2 { font-size: var(--text-h2); line-height: 1.12; letter-spacing: -0.012em; }
h3 { font-size: var(--text-h3); line-height: 1.22; }
strong { font-weight: 600; }
sup { font-size: 0.7em; line-height: 0; }
:focus-visible { outline: 3px solid var(--ziegel); outline-offset: 3px; border-radius: 4px; }
[id] { scroll-margin-top: calc(var(--header-h) + 1.5rem); }
::selection { background: var(--pfirsich); color: var(--rinde); }

.container { width: min(calc(100% - 2 * var(--gutter)), var(--content-max)); margin-inline: auto; }
.section { padding-block: var(--section-space); }
.prose { max-width: 62ch; }
.prose p:last-child { margin-bottom: 0; }
.nowrap { white-space: nowrap; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--rinde); color: #fff; padding: 0.75rem 1rem; border-radius: var(--r-feld); }
.skip-link:focus { top: 1rem; color: #fff; }
.lead { font-size: var(--text-lead); line-height: 1.5; color: var(--rinde-2); max-width: 40ch; }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-cross { fill: currentColor; stroke-width: 1.2; }

.kicker { display: flex; align-items: center; gap: 0.5em; font: 600 0.95rem/1.3 var(--font-body); letter-spacing: 0.01em; color: var(--ziegel); margin: 0 0 0.9rem; }
.kicker::before { content: ''; width: 1.6em; height: 0.85em; flex: none; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 62 26'%3E%3Cpath d='M0 13C13-2 39-5 62 13C39 31 13 28 0 13Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 62 26'%3E%3Cpath d='M0 13C13-2 39-5 62 13C39 31 13 28 0 13Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.kicker .icon { display: none; }
.kicker-blatt { color: var(--blatt); }
.kicker-see { color: var(--see); }
.kicker-hell { color: #f3b48f; }

/* ---------- Buttons und Links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 3.1rem; padding: 0.8rem 1.4rem;
  border: 2px solid transparent; border-radius: var(--r-pille);
  font: 600 1.0625rem/1.2 var(--font-body); text-decoration: none; text-align: center;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
  cursor: pointer;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn .icon { width: 1.2em; height: 1.2em; }
.btn-ziegel { background: var(--ziegel); color: #fff; }
.btn-ziegel:hover { background: var(--ziegel-dunkel); color: #fff; }
.btn-blatt { background: var(--blatt); color: #fff; }
.btn-blatt:hover { background: #3e5719; color: #fff; }
.btn-see { background: var(--see); color: #fff; }
.btn-see:hover { background: #154e57; color: #fff; }
.btn-kontur { background: transparent; color: var(--rinde); border-color: currentColor; }
.btn-kontur:hover { background: var(--rinde); color: var(--creme); border-color: var(--rinde); }
.btn-hell { background: var(--creme); color: var(--rinde); }
.btn-hell:hover { background: #fff; color: var(--rinde); }
.btn-sm { min-height: 2.6rem; padding: 0.5rem 1.05rem; font-size: 1rem; }
.btn-gross { min-height: 3.6rem; padding: 0.9rem 1.8rem; font-size: 1.25rem; }
.btn-block { display: flex; width: 100%; }
.link-pfeil { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; text-decoration: none; }
.link-pfeil .icon { transition: transform 0.18s ease; }
.link-pfeil:hover { text-decoration: underline; }
.link-pfeil:hover .icon { transform: translateX(3px); }
.link-extern { display: inline-flex; align-items: baseline; gap: 0.35rem; }
.link-extern .icon { width: 0.95em; height: 0.95em; position: relative; top: 0.12em; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(253 246 234 / 0.94); backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid transparent; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.site-header.is-scrolled { border-bottom-color: var(--linie); box-shadow: 0 6px 18px -14px rgb(51 33 26 / 0.35); }
.header-bar { display: flex; align-items: center; gap: 1.25rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; color: var(--rinde); text-decoration: none; margin-right: auto; }
.brand:hover { color: var(--rinde); }
.bildmarke { width: 2.85rem; height: 2.85rem; flex: none; }
.brand-text { display: flex; flex-direction: column; font-family: var(--font-body); line-height: 1.02; }
.brand-z1 { font-size: 0.95rem; font-weight: 400; color: var(--rinde-2); letter-spacing: 0.01em; }
.brand-z2 { font-size: 1.42rem; font-weight: 500; color: var(--ziegel); letter-spacing: -0.005em; }
.brand-dr { font-size: 0.72em; font-weight: 400; }
.main-nav { display: none; }
.main-nav ul { display: flex; gap: 0.25rem; list-style: none; }
.main-nav a { display: block; padding: 0.55rem 0.75rem; border-radius: var(--r-pille); color: var(--rinde); text-decoration: none; font-weight: 500; font-size: 1.03rem; }
.main-nav a:hover { background: var(--pfirsich); color: var(--rinde); }
.main-nav a[aria-current='page'] { background: var(--pfirsich); color: var(--ziegel-dunkel); }
.header-actions { display: flex; align-items: center; gap: 0.6rem; }
.notfall-link { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 2.6rem; padding: 0.45rem 0.95rem; border: 2px solid var(--ziegel); border-radius: var(--r-pille); color: var(--ziegel); font-weight: 600; text-decoration: none; }
.notfall-link .icon { width: 1.05em; height: 1.05em; }
.notfall-link:hover, .notfall-link.is-active { background: var(--ziegel); color: #fff; text-decoration: none; }
.header-cta { display: none; }
.icon-button { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--ziegel); color: #fff; }
.icon-button:hover { background: var(--ziegel-dunkel); color: #fff; }
.menu-toggle { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 2.75rem; padding: 0.4rem 0.85rem 0.4rem 0.7rem; border: 2px solid var(--rinde); border-radius: var(--r-pille); background: transparent; color: var(--rinde); font: 600 1rem/1 var(--font-body); cursor: pointer; }
.menu-toggle:hover { background: var(--rinde); color: var(--creme); }
.menu-toggle-icon { display: inline-grid; }
.menu-toggle-icon .icon { grid-area: 1 / 1; width: 1.3rem; height: 1.3rem; }
.menu-toggle .icon-close { visibility: hidden; }
.menu-toggle[aria-expanded='true'] .icon-close { visibility: visible; }
.menu-toggle[aria-expanded='true'] .icon-open { visibility: hidden; }
.mobile-menu { border-top: 1px solid var(--linie); background: var(--creme); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; padding: 0.5rem var(--gutter) 1.75rem; }
.mobile-menu ul { list-style: none; margin-bottom: 1.25rem; }
.mobile-menu nav a { display: block; padding: 0.85rem 0.25rem; border-bottom: 1px solid var(--linie); color: var(--rinde); font: 600 1.3rem/1.2 var(--font-head); text-decoration: none; }
.mobile-menu nav a[aria-current='page'] { color: var(--ziegel); }
.mobile-menu-info { margin-top: 1.25rem; color: var(--rinde-2); font-size: 1rem; }
.mobile-menu-info .mm-tage { display: inline-block; min-width: 6.5rem; font-weight: 600; color: var(--rinde); }
.mobile-menu-info .status { margin-bottom: 0.9rem; }
.mobile-menu-info p { margin-bottom: 0.6rem; }
html.menu-open { overflow: hidden; }
@media (max-width: 26rem) {
  .notfall-link span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .notfall-link { width: 2.75rem; height: 2.75rem; padding: 0; justify-content: center; }
  .menu-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .menu-toggle { width: 2.75rem; height: 2.75rem; padding: 0; justify-content: center; }
  .header-actions { gap: 0.45rem; }
  .bildmarke { width: 2.5rem; height: 2.5rem; }
  .brand-z1 { font-size: 0.85rem; }
  .brand-z2 { font-size: 1.22rem; }
}
@media (min-width: 40rem) {
  .header-cta { display: inline-flex; }
  .header-call { display: none; }
}
@media (min-width: 80rem) {
  .main-nav { display: block; }
  .menu-toggle, .mobile-menu { display: none !important; }
}

/* ---------- Status (Sprechzeit jetzt) ---------- */
.status { display: inline-flex; align-items: center; gap: 0.55rem; margin: 0; padding: 0.35rem 0.8rem 0.35rem 0.65rem; border-radius: var(--r-pille); background: var(--sand-hell); color: var(--rinde); font-weight: 600; font-size: 0.98rem; line-height: 1.3; }
.status[hidden] { display: none; }
.status-punkt { width: 0.65rem; height: 0.65rem; border-radius: 50%; background: var(--rinde-3); flex: none; }
.status.is-offen { background: var(--blatt-hell); color: #36501a; }
.status.is-offen .status-punkt { background: #5c8a26; box-shadow: 0 0 0 4px rgb(92 138 38 / 0.18); }
.status.is-pause .status-punkt { background: #c98a2b; }
.status.is-zu .status-punkt { background: var(--ziegel); }
.status-klein { font-size: 0.92rem; }

/* ---------- Sprechzeiten-Tabelle ---------- */
.zeiten { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.zeiten th, .zeiten td { padding: 0.55rem 0.5rem; text-align: left; border-bottom: 1px solid var(--linie); }
.zeiten thead th { font: 600 0.82rem/1.2 var(--font-body); letter-spacing: 0.04em; text-transform: uppercase; color: var(--rinde-2); border-bottom-width: 2px; }
.zeiten tbody th { font-weight: 600; }
.zeiten .tag-kurz { display: none; }
.zeiten td { white-space: nowrap; }
/* Schmale Karte (Handy, Tablet): kurze Tagesnamen, damit Zeiten und „heute“ in eine Zeile passen */
.zeiten-rahmen { container: zeiten / inline-size; }
@container zeiten (max-width: 25.5rem) {
  .zeiten .tag-lang { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .zeiten .tag-kurz { display: inline; }
  .zeiten th, .zeiten td { padding-inline: 0.4rem; }
}
.zeiten tr.is-heute th, .zeiten tr.is-heute td { background: var(--blatt-hell); }
.zeiten tr.is-heute th:first-child { border-radius: 0.6rem 0 0 0.6rem; }
.zeiten tr.is-heute td:last-child { border-radius: 0 0.6rem 0.6rem 0; }
.zeiten tr.is-heute th::after { content: 'heute'; display: inline-block; margin-left: 0.5rem; padding: 0.05rem 0.45rem; border-radius: var(--r-pille); background: var(--blatt); color: #fff; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.03em; vertical-align: 0.12em; }
.zeiten-leer { color: var(--rinde-3); }
.zeiten-zusatz { margin: 0.75rem 0 0; font-size: var(--text-klein); color: var(--rinde-2); }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(1.75rem, 3.5vw, 3rem) clamp(3rem, 6vw, 5.5rem); overflow: clip; }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.hero-text h1 { max-width: 13ch; }
.hero-aktionen { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.75rem 0 1.75rem; }
.hero-status { margin: -0.5rem 0 1.5rem; }
@media (max-width: 59.99rem) { .praxiskarte .status { display: none; } }
.hero-fakten { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; list-style: none; color: var(--rinde-2); font-weight: 500; }
.hero-fakten li { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero-fakten .icon { color: var(--blatt); }
.hero-bild { position: relative; display: grid; }
.hero-bild::before { content: ''; position: absolute; inset: 2rem calc(-1 * var(--rand)) -2.5rem 8%; background: var(--pfirsich); border-radius: 46% 54% 42% 58% / 52% 38% 62% 48%; z-index: -1; }
.hero-ast { position: relative; z-index: 1; width: calc(100% + var(--rand)); max-width: none; margin-right: calc(-1 * var(--rand)); pointer-events: none; }
.praxiskarte { position: relative; z-index: 2; margin-top: calc(-11.5% - 0.115 * var(--rand)); background: var(--papier); border-radius: var(--r-blatt); box-shadow: var(--schatten); padding: clamp(1.25rem, 3vw, 1.9rem); max-width: 30rem; }
.praxiskarte-kopf { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.6rem 1rem; margin-bottom: 0.75rem; }
.praxiskarte h2 { display: inline-flex; align-items: center; gap: 0.5rem; margin: 0; font-size: 1.55rem; }
.praxiskarte h2 .icon { color: var(--ziegel); width: 1.1em; height: 1.1em; }
.zeiten-karte th, .zeiten-karte td { padding: 0.5rem 0.45rem; }
.praxiskarte-fuss { margin-top: 1.1rem; display: grid; gap: 0.9rem; }
.praxiskarte-tel { display: flex; align-items: center; gap: 0.85rem; padding: 0.75rem 1rem; border-radius: var(--r-blatt-klein); background: var(--ziegel); color: #fff; text-decoration: none; font: 600 1.55rem/1.1 var(--font-body); letter-spacing: 0.01em; font-variant-numeric: tabular-nums; }
.praxiskarte-tel:hover { background: var(--ziegel-dunkel); color: #fff; text-decoration: none; }
.praxiskarte-tel .icon { width: 1.4rem; height: 1.4rem; }
.praxiskarte-tel-label { display: block; font-size: 0.82rem; font-weight: 500; letter-spacing: 0.04em; opacity: 0.9; margin-bottom: 0.1rem; }
.praxiskarte-notfall { display: flex; gap: 0.55rem; align-items: flex-start; margin: 0; font-size: 0.98rem; color: var(--rinde-2); }
.praxiskarte-notfall .icon { color: var(--ziegel); width: 1rem; height: 1rem; margin-top: 0.22rem; }
.praxiskarte-notfall a { font-weight: 600; white-space: nowrap; }
@media (min-width: 60rem) {
  .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 3rem; }
  .praxiskarte { padding: 1.5rem 1.75rem 1.6rem; }
  .zeiten-karte th, .zeiten-karte td { padding-block: 0.42rem; }
  .hero-text .status { display: none; }
}

/* ---------- Illustrationen (Holzfiguren-Look) ---------- */
.ill-schatten { filter: var(--schatten-holz); }
.ill-rinde { fill: #8a4a2b; }
.ill-rinde-licht { fill: #a8653d; opacity: 0.55; }
.ill-stiel { fill: none; stroke: #6e3a22; stroke-width: 4; stroke-linecap: round; }
.ill-blatt-a .ill-blatt-flaeche { fill: #7e9b3f; }
.ill-blatt-b .ill-blatt-flaeche { fill: #5f7f2c; }
.ill-blatt-c .ill-blatt-flaeche { fill: #94ad4e; }
.ill-blatt-licht { fill: #b9cb78; opacity: 0.55; }
.ill-blatt-rippe { fill: none; stroke: #435d1c; stroke-width: 1.6; stroke-linecap: round; opacity: 0.55; }
.ill-apfel-flaeche { fill: #d8462a; }
.ill-apfel-schatten { fill: #b5361f; opacity: 0.7; }
.ill-apfel-licht { fill: #f39a74; opacity: 0.9; }
.ill-vogel-koerper { fill: #5e4e92; }
.ill-vogel-brust { fill: #d4583a; }
.ill-vogel-fluegel { fill: #2f7682; }
.ill-vogel-feder { fill: none; stroke: #9fd0d4; stroke-width: 2.2; stroke-linecap: round; opacity: 0.85; }
.ill-vogel-schwanz { fill: #3e3170; }
.ill-vogel-schnabel { fill: #e7b23c; }
.ill-vogel-auge { fill: #fff; }
.ill-vogel-pupille { fill: #1c1410; }
.ill-vogel-fuss { fill: none; stroke: #6e3a22; stroke-width: 2.6; stroke-linecap: round; }

/* ---------- Abschnittsköpfe ---------- */
.abschnitt-kopf { margin-bottom: clamp(2rem, 4vw, 3rem); max-width: 48rem; }
.abschnitt-kopf h2 { margin-bottom: 0; }
.abschnitt-kopf-split { display: grid; gap: 1rem 3rem; max-width: none; align-items: end; }
.abschnitt-kopf-split > p { margin: 0; color: var(--rinde-2); max-width: 46ch; }
@media (min-width: 60rem) { .abschnitt-kopf-split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); } }
.mehr { margin: 2rem 0 0; }

/* ---------- Drei Wege ---------- */
.section-wege { padding-top: 0; }
.wege { display: grid; gap: 1.25rem; list-style: none; }
.weg { position: relative; display: flex; flex-direction: column; padding: 1.75rem 1.6rem 1.6rem; background: var(--papier); border-radius: var(--r-blatt); box-shadow: var(--schatten); }
.weg h3 { margin-bottom: 0.5rem; }
.weg p { color: var(--rinde-2); flex: 1; }
.weg-icon { display: inline-grid; place-items: center; width: 3.1rem; height: 3.1rem; margin-bottom: 1rem; border-radius: 1.1rem 0.35rem 1.1rem 0.35rem; color: #fff; }
.weg-icon .icon { width: 1.55rem; height: 1.55rem; }
.weg-ziegel .weg-icon { background: var(--ziegel); }
.weg-blatt .weg-icon { background: var(--blatt); }
.weg-blatt .link-pfeil { color: var(--blatt); }
.weg-rinde .weg-icon { background: var(--rinde); }
.weg-rinde .weg-icon .icon { width: 1.3rem; height: 1.3rem; }
@media (min-width: 56rem) { .wege { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Willkommen und Leitsatz ---------- */
.section-willkommen { background: var(--papier); }
.willkommen-grid { display: grid; gap: var(--grid-gap); }
.willkommen-text h2 { max-width: 16ch; }
.signatur { display: flex; align-items: center; gap: 1rem; margin-top: 2rem; }
.signatur-bild img { width: 5.5rem; height: 5.5rem; border-radius: 50%; object-fit: cover; border: 3px solid var(--pfirsich); }
.signatur p { margin: 0; display: flex; flex-direction: column; }
.signatur-gruss { color: var(--rinde-2); }
.signatur-name { font: 600 1.35rem/1.25 var(--font-head); color: var(--rinde); }
.verben { list-style: none; display: grid; gap: 0; align-content: start; border-top: 1px solid var(--linie); }
.verb { display: grid; grid-template-columns: minmax(8.5rem, 0.8fr) minmax(0, 1.2fr); gap: 0.25rem 1.25rem; align-items: baseline; padding: 1.15rem 0; border-bottom: 1px solid var(--linie); }
.verb-wort { font: 640 clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem)/1.05 var(--font-head); letter-spacing: -0.01em; }
.verb-text { color: var(--rinde-2); }
.verb-ziegel .verb-wort { color: var(--ziegel); }
.verb-blatt .verb-wort { color: var(--blatt); }
.verb-see .verb-wort { color: var(--see); }
.verb-rinde .verb-wort { color: var(--rinde); }
@media (max-width: 34rem) { .verb { grid-template-columns: 1fr; } }
@media (min-width: 60rem) { .willkommen-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 5rem; align-items: center; } }

/* ---------- Vorsorge-Fahrplan ---------- */
.section-vorsorge { background: var(--blatt-hell); position: relative; }
.fahrplan { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(6.6rem, 1fr)); gap: 0.6rem; }
.fahrplan-punkt { display: flex; flex-direction: column; gap: 0.15rem; padding: 0.8rem 0.85rem; background: var(--papier); border-radius: var(--r-blatt-klein); border: 1px solid rgb(79 109 34 / 0.16); }
.fahrplan-name { font: 650 1.45rem/1.05 var(--font-head); color: var(--blatt); }
.fahrplan-alter { font-size: 0.9rem; color: var(--rinde-2); line-height: 1.3; }
.fahrplan-hinweis { display: inline-flex; align-items: center; gap: 0.3rem; margin-top: 0.35rem; font-size: 0.78rem; font-weight: 600; color: var(--blatt); }
.fahrplan-hinweis .icon { display: none; }
.fahrplan-punkt.is-zusatz .fahrplan-name { color: #6f8a3c; }
.fahrplan-punkt.is-markiert { background: var(--blatt); border-color: var(--blatt); box-shadow: 0 8px 18px -10px rgb(63 87 25 / 0.7); }
.fahrplan-punkt.is-markiert .fahrplan-name, .fahrplan-punkt.is-markiert .fahrplan-alter, .fahrplan-punkt.is-markiert .fahrplan-hinweis { color: #fff; }
@media (min-width: 68rem) {
  .fahrplan { grid-template-columns: repeat(13, minmax(0, 1fr)); gap: 0; position: relative; padding-top: 2.4rem; }
  .fahrplan::before { content: ''; position: absolute; left: 3.8%; right: 3.8%; top: 0.95rem; height: 4px; border-radius: 4px; background: linear-gradient(90deg, #a8bd73, var(--blatt)); }
  .fahrplan-punkt { position: relative; background: transparent; border: 0; padding: 0.4rem 0.3rem; text-align: center; align-items: center; }
  .fahrplan-punkt::before { content: ''; position: absolute; top: -1.95rem; left: 50%; width: 1.05rem; height: 1.05rem; margin-left: -0.525rem; border-radius: 50%; background: var(--papier); border: 3px solid var(--blatt); }
  .fahrplan-punkt.is-planen::before { background: var(--blatt); }
  .fahrplan-name { font-size: 1.3rem; }
  .fahrplan-alter { font-size: 0.82rem; }
  .fahrplan-hinweis { font-size: 0.72rem; }
  .fahrplan-hinweis .icon { display: none; }
  .fahrplan-punkt.is-markiert { background: var(--blatt); border-radius: var(--r-blatt-klein); }
}
.vorsorge-aktion { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-top: 2.5rem; }
.vorsorge-aktion .link-pfeil { color: var(--blatt); }

/* ---------- Leistungen (Startseite) ---------- */
.leistung-gross { display: grid; gap: 1rem 1.5rem; align-items: start; padding: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: 1.25rem; background: var(--ziegel); color: #fff; border-radius: var(--r-blatt); }
.leistung-gross h3 { color: #fff; margin-bottom: 0.4rem; }
.leistung-gross p { margin: 0; color: #fbe6d9; max-width: 60ch; }
.leistung-gross .leistung-icon { background: rgb(255 255 255 / 0.16); color: #fff; }
@media (min-width: 40rem) { .leistung-gross { grid-template-columns: auto 1fr; } }
.leistung-raster { display: grid; gap: 1.25rem; list-style: none; }
.leistung-karte { padding: 1.5rem; background: var(--papier); border-radius: var(--r-karte); border: 1px solid var(--linie); }
.leistung-karte h3 { font-size: 1.3rem; margin: 0.9rem 0 0.4rem; }
.leistung-karte p { margin: 0; color: var(--rinde-2); font-size: 1rem; }
.leistung-icon { display: inline-grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: 0.9rem 0.3rem 0.9rem 0.3rem; background: var(--pfirsich); color: var(--ziegel); }
.leistung-icon .icon { width: 1.45rem; height: 1.45rem; }
@media (min-width: 40rem) { .leistung-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .leistung-raster { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Team ---------- */
.section-team { background: var(--papier); }
.team-reihe { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.25rem; list-style: none; }
.person { text-align: left; }
.person-bild img { width: 100%; max-width: 12.5rem; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-blatt); background: var(--sand-hell); }
.person-name { margin: 0.9rem 0 0.15rem; font: 620 1.2rem/1.25 var(--font-head); }
.person-rolle { margin: 0; color: var(--rinde-2); font-size: 0.98rem; line-height: 1.4; }
.person-arzt .person-name { color: var(--ziegel); }
@media (min-width: 48rem) { .team-reihe { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 68rem) { .team-reihe { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* ---------- Einblicke ---------- */
.einblicke-grid { display: grid; gap: var(--grid-gap); align-items: center; }
.einblicke-text p { color: var(--rinde-2); max-width: 44ch; }
.einblicke-bilder { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.9rem; max-width: 38rem; }
.einblick img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-blatt-klein); box-shadow: var(--schatten); }
.einblick-a { grid-column: 1 / 5; grid-row: 1; aspect-ratio: 3 / 2; }
.einblick-b { grid-column: 5 / 7; grid-row: 1 / 3; }
.einblick-c { grid-column: 1 / 3; grid-row: 2; aspect-ratio: 3 / 2; }
.einblick-d { grid-column: 3 / 5; grid-row: 2; aspect-ratio: 3 / 2; }
@media (min-width: 60rem) { .einblicke-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 4rem; } .einblicke-bilder { justify-self: end; } }

/* ---------- Jugend ---------- */
.section-jugend { background: var(--see-hell); padding-block: clamp(3rem, 6vw, 5rem); }
.jugend-grid { display: grid; gap: 1.5rem 2.5rem; align-items: center; }
.jugend-grid h2 { color: #123f47; }
.jugend-grid p { margin: 0; max-width: 58ch; color: #2b4c51; }
.jugend-vogel { width: 7.5rem; }
@media (min-width: 60rem) { .jugend-grid { grid-template-columns: auto minmax(0, 1fr) auto; } .jugend-vogel { width: 9rem; } }

/* ---------- Aktuell und Anfahrt ---------- */
.aktuell-grid { display: grid; gap: 1.5rem; }
.aktuell, .anfahrt-kurz { position: relative; padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--r-blatt); background: var(--papier); box-shadow: var(--schatten); }
.aktuell { background: var(--pfirsich); box-shadow: none; }
.aktuell h2, .anfahrt-kurz h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 2rem); }
.aktuell p { color: var(--rinde); }
.aktuell-blatt { position: absolute; top: -1.1rem; right: 1.5rem; width: 4.5rem; transform: rotate(-24deg); }
.linkliste { list-style: none; display: grid; gap: 0.6rem; }
.linkliste a { font-weight: 600; }
.anreise-liste { list-style: none; display: grid; gap: 0.75rem; margin-bottom: 1.5rem; }
.anreise-liste li { display: flex; gap: 0.75rem; align-items: flex-start; color: var(--rinde-2); }
.anreise-liste .icon { color: var(--ziegel); margin-top: 0.15rem; }
.anreise-liste strong { color: var(--rinde); }
.anfahrt-aktionen { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; align-items: center; }
@media (min-width: 60rem) { .aktuell-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; } }

/* ---------- Notfall ---------- */
.notfallband { background: var(--rinde); color: #f5e8dc; padding-block: clamp(3.5rem, 6vw, 5.5rem); }
.notfallband h2 { color: #fff; margin-bottom: 1.75rem; }
.notfallband-mehr { margin: 1.75rem 0 0; }
.notfallband-mehr a { color: #ffd2b8; }
.notfallband-mehr a:hover { color: #fff; }
.notruf { display: grid; gap: 1rem; list-style: none; }
.notruf-kachel { display: flex; flex-direction: column; gap: 0.2rem; height: 100%; padding: 1.35rem 1.5rem; border-radius: var(--r-blatt); text-decoration: none; background: var(--papier); color: var(--rinde); box-shadow: var(--schatten); transition: transform 0.18s ease; }
.notruf-kachel:hover { transform: translateY(-2px); text-decoration: none; color: var(--rinde); }
.notruf-nummer { font: 700 clamp(2rem, 1.6rem + 1.6vw, 2.75rem)/1.05 var(--font-body); letter-spacing: 0.01em; color: var(--ziegel); font-variant-numeric: tabular-nums; }
.notruf-titel { font-weight: 600; font-size: 1.12rem; }
.notruf-text { color: var(--rinde-2); font-size: 0.98rem; }
.notruf-dunkel .notruf-kachel { background: #47302a; color: #fff; box-shadow: none; }
.notruf-dunkel .notruf-kachel:hover { background: #553a32; color: #fff; }
.notruf-dunkel .notruf-nummer { color: #ffb48c; }
.notruf-dunkel .notruf-text { color: #e4cfc2; }
@media (min-width: 48rem) { .notruf { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Anruf-Band ---------- */
.anrufband { padding-block: clamp(3rem, 6vw, 5rem); background: var(--pfirsich); }
.anrufband-inner { display: grid; gap: 1.5rem 2.5rem; align-items: center; }
.anrufband h2 { margin-bottom: 0.4rem; }
.anrufband p { margin: 0; color: var(--rinde-2); max-width: 50ch; }
.anrufband-apfel { width: 4.75rem; }
.anrufband-aktion { display: grid; gap: 0.75rem; justify-items: start; }
@media (min-width: 60rem) { .anrufband-inner { grid-template-columns: auto minmax(0, 1fr) auto; } .anrufband-aktion { justify-items: end; } }

/* ---------- Unterseiten-Kopf ---------- */
.seitenkopf { background: var(--pfirsich); padding-block: clamp(1.75rem, 4vw, 3rem) clamp(2.5rem, 5vw, 4rem); overflow: clip; }
.seitenkopf-inner { position: relative; }
.seitenkopf-text { position: relative; z-index: 1; max-width: 46rem; }
.seitenkopf h1 { font-size: clamp(2.2rem, 1.45rem + 3vw, 3.9rem); }
.seitenkopf .lead { color: var(--rinde-2); max-width: 52ch; margin-bottom: 0; }
.seitenkopf-zweig { position: absolute; right: -2rem; bottom: -2.5rem; width: clamp(11rem, 30vw, 22rem); opacity: 0.95; }
.seitenkopf.ton-see { background: var(--see-hell); }
.seitenkopf.ton-see .kicker { color: var(--see); }
.seitenkopf.ton-rinde { background: var(--rinde); }
.seitenkopf.ton-rinde h1 { color: #fff; }
.seitenkopf.ton-rinde .lead { color: #e9d6c9; }
.seitenkopf.ton-rinde .kicker { color: #ffb48c; }
.seitenkopf.ton-rinde .breadcrumb, .seitenkopf.ton-rinde .breadcrumb a { color: #e9d6c9; }
.seitenkopf.ton-blatt { background: var(--blatt-hell); }
.seitenkopf.ton-blatt .kicker { color: var(--blatt); }
.seitenkopf-aktionen { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
@media (max-width: 40rem) { .seitenkopf-zweig { width: 9rem; right: -2.5rem; bottom: -2.6rem; opacity: 0.6; } }
.breadcrumb { margin-bottom: 1.75rem; font-size: 0.95rem; color: var(--rinde-2); position: relative; z-index: 1; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; }
.breadcrumb li + li::before { content: '/'; margin-right: 0.4rem; opacity: 0.6; }
.breadcrumb a { color: var(--rinde-2); }

/* ---------- Inhaltsbausteine der Unterseiten ---------- */
.zwei-spalten { display: grid; gap: var(--grid-gap); }
@media (min-width: 60rem) { .zwei-spalten { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; } .zwei-spalten-schmal { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); } }
.karte { padding: clamp(1.4rem, 3vw, 2rem); background: var(--papier); border-radius: var(--r-blatt); box-shadow: var(--schatten); }
.karte h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 2rem); }
.karte-hell { background: var(--pfirsich); box-shadow: none; }
.karte-blatt { background: var(--blatt-hell); box-shadow: none; }
.regeln { list-style: none; display: grid; gap: 1rem; }
.regeln li { display: grid; grid-template-columns: 2.75rem 1fr; gap: 1rem; align-items: start; padding: 1.1rem 1.25rem; background: var(--papier); border-radius: var(--r-blatt-klein); border: 1px solid var(--linie); }
.regeln-icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 0.9rem 0.3rem 0.9rem 0.3rem; background: var(--pfirsich); color: var(--ziegel); }
.regeln-icon .icon-cross { width: 1.05rem; }
.regeln p { margin: 0.35rem 0 0; }
.hinweis { display: flex; gap: 0.75rem; align-items: flex-start; padding: 1rem 1.15rem; border-radius: var(--r-blatt-klein); background: var(--sand-hell); color: var(--rinde); font-size: 1rem; }
.hinweis .icon { color: var(--ziegel); margin-top: 0.12rem; }
.hinweis p { margin: 0; }
.fussnote { margin-top: 1rem; font-size: 0.92rem; color: var(--rinde-2); max-width: 75ch; }
.checkliste { list-style: none; display: grid; gap: 0.75rem; }
.checkliste li { display: flex; gap: 0.75rem; align-items: flex-start; }
.checkliste .icon { color: var(--blatt); margin-top: 0.15rem; }
.checkliste-titel { font: 600 1.05rem/1.3 var(--font-body); margin: 1.5rem 0 0.75rem; color: var(--rinde); }

/* Vorsorge-Tabelle */
.tabelle-rahmen { overflow-x: auto; border-radius: var(--r-karte); background: var(--papier); box-shadow: var(--schatten); }
.vorsorge-tabelle { width: 100%; border-collapse: collapse; min-width: 34rem; font-variant-numeric: tabular-nums; }
.vorsorge-tabelle th, .vorsorge-tabelle td { padding: 0.8rem 1rem; text-align: left; border-bottom: 1px solid var(--linie); vertical-align: top; }
.vorsorge-tabelle thead th { font: 600 0.82rem/1.2 var(--font-body); text-transform: uppercase; letter-spacing: 0.04em; color: var(--rinde-2); background: var(--sand-hell); }
.vorsorge-tabelle tbody th { font: 650 1.2rem/1.2 var(--font-head); color: var(--blatt); white-space: nowrap; }
.vorsorge-tabelle tbody tr:last-child th, .vorsorge-tabelle tbody tr:last-child td { border-bottom: 0; }
.vorsorge-tabelle tr.is-markiert th, .vorsorge-tabelle tr.is-markiert td { background: var(--blatt-hell); }
.tag-planen { display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 600; color: var(--blatt); white-space: nowrap; }
.tag-planen .icon { width: 1rem; height: 1rem; }

/* Vorsorge-Rechner */
.rechner { display: grid; gap: 1.5rem; padding: clamp(1.5rem, 3.5vw, 2.5rem); border-radius: var(--r-blatt); background: var(--blatt); color: #fff; }
.rechner h2 { color: #fff; margin-bottom: 0.35rem; }
.rechner > div > p { color: #e3ecd0; margin: 0; max-width: 52ch; }
.rechner-form { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: flex-end; }
.feld { display: grid; gap: 0.35rem; }
.feld label { font-weight: 600; }
.feld input { min-height: 3.1rem; padding: 0.6rem 0.9rem; border: 2px solid transparent; border-radius: var(--r-feld); background: #fff; color: var(--rinde); font: 500 1.1rem/1.2 var(--font-body); min-width: 12.5rem; }
.feld input:focus-visible { outline: 3px solid #ffd77a; outline-offset: 2px; }
.rechner .btn-hell { min-height: 3.1rem; }
.rechner-hinweis { margin: 0; font-size: 0.92rem; color: #dfe8c8; }
.rechner-fehler { margin: 0; padding: 0.7rem 0.9rem; border-radius: var(--r-feld); background: #fff2e6; color: #8a2a06; font-weight: 600; }
.rechner-ergebnis { display: grid; gap: 0.75rem; }
.rechner-ergebnis[hidden], .rechner-fehler[hidden] { display: none; }
.ergebnis-titel { margin: 0; font: 620 1.4rem/1.25 var(--font-head); color: #fff; }
.ergebnis-liste { list-style: none; display: grid; gap: 0.7rem; }
.ergebnis { display: grid; grid-template-columns: 4.25rem minmax(0, 1fr); gap: 0.25rem 1rem; padding: 1rem 1.15rem; border-radius: var(--r-blatt-klein); background: #fff; color: var(--rinde); }
.ergebnis-name { grid-row: span 2; font: 650 1.75rem/1 var(--font-head); color: var(--blatt); }
.ergebnis-zeit { font-weight: 600; }
.ergebnis-info { color: var(--rinde-2); font-size: 0.98rem; }
.ergebnis-info strong { color: var(--ziegel); }
.ergebnis.is-jetzt { box-shadow: 0 0 0 3px #ffd77a; }
.ergebnis-marke { display: inline-block; margin-left: 0.4rem; padding: 0.1rem 0.5rem; border-radius: var(--r-pille); background: #ffd77a; color: #4a3605; font-size: 0.78rem; font-weight: 600; vertical-align: 0.15em; }
.ergebnis-vorbei { margin: 0; font-size: 0.95rem; color: #e3ecd0; }
.rechner .btn-hell .icon { color: var(--ziegel); }
@media (min-width: 60rem) { .rechner { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: start; gap: 2.5rem; } }

/* Leistungen-Seite */
.leistungen-liste { display: grid; gap: 1.25rem; }
.leistung-block { padding: clamp(1.4rem, 3vw, 1.9rem); background: var(--papier); border-radius: var(--r-blatt); border: 1px solid var(--linie); }
.leistung-block-kopf { display: flex; gap: 1rem; align-items: center; margin-bottom: 0.9rem; }
.leistung-block h2 { font-size: clamp(1.3rem, 1.15rem + 0.7vw, 1.7rem); margin: 0; }
.leistung-block p { color: var(--rinde-2); margin: 0; }
.punktliste { list-style: none; display: grid; gap: 0.55rem; }
.punktliste li { position: relative; padding-left: 1.5rem; }
.punktliste li::before { content: ''; position: absolute; left: 0.1rem; top: 0.55em; width: 0.65rem; height: 0.4rem; border-radius: 0.4rem 0.1rem 0.4rem 0.1rem; background: var(--blatt-mittel); transform: rotate(-20deg); }
.leistung-block-igel { background: var(--sand-hell); border-color: transparent; }
.leistung-block-igel .hinweis-text { margin: -0.3rem 0 0.9rem; font-size: 0.98rem; }
@media (min-width: 52rem) { .leistungen-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); } .leistung-block-weit { grid-column: 1 / -1; } }

/* Team-Seite */
.arzt { display: grid; gap: var(--grid-gap); align-items: start; }
.arzt-bild img { width: 12.5rem; border-radius: var(--r-blatt); box-shadow: var(--schatten); }
.arzt-kopf h2 { margin-bottom: 0.25rem; }
.arzt-rolle { font-size: 1.15rem; color: var(--ziegel); font-weight: 600; margin-bottom: 0.4rem; }
.arzt-person { color: var(--rinde-2); }
.werdegang { list-style: none; border-left: 3px solid var(--sand); margin: 1.5rem 0 2rem 0.35rem; }
.werdegang li { position: relative; display: grid; gap: 0.1rem 1.25rem; padding: 0 0 1.1rem 1.4rem; }
.werdegang li::before { content: ''; position: absolute; left: -0.55rem; top: 0.35rem; width: 0.8rem; height: 0.8rem; border-radius: 50%; background: var(--papier); border: 3px solid var(--ziegel); }
.werdegang li:last-child { padding-bottom: 0; }
.werdegang li:last-child::before { background: var(--ziegel); }
.werdegang-jahr { font-weight: 600; color: var(--ziegel); font-variant-numeric: tabular-nums; }
@media (min-width: 40rem) { .werdegang li { grid-template-columns: 7.5rem minmax(0, 1fr); } }
.qualis { display: grid; gap: 1.25rem; }
.qualis h3 { font-size: 1.15rem; font-family: var(--font-body); font-weight: 600; margin-bottom: 0.5rem; }
@media (min-width: 40rem) { .qualis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 60rem) { .arzt { grid-template-columns: 14rem minmax(0, 1fr); gap: 3.5rem; } }
.team-raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.25rem; list-style: none; }
@media (min-width: 52rem) { .team-raster { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Jugend-Seite */
.schritte { list-style: none; counter-reset: schritt; display: grid; gap: 1rem; }
.schritt { counter-increment: schritt; display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 0.25rem 1.1rem; padding: 1.25rem 1.35rem; background: var(--papier); border-radius: var(--r-blatt-klein); border: 1px solid var(--linie); }
.schritt::before { content: counter(schritt); grid-row: span 2; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 1rem 0.3rem 1rem 0.3rem; background: var(--see); color: #fff; font: 650 1.35rem/1 var(--font-head); }
.schritt h3 { font-size: 1.3rem; margin: 0.25rem 0 0.2rem; }
.schritt p { margin: 0; color: var(--rinde-2); }
.fakten-reihe { display: grid; gap: 1rem; list-style: none; }
.fakt { padding: 1.35rem 1.4rem; border-radius: var(--r-blatt); background: var(--see-hell); }
.fakt h3 { font-size: 1.25rem; color: #123f47; margin-bottom: 0.35rem; }
.fakt p { margin: 0; color: #2b4c51; }
@media (min-width: 48rem) { .fakten-reihe { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tipps { list-style: none; display: grid; gap: 0.9rem; }
.tipps a { font-weight: 600; font-size: 1.1rem; }
.tipps p { margin: 0.1rem 0 0; color: var(--rinde-2); font-size: 0.98rem; }

/* Notfall-Seite */
.praxen { display: grid; gap: 1.25rem; list-style: none; }
.praxis-karte { display: flex; flex-direction: column; padding: 1.5rem; background: var(--papier); border-radius: var(--r-blatt); box-shadow: var(--schatten); }
.praxis-karte h3 { font-size: 1.3rem; margin-bottom: 0.3rem; }
.praxis-karte .adresse { color: var(--rinde-2); margin-bottom: 0.9rem; }
.praxis-zeiten { display: grid; grid-template-columns: auto 1fr; gap: 0.3rem 1rem; margin: 0 0 1rem; font-variant-numeric: tabular-nums; }
.praxis-zeiten dt { font-weight: 600; }
.praxis-zeiten dd { margin: 0; }
.praxis-hinweis { font-size: 0.95rem; color: var(--rinde-2); }
.praxis-aktionen { display: flex; flex-wrap: wrap; gap: 0.6rem 1rem; align-items: center; margin-top: auto; padding-top: 0.5rem; }
.tel-gross { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 700; font-size: 1.15rem; text-decoration: none; font-variant-numeric: tabular-nums; }
.tel-gross .icon { width: 1.05em; height: 1.05em; }
@media (min-width: 60rem) { .praxen { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.nummernliste { list-style: none; display: grid; }
.nummernliste li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 1rem; padding: 0.85rem 0; border-bottom: 1px solid var(--linie); }
.nummernliste li:first-child { border-top: 1px solid var(--linie); }
.nummernliste span { color: var(--rinde); }
.nummernliste a { font-weight: 700; text-decoration: none; font-variant-numeric: tabular-nums; white-space: nowrap; }
.nummernliste a:hover { text-decoration: underline; }

/* Anfahrt-Seite */
.kontaktkarte dl { display: grid; gap: 0.9rem; margin: 0; }
.kontaktkarte dl div { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: 0.1rem 0.75rem; align-items: start; }
.kontaktkarte dt { grid-row: span 2; color: var(--ziegel); padding-top: 0.15rem; }
.kontaktkarte dd { margin: 0; }
.kontaktkarte .dd-label { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--rinde-2); font-weight: 600; }
.kontaktkarte a { font-weight: 600; }
.anreise-raster { display: grid; gap: 1.25rem; list-style: none; }
.anreise-karte { padding: 1.5rem; background: var(--papier); border-radius: var(--r-blatt-klein); border: 1px solid var(--linie); }
.anreise-karte h3 { display: flex; align-items: center; gap: 0.6rem; font-size: 1.3rem; }
.anreise-karte h3 .icon { color: var(--ziegel); }
.anreise-karte p { margin: 0 0 0.5rem; color: var(--rinde-2); }
.anreise-karte p:last-child { margin: 0; }
.buslinien { list-style: none; display: grid; gap: 0.7rem; }
.buslinien li { display: grid; grid-template-columns: 3.25rem minmax(0, 1fr); gap: 0.75rem; align-items: start; }
.linie { display: inline-grid; place-items: center; min-width: 3.25rem; padding: 0.15rem 0.4rem; border-radius: 0.45rem; background: #0d5c63; color: #fff; font-weight: 700; font-size: 0.95rem; font-variant-numeric: tabular-nums; }
.linie-s { background: #3a8a3e; border-radius: var(--r-pille); }
.buslinien small { display: block; color: var(--rinde-2); font-size: 0.92rem; }
.karten-links { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }
@media (min-width: 52rem) { .anreise-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Links-Seite */
.linkgruppen { display: grid; gap: 1.25rem; }
.linkgruppe { padding: clamp(1.4rem, 3vw, 2rem); background: var(--papier); border-radius: var(--r-blatt); border: 1px solid var(--linie); }
.linkgruppe h2 { font-size: clamp(1.35rem, 1.2rem + 0.7vw, 1.75rem); }
.linkgruppe ul { list-style: none; display: grid; gap: 1rem; }
.linkgruppe a { font-weight: 600; }
.linkgruppe p { margin: 0.15rem 0 0; color: var(--rinde-2); font-size: 0.98rem; }
@media (min-width: 52rem) { .linkgruppen { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Impressionen */
/* Spaltenbreite höchstens 12,5rem (= 200 px): Die Originalfotos sind klein und werden nicht hochskaliert. */
.galerie { columns: 2 9rem; column-gap: 1rem; max-width: 54rem; margin-inline: auto; }
.galerie figure { break-inside: avoid; margin: 0 0 1.25rem; }
.galerie img { width: 100%; border-radius: var(--r-blatt-klein); box-shadow: var(--schatten); background: var(--sand-hell); }
.galerie figcaption { margin-top: 0.45rem; font-size: 0.92rem; line-height: 1.4; color: var(--rinde-2); }
@media (min-width: 40rem) { .galerie { columns: 3 9rem; column-gap: 1.25rem; max-width: 40rem; } }
@media (min-width: 60rem) { .galerie { columns: 4 11rem; max-width: 54rem; } }

/* 404 */
.fehlerseite { padding-block: clamp(3rem, 8vw, 6rem); }
.fehlerseite-inner { display: grid; gap: 2rem; align-items: center; }
.fehlerseite .lead { max-width: 46ch; }
.fehlerseite-links { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.5rem; }
.fehler-apfel { width: min(14rem, 50vw); justify-self: center; transform: rotate(-12deg); }
@media (min-width: 52rem) { .fehlerseite-inner { grid-template-columns: minmax(0, 1fr) auto; } }

/* Ergänzungen der Unterseiten */
.h3 { font-size: var(--text-h3); line-height: 1.22; }
.section-papier { background: var(--papier); }
.section-blatt { background: var(--blatt-hell); }
.karte-see { background: var(--see-hell); box-shadow: none; align-self: start; }
.karte-see h2, .karte-see h3 { color: #123f47; }
.karte-see .link-pfeil { color: var(--see); }
.karte-tel { margin: 1.25rem 0 0.4rem; }
.karte-klein { margin: 0; font-size: 0.95rem; color: var(--rinde-2); }
.hinweis-abstand { margin-top: 1.5rem; }
.zeile-icon { display: flex; gap: 0.6rem; align-items: flex-start; }
.zeile-icon .icon { color: var(--ziegel); margin-top: 0.18rem; }
.zeiten-kopf { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.6rem 1rem; margin-bottom: 0.75rem; }
.zeiten-kopf h2 { margin: 0; }
.rechner .kicker { color: #e3ecd0; }
.rechner-bereich { display: grid; gap: 1rem; }
.rechner-ohne-js { margin: 0; padding: 0.8rem 1rem; border-radius: var(--r-feld); background: rgb(255 255 255 / 0.12); }
.rechner-ohne-js[hidden], .rechner-form[hidden] { display: none; }
.leistung-block-start { background: var(--pfirsich); border-color: transparent; }
.leistung-block .leistung-verweis { margin-top: 1.1rem; }
.leistung-verweis .link-pfeil { color: var(--blatt); }
.werdegang-titel { margin: 2rem 0 0; font: 600 0.92rem/1.3 var(--font-body); letter-spacing: 0.06em; text-transform: uppercase; color: var(--rinde-2); }
.ablauf-intro { color: var(--rinde-2); margin-bottom: 1.5rem; }
.jugend-seite-rand { display: grid; gap: 1.25rem; align-content: start; }
.jugend-seite-vogel { width: 7rem; justify-self: end; margin-bottom: -1.6rem; position: relative; z-index: 1; }
.checkliste-see .icon { color: var(--see); }
.section-notruf { padding-top: clamp(2.25rem, 5vw, 3.5rem); }
.hinweis-praxis { margin-top: 1.5rem; align-items: flex-start; }
.hinweis-praxis > div { display: grid; gap: 0.6rem; justify-items: start; }
.link-route { display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 600; }
.apotheke { margin-top: 2rem; padding: 1.35rem 1.4rem; background: var(--papier); border-radius: var(--r-blatt-klein); border: 1px solid var(--linie); }
.apotheke h3 { display: flex; align-items: center; gap: 0.5rem; font-size: 1.25rem; }
.apotheke h3 .icon { color: var(--ziegel); }
.apotheke p { color: var(--rinde-2); margin-bottom: 0.6rem; }
.kontaktkarte h2 { margin-bottom: 1.25rem; }
.dd-zusatz { display: block; margin-top: 0.3rem; font-size: 0.92rem; color: var(--rinde-2); }
.karten-hinweis { margin: 1rem 0 0; font-size: 0.92rem; color: var(--rinde-2); }
.linkgruppe-see { background: var(--see-hell); border-color: transparent; }
.linkgruppe-see h2 { color: #123f47; }
.linkgruppe-see a { color: var(--see); }
.linkgruppe .linkgruppe-mehr { margin-top: 1.25rem; }
.fehlerseite-tel { margin: 1.5rem 0 0; color: var(--rinde-2); }
.fehlerseite-tel a { font-weight: 600; white-space: nowrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--sand-hell); color: var(--rinde); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; font-size: 1rem; }
.footer-grid { display: grid; gap: 2rem 2.5rem; }
.footer-brand p { color: var(--rinde-2); max-width: 34ch; margin-top: 1rem; }
.brand-footer .bildmarke { width: 3.4rem; height: 3.4rem; }
.footer-title { font: 600 0.85rem/1.2 var(--font-body); letter-spacing: 0.06em; text-transform: uppercase; color: var(--rinde-2); margin-bottom: 0.9rem; }
.footer-col ul { list-style: none; display: grid; gap: 0.45rem; }
.footer-col a { color: var(--rinde); text-decoration: none; }
.footer-col a:hover { color: var(--ziegel); text-decoration: underline; }
.footer-contact { margin-top: 0.9rem; }
.footer-contact li { display: flex; align-items: center; gap: 0.55rem; }
.footer-contact a { display: inline-flex; align-items: center; gap: 0.55rem; }
.footer-contact .icon { color: var(--ziegel); width: 1.05rem; height: 1.05rem; }
.footer-zeiten { margin: 0; display: grid; gap: 0.35rem; font-variant-numeric: tabular-nums; }
.footer-zeiten div { display: grid; grid-template-columns: 6.25rem 1fr; }
.footer-zeiten dt { font-weight: 600; }
.footer-zeiten dd { margin: 0; }
.footer-klein { margin-top: 0.75rem; font-size: 0.92rem; color: var(--rinde-2); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--sand); font-size: 0.92rem; color: var(--rinde-2); }
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; list-style: none; }
.footer-bottom a { color: var(--rinde-2); }
@media (min-width: 48rem) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 72rem) { .footer-grid { grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); } }

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

/* ---------- Druck ---------- */
@media print {
  .site-header, .mobile-menu, .hero-ast, .seitenkopf-zweig, .notfallband, .anrufband { display: none !important; }
  body { background: #fff; }
}
