/* ============================================================
   HAUSARZTZENTRUM DR. WERNER – Komponenten
   Wird nach style.css geladen. Tokens stehen dort.
   ============================================================ */

/* ============================================================
   KNÖPFE
   Hover heißt Grund und Text tauschen, ohne Bewegung und ohne Schatten.
   Nur mit Maus; Touch bekommt dasselbe über :active.
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  font: 600 var(--text-sm) / 1.2 var(--font-body);
  border: 2px solid transparent;
  border-radius: var(--radius-s);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--transition-fast),
              color var(--transition-fast),
              border-color var(--transition-fast);
}

.btn-primary {                 /* Papier auf Rot 5,41:1 */
  background: var(--rot);
  color: var(--papier);
  border-color: var(--rot);
}

.btn-outline {                 /* Rot auf Papier 5,41:1 */
  background: transparent;
  color: var(--rot);
  border-color: var(--rot);
}

.btn-white {                   /* Primäraktion auf dem roten CTA-Band */
  background: var(--papier);
  color: var(--rot);
  border-color: var(--papier);
}

.btn-outline-white {
  background: transparent;
  color: var(--papier);
  border-color: var(--papier);
}

.btn-ghost {
  min-height: 44px;
  padding-left: 0;
  padding-right: 0;
  background: transparent;
  color: var(--rot);
  border-color: transparent;
  border-width: 0;   /* sonst 2 px Versatz zur Textkante darüber */
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: var(--text-base);
}

.btn-sm {
  padding: 0.5rem 1rem;
}

.btn-block {
  width: 100%;
}

@media (hover: hover) {
  .btn-primary:hover,
  .btn-outline-white:hover {
    background: var(--papier);
    color: var(--rot);
  }

  .btn-outline:hover,
  .btn-white:hover {
    background: var(--rot);
    color: var(--papier);
  }

  .btn-ghost:hover {
    text-decoration: underline;
    text-underline-offset: 0.2em;
  }
}

.btn-primary:active,
.btn-outline-white:active {
  background: var(--papier);
  color: var(--rot);
}

.btn-outline:active,
.btn-white:active {
  background: var(--rot);
  color: var(--papier);
}

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.4;
  pointer-events: none;
}

/* ============================================================
   HINWEIS-BANNER
   Ein Grund für alle Hinweise; Bedeutung trägt der Text, nicht die Farbe.
   ============================================================ */
.info-banner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--flaeche-rot);
  color: var(--tinte);
  border-radius: var(--radius-l);
}

.info-banner-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--rot);
}

.info-banner-text {
  font-size: var(--text-sm);
  line-height: 1.6;
}

/* Nur die Überschriftszeile umbrechen; ein pauschales strong{display:block}
   zerriss die Notfall-Anweisung („rufen Sie 112 an"). */
.info-banner-text > strong:first-child {
  display: block;
  margin-bottom: 0.2rem;
}

.info-banner.success {
  background: var(--flaeche-neutral);
}

.info-banner.success .info-banner-icon {
  color: var(--tinte);
}

/* Handy: das Symbol steht neben der fetten ersten Zeile, der Text läuft
   darunter über die volle Breite (bei 320 px 232 statt 184 px).
   flow-root hält das umflossene Symbol im Kasten. */
@media (max-width: 480px) {
  .info-banner {
    display: flow-root;
    padding: 1rem 1.25rem;
  }

  .info-banner-icon {
    float: left;
    margin: 0 0.625rem 0.25rem 0;
  }
}

/* ============================================================
   SEKTIONSKOPF
   Grundlayout der Version vom 08.08.2026: H2 und Vorlauf zentriert
   übereinander, der Inhalt darunter. Ohne Kicker, ohne Zierstrich:
   der Kopf ist nur Überschrift und ein Satz.
   ============================================================ */
.section-header {
  max-width: 44rem;
  margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
}

/* Große Schirme: H2 einzeilig statt Waise („Leistungen" allein bei
   1440 px). Der Vorlauf bleibt so breit wie bisher: 34em sind bei 22 px
   Vorlauf 748 px, gedeckelt auf die 44rem (704 px) des früheren Kopfs. */
@media (min-width: 1200px) {
  .section-header {
    max-width: 52rem;
  }
}

