/*
Theme Name: Hausarztpraxis Nusko
Theme URI: https://www.hausarzt-im-zentrum-bamberg.de
Author: NK IT Service, Nikolaj Kinas
Author URI: https://www.nk-it.de
Description: Eigenes Theme der Internistischen Hausarztpraxis Prof. Dr. Dr. Gerhard Nusko, Bamberg (Gestaltung „Inselstadt“). Seiten, Texte und Bilder im Block-Editor, Praxisdaten in den Einstellungen, Selbstaktualisierung aus dem privaten GitHub-Repository.
Version: 0.4.9
Requires at least: 6.6
Tested up to: 7.0
Requires PHP: 8.1
License: Proprietär, Nutzung durch die Internistische Hausarztpraxis Prof. Dr. Dr. Gerhard Nusko
Text Domain: hausarzt-nusko
*/

/*!
 * Copyright © 2026 NK IT Service – Inhaber Nikolaj Kinas. Alle Rechte vorbehalten.
 * Erstellt am 26.09.2026 für die Internistische Hausarztpraxis Prof. Dr. Dr.
 * Gerhard Nusko, Bamberg (WordPress-Theme „Hausarztpraxis Nusko“).
 *
 * NK IT Service · Rauentaler Str. 22/1 · 76437 Rastatt
 * Telefon 07222 59 49 890 · support@nk-it.de · www.nk-it.de
 *
 * Aufbau, Gestaltung und Programmierung sind urheberrechtlich geschützt
 * (§§ 2, 69a UrhG). Alle Rechte daran liegen bei NK IT Service. Jede
 * Veränderung, Vervielfältigung oder Weitergabe sowie jede Nutzung außerhalb
 * der lizenzierten Website der Praxis bedarf der vorherigen schriftlichen
 * Zustimmung von NK IT Service. Bestandteile Dritter (Schriften, Symbole,
 * Kartendaten, PDF-Bibliothek) unterliegen ihren eigenen Lizenzen.
 */

/* =====================================================================
   Hausarztpraxis Prof. Dr. Dr. Nusko, Bamberg - Gestaltung „Inselstadt"
   Welt: Bamberger Stadtplan. Regnitz-Grün als Farbfeld, Papierweiß als
   Grund, Sandstein nur für Pin, Kleberstraße und das eine hellste Element.
   Schrift: Spectral (Überschriften) + Atkinson Hyperlegible Next (Text).
   Gestaltung und Programmierung: NK IT Service.
   ===================================================================== */

