/* =========================================================================
   Ärztlicher Kreisverband Aschaffenburg-Untermain · Startseiten-Konzept
   Silberschmidt Media · Vanilla CSS, mobile-first, Tokens aus dem Figma-Layout
   ========================================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Flächen und Linien */
  --paper: #F7F6F3;
  --white: #FFFFFF;
  --ink: #1A1A18;
  --ink-soft: #605F5A;
  --line: #E4E2DC;
  --navy: #12263F;
  --cream: #F4F3EF;

  /* Marke */
  --alert: #E2001A;
  --alert-deep: #B80016;
  --green: #97C01E;          /* Signetgruen */
  --signet-red: #E2071C;     /* Rot des Signets, minimal abweichend vom Signalrot */
  --wave-1: #EDF3DF;
  --wave-2: #DCE9BC;
  --wave-3: #C7DB94;

  /* Schrift */
  --font-display: 'Newsreader', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --font-sans: 'IBM Plex Sans', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Typoskala (Figma-Werte als Maximum bei 1440 px) */
  --fs-h1: clamp(2rem, 1.4575rem + 3.38vw, 4.5rem);
  --fs-h2: clamp(1.75rem, 1.486rem + 1.127vw, 2.5rem);
  --fs-h3-news: clamp(1.3125rem, 1.158rem + 0.657vw, 1.75rem);
  --fs-pitch: clamp(1.5rem, 1.324rem + 0.751vw, 2rem);
  --fs-lead: clamp(1.0625rem, 0.996rem + 0.282vw, 1.25rem);
  --fs-body: clamp(1rem, 0.978rem + 0.094vw, 1.0625rem);
  --fs-tile: clamp(1.125rem, 1.081rem + 0.188vw, 1.25rem);
  --fs-card: clamp(1.0625rem, 1.031rem + 0.132vw, 1.1875rem);
  --fs-caption: 0.875rem;
  --fs-ui: 0.9375rem;
  --fs-btn: 1rem;
  --fs-mono: 0.75rem;

  /* Raster und Abstände */
  --gutter: clamp(1.25rem, -0.4225rem + 7.136vw, 6rem);
  --measure: 78rem;                 /* 1248 px Inhaltsbreite */
  --section-y: clamp(4rem, 3.12rem + 3.756vw, 6.5rem);
  --hero-overlap: clamp(4rem, 0.127rem + 16.53vw, 15rem);
  --stack: clamp(2rem, 1.472rem + 2.254vw, 3.5rem);

  /* Formen */
  --r-xs: 3px;
  --r-sm: 4px;
  --r-md: 6px;
  --r-lg: 10px;
  --r-xl: 12px;
  --r-2xl: 16px;

  --header-h: 4.5rem;
  --focus: var(--alert);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, p, figure, dl, dd, ul { margin: 0; }
/* list-style: none nimmt VoiceOver in Safari die Listensemantik. Die
   betroffenen Listen tragen deshalb role="list" im Markup. */
ul { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
strong { font-weight: 600; }

:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

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

.skip-link {
  position: absolute;
  top: 0; left: 0;
  z-index: 100;
  transform: translateY(-120%);
  padding: 0.75rem 1.25rem;
  background: var(--ink);
  color: var(--cream);
  font-size: var(--fs-ui);
  font-weight: 500;
  text-decoration: none;
  border-radius: 0 0 var(--r-md) 0;
  transition: transform 0.18s var(--ease);
}
.skip-link:focus-visible { transform: translateY(0); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.8125rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  font-family: var(--font-sans);
  font-size: var(--fs-btn);
  font-weight: 500;
  line-height: 1.2;
  overflow-wrap: anywhere;
  text-decoration: none;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
              border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn__icon { flex: none; }

.btn--solid { background: var(--ink); color: var(--cream); padding-inline: 1.625rem; }
.btn--solid:hover { background: #2E2E2A; }

.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--cream); }

.btn--alert { background: var(--alert); color: var(--white); }
.btn--alert:hover { background: var(--alert-deep); }

.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: #2E2E2A; }

.btn--ghost-light { border-color: rgba(244, 243, 239, 0.55); color: var(--cream); }
.btn--ghost-light:hover { border-color: var(--cream); background: rgba(244, 243, 239, 0.1); }

.btn--compact { font-size: var(--fs-ui); padding-block: 0.9375rem; }
.btn--lg { padding: 1.0625rem 1.5rem; gap: 0.75rem; line-height: 1.3; }
.btn--alert.btn--lg { font-size: var(--fs-tile); font-weight: 600; letter-spacing: -0.005em; }

/* Elemente des Entwurfs ohne Ziel: sichtbar, aber nicht als Link ausgegeben */
.btn--soon { cursor: default; }
.btn--outline.btn--soon:hover { background: transparent; color: var(--ink); }
.btn--dark.btn--soon:hover { background: var(--ink); }

/* ---------- Topbar ---------- */
.topbar {
  padding: 0.5rem var(--gutter);
  background: var(--navy);
  color: var(--white);
}
/* Innenabstand liegt am aeusseren Element, damit der Inhalt exakt auf der
   Satzbreite der Sektionen sitzt (max-width plus padding am selben Element
   haette den Kopf um zweimal --gutter eingerueckt). */
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  max-width: var(--measure);
  margin-inline: auto;
}
.topbar__claim {
  display: none;
  font-family: var(--font-mono);
  font-size: 0.71875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.72);
}
.topbar__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-inline: auto;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.5rem;
  padding: 0.4375rem 0.875rem;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.pill__icon { flex: none; }