.section-header h2 {
  display: block;
  margin: 0;
}

.section-header p {
  max-width: min(34em, 44rem);
  margin: 1rem auto 0;
  font-size: var(--text-lead);
  line-height: 1.55;
  color: var(--tinte-70);
}

/* Informative Rubrik direkt nach der H2 (Adresse des Standorts).
   Normale Schreibung, keine Sperrung. */
.section-meta,
.section-header .section-meta {
  margin: 0.5rem auto 0;
  font-size: var(--text-sm);
  font-weight: 400;
  line-height: 1.4;
  color: var(--tinte-70);
}

/* ============================================================
   RASTER
   ============================================================ */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ============================================================
   HERVORHEBUNG („Klartext") UND LISTEN
   ============================================================ */
.highlight-box {
  padding: clamp(1.5rem, 4vw, 2rem);
  background: var(--flaeche-rot);
  border-radius: var(--radius-l);
}

/* Auf dem beigen Band las sich der rosa Kasten als Fleck, und Rosa trägt
   auf derselben Seite schon den Warnhinweis. Papier mit neutraler
   Haarlinie wie die Info-Boxen (Haarlinie, kein farbiger Randstreifen). */
.section-alt .highlight-box {
  background: var(--papier);
  border: 1px solid var(--tinte-15);
}

.icon-list {
  display: grid;
  gap: 0.75rem;
  list-style: none;
}

.icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--tinte);
}

/* Im Klartext-Kasten trennen Haarlinien die Aussagen. */
.highlight-box .icon-list {
  gap: 0;
}

.highlight-box .icon-list li {
  padding: 0.875rem 0;
  border-top: 1px solid var(--tinte-15);
}

.highlight-box .icon-list li:first-child {
  padding-top: 0;
  border-top: 0;
}

.highlight-box .icon-list li:last-child {
  padding-bottom: 0;
}

/* ============================================================
   ABLAUF-SCHRITTE
   ============================================================ */