@font-face { font-family: "Spectral"; font-style: normal; font-weight: 300; font-display: swap; src: url("assets/fonts/spectral-300-normal-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; }
@font-face { font-family: "Spectral"; font-style: normal; font-weight: 300; font-display: swap; src: url("assets/fonts/spectral-300-normal-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Spectral"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/spectral-400-normal-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; }
@font-face { font-family: "Spectral"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/spectral-400-normal-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Spectral"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/spectral-500-normal-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; }
@font-face { font-family: "Spectral"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/spectral-500-normal-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Spectral"; font-style: italic; font-weight: 300; font-display: swap; src: url("assets/fonts/spectral-300-italic-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; }
@font-face { font-family: "Spectral"; font-style: italic; font-weight: 300; font-display: swap; src: url("assets/fonts/spectral-300-italic-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Spectral"; font-style: italic; font-weight: 400; font-display: swap; src: url("assets/fonts/spectral-400-italic-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; }
@font-face { font-family: "Spectral"; font-style: italic; font-weight: 400; font-display: swap; src: url("assets/fonts/spectral-400-italic-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Atkinson Hyperlegible Next"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("assets/fonts/atkinson-hyperlegible-next-200-800-normal-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; }
@font-face { font-family: "Atkinson Hyperlegible Next"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("assets/fonts/atkinson-hyperlegible-next-200-800-normal-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Atkinson Hyperlegible Next"; font-style: italic; font-weight: 200 800; font-display: swap; src: url("assets/fonts/atkinson-hyperlegible-next-200-800-italic-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; }
@font-face { font-family: "Atkinson Hyperlegible Next"; font-style: italic; font-weight: 200 800; font-display: swap; src: url("assets/fonts/atkinson-hyperlegible-next-200-800-italic-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  /* Farben (OKLCH). Regnitz-Grün ist das Farbfeld, Sandstein der einzige Akzent. */
  --regnitz: oklch(0.40 0.075 172);
  --regnitz-tief: oklch(0.32 0.07 172);
  --regnitz-hell: oklch(0.48 0.075 172);
  --tinte: oklch(0.24 0.03 175);
  --papier: oklch(0.985 0.004 190);
  --wasser: oklch(0.945 0.02 175);
  --wasser-linie: oklch(0.86 0.035 175);
  --sandstein: oklch(0.76 0.11 74);
  --sandstein-tief: oklch(0.53 0.11 66);
  --schiefer: oklch(0.45 0.02 200);
  --weiss: oklch(0.995 0.002 190);
  --auf-gruen-2: oklch(0.90 0.03 175);
  --fokus: var(--sandstein-tief);
  --feld-rahmen: oklch(0.60 0.05 175);
  --schatten: 0 24px 60px -28px oklch(0.30 0.05 172 / 0.45);
  /* Schrift */
  --serif: "Spectral", "Georgia", "Times New Roman", serif;
  --sans: "Atkinson Hyperlegible Next", "Segoe UI", system-ui, sans-serif;
  /* Maße */
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 6px;
  --kopf: 92px;
  --adminleiste: 0px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --z-kopf: 100;
  --z-menue: 110;
  --z-termin: 140;
}

/* ---------- Symbole (Tabler, MIT) als Maske: Farbe folgt currentColor ---------- */
.ico--activity { --ico: url("assets/icons/activity.svg"); }
.ico--arrow-right { --ico: url("assets/icons/arrow-right.svg"); }
.ico--arrow-up-right { --ico: url("assets/icons/arrow-up-right.svg"); }
.ico--bandage { --ico: url("assets/icons/bandage.svg"); }
.ico--bus { --ico: url("assets/icons/bus.svg"); }
.ico--calendar-event { --ico: url("assets/icons/calendar-event.svg"); }
.ico--car { --ico: url("assets/icons/car.svg"); }
.ico--clock { --ico: url("assets/icons/clock.svg"); }
.ico--external-link { --ico: url("assets/icons/external-link.svg"); }
.ico--file-text { --ico: url("assets/icons/file-text.svg"); }
.ico--flask-2 { --ico: url("assets/icons/flask-2.svg"); }
.ico--heartbeat { --ico: url("assets/icons/heartbeat.svg"); }
.ico--home-2 { --ico: url("assets/icons/home-2.svg"); }
.ico--info-circle { --ico: url("assets/icons/info-circle.svg"); }
.ico--mail { --ico: url("assets/icons/mail.svg"); }
.ico--map-pin { --ico: url("assets/icons/map-pin.svg"); }
.ico--phone { --ico: url("assets/icons/phone.svg"); }
.ico--plane-departure { --ico: url("assets/icons/plane-departure.svg"); }
.ico--prescription { --ico: url("assets/icons/prescription.svg"); }
.ico--refresh { --ico: url("assets/icons/refresh.svg"); }
.ico--steering-wheel { --ico: url("assets/icons/steering-wheel.svg"); }
.ico--stethoscope { --ico: url("assets/icons/stethoscope.svg"); }
.ico--vaccine { --ico: url("assets/icons/vaccine.svg"); }
.ico--video { --ico: url("assets/icons/video.svg"); }
.ico--wheelchair { --ico: url("assets/icons/wheelchair.svg"); }
.ico--x { --ico: url("assets/icons/x.svg"); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--kopf) + var(--adminleiste) + 16px); scroll-padding-bottom: 96px; /* Fokus nie hinter dem Termin-Knopf (WCAG 2.4.11) */ }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  color: var(--tinte);
  background: var(--papier);
  accent-color: var(--regnitz);
  caret-color: var(--regnitz);
}
::selection { background: var(--sandstein); color: var(--tinte); }
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; text-decoration-color: var(--wasser-linie); transition: text-decoration-color 0.25s var(--ease-out), color 0.25s var(--ease-out); }
a:hover { text-decoration-color: currentColor; }
p { margin: 0; max-width: 68ch; }
p + p { margin-top: 1em; }
ul, ol { margin: 0; padding: 0; }
strong { font-weight: 700; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--fokus); outline-offset: 3px; border-radius: 2px; }
.hero :focus-visible, .abschnitt--gruen :focus-visible, .fuss :focus-visible { outline-color: var(--sandstein); }
.sr-only, .screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 300; background: var(--tinte); color: var(--weiss); padding: 12px 18px; border-radius: var(--radius); text-decoration: none; }
.skip:focus { top: calc(var(--adminleiste) + 12px); }
main:focus { outline: none; }

/* ---------- Schrift ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; margin: 0; text-wrap: balance; hyphens: auto; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.5rem, 4.6vw, 3.9rem); line-height: 1.06; letter-spacing: -0.012em; }
h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.14; letter-spacing: -0.008em; }
h3 { font-size: clamp(1.3rem, 1.8vw, 1.55rem); line-height: 1.25; font-weight: 500; }
h4 { font-size: 1.15rem; line-height: 1.3; font-weight: 500; }
.lead { font-size: clamp(1.15rem, 1.5vw, 1.32rem); line-height: 1.5; }
.klein { font-size: 1rem; }
.neben { color: var(--schiefer); }
.kursiv { font-style: italic; font-weight: 300; }
.tab-zahlen { font-variant-numeric: tabular-nums; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.raster { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(20px, 3vw, 40px); row-gap: 32px; }
.raster--mitte { align-items: center; }
.raster--unten { align-items: end; }
.sp-7 { grid-column: span 7; }
.sp-6 { grid-column: span 6; }
.sp-5 { grid-column: span 5; }
.sp-4 { grid-column: span 4; }
.sp-12 { grid-column: 1 / -1; }
.abschnitt { padding-block: clamp(64px, 9vw, 120px); }
.abschnitt--wasser { background: var(--wasser); }
.abschnitt--gruen { background: var(--regnitz); color: var(--weiss); }
.abschnitt--gruen p, .abschnitt--gruen .neben { color: var(--auf-gruen-2); }
.abschnitt--gruen h2, .abschnitt--gruen h3 { color: var(--weiss); }
.abschnitt--gruen a { text-decoration-color: oklch(0.70 0.06 172); }
.kopfzeile { margin-bottom: clamp(32px, 5vw, 56px); max-width: 62ch; }
.kopfzeile h2 + p, .kopfzeile h1 + p { margin-top: 16px; }
@media (max-width: 900px) {
  .sp-7, .sp-6, .sp-5, .sp-4 { grid-column: 1 / -1; }
}

/* ---------- Icons ---------- */
.ico { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: -0.2em; }
/* Symbol vor Knopftext oder Absatz (aus der Klasse ico--name) */
.wp-block-button[class*="ico--"] > .wp-block-button__link::before,
p[class*="ico--"]::before {
  content: ""; display: inline-block; vertical-align: -0.2em; flex: none; width: 1.1em; height: 1.1em; background-color: currentColor;
  -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat;
}

/* ---------- Knöpfe ---------- */
.btn, .wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 22px; border-radius: var(--radius);
  font-weight: 600; font-size: 1.02rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; white-space: nowrap;
  transition: background-color 0.25s var(--ease-out), color 0.25s var(--ease-out), border-color 0.25s var(--ease-out), transform 0.2s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.btn:active, .wp-block-button__link:active { transform: translateY(1px) scale(0.99); }
.btn .ico, .wp-block-button[class*="ico--"] > .wp-block-button__link::before { width: 1.15em; height: 1.15em; }
.btn--primaer, .wp-block-button__link, .is-style-primaer > .wp-block-button__link { background: var(--sandstein); color: var(--tinte); }
.btn--primaer:hover, .wp-block-button__link:hover, .is-style-primaer > .wp-block-button__link:hover { background: oklch(0.82 0.10 76); }
.btn--gruen, .is-style-gruen > .wp-block-button__link { background: var(--regnitz); color: var(--weiss); }
.btn--gruen:hover, .is-style-gruen > .wp-block-button__link:hover { background: var(--regnitz-tief); }
.btn--linie, .is-style-linie > .wp-block-button__link { background: transparent; border-color: currentColor; color: inherit; }
.btn--linie:hover, .is-style-linie > .wp-block-button__link:hover { background: oklch(0.24 0.03 175 / 0.06); }
.abschnitt--gruen .btn--linie:hover, .hero .btn--linie:hover,
.abschnitt--gruen .is-style-linie > .wp-block-button__link:hover, .hero .is-style-linie > .wp-block-button__link:hover { background: oklch(1 0 0 / 0.1); }
.btn--klein { min-height: 44px; padding: 8px 16px; font-size: 0.95rem; }
.btn--rahmen, .is-style-rahmen > .wp-block-button__link { background: transparent; color: var(--tinte); border-color: var(--feld-rahmen); }
.btn--rahmen:hover, .is-style-rahmen > .wp-block-button__link:hover { background: var(--wasser); border-color: var(--regnitz); }
.knopfreihe, .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 14px 16px; align-items: center; }
.knopfreihe > .wp-block-buttons { display: contents; }

/* ---------- Kopfzeile (Navigation) ---------- */
.kopf { position: sticky; top: var(--adminleiste); z-index: var(--z-kopf); background: oklch(0.985 0.004 190 / 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--wasser-linie); }
.kopf__inner { display: flex; align-items: center; gap: 18px; min-height: var(--kopf); max-width: 1280px; }
.marke { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.marke img { width: 186px; height: auto; }
.nav { flex: 1; display: flex; justify-content: center; }
.nav ul { list-style: none; display: flex; flex-wrap: nowrap; gap: clamp(14px, 1.6vw, 24px); }
.nav a { text-decoration: none; font-weight: 500; font-size: 0.98rem; padding: 8px 2px; position: relative; color: var(--tinte); white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--regnitz); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease-out); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.kopf__aktionen { display: flex; align-items: center; gap: 14px; flex: none; margin-left: auto; }
.kopf__tel { text-decoration: none; font-weight: 600; font-variant-numeric: tabular-nums; display: inline-flex; align-items: center; gap: 8px; }
.kopf__tel:hover { color: var(--regnitz); }
.nav-knopf { display: none; }
.sprache { display: inline-flex; gap: 2px; padding: 3px; border: 1.5px solid var(--feld-rahmen); border-radius: var(--radius); }
.sprache a { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 4px 9px; border-radius: 4px; text-decoration: none; font-weight: 600; font-size: 0.92rem; color: var(--schiefer); transition: background-color 0.25s var(--ease-out), color 0.25s var(--ease-out); }
.sprache a:hover { background: var(--wasser); color: var(--tinte); }
.sprache a[aria-current="true"] { background: var(--regnitz); color: var(--weiss); }
.flagge { width: 22px; height: 15px; border-radius: 2px; box-shadow: 0 0 0 1px oklch(0 0 0 / 0.18); flex: none; }
@media (max-width: 1180px) {
  .kopf__tel span { display: none; }
  .sprache a span { display: none; }
  .sprache a { padding: 4px 7px; }
}
@media (max-width: 1100px) {
  .kopf__inner { gap: 12px; }
  :root { --kopf: 76px; }
  .marke img { width: 152px; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--papier); border-bottom: 1px solid var(--wasser-linie); box-shadow: var(--schatten); display: none; padding: 8px var(--gutter) 20px; z-index: var(--z-menue); }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li { opacity: 0; transform: translateY(10px); }
  .nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--wasser-linie); font-size: 1.1rem; }
  .nav a::after { display: none; }
  body.nav-offen .nav { display: block; }
  body.nav-offen .nav li { opacity: 1; transform: none; transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out); }
  body.nav-offen .nav li:nth-child(1) { transition-delay: 0.03s; } body.nav-offen .nav li:nth-child(2) { transition-delay: 0.07s; } body.nav-offen .nav li:nth-child(3) { transition-delay: 0.11s; } body.nav-offen .nav li:nth-child(4) { transition-delay: 0.15s; } body.nav-offen .nav li:nth-child(5) { transition-delay: 0.19s; } body.nav-offen .nav li:nth-child(6) { transition-delay: 0.23s; }
  .kopf__tel { width: 44px; height: 44px; justify-content: center; border: 1.5px solid var(--feld-rahmen); border-radius: var(--radius); }
  .nav-knopf { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 10px; background: transparent; border: 1.5px solid var(--feld-rahmen); border-radius: var(--radius); cursor: pointer; }
  .nav-knopf span { display: block; height: 2px; background: var(--tinte); border-radius: 2px; transition: transform 0.3s var(--ease-out), opacity 0.2s; }
  body.nav-offen .nav-knopf span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-offen .nav-knopf span:nth-child(2) { opacity: 0; }
  body.nav-offen .nav-knopf span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 480px) {
  .sprache { padding: 0; border: 0; }
  .sprache a[aria-current="true"] { display: none; }
  .sprache a { min-height: 44px; min-width: 44px; justify-content: center; border: 1.5px solid var(--feld-rahmen); border-radius: var(--radius); }
}
/* Werkzeugleiste für angemeldete Bearbeiter: Kopf darunter kleben */
body.admin-bar { --adminleiste: 32px; }
@media (max-width: 782px) { body.admin-bar { --adminleiste: 46px; } }
@media (max-width: 600px) { body.admin-bar { --adminleiste: 0px; } }

/* ---------- Hero: die Praxis auf der Karte ---------- */
.hero { position: relative; background: var(--regnitz); color: var(--weiss); overflow: hidden; isolation: isolate; }
.hero__karte { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
@media (min-width: 901px) { .hero__karte { -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0.2) 0, rgba(0,0,0,0.2) 34%, #000 58%); mask-image: linear-gradient(to right, rgba(0,0,0,0.2) 0, rgba(0,0,0,0.2) 34%, #000 58%); } }
.hero__karte svg { width: 100%; height: 100%; display: block; }
.hero__karte .k-pin__text { display: none; }
.hero__inner { position: relative; z-index: 1; padding-block: clamp(48px, 7vw, 88px) clamp(56px, 7vw, 96px); align-items: center; }
.hero h1 { color: var(--weiss); font-size: clamp(2.4rem, 4vw, 3.5rem); max-width: 24ch; }
.hero h1 em { font-style: italic; font-weight: 300; }
.hero .lead { color: var(--auf-gruen-2); margin-top: 22px; max-width: 46ch; }
.hero .knopfreihe { margin-top: 34px; }
.hero__status { display: flex; align-items: center; gap: 10px; color: var(--auf-gruen-2); font-size: 0.98rem; }
.hero__status .ico { width: 1.05em; height: 1.05em; color: var(--sandstein); }
.hero__foto { position: relative; }
.hero__foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); border: 1px solid oklch(1 0 0 / 0.35); box-shadow: 0 30px 70px -30px oklch(0.15 0.03 175 / 0.7); }
.hero__adresse { margin-top: 14px; display: flex; align-items: center; gap: 10px; color: var(--auf-gruen-2); font-size: 0.95rem; }
p.hero__adresse[class*="ico--"]::before { background-color: var(--sandstein); }
/* Hinweis „ohne Termin, ohne Anruf“: sofort sichtbar unter der Einleitung */
.hero__offen { position: relative; margin-top: 24px; max-width: 46ch; padding: 14px 18px 14px 50px; border: 1px solid oklch(1 0 0 / 0.35); border-radius: var(--radius); background: var(--regnitz-tief); color: var(--weiss); font-size: 1.02rem; line-height: 1.45; }
.hero__offen strong { display: block; margin-bottom: 2px; font-weight: 600; }
p.hero__offen[class*="ico--"]::before { position: absolute; left: 18px; top: calc(14px + 0.175em); background-color: var(--sandstein); }
@media (max-width: 900px) {
  .hero { display: flex; flex-direction: column; }
  .hero__karte { position: static; order: 2; height: auto; aspect-ratio: 16 / 9; margin-top: -8px; border-top: 1px solid oklch(1 0 0 / 0.14); }
  .hero__karte svg { height: 100%; }
  .hero__inner { padding-block: 40px 40px; }
  .hero__foto { max-width: 420px; }
  .hero__foto img { aspect-ratio: 4 / 4.6; }
}
@media (max-width: 560px) { .hero .knopfreihe .wp-block-button, .hero .knopfreihe .wp-block-button__link { width: 100%; } }

/* Karte (OpenStreetMap-Linien). Auf dem grünen Feld hell, auf Papier grün. */
.karte .k-wasser path { fill: var(--regnitz-hell); }
.karte .k-strassen path { fill: none; stroke: oklch(0.52 0.07 172); stroke-width: 1.1; }
.karte .k-strassen--gross path { stroke: oklch(0.58 0.07 172); stroke-width: 1.9; }
.karte .k-flussband path { fill: none; stroke: var(--regnitz-hell); stroke-width: 16; stroke-linejoin: round; stroke-linecap: round; }
.karte .k-fluss path { fill: none; stroke: oklch(0.86 0.05 175); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.karte .k-kleber path { fill: none; stroke: var(--sandstein); stroke-width: 5; stroke-linecap: round; }
.karte .k-pin__ring { fill: none; stroke: var(--sandstein); stroke-width: 3; }
.karte .k-pin__punkt { fill: var(--sandstein); }
.karte .k-pin__text { font-family: var(--sans); font-size: 26px; font-weight: 600; fill: var(--weiss); text-anchor: end; }
/* Karte auf hellem Grund (Anfahrt) */
.karte--hell .k-wasser path { fill: oklch(0.885 0.045 175); }
.karte--hell .k-strassen path { stroke: oklch(0.82 0.03 175); }
.karte--hell .k-strassen--gross path { stroke: oklch(0.74 0.04 175); }
.karte--hell .k-flussband path { stroke: oklch(0.885 0.045 175); }
.karte--hell .k-fluss path { stroke: var(--regnitz); }
.karte--hell .k-pin__text { fill: var(--tinte); }
.karte--hell .k-pin__ring { stroke: var(--sandstein-tief); }
.karte--hell .k-pin__punkt { fill: var(--sandstein-tief); }

/* Signatur: die Flusslinien zeichnen sich, dann setzt sich der Pin. */
@media (prefers-reduced-motion: no-preference) {
  .hero .k-fluss path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: fluss-zeichnen 1.4s var(--ease-out) 0.15s forwards; }
  .hero .k-kleber path { opacity: 0; animation: einblenden 0.6s var(--ease-out) 1.1s forwards; }
  .hero .k-pin { opacity: 0; animation: einblenden 0.4s var(--ease-out) 1.3s forwards; }
  .hero .k-pin__ring { transform-origin: center; animation: pin-ring 1.6s var(--ease-out) 1.4s 1 both; }
  .hero__inner > * { transform: translateY(14px); animation: aufsteigen 0.8s var(--ease-out) forwards; }
  .hero__inner > :nth-child(2) { animation-delay: 0.12s; }
}
@keyframes fluss-zeichnen { to { stroke-dashoffset: 0; } }
@keyframes einblenden { to { opacity: 1; } }
@keyframes aufsteigen { to { transform: none; } }
@keyframes pin-ring { 0% { transform: scale(0.4); opacity: 0; } 40% { opacity: 1; } 100% { transform: scale(1); opacity: 1; } }

/* ---------- Legende (Listen im Stadtplan-Stil) ---------- */
.legende { list-style: none; border-top: 1px solid var(--wasser-linie); }
.legende li { position: relative; padding: 14px 0 14px 30px; border-bottom: 1px solid var(--wasser-linie); hyphens: auto; overflow-wrap: anywhere; }
.legende li::before { content: ""; position: absolute; left: 0; top: calc(14px + 0.5em); width: 12px; height: 12px; background: var(--regnitz); border-radius: 2px; }
.legende--sand li::before { background: var(--sandstein-tief); }
.legende strong { display: block; font-weight: 600; }
.legende .neben { font-size: 0.98rem; }
.abschnitt--gruen .legende, .abschnitt--gruen .legende li { border-color: oklch(1 0 0 / 0.18); }
.abschnitt--gruen .legende li::before { background: var(--sandstein); }
.legende--zweispaltig { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); column-gap: 40px; }

/* ---------- Sprechzeiten ---------- */
.zeiten { list-style: none; border-top: 1px solid var(--wasser-linie); }
.zeiten li { display: grid; grid-template-columns: 1.4fr 2fr; gap: 12px 24px; padding: 14px 0 14px 26px; border-bottom: 1px solid var(--wasser-linie); position: relative; font-variant-numeric: tabular-nums; }
.zeiten li::before { content: ""; position: absolute; left: 0; top: 1.25em; width: 12px; height: 12px; border-radius: 2px; background: var(--wasser-linie); }
.zeiten li.heute::before { background: var(--sandstein-tief); }
.zeiten .heute-marke { margin-left: 10px; font-size: 0.9rem; font-weight: 600; color: var(--sandstein-tief); text-transform: uppercase; letter-spacing: 0.04em; }
.zeiten .zeit + .zeit { margin-left: 18px; }
.zeiten strong { font-weight: 600; }
.abschnitt--gruen .zeiten, .abschnitt--gruen .zeiten li { border-color: oklch(1 0 0 / 0.18); }
.abschnitt--gruen .zeiten li::before { background: oklch(1 0 0 / 0.3); }
.abschnitt--gruen .zeiten li.heute::before { background: var(--sandstein); }
.abschnitt--gruen .zeiten .heute-marke { color: var(--sandstein); }
.hinweis { display: grid; grid-template-columns: 14px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--wasser-linie); border-bottom: 1px solid var(--wasser-linie); font-size: 0.98rem; align-items: start; }
.hinweis .ico { display: none; }
.zeiten + .hinweis { border-top: 0; }
.hinweis::before { content: ""; width: 12px; height: 12px; margin-top: 0.5em; background: var(--sandstein-tief); border-radius: 2px; }
.hinweis strong { display: block; font-weight: 600; margin-bottom: 4px; }
.status-zeile { display: inline-flex; align-items: center; gap: 10px; padding: 10px 0; }
.status-zeile .ico { color: var(--sandstein-tief); }
@media (max-width: 560px) { .zeiten li { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Weiterlesen-Link ---------- */
.mehr, .is-style-mehr > .wp-block-button__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding-block: 6px; font-weight: 600; text-decoration: none; color: var(--regnitz); }
.is-style-mehr > .wp-block-button__link { min-height: 0; padding-inline: 0; border: 0; border-radius: 0; background: none; font-size: inherit; line-height: inherit; }
.is-style-mehr > .wp-block-button__link:active { transform: none; }
.mehr .ico, .is-style-mehr > .wp-block-button__link::after { transition: transform 0.3s var(--ease-out); }
.mehr:hover .ico, .is-style-mehr > .wp-block-button__link:hover::after { transform: translateX(4px); }
.mehr:hover, .is-style-mehr > .wp-block-button__link:hover { color: var(--regnitz-tief); text-decoration: underline; background: none; }
/* Beim Weiterlesen-Link steht das Symbol hinter dem Text */
.wp-block-button.is-style-mehr[class*="ico--"] > .wp-block-button__link::before { content: none; }
.wp-block-button.is-style-mehr[class*="ico--"] > .wp-block-button__link::after {
  content: ""; display: inline-block; vertical-align: -0.2em; flex: none; width: 1.1em; height: 1.1em; background-color: currentColor;
  -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat;
}

/* ---------- Online-Band ---------- */
.aktionen { list-style: none; border-top: 1px solid oklch(1 0 0 / 0.2); }
.aktionen li { border-bottom: 1px solid oklch(1 0 0 / 0.2); }
.aktionen a { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 20px; row-gap: 0; padding: 22px 0; text-decoration: none; color: var(--weiss); }
.aktionen a > strong, .aktionen a > .neben { grid-column: 1; transition: transform 0.3s var(--ease-out); }
.aktionen a:hover > strong, .aktionen a:hover > .neben { transform: translateX(10px); }
.aktionen strong { font-family: var(--serif); font-weight: 400; font-size: clamp(1.4rem, 2.4vw, 1.9rem); display: block; line-height: 1.2; grid-row: 1; }
.aktionen a > .neben { display: block; margin-top: 4px; grid-row: 2; }
.aktionen a::after {
  content: ""; grid-column: 2; grid-row: 1 / span 2; width: 28px; height: 28px; background-color: var(--sandstein);
  -webkit-mask: url("assets/icons/arrow-right.svg") center / contain no-repeat; mask: url("assets/icons/arrow-right.svg") center / contain no-repeat;
  transition: transform 0.3s var(--ease-out);
}
.aktionen a[target="_blank"]::after { -webkit-mask-image: url("assets/icons/arrow-up-right.svg"); mask-image: url("assets/icons/arrow-up-right.svg"); }
.aktionen a:hover::after { transform: translateX(6px); }

/* ---------- Bild + Text ---------- */
.foto img { width: 100%; border-radius: var(--radius); border: 1px solid var(--wasser-linie); object-fit: cover; }
.foto--43 img { aspect-ratio: 4 / 3; }
.adresse { font-style: normal; }
.adresse strong { display: block; font-family: var(--serif); font-size: 1.35rem; font-weight: 500; margin-bottom: 4px; }
.wege { list-style: none; margin-top: 28px; display: grid; gap: 16px; }
.wege li { position: relative; padding-left: calc(1.4em + 14px); }
.wege li::before {
  content: ""; position: absolute; left: 0; top: 0.1em; width: 1.4em; height: 1.4em; background-color: var(--regnitz);
  -webkit-mask: var(--ico, url("assets/icons/map-pin.svg")) center / contain no-repeat; mask: var(--ico, url("assets/icons/map-pin.svg")) center / contain no-repeat;
}
.wege li:nth-child(1) { --ico: url("assets/icons/bus.svg"); }
.wege li:nth-child(2) { --ico: url("assets/icons/car.svg"); }
.wege li:nth-child(3) { --ico: url("assets/icons/home-2.svg"); }
.wege strong { display: block; font-weight: 600; }

/* Lageplan-Streifen (Standort-Sektion) */
.lageplan { margin-top: 20px; aspect-ratio: 16 / 7; border-radius: var(--radius); border: 1px solid var(--wasser-linie); overflow: hidden; background: var(--wasser); position: relative; }
.lageplan .karte { width: 100%; height: 100%; display: block; }
.lageplan .k-pin__text { font-size: 30px; }

/* Karte laden (Consent) */
.karte-gate { position: relative; min-height: 460px; border-radius: var(--radius); border: 1px solid var(--wasser-linie); background: var(--wasser); overflow: hidden; }
.karte-gate .karte { position: absolute; inset: 0; width: 100%; height: 100%; }
.karte-gate__box .mehr { margin-top: 0; }
.karte-gate__box { position: absolute; left: 20px; bottom: 20px; width: min(calc(100% - 40px), 420px); background: var(--weiss); border-radius: var(--radius); padding: 16px 18px; box-shadow: 0 10px 28px -14px oklch(0.30 0.05 172 / 0.5); font-size: 0.95rem; display: grid; gap: 10px; }
.karte-gate iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.osm-hinweis { font-size: 0.9rem; color: var(--schiefer); margin-top: 10px; }
.osm-hinweis a { color: inherit; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--wasser-linie); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--wasser-linie); }
.faq summary { list-style: none; cursor: pointer; position: relative; display: block; min-height: 68px; padding: 20px 48px 20px 0; font-family: var(--serif); font-size: 1.3rem; font-weight: 500; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::marker { content: ""; }
/* Plus/Minus rechts: zwei Striche, der senkrechte dreht sich beim Öffnen weg */
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 16px; height: 2px; margin-top: -1px; background: var(--regnitz); border-radius: 2px; transition: transform 0.3s var(--ease-out); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq details > p { padding: 0 0 22px; color: var(--schiefer); max-width: 66ch; }
.faq summary:hover { color: var(--regnitz); }

/* ---------- Leistungen-Seite: Legende links, Abschnitte rechts ---------- */
.verzeichnis { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.verzeichnis__nav { position: sticky; top: calc(var(--kopf) + var(--adminleiste) + 24px); }
.verzeichnis__nav ol { list-style: none; border-top: 1px solid var(--wasser-linie); }
.verzeichnis__nav a { display: grid; grid-template-columns: 12px 1fr; gap: 14px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--wasser-linie); text-decoration: none; font-size: 1rem; color: var(--schiefer); transition: color 0.25s var(--ease-out); }
.verzeichnis__nav a::before { content: ""; width: 12px; height: 12px; border-radius: 2px; background: var(--wasser-linie); transition: background-color 0.25s var(--ease-out); }
.verzeichnis__nav a:hover, .verzeichnis__nav a.aktiv { color: var(--tinte); }
.verzeichnis__nav a.aktiv::before { background: var(--sandstein-tief); }
.verzeichnis__nav a:hover::before { background: var(--regnitz); }
.leistung { padding-block: 40px; border-top: 1px solid var(--wasser-linie); scroll-margin-top: calc(var(--kopf) + var(--adminleiste) + 24px); }
.leistung:first-of-type { border-top: 0; padding-top: 0; }
.leistung h2 { margin-bottom: 10px; }
.leistung .frage { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.25rem; color: var(--schiefer); margin-bottom: 18px; max-width: 60ch; }
.leistung .legende { margin-top: 24px; }
.leistung__kopf { display: flex; flex-direction: column; gap: 28px; }
.leistung__bild { order: -1; }
.leistung__bild img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--wasser-linie); }
@media (max-width: 700px) { .leistung__kopf { gap: 20px; } .leistung__bild img { aspect-ratio: 16 / 9; } }
.leistung .legende li { padding-block: 10px; }
.leistung .legende li::before { top: calc(10px + 0.5em); }
.leistung.aktiv h2 { color: var(--regnitz); }
@media (max-width: 900px) {
  .verzeichnis { grid-template-columns: minmax(0, 1fr); }
  .verzeichnis__nav { position: static; }
  .verzeichnis__nav ol { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0 24px; }
}