.pill--alert { background: var(--alert); color: var(--white); padding-left: 0.75rem; }
.pill--alert:hover { background: var(--alert-deep); }
.pill--ghost { border-color: rgba(255, 255, 255, 0.34); color: rgba(255, 255, 255, 0.92); }
.pill--ghost:hover { border-color: rgba(255, 255, 255, 0.7); background: rgba(255, 255, 255, 0.08); }
.topbar :focus-visible { outline-color: var(--white); }

@media (min-width: 62rem) {
  .topbar { padding-block: 0.6875rem; }
  .topbar__claim { display: block; }
  .topbar__actions { margin-inline: 0; }
  .pill { min-height: 1.9375rem; }
}

/* ---------- Kopf ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 0.875rem var(--gutter);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s var(--ease);
}
.site-header.is-stuck { box-shadow: 0 6px 24px rgba(26, 26, 24, 0.07); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  width: 100%;
  max-width: var(--measure);
  margin-inline: auto;
}

.wordmark {
  display: inline-flex;
  flex: 1 1 0;
  min-width: 0;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.wordmark__mark { width: 2.125rem; height: 2.125rem; flex: none; }
.wordmark__mark .mark-green { fill: var(--green); }
.wordmark__mark .mark-red { fill: var(--signet-red); }
.wordmark__text {
  min-width: 0;
  font-size: 1rem;
  line-height: 1.25;
  text-wrap: balance;
  color: var(--ink-soft);
}
.wordmark__text strong { color: var(--ink); }

.nav-toggle {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  min-width: 2.75rem;
  padding: 0.5rem 0.75rem;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  color: var(--ink);
  font: inherit;
  font-size: var(--fs-ui);
  font-weight: 500;
  cursor: pointer;
}
.nav-toggle__bars {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: background-color 0.2s var(--ease);
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s var(--ease);
}
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background-color: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

.nav { display: none; flex-basis: 100%; width: 100%; }
.site-header.is-nav-open .nav { display: block; }
.no-js .nav { display: block; }
.no-js .nav-toggle { display: none; }

.nav__list {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  padding-block: 0.5rem 0.75rem;
  border-top: 1px solid var(--line);
}
.nav__list a,
.nav__soon {
  display: block;
  padding: 0.6875rem 0.25rem;
  font-size: var(--fs-ui);
  font-weight: 500;
  text-decoration: none;
}
.nav__list a { color: var(--ink); }
.nav__list a:hover { color: var(--alert); }
.nav__soon { color: var(--ink-soft); cursor: default; }

.search {
  display: none;
  align-items: center;
  gap: 0.5625rem;
  width: 10.5rem;
  padding: 0.5625rem 0.8125rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  color: var(--ink-soft);
}
.search__icon { flex: none; }
.search__label { font-size: var(--fs-caption); line-height: 1; }

@media (min-width: 62rem) {
  .site-header { padding-block: 1.375rem; }
  .site-header__inner { flex-wrap: nowrap; }
  .nav-toggle { display: none; }
  .site-header .nav { display: flex; flex-basis: auto; align-items: center; gap: 1.75rem; width: auto; }
  .nav__list {
    flex-direction: row;
    align-items: center;
    gap: 1.75rem;
    padding: 0;
    border-top: 0;
  }
  .nav__list a,
  .nav__soon { padding: 0.5rem 0; line-height: 1.2; }
  .wordmark { flex: none; }
  .wordmark__mark { width: 2.875rem; height: 2.875rem; }
  .wordmark__text { font-size: 1.125rem; }
}

@media (min-width: 80rem) {
  /* Das Suchfeld kostet 168 px plus Abstand. Erst ab dieser Breite passt die
     Kopfzeile ohne Beschnitt auf die Satzbreite. */
  .search { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  padding: clamp(2.75rem, 1.9rem + 3.6vw, 5.25rem) var(--gutter)
           calc(var(--hero-overlap) + clamp(1.75rem, 1.4rem + 1.5vw, 3.75rem));
  background: var(--paper);
  overflow: hidden;
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 57.5rem;      /* 920 px */
  margin-inline: auto;
  text-align: center;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-h1);
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.hero__line { display: block; }
/* Wird ausschliesslich von main.js erzeugt und umschliesst dann je eine
   Headline-Zeile. Der Innenabstand haelt Umlautpunkte und Unterlaengen frei,
   der gleich grosse negative Aussenabstand haelt das Layout unveraendert. */
