/* ============================================================
   (C) HYBRID 17.11.2026
   Basis ist B (Vorschau, die dem Arzt gefällt), hier in der aufgeräumten Fassung;
   das Teamfoto als Vollbild steht schon in components.css. Diese Datei ändert nur,
   was B ruhiger macht, ohne es komplizierter zu machen. Aus C: das
   schräge Band und die farbigen Standortköpfe. Ohne diese Datei ist
   die Seite wieder B.
   ============================================================ */

/* ---------- 1 · Überschriften abgestuft statt fünfmal 44 px ---------- */
.hy-standorte .section-header h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3rem); }        /* 32 → 48, wofür man kommt */
#services-heading                 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); }     /* 28 → 40 */
.hy-hinweise .section-header h2   { font-size: clamp(1.5rem, 1.2rem + 1vw, 1.75rem); }     /* 24 → 28, nur Titelstufe */
.hy-hinweise.section              { padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.hy-hinweise .section-header      { margin-bottom: 1.5rem; }

/* ---------- 2 · Schnellinfo: drei Spalten mit Haarlinie statt drei Kästen ---------- */
.quick-info-inner {
  gap: 0;
  background: var(--papier);
  border-radius: var(--radius-l);
  box-shadow: 0 1px 0 var(--tinte-15), 0 10px 30px rgb(var(--tinte-rgb) / 0.06);
}
.quick-info-item {
  border: 0;
  border-radius: 0;
  background: transparent;
}
.quick-info-item + .quick-info-item { box-shadow: inset 1px 0 0 var(--tinte-15); }
.quick-info-icon {
  background: none;
  width: auto;
  height: auto;
  color: var(--rot);
}

/* ---------- 3 · Über uns: kurzer Text, Foto mit Unterschrift ---------- */
.about-image { margin: 0; }
.about-image figcaption {
  margin-top: 0.625rem;
  font-size: var(--text-xs);
  color: var(--tinte-70);
}

/* ---------- 4 · Band aus C: schräg, mit leichtem Verlauf ---------- */
.stats-section {
  position: relative;
  background: linear-gradient(135deg, var(--rot) 0%, rgb(150 44 34) 100%);
  padding-block: clamp(4rem, 7vw, 5.5rem);
  clip-path: polygon(0 clamp(24px, 4vw, 56px), 100% 0, 100% calc(100% - clamp(24px, 4vw, 56px)), 0 100%);
  margin-block: calc(-1 * clamp(12px, 2vw, 28px));
}
.stats-inner { grid-template-columns: minmax(0, 2.2fr) repeat(2, minmax(0, 1fr)); }

/* ---------- 5 · Leistungen: Hierarchie über Schriftgröße (D2), ganze Zeile klickbar ----------
   21.11.2026, nach drei Runden: Kacheln (V1) mochte Korbi nicht, die Liste ohne Kacheln (V2) fand
   Titus „noch schlimmer“, Fotos nicht („diese einfach nicht gut sind bei dem kunden“). Jetzt trägt
   die Schrift: Allgemein- und Kindermedizin groß mit Satz (wie die H1 „Auch für die Kinder“), die
   vier anderen klein mit Symbol. Ab 1200 px die vier in einer Reihe, 769–1199 px zwei mal zwei,
   am Handy alles untereinander. Varianten: Figma 242:2. */
.services-grid { gap: 0; }
.services-grid .service-card,
.services-grid .service-card:last-child {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  column-gap: 1rem;
  row-gap: 0.3rem;
  align-items: center;
  align-content: start;
  grid-column: auto;
  padding: 0.875rem 0.25rem;
  background: none;
  border: 0;
  border-top: 1px solid var(--tinte-15);
  border-radius: 0;
  box-shadow: none;
  transform: none;
}
.services-grid .service-card:last-child { border-bottom: 1px solid var(--tinte-15); }
.services-grid .service-icon { grid-area: 1 / 1; margin: 0; }
.services-grid .service-card h3 { grid-area: 1 / 2; margin: 0; font-size: var(--text-lg); hyphens: manual; transition: color var(--transition); }
.services-grid .service-card p { display: none; }
.services-grid .hy-kartenlink { grid-area: 1 / 3; margin: 0; align-self: center; justify-content: flex-end; }
.services-grid .hy-kartenlink svg { transition: transform var(--transition); }
.services-grid .hy-kartenlink::after { border-radius: 0; }

/* Die zwei Schwerpunkte */
.services-grid .service-card:nth-child(-n+2) { grid-template-columns: minmax(0, 1fr) auto; padding: 1.25rem 0.25rem; }
.services-grid .service-card:nth-child(-n+2) .service-icon { display: none; }
.services-grid .service-card:nth-child(-n+2) h3 { grid-area: 1 / 1; font-size: 1.625rem; }
.services-grid .service-card:nth-child(-n+2) p { display: block; grid-area: 2 / 1; margin: 0; max-width: none; color: var(--tinte-70); font-size: 1rem; }
.services-grid .service-card:nth-child(-n+2) .hy-kartenlink { grid-area: 1 / 2 / 3 / 3; }

@media (min-width: 769px) {
  .services-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 2rem; }
  .services-grid .service-card,
  .services-grid .service-card:last-child { grid-column: span 6; padding: 1.25rem 0.25rem; border-bottom: 0; }
  .services-grid .service-card:nth-child(-n+2) { padding: 2rem 0.25rem 2.25rem; }
  .services-grid .service-card:nth-child(-n+2) h3 { font-size: clamp(2rem, 3.2vw, 2.75rem); }
  .services-grid .service-card:nth-child(-n+2) p { font-size: 1.125rem; margin-top: 0.4rem; }
  .services-grid .service-card:nth-child(n+3) h3 { font-size: 1.125rem; }
  .services-grid .service-card:nth-last-child(-n+2) { border-bottom: 1px solid var(--tinte-15); }
}
@media (min-width: 1200px) {
  .services-grid .service-card:nth-child(n+3) { grid-column: span 3; border-bottom: 1px solid var(--tinte-15); }
}
.service-card { position: relative; transition: border-color var(--transition), transform var(--transition); }
.service-icon {
  background: none !important;
  width: auto !important;
  height: auto !important;
  color: var(--rot);
  margin-bottom: 1rem;
}
.hy-kartenlink {
  font-size: 0;                                  /* Name kommt aus aria-label */
  align-self: flex-end;
  margin-top: auto;
}
.hy-kartenlink svg { width: 18px; height: 18px; }
.hy-kartenlink::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.service-card:focus-within { outline: 2px solid var(--tinte); outline-offset: 3px; }
.hy-kartenlink:focus-visible { outline: none; }
/* Zeile statt Karte: Titel wird rot, Pfeil rückt nach; Rand und Lage bleiben. */
@media (hover: hover) {
  .services-grid .service-card:hover { border-color: var(--tinte-15); transform: none; }
  .services-grid .service-card:hover h3 { color: var(--rot); }
  .services-grid .service-card:hover .hy-kartenlink svg { transform: translateX(4px); }
}
.services-grid .service-card:active h3 { color: var(--rot); }          /* Touch-Entsprechung */