/* ---------- Team-Seite ---------- */
.arzt { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 64px); align-items: start; padding-block: clamp(40px, 6vw, 72px); border-top: 1px solid var(--wasser-linie); }
/* Ärzteteam ab 0.4.4: Kopf (Foto + Steckbrief) über dem Lebenslauf */
.arzt--profil { display: block; }
.arzt.arzt--profil:first-of-type { padding-top: clamp(40px, 6vw, 72px); }
.arzt__kopf { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.arzt__kopf .arzt__bild img { position: static; }
.arzt__steckbrief h2 { margin-bottom: 20px; }
.steckbrief { list-style: none; border-top: 1px solid var(--wasser-linie); margin-bottom: 28px; }
.steckbrief li { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 4px 24px; padding: 12px 0; border-bottom: 1px solid var(--wasser-linie); }
.steckbrief strong { font-weight: 600; color: var(--tinte); hyphens: auto; overflow-wrap: break-word; }
.steckbrief .neben { color: var(--tinte); }
/* Lebenslauf links, Schwerpunkte rechts daneben (bleiben beim Lesen stehen) */
.arzt__text { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 64px); align-items: start; margin-top: clamp(32px, 4vw, 48px); }
/* 34em ≈ 70 Zeichen dieser Schrift (ch misst die breite Ziffer 0 und fiele zu lang aus) */
.arzt--profil .arzt__text .vita p { max-width: 34em; }
.arzt__text .hervorhebung { margin-top: 0; position: sticky; top: calc(var(--kopf) + var(--adminleiste) + 24px); }
.aerzte-wahl { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0 clamp(28px, 5vw, 64px); margin-top: clamp(28px, 4vw, 44px); border-top: 1px solid var(--wasser-linie); }
.aerzte-wahl__eintrag { padding-block: 18px 20px; border-bottom: 1px solid var(--wasser-linie); }
.aerzte-wahl__eintrag p { margin: 0; }
.aerzte-wahl__name { font-family: var(--serif); font-size: clamp(1.3rem, 1.8vw, 1.55rem); line-height: 1.25; color: var(--tinte); }
.aerzte-wahl__eintrag p + p { margin-top: 4px; color: var(--schiefer); }
.aerzte-wahl__eintrag .wp-block-buttons { margin-top: 8px; }
.aerzte-wahl__eintrag .wp-block-button { margin: 0; }
/* Schwerpunkte als Schlagwörter */
.legende.schlagworte { display: flex; flex-wrap: wrap; gap: 8px; border-top: 0; }
.legende.schlagworte li { padding: 7px 14px; border: 1px solid var(--wasser-linie); border-radius: var(--radius); background: var(--weiss); line-height: 1.3; }
.legende.schlagworte li::before { content: none; }
@media (max-width: 900px) {
  .arzt__kopf, .arzt__text { grid-template-columns: 1fr; }
  .arzt__text .hervorhebung { position: static; }
  .arzt__kopf .arzt__bild img { max-width: 520px; }
}
@media (max-width: 520px) {
  .steckbrief li { grid-template-columns: 1fr; gap: 2px; }
}
.arzt:first-of-type { border-top: 0; padding-top: 0; }
.arzt img { width: 100%; border-radius: var(--radius); border: 1px solid var(--wasser-linie); position: sticky; top: calc(var(--kopf) + var(--adminleiste) + 24px); }
.arzt h2 { margin-bottom: 4px; }
.arzt .rolle { color: var(--schiefer); margin-bottom: 22px; font-size: 1.05rem; }
.arzt .vita p { max-width: 62ch; }
.arzt h3 { margin-top: 32px; margin-bottom: 12px; }
.hervorhebung { margin-top: 32px; padding: clamp(20px, 3vw, 28px); background: var(--wasser); border: 1px solid var(--wasser-linie); border-radius: var(--radius); }
.hervorhebung h3, .arzt .hervorhebung h3 { margin-top: 0; }
.hervorhebung .legende { margin-bottom: 0; }
/* Innenabstand der Fläche: Mindestbreite je Spalte etwas kleiner, damit die Liste zweispaltig bleibt */
.hervorhebung .legende--zweispaltig { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); column-gap: 32px; }
@media (max-width: 900px) { .arzt { grid-template-columns: 1fr; } .arzt img { position: static; max-width: 520px; } }

