/* =====================================================================
   Hebammengemeinschaft Coburg – Stylesheet
   Version 1.0.0 · Stand 10.10.2026

   Farben, Schriften und Abstände stehen zentral unter :root.
   Eine Änderung dort wirkt auf der ganzen Website.
   Nach Änderungen an dieser Datei bitte in allen HTML-Dateien die
   Versionsnummer hinter "style.css?v=" erhöhen (z. B. 1.0.0 -> 1.0.1),
   damit Besucher sofort die neue Fassung sehen.
   ===================================================================== */

/* ---------- Schriften (lokal eingebunden, keine Verbindung zu Google) ---------- */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-display: swap;
  font-weight: 200 1000;
  src: url('../fonts/nunito-variable-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url('../fonts/source-sans-3-variable-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Gestaltungs-Grundwerte ---------- */
:root {
  /* Farben aus dem Logo */
  --blau: #2E409E;
  --beere: #C03E82;
  --beere-dunkel: #A3306C;
  --pflaume: #74104A;
  --grau: #D3D4D1;

  /* Text */
  --text: #2A3160;
  --text-weich: #4A5180;
  --text-leise: #5A6088;

  /* Flächen und Linien */
  --weiss: #FFFFFF;
  --flaeche-lavendel: #F3F4FA;
  --flaeche-rose: #FBF0F5;
  --linie: #ECEEF7;
  --linie-rose: #F4E6EE;
  --rand-lavendel: #D9DCEE;

  /* Schriften */
  --font-display: 'Nunito', 'Trebuchet MS', system-ui, sans-serif;
  --font-text: 'Source Sans 3', 'Segoe UI', system-ui, -apple-system, sans-serif;

  /* Abstände und Rundungen */
  --seitenrand: clamp(16px, 4vw, 40px);
  --radius-flaeche: clamp(28px, 3.5vw, 48px);
  --radius-karte: 24px;

  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 100px;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--weiss);
  color: var(--text);
  font-family: var(--font-text);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--blau);
  text-wrap: balance;
}
p { margin: 0; }
a { color: var(--blau); }
strong { font-weight: 700; }

:focus-visible {
  outline: 3px solid var(--beere);
  outline-offset: 3px;
  border-radius: 8px;
}

.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--seitenrand);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--weiss);
  font-weight: 600;
}

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--beere-dunkel);
}

.icon-bubble {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--flaeche-rose);
}
.icon-bubble--weiss { width: 44px; height: 44px; background: var(--weiss); }
.icon-bubble--gross { width: 52px; height: 52px; }
.icon-bubble--tipp { width: 48px; height: 48px; background: var(--weiss); }

/* ---------- Kopfzeile ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--linie);
}
.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  padding-block: 12px;
}
.site-header__logo { display: block; line-height: 0; }
.site-header__logo img { height: clamp(40px, 4.4vw, 60px); width: auto; }

.call-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 6px 22px 6px 7px;
  border-radius: 999px;
  background: var(--beere);
  color: var(--weiss);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  box-shadow: 0 6px 18px rgba(192, 62, 130, 0.25);
  transition: background-color 0.2s ease;
}
.call-btn:hover { background: var(--beere-dunkel); }
.call-btn__icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}
.call-btn__text { display: flex; flex-direction: column; line-height: 1.15; }
.call-btn__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
@media (max-width: 359px) {
  .call-btn { font-size: 15px; padding-right: 16px; }
  .call-btn__label { display: none; }
}

/* ---------- Einstieg ---------- */
.hero { padding-block: clamp(40px, 6vw, 88px) clamp(32px, 4vw, 56px); }
.hero__inner { display: flex; flex-direction: column; gap: 24px; }
.hero h1 {
  max-width: 14em;
  font-size: clamp(36px, 4.6vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.hero__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 48px;
}
.hero__lead {
  flex: 1 1 380px;
  min-width: 0;
  max-width: 34em;
  font-size: clamp(18px, 1.6vw, 20px);
  color: var(--text-weich);
}
.address-card {
  flex: 0 1 420px;
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 22px;
  border-radius: 22px;
  background: var(--flaeche-lavendel);
  line-height: 1.5;
}
.address-card svg { flex: 0 0 auto; margin-top: 3px; }
.address-card strong { color: var(--blau); }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.chips a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1.5px solid var(--rand-lavendel);
  color: var(--blau);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.chips a:hover { border-color: var(--blau); background: var(--flaeche-lavendel); }

/* ---------- Abschnitte allgemein ---------- */
.section { padding-block: clamp(20px, 3vw, 40px); }
.sheet {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3vw, 36px);
  padding-inline: clamp(20px, 4vw, 56px);
  padding-block: clamp(36px, 5vw, 64px);
  border-radius: var(--radius-flaeche);
}
.sheet--rose { background: var(--flaeche-rose); }
.sheet--lavendel { background: var(--flaeche-lavendel); }