.hero__mask {
  display: block;
  overflow: hidden;
  padding-block: 0.16em;
  margin-block: -0.16em;
}
.hero__lead {
  max-width: 46.25rem;      /* 740 px */
  margin: clamp(1.125rem, 0.9rem + 0.95vw, 1.625rem) auto 0;
  color: var(--ink-soft);
  font-size: var(--fs-lead);
  line-height: 1.55;
  text-wrap: pretty;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: clamp(1.5rem, 1.2rem + 1.3vw, 2.25rem);
}
.hero__illustration {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 0;
  height: clamp(11rem, 5rem + 25vw, 26.875rem);
  pointer-events: none;
}
.hero__waves { width: 100%; height: 100%; }
.hero__waves .wave-1 { fill: var(--wave-1); }
.hero__waves .wave-2 { fill: var(--wave-2); }
.hero__waves .wave-3 { fill: var(--wave-3); }

/* ---------- Aktuelles ---------- */
.aktuelles {
  padding: 0 var(--gutter) clamp(1.75rem, 1.5rem + 1vw, 2.5rem);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.aktuelles__figure {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--measure);
  margin: calc(-1 * var(--hero-overlap)) auto clamp(1.5rem, 1.2rem + 1.3vw, 2.75rem);
  border-radius: var(--r-2xl);
  overflow: hidden;
  /* Eigene Compositing-Ebene: Safari laesst sonst bei animiertem Kind die
     abgerundeten Ecken quadratisch auslaufen. */
  transform: translateZ(0);
  background: var(--line);
}
.aktuelles__img {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 2;
  object-fit: cover;
  /* Bildausschnitt aus dem Layout: das Schloss sitzt im unteren Drittel des
     Originals, deshalb der Versatz nach unten. */
  object-position: center 61%;
}
@media (min-width: 40rem) {
  .aktuelles__img { aspect-ratio: 1248 / 380; }
}
/* Signet des Kreisverbands, im Layout 380 x 380 an der oberen linken Ecke,
   also genau so hoch wie das Bildfeld. */
.aktuelles__signet {
  position: absolute;
  top: 0;
  left: 0;
  /* Im Layout 380 von 1248 px Bildbreite. Ueber die Breite statt ueber die
     Hoehe definiert, damit das Signet auf schmalen Screens nicht das halbe
     Bildfeld einnimmt. */
  width: calc(100% * 380 / 1248);
  height: auto;
  aspect-ratio: 1;
  pointer-events: none;
}
.aktuelles__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.25rem, 1rem + 1.1vw, 2rem);
  width: 100%;
  max-width: var(--measure);
  margin-inline: auto;
}
.aktuelles__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 0.75rem;
}
.tag {
  display: inline-block;
  padding: 0.3125rem 0.5625rem;
  background: var(--alert);
  border-radius: var(--r-sm);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.aktuelles__date {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}
.aktuelles__headline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-h3-news);
  line-height: 1.2;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
.aktuelles__more { flex: none; }

/* ---------- Sektionsgerüst ---------- */
.section { padding: var(--section-y) var(--gutter); }
.section--paper { background: var(--paper); }
.section--white { background: var(--white); }
.section__inner {
  width: 100%;
  max-width: var(--measure);
  margin-inline: auto;
}
.section__head { margin-bottom: var(--stack); }
.section__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-h2);
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.section__lead {
  max-width: 48.75rem;      /* 780 px */
  margin-top: 1.125rem;
  color: var(--ink-soft);
  font-size: var(--fs-lead);
  line-height: 1.55;
  text-wrap: pretty;
}
.section__lead--body {
  max-width: 47.5rem;       /* 760 px */
  font-size: var(--fs-body);
  line-height: 1.6;
}