/* ---------- 6 · Standorte: Köpfe in Rot wie in C ---------- */
.location-card-header {
  background: linear-gradient(135deg, var(--rot) 0%, rgb(150 44 34) 100%);
  color: var(--papier);
  box-shadow: none;
}
.location-card-header h3 { color: var(--papier); }
.location-card-header .location-icon-wrapper { background: rgb(var(--papier-rgb) / 0.14); color: var(--papier); }
.location-card-header .location-tag { background: rgb(var(--papier-rgb) / 0.16); color: var(--papier); }

/* Sprechzeiten: Rot nur noch für heute, die anderen Tage in Tinte */
.hours-row:not(.is-today) .zeitband-lauf i { background: rgb(var(--tinte-rgb) / 0.32); }
.hours-row:not(.is-today) .zeitband-lauf i.ist-telefon { background: transparent; box-shadow: inset 0 0 0 1.5px rgb(var(--tinte-rgb) / 0.4); }

/* ---------- 7 · Schlussband: Verlauf wie in C, ohne Kreise ---------- */
.cta-section { background: linear-gradient(135deg, rgb(150 44 34) 0%, var(--rot) 100%); }

/* ---------- 8 · Handy: Status und Telefon im ersten Bildschirm ---------- */
@media (max-width: 640px) {
  .section { padding-block: 3rem; }
  .hero-actions .btn-outline { display: none; }               /* Leistungen stehen im Menü und gleich darunter */
  .hero-visual { height: clamp(340px, 50svh, 440px); margin-bottom: 1rem; }   /* (C) 28.11.: Team größer (Titus: „das team bild größer“); Status bleibt im ersten Bildschirm, das Telefon rückt bei 390 × 844 knapp darunter */
  .quick-info { margin-top: -1.25rem; }
  .quick-info-inner { grid-template-columns: 1fr; }
  .quick-info-item { padding: 0.875rem 1.25rem; }
  .quick-info-item + .quick-info-item { box-shadow: inset 0 1px 0 var(--tinte-15); }
  .quick-info-item:first-child { display: none; }             /* Adresse steht bei den Standorten */
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .stat-item-team { grid-column: 1 / -1; }
}