.section-head { display: flex; flex-direction: column; gap: 10px; max-width: 42em; }
.section-head p:not(.eyebrow) { color: var(--text-weich); }
.h2 { font-size: clamp(30px, 3.2vw, 42px); line-height: 1.12; }

/* ---------- Klinikkoffer ---------- */
.packliste-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}
.fortschritt {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  font-weight: 600;
  color: var(--text-weich);
}
.fortschritt__balken {
  position: relative;
  width: 140px;
  height: 8px;
  border-radius: 999px;
  background: var(--weiss);
  overflow: hidden;
}
.fortschritt__balken span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: 999px;
  background: var(--beere);
  transition: width 0.3s ease;
}
.btn-soft {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1.5px solid #E8CFDD;
  background: var(--weiss);
  color: var(--pflaume);
  font: 600 16px/1 var(--font-text);
  cursor: pointer;
  transition: border-color 0.2s ease;
}
.btn-soft:hover { border-color: var(--beere); }

.packliste { column-width: 420px; column-gap: 20px; }
.gruppe {
  display: inline-block;
  width: 100%;
  margin: 0 0 20px;
  padding: 22px 24px 10px;
  border-radius: var(--radius-karte);
  background: var(--weiss);
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
}
.gruppe h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
  font-size: 19px;
}
.gruppe ul { list-style: none; margin: 0; padding: 0; }
.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-block: 10px;
  border-top: 1px solid var(--linie-rose);
  font-size: 17px;
  line-height: 1.45;
  cursor: pointer;
}
.check input {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--beere);
  cursor: pointer;
}
.check input:checked + span {
  color: var(--text-leise);
  text-decoration: line-through;
  text-decoration-color: rgba(192, 62, 130, 0.55);
}

/* ---------- Eisenversorgung ---------- */
.eisen {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 3vw, 40px);
  padding-block: clamp(48px, 6vw, 88px);
}
.eisen__top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  align-items: end;
  gap: clamp(24px, 4vw, 56px);
}
.eisen__intro { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.eisen__lead {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 1.9vw, 24px);
  line-height: 1.35;
  color: var(--text);
}
.note {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
  padding: 22px 24px;
  border-radius: var(--radius-karte);
  background: var(--flaeche-lavendel);
}
.h3 { font-size: 22px; }

.tipps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tipp {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: 26px;
  border-radius: var(--radius-karte);
  background: var(--flaeche-lavendel);
}
.tipp h4 { font-size: 20px; }