/* ---------- Aufgaben-Karten ---------- */
.tasks {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  column-gap: 1.25rem;
  row-gap: 2.875rem;
  padding-bottom: 1.5rem;
}
@media (min-width: 46rem) {
  .tasks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.task {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.task__img {
  width: 100%;
  height: clamp(9.5rem, 8.8rem + 3.4vw, 11.875rem);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  object-fit: cover;
}
/* Logo statt Motiv: vollstaendig zeigen, nicht beschneiden. */
.task__img--logo { object-fit: contain; }
.task__body { padding: 1.625rem 1.75rem 3rem; text-align: center; }
.task__title {
  font-size: var(--fs-card);
  font-weight: 600;
  line-height: 1.2;
  text-wrap: balance;
}
.task__text {
  margin-top: 0.5rem;
  color: var(--ink-soft);
  font-size: var(--fs-caption);
  line-height: 1.5;
  text-wrap: pretty;
}
.task__cta {
  position: absolute;
  left: 50%;
  bottom: -1.4375rem;
  display: grid;
  place-items: center;
  width: 2.875rem;
  height: 2.875rem;
  transform: translateX(-50%);
  background: var(--alert);
  border-radius: var(--r-xs);
  color: var(--white);
}

/* ---------- Notdienst ---------- */
.tiles {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  margin-bottom: clamp(1.25rem, 1rem + 1.1vw, 2rem);
}
@media (min-width: 46rem) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.tile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 15.125rem;
  padding: 1.75rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.tile__icon { color: var(--alert); margin-bottom: 0.875rem; }
.tile__icon--ambulance { width: 2.8125rem; height: 1.625rem; }
.tile__title {
  font-size: var(--fs-tile);
  font-weight: 600;
  line-height: 1.2;
}
.tile__text {
  margin-top: 0.875rem;
  color: var(--ink-soft);
  font-size: var(--fs-caption);
  line-height: 1.5;
  text-wrap: pretty;
}
.tile__action { display: flex; }
.tile__action > * { max-width: 100%; }

/* ---------- Geschäftsstelle ---------- */
.office {
  padding: clamp(1.5rem, 1.2rem + 1.3vw, 2.25rem) clamp(1.25rem, 0.9rem + 1.9vw, 2.5rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
}
.office__title {
  margin-bottom: 1.75rem;
  font-size: var(--fs-tile);
  font-weight: 600;
  line-height: 1.3;
}
.office__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem 2.5rem;
}
@media (min-width: 34rem) { .office__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 62rem) { .office__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.office__cell dt {
  margin-bottom: 0.5rem;
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.office__cell dd {
  margin: 0;
  font-size: var(--fs-body);
  line-height: 1.6;
}
.office__cell dd a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.office__cell dd a:hover { color: var(--alert); }

/* ---------- Pitch-Abschluss (Silberschmidt Media) ---------- */
.pitch {
  padding: clamp(3rem, 2.4rem + 2.5vw, 5.25rem) var(--gutter);
  background: var(--ink);
  color: var(--cream);
  --focus: var(--cream);
}
.pitch__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(1.75rem, 1.4rem + 1.5vw, 2.75rem);
  width: 100%;
  max-width: var(--measure);
  margin-inline: auto;
}
@media (min-width: 40rem) {
  .pitch__inner { flex-direction: row; align-items: center; }
}
.pitch__photo { flex: none; }
.pitch__photo img {
  width: 8.25rem;
  height: 8.25rem;
  border-radius: var(--r-xl);
  object-fit: cover;
}
.pitch__photo figcaption {
  margin-top: 0.75rem;
  font-size: var(--fs-ui);
  font-weight: 500;
  line-height: 1.3;
}
.pitch__body { min-width: 0; }
.pitch__eyebrow {
  font-size: var(--fs-ui);
  font-weight: 500;
  line-height: 1.3;
  color: rgba(244, 243, 239, 0.75);
}
.pitch__eyebrow-link {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.pitch__eyebrow-link:hover { color: var(--cream); }
.pitch__title {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-pitch);
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.pitch__lead {
  margin-top: 1rem;
  color: rgba(244, 243, 239, 0.8);
  font-size: var(--fs-lead);
  line-height: 1.55;
}
.pitch__action { margin-top: 1rem; }
.pitch__fine {
  margin-top: 1rem;
  color: rgba(244, 243, 239, 0.6);
  font-size: var(--fs-caption);
  line-height: 1.5;
}

/* ---------- Druck ---------- */
@media print {
  .topbar__actions, .nav, .nav-toggle, .search, .hero__illustration { display: none !important; }
  body { background: #fff; }
  .site-header { position: static; }
}

/* ---------- Sprungziele unter dem klebenden Kopf ----------
   --header-h wird in main.js aus der tatsaechlichen Kopfhoehe nachgefuehrt,
   der Wert hier ist die Rueckfallebene ohne JavaScript. */
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
#inhalt, #aktuelles, #kreisverband, #notdienst, #kontakt {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
@media (min-width: 62rem) { :root { --header-h: 6rem; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