/* ---------- 8b · Handy-Schleier leichter (28.11.2026) ----------
   Titus: „den fade leichter, weil da sieht man recht wenig“. Vorher deckte der Schleier
   fast das ganze Foto (0,35 noch bei 250 px, aus erst bei 320 px). Jetzt nur das Band der H1,
   darüber frei. Gemessen auf dem hellsten Pixel unter der H1: 5,6 : 1 bei 390 und 430 px,
   5,8 : 1 bei 375 px, 6,0 : 1 bei 320 px (H1 ist große Schrift, Pflicht 3 : 1). Nur Handy: ab 641 px
   ist die H1 höher und läge mit diesem Verlauf bei 4,0 : 1, dort bleibt der alte Schleier. */
@media (max-width: 640px) {
  .hero-visual::after {
    background: linear-gradient(to top,
      rgb(var(--tinte-rgb) / 0.8) 0,
      rgb(var(--tinte-rgb) / 0.7) 150px,
      rgb(var(--tinte-rgb) / 0.25) 190px,
      rgb(var(--tinte-rgb) / 0) 230px);
  }
}

/* ---------- 8c · Anruf je Standort im Hero (02.12.2026) ----------
   Praxis: „die Auswahl Theresienhöhe und Hochstraße weiter oben … direkter Blick findet man oben
   die Telefonnummer“, und: vor jedem Besuch anrufen. Zwei gleichrangige Knöpfe statt „Termin anfragen“
   und „Leistungen entdecken“ (Formular bleibt über Kontakt, Leistungen im Menü). Gleich gefärbt,
   weil es eine Wahl ist, keine Rangfolge. Handy: nebeneinander, ab 359 px abwärts untereinander. */