.eisen__bottom {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: 20px;
}
.box {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: 26px 28px;
  border-radius: var(--radius-karte);
}
.box--rand { border: 1.5px solid #E3E5F2; background: var(--weiss); }
.box--rand h3 { font-size: 20px; }
.box--rose { justify-content: center; gap: 8px; background: var(--flaeche-rose); }
.box--rose h3 { font-size: 22px; line-height: 1.3; color: var(--pflaume); }

.punkte { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.punkte li { display: flex; align-items: flex-start; gap: 12px; }
.punkte li::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: 11px;
  border-radius: 50%;
  background: var(--beere);
}
.punkte strong { color: var(--blau); }

/* ---------- Hebammenambulanz ---------- */
.leistungen {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.leistung {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  padding: 20px 22px;
  border-radius: 22px;
  background: var(--weiss);
}
.leistung__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.leistung__titel {
  overflow-wrap: break-word;
  -webkit-hyphens: auto;
  hyphens: auto;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  line-height: 1.3;
  color: var(--blau);
}
.leistung__info { font-size: 16px; line-height: 1.45; color: var(--text-weich); }
@media (max-width: 420px) {
  .leistung { gap: 12px; padding: 16px; }
  .leistung .icon-bubble--gross { width: 44px; height: 44px; }
  .leistung__titel { font-size: 17px; }
}

.hinweis {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  color: var(--text-weich);
}
.hinweis a {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--beere);
  text-decoration: none;
  white-space: nowrap;
}
.hinweis a:hover { text-decoration: underline; }

/* ---------- Kontakt ---------- */
.kontakt-section { padding-block: clamp(20px, 3vw, 40px) clamp(40px, 5vw, 72px); }
.kontakt {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  padding-inline: clamp(20px, 4vw, 56px);
  padding-block: clamp(36px, 5vw, 64px);
  border-radius: var(--radius-flaeche);
  background: var(--blau);
  color: var(--weiss);
}
.kontakt .eyebrow { color: #F6C9E0; }
.kontakt .telefon-card .eyebrow { color: var(--beere-dunkel); }
.kontakt h2 { color: var(--weiss); }
.kontakt__text { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.kontakt__text > p:not(.eyebrow) { max-width: 32em; color: #E4E7F6; }
.kontakt__adresse { display: flex; align-items: flex-start; gap: 14px; padding-top: 6px; line-height: 1.5; }
.kontakt__adresse svg { flex: 0 0 auto; margin-top: 3px; }

.telefon-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: clamp(24px, 3vw, 36px);
  border-radius: 28px;
  background: var(--weiss);
  color: var(--text);
}
.telefon-card__nummer {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.1;
  color: var(--blau);
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.telefon-card__aktionen { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 4px; }
.notruf {
  padding-top: 10px;
  border-top: 1px solid var(--linie);
  font-size: 16px;
  color: var(--text-weich);
}
.notruf strong { color: var(--text); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.btn--beere { background: var(--beere); color: var(--weiss); }
.btn--beere:hover { background: var(--beere-dunkel); }
.btn--rand { border: 1.5px solid #C9CDE8; color: var(--blau); }
.btn--rand:hover { border-color: var(--blau); background: var(--flaeche-lavendel); }

/* ---------- Fußzeile ---------- */
.site-footer { border-top: 1px solid var(--linie); }
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  padding-block: 32px 40px;
}
.site-footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.site-footer__brand img { height: 46px; width: auto; }
.site-footer__copy { font-size: 15px; color: var(--text-leise); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  font-size: 16px;
}
.site-footer nav a[aria-current="page"] { color: var(--beere-dunkel); text-decoration: none; }

/* ---------- Unterseiten (Impressum, Datenschutz, 404) ---------- */
.unterseite { padding-block: clamp(48px, 7vw, 104px); }
.unterseite__inner { display: flex; flex-direction: column; gap: 20px; max-width: 46em; }
.unterseite h1 { font-size: clamp(34px, 4vw, 50px); line-height: 1.1; }
.unterseite h2 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.25; margin-top: 12px; }
.unterseite h3 { font-size: 20px; margin-top: 8px; }
.unterseite ul { margin: 0; padding-left: 1.2em; }
.platzhalter {
  padding: 22px 24px;
  border-radius: 22px;
  background: var(--flaeche-rose);
  font-weight: 600;
  color: var(--pflaume);
}
.zurueck {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  min-height: 44px;
  font-weight: 600;
}

/* ---------- Druck ---------- */
@media print {
  body { font-size: 11pt; background: #fff; }
  .site-header, .skip-link, .no-print, .chips { display: none !important; }
  .sheet, .tipp, .note, .box, .leistung, .gruppe, .address-card { background: #fff !important; border: 1px solid #ddd; }
  .kontakt { background: #fff !important; color: var(--text) !important; border: 1px solid #ddd; }
  .kontakt h2 { color: var(--blau) !important; }
  .kontakt .eyebrow, .kontakt__text > p:not(.eyebrow) { color: var(--text) !important; }
  .kontakt__adresse svg path, .kontakt__adresse svg circle { stroke: var(--blau); }
  .btn, .telefon-card__aktionen { display: none !important; }
  a { text-decoration: none; }

  /* "Packliste drucken": nur den Klinikkoffer ausgeben */
  body.nur-packliste main > *:not(#klinikkoffer),
  body.nur-packliste .site-footer { display: none !important; }
  body.nur-packliste .section { padding: 0; }
  body.nur-packliste .sheet { border: 0; padding: 0; }
  .packliste { column-width: auto; column-count: 2; }
}