.steps {
  display: grid;
  gap: 1.25rem;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: var(--rot);
  color: var(--papier);
  font-size: var(--text-sm);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.step-content h3 {
  margin-bottom: 0.25rem;
  font-size: var(--text-lg);
  line-height: 1.3;
}

/* Lesespalte ≤ 75 Zeichen (bei 768 px liefen es sonst ~95). 33em wie
   Akkordeon und Rechtstext; 36em ließ noch 84 Zeichen stehen (gemessen). */
.step-content p {
  max-width: 33em;
  margin: 0;
  font-size: var(--text-sm);
  color: var(--tinte);
}

/* ============================================================
   HILFSKLASSEN (nur die benutzten)
   ============================================================ */
.text-center { text-align: center; }

/* Eine schmale Spalte für alles Einspaltige (Banner, Karten-Paar,
   Schritte, Klartext): gleiche linke Kante wie FAQ und Akkordeon.
   Ersetzt die Inline-Breiten 720/800 px im HTML; margin 0 auto wie dort
   (das Banner verliert so seinen Außenabstand unten, wie bisher). */
.spalte {
  max-width: 800px;
  margin: 0 auto;
}

/* Text-Umbruch ohne Ausbalancieren: ein gesetztes &shy; wird nur
   genutzt, wenn das Wort sonst nicht passt. */
.text-pretty { text-wrap: pretty; }

/* Doppelnamen nicht am Bindestrich trennen. */
.nobr { white-space: nowrap; }

/* 404: zwei Knöpfe nebeneinander, mobil untereinander. */
.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   HANDY KOMPAKT (09.10.2026)
   Titus: „zu viel Text … man scrollt sich vor allem auf mobile tot".
   Gemessen 390 × 844: Start 10,0 / Praxis 11,6 Bildschirme bei nur
   ~450 Wörtern. Die Länge kam aus gestapelten Karten, doppelten
   Blöcken und dem Fuß, nicht aus den Wörtern. Kein Wort ist
   umgeschrieben; am Handy wird gebündelt, Desktop bleibt.
   ============================================================ */

/* Umschalter für die zwei Standorte (baut main.js, nur ≤ 768 px sichtbar). */
.standort-reiter {
  display: none;
}

@media (max-width: 768px) {
  /* ── Abstände ── */
  .section {
    padding: 2.5rem 0;
  }

  .section-header {
    margin-bottom: 1.75rem;
  }

  /* ── Fuß: Kontakt und Rechtliches. Die zweite Navigation und die
     Beschreibung entfallen (Menü oben hat dieselben Ziele). ── */
  .site-footer {
    padding-top: 2.5rem;
  }

  .footer-inner {
    gap: 1.25rem;
    padding-bottom: 1.5rem;
  }

  .footer-inner > div:has(.footer-links),
  .footer-description {
    display: none;
  }

  .footer-logo .logo-subtitle {
    margin-bottom: 0;
  }

  .footer-heading {
    margin-bottom: 0.25rem;
  }

  /* ── Leistungen (Startseite): eine Zeile je Leistung, die ganze Zeile
     ist der Link. Der Anrisstext steht vollständig auf der Leistungsseite. ── */
  .services-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.625rem;
  }

  .service-card,
  .service-card:last-child {
    position: relative;
    grid-column: auto;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 24px;
    align-items: center;
    column-gap: 1rem;
    padding: 0.75rem 1rem;
  }

  .service-card .service-icon {
    margin: 0;
  }

  .service-card h3 {
    margin: 0;
    font-size: var(--text-lg);
  }

  .service-card p {
    display: none;
  }

  /* Sichtbar bleibt der Pfeil; der Name kommt aus aria-label. */
  .service-card .service-link {
    justify-content: flex-end;
    margin: 0;
    font-size: 0;
  }

  .service-card .service-link::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-l);
  }

  .service-card .service-link:focus-visible {
    outline: none;
  }

  .service-card:has(.service-link:focus-visible) {
    outline: 3px solid var(--fokus);
    outline-offset: 2px;
  }

  /* ── Standorte: Umschalter statt zwei langer Karten untereinander ── */
  .ist-reiter .standort-reiter {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    padding: 4px;
    background: var(--papier);
    border: 1px solid var(--tinte-15);
    border-radius: calc(var(--radius-s) + 4px);
  }

  .standort-reiter-knopf {
    min-height: 44px;
    padding: 0.5rem 0.75rem;
    background: transparent;
    border: 0;
    border-radius: var(--radius-s);
    color: var(--tinte);
    font-size: var(--text-sm);
    font-weight: 600;
    line-height: 1.25;
    cursor: pointer;
    transition: background-color var(--transition-fast), color var(--transition-fast);
  }

  .standort-reiter-knopf[aria-selected="true"] {
    background: var(--rot);
    color: var(--papier);
  }

  .standort-reiter-knopf:focus-visible {
    outline-offset: -3px;
  }

  .ist-reiter > .location-card:not(.ist-gewaehlt),
  .ist-reiter > .contact-location-card:not(.ist-gewaehlt),
  .ist-reiter > .location-map-wrapper:not(.ist-gewaehlt) {
    display: none;
  }

  .locations-grid.ist-reiter,
  .contact-info-group.ist-reiter,
  .grid-2.ist-reiter {
    gap: 0.75rem;
  }

  /* Standortkarte im Reiter: Die Straße steht im Reiter direkt darüber
     und in der Adresszeile. Inhalt am Handy ausgeblendet: die H3 bleibt
     für Vorleser, sichtbar bleibt ein schmaler Streifen mit „Hauptpraxis"
     bzw. „Filiale". (kontakt.html hat h3.contact-location-header, dort
     greift das nicht – gewollt.) */
  .ist-reiter .location-card-header {
    padding: 0.75rem 1.25rem;
  }

  .ist-reiter .location-icon-wrapper {
    display: none;
  }

  .ist-reiter .location-card-header h3 {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  /* Kontakt „So finden Sie uns": der Straßenname steht schon im Reiter
     direkt darüber. Die H3 bleibt für Vorleser, sichtbar bleiben
     „Hauptpraxis · 94405 …" und der Google-Maps-Knopf. */
  .ist-reiter .location-map-title {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  /* ── Kontaktformular: der Kasten „Für dringende Anliegen rufen Sie bitte
     an" wiederholt das Banner über dem Formular und die Anrufleiste.
     Am Handy ausgeblendet, ab 769 px sichtbar (Wortlaut bleibt im HTML). ── */
  .contact-form .form-note {
    display: none;
  }

  /* ── Teams: schlanke Zeilen statt 21 Karten ── */
  .team-grid {
    display: block;
  }

  .team-grid > .doctor-card,
  .doctor-card {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 0.875rem;
    align-items: center;
    padding: 0.625rem 0;
    text-align: left;
    background: none;
    border: 0;
    border-bottom: 1px solid var(--tinte-15);
    border-radius: 0;
  }

  .team-grid > .doctor-card:last-child {
    border-bottom: 0;
  }

  .doctor-photo {
    grid-column: 1;
    grid-row: 1 / -1;
    width: 52px;
    height: 52px;
    margin: 0;
  }

  .doctor-name {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    font-size: var(--text-base);
  }

  /* Rolle und Fachrichtung in einer Zeile. */
  .doctor-title {
    grid-column: 2;
    grid-row: 2;
    margin: 0;
  }

  .doctor-card:has(.doctor-speciality) {
    grid-template-rows: auto auto auto;
  }

  /* Fachrichtung als ruhige Textzeile wie die Rolle der MFA, nicht als
     achtmal derselbe rote Chip (tinte-70 auf Papier ≈ 5,7:1). */
  .doctor-speciality {
    grid-column: 2;
    grid-row: 3;
    justify-self: start;
    margin-top: 0;
    padding: 0;
    background: none;
    color: var(--tinte-70);
    font-weight: 400;
    line-height: 1.45;
  }

  .doctor-speciality svg {
    display: none;
  }

  /* Zwei Fachrichtungen (Dr. Werner): eine Zeile mit dem Original-Trenner. */
  .doctor-card > .doctor-specialities {
    grid-column: 2;
    grid-row: 3;
    justify-self: start;
    display: block;
    font-size: var(--text-xs);
    line-height: 1.45;
    color: var(--tinte-70);
  }

  .doctor-specialities .doctor-speciality,
  .doctor-specialities .fach-trenner {
    display: inline;
  }

  /* Die Adresse steht wörtlich im Vorlauf direkt darunter. Inhalt am
     Handy ausgeblendet (Wiederholung); ab 769 px sichtbar. */
  .section-header .section-meta {
    display: none;
  }

  .team-photo-wrapper {
    margin-bottom: 1rem;
  }
}

/* Ausstattung (Häkchen-Liste mit Haarlinien statt Kästen) steht
   vollständig in style.css (≤ 1199 px, einspaltig < 600 px). */

/* ── Leistungszeilen bis 400 px: schmalere Kachel, breitere Titelspalte.
   Bei 320 px brachen vier von fünf Titeln um („Allgemein-/medizin");
   so sind es 168 statt 138 px, nur „Diagnostik & Therapie" bricht noch,
   an der Leerstelle. Die H3 bleibt 18 px (größer als der Fließtext).
   Die 36-px-Kachel ist kein Tippziel, das ist die ganze Zeile (::after).
   Muss nach dem 768er-Block stehen (gleiche Spezifität). ── */
@media (max-width: 400px) {
  .service-card,
  .service-card:last-child {
    grid-template-columns: 36px minmax(0, 1fr) 16px;
    column-gap: 0.75rem;
    padding: 0.75rem 0.875rem;
  }

  .service-card .service-icon {
    width: 36px;
    height: 36px;
  }

  .service-card .service-icon svg {
    width: 22px;
    height: 22px;
  }

  /* Standort-Reiter einzeilig: bis 400 px brachen „Theresienhöhe / 46"
     und „Hochstraße / 22" um (56 statt 44 px hoch, Nummer allein). */
  .standort-reiter-knopf {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
    font-size: var(--text-xs);
    white-space: nowrap;
  }
}

/* ── Tablet 600–768 px: Teams und Leistungen zweispaltig statt Zeilen
   über 720 px, deren Text nach ~300 px endete. Anrisstexte und
   Fuß-Navigation bleiben wie am Handy ausgeblendet. ── */
@media (min-width: 600px) and (max-width: 768px) {
  .team-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 2rem;
  }

  /* Letzte Reihe ohne Unterlinie. Bewusst nicht :nth-last-child(-n+2):
     bei fünf Karten stünde unter der vierten noch die fünfte. */
  .team-grid > .doctor-card:nth-last-child(2):nth-child(odd) {
    border-bottom: 0;
  }
}