.hy-anruf-knopf { flex-direction: column; align-items: flex-start; gap: 0.125rem; text-align: left; }
.hy-anruf-ort { font: 600 var(--text-sm) / 1.2 var(--font-body); }
.hy-anruf-nr { display: inline-flex; align-items: center; gap: 0.45rem; font: 700 var(--text-lg) / 1.2 var(--font-body); font-variant-numeric: tabular-nums; }
.hy-anruf-nr svg { flex: none; }
@media (max-width: 768px) {
  .hero-actions.hy-anruf { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
  .hero-actions.hy-anruf .btn { width: auto; min-width: 0; padding: 0.75rem 1rem; }
}
@media (max-width: 429px) {                                   /* 360–429 px: Hörer weg, sonst passt die Nummer nicht neben den Ort */
  .hero-actions.hy-anruf .btn { padding: 0.75rem 0.875rem; }
  .hy-anruf-nr svg { display: none; }
}
@media (min-width: 360px) and (max-width: 374px) {             /* 360 px: Nummer 16 statt 18 px, sonst 4 px zu breit */
  .hero-actions.hy-anruf .btn { padding-inline: 0.75rem; }
  .hy-anruf-nr { font-size: 1rem; }
}
@media (max-width: 359px) {
  .hero-actions.hy-anruf { grid-template-columns: minmax(0, 1fr); }
  .hy-anruf-nr svg { display: inline; }
}
@media (min-width: 769px) {
  .hy-anruf-knopf { min-width: 14.5rem; padding: 0.875rem 1.5rem; }
}

/* ---------- 8d · Sprechzeiten: Zusatz in Klammern darf umbrechen (02.12.2026) ----------
   nowrap aus style.css stammt aus „(Tel.-Sprechstunde)“. „(nachmittags auch Telefonsprechstunde)“ und
   „(nachmittags nur Kindervorsorge)“ liefen am Handy rechts aus der Karte und wurden abgeschnitten. */
.hours-time .closed { white-space: normal; }

/* ============================================================
   UNTERSEITEN (18.11.2026): dieselben Handgriffe wie auf der Startseite
   ============================================================ */

/* ---------- 9 · Hero V1: Verlauf trägt die ganze Textfläche (21.11.2026) ----------
   Vorher lag die erste Zeile der H1 bei 1024–1440 px auf hellen Stellen im Foto
   (ungünstigster Pixel 1,7 : 1). Der Verlauf ist jetzt bis knapp über die H1 dunkel genug
   für 3 : 1 (H1 ist große Schrift) und unter der Unterzeile für 4,5 : 1; er läuft erst darüber aus; die Gesichter oben bleiben frei. */
@media (min-width: 769px) {
  .hero-visual::after {
    background:
      linear-gradient(to top,                       /* (C) 02.12.: Stopps in px ab Unterkante wie am Handy. Mit den */
        rgb(var(--tinte-rgb) / 0.88) 0,              /* zweizeiligen Anrufknöpfen rückte die H1 22 px höher, in % lag */
        rgb(var(--tinte-rgb) / 0.72) 200px,          /* sie dann bei 2,3–2,8 : 1 (1280 × 800 schon vorher 2,9). Jetzt */
        rgb(var(--tinte-rgb) / 0.62) 380px,          /* 4,4–4,9 : 1 von 769 bis 1920 px, Unterzeile ≥ 5,4 : 1, */
        rgb(var(--tinte-rgb) / 0.25) 460px,          /* die Gesichter oben bleiben frei. */
        transparent 540px);
  }
}

/* ---------- 10 · Seitenkopf: Rot mit Verlauf und schräger Unterkante wie das Band ----------
   Die Schräge ist ein Farbdreieck in der Farbe des nächsten Abschnitts,
   kein clip-path und keine Hintergrund-Größe, damit sie auch in Figma ankommt. */
.page-hero {
  --hy-schraeg: clamp(20px, 3.5vw, 48px);
  --hy-danach: var(--papier);
  position: relative;
  background: linear-gradient(135deg, var(--rot) 0%, rgb(150 44 34) 100%);
  padding-bottom: calc(clamp(3rem, 6.5vw, 5rem) + var(--hy-schraeg) * 0.5);
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: var(--hy-schraeg);
  background: linear-gradient(to top left, var(--hy-danach) 50%, transparent calc(50% + 0.5px));
  pointer-events: none;
}
.page-hero:has(+ .section-alt) { --hy-danach: var(--flaeche-neutral); }
@media (max-width: 480px) {
  .page-hero { padding-bottom: calc(2rem + var(--hy-schraeg) * 0.5); }
}

/* ---------- 11 · Icons ohne Kachel, wie bei den Leistungen der Startseite ---------- */
.accordion-icon,
.accordion-item.open .accordion-icon,
.info-box-icon,
.notice-icon,
.download-icon {
  width: 24px;
  height: auto;
  justify-content: flex-start;
  background: none;
  color: var(--rot);
}
@media (max-width: 400px) {
  .accordion-icon, .info-box-icon { width: 24px; height: auto; }
}

/* ---------- 12 · Team: Gesicht und Name ohne Kartenrahmen, Fachrichtung als Textzeile ---------- */
.doctor-card { background: none; border: 0; border-radius: 0; padding: 1rem 0.5rem; }
.doctor-speciality { padding: 0; background: none; color: var(--tinte-70); font-weight: 400; }
.doctor-speciality svg { display: none; }
.doctor-specialities { gap: 0 0.375rem; }
.doctor-specialities .fach-trenner { display: inline; color: var(--tinte-70); }
.doctor-photo { margin-bottom: 0.875rem; }
.doctor-title { margin-bottom: 0.25rem; }
/* Kein Foto vorhanden: ruhige Fläche in Porträtgröße statt Clipart (Foto kommt von der Praxis) */
.hy-ohne-foto { background: var(--flaeche-neutral); box-shadow: inset 0 0 0 1px var(--tinte-15); }
.section-alt .hy-ohne-foto { background: var(--papier); }
.gesicht-initialen { color: transparent; background: rgb(var(--papier-rgb) / 0.16); }

/* ---------- 13 · Ausstattung: Liste mit Haarlinien statt zehn Häkchen-Kästen ---------- */
.equipment-list { column-gap: 2rem; row-gap: 0; }
.equipment-item {
  padding: 0.75rem 0;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: inset 0 -1px 0 var(--tinte-15);
}
.equipment-item svg { display: none; }

/* ---------- 14 · Kontakt: Standortköpfe in Rot wie auf Startseite und Unsere Praxis ---------- */
.contact-location-header {
  background: linear-gradient(135deg, var(--rot) 0%, rgb(150 44 34) 100%);
  color: var(--papier);
  box-shadow: none;
}

/* ---------- 15 · Downloads (21.11.2026): Fragebogen zur Reiseimpfberatung ---------- */
.hy-download .download-card { display: flex; width: 100%; max-width: 34rem; }
.accordion-body-inner .hy-download { margin-top: 1rem; }
.info-banner + .hy-download { margin-top: 1.5rem; }
.info-banner + .hy-download { margin-inline: auto; }
.download-card.ist-folgt { border-style: dashed; cursor: default; }
.download-card.ist-folgt .download-icon { color: var(--tinte-70); }
.download-card:active { border-color: var(--rot); }          /* Touch-Entsprechung */
@media (hover: hover) {
  .download-card:hover { border-color: var(--rot); }
}