/* ---------- Praxis-Seite ---------- */
.philo { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 40px; border-top: 1px solid var(--wasser-linie); }
.philo > * { padding: 24px 0; border-bottom: 1px solid var(--wasser-linie); }
.philo h3 { margin-bottom: 8px; }
.philo p { color: var(--schiefer); }

/* ---------- Formulare (Rechen-Captcha, Versand an die Praxis) ---------- */
.formular { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.formular .voll { grid-column: 1 / -1; }
.feld { display: grid; gap: 6px; }
.feld label { font-weight: 600; font-size: 1rem; }
.feld input, .feld textarea { width: 100%; font: inherit; color: var(--tinte); background: var(--weiss); border: 1.5px solid var(--feld-rahmen); border-radius: var(--radius); padding: 12px 14px; transition: border-color 0.25s var(--ease-out); }
.feld input:hover, .feld textarea:hover { border-color: var(--regnitz-hell); }
.feld input:focus, .feld textarea:focus { outline: 3px solid var(--fokus); outline-offset: 2px; border-color: var(--regnitz); }
.feld textarea { min-height: 140px; resize: vertical; }
.feld input::placeholder, .feld textarea::placeholder { color: var(--schiefer); opacity: 1; }
.feld .hilfe { font-size: 0.9rem; color: var(--schiefer); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.98rem; }
.check input { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.captcha { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; }
.captcha .feld { flex: 0 0 140px; }
.captcha__frage { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; padding-bottom: 10px; font-variant-numeric: tabular-nums; }
.captcha__neu { background: transparent; border: 1.5px solid var(--feld-rahmen); border-radius: var(--radius); width: 48px; height: 48px; cursor: pointer; display: inline-grid; place-items: center; }
.captcha__neu:hover { border-color: var(--regnitz); color: var(--regnitz); }
.form-status { grid-column: 1 / -1; margin: 0; padding: 0; border-radius: var(--radius); font-size: 1rem; }
.form-status.sichtbar { padding: 14px 18px; background: var(--wasser); border: 1px solid var(--feld-rahmen); }
[aria-invalid="true"] { border-color: oklch(0.55 0.18 30) !important; }
.form-status.fehler { background: oklch(0.96 0.03 30); border-color: oklch(0.85 0.08 30); }
.form-status.erfolg { background: oklch(0.95 0.04 160); border-color: oklch(0.72 0.08 165); }
.formular-aus { margin-top: 8px; }
.form-hinweis { font-size: 1rem; color: var(--schiefer); }
.formular__falle { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 640px) { .formular { grid-template-columns: 1fr; } }

/* ---------- Online-Services-Seite ---------- */
.services { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.services .verzeichnis__nav a { cursor: pointer; }
.service { padding-block: 40px; border-top: 1px solid var(--wasser-linie); scroll-margin-top: calc(var(--kopf) + var(--adminleiste) + 24px); }
.service:first-of-type { border-top: 0; padding-top: 0; }
.service h2 { margin-bottom: 8px; }
.service .lead { color: var(--schiefer); margin-bottom: 24px; }
.service .formular { max-width: 820px; margin-top: 8px; }
/* Reiter-Ansicht (per site.js): immer nur der gewählte Punkt, keine lange Scrollseite */
.services--reiter .service { display: none; padding-top: 0; border-top: 0; }
.services--reiter .service.aktiv { display: block; }
.services--reiter .service h2:focus { outline: none; }
.services--reiter .verzeichnis__nav a[aria-current="true"] { color: var(--tinte); font-weight: 600; }
@media (prefers-reduced-motion: no-preference) { .services--reiter .service.aktiv { animation: tafel-ein 0.35s var(--ease-out); } }
@keyframes tafel-ein { from { opacity: 0; transform: translateY(8px); } }
.mail-gross, .is-style-mail > .wp-block-button__link { display: inline-flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 1.35rem; text-decoration: none; color: var(--regnitz); padding: 6px 0; }
.is-style-mail > .wp-block-button__link { min-height: 0; padding-inline: 0; border: 0; border-radius: 0; background: none; font-weight: 400; line-height: inherit; white-space: normal; overflow-wrap: anywhere; }
.is-style-mail > .wp-block-button__link:active { transform: none; }
.wp-block-button.is-style-mail[class*="ico--"] > .wp-block-button__link::before { width: 1.1em; height: 1.1em; }
.mail-gross:hover, .is-style-mail > .wp-block-button__link:hover { text-decoration: underline; background: none; }
@media (max-width: 900px) { .services { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 360px) { .kopf__inner, .kopf__aktionen { gap: 8px; } .marke img { width: 118px; } }

/* ---------- Rechtstexte ---------- */
.text { max-width: 760px; }
.text h1 { margin-bottom: 28px; }
.text h2 { font-size: 1.7rem; margin: 44px 0 12px; }
.text h3 { margin: 28px 0 8px; }
.text h4 { margin: 20px 0 6px; font-family: var(--sans); font-weight: 700; font-size: 1.02rem; }
.text p { margin: 0 0 14px; max-width: 62ch; overflow-wrap: anywhere; }
.text ul { margin: 0 0 14px 22px; }
.text li { margin-bottom: 4px; }
.text .block { margin-bottom: 18px; }
.text .block p { margin: 0; }
.text a { color: var(--regnitz); }
.umsetzung-kasten { margin-top: 48px; padding: 22px 24px; border-radius: var(--radius); background: var(--wasser); border: 1px solid var(--wasser-linie); font-size: 0.98rem; }
/* Impressum ab 0.4.5: Logo links, Angaben rechts; auf dem Handy untereinander */
.umsetzung-kasten:has(> .wp-block-image) { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px 28px; align-items: center; padding: clamp(20px, 3vw, 28px); }
.umsetzung-kasten > .wp-block-image { margin: 0; }
.umsetzung-kasten > .wp-block-image img { display: block; width: 96px; height: auto; }
.umsetzung-kasten h2 { margin-top: 0; }
.umsetzung-kasten__text p { margin: 0; }
.umsetzung-kasten__text p + p { margin-top: 4px; }
.umsetzung-kasten__text p:nth-of-type(2) { margin-bottom: 10px; }
.text > .lead { margin-top: -12px; margin-bottom: 8px; }
@media (max-width: 480px) {
  .umsetzung-kasten:has(> .wp-block-image) { grid-template-columns: 1fr; }
  .umsetzung-kasten > .wp-block-image img { width: 80px; }
}
.umsetzung-kasten h2 { font-size: 1.3rem; margin: 0 0 8px; }

/* ---------- Weitere Kernblöcke, die die Praxis selbst einsetzen kann ---------- */
.wp-block-columns { display: flex; flex-wrap: wrap; gap: 24px clamp(20px, 3vw, 40px); }
.wp-block-column { flex: 1 1 0; min-width: 0; }
.wp-block-column[style*="flex-basis"] { flex-grow: 0; }
@media (max-width: 781px) { .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column { flex-basis: 100% !important; } }
.wp-block-columns + *, * + .wp-block-columns { margin-top: 24px; }
.wp-block-buttons.is-content-justification-center { justify-content: center; }
.wp-block-buttons.is-content-justification-right { justify-content: flex-end; }
.wp-block-image.aligncenter, .wp-block-image .aligncenter { margin-inline: auto; text-align: center; }
.wp-block-image.aligncenter img { margin-inline: auto; }
.wp-block-image.alignleft { float: left; margin: 6px 24px 12px 0; max-width: 50%; }
.wp-block-image.alignright { float: right; margin: 6px 0 12px 24px; max-width: 50%; }
.wp-block-image figcaption, .wp-element-caption { margin-top: 8px; font-size: 0.95rem; color: var(--schiefer); }
.wp-block-separator { border: 0; border-top: 1px solid var(--wasser-linie); margin: 32px 0; }
.wp-block-table { overflow-x: auto; margin: 0 0 20px; }
.wp-block-table table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.wp-block-table th, .wp-block-table td { padding: 10px 12px; border-bottom: 1px solid var(--wasser-linie); text-align: left; vertical-align: top; }
.wp-block-table thead th { border-bottom-width: 2px; font-weight: 600; }
.wp-block-file { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 0 0 16px; }
.wp-block-file > a:first-child { color: var(--regnitz); font-weight: 600; }
.wp-block-file .wp-block-file__button { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: var(--radius); background: var(--regnitz); color: var(--weiss); font-weight: 600; font-size: 0.95rem; text-decoration: none; }
.wp-block-file .wp-block-file__button:hover { background: var(--regnitz-tief); }
.wp-block-file__embed { display: none; }

/* ---------- Fuß ---------- */
.fuss { background: var(--regnitz-tief); color: var(--auf-gruen-2); padding-block: clamp(48px, 6vw, 80px) 32px; }
.fuss__oben { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.fuss__marke img { width: 160px; filter: brightness(0) invert(1); opacity: 0.95; }
.fuss p, .fuss address { font-style: normal; margin: 0; }
.fuss__marke p { margin-top: 18px; max-width: 34ch; font-size: 0.98rem; }
.fuss__titel { font-family: var(--sans); font-size: 0.85rem; line-height: 1.25; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--weiss); margin-bottom: 12px; }
.fuss ul { list-style: none; display: grid; gap: 2px; }
.fuss li a { display: inline-block; padding-block: 6px; }
.fuss a { text-decoration: none; color: var(--weiss); }
.fuss a:hover { text-decoration: underline; text-decoration-color: var(--sandstein); }
.fuss__unten { margin-top: 40px; padding-top: 20px; border-top: 1px solid oklch(1 0 0 / 0.18); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 0.9rem; }
.fuss__unten a { text-decoration: underline; text-decoration-color: oklch(1 0 0 / 0.4); }
@media (max-width: 800px) { .fuss__oben { grid-template-columns: 1fr; gap: 28px; } }


/* ---------- Dialoge: Hinweis beim Aufruf, Terminfenster ---------- */
dialog { color: var(--tinte); }
dialog::backdrop { background: oklch(0.24 0.03 175 / 0.45); }
.dialog-zu { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; border: 1.5px solid var(--wasser-linie); border-radius: var(--radius); background: var(--weiss); color: var(--tinte); cursor: pointer; transition: background-color 0.25s var(--ease-out), border-color 0.25s var(--ease-out); }
.dialog-zu:hover { background: var(--wasser); border-color: var(--regnitz); }
.dialog-zu .ico { width: 20px; height: 20px; }

.hinweis-dialog { width: min(540px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: clamp(26px, 4vw, 40px); border: 1px solid var(--wasser-linie); border-radius: var(--radius); background: var(--papier); box-shadow: var(--schatten); }
.hinweis-dialog .dialog-zu { position: absolute; top: 14px; right: 14px; }
.hinweis-dialog__ico { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: var(--radius); background: var(--wasser); color: var(--sandstein-tief); }
.hinweis-dialog__ico .ico { width: 26px; height: 26px; }
.hinweis-dialog h2 { margin-top: 18px; padding-right: 36px; font-size: clamp(1.55rem, 3.4vw, 1.95rem); }
.hinweis-dialog p { margin-top: 12px; }
.hinweis-dialog .knopfreihe { margin-top: 26px; }
.hinweis-dialog h2:focus { outline: none; }
@media (max-width: 480px) { .hinweis-dialog .knopfreihe .btn { width: 100%; white-space: normal; text-align: center; } .hinweis-dialog h2 { font-size: 1.45rem; } }

.termin-knopf { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: calc(max(16px, env(safe-area-inset-bottom))); z-index: var(--z-termin); display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 12px 20px 12px 16px; border: 1.5px solid oklch(1 0 0 / 0.22); border-radius: var(--radius); background: var(--regnitz); color: var(--weiss); font: 600 1rem/1.2 var(--sans); cursor: pointer; box-shadow: 0 18px 40px -16px oklch(0.20 0.05 172 / 0.65); transition: background-color 0.25s var(--ease-out), transform 0.2s var(--ease-out); }
.termin-knopf .ico { width: 22px; height: 22px; color: var(--sandstein); }
.termin-knopf:hover { background: var(--regnitz-tief); }
.termin-knopf:active { transform: translateY(1px); }
.termin-knopf:focus-visible { outline: 3px solid var(--sandstein); outline-offset: 3px; box-shadow: 0 0 0 3px var(--tinte), 0 18px 40px -16px oklch(0.20 0.05 172 / 0.65); }
body.nav-offen .termin-knopf, body:has(dialog[open]) .termin-knopf { visibility: hidden; }
body:has(dialog[open]) { overflow: hidden; }

/* ---------- Bedienhilfe (Symbol Barrierefreiheit, unten links) ---------- */
.bh-knopf { position: fixed; left: max(16px, env(safe-area-inset-left)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: var(--z-termin); display: inline-grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 1.5px solid oklch(1 0 0 / 0.22); border-radius: 50%; background: var(--regnitz); color: var(--weiss); cursor: pointer; box-shadow: 0 18px 40px -16px oklch(0.20 0.05 172 / 0.65); transition: background-color 0.25s var(--ease-out); }
.bh-knopf .ico { width: 30px; height: 30px; stroke-width: 1.6; }
.bh-knopf:hover, .bh-knopf[aria-expanded="true"] { background: var(--regnitz-tief); }
.bh-knopf:focus-visible { outline: 3px solid var(--sandstein); outline-offset: 3px; box-shadow: 0 0 0 3px var(--tinte); }
.bh-feld { position: fixed; left: max(16px, env(safe-area-inset-left)); bottom: calc(max(16px, env(safe-area-inset-bottom)) + 64px); z-index: var(--z-termin); width: min(340px, calc(100vw - 32px)); max-height: calc(100dvh - 120px); overflow: auto; padding: 0 18px 18px; border: 1px solid var(--wasser-linie); border-radius: var(--radius); background: var(--papier); color: var(--tinte); box-shadow: var(--schatten); }
.bh-feld[hidden] { display: none; }
.bh-feld__kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0 10px; }
.bh-feld__kopf h2 { margin: 0; font-size: 1.25rem; }
.bh-feld__titel { margin: 6px 0 8px; font-weight: 600; font-size: 0.95rem; }
.bh-stufen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 14px; }
.bh-stufen button, .bh-schalter { min-height: 44px; border: 1.5px solid var(--feld-rahmen); border-radius: var(--radius); background: var(--weiss); color: var(--tinte); font: 600 0.95rem/1.2 var(--sans); cursor: pointer; }
.bh-stufen button { padding: 8px 4px; }
.bh-stufen button[aria-pressed="true"] { background: var(--regnitz); border-color: var(--regnitz); color: var(--weiss); }
.bh-schalter { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; margin-top: 8px; padding: 10px 14px; text-align: left; }
.bh-schalter::after { content: ""; flex: none; width: 40px; height: 22px; border-radius: 11px; background: var(--schiefer) radial-gradient(circle at 11px 50%, var(--weiss) 8px, transparent 8.5px); }
.bh-schalter[aria-pressed="true"]::after { background: var(--regnitz) radial-gradient(circle at 29px 50%, var(--weiss) 8px, transparent 8.5px); }
.bh-stufen button:focus-visible, .bh-schalter:focus-visible { outline: 3px solid var(--sandstein-tief); outline-offset: 2px; }
.bh-zurueck { width: 100%; margin-top: 14px; }
body.nav-offen .bh-knopf, body:has(dialog[open]) .bh-knopf, body:has(dialog[open]) .bh-feld { visibility: hidden; }
/* Modi der Bedienhilfe (Klassen am html-Element) */
html.bh-gross-1 { font-size: 112.5%; }
html.bh-gross-1 body { font-size: 20px; }
html.bh-gross-2 { font-size: 125%; }
html.bh-gross-2 body { font-size: 22px; }
html.bh-gross-1 .wp-block-button__link, html.bh-gross-2 .wp-block-button__link, html.bh-gross-1 .btn, html.bh-gross-2 .btn { white-space: normal; }
html.bh-gross-1 body, html.bh-gross-2 body { hyphens: auto; overflow-wrap: anywhere; }
html.bh-kontrast { --regnitz: oklch(0.30 0.07 172); --regnitz-tief: oklch(0.24 0.06 172); --regnitz-hell: oklch(0.36 0.07 172); --tinte: oklch(0.15 0.01 175); --papier: oklch(1 0 0); --weiss: oklch(1 0 0); --wasser: oklch(0.97 0.01 175); --wasser-linie: oklch(0.45 0.03 175); --schiefer: oklch(0.28 0.02 200); --auf-gruen-2: oklch(1 0 0); --feld-rahmen: oklch(0.35 0.04 175); --sandstein-tief: oklch(0.45 0.11 66); }
html.bh-kontrast .hero__karte { opacity: 0.35; }
html.bh-links a { text-decoration: underline !important; text-underline-offset: 0.18em; }
html.bh-ruhe { scroll-behavior: auto; }
html.bh-ruhe *, html.bh-ruhe *::before, html.bh-ruhe *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
.fuss { padding-bottom: 104px; }

.termin-fenster { margin: 0; inset: auto max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) auto; width: min(460px, calc(100vw - 32px)); height: min(820px, calc(100dvh - 32px)); max-width: none; max-height: none; padding: 0; border: 1px solid var(--wasser-linie); border-radius: var(--radius); background: var(--papier); box-shadow: var(--schatten); overflow: hidden; }
.termin-fenster[open] { display: flex; flex-direction: column; }
.termin-fenster::backdrop { background: oklch(0.24 0.03 175 / 0.3); }
.termin-fenster__kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 20px; background: var(--regnitz); color: var(--weiss); }
.termin-fenster__kopf h2 { color: var(--weiss); font-size: 1.3rem; line-height: 1.2; }
.termin-fenster__kopf .dialog-zu { background: transparent; border-color: oklch(1 0 0 / 0.45); color: var(--weiss); }
.termin-fenster__kopf .dialog-zu:hover { background: var(--regnitz-tief); border-color: var(--weiss); }
.termin-fenster__kopf :focus-visible { outline-color: var(--sandstein); }
.termin-fenster__hinweis { max-width: none; padding: 10px 20px; border-bottom: 1px solid var(--wasser-linie); color: var(--schiefer); font-size: 0.88rem; line-height: 1.45; }
.termin-fenster__hinweis a { color: var(--regnitz); font-weight: 600; }
.termin-fenster__rahmen { position: relative; flex: 1; min-height: 0; background: var(--weiss); }
.termin-fenster__laden { position: absolute; inset: 0; display: grid; place-items: center; max-width: none; color: var(--schiefer); font-size: 0.95rem; }
.termin-fenster iframe { position: relative; display: block; width: 100%; height: 100%; border: 0; background: transparent; }
.termin-fenster.geladen .termin-fenster__laden { display: none; }
@media (max-height: 480px) {
  html { scroll-padding-bottom: 72px; }
  .termin-knopf { min-height: 44px; padding: 10px; }
  .termin-knopf span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (max-width: 600px) {
  .termin-fenster { inset: 0; width: 100%; height: 100%; height: 100dvh; border: 0; border-radius: 0; }
  .termin-knopf { padding-inline: 14px 16px; }
}
@media (prefers-reduced-motion: no-preference) {
  .termin-knopf { animation: termin-auf 0.5s var(--ease-out) 0.6s backwards; }
  dialog[open] { animation: dialog-auf 0.35s var(--ease-out); }
  dialog[open]::backdrop { animation: dialog-grund 0.35s var(--ease-out); }
}
@keyframes dialog-auf { from { opacity: 0; transform: translateY(10px); } }
@keyframes dialog-grund { from { opacity: 0; } }
@keyframes termin-auf { from { opacity: 0; transform: translateY(18px); } }
.lageplan:first-child { margin-top: 0; }
.online-bild { margin-top: 32px; }
.online-bild img { border-color: oklch(1 0 0 / 0.25); }
@media (max-width: 900px) { .online-bild { max-width: 520px; } }

/* ---------- Windows-Kontrastmodus ---------- */
@media (forced-colors: active) {
  .nav-knopf span, .faq summary::before, .faq summary::after, .nav a::after, .legende li::before, .hinweis::before, .zeiten li::before, .verzeichnis__nav a::before { background: CanvasText; }
  .wp-block-button[class*="ico--"] > .wp-block-button__link::before, .wp-block-button[class*="ico--"] > .wp-block-button__link::after, p[class*="ico--"]::before, .wege li::before, .aktionen a::after { background: CanvasText; }
  .nav a[aria-current="page"], .sprache a[aria-current="true"] { text-decoration: underline; }
  .flagge { forced-color-adjust: none; }
  .btn, .wp-block-button__link, .feld input, .feld textarea { border: 1.5px solid CanvasText; }
  .termin-knopf, .dialog-zu { border: 1.5px solid ButtonText; }
  dialog { border: 1px solid CanvasText; }
}

/* ---------- Reduzierte Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .mehr:hover .ico, .is-style-mehr > .wp-block-button__link:hover::after, .aktionen a:hover::after, .aktionen a:hover > strong, .aktionen a:hover > .neben { transform: none; }
}

/* ---------- Druck ---------- */
@media print {
  .kopf, .fuss, .nav-knopf, .skip, .termin-knopf, dialog { display: none !important; }
  .hero { background: #fff; color: #000; }
  .hero__karte { display: none; }
}