/* Leistungen erst ab 680 px zweispaltig: bei 600 px blieben je Zeile nur
   137 px für den Titel, vier von fünf brachen wieder um (gemessen). Ab
   680 px sind es ≥ 177 px. */
@media (min-width: 680px) and (max-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ============================================================
   GLOBALE BAUSTEINE (Audit 10.10.2026)
   Steht bewusst am Dateiende: gleiche Spezifität wie die Grundregeln in
   style.css und im Block HANDY KOMPAKT, gewinnt also durch die Reihenfolge.
   ============================================================ */

/* ── Rotes Seitenkopf-Band am Handy: straffer, Band bleibt rot und mittig.
   Bei 320 px stand auf gewichtsreduktion unter dem Band keine Zeile Inhalt
   (477 px Band bei 640 px Bildschirm). 30 px H1: „Leistungsspektrum",
   „Gewichtsreduktion" und „Patienteninformationen" (390) ohne Trennung. ── */
@media (max-width: 480px) {
  .page-hero {
    padding: 1.75rem 0 2rem;
  }

  .page-hero h1 {
    font-size: 1.875rem;
    margin-bottom: 0.5rem;
  }

  .page-hero p {
    font-size: var(--text-base);
    line-height: 1.5;
  }

  .breadcrumb {
    margin-bottom: 0.25rem;
  }
}

@media (max-width: 768px) {
  /* ── Sektionskopf am Handy: H2, Rubrik und Vorlauf linksbündig an der
     Inhaltskante, Vorlauf in Fließtextgröße. Ein Kopf, eine Achse; der
     Inhalt darunter (Banner, Karten, Listen) fluchtet ebenfalls links.
     Ab 769 px bleibt der Kopf zentriert (Grundlayout). Das rote
     Seitenkopf-Band ist kein Sektionskopf und bleibt mittig. ── */
  .section-header {
    max-width: none;
    text-align: left;
  }

  .section-header p,
  .section-header .section-meta {
    margin-left: 0;
    margin-right: 0;
  }

  .section-header p:not(.section-meta) {
    font-size: var(--text-base);
    line-height: 1.6;
    text-wrap: pretty;
  }

  /* ── CTA-Band im Rhythmus der übrigen Sektionen (vorher 64 px Polster) ── */
  .cta-section {
    padding: 3rem 0;
  }

  /* balance: bei 17 px stand auf patienteninfo „E-Mail." allein in Zeile 2. */
  .cta-section p {
    font-size: var(--text-base);
    margin-bottom: 1.75rem;
    text-wrap: balance;
  }

  /* ── Fuß: das Logo steht wörtlich im klebenden Kopf darüber, der Name
     in der ©-Zeile. Inhalt am Handy ausgeblendet (Wiederholung). ── */
  .site-footer .footer-logo {
    display: none;
  }
}

/* ── 404: Knöpfe und Telefonzeile auf der Achse des Seitenkopfs; am Handy
   gestapelt und vollbreit wie im CTA-Band. ── */
.not-found-actions {
  justify-content: center;
}

@media (max-width: 640px) {
  .not-found-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .not-found-actions .btn {
    width: 100%;
  }
}

/* Kurze Seite (nur die 404): Fuß bis an den unteren Rand, kein
   Papierstreifen darunter. Über :has nur dort, body bleibt sonst Block. */
body:has(.not-found-actions) {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

body:has(.not-found-actions) > main {
  flex: 1 0 auto;
}

/* (C) 17.11.2026 Aufräumen: Notrufnummern sind kein Link mehr (Regel), Farbe und Gewicht bleiben */
.nr-notfall { font-weight: 700; color: var(--error); }
.nr-bereit { font-weight: 700; color: var(--primary); }

/* (C) 17.11.2026 Aufräumen ohne neues Aussehen (Audit erster Entwurf) */
/* Inline-Styles als Klassen, gleiche Werte */
.is-stand, .legal-content .is-stand { margin-top: 2rem; font-size: var(--text-sm); color: var(--tinte-70); }
.is-leise { color: var(--tinte-70); }
.is-pflicht { color: var(--rot); }
.is-fussnote { font-size: var(--text-xs); color: var(--tinte-70); margin-top: 1rem; text-align: center; }
.is-kartenhinweis { color: var(--tinte-70); font-size: var(--text-sm); text-align: center; margin: 0; }
.is-klein-leise { font-size: var(--text-sm); color: var(--tinte-70); }
.is-abstand { margin-top: 1rem; }
.is-klein { font-size: var(--text-sm); color: var(--tinte); }
.is-betont { font-weight: 600; color: var(--rot); }
/* Umbrüche: keine Kurzzeile am Ende */
.hero-subline { text-wrap: balance; }
@media (min-width: 769px) { .section-header p:not(.section-meta), .page-hero p { text-wrap: balance; } }
/* MFA-Karten: keine reservierte zweite Namenszeile, nur bei den Ärzten */
@media (min-width: 769px) { .doctor-name { min-height: 0; } .team-grid:has(.doctor-speciality) .doctor-name { min-height: 2.6em; } }
@media (min-width: 1200px) {
  .team-grid > .doctor-card:first-child:nth-last-child(5),
  .team-grid > .doctor-card:first-child:nth-last-child(5) ~ .doctor-card { padding-left: .75rem; padding-right: .75rem; }
}
/* Hinweis-Kachel am kleinen Handy wie die Leistungskacheln */
@media (max-width: 400px) { .notice-item { grid-template-columns: 36px minmax(0, 1fr); column-gap: .75rem; } .notice-icon { width: 36px; height: 36px; } }
/* Kasten-Innenrand wie .info-box */
.highlight-box { padding: clamp(1.5rem, 3vw, 2rem); }
@media (max-width: 400px) { .highlight-box { padding: 1.25rem; } }
@media (max-width: 374px) { .info-box-header { gap: .5rem; } }
/* Unterstreichung endet am Wort, Pfeil bleibt an seinem Platz */
.accordion-body-inner .service-link svg { margin-left: .6rem; }
/* Leere Fußspalte am Handy erzeugt keinen Abstand */
@media (max-width: 768px) { .footer-inner > div:has(> .footer-logo) { display: none; } }
/* Fußkopf ist jetzt h2 (Reihenfolge), Zeilenhöhe wie vorher */
.footer-heading { line-height: 1.3; }
/* Touch: Druck-Zustand wie Hover */
.hamburger:active { background: var(--flaeche-rot); }
.mobile-nav-close:active { background: var(--flaeche-rot); color: var(--rot); }
.site-footer a:active { color: var(--papier); text-decoration: underline; }
.nav-link:active { color: var(--rot); }

/* (C) 17.11.2026 Hero V1 „Vollbild“ (Titus: „V1 schon am besten“, Fassung aus (C) Hybrid 2026-11-17):
   Teamfoto über die ganze Breite, Satz und Knöpfe unten links auf dem Foto. Nur ab 769 px. */
@media (min-width: 769px) {
  .hero { padding: 0 0 clamp(4.5rem, 8vw, 7rem); }
  .hero-inner { max-width: none; padding: 0; grid-template-columns: minmax(0, 1fr); }
  .hero-visual { grid-column: 1; grid-row: 1; aspect-ratio: auto; height: min(80svh, 760px); min-height: 520px; border-radius: 0; }
  .hero-visual img { object-position: 60% 32%; }
  .hero-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgb(var(--tinte-rgb) / 0.88) 0%, rgb(var(--tinte-rgb) / 0.62) 30%, rgb(var(--tinte-rgb) / 0.12) 55%, transparent 70%), linear-gradient(to right, rgb(var(--tinte-rgb) / 0.45) 0%, transparent 55%); }
  .hero-content { grid-column: 1; grid-row: 1; align-self: end; z-index: 1; width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 max(1.5rem, env(safe-area-inset-left)) clamp(5.5rem, 8vw, 7rem); color: var(--papier); }
  .hero h1 { color: var(--papier); max-width: none; font-size: clamp(2.25rem, 4vw, 3.25rem); margin-bottom: 1rem; }
  .hero h1 .highlight, .hero-subline { color: var(--papier); }
  .hero-subline { margin-bottom: 1.5rem; }
  .hero-actions .btn { flex: 0 0 auto; }
  .hero-actions .btn-outline { color: var(--papier); border-color: rgb(var(--papier-rgb) / 0.8); background: transparent; }
}
