/* Hubertus Apotheke – Stylesheet
   Farben aus dem Original-Logo (gemessen): Hellblau #9DD4FB, Gelb #FDE873, Weiß, Schwarz im Logo.
   Dunkelblau #0B2A4A nur für Schrift und Kontraste. Kein Grün. */

@font-face { font-family: "Figtree"; font-weight: 400; font-display: swap; src: url("/assets/fonts/figtree-400.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 600; font-display: swap; src: url("/assets/fonts/figtree-600.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 700; font-display: swap; src: url("/assets/fonts/figtree-700.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 800; font-display: swap; src: url("/assets/fonts/figtree-800.woff2") format("woff2"); }

:root {
  --hellblau: #9DD4FB;      /* Logo */
  --gelb: #FDE873;          /* Logo */
  --weiss: #FFFFFF;
  --dunkelblau: #0B2A4A;    /* Schrift */
  --nebentext: #2C4560;
  --flaeche: #EAF6FE;
  --rahmen: #D6ECFB;
  --radius: 20px;
  --breite: 1200px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Figtree", system-ui, sans-serif; font-size: 17px; line-height: 1.5; color: var(--dunkelblau); background: var(--weiss); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--dunkelblau); }
a:hover { color: #1F4E7A; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--dunkelblau); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { line-height: 1.12; font-weight: 800; margin: 0; }
p { margin: 0; }

.container { width: 100%; max-width: var(--breite); margin: 0 auto; padding-inline: 32px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--weiss); padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; }
.platzhalter { background: #FFF6C4; color: var(--dunkelblau); border-radius: 4px; padding: 0 3px; font-weight: 600; }

/* Rahmen: Seite füllt den Bildschirm, Fußzeile unten */
.seite-rahmen { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.hauptteil { flex: 1 0 auto; }

/* Kopf */
.kopf-bereich { background: var(--hellblau); }
.kopf { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 8px; }
.logo-link img { width: 96px; height: 96px; }
.hauptnav { display: flex; flex-wrap: wrap; gap: 6px 26px; font-size: 17px; font-weight: 600; }
.hauptnav a { text-decoration: none; padding-block: 6px; }
.hauptnav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--gelb); text-decoration-thickness: 4px; text-underline-offset: 7px; }
.menue { display: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 700; font-size: 17px; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; }
.btn--gelb { background: var(--gelb); color: var(--dunkelblau); }
.btn--weiss { background: var(--weiss); color: var(--dunkelblau); }
.btn--hell { background: var(--hellblau); color: var(--dunkelblau); }
.btn--dunkel { background: var(--dunkelblau); color: var(--weiss); }
.btn--dunkel:hover { color: var(--weiss); background: #163E66; }
.btn--gelb:hover { background: #FBE05A; color: var(--dunkelblau); }

/* Startseite */
.start-titel { padding-top: 6px; font-size: clamp(26px, 3.6vw, 48px); white-space: nowrap; }
.start-oben { display: flex; flex-wrap: wrap; gap: 28px; padding-block: 14px 22px; }
.start-text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.start-text .lead { font-size: 20px; max-width: 560px; }
.knopfreihe { display: flex; flex-wrap: wrap; gap: 12px; }
.aktuell-pille { align-self: flex-start; display: inline-flex; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--weiss); font-size: 15px; font-weight: 700; text-decoration: none; }
.start-karten { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.karte { background: var(--weiss); border-radius: 22px; padding: 14px 22px; }
.heute { display: flex; flex-direction: column; gap: 6px; }
.heute-zeit { font-size: 20px; font-weight: 700; }
.badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px; border-radius: 999px; background: var(--gelb); font-weight: 700; font-size: 15px; }
.badge::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--dunkelblau); }
.badge--zu { background: var(--flaeche); }
.rezept-karte { display: flex; align-items: center; gap: 18px; }
.qr { flex: 0 0 auto; width: 88px; height: 88px; }
.qr svg { width: 100%; height: 100%; }
.qr--leer { border: 2px dashed var(--hellblau); border-radius: 14px; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 12px; font-weight: 600; color: var(--nebentext); padding: 6px; }
.rezept-karte p { font-size: 15px; color: var(--nebentext); }

/* Leistungs-Kacheln */
.abschnitt { padding-block: 20px 18px; }
.abschnitt-kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.abschnitt-kopf h2 { font-size: 26px; }
.kacheln { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.kachel { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; border-radius: var(--radius); border: 1.5px solid var(--rahmen); text-decoration: none; hyphens: manual; }
.kachel:hover { border-color: var(--hellblau); background: #F6FBFF; color: var(--dunkelblau); }
.kachel-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--hellblau); display: flex; align-items: center; justify-content: center; }
.kachel-titel { font-size: 18px; font-weight: 700; line-height: 1.25; }
.kachel-text { font-size: 15px; line-height: 1.4; color: var(--nebentext); }

/* Unterseiten */
.seiten-kopf { padding-block: 10px 22px; display: flex; flex-direction: column; gap: 10px; }
.seiten-kopf h1 { font-size: clamp(28px, 3.2vw, 40px); }
.seiten-kopf .lead { font-size: 18px; max-width: 820px; }
.brotkrumen { font-size: 15px; font-weight: 600; }
.zweispaltig { display: flex; flex-wrap: wrap; gap: 24px; padding-block: 20px; }
.spalte-haupt { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.spalte-neben { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.spalte-haupt h2 { font-size: 24px; }
.schritte { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.schritte li { display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: 18px; background: var(--flaeche); }
.schritt-nr { width: 38px; height: 38px; border-radius: 50%; background: var(--hellblau); display: flex; align-items: center; justify-content: center; font-weight: 800; }
.schritte span:last-child { font-size: 15px; color: var(--nebentext); }
.infokasten { border-radius: var(--radius); border: 1.5px solid var(--rahmen); padding: 18px 22px; display: flex; flex-direction: column; gap: 8px; font-size: 16px; }
.terminkasten { border-radius: var(--radius); background: var(--gelb); padding: 18px 22px; display: flex; flex-direction: column; gap: 10px; }
.terminkasten strong { font-size: 19px; }
.text-link { font-weight: 700; }
.fliesstext { max-width: 760px; display: flex; flex-direction: column; gap: 14px; }
.fliesstext h2 { font-size: 22px; margin-top: 10px; }
.fliesstext ul, .fliesstext ol { margin: 0; padding-left: 22px; }
.zweispaltig-text { max-width: var(--breite); display: block; columns: 2 420px; column-gap: 48px; }
.zweispaltig-text > * { break-inside: avoid; margin-bottom: 10px; }
.zweispaltig-text h2 { margin-top: 18px; break-after: avoid; }
.zweispaltig-text > h2:first-child { margin-top: 0; }

/* Tabellen (Öffnungszeiten) */
.zeiten { border-collapse: collapse; width: 100%; max-width: 520px; font-size: 18px; }
.zeiten th, .zeiten td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--rahmen); }
.zeiten tr.ist-heute { background: #FFF6C4; font-weight: 700; }

/* Formular */
.formular { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; max-width: 640px; }
.formular > .breit { grid-column: 1 / -1; }
.formular label { font-weight: 700; display: block; margin-bottom: 4px; }
.formular input, .formular textarea { width: 100%; font: inherit; padding: 10px 14px; border: 1.5px solid #9AB6CC; border-radius: 12px; }
.formular .checkbox { font-weight: 400; display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.formular .checkbox input { width: 22px; height: 22px; margin-top: 2px; flex: 0 0 auto; }
.formular .hinweis { font-size: 15px; background: var(--flaeche); padding: 12px 14px; border-radius: 12px; }
.honig { position: absolute; left: -9999px; }
.meldung { padding: 14px 18px; border-radius: 14px; background: var(--gelb); font-weight: 700; }

/* Beiträge */
.beitraege { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.beitrag { border: 1.5px solid var(--rahmen); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.beitrag-datum { font-size: 14px; font-weight: 700; }

/* Fußzeile */
.fuss { background: var(--hellblau); }
.fuss-zeile { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-block: 14px; font-size: 15px; }
.fuss-links { display: flex; flex-wrap: wrap; gap: 6px 20px; font-weight: 600; }

/* Schnellleiste nur auf dem Smartphone */
.schnellleiste { display: none; }

/* ---------- Tablet ---------- */
@media (max-width: 1080px) {
  .hauptnav--gross { display: none; }
  .menue { display: block; position: relative; margin-left: auto; }
  .menue summary { list-style: none; width: 48px; height: 48px; border-radius: 50%; background: var(--weiss); display: flex; align-items: center; justify-content: center; cursor: pointer; }
  .menue summary::-webkit-details-marker { display: none; }
  .hauptnav--mobil { position: absolute; right: 0; top: 56px; z-index: 20; background: var(--weiss); border-radius: 18px; box-shadow: 0 12px 30px rgba(11,42,74,.18); padding: 10px 18px; flex-direction: column; gap: 0; min-width: 240px; }
  .hauptnav--mobil a { padding: 12px 0; border-bottom: 1px solid var(--rahmen); }
  .hauptnav--mobil a:last-child { border-bottom: 0; }
}

/* ---------- Tablet quer / kleine Laptops ---------- */
@media (min-width: 900px) {
  .startseite .kacheln { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .schritte { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 701px) and (max-height: 800px) {
  .start-oben { padding-block: 10px 16px; gap: 20px; }
  .start-titel { padding-top: 2px; }
  .karte { padding: 12px 20px; }
  .kachel { padding: 12px 14px; }
  .kachel-text { font-size: 14px; }
  .seiten-kopf { padding-block: 6px 16px; }
  .zweispaltig { padding-block: 14px; }
}

@media (min-width: 701px) and (max-width: 1080px) {
  .start-text { gap: 8px; }
  .aktuell-pille { padding: 4px 12px; font-size: 14px; }
  .logo-link img { width: 78px; height: 78px; }
  .kopf { padding-block: 2px; }
  .start-oben { padding-block: 10px 16px; }
  .abschnitt { padding-block: 14px 12px; }
}

/* Karriere */
.stellen { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
.stellen li { background: var(--flaeche); border-left: 5px solid var(--gelb); border-radius: 10px; padding: 12px 16px; font-size: 18px; }

.stellen-hinweis { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 18px; border-radius: 999px; background: var(--gelb); text-decoration: none; font-size: 15px; }
@media (max-width: 700px) {
  .stellen-hinweis { padding: 7px 14px; font-size: 14px; }
  .haltung + .stellen-hinweis, .spalte-neben { gap: 8px; }
}
@media (min-width: 701px) and (max-width: 1080px) {
  .fuss-zeile > span:first-child { display: none; }
}

.terminkasten .email, .terminkasten .email a { overflow-wrap: anywhere; }
@media (max-width: 700px) {
  .terminkasten.bewerbung { display: flex; padding: 12px 16px; gap: 6px; font-size: 15px; }
  .terminkasten.bewerbung strong { font-size: 16px; }
  .stellen { gap: 6px; margin-bottom: 8px; }
  .stellen li { font-size: 16px; padding: 8px 12px; }
}

/* Haltung mit Logo (Seite „Unsere Apotheke“) */
.haltung { display: flex; align-items: center; gap: 24px; }
.haltung-logo { width: 130px; height: 130px; flex: none; border-radius: 50%; }
@media (max-width: 700px) {
  .haltung { display: block; }
  .haltung-logo { width: 64px; height: 64px; float: left; margin: 2px 12px 4px 0; }
  .haltung::after { content: ""; display: block; clear: both; }
}

/* ---------- Smartphone ---------- */
@media (max-width: 700px) {
  body { font-size: 16px; padding-bottom: 82px; }
  .seite-rahmen { min-height: calc(100dvh - 82px); }
  .formular { grid-template-columns: 1fr; }
  .container { padding-inline: 18px; }
  .kopf { padding-block: 8px; }
  .logo-link img { width: 58px; height: 58px; }
  .telefon-btn { display: none; }
  .start-titel { white-space: normal; font-size: 27px; padding-top: 4px; }
  .start-oben { padding-block: 10px 16px; gap: 10px; }
  .start-text { gap: 10px; }
  .start-text .lead { font-size: 16px; }
  .start-text .knopfreihe, .aktuell-pille { display: none; }
  .start-karten { gap: 10px; }
  .karte { padding: 10px 14px; border-radius: 16px; }
  .heute { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
  .heute-zeit { font-size: 15px; }
  .heute .heute-adresse { display: none; }
  .rezept-karte { display: none; }
  .abschnitt { padding-block: 14px 8px; }
  .abschnitt-kopf { margin-bottom: 10px; }
  .abschnitt-kopf h2 { font-size: 20px; }
  .kacheln { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .kachel { padding: 12px 14px; gap: 8px; border-radius: 16px; }
  .kachel-icon { width: 38px; height: 38px; }
  .kachel-icon svg { width: 20px; height: 20px; }
  .kachel-titel { font-size: 15px; }
  .kachel-text { display: none; }
  .aktuell-mobil { display: flex !important; }
  .fuss-zeile > span:first-child { display: none; }
  .fuss-links { gap: 4px 12px; font-size: 14px; flex-wrap: nowrap; justify-content: space-between; width: 100%; }
  .fuss-links a { white-space: nowrap; }

  /* Unterseiten auf dem Smartphone möglichst kompakt */
  .seiten-kopf { padding-block: 4px 14px; gap: 6px; }
  .seiten-kopf h1 { font-size: 24px; }
  .seiten-kopf .lead { font-size: 15px; line-height: 1.4; }
  .brotkrumen { display: none; }
  .zweispaltig { padding-block: 12px; gap: 12px; }
  .spalte-haupt { gap: 10px; }
  .spalte-haupt h2 { font-size: 18px; }
  .schritte { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .schritte li { padding: 10px 12px; gap: 4px; border-radius: 14px; font-size: 14px; }
  .schritt-nr { width: 28px; height: 28px; font-size: 14px; }
  .schritte span:last-child { font-size: 13px; line-height: 1.35; }
  .spalte-haupt > p { font-size: 14px; }
  .infokasten { padding: 12px 14px; font-size: 14px; gap: 4px; }
  .terminkasten, .weitere-leistungen { display: none; }
  .zeiten { font-size: 15px; }
  .zeiten th, .zeiten td { padding: 5px 8px; }
  .formular { gap: 8px; }
  .formular label { margin-bottom: 2px; font-size: 15px; }
  .formular .hinweis, .formular .checkbox { font-size: 13px; padding: 8px 10px; }
  .zweispaltig-text { font-size: 14px; }

  /* sichtbare Fläche im Handy-Browser ist kleiner als der Bildschirm (Browserleisten) */
  .logo-link img { width: 60px; height: 60px; }
  .kopf { padding-block: 1px; }
  .menue summary { width: 44px; height: 44px; }
  .start-titel { font-size: 25px; }
  .start-text .lead { font-size: 15px; line-height: 1.35; }
  .heute { flex-wrap: nowrap; gap: 8px; }
  .heute .badge { font-size: 13px; padding: 4px 10px; white-space: nowrap; }
  .heute-zeit { font-size: 14px; white-space: nowrap; }
  .kachel { flex-direction: row; align-items: center; gap: 10px; padding: 8px 10px; min-height: 52px; }
  .kachel-icon { flex: 0 0 auto; width: 34px; height: 34px; }
  .kachel-icon svg { width: 18px; height: 18px; }
  .kachel-titel { font-size: 14px; }
  .angebote { grid-template-columns: 1fr; gap: 6px; }
  .nur-gross { display: none; }
  .angebote .kachel { flex-direction: column; align-items: flex-start; gap: 2px; padding: 8px 12px; }
  .angebote .kachel-text { display: block; font-size: 13px; }
  .schritte li { flex-direction: row; align-items: center; gap: 8px; padding: 8px 10px; }
  .schritte li > span:last-child { display: none; }
  .schritt-nr { flex: 0 0 auto; }
  .schnellleiste { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--weiss); border-top: 1px solid var(--rahmen); padding: 10px 14px calc(14px + env(safe-area-inset-bottom)); }
  .schnellleiste .btn { min-height: 52px; }
}
.aktuell-mobil { display: none; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; padding: 7px 14px; border-radius: 999px; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: var(--flaeche); text-decoration: none; }

/* ---------- Auswahlseite (beide Apotheken) ---------- */
.logo-link--zwei { display: flex; gap: 10px; }
.auswahl-kopf .lead { margin: 4px 0 18px; }
.auswahl { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 20px; }
.auswahl-karte { background: var(--flaeche); border: 2px solid var(--rahmen); border-radius: 22px; padding: 20px 22px; display: flex; flex-direction: column; gap: 14px; }
.auswahl-kopf-link { display: flex; align-items: center; gap: 16px; text-decoration: none; }
.auswahl-kopf-link img { width: 88px; height: 88px; border-radius: 50%; flex: none; }
.auswahl-name { display: block; font-size: 26px; font-weight: 800; line-height: 1.15; }
.auswahl-ort { display: block; color: var(--nebentext); font-size: 16px; margin-top: 2px; }
.auswahl-status { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.auswahl-status .heute-zeit { font-size: 17px; }
.auswahl .knoepfe { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.menue-wechsel { font-weight: 700; }
.andere-apotheke { background: var(--flaeche); }
.kachel--offen { border-style: dashed; }
@media (max-width: 700px) {
  .logo-link--zwei img { width: 52px; height: 52px; }
  .auswahl { gap: 12px; }
  .auswahl-karte { padding: 14px 16px; gap: 10px; border-radius: 18px; }
  .auswahl-kopf-link img { width: 60px; height: 60px; }
  .auswahl-name { font-size: 21px; }
  .auswahl-ort { font-size: 14px; }
  .auswahl-status .heute-zeit { font-size: 15px; }
  .auswahl .btn { padding: 9px 12px; font-size: 14px; flex: 1 1 auto; white-space: nowrap; }
  .auswahl .knoepfe { flex-wrap: nowrap; gap: 8px; }
  .auswahl-kopf .lead { display: none; }
  .auswahl-kopf .start-titel { margin-bottom: 10px; }
  body.auswahl .schnellleiste { display: none; }
  body.auswahl { padding-bottom: 0; }
  body.auswahl .seite-rahmen { min-height: 100dvh; }
}
@media (max-width: 380px) {
  .auswahl .btn { font-size: 13px; padding: 8px 9px; }
  .auswahl-karte { padding: 12px; }
}
.nur-klein { display: none; }
.logo-link--zwei img { border-radius: 50%; }
@media (max-width: 700px) { .nur-klein { display: inline; } .auswahl .btn--weiss { flex: 0 0 auto; } }
.auswahl-status .badge { flex: none; }
@media (max-width: 700px) {
  .auswahl-status { flex-wrap: nowrap; gap: 8px; }
  .auswahl-status .badge { font-size: 13px; padding: 4px 10px; }
  .auswahl-status .heute-zeit { font-size: 14px; white-space: nowrap; }
}
@media (max-width: 359px) { .fuss-links { flex-wrap: wrap; justify-content: flex-start; } }
.stellen-orte { margin: 0 0 10px; }

/* Logos links und rechts */
.logo-rechts { margin-left: 8px; }
.logo-link img { border-radius: 50%; }
.auswahl-titel { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 18px; }
.auswahl-titel-text { flex: 1; text-align: center; }
.auswahl-titel-text .lead { margin: 4px 0 0; }
.auswahl-logo { width: 120px; height: 120px; border-radius: 50%; flex: none; }
body.auswahl .kopf { justify-content: center; }
@media (max-width: 1080px) { body.auswahl .kopf { justify-content: flex-end; } }
@media (max-width: 700px) {
  .auswahl-titel { gap: 10px; padding-top: 4px; padding-bottom: 10px; }
  .auswahl-logo { width: 64px; height: 64px; }
  .auswahl-titel .start-titel { font-size: 22px; margin: 0; }
}
.pdl-hinweis { margin: 16px 0 0; font-size: 16px; }
@media (max-width: 700px) { .pdl-hinweis { font-size: 14px; margin-top: 10px; } }

/* ---------- Beratung & Service ---------- */
.sv { padding-top: 14px; padding-bottom: 14px; }
.sv-titel { font-size: 20px; margin: 0 0 10px; }
.sv-themen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sv-thema { background: #fff; border: 2px solid var(--rahmen); border-radius: 18px; padding: 9px 14px; transition: border-color .2s, box-shadow .2s; }
.sv-thema:hover { border-color: var(--hellblau); box-shadow: 0 6px 18px rgba(11,42,74,.07); }
.sv-thema summary { list-style: none; display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; cursor: default; }
.sv-thema summary::-webkit-details-marker { display: none; }
.sv-icon { width: 34px; height: 34px; border-radius: 50%; background: var(--hellblau); display: grid; place-items: center; flex: none; }
.sv-anzahl { margin-left: auto; font-size: 12px; font-weight: 700; background: var(--flaeche); border-radius: 999px; padding: 2px 8px; color: var(--nebentext); }
.sv-thema p { margin: 5px 0 0; font-size: 14px; line-height: 1.45; color: var(--nebentext); }
.sv-leiste { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 10px; margin-top: 10px; }
.sv-box { background: var(--flaeche); border-radius: 18px; padding: 10px 14px; }
.sv-box--gelb { background: #FFF6C4; }
.sv-box summary { list-style: none; font-weight: 800; font-size: 15px; margin: 0 0 6px; color: var(--dunkelblau); }
.sv-box summary::-webkit-details-marker { display: none; }
.sv-box p { margin: 0 0 4px; font-size: 14px; color: var(--nebentext); }
.sv-box p strong { color: var(--dunkelblau); }
.sv-haken { list-style: none; margin: 0; padding: 0; columns: 3; column-gap: 14px; font-size: 14px; }
.sv-haken li { padding-left: 18px; position: relative; line-height: 1.5; break-inside: avoid; }
.sv-haken li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 9px; height: 5px; border-left: 2.5px solid var(--dunkelblau); border-bottom: 2.5px solid var(--dunkelblau); transform: rotate(-45deg); }
.sv-sprachen { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 6px !important; }
.sv-sprachen span { background: #fff; border-radius: 999px; padding: 1px 8px; font-weight: 700; color: var(--dunkelblau); font-size: 14px; }
@media (max-width: 1000px) {
  .sv-themen { grid-template-columns: repeat(2, 1fr); }
  .sv-leiste { grid-template-columns: 1fr 1fr; }
  .sv-box--services { grid-column: 1 / -1; }
  .sv-haken { columns: 3; }
}
@media (max-width: 1100px) and (min-width: 1001px) {
  .sv-thema p, .sv-box p, .sv-haken { font-size: 13.5px; }
  .sv-haken { columns: 2; }
}
@media (max-width: 700px) {
  body.service .seiten-kopf .lead { display: none; }
  .sv { padding-top: 8px; }
  .sv-titel { font-size: 17px; margin-bottom: 6px; }
  .sv-themen { grid-template-columns: 1fr 1fr; gap: 6px; }
  .sv-thema { padding: 7px 10px; border-radius: 14px; border-width: 1.5px; }
  .sv-thema[open] { grid-column: 1 / -1; }
  .sv-thema summary { font-size: 13.5px; gap: 7px; cursor: pointer; line-height: 1.2; }
  .sv-icon { width: 28px; height: 28px; }
  .sv-icon svg { width: 16px; height: 16px; }
  .sv-anzahl { display: none; }
  .sv-thema p { font-size: 13.5px; }
  .sv-leiste { grid-template-columns: 1fr; gap: 6px; margin-top: 8px; }
  .sv-box { padding: 9px 12px; border-radius: 14px; }
  .sv-box summary { font-size: 14px; margin: 0; display: flex; justify-content: space-between; cursor: pointer; }
  .sv-box summary::after, .sv-thema summary::after { content: "+"; font-weight: 800; margin-left: auto; }
  .sv-box[open] summary::after, .sv-thema[open] summary::after { content: "–"; }
  .sv-box[open] summary { margin-bottom: 6px; }
  .sv-box p, .sv-haken { font-size: 13px; }
  .sv-haken { columns: 2; }
}
.apotheke-foto { display: block; width: 100%; height: 250px; object-fit: cover; object-position: center 45%; border-radius: 18px; margin-top: 14px; }
@media (max-width: 700px) { .apotheke-foto { height: 150px; margin-top: 10px; } }
.botendienst-foto { display: block; width: 100%; height: 180px; object-fit: cover; object-position: center 68%; border-radius: 18px; margin-top: 14px; }
@media (max-width: 700px) { .botendienst-foto { height: 120px; margin-top: 10px; border-radius: 14px; object-position: center 65%; } }
@media (max-width: 700px) {
  body.botendienst .seiten-kopf .lead { display: none; }
  body.botendienst .spalte-haupt > h2 { display: none; }
  body.botendienst .schritte { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  body.botendienst .schritte li { padding: 8px; font-size: 13px; min-width: 0; flex-direction: column; align-items: flex-start; gap: 4px; hyphens: auto; overflow-wrap: anywhere; }
}
@media (max-width: 700px) {
  body.botendienst .botendienst-foto { height: 100px; margin-top: 8px; }
  body.botendienst .infokasten { padding: 10px 14px; gap: 4px; font-size: 14px; }
}

/* ---------- Animierte Begrüßung (Startseite) ---------- */
.willkommen { text-align: center; padding-top: 4px; }
.willkommen-svg { display: block; width: 100%; max-width: 640px; height: auto; margin: 0 auto -6px; overflow: visible; }
.willkommen-lead { margin: 0 0 16px; }
.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; }
@media (prefers-reduced-motion: no-preference) {
  .strahl { transform-origin: 400px 200px; transform-box: view-box; animation: strahl-auf .7s cubic-bezier(.2,.8,.3,1) both, strahl-puls 3.2s ease-in-out 1.4s infinite; animation-delay: calc(var(--i) * 45ms), calc(1.4s + var(--i) * 120ms); }
  .band { transform-origin: 400px 160px; transform-box: view-box; animation: band-auf .7s cubic-bezier(.2,.9,.3,1.2) .25s both; }
  .logo-pop { transform-box: fill-box; transform-origin: center; animation: logo-pop .55s cubic-bezier(.2,.9,.3,1.4) both; }
  .logo-pop-1 { animation-delay: .75s; }
  .logo-pop-2 { animation-delay: .95s; }
  .willkommen-lead { animation: einblenden .6s ease 1.2s both; }
}
@keyframes strahl-auf { from { transform: scale(.55); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes strahl-puls { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@keyframes band-auf { from { transform: scaleX(.1); opacity: 0; } to { transform: scaleX(1); opacity: 1; } }
@keyframes logo-pop { from { transform: scale(0) rotate(-25deg); opacity: 0; } to { transform: scale(1) rotate(0); opacity: 1; } }
@keyframes einblenden { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (max-width: 700px) {
  .willkommen-svg { max-width: 340px; margin-bottom: -6px; }
  .willkommen-lead { display: none; }
}
.angebote-foto { height: 185px; object-position: center 35%; }
.karriere-reihe { display: flex; flex-direction: row-reverse; gap: 22px; align-items: flex-start; }
.karriere-text { flex: 1; min-width: 0; }
.karriere-foto { flex: none; width: 240px; height: 300px; object-fit: cover; object-position: center 30%; border-radius: 18px; }
@media (max-width: 1080px) { .karriere-foto { width: 190px; height: 240px; } }
@media (max-width: 700px) {
  .angebote-foto { display: none; }
  .karriere-reihe { gap: 12px; }
  .karriere-foto { width: 110px; height: 140px; border-radius: 14px; }
  body.apotheke .seiten-kopf .lead { display: none; }
}
@media (max-width: 700px) { body.apotheke .apotheke-foto { height: 122px; } }

/* Fotos Unsere Apotheke / Öffnungszeiten */
.apotheke-fotos--zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.apotheke-fotos--zwei .apotheke-foto { margin-top: 0; }
@media (max-width: 700px) { .apotheke-fotos--zwei { gap: 8px; margin-top: 10px; } }
.zeiten-mit-foto { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: stretch; }
.zeiten-mit-foto .meldung { grid-column: 1 / -1; }
.aussen-foto { display: block; width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: 55% 50%; border-radius: 18px; }
@media (max-width: 700px) { .zeiten-mit-foto { display: block; } .aussen-foto { display: none; } }

/* Partnerapotheken */
.partner { margin: 12px auto 0; display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; color: var(--nebentext); }
.partner-titel { font-size: 14px; margin: 0; color: var(--dunkelblau); }
.partner-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; justify-content: center; }
.partner-liste strong a, .partner-tel { color: var(--dunkelblau); }
.partner-tel { white-space: nowrap; }
@media (max-width: 1100px) { .partner-adr { display: none; } .partner { margin-top: 8px; } }
@media (max-width: 700px) {
  .partner { margin-top: 2px; font-size: 12px; flex-wrap: nowrap; gap: 6px; white-space: nowrap; }
  body.auswahl .abschnitt:has(.partner) { padding-bottom: 0; }
  .partner-titel { font-size: 12px; }
  .partner-liste { flex-wrap: nowrap; gap: 8px; }
}
@media (max-width: 359px) { .partner, .partner-liste { flex-wrap: wrap; white-space: normal; justify-content: center; } }
@media (max-width: 700px) { .beitraege { gap: 10px; } .beitrag { padding: 12px 14px; } }
.sv-rz { display: grid; grid-template-columns: 110px 1fr; gap: 12px; align-items: stretch; }
.sv-foto { width: 100%; height: 100%; min-height: 96px; object-fit: cover; object-position: 55% 40%; border-radius: 14px; display: block; }
.sv-leiste { grid-template-columns: 1.35fr 1.35fr 1fr; }
@media (max-width: 1000px) { .sv-leiste { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .sv-leiste { grid-template-columns: 1fr; } .sv-rz { grid-template-columns: 84px 1fr; gap: 10px; } .sv-foto { min-height: 84px; } }
.sv-fotos { position: relative; overflow: hidden; background: #0B2A4A; }
.sv-fotos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.sv-fotos img:first-child { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .sv-fotos img { animation: rz-wechsel 20s infinite; }
  .sv-fotos img:nth-child(2) { animation-delay: 4s; }
  .sv-fotos img:nth-child(3) { animation-delay: 8s; }
  .sv-fotos img:nth-child(4) { animation-delay: 12s; }
  .sv-fotos img:nth-child(5) { animation-delay: 16s; }
  .sv-fotos img:first-child { opacity: 0; animation-delay: 0s; }
}
@keyframes rz-wechsel { 0% { opacity: 0; } 5% { opacity: 1; } 22% { opacity: 1; } 27% { opacity: 0; } 100% { opacity: 0; } }
/* Notdienst-Anzeige */
.badge.badge--notdienst { background: var(--gelb); color: var(--dunkelblau); box-shadow: inset 0 0 0 2px var(--dunkelblau); }
.notdienst-heute { background: var(--gelb); color: var(--dunkelblau); border-radius: 14px; padding: 10px 16px; margin: 0 0 14px; font-size: 16px; grid-column: 1 / -1; }
.notdienst-heute[hidden] { display: none; }
@media (max-width: 700px) { .notdienst-heute { font-size: 14px; padding: 7px 12px; margin-bottom: 8px; } .notdienst-heute .notdienst-bis { display: block; } }
.hauptnav--mobil .menue-klein { font-size: 14px; font-weight: 600; opacity: .85; }
.fuss-tel { display: none; }
/* Moderne Illustrationen für Leistungen */
.kachel { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.kachel:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(11,42,74,.10); }
.kachel-icon { width: 58px; height: 58px; border-radius: 18px; background: linear-gradient(145deg, #9DD4FB, #CDEBFE); }
.kachel-icon svg { width: 44px; height: 44px; }
@media (prefers-reduced-motion: reduce) { .kachel, .kachel:hover { transition: none; transform: none; } }
.seiten-kopf--bild { position: relative; }
.kopf-illu { position: absolute; right: 32px; bottom: 18px; width: 132px; height: 132px; border-radius: 34px; background: rgba(255,255,255,.55); display: grid; place-items: center; }
.kopf-illu svg { width: 100px; height: 100px; }
.seiten-kopf--bild h1, .seiten-kopf--bild .lead { max-width: calc(100% - 170px); }
@media (max-width: 900px) { .kopf-illu { display: none; } .seiten-kopf--bild h1, .seiten-kopf--bild .lead { max-width: none; } }
@media (max-width: 700px) { .kachel-icon { width: 36px; height: 36px; border-radius: 11px; } .kachel-icon svg { width: 29px; height: 29px; } }
@media (min-width: 701px) and (max-height: 800px) { .kachel-icon { width: 46px; height: 46px; border-radius: 14px; } .kachel-icon svg { width: 36px; height: 36px; } }
@media (min-width: 701px) and (max-width: 1080px) { .kachel-icon { width: 46px; height: 46px; border-radius: 14px; } .kachel-icon svg { width: 36px; height: 36px; } }
.kachel-ort { font-weight: 700; color: var(--dunkelblau); }
.kachel-ort-klein { display: none; }
@media (max-width: 700px) { .kachel-ort-klein { display: block; font-size: 12px; font-weight: 700; line-height: 1.2; margin-top: 1px; } }
/* Hinweis: Website im Aufbau */
.aufbau-pille { display: inline-block; background: var(--gelb); border-radius: 999px; padding: 0 9px; font-weight: 800; font-size: .85em; margin: 0 4px 0 6px; }
.seiten-kopf { position: relative; }
.aufbau-marke { position: absolute; top: 12px; right: 32px; margin: 0; background: var(--gelb); color: var(--dunkelblau); border-radius: 999px; padding: 3px 12px; font-size: 13px; font-weight: 700; }
@media (max-width: 900px) { .aufbau-marke { display: none; } }
@media (max-width: 1100px) { .aufbau-zusatz { display: none; } }
@media (max-width: 700px) { .willkommen-lead { display: block !important; font-size: 12.5px !important; margin: 2px 0 0 !important; } }
@media (max-width: 700px) { .willkommen-svg { max-width: 290px; } }
.seiten-kopf--bild .aufbau-marke { right: 184px; }
