/* Schrift Geist (SIL Open Font License), lokal gehostet, keine Verbindung zu Google */
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 300 600; font-display: swap; src: url('schrift/geist-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 300 600; font-display: swap; src: url('schrift/geist-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* Hintergrund „Beige“ aus der Farbauswahl der Vorschau, etwas heller und dezenter (Volker, Mail 12.11.2026: „Sand oder Beige“; Simon 12.11.: Beige, dezenter) */
  --paper: #F2EEE6;
  --stone: #E7E3DC;
  --stone-dark: #DCD9D1;
  --ink: #141820;
  --body: #575D67;
  --muted: #8E95A0;
  --line: #DFDBD4;
  --logo: #00A9EB;          /* Cyan aus dem Briefkopf: Logo, Linien, Hintergrund */
  --accent: #0077AA;        /* dunkleres Cyan für Buttons und Text, gut lesbar auf Weiß */
  --accent-dark: #005F88;
  --logo-grau: #4F7178;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* Grundschrift 18 px statt 16 px: viele Patienten sind älter (Volker, 03.11.2026). Alle rem-Größen wachsen mit. */
html { scroll-behavior: smooth; font-size: 112.5%; }
body { font-family: 'Geist', -apple-system, sans-serif; background: var(--paper); color: var(--ink); line-height: 1.65; font-size: 1rem; -webkit-font-smoothing: antialiased;; min-height: 100vh; display: flex; flex-direction: column; }
/* Kurze Seiten: Inhalt füllt den Platz, der Footer sitzt immer unten */
main { flex: 1 0 auto; }
/* Hintergrund: feine Nervenbahnen im Logo-Blau, nur hinter dem Startbereich, nach unten weich ausgeblendet */
.hero { position: relative; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url(hg-bahnen.svg) center / cover no-repeat;
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); }

a { color: inherit; text-decoration: none; }
/* Breiter, damit Logo und Termin-Knopf näher an den Rand rücken (Simon, 03.11.2026) */
.wrap { max-width: 1440px; margin: 0 auto; padding: 0 56px; }
.serif { font-family: 'Geist', sans-serif; font-weight: 400; letter-spacing: -0.035em; }
h1, h2, h3, .statement, .contact-big, .facts strong, .hours td:first-child { letter-spacing: -0.03em; }
.label { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.arrow-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; border-bottom: 1px solid var(--ink); padding-bottom: 3px; transition: gap .2s; }
.arrow-link:hover { gap: 16px; }

/* Header */
header { position: sticky; top: 0; z-index: 50; background: rgba(242,238,230,0.9); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: 32px; height: 76px; }
/* Logo nach Volkers Briefkopf: Linie mit EKG-Ausschlag "Vh", daneben der Name. Platzhalter, bis das PDF kommt. */
.wordmark { display: flex; align-items: center; gap: 12px; line-height: 1.15; }
.wordmark svg { width: 78px; height: 51px; flex: none; }
.wordmark svg path { fill: none; stroke: var(--logo); stroke-width: 1.4px; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.wordmark svg circle { fill: var(--logo); }
.wordmark small { display: block; font-size: 0.78rem; letter-spacing: 0.06em; color: var(--logo-grau); margin-bottom: 2px; }
.wordmark strong { display: block; white-space: nowrap; font-size: 1.1rem; font-weight: 600; letter-spacing: -0.01em; color: var(--accent); }
.links { display: flex; gap: 28px; font-size: 0.9rem; color: var(--body); }
.links a:hover { color: var(--ink); }
.nav-right { display: flex; justify-content: flex-end; align-items: center; gap: 28px; font-size: 0.9rem; }
.nav-right .tel { color: var(--body); }
.nav-right .btn { gap: 0; }
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--accent); color: var(--paper); padding: 12px 22px; font-size: 0.9rem; font-weight: 500; transition: background .2s; }
.btn:hover { background: var(--accent-dark); }

