/* Hausarztpraxis im B12 – Stylesheet
   Nach dem Web-Styleguide der Praxis (Oktober 2026): warme Rotpalette auf hellen Flächen, Schrift Source Sans 3
   (Überschriften dünn und luftig, Fließtext normal). Bewusst nur helle Darstellung – das Logo steht laut Styleguide
   nur auf ruhigem, hellem Hintergrund. */

@font-face { font-family: "Source Sans 3"; src: url("../fonts/source-sans-3.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/source-sans-3-italic.woff2") format("woff2"); font-weight: 200 900; font-style: italic; font-display: swap; }

:root {
  /* Styleguide: Primär #6E2A27 (Logo, Headlines, primäre Buttons) · Sekundär #88493E (Akzente, Hover)
     Text #24201F · Fläche #F7F5F2 · Tint #F1E6E3 (Sektionen) · Weiß (Karten) */
  --bg: #f7f5f2;
  --bg-alt: #f1e6e3;
  --surface: #ffffff;
  --ink: #24201f;
  --ink-soft: #3d3533;
  --muted: #6b605d;
  --line: #e6dbd7;
  --accent: #6e2a27;
  --accent-2: #88493e;
  --accent-soft: #f1e6e3;
  --on-accent: #ffffff;
  --ok: #1b6a40; --ok-soft: #e3f2e8;
  --stop: #b0251a; --stop-soft: #fbe7e4;
  --warn: #8a5a00; --warn-soft: #fbf0d9;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(60, 30, 30, .04), 0 8px 24px rgba(60, 30, 30, .06);
  --shadow-lg: 0 2px 4px rgba(60, 30, 30, .04), 0 22px 50px rgba(60, 30, 30, .11);
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: var(--sans);
  --container: 1240px;
  --header-h: 88px;
  color-scheme: light;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
html, body { overflow-x: hidden; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.15rem/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
main { hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 12 5 5; overflow-wrap: break-word; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-2); text-decoration-thickness: 2px; }
h1, h2, h3, h4 { font-family: var(--sans); font-weight: 300; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.005em; color: var(--accent); hyphens: manual; -webkit-hyphens: manual; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 250; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.4rem; font-weight: 400; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
strong { font-weight: 600; }
small { font-size: .88em; }
:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; border-radius: 4px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: var(--on-accent); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
svg { width: 1.1em; height: 1.1em; flex: none; }

/* ---------- Hinweise oben (Pflege + automatische Schließtage) ---------- */
.notice { background: var(--bg-alt); color: var(--accent); border-bottom: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); border-left: 0; font-weight: 600; }
.notice + .notice { border-top: 0; }
.notice__sub { color: var(--ink-soft); }
.notice .container { padding-top: 11px; padding-bottom: 11px; }
.notice p { margin: 0; text-align: center; }
.notice p + p { margin-top: 4px; }
.notice__sub { font-weight: 400; display: inline-block; }
.notice.is-expired { display: none; }

/* ---------- Infoleiste: Status + Notfall ---------- */
.topbar { background: var(--accent); color: #fff; font-size: .95rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 6px 20px; flex-wrap: wrap; padding-top: 7px; padding-bottom: 7px; }
.topbar p { margin: 0; display: flex; align-items: center; gap: 8px; }
.topbar a { color: #fff; }
.topbar__sos a { text-decoration: none; background: rgba(255, 255, 255, .14); padding: 1px 8px; border-radius: 6px; }
.topbar__sos a:hover { background: rgba(255, 255, 255, .26); color: #fff; }
.topbar__sos-label { font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; background: #fff; color: #9b1c12; padding: 2px 7px; border-radius: 5px; }
.open-state__dot { width: 10px; height: 10px; border-radius: 50%; background: #7ee2a5; box-shadow: 0 0 0 3px rgba(126, 226, 165, .3); flex: none; }
.open-state.is-closed .open-state__dot { background: #ffb4a8; box-shadow: 0 0 0 3px rgba(255, 180, 168, .25); }
.topbar__state svg { display: none; }
.topbar__state > span { display: inline-flex; align-items: center; gap: 8px; }
.topbar__state:not(.is-set) svg { display: block; }
@media (max-width: 700px) {
  .topbar { font-size: .9rem; }
  .topbar .container { justify-content: center; text-align: center; }
  .topbar__state { justify-content: center; }
}

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(40, 20, 20, .07); }
.site-header .container { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: 0 1 auto; min-width: 0; }
.brand__mark { width: 50px; height: 54px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.brand__name { font-family: var(--sans); font-weight: 600; font-size: 1.38rem; color: var(--accent); letter-spacing: .005em; }
.brand__sub { font-size: .88rem; color: var(--muted); font-weight: 400; letter-spacing: .02em; }
.brand:hover { color: var(--ink); }
.nav { margin-left: auto; display: flex; align-items: center; }
.nav ul { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; }
.nav ul a { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-radius: 8px; color: var(--ink-soft); text-decoration: none; font-weight: 400; font-size: 1.08rem; white-space: nowrap; }
.nav ul a:hover { color: var(--accent); background: var(--bg-alt); }
.nav__chev { width: .85em; height: .85em; opacity: .6; transition: transform .2s; }
/* Untermenü (Desktop): bei Hover oder Tastaturfokus */
.nav .has-sub { position: relative; }
.nav .nav__sub { position: absolute; top: 100%; left: 0; min-width: 240px; flex-direction: column; align-items: stretch; gap: 0; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; z-index: 60; }
.nav .nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nav .has-sub:hover > .nav__sub, .nav .has-sub:focus-within > .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav .has-sub:hover > a .nav__chev, .nav .has-sub:focus-within > a .nav__chev { transform: rotate(180deg); }
.nav .nav__sub a { padding: 10px 14px; font-size: 1.02rem; }
.nav ul a[aria-current="page"] { color: var(--accent); background: var(--accent-soft); }
.nav .nav__cta a { background: var(--accent); color: var(--on-accent); margin-left: 10px; padding: 10px 18px; border-radius: 999px; font-weight: 600; }
.nav .nav__cta a:hover { background: var(--accent-2); color: var(--on-accent); }
.nav__contact { display: none; }
.header-tools { display: flex; align-items: center; gap: 6px; }
.tool-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-soft); cursor: pointer; }
.tool-btn:hover { color: var(--ink); border-color: var(--muted); }
.nav-toggle { display: none; width: 46px; height: 46px; border: 0; background: transparent; cursor: pointer; position: relative; border-radius: 10px; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { position: absolute; left: 11px; width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; content: ""; }
.nav-toggle span { top: 22px; }
.nav-toggle span::before { top: -8px; left: 0; }
.nav-toggle span::after { top: 8px; left: 0; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  .nav-open .nav .nav__sub { visibility: visible; }
  .header-tools { margin-left: auto; }
  .nav { position: fixed; inset: var(--nav-top, 84px) 0 0 0; background: var(--bg); flex-direction: column; align-items: stretch; padding: 12px 20px 32px; overflow-y: auto; transform: translateX(100%); transition: transform .3s ease; visibility: hidden; }
  .nav-open .nav { transform: none; visibility: visible; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav ul a { font-size: 1.2rem; padding: 14px 12px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__chev { display: none; }
  .nav .nav__sub { position: static; min-width: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: none; opacity: 1; visibility: inherit; transform: none; transition: none; }
  .nav .nav__sub::before { display: none; }
  .nav .nav__sub a { font-size: 1.05rem; padding: 11px 12px 11px 30px; color: var(--muted); }
  .nav .nav__cta a { margin: 18px 0 0; justify-content: center; border-radius: 999px; border: 0; }
  .nav__contact { display: grid; gap: 10px; margin: 14px 0 0; }
  .nav__contact a { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 13px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 600; }
  .nav__contact a[href*="notfall"] { color: var(--stop); border-color: color-mix(in srgb, var(--stop) 40%, transparent); }
  .nav-open { overflow: hidden; }
}
@media (max-width: 460px) {
  :root { --header-h: 72px; }
  .brand__mark { width: 40px; height: 40px; }
  .brand__name { font-size: 1.1rem; }
  .brand__sub { font-size: .78rem; }
  .brand { gap: 9px; }
}
@media (max-width: 400px) {
  .site-header .container { gap: 10px; }
  .brand__sub { display: none; }
  .brand__name { font-size: 1.05rem; }
  .brand__mark { width: 36px; height: 36px; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 14px 22px; border-radius: 999px; font: 600 1.08rem/1.2 var(--sans); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--accent-2); color: var(--on-accent); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--small { padding: 9px 15px; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Abschnitte ---------- */
.section { padding: clamp(52px, 7vw, 88px) 0; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding: clamp(36px, 5vw, 56px) 0; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font: 600 .84rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 14px; }
.lead { font-size: clamp(1.15rem, 1.8vw, 1.3rem); color: var(--ink-soft); max-width: 62ch; line-height: 1.6; }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 16px 32px; flex-wrap: wrap; }
.section-head--row > div { max-width: 760px; }
.section-head p:last-child { margin-bottom: 0; }
.prose { max-width: 70ch; }
.prose h2 { margin-top: 1.5em; font-size: clamp(1.5rem, 2.8vw, 1.9rem); }
.prose h3 { margin-top: 1.4em; }
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--top { align-items: start; }
.split__bild { width: 100%; max-height: 520px; object-fit: cover; border-radius: var(--radius-lg); }
.deko-reihe { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 40px; }
.deko-reihe img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); }
@media (max-width: 880px) { .split { grid-template-columns: minmax(0, 1fr); } }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.more:hover svg { transform: translateX(3px); }
.more svg { transition: transform .2s; }

/* Seitenkopf der Unterseiten */
.page-hero { padding: clamp(40px, 6vw, 72px) 0 clamp(30px, 4vw, 48px); background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.page-hero h1 { margin-bottom: .3em; max-width: 22ch; }
.page-hero .lead { margin: 0; }
@media (max-width: 440px) { .page-hero h1 { font-size: 1.75rem; } }

/* ---------- Startseite: Hero ---------- */
.hero { padding: clamp(36px, 6vw, 76px) 0 clamp(44px, 6vw, 80px); background: linear-gradient(180deg, var(--bg-alt), var(--bg)); position: relative; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 64px); align-items: center; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.2rem); line-height: 1.05; margin-bottom: .45em; font-weight: 200; }
.hero h1 span { color: var(--accent-2); display: block; }
.hero .lead { margin-bottom: 1.5em; hyphens: manual; -webkit-hyphens: manual; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--ink-soft); font-weight: 400; }
/* Lilie (hängt in der Praxis) hinter der Termin-Karte – nur auf breiten Bildschirmen */
.hero__side { position: relative; }
.hero__lilie { position: absolute; left: 0; right: 0; top: -36px; width: 100%; height: calc(100% + 72px); object-fit: cover; border-radius: var(--radius-lg); }
.hero__side .today { position: relative; margin: 48px auto 0; width: 82%; }
@media (max-width: 880px) { .hero__side .today { width: 100%; margin: 0; } }
.hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero__facts svg { color: var(--accent-2); width: 1.2em; height: 1.2em; }
@media (max-width: 880px) { .hero .container { grid-template-columns: minmax(0, 1fr); } }
/* Schmuckbilder fallen mobil weg (Wunsch der Praxis) */
@media (max-width: 880px) { .deko { display: none !important; } }

/* Heute-Karte */
.today { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.today__head { padding: 22px 24px 18px; border-bottom: 1px solid var(--line); }
.today__label { font: 600 .82rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.today__state { display: flex; align-items: center; gap: 12px; font: 400 1.45rem/1.25 var(--sans); color: var(--accent); margin: 0; }
.today__state .open-state__dot { width: 14px; height: 14px; background: var(--ok); box-shadow: 0 0 0 5px color-mix(in srgb, var(--ok) 20%, transparent); }
.today__state.is-closed .open-state__dot { background: var(--stop); box-shadow: 0 0 0 5px color-mix(in srgb, var(--stop) 18%, transparent); }
.today__next { margin: 8px 0 0; color: var(--ink-soft); }
.today__extra { margin: 10px 0 0; padding: 10px 12px; background: var(--warn-soft); border-radius: 10px; font-size: 1rem; }
.today__body { padding: 18px 24px 22px; display: grid; gap: 14px; }
.today__hours { margin: 10px 0 0; color: var(--ink-soft); font-size: 1rem; }
.today__hours strong { color: var(--ink); }
/* Nächste Termine (Urlaub, Schließtage, Impftage) */
.dates { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dates__item { border-left: 3px solid var(--accent-2); padding: 2px 0 2px 12px; }
.dates__item--zu { border-left-color: var(--accent); }
.dates__item p { margin: 0; line-height: 1.4; }
.dates__item strong { color: var(--accent); }
.dates__what, .dates__sub { display: block; color: var(--muted); font-size: .98rem; }
.dates__none { margin: 0; color: var(--ink-soft); }

/* ---------- Notfall ---------- */
.sos { background: var(--surface); border: 2px solid color-mix(in srgb, var(--stop) 55%, var(--line)); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 30px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 18px 32px; align-items: center; scroll-margin-top: calc(var(--header-h) + 20px); }
.sos h2 { display: flex; align-items: center; gap: 12px; font-size: clamp(1.45rem, 2.6vw, 1.8rem); margin-bottom: .3em; }
.sos h2 { color: var(--ink); }
.sos h2 svg { color: var(--stop); width: 30px; height: 30px; }
.sos p { margin: 0; color: var(--ink-soft); }
.sos ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; hyphens: manual; -webkit-hyphens: manual; }
.sos li a { display: block; text-decoration: none; background: var(--stop-soft); border-radius: var(--radius); padding: 14px 18px; color: var(--ink); height: 100%; }
.sos li a:hover { outline: 2px solid var(--stop); color: var(--ink); }
.sos li strong { display: block; font: 600 1.9rem/1.1 var(--sans); color: var(--stop); letter-spacing: .02em; }
.sos li span { display: block; font-size: 1rem; margin-top: 4px; }
@media (max-width: 820px) { .sos { grid-template-columns: minmax(0, 1fr); } }
.sos--small { grid-template-columns: minmax(0, 1fr); gap: 14px; }
.sos--small h2, .sos--small h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 .3em; }
.sos--small h3 svg { color: var(--stop); width: 24px; height: 24px; }
.sos--small li strong { font-size: 1.6rem; }

/* ---------- Karten / Kacheln ---------- */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 22px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: box-shadow .2s, border-color .2s; hyphens: manual; -webkit-hyphens: manual; }
a.tile:hover { box-shadow: var(--shadow-lg); color: var(--ink); border-color: var(--accent-2); }
.tile__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 16px; }
.tile__icon svg { width: 26px; height: 26px; }
.tile h3 { margin-bottom: .35em; }
.tile p { color: var(--ink-soft); margin-bottom: .9em; }
.tile .more { margin-top: auto; color: var(--accent); }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: .4em; }
.card > :last-child { margin-bottom: 0; }

/* Hinweise für Patienten */
.hints { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; hyphens: manual; -webkit-hyphens: manual; }
.hints li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: start; padding: 22px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.hints--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); }
.section--alt .hints li { background: var(--surface); }
.hints__icon { width: 48px; height: 48px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.hints__icon svg { width: 24px; height: 24px; }
.hints strong { display: block; font: 600 1.12rem/1.3 var(--sans); margin-bottom: 4px; }
.hints p { margin: 0; color: var(--ink-soft); font-size: 1.05rem; }

/* Leistungslisten */
.check-list { list-style: none; padding: 0; margin: 0 0 1em; }
.check-list li { position: relative; padding-left: 34px; margin-bottom: 10px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .3em; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a4642' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.check-list--cols { columns: 2 320px; column-gap: 40px; }
.check-list--cols li { break-inside: avoid; }
.check-list small { display: block; color: var(--muted); }
.svc { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 22px; }
.svc__group { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 30px); }
.svc__group h2 { font-size: 1.45rem; display: flex; align-items: center; gap: 12px; }
.svc__group h2 svg { width: 28px; height: 28px; color: var(--accent-2); }
.svc__group .check-list { margin: 0; }
.svc__group--wide { grid-column: 1 / -1; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0 0 1em; hyphens: manual; -webkit-hyphens: manual; }
.chips li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px; font-weight: 700; }
.section--alt .chips li { background: var(--bg); }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; hyphens: manual; -webkit-hyphens: manual; }
.team--docs { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.person { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.person img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; background: var(--bg-alt); }
.person__body { padding: 16px 18px 20px; }
.person h3 { font-size: 1.2rem; margin-bottom: .25em; }
.team--docs .person h3 { font-size: 1.35rem; }
.person p { margin: 0; color: var(--ink-soft); font-size: 1rem; line-height: 1.45; }
.person__badge { display: inline-block; margin-top: 8px; font: 700 .76rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 6px 10px; }
@media (max-width: 600px) { .team, .team--docs { grid-template-columns: minmax(0, 1fr); gap: 12px; } .person { flex-direction: row; align-items: stretch; } .person img { width: 112px; aspect-ratio: auto; height: auto; min-height: 140px; flex: none; } .person__body { padding: 14px 14px 14px; } .person h3, .team--docs .person h3 { font-size: 1.15rem; } .person p { font-size: .98rem; } }

/* ---------- Sprechzeiten ---------- */
.hours { width: 100%; border-collapse: collapse; font-size: 1.1rem; background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.hours th, .hours td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.hours thead th { font: 700 .82rem/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--bg-alt); }
.hours tbody th { font-weight: 700; }
.hours tbody tr:last-child th, .hours tbody tr:last-child td { border-bottom: 0; }
.hours tr.is-now th, .hours tr.is-now td { background: var(--accent-soft); }
.hours tr.is-now th::after { content: "heute"; margin-left: 8px; font: 700 .7rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; background: var(--accent); color: var(--on-accent); padding: 3px 7px; border-radius: 999px; vertical-align: middle; }
.hours__off { color: var(--muted); }
.hours__note { margin: 14px 0 0; color: var(--ink-soft); }
@media (max-width: 420px) { .hours th, .hours td { padding: 10px 8px; } .hours { font-size: .98rem; } .hours thead th { letter-spacing: .04em; } .hours tr.is-now th::after { display: block; width: max-content; margin: 4px 0 0; } }
.hours-mini { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 14px; margin: 0; }
.hours-mini dt { font-weight: 700; }
.hours-mini dd { margin: 0; }

.closures__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.closures__item { background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--stop); border-radius: var(--radius); padding: 14px 18px; }
.closures__item--geaendert { border-left-color: var(--warn); }
.closures__item p { margin: 0; }
.closures__when { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.closures__why { color: var(--muted); }
.closures__what { color: var(--ink-soft); }
.closures__sub { margin-top: 6px !important; padding-top: 6px; border-top: 1px dashed var(--line); }
.closures__none { color: var(--ink-soft); margin: 0; }

/* Impf- und Aktionstermine */
.events { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.event { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; align-items: start; }
.event__date { margin: 0; background: var(--accent); color: var(--on-accent); border-radius: 14px; text-align: center; padding: 10px 6px; display: grid; line-height: 1.1; }
.event__wd { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; opacity: .85; }
.event__day { font: 300 1.9rem/1.1 var(--sans); }
.event__mon { font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.event h3 { margin: 2px 0 .3em; font-size: 1.25rem; }
.event__meta { margin: 0 0 6px; color: var(--ink-soft); display: flex; flex-wrap: wrap; gap: 4px 14px; font-weight: 600; }
.event__meta span::before { content: "·"; margin-right: 14px; color: var(--muted); }
.event__text { margin: 0; color: var(--ink-soft); }
.events__none { color: var(--ink-soft); }
.events__note { margin-top: 18px; background: var(--accent-soft); border-radius: var(--radius); padding: 16px 20px; }
.events__note p:last-child { margin-bottom: 0; }
@media (max-width: 600px) { .event__meta { flex-direction: column; gap: 0; } .event__meta span::before { display: none; } }
@media (max-width: 420px) { .event { grid-template-columns: 68px minmax(0, 1fr); gap: 14px; padding: 14px; } .event__day { font-size: 1.6rem; } }

/* Aktuelles */
.news-list { display: grid; gap: 18px; }
.news-list--short { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.news { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 24px; scroll-margin-top: calc(var(--header-h) + 20px); }
.news h3 { font-size: 1.3rem; }
.news p:last-child { margin-bottom: 0; }
.news__date { color: var(--muted); font-weight: 700; font-size: .95rem; margin: 0 0 6px; }
.news__none { color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faqs { display: grid; gap: 12px; max-width: 880px; }
.faq { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font: 400 1.18rem/1.35 var(--sans); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border-right: 2.5px solid var(--accent-2); border-bottom: 2.5px solid var(--accent-2); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq summary:hover { color: var(--accent); }
.faq > div { padding: 0 22px 18px; color: var(--ink-soft); }
.faq > div p:last-child, .faq > div ul:last-child { margin-bottom: 0; }
.faq > div ul { padding-left: 1.2em; }
.faq > div li + li { margin-top: 6px; }
.faq-thema { margin: 40px 0 16px; }
.section-head + .faq-thema { margin-top: 0; }

/* ---------- Hinweisbox (Entwurf) ---------- */
.draft-note { background: #fff5d6; color: #4a3a0a; border: 1px solid #edd79a; border-radius: var(--radius); padding: 14px 18px; margin: 0 0 28px; font-size: 1rem; }
.info-box { display: flex; gap: 14px; align-items: flex-start; background: var(--accent-soft); border-radius: var(--radius); padding: 16px 18px; color: var(--ink-soft); margin: 0 0 1em; }
.info-box svg { width: 24px; height: 24px; color: var(--accent); margin-top: 2px; }
.info-box p { margin: 0; }

/* ---------- Kontakt ---------- */
.contact-list { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list svg { width: 24px; height: 24px; color: var(--accent-2); margin-top: 3px; }
.contact-list a { font-weight: 700; overflow-wrap: anywhere; }
.map { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--bg-alt); }
.map img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.map figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; padding: 12px 16px; font-size: .95rem; background: var(--surface); }
.map figcaption a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.ways { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.ways li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; }
.ways__icon { width: 48px; height: 48px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.ways__icon svg { width: 24px; height: 24px; }
.ways p { margin: 0; color: var(--ink-soft); }
.ways strong { display: block; color: var(--ink); }

/* ---------- CTA-Band ---------- */
.cta-band { background: var(--accent); color: var(--on-accent); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 44px); display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; }
.cta-band h2 { color: var(--on-accent); margin: 0 0 .2em; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta-band p { margin: 0; max-width: 58ch; }
.cta-band .btn { background: var(--on-accent); color: var(--accent); }
.cta-band .btn:hover { background: var(--accent-soft); color: var(--accent); }
.cta-band a:not(.btn) { color: var(--on-accent); }

/* ---------- Footer: hell, damit das Logo darauf stehen darf ---------- */
.site-footer { background: var(--bg-alt); color: var(--ink); font-size: 1rem; border-top: 1px solid var(--line); }
.site-footer a { color: var(--accent); }
.site-footer a:hover { color: var(--accent-2); }
.footer-main { display: grid; grid-template-columns: 1.15fr 1.1fr 1fr 1.15fr; gap: 36px; padding-top: 56px; padding-bottom: 44px; }
@media (max-width: 1000px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-main { grid-template-columns: 1fr; } }
.footer-brand__logo { width: 220px; height: auto; margin: 0 0 18px; background: var(--surface); padding: 16px 18px; border-radius: var(--radius); box-sizing: content-box; max-width: calc(100% - 36px); }
.footer-brand p:last-child { color: var(--ink-soft); max-width: 34ch; }
.footer-h { font: 600 .8rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-2); margin: 6px 0 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact a { overflow-wrap: anywhere; }
.footer-contact svg { margin-top: 5px; color: var(--accent-2); }
.footer-contact small { color: var(--muted); }
.footer-small { color: var(--muted); font-size: .95rem; margin: 14px 0 0; }
.footer-help strong { color: var(--accent); }
.footer-links { margin-top: 22px !important; padding-top: 18px !important; border-top: 1px solid var(--line); }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-bottom { border-top: 1px solid var(--line); }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; font-size: .95rem; color: var(--muted); }
.footer-bottom ul { display: flex; gap: 20px; }

/* Einblenden */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Praxisbereich (/pflege.html) ---------- */
.pflege { padding: 32px 0 80px; }
.pflege__login { max-width: 460px; margin: 40px auto; }
.pflege__bar { position: sticky; top: var(--header-h); z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); padding: 12px 0; margin-bottom: 24px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tabs button { font: 700 1rem/1 var(--sans); padding: 11px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink-soft); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.p-panel[hidden] { display: none; }
.p-panel h2 { font-size: 1.4rem; margin-top: 8px; }
.p-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 16px; display: grid; gap: 14px; }
.p-box h3 { font-size: 1.15rem; margin: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-weight: 700; font-size: 1rem; }
.field input, .field textarea, .field select { width: 100%; font: inherit; font-size: 1.05rem; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent-2); box-shadow: 0 0 0 3px var(--accent-soft); }
.field textarea { resize: vertical; }
.form { display: grid; gap: 16px; }
.p-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 12px; }
.p-tools { display: flex; gap: 4px; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-soft); cursor: pointer; flex: none; }
.icon-btn:hover { color: var(--accent); border-color: var(--accent); }
.p-add { background: none; border: 1.5px dashed var(--line); border-radius: 10px; padding: 10px 14px; color: var(--ink-soft); font: 700 1rem var(--sans); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.p-add:hover { border-color: var(--accent); color: var(--accent); }
.p-msg { margin: 0 0 16px; padding: 11px 14px; border-radius: 10px; font-weight: 700; }
.p-msg--ok { background: var(--ok-soft); }
.p-msg--err { background: var(--stop-soft); }
.p-help { color: var(--muted); font-size: 1rem; margin: 0 0 12px; }
.p-check { display: flex; gap: 10px; align-items: center; font-weight: 700; }
.p-check input { width: 20px; height: 20px; accent-color: var(--accent); }
.p-hours { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 10px 16px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.p-hours__day { font-weight: 700; padding-top: 8px; }
.p-span { display: flex; gap: 6px; align-items: center; margin-bottom: 6px; flex-wrap: wrap; }
.p-span .p-time { width: 84px; font: inherit; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 8px; padding: 7px 9px; }
.p-span__closed { color: var(--muted); font-style: italic; padding: 8px 8px 0 0; display: inline-block; }
.p-exc { background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--stop); border-radius: var(--radius); padding: 14px; margin-bottom: 12px; display: grid; gap: 10px; }
.p-exc--geaendert { border-left-color: var(--warn); }
.p-exc__row { display: flex; gap: 10px; flex-wrap: wrap; align-items: end; }
.p-exc__row .field { min-width: 150px; }
.p-exc__row .field--grow { flex: 1; min-width: 220px; }
.p-exc.is-past { opacity: .5; }
.p-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: end; }
.p-row .field { min-width: 120px; }
.p-row .field--grow { flex: 1; min-width: 220px; }
.p-date { display: inline-flex; gap: 6px; align-items: center; position: relative; }
.p-date input[type="text"] { width: 140px; }
.p-date__native { position: absolute; left: 0; bottom: 0; width: 1px !important; height: 1px; opacity: 0; pointer-events: none; border: 0 !important; padding: 0 !important; }
@media (max-width: 640px) {
  .p-hours { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .p-hours__day { padding-top: 12px; }
  .p-exc__row .field, .p-row .field { min-width: 0; flex: 1 1 100%; }
  .pflege__bar { position: static; }
}