/* Hero */
.hero { padding: 96px 0 56px; }
.hero-top { display: grid; grid-template-columns: 1fr 300px; gap: 64px; align-items: start; }
.hero h1 { font-size: clamp(2.9rem, 6.8vw, 6.2rem); line-height: 1; font-weight: 400; color: var(--accent); }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub { margin-top: 28px; font-size: clamp(1.15rem, 1.8vw, 1.45rem); line-height: 1.45; color: var(--body); max-width: 640px; }
.hero-sub strong { color: var(--ink); font-weight: 500; }
.rezeption { display: grid; gap: 2px; justify-items: start; }
.rezeption .btn { margin-top: 12px; border: 0; font-family: inherit; cursor: pointer; }
.hero-meta { border-top: 1px solid var(--ink); padding-top: 18px; display: grid; gap: 14px; font-size: 0.92rem; color: var(--body); }
.hero-meta strong { display: block; color: var(--ink); font-weight: 500; }
.status { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 500; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #3E9A6E; box-shadow: 0 0 0 4px rgba(62,154,110,0.15); }
.dot.closed { background: #B9835A; box-shadow: 0 0 0 4px rgba(185,131,90,0.15); }
.hero-actions { margin-top: 48px; display: flex; gap: 32px; align-items: center; flex-wrap: wrap; }

/* Bildflächen (Platzhalter für echte Praxisfotos) */
.img { background: var(--stone); position: relative; overflow: hidden; }
.img::before { content: ""; position: absolute; inset: 0; background:
    linear-gradient(115deg, transparent 0 58%, rgba(255,255,255,0.35) 58% 59%, transparent 59%),
    linear-gradient(180deg, transparent 0 72%, var(--stone-dark) 72%); }
.img .cap { position: absolute; left: 20px; bottom: 16px; font-size: 0.75rem; color: var(--muted); letter-spacing: 0.04em; }
/* Blickfang statt Foto: die Briefkopf-Linie über die ganze Breite, mit großem EKG-Ausschlag "Vh".
   Die Linie ist links und rechts vom Ausschlag geteilt, damit unter dem "h" kein Strich liegt und das
   Hintergrundraster durchscheint. Grundlinie bei 150 von 200 px (Handy: 105 von 140). */
.hero { overflow: hidden; }
.hero-linie { position: relative; height: 200px; margin-top: 56px; --rechts: 22%; --breite: 160px; }
.hero-linie::before, .hero-linie::after { content: ""; position: absolute; top: 149px; height: 2px; background: var(--logo); }
.hero-linie::before { left: calc(50% - 50vw); right: calc(var(--rechts) + var(--breite) - 1px); }
.hero-linie::after { left: calc(100% - var(--rechts) - 1px); right: calc(50% - 50vw); }
.hero-linie .vh { position: absolute; right: var(--rechts); top: 0; width: var(--breite); height: 230px; }
/* Ohne non-scaling-stroke, damit sich das Signet genau im Takt des Punkts zeichnet; 2 px bei 160 px Breite */
.hero-linie .vh path { fill: none; stroke: var(--logo); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
/* Messkurve: alle 7 s zeichnet sich die Linie von links neu, ein Punkt sitzt an der Spitze (Steuerung per JS in index.html).
   Ohne JS bleiben die Standardwerte stehen und die Linie ist einfach ganz zu sehen. */
.hero-linie { --p-links: 100%; --p-rechts: 100%; --d-signet: 0; }
.hero-linie::before { -webkit-mask-image: linear-gradient(to right, #000 var(--p-links), transparent var(--p-links)); mask-image: linear-gradient(to right, #000 var(--p-links), transparent var(--p-links)); }
.hero-linie::after { -webkit-mask-image: linear-gradient(to right, #000 var(--p-rechts), transparent var(--p-rechts)); mask-image: linear-gradient(to right, #000 var(--p-rechts), transparent var(--p-rechts)); }
.hero-linie .vh path { stroke-dasharray: 1; stroke-dashoffset: var(--d-signet); }
.hero-linie .kopf { position: absolute; left: 0; top: 0; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: var(--logo);
  box-shadow: 0 0 0 4px rgba(0,169,235,0.18), 0 0 12px rgba(0,169,235,0.6); opacity: 0; transition: opacity 0.3s; pointer-events: none; }

/* Abschnitte im Index-Raster */
.row { display: grid; grid-template-columns: 260px 1fr; gap: 48px; padding: 104px 0; border-top: 1px solid var(--line); }
.row-head { position: sticky; top: 112px; align-self: start; }
.row-head .num { font-family: 'Geist', sans-serif; font-size: 0.85rem; font-variant-numeric: tabular-nums; color: var(--muted); margin-bottom: 6px; }
.row-head h2 { font-family: 'Geist', sans-serif; font-weight: 400; font-size: 1.7rem; line-height: 1.1; }
.statement { font-family: 'Geist', sans-serif; font-size: clamp(1.6rem, 2.8vw, 2.3rem); line-height: 1.28; font-weight: 400; max-width: 860px; }
.statement span { color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 64px; max-width: 1000px; }
.facts div { border-top: 1px solid var(--line); padding-top: 16px; font-size: 0.92rem; color: var(--body); }
.facts strong { display: block; font-family: 'Geist', sans-serif; font-size: 2.1rem; font-weight: 400; color: var(--ink); line-height: 1.1; margin-bottom: 4px; }

/* Leistungen als Liste */
.list { list-style: none; border-top: 1px solid var(--ink); }
.list li { display: grid; grid-template-columns: 56px 1fr 1.1fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.list .n { font-size: 0.8rem; color: var(--muted); }
.list h3 { font-family: 'Geist', sans-serif; font-weight: 400; font-size: 1.45rem; line-height: 1.15; }
.list p { color: var(--body); font-size: 0.95rem; }
/* Leistungen: erst eine Kurzzeile, aufgeklappt Volkers ganzer Text, damit alle Zeilen gleich hoch sind (Simon, 09.11.2026) */
.list li:has(.leistung) { display: block; padding: 0; }
.leistung summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 56px 1fr 1.1fr 36px; gap: 24px; padding: 26px 0; align-items: baseline; }
.leistung summary::-webkit-details-marker { display: none; }
.leistung .lang { display: grid; grid-template-columns: 56px 1fr 1.1fr 36px; column-gap: 24px; margin-top: -12px; padding-bottom: 26px; }
.leistung .lang > * { grid-column: 3; }
.leistung .lang p { color: var(--body); }
/* Plus rechts in der Zeile, wird beim Aufklappen zum Minus */
.leistung .plus { position: relative; align-self: start; justify-self: end; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; transition: border-color .2s, background .2s; }
.leistung .plus::before, .leistung .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--accent); transform: translate(-50%, -50%); transition: transform .2s; }
.leistung .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.leistung[open] .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.leistung summary:hover .plus { border-color: var(--accent); }
.leistung[open] .plus { background: var(--accent); border-color: var(--accent); }
.leistung[open] .plus::before, .leistung[open] .plus::after { background: #fff; }
.leistung summary:hover h3, .leistung[open] h3 { color: var(--accent); }
.leistung summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
/* Entwurf: kennzeichnet Inhalte, die noch nicht von der Praxis stammen */
.entwurf-hinweis { display: inline-block; margin: 12px 0 20px; padding: 8px 12px; border: 1px dashed #B9C0CA; font-size: 0.82rem; color: var(--muted); }
.diag { margin-top: 28px; color: var(--body); font-size: 0.95rem; }
.diag .label { display: block; margin-bottom: 6px; }

/* Team */
.team-foto { margin: 0 0 40px; }
.team-foto img { display: block; width: 100%; height: auto; aspect-ratio: 1240 / 520; object-fit: cover; }
.team { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.team .img { aspect-ratio: 3 / 4; margin-bottom: 18px; }
.team .img::before { background:
    radial-gradient(circle at 50% 38%, var(--stone-dark) 0 17%, transparent 17.5%),
    radial-gradient(ellipse at 50% 100%, var(--stone-dark) 0 38%, transparent 38.5%); }
.team h3 { font-family: 'Geist', sans-serif; font-weight: 500; font-size: 1.15rem; line-height: 1.2; }
.team .role { font-size: 0.85rem; color: var(--accent); margin: 2px 0 8px; }
.team p { font-size: 0.9rem; color: var(--body); }

/* Sprechzeiten */
.hours-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; }
.hours { width: 100%; border-collapse: collapse; border-top: 1px solid var(--ink); }
.hours td { padding: 18px 0; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.hours td:first-child { font-family: 'Geist', sans-serif; font-size: 1.2rem; }
.hours td:last-child { text-align: right; color: var(--body); font-variant-numeric: tabular-nums; }
.hours tr.today td:first-child::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 12px; vertical-align: middle; }
.hours tr.today td:last-child { color: var(--ink); font-weight: 500; }
.hours .zeit { display: block; }
.hours .zeit + .zeit { margin-top: 6px; }
.hours .art { display: block; font-size: 0.85em; color: var(--muted); font-weight: 400; }
.telefon-zeiten .zeile { display: block; font-variant-numeric: tabular-nums; }
.telefon-zeiten b { font-weight: 500; color: var(--ink); display: inline-block; min-width: 4.2em; }
.urlaub { background: var(--stone); border-left: 2px solid var(--accent); padding: 18px 22px; margin-bottom: 32px; font-size: 0.95rem; color: var(--body); }
.urlaub > strong { display: block; color: var(--ink); font-weight: 500; font-size: 1.05rem; margin-bottom: 2px; }
.hero-meta .urlaub-hero { color: var(--accent); font-weight: 500; }
.hero-meta .urlaub-hero > span { display: block; }
.hero-meta .vertretung-klein { margin-top: 4px; color: var(--body); font-weight: 400; font-size: 0.88rem; }
.hero-meta .vertretung-klein a { color: var(--accent); white-space: nowrap; border-bottom: 1px solid currentColor; }
#urlaub-box:not([hidden]) + #hinweis-box { margin-top: -16px; }
.urlaub .vertretung { margin-top: 10px; color: var(--ink); }
.urlaub .vertretung strong { font-weight: 500; }
.vertretung .nummer { color: var(--accent); font-weight: 500; white-space: nowrap; border-bottom: 1px solid currentColor; }

/* Hinweise unter den Knöpfen im Startbereich: Praxisurlaub mit Vertretung, befristete Hinweise (Simon, 09.11.2026) */
.hinweis-leiste { margin-top: 40px; max-width: 760px; background: var(--stone); border-left: 3px solid var(--accent); }
.hinweis { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 22px; font-size: 0.95rem; color: var(--ink); }
.hinweis + .hinweis { border-top: 1px solid #CBE7F4; }
.hinweis-text { display: grid; gap: 2px; }
.hinweis-titel { font-weight: 600; }
.hinweis .vertretung strong { font-weight: 600; }
.hinweis-knopf { flex: none; }
/* Während des Urlaubs: kräftig, damit niemand vergeblich anruft */
.hinweis-leiste:has(.hinweis-jetzt) { background: var(--accent); border-left-color: var(--accent-dark); }
.hinweis-jetzt, .hinweis-jetzt .nummer { color: #fff; }
.hinweis-jetzt .hinweis-knopf { background: #fff; color: var(--accent); }
.hinweis-jetzt .hinweis-knopf:hover { background: var(--paper); }
@media (max-width: 720px) {
  .hinweis-leiste { margin-top: 32px; }
  .hinweis { flex-direction: column; align-items: stretch; gap: 12px; padding: 16px 18px; }
  .hinweis-knopf { justify-content: center; }
}
[hidden] { display: none !important; }
.side { display: grid; gap: 36px; align-content: start; }
.side div { border-top: 1px solid var(--line); padding-top: 16px; }
.side h3 { font-family: 'Geist', sans-serif; font-weight: 500; font-size: 1.1rem; margin-bottom: 6px; }
.side p { color: var(--body); font-size: 0.95rem; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-big { font-family: 'Geist', sans-serif; font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.2; font-weight: 400; }
.contact-big a:hover { color: var(--accent); }
.contact-list { margin-top: 36px; display: grid; gap: 20px; }
.contact-list div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; font-size: 0.95rem; color: var(--body); border-top: 1px solid var(--line); padding-top: 14px; }
.contact-list span:first-child { color: var(--muted); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; padding-top: 3px; }
.map { aspect-ratio: 4 / 3; background: var(--stone); position: relative; overflow: hidden; }
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.route { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 16px; }
.route span { font-size: 0.82rem; color: var(--muted); }

/* Notdienst */
.emergency { background: var(--ink); color: var(--paper); }
.emergency .wrap { display: grid; grid-template-columns: 1fr auto auto; gap: 64px; align-items: end; padding-top: 72px; padding-bottom: 72px; }
.emergency h2 { font-family: 'Geist', sans-serif; font-weight: 400; font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.15; }
.emergency p { color: #A3AAB5; font-size: 0.95rem; margin-top: 10px; max-width: 460px; }
.emergency a b { display: block; font-family: 'Geist', sans-serif; font-weight: 400; font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1; }
.emergency a span { font-size: 0.8rem; color: #A3AAB5; letter-spacing: 0.1em; text-transform: uppercase; }

/* Footer */
footer { padding: 24px 0 40px; }
.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--muted); }
.foot nav { display: flex; gap: 24px; }
.foot a:hover { color: var(--ink); }

.mock-tag { position: fixed; right: 16px; bottom: 16px; z-index: 60; background: var(--paper); border: 1px solid var(--line); color: var(--muted); font-size: 0.72rem; padding: 6px 12px; letter-spacing: 0.04em; }

@media (max-width: 1180px) {
  .links { gap: 20px; }
}
@media (max-width: 960px) {
  .wrap { padding: 0 24px; }
  .nav { grid-template-columns: 1fr auto; height: auto; padding-top: 12px; row-gap: 8px; }
  .links { grid-column: 1 / -1; order: 3; gap: 26px; overflow-x: auto; white-space: nowrap; padding-bottom: 12px; scrollbar-width: none; }
  .links::-webkit-scrollbar { display: none; }
  .nav-right .tel { display: none; }
  .hero { padding: 56px 0 40px; }
  .hero-top, .hours-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-linie { height: 140px; margin-top: 36px; }
  .hero-linie { --rechts: 12%; --breite: 112px; }
  .hero-linie::before, .hero-linie::after { top: 104px; }
  .hero-linie .vh { height: 161px; }
  .hero-linie .vh path { stroke-width: 2.86; } /* Grafik auf 112 px verkleinert, Strich bleibt 2 px */
  /* Startbereich ist am Handy sehr hoch: Hintergrund in Originalgröße oben anlegen statt strecken */
  .hero::before { background-size: 1440px auto; background-position: center top; }
  .row { grid-template-columns: 1fr; gap: 32px; padding: 72px 0; }
  .row-head { position: static; }
  .facts { grid-template-columns: 1fr; gap: 0; margin-top: 40px; }
  .facts div { padding: 16px 0; }
  .list li { grid-template-columns: 40px 1fr; }
  .list p { grid-column: 2; }
  .leistung summary, .leistung .lang { grid-template-columns: 40px 1fr 32px; column-gap: 14px; }
  .leistung summary .kurz, .leistung .lang > * { grid-column: 2; }
  .leistung summary .plus { grid-column: 3; grid-row: 1; }
  .leistung summary { row-gap: 8px; }
  .team { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .emergency .wrap { grid-template-columns: 1fr; gap: 28px; padding-top: 56px; padding-bottom: 56px; }
}
@media (max-width: 480px) {
  .wordmark { gap: 8px; }
  .wordmark svg { width: 48px; height: 32px; }
  .wordmark small, .wordmark strong { white-space: nowrap; }
  .wordmark small { font-size: 0.64rem; }
  .wordmark strong { font-size: 0.86rem; }
  .nav-right .lang { display: none; }
  .btn { padding: 10px 16px; font-size: 0.85rem; }
  .team h3 { font-size: 1.2rem; }
  .contact-list div { grid-template-columns: 1fr; gap: 2px; }
}

/* Blog: Beiträge aus daten/blog.json, gepflegt im Praxisbereich (/praxis-intern/) */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.karte { border-top: 1px solid var(--ink); padding-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.karte .meta { display: flex; flex-direction: column; gap: 4px; font-size: 0.8rem; color: var(--muted); }
.artikel .meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 0.8rem; color: var(--muted); }
.karte .kat, .artikel .kat { color: var(--accent); font-weight: 500; }
.karte h3 { font-weight: 400; font-size: 1.35rem; line-height: 1.2; }
.karte h3 a:hover { color: var(--accent); }
.karte p { color: var(--body); font-size: 0.95rem; }
.karte .arrow-link { align-self: flex-start; margin-top: auto; font-size: 0.9rem; }
.leer { color: var(--muted); }
/* Blog-Seite: Kopf mit Nervenbahnen, Themen als Reiter, Beiträge als Liste */
.blog-kopf { position: relative; isolation: isolate; padding: 96px 0 56px; }
.blog-kopf::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url(hg-bahnen.svg) center 30% / cover no-repeat;
  -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent 100%); mask-image: linear-gradient(180deg, #000 40%, transparent 100%); }
.blog-kopf-innen { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: end; }
.blog-kopf h1 { font-size: clamp(2.9rem, 6.8vw, 6.2rem); font-weight: 400; line-height: 1; letter-spacing: -0.035em; color: var(--accent); margin-top: 12px; }
.blog-kopf .intro { color: var(--body); font-size: 1.1rem; max-width: 520px; }
.blog-inhalt { padding-bottom: 112px; }
.reiter { display: flex; flex-wrap: wrap; gap: 4px 32px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.reiter button { font: inherit; font-size: 0.95rem; padding: 14px 0 12px; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; background: none; color: var(--body); cursor: pointer; display: inline-flex; gap: 8px; align-items: baseline; }
.reiter button:hover { color: var(--ink); }
.reiter button[aria-pressed="true"] { color: var(--accent); border-bottom-color: var(--accent); }
.reiter .anzahl { font-size: 0.75rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.beitraege .leer { padding: 32px 0; }
.beitrag { display: grid; grid-template-columns: 120px minmax(0, 1fr) 40px; gap: 32px; align-items: start; padding: 32px 0; border-bottom: 1px solid var(--line); }
.beitrag-datum { display: flex; flex-direction: column; line-height: 1.1; padding-top: 2px; }
.beitrag-datum .tag { font-size: 2.2rem; font-weight: 300; letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.beitrag-datum .monat { font-size: 0.8rem; color: var(--muted); margin-top: 6px; }
.beitrag-text .kat { display: block; font-size: 0.8rem; font-weight: 500; color: var(--accent); margin-bottom: 6px; }
.beitrag-text h2 { font-size: 1.45rem; font-weight: 400; line-height: 1.25; letter-spacing: -0.01em; transition: color .2s; }
.beitrag-text p { color: var(--body); font-size: 0.95rem; margin-top: 8px; max-width: 680px; }
.beitrag .pfeil { font-size: 1.3rem; color: var(--muted); justify-self: end; padding-top: 22px; transition: transform .2s, color .2s; }
.beitrag:hover h2, .beitrag:hover .pfeil { color: var(--accent); }
.beitrag:hover .pfeil { transform: translateX(4px); }
/* Einzelner Beitrag: links Zurück, Thema und Datum, rechts der Text */
.artikel { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: 64px; padding-top: 72px; }
.artikel-seite { position: sticky; top: 112px; align-self: start; display: flex; flex-direction: column; gap: 28px; }
.artikel-seite .zurueck { align-self: flex-start; }
.artikel-seite .meta { flex-direction: column; gap: 4px; }
.artikel .meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 0.85rem; color: var(--muted); }
.artikel .kat { color: var(--accent); font-weight: 500; }
.artikel h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 400; line-height: 1.1; letter-spacing: -0.03em; }
/* Überschrift klar vom Text getrennt: Abstand, kurze Linie im Logo-Cyan, erster Absatz als Einleitung */
.artikel-text h1::after { content: ""; display: block; width: 56px; height: 2px; background: var(--logo); margin: 36px 0 40px; }
.artikel-text p { font-size: 1.08rem; line-height: 1.75; color: var(--body); }
.artikel-text h1 + p { font-size: 1.25rem; line-height: 1.6; color: var(--ink); }
.artikel-text h1 + p + p { margin-top: 1.4em; }
.artikel-text p + p { margin-top: 1em; }
@media (max-width: 960px) {
  .blog-grid { grid-template-columns: 1fr; gap: 40px; }
  .blog-kopf { padding: 56px 0 40px; }
  .blog-kopf::before { background-size: 1440px auto; background-position: center top; }
  .blog-kopf-innen { grid-template-columns: 1fr; gap: 20px; }
  .reiter { gap: 0 22px; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .reiter button { white-space: nowrap; }
  .beitrag { grid-template-columns: 72px minmax(0, 1fr); gap: 16px; padding: 26px 0; }
  .beitrag-datum .monat { font-size: 0.75rem; white-space: nowrap; }
  .beitrag .pfeil { display: none; }
  .beitrag-datum .tag { font-size: 1.7rem; }
  .beitrag-text h2 { font-size: 1.2rem; }
  .artikel { grid-template-columns: 1fr; gap: 28px; padding-top: 40px; }
  .artikel-seite { position: static; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
}

/* Schnellzugriff unter der Linie */
.schnell { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.schnell a { display: grid; grid-template-columns: 32px 1fr; column-gap: 14px; row-gap: 2px; align-items: start; border-top: 1px solid var(--ink); padding-top: 18px; transition: color .2s; }
.schnell .icon { grid-row: span 2; width: 32px; height: 32px; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.schnell strong { font-weight: 500; font-size: 1.05rem; letter-spacing: -0.01em; }
.schnell span { font-size: 0.88rem; color: var(--body); }
.schnell a:hover strong { color: var(--accent); }

/* Wofür wir da sind: eigener Abschnitt, damit „Die Praxis“ aufgeräumt bleibt (Simon, 03.11.2026) */
.bereiche .entwurf-hinweis { margin-top: 0; }
.bereiche .nicht { margin-top: 36px; max-width: 860px; border-left: 3px solid var(--accent); background: var(--stone); padding: 20px 24px; font-size: 1.08rem; color: var(--ink); }
.bereiche .nicht strong { font-weight: 600; }
.bereiche-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; margin-top: 48px; max-width: 1000px; border-bottom: 1px solid var(--line); }
/* Krankheitsgruppen zum Aufklappen (Volker, 03.11.2026: höchstens 6, Details erst beim Klick).
   „Mehr erfahren“ steht unter der Kurzbeschreibung, aufgeklappt „Weniger“ unter dem langen Text (Simon, 03.11.2026) */
.bereich { border-top: 1px solid var(--line); padding: 24px 0 26px; }
.bereich summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 40px 1fr; column-gap: 18px; }
.bereich summary::-webkit-details-marker { display: none; }
.bereich summary > * { grid-column: 2; }
.bereiche .symbol { grid-column: 1; grid-row: 1 / span 3; width: 32px; height: 32px; margin-top: 2px; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.bereiche .symbol.voll { fill: var(--accent); stroke: none; width: 38px; height: 38px; margin: -1px 0 0 -3px; }
.bereiche h3 { font-weight: 500; font-size: 1.15rem; margin-bottom: 6px; }
.bereiche-grid p { color: var(--body); font-size: 0.93rem; }
.bereich .mehr, .bereich .weniger { justify-self: start; margin-top: 10px; padding: 0; background: none; border: 0; border-bottom: 1px solid currentColor; font: inherit; font-size: 0.85rem; color: var(--accent); cursor: pointer; }
.bereich .mehr::after { content: " +"; }
.bereich .weniger::after { content: " −"; }
.bereich[open] .mehr { display: none; }
.bereich .lang, .bereich .weniger { margin-left: 58px; }
.bereich .lang { margin-top: 10px; color: var(--ink); }
.bereich summary:focus-visible, .bereich .weniger:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

@media (max-width: 960px) {
  .schnell { grid-template-columns: 1fr 1fr; gap: 20px 20px; margin-top: 36px; }
  .bereiche-grid { grid-template-columns: 1fr; margin-top: 36px; }
}
@media (max-width: 480px) {
  .schnell { grid-template-columns: 1fr; gap: 0; }
  .schnell a { padding: 16px 0; }
}

/* Startbereich auf dem Desktop: kompakt und mit fester Höhe, damit die Messkurve beim Öffnen sichtbar ist
   und nicht verrutscht, wenn rechts Urlaub und Vertretung dazukommen (Simon, 09.11.2026). Steht am Ende,
   damit es die Grundwerte oben überschreibt. */
@media (min-width: 961px) {
  .hero { padding-top: 56px; }
  .hero-top { min-height: 410px; }
  .hero-top { grid-template-columns: 1fr 340px; }
  .hero-meta { gap: 10px; }
  .hero-linie { margin-top: 16px; }
  .hinweis-leiste { margin-top: 24px; }
  .hinweis { padding: 14px 20px; }
}
/* Hinweis vor der Weiterleitung zu Doctolib */
.termin-hinweis { margin: auto; max-width: 560px; width: calc(100% - 32px); border: 0; padding: 32px; background: var(--paper); color: var(--body); box-shadow: 0 20px 60px rgba(20,24,32,.25); }
.termin-hinweis::backdrop { background: rgba(20,24,32,.45); }
.termin-hinweis h2 { font-weight: 500; font-size: 1.5rem; line-height: 1.2; color: var(--ink); margin-bottom: 18px; }
.termin-hinweis ul { list-style: none; display: grid; gap: 12px; }
.termin-hinweis li { position: relative; padding-left: 20px; line-height: 1.55; }
.termin-hinweis li::before { content: ''; position: absolute; left: 0; top: .62em; width: 8px; height: 2px; background: var(--accent); }
.termin-hinweis strong { color: var(--ink); font-weight: 500; }
.termin-hinweis-notfall { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .92rem; color: var(--ink); }
.termin-hinweis-aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 24px; }
.termin-hinweis-zurueck { font: inherit; background: none; border: 0; border-bottom: 1px solid currentColor; color: var(--ink); padding: 2px 0; cursor: pointer; }
@media (max-width: 720px) { .termin-hinweis { padding: 24px 20px; } .termin-hinweis-aktionen .btn { width: 100%; justify-content: center; } }
/* Impressum und Datenschutzerklärung (11.11.2026): Kopf wie im Blog, Überschrift kleiner, damit
   „Datenschutzerklärung“ auch am Handy passt */
.blog-kopf.recht h1 { font-size: clamp(2.2rem, 5vw, 4.4rem); hyphens: manual; }
.rechtstext { max-width: 760px; padding: 8px 0 112px; color: var(--body); }
.rechtstext h2 { font-size: 1.6rem; font-weight: 400; line-height: 1.25; color: var(--ink); margin: 56px 0 16px; padding-top: 28px; border-top: 1px solid var(--line); }
.rechtstext > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.rechtstext h3 { font-size: 1.15rem; font-weight: 500; line-height: 1.35; letter-spacing: -0.01em; color: var(--ink); margin: 32px 0 10px; }
.rechtstext h4 { font-size: 1rem; font-weight: 500; color: var(--ink); margin: 24px 0 8px; }
.rechtstext p, .rechtstext li { line-height: 1.7; }
.rechtstext p + p { margin-top: 0.9em; }
.rechtstext ul { margin: 0.9em 0; padding-left: 1.2em; }
.rechtstext li + li { margin-top: 0.5em; }
.rechtstext a { color: var(--accent); border-bottom: 1px solid currentColor; overflow-wrap: anywhere; }
.rechtstext .quelle { margin-top: 48px; font-size: 0.85rem; color: var(--muted); }

/* Nervenbahnen auch weiter unten auf der Startseite (Volker, 11.11.2026): dieselben Linien wie im Startbereich,
   etwas leiser, oben und unten weich ausgeblendet, über die ganze Breite */
body { overflow-x: clip; }
.row.bahnen { position: relative; isolation: isolate; }
.row.bahnen::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw; margin-left: -50vw; z-index: -1; pointer-events: none;
  background: url(hg-bahnen.svg) center / cover no-repeat; opacity: .75;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent); mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent); }
.row.bahnen.gespiegelt::before { transform: scaleX(-1); }
@media (max-width: 960px) { .row.bahnen::before { background-size: 1440px auto; } }
