/* =====================================================================
   Gestaltung der Website. Mobile first: Grundregeln gelten fürs Handy,
   grössere Bildschirme ergänzen mit min-width.
   Alle Farben, Schriften und Abstände stehen als Variablen in Block 1 und 2.
   Kontrast geprüft (WCAG AA): Text mindestens 5.8 : 1, hell und dunkel.
   ===================================================================== */

/* ---------------------------------------------------------------- 1. Farben */
:root {
  color-scheme: light;
  --bg: #fbf7f6;               /* Grundton A: warmes Weiss mit einem Hauch Rosa */
  --bg-alt: #f5e9ea;           /* Grundton B: zartes Rosa, im Wechsel */
  --surface: #ffffff;          /* Formularfelder */
  --text: #2b2123;
  --text-muted: #66575b;
  --line: #e5d6d8;             /* feine Trennlinien */
  --input-border: #8e7b80;     /* Rahmen der Formularfelder, mindestens 3 : 1 */
  --brand: #9c4a62;            /* Akzent Altrosa: nur Buttons und Diabetes-Hinweis */
  --brand-strong: #7d3a4f;
  --brand-contrast: #ffffff;
  --brand-soft: #f3e1e5;       /* Fläche des Diabetes-Hinweises */
  --ok: #1d6b3c;
  --error: #b42318;
  --focus: #2b2123;
  --header-bg: rgb(251 247 246 / 0.88);
  --photo-tint: rgb(43 22 30 / 0.7);
  --glow: rgb(255 255 255 / 0.95);
  --zone: #e3a9b8;   /* Fussbereiche leuchten sanft auf */   /* sanftes Aufleuchten von Zeilen */
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #1a1416;
    --bg-alt: #221a1d;
    --surface: #2a2124;
    --text: #f4ecee;
    --text-muted: #c3b2b7;
    --line: #3a2f33;
    --input-border: #85737a;
    --brand: #eaa7b9;
    --brand-strong: #f3c4d1;
    --brand-contrast: #2a0f18;
    --brand-soft: #3a2229;
    --ok: #6fd39a;
    --error: #ff8a80;
    --focus: #f4ecee;
    --header-bg: rgb(26 20 22 / 0.88);
    --photo-tint: rgb(14 8 10 / 0.7);
    --glow: rgb(255 255 255 / 0.07);
    --zone: #9c5568;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #1a1416;
  --bg-alt: #221a1d;
  --surface: #2a2124;
  --text: #f4ecee;
  --text-muted: #c3b2b7;
  --line: #3a2f33;
  --input-border: #85737a;
  --brand: #eaa7b9;
  --brand-strong: #f3c4d1;
  --brand-contrast: #2a0f18;
  --brand-soft: #3a2229;
  --ok: #6fd39a;
  --error: #ff8a80;
  --focus: #f4ecee;
  --header-bg: rgb(26 20 22 / 0.88);
  --photo-tint: rgb(14 8 10 / 0.7);
  --glow: rgb(255 255 255 / 0.07);
  --zone: #9c5568;
}

/* ---------------------------------------------------------------- 2. Schrift, Abstände, Formen */
/* Fraunces (Überschriften) und Inter (Text), beide SIL Open Font License, lokal eingebunden */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/fraunces.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/inter.woff2") format("woff2"); }
:root {
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --radius: 20px;
  --wrap: 1160px;
  --gutter: clamp(20px, 5vw, 40px);
  --section: clamp(56px, 8vw, 88px);   /* Abstand oben und unten pro Abschnitt */
  --fade: clamp(48px, 8vw, 96px);    /* weiche Übergänge zwischen den Abschnitten */
  --header-h: 68px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
html[data-text="lg"] { font-size: 112.5%; }
html[data-text="xl"] { font-size: 125%; }

/* ---------------------------------------------------------------- 3. Grundlagen */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { min-height: 100vh; font-family: var(--font); font-size: 1.125rem; line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: clip; }
@media (min-width: 960px) { body { font-size: 1.1875rem; } }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
picture { display: contents; }
input, button, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 420; line-height: 1.12; letter-spacing: -0.01em; text-wrap: balance; overflow-wrap: break-word; }
h1 { font-size: clamp(2.25rem, 1.6rem + 3vw, 3.5rem); }
h2 { font-size: clamp(1.85rem, 1.4rem + 2vw, 2.6rem); }
h3 { font-size: 1.3rem; font-weight: 480; }
p { text-wrap: pretty; }
a { color: var(--text); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--text) 45%, transparent); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--text); color: var(--bg); }
.icon { width: 1.2em; height: 1.2em; flex: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: 12px; z-index: 100; padding: 10px 16px; border-radius: var(--radius); background: var(--text); color: var(--bg); font-weight: 600; transform: translateY(-160%); transition: transform 0.2s var(--ease); }
.skip-link:focus-visible { transform: none; }

/* ---------------------------------------------------------------- 4. Kopfzeile und Menü */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color 0.3s var(--ease); }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-row { position: relative; display: flex; align-items: center; gap: 8px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; min-height: 44px; color: var(--text); text-decoration: none; line-height: 1.05; }
.brand-mark { width: auto; height: 38px; flex: none; color: var(--text); }
.brand-mark path { fill: currentColor; stroke: currentColor; stroke-width: 16; stroke-linejoin: round; }
.brand-name { display: none; gap: 3px; }
.brand-name b { font-family: var(--font-head); font-weight: 480; font-size: 1.2rem; }
.brand-name small { color: var(--text-muted); font-size: 0.78rem; font-weight: 500; }
@media (min-width: 640px) { .brand-name { display: grid; } }

.menu-toggle { order: 3; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius); background: transparent; font-weight: 600; font-size: 0.95rem; }
.menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.burger { position: relative; width: 18px; height: 12px; }
.burger i { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.25s var(--ease); }
.burger i:first-child { top: 1px; }
.burger i:last-child { bottom: 1px; }
.menu-toggle[aria-expanded="true"] .burger i:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .burger i:last-child { transform: translateY(-5px) rotate(-45deg); }
.nav { order: 3; }
.menu { list-style: none; padding: 0; }
.menu a:not(.btn) { display: flex; align-items: center; min-height: 48px; padding: 0 14px; border-radius: 14px; color: var(--text); text-decoration: none; font-weight: 500; }
.menu a:not(.btn):hover { background: var(--bg-alt); }
.menu a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.45em; }
.js .menu { position: absolute; top: calc(100% + 8px); right: 0; left: 0; display: grid; gap: 2px; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); opacity: 0; transform: translateY(-6px); visibility: hidden; transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0s linear 0.2s; }
.js .menu.is-open { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.js .menu .btn { margin-top: 6px; justify-content: center; }
html:not(.js) .menu { display: flex; flex-wrap: wrap; }
@media (min-width: 640px) { .menu-label { position: static; width: auto; height: auto; clip: auto; } }
@media (min-width: 961px) {
  .menu-toggle { display: none; }
  .nav { order: 0; }
  .js .menu, .menu { position: static; display: flex; align-items: center; gap: 2px; padding: 0; border: 0; background: none; opacity: 1; transform: none; visibility: visible; }
  .menu a:not(.btn) { min-height: 44px; padding: 0 12px; }
  .js .menu .btn { margin: 0 0 0 8px; }
}

.tools { display: flex; align-items: center; gap: 4px; }
.tool { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: var(--radius); background: transparent; color: var(--text); }
.tool:hover { background: var(--bg-alt); }
.tool .icon-sun { display: none; }
:root[data-theme="dark"] .tool .icon-sun { display: block; }
:root[data-theme="dark"] .tool .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .tool .icon-sun { display: block; }
  :root:not([data-theme="light"]) .tool .icon-moon { display: none; }
}
/* Textgrösse: normal, gross, sehr gross */
.text-sizes { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); }
.text-sizes button { display: inline-grid; place-items: center; width: 40px; height: 42px; padding: 0; border: 0; border-radius: var(--radius); background: transparent; color: var(--text-muted); font-weight: 600; line-height: 1; }
.text-sizes button:nth-child(1) { font-size: 0.8rem; }
.text-sizes button:nth-child(2) { font-size: 1rem; }
.text-sizes button:nth-child(3) { font-size: 1.2rem; }
.text-sizes button:hover { color: var(--text); }
.text-sizes button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
@media (min-width: 400px) { .text-sizes button { width: 44px; } }

/* ---------------------------------------------------------------- 5. Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border: 1px solid transparent; border-radius: var(--radius); font-weight: 600; text-decoration: none; text-align: center; transition: transform 0.2s var(--ease), background-color 0.2s var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-primary { background: var(--brand); color: var(--brand-contrast); }
.btn-primary:hover { background: var(--brand-strong); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--text); }
.btn-ghost:hover { background: color-mix(in srgb, var(--text) 6%, transparent); }
.btn .arrow { display: inline-grid; place-items: center; transition: transform 0.2s var(--ease); }
.btn .arrow .icon { width: 18px; height: 18px; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 0.95rem; }
.btn[aria-busy="true"] { opacity: 0.7; cursor: progress; }
.btn-row { display: grid; gap: 12px; }
@media (min-width: 540px) { .btn-row { display: flex; flex-wrap: wrap; } }

/* ---------------------------------------------------------------- 6. Abschnitte: zwei Töne im Wechsel, weiche Übergänge */
.section { padding-block: var(--section); }
/* Zwei Abschnitte im gleichen Farbton hintereinander: kein doppelter Abstand */
.section:not(.tone-b) + .section:not(.tone-b), .section.tone-b + .section.tone-b { padding-top: 0; }
.page-hero + .section { padding-top: clamp(48px, 6vw, 80px); }
.tone-b { background: linear-gradient(to bottom, var(--bg) 0, var(--bg-alt) var(--fade), var(--bg-alt) calc(100% - var(--fade)), var(--bg) 100%); }
.section-head { max-width: 680px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow { margin-bottom: 14px; color: var(--text-muted); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.lead { margin-top: 18px; color: var(--text-muted); font-size: clamp(1.1rem, 1rem + 0.4vw, 1.25rem); max-width: 62ch; }
.placeholder-note { display: inline-block; margin-top: 14px; padding: 6px 12px; border: 1px dashed var(--text-muted); border-radius: 12px; color: var(--text); font-size: 0.88rem; line-height: 1.45; }
.more-row { margin-top: clamp(28px, 4vw, 40px); }
.prose-short > * + * { margin-top: 18px; }
.prose-short h2 + p { margin-top: 16px; }
.quote { font-family: var(--font-head); font-size: clamp(1.35rem, 1.1rem + 1vw, 1.7rem); font-style: italic; font-weight: 380; line-height: 1.35; }

/* Hero */
.hero { padding-block: clamp(16px, 5vw, 80px) var(--section); }
.hero-grid { display: grid; gap: 32px; }
.hero h1 .h1-kicker { display: block; margin-bottom: 18px; color: var(--text-muted); font-family: var(--font); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.hero .lead { max-width: 34em; }
.hero .btn-row { margin-top: 32px; }
.hero-facts { display: grid; gap: 8px; margin-top: 28px; padding: 0; list-style: none; color: var(--text-muted); font-size: 1rem; }
.hero-facts li { display: flex; align-items: center; gap: 10px; }
.hero-media { position: relative; z-index: 1; order: -1; }
.hero-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: clamp(48px, 6vw, 88px); align-items: center; }
  .hero-media { order: 0; }
  .hero-media img { aspect-ratio: 4 / 5; }
}

/* Status «Jetzt erreichbar» */
.status { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: 0.95rem; font-weight: 600; }
.status[hidden] { display: none; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--text-muted); }
.status.is-open .status-dot { background: var(--ok); }

/* Ausbildung als ruhige Liste */
.quali-list { display: grid; margin-top: 40px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.quali-list li { display: grid; gap: 2px; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--text-muted); font-size: 1rem; }
.quali-list b { color: var(--text); font-weight: 600; }
@media (min-width: 700px) {
  .quali-list { grid-template-columns: repeat(2, 1fr); column-gap: 32px; }
}

/* Leistungen als Liste: Name links, Preis rechts, feine Trennlinie */
.service-list { padding: 0; list-style: none; border-top: 1px solid var(--line); }
.service-list li { border-bottom: 1px solid var(--line); }
.service-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; align-items: baseline; padding: 22px 4px; color: var(--text); text-decoration: none; transition: background-color 0.2s var(--ease); }
.service-name { font-family: var(--font-head); font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); font-weight: 450; line-height: 1.25; }
.service-price { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.service-desc { grid-column: 1 / -1; max-width: 60ch; color: var(--text-muted); font-size: 1rem; }
a.service-row .service-name { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.2em; transition: text-decoration-color 0.2s; }
a.service-row:hover .service-name { text-decoration-color: currentColor; }
@media (min-width: 760px) {
  .service-row { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr) 7.5rem; gap: 4px 40px; }
  .service-name { grid-column: 1; grid-row: 1; }
  .service-desc { grid-column: 2; grid-row: 1; }
  .service-price { grid-column: 3; grid-row: 1; text-align: right; }
}

/* Diabetes-Hinweis: einzige Fläche in der Akzentfarbe */
.accent-panel { display: grid; gap: 20px; padding: clamp(28px, 6vw, 56px); border-radius: var(--radius); background: var(--brand-soft); }
.accent-panel h2 { font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.2rem); }
.accent-panel p { max-width: 60ch; }
.accent-panel > div > * + * { margin-top: 14px; }
.big-number { font-family: var(--font-head); font-size: clamp(3rem, 2rem + 5vw, 5rem); font-weight: 380; line-height: 1; color: var(--brand); font-variant-numeric: lining-nums tabular-nums; }
.big-number small { display: block; margin-top: 12px; color: var(--text); font-family: var(--font); font-size: 1rem; font-weight: 500; }
@media (min-width: 800px) { .accent-panel { grid-template-columns: auto 1fr; gap: 24px 64px; align-items: center; } }

/* Ablauf: nummeriert, ohne Kästen */
.steps { display: grid; gap: 8px; padding: 0; list-style: none; counter-reset: step; }
.steps li { display: grid; align-content: start; grid-template-columns: 56px 1fr; gap: 4px 16px; padding: 22px 0; border-top: 1px solid var(--line); counter-increment: step; }
.steps li::before { content: counter(step); grid-row: span 2; font-family: var(--font-head); font-size: 2.4rem; font-weight: 350; line-height: 1; color: var(--text-muted); }
.steps p { color: var(--text-muted); }
@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .steps li { grid-template-columns: 1fr; padding-top: 28px; }
  .steps li::before { grid-row: auto; margin-bottom: 10px; }
}

/* Bild und Text nebeneinander, Bild darf in den Abschnitt davor ragen */
.split { display: grid; gap: 40px; align-items: center; }
.split-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); }
.values { display: grid; gap: 10px; padding: 0; list-style: none; }
.values li { display: flex; gap: 12px; }
.values .icon { margin-top: 0.2em; color: var(--text-muted); }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: clamp(48px, 6vw, 88px); }
  .split.is-flipped .split-media { order: 2; }
  .split-media { position: relative; z-index: 1; }
}

/* Porträt-Fläche mit Logo, bis ein Foto da ist */
.portrait { display: grid; align-content: center; gap: 20px; padding: clamp(28px, 6vw, 56px); border-radius: var(--radius); background: var(--bg); }
.tone-b .portrait { background: var(--bg); }
.logo-full { width: 100%; height: auto; color: var(--text); }
.logo-full path { fill: currentColor; stroke: currentColor; stroke-width: 5; stroke-linejoin: round; }
@media (min-width: 900px) { .portrait { aspect-ratio: 4 / 4.6; } }

/* Definitionsliste (Diplome) */
.def-list { padding: 0; list-style: none; border-top: 1px solid var(--line); }
.def-list li { display: grid; gap: 4px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.def-list h3 { font-size: 1.35rem; }
.def-list p { color: var(--text-muted); }
@media (min-width: 700px) { .def-list li { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 32px; align-items: baseline; } }

/* Preisliste */
.pricelist { display: grid; gap: 48px; }
.pricelist h3 { margin-bottom: 10px; font-size: 1.4rem; }
.pricelist dl { border-top: 1px solid var(--line); }
.price-row { display: grid; grid-template-columns: 1fr auto; gap: 2px 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.price-row dt { font-weight: 500; }
.price-row dd { margin: 0; }
.price-row .amount { font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.price-row .info { grid-column: 1 / -1; color: var(--text-muted); font-size: 0.95rem; }
.price-note { margin-top: 28px; color: var(--text-muted); font-size: 1rem; }
@media (min-width: 800px) { .pricelist { grid-template-columns: 1fr 1fr; gap: 64px; } }

/* Besuchsplaner */
.planner { display: grid; gap: 32px; align-items: start; }
.planner-picks { display: grid; min-width: 0; margin: 0; padding: 0; border: 0; border-top: 1px solid var(--line); }
.planner-extra { margin-top: 24px; }
.pick { position: relative; display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 12px 6px; border-bottom: 1px solid var(--line); cursor: pointer; transition: background-color 0.2s var(--ease); }
.pick input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.pick-box { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border: 1.5px solid var(--input-border); border-radius: 8px; background: var(--surface); color: var(--bg); }
.pick-box .icon { width: 17px; height: 17px; opacity: 0; }
.pick input:checked ~ .pick-box { border-color: var(--text); background: var(--text); }
.pick input:checked ~ .pick-box .icon { opacity: 1; }
.pick:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 8px; }
.pick-name { flex: 1; }
.pick-name small { color: var(--text-muted); font-size: 0.9rem; }
.pick-price { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.planner-sum { display: grid; gap: 14px; padding-top: 24px; border-top: 2px solid var(--text); }
.planner-sum .small { color: var(--text-muted); font-size: 0.95rem; }
.planner-sum .small[hidden] { display: none; }
.planner-total { font-family: var(--font-head); font-size: 3rem; font-weight: 380; line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.planner-list { display: grid; gap: 4px; padding: 0; list-style: none; color: var(--text-muted); font-size: 1rem; }
@media (min-width: 900px) {
  .planner { grid-template-columns: 1.3fr 0.7fr; gap: 24px 64px; }
  .planner-extra { grid-column: 1; }
  .planner-sum { position: sticky; top: calc(var(--header-h) + 24px); grid-column: 2; grid-row: 1 / span 2; }
}

/* Erreichbarkeit und Einsatzgebiet */
.visit { display: grid; gap: 48px; }
.visit h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.visit h3 .icon { color: var(--text-muted); }
.visit p + p { margin-top: 12px; }
.hours { width: 100%; border-collapse: collapse; border-top: 1px solid var(--line); }
.hours th, .hours td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 650; }
.hours tr.is-today th::after { content: " (heute)"; color: var(--text-muted); font-weight: 400; }
.address { font-style: normal; }
.panel-address { margin-top: 16px; }
.contact-lines { display: grid; gap: 2px; margin-top: 16px; padding: 0; list-style: none; }
.contact-lines li { display: flex; align-items: center; gap: 4px; }
.contact-lines a { display: inline-flex; align-items: center; gap: 10px; min-width: 0; min-height: 44px; font-size: 1rem; font-weight: 500; overflow-wrap: anywhere; }
.contact-lines .icon { color: var(--text-muted); }
@media (min-width: 800px) { .visit { grid-template-columns: 1fr 1fr; gap: 64px; } }

/* FAQ: Fragen untereinander, feine Linien */
.faq { display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 16px 4px; font-weight: 600; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--text-muted); transition: transform 0.25s var(--ease); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq .answer { padding: 0 4px 22px; color: var(--text-muted); max-width: 70ch; }
@media (min-width: 900px) { .faq { grid-template-columns: 1fr 1fr; column-gap: 56px; border-top: 0; } .faq details:nth-child(-n+2) { border-top: 1px solid var(--line); } }

/* Kontakt und Formular */
.contact-grid { display: grid; gap: 56px; align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.3fr 0.7fr; gap: 80px; } }
.form { display: grid; gap: 22px; }
.form-row { display: grid; gap: 22px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-weight: 600; }
.field .opt { color: var(--text-muted); font-weight: 400; }
.field .hint { color: var(--text-muted); font-size: 0.95rem; }
.input { width: 100%; min-height: 52px; padding: 12px 16px; border: 1.5px solid var(--input-border); border-radius: var(--radius); background: var(--surface); color: var(--text); }
.input:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
textarea.input { min-height: 160px; resize: vertical; }
.input[aria-invalid="true"] { border-color: var(--error); border-width: 2px; }
.error { color: var(--error); font-size: 0.95rem; font-weight: 600; }
.error:empty { display: none; }
fieldset.field { padding: 0; border: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 20px; border: 1.5px solid var(--input-border); border-radius: var(--radius); background: var(--surface); }
.choice span .icon { width: 18px; height: 18px; }
.choice input:checked + span { border-color: var(--text); background: var(--text); color: var(--bg); }
.choice input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.form-status { padding: 14px 18px; border: 2px solid var(--error); border-radius: var(--radius); }
.form-status[hidden] { display: none; }
.form-legal { color: var(--text-muted); font-size: 0.95rem; }
.honey { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: stretch; }
@media (min-width: 540px) { .form .btn { justify-self: start; } }
select.input option, select.input optgroup { background-color: var(--surface); color: var(--text); }
.input:-webkit-autofill, .input:-webkit-autofill:hover, .input:-webkit-autofill:focus { -webkit-text-fill-color: var(--text); caret-color: var(--text); -webkit-box-shadow: 0 0 0 1000px var(--bg-alt) inset; box-shadow: 0 0 0 1000px var(--bg-alt) inset; }
.input:autofill { background: var(--bg-alt); color: var(--text); }
::placeholder { color: var(--text-muted); opacity: 1; }
.contact-aside h3 { display: flex; align-items: center; gap: 10px; }
.contact-aside h3 .icon { color: var(--text-muted); }
.big-phone { margin: 10px 0 6px; font-family: var(--font-head); font-size: clamp(2rem, 1.6rem + 1.6vw, 2.6rem); font-weight: 400; font-variant-numeric: lining-nums; }
.big-phone a { text-decoration: none; }
.hin { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.hin h4 { display: flex; align-items: center; gap: 8px; font-family: var(--font); font-size: 1rem; font-weight: 600; }
.hin h4 .icon { color: var(--text-muted); }
.hin p { margin-top: 6px; color: var(--text-muted); font-size: 1rem; }
.hin-mail { display: flex; align-items: center; gap: 4px; overflow-wrap: anywhere; }
.hin-mail a { color: var(--text); font-weight: 500; }
.contact-aside .hint { margin-top: 16px; color: var(--text-muted); }

/* Seitenkopf der Unterseiten */
.page-hero { padding-block: clamp(40px, 7vw, 88px) clamp(24px, 4vw, 48px); }
.page-hero .lead { max-width: 640px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; padding: 0; list-style: none; color: var(--text-muted); font-size: 0.95rem; }
.crumbs li + li::before { content: "/"; margin-right: 6px; }
.crumbs a { color: var(--text-muted); }

/* Rechtstexte */
.prose { max-width: 720px; }
.prose a { overflow-wrap: anywhere; }
.prose h2 { margin: 44px 0 12px; font-size: 1.6rem; }
.prose p, .prose ul, .prose ol { margin-top: 14px; }

/* Galerie und Vollbild */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 0; list-style: none; }
.gallery button { display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius); background: none; overflow: hidden; cursor: zoom-in; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 0.8s var(--ease), filter 0.8s var(--ease); }
.gallery button:hover img, .gallery button:focus-visible img { transform: scale(1.04); filter: brightness(1.06) saturate(1.05); }
@media (min-width: 800px) { .gallery { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.lightbox { width: min(100% - 24px, 1100px); max-height: calc(100% - 24px); padding: 0; border: 0; border-radius: var(--radius); background: var(--bg); color: var(--text); }
.lightbox::backdrop { background: rgb(20 10 14 / 0.82); }
.lightbox figure { display: grid; gap: 12px; padding: 12px; }
.lightbox img { width: 100%; max-height: 72vh; object-fit: contain; border-radius: 14px; }
.lightbox figcaption { padding: 0 8px; color: var(--text-muted); font-size: 1rem; }
.lightbox-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; padding: 0 12px 12px; }

/* Abschluss-Aufruf: der einzige CTA-Abschnitt unten, mit Wasserfoto */
.cta-band { position: relative; overflow: hidden; isolation: isolate; padding: clamp(40px, 8vw, 88px) clamp(24px, 6vw, 72px); border-radius: var(--radius); background: #5a3443; color: #ffffff; text-align: center; }
.cta-band .cta-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--photo-tint); }
.cta-band h2, .cta-band p { position: relative; z-index: 1; color: #ffffff; }
.cta-band .btn-row { position: relative; z-index: 1; }
.cta-band p { max-width: 520px; margin: 16px auto 0; }
.cta-band .btn-row { justify-content: center; margin-top: 32px; }
.cta-band .btn-primary { background: #ffffff; color: #2b2123; }
.cta-band .btn-primary:hover { background: #f5e9ea; }
.cta-band .btn-ghost { color: #ffffff; border-color: #ffffff; }
.cta-band .btn-ghost:hover { background: rgb(255 255 255 / 0.12); }
.cta-band a:focus-visible { outline-color: #ffffff; }

/* ---------------------------------------------------------------- 7. Fusszeile */
.site-footer { padding-block: clamp(48px, 6vw, 80px) clamp(72px, 8vw, 96px); background: linear-gradient(to bottom, var(--bg) 0, var(--bg-alt) var(--fade)); font-size: 1rem; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); } }
.site-footer .brand-name { display: grid; }
.footer-grid h2 { margin-bottom: 10px; font-family: var(--font); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.footer-grid ul { display: grid; padding: 0; list-style: none; }
.footer-grid a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; }
.footer-grid li .icon { color: var(--text-muted); }
.footer-grid > div > p, .footer-grid .address { margin-top: 12px; color: var(--text-muted); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--text-muted); font-size: 0.92rem; }

/* ---------------------------------------------------------------- 8. Kleine Werkzeuge */
.copy-btn { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; border: 0; border-radius: var(--radius); background: transparent; color: var(--text-muted); }
.copy-btn:hover { background: var(--bg-alt); color: var(--text); }
.copy-btn.is-done { color: var(--ok); }
.copy-btn .icon { width: 18px; height: 18px; }
.toast { position: fixed; left: 50%; bottom: 32px; z-index: 90; padding: 10px 18px; border-radius: var(--radius); background: var(--text); color: var(--bg); font-weight: 600; opacity: 0; transform: translate(-50%, 10px); pointer-events: none; transition: opacity 0.2s var(--ease), transform 0.2s var(--ease); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.to-top { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); color: var(--text); opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity 0.25s var(--ease), transform 0.25s var(--ease); }
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }

@media (min-width: 760px) {
}

/* ---------------------------------------------------------------- 9. Bewegung: dezent, nur transform und opacity */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-stagger > * { transition-delay: calc(var(--i, 0) * 60ms); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media (prefers-reduced-transparency: reduce) { .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--bg); } }
@media (forced-colors: active) {
  .btn, .input, .choice span, .accent-panel, .text-sizes { border: 1px solid CanvasText; }
  .status-dot { forced-color-adjust: none; }
}

/* ---------------------------------------------------------------- 10. Druck */
@media print {
  body { background: #fff; color: #000; }
  .tone-b, .site-footer { background: none; }
  .section { padding-block: 20px; }
  .js .reveal { opacity: 1; transform: none; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.85em; }
}

/* Kompakte Liste ohne Beschreibung (Leistungsseite) */
.service-list.is-compact { margin-top: 24px; }
.service-list.is-compact .service-row { grid-template-columns: 1fr auto; padding: 14px 2px; }
.service-list.is-compact .service-name { font-family: var(--font); font-size: 1.05rem; font-weight: 500; }

/* ---------------------------------------------------------------- 11. Sanfte Specials: Logo zeichnen und Aufleuchten
   Alles leise und kurz. Gezeichnet wird mit stroke-dashoffset (nur so entsteht der Strich),
   sonst nur transform, opacity und filter. «Bewegung reduzieren» zeigt sofort den Endzustand. */

/* Intro beim ersten Öffnen: das Logo wird wie mit Tinte gezeichnet, dann blendet alles weich aus.
   init.js setzt html.intro-on nur beim ersten Seitenaufruf im Besuch und nie bei «Bewegung reduzieren». */
.intro { display: none; }
html.intro-on .intro { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: var(--bg); pointer-events: none; animation: intro-out 0.8s var(--ease) 2.5s forwards; }
html.intro-skip .intro { animation: intro-out 0.4s var(--ease) forwards; }
.intro-inner { display: grid; justify-items: center; gap: 22px; width: min(76vw, 540px); }
.intro-logo { width: 100%; height: auto; overflow: visible; color: var(--text); }
.intro-logo .ink { fill: none; stroke: currentColor; stroke-width: 5; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2s cubic-bezier(0.45, 0.05, 0.25, 1) 0.2s forwards; }
.intro-logo .fill { fill: currentColor; opacity: 0; animation: fade-in 0.8s var(--ease) 1.7s forwards; }
.intro-name { font-family: var(--font-head); font-size: clamp(1.2rem, 1rem + 1vw, 1.6rem); font-weight: 400; color: var(--text); opacity: 0; filter: blur(6px); animation: soft-in 0.9s var(--ease) 1.5s forwards; }
/* Name als reine Dekoration über CSS (das Intro ist aria-hidden) */
.intro-name { text-align: center; }
.intro-name::before { content: attr(data-name); display: block; }
.intro-name::after { content: attr(data-sub); display: block; margin-top: 4px; color: var(--text-muted); font-family: var(--font); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade-in { to { opacity: 1; } }
@keyframes soft-in { to { opacity: 1; filter: blur(0); } }
@keyframes intro-out { to { opacity: 0; visibility: hidden; } }

/* Logo in der Kopfzeile: zeichnet sich beim Laden und beim Darüberfahren nochmals */
.js .brand-mark path { stroke-dasharray: 1; animation: mark-draw 1.6s cubic-bezier(0.45, 0.05, 0.25, 1) 0.15s both; }
html.intro-on .site-header .brand-mark path { animation-delay: 2.7s; }
.brand:hover .brand-mark path, .brand:focus-visible .brand-mark path { animation: mark-draw 1.6s cubic-bezier(0.45, 0.05, 0.25, 1) both, mark-redraw 1.4s cubic-bezier(0.45, 0.05, 0.25, 1) both; }
@keyframes mark-draw { from { stroke-dashoffset: 1; fill-opacity: 0; } 65% { fill-opacity: 0; } to { stroke-dashoffset: 0; fill-opacity: 1; } }
@keyframes mark-redraw { from { stroke-dashoffset: 1; fill-opacity: 0; } 65% { fill-opacity: 0; } to { stroke-dashoffset: 0; fill-opacity: 1; } }

/* Überschrift: Wort für Wort, von unscharf zu scharf (main.js teilt die Wörter auf) */
.h1-word { display: inline-block; max-width: 100%; overflow-wrap: break-word; hyphens: auto; animation: word-in 1s var(--ease) both; animation-delay: var(--d, 0ms); }
@keyframes word-in { from { filter: blur(12px); transform: translateY(0.2em); } }

/* Fotos tauchen aus einem hellen Schimmer auf */
.js .reveal img { transition: filter 1.4s var(--ease), transform 0.8s var(--ease); }
.js .reveal:not(.is-in) img { filter: blur(12px) brightness(1.12) saturate(0.85); }

/* Buttons: ein sanfter Lichtstreif gleitet beim Darüberfahren hindurch */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 30%, var(--sheen, rgb(255 255 255 / 0.32)) 50%, transparent 70%); transform: translateX(-130%); pointer-events: none; }
.btn-ghost { --sheen: color-mix(in srgb, var(--text) 9%, transparent); }
.btn:hover::after, .btn:focus-visible::after { transform: translateX(130%); transition: transform 1s var(--ease); }

/* Zeilen leuchten hell auf: Leistungen, Fragen, Besuchsplaner */
.service-row, .pick, .faq summary { position: relative; isolation: isolate; }
.service-row::before, .pick::before, .faq summary::before { content: ""; position: absolute; inset: 0 -12px; z-index: -1; border-radius: var(--radius); background: radial-gradient(120% 160% at 18% 50%, var(--glow), transparent 72%); opacity: 0; transform: scaleX(0.96); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); pointer-events: none; }
a.service-row:hover::before, a.service-row:focus-visible::before, .pick:hover::before, .faq summary:hover::before, .faq summary:focus-visible::before { opacity: 1; transform: none; }
.pick:has(input:checked)::before { opacity: 0.85; transform: none; }
.faq details[open] .answer { animation: answer-in 0.6s var(--ease); }
@keyframes answer-in { from { opacity: 0; transform: translateY(-6px); } }

/* Besuchsplaner: der Richtwert «atmet» kurz, wenn er sich ändert (planer.js) */
.planner-total.is-ticking { animation: tick 0.6s var(--ease); }
@keyframes tick { from { opacity: 0.35; transform: translateY(6px); } }

/* Diabetes-Hinweis: beim Erscheinen und beim Darüberfahren zieht ein Lichtschimmer darüber */
.accent-panel { position: relative; overflow: hidden; isolation: isolate; }
.accent-panel::after { content: ""; position: absolute; inset: -10% -40%; z-index: -1; background: linear-gradient(105deg, transparent 38%, rgb(255 255 255 / 0.5) 50%, transparent 62%); transform: translateX(-100%); pointer-events: none; }
:root[data-theme="dark"] .accent-panel::after { background: linear-gradient(105deg, transparent 38%, rgb(255 255 255 / 0.07) 50%, transparent 62%); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .accent-panel::after { background: linear-gradient(105deg, transparent 38%, rgb(255 255 255 / 0.07) 50%, transparent 62%); } }
.accent-panel.is-in::after { animation: sweep 2.4s var(--ease) 0.5s both; }
.accent-panel.is-in:hover::after { animation: sweep 2.4s var(--ease) 0.5s both, sweep-again 2s var(--ease) both; }
@keyframes sweep { to { transform: translateX(100%); } }
@keyframes sweep-again { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

/* Wasserfoto: langsam wandernde Lichtreflexe */
.cta-band::before { content: ""; position: absolute; inset: -25%; z-index: 0; background: radial-gradient(28% 22% at 30% 40%, rgb(255 255 255 / 0.1), transparent 70%), radial-gradient(24% 18% at 70% 65%, rgb(255 255 255 / 0.08), transparent 70%); animation: drift 16s ease-in-out infinite alternate; pointer-events: none; }
@keyframes drift { to { transform: translate(6%, -4%) rotate(4deg); } }

@media (prefers-reduced-motion: reduce) {
  html.intro-on .intro { display: none; }
  .js .reveal:not(.is-in) img { filter: none; }
  .btn::after, .accent-panel::after, .cta-band::before { display: none; }
}
@media print { .intro { display: none !important; } }


/* Grosses Logo auf «Über mich»: zeichnet sich, sobald es ins Bild kommt */
.js .reveal .logo-full path { stroke-dasharray: 1; }
.js .reveal:not(.is-in) .logo-full path { stroke-dashoffset: 1; fill-opacity: 0; }
.js .reveal.is-in .logo-full path { animation: mark-draw 2.4s cubic-bezier(0.45, 0.05, 0.25, 1) 0.3s both; }

/* ---------------------------------------------------------------- 12. Fuss-Wegweiser, Fussspuren, Wunschtermin */

/* Fuss-Wegweiser (Startseite): Bereich antippen, passende Leistungen leuchten auf (fussweg.js) */
.fussweg-map { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 20px; align-items: center; margin-bottom: 36px; }
.fussweg-map[hidden] { display: none; }
.foot { width: 100%; height: auto; overflow: visible; }
.foot-base > * { fill: var(--surface); stroke: var(--text); stroke-width: 1.6; stroke-linejoin: round; }
.js .fussweg-map .foot-base > * { stroke-dasharray: 1; stroke-dashoffset: 1; fill-opacity: 0; }
.js .fussweg-map.is-in .foot-base > * { animation: foot-draw 1.8s cubic-bezier(0.45, 0.05, 0.25, 1) 0.2s forwards; }
.js .fussweg-map.is-in .foot-base > :nth-child(n+2) { animation-delay: 0.9s; }
@keyframes foot-draw { 60% { fill-opacity: 0; } to { stroke-dashoffset: 0; fill-opacity: 1; } }
.zone { fill: url(#fuss-glow); opacity: 0; cursor: pointer; transition: opacity 0.7s var(--ease); }
#fuss-glow stop { stop-color: var(--zone); }
#fuss-glow stop:last-child { stop-opacity: 0.15; }
.zone.is-lit { opacity: 1; }
.zone.is-on { animation: zone-breath 2.8s ease-in-out 0.7s infinite alternate; }
@keyframes zone-breath { to { opacity: 0.65; } }
.fussweg-label { margin-bottom: 12px; font-size: 1rem; font-weight: 600; }
.zone-btns { display: grid; gap: 8px; padding: 0; list-style: none; }
.zone-btn { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 48px; padding: 8px 16px; border: 1.5px solid var(--line); border-radius: var(--radius); background: transparent; color: var(--text); font: inherit; font-size: 1rem; text-align: left; cursor: pointer; transition: border-color 0.4s var(--ease), background-color 0.4s var(--ease); }
.zone-btn::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--zone); opacity: 0.55; transition: opacity 0.4s var(--ease), box-shadow 0.6s var(--ease); }
.zone-btn:hover, .zone-btn.is-lit { border-color: var(--input-border); }
.zone-btn.is-lit::before { opacity: 1; }
.zone-btn[aria-pressed="true"] { border-color: var(--text); background: var(--surface); }
.zone-btn[aria-pressed="true"]::before { opacity: 1; box-shadow: 0 0 0 6px color-mix(in srgb, var(--zone) 40%, transparent); }
.zone-btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.fussweg-out { min-height: 3.2em; margin-top: 14px; color: var(--text-muted); font-size: 1rem; }
.fussweg-out:not(:empty) { animation: answer-in 0.6s var(--ease); }
.service-row.is-lit::before { opacity: 1; transform: none; }
@media (min-width: 640px) { .fussweg-map { grid-template-columns: 150px minmax(0, 1fr); gap: 36px; } }
@media (min-width: 960px) {
  .fussweg.has-map { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 0 72px; align-items: start; }
  .fussweg.has-map .fussweg-map { position: sticky; top: calc(var(--header-h) + 24px); grid-template-columns: 1fr; gap: 28px; margin: 0; }
  .fussweg.has-map .foot { max-width: 150px; margin-inline: auto; }
}

/* Fussspuren im Ablauf: Schritt für Schritt bis zum Haus (Hausbesuch) */
.trail { --skip: 700ms; display: flex; align-items: center; gap: 8px; margin-bottom: 12px; color: var(--text-muted); }
.trail-prints { flex: 1; min-width: 0; height: 52px; fill: currentColor; }
.trail-prints use { opacity: 0.4; }
.js .trail-prints use { opacity: 0; transform: scale(0.6); transform-box: fill-box; transform-origin: center; transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--i, 0) * 45ms - var(--skip)); }
.js .trail.is-in .trail-prints use { opacity: 0.4; transform: none; }
@media (min-width: 600px) { .trail { --skip: 400ms; } }
@media (min-width: 960px) { .trail { --skip: 150ms; } }
.trail-home { position: relative; display: grid; place-items: center; flex: none; width: 48px; height: 48px; color: var(--text); }
.trail-home .icon { position: relative; width: 26px; height: 26px; }
.trail-home::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; background: radial-gradient(circle, var(--zone), transparent 68%); opacity: 0; }
.js .trail-home .icon { opacity: 0.3; transition: opacity 0.8s var(--ease) 1.3s; }
.js .trail.is-in .trail-home .icon { opacity: 1; }
.js .trail.is-in .trail-home::before { animation: home-glow 2.6s var(--ease) 1.3s both; }
@keyframes home-glow { 40% { opacity: 0.9; } }

/* Wunschtermin im Formular: gewählte Felder leuchten kurz auf */
.wish .choices + .choices { margin-top: 10px; }
.choice input:checked + span { animation: chip-on 0.8s var(--ease); }
@keyframes chip-on { from { box-shadow: 0 0 0 0 color-mix(in srgb, var(--zone) 70%, transparent); } to { box-shadow: 0 0 0 12px transparent; } }
.wish-sum { transition: color 0.4s var(--ease); }
.wish-sum.is-set { color: var(--text); }

@media (prefers-reduced-motion: reduce) {
  .js .fussweg-map .foot-base > * { stroke-dashoffset: 0; fill-opacity: 1; animation: none !important; }
  .zone.is-on, .choice input:checked + span, .fussweg-out:not(:empty) { animation: none; }
  .js .trail-prints use { opacity: 0.4; transform: none; transition: none; }
  .js .trail-home .icon { opacity: 1; transition: none; }
  .trail-home::before { display: none; }
}

/* ---------------------------------------------------------------- 13. Weitere sanfte Bewegungen */

/* Seitenwechsel: die Seiten blenden weich ineinander, die Kopfzeile bleibt ruhig stehen */
@view-transition { navigation: auto; }
.site-header { view-transition-name: kopf; }
::view-transition-old(root) { animation: vt-out 0.3s var(--ease) both; }
::view-transition-new(root) { animation: vt-in 0.55s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }

/* Logo im Footer: zeichnet sich, wenn man ganz unten ankommt */
.js .site-footer .brand-mark path { stroke-dashoffset: 1; fill-opacity: 0; animation: none; }
.js .site-footer .footer-brand.is-in .brand-mark path { animation: mark-draw 2.2s cubic-bezier(0.45, 0.05, 0.25, 1) 0.3s both; }
.js .site-footer .footer-brand.is-in .brand:hover .brand-mark path, .js .site-footer .footer-brand.is-in .brand:focus-visible .brand-mark path { animation: mark-draw 2.2s cubic-bezier(0.45, 0.05, 0.25, 1) 0.3s both, mark-redraw 1.4s cubic-bezier(0.45, 0.05, 0.25, 1) both; }

/* Häkchen zeichnen sich nacheinander */
.js .values .icon-check path { stroke-dasharray: 24; stroke-dashoffset: 24; }
.js .reveal.is-in .values .icon-check path { animation: check-draw 0.7s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 200ms + 350ms); }
@keyframes check-draw { to { stroke-dashoffset: 0; } }

/* Wasserbild: ein ruhiger Wellenring, wo man hintippt (main.js) */
.ripple { position: absolute; z-index: 0; width: 180px; height: 180px; margin: -90px 0 0 -90px; border: 1.5px solid rgb(255 255 255 / 0.55); border-radius: 50%; box-shadow: inset 0 0 28px rgb(255 255 255 / 0.12); pointer-events: none; animation: ripple 1.8s cubic-bezier(0.2, 0.6, 0.3, 1) forwards; }
.ripple::after { content: ""; position: absolute; inset: 22%; border: 1px solid rgb(255 255 255 / 0.4); border-radius: 50%; animation: ripple 1.8s cubic-bezier(0.2, 0.6, 0.3, 1) 0.2s both; }
@keyframes ripple { from { opacity: 0.9; transform: scale(0.15); } to { opacity: 0; transform: scale(1.7); } }

/* Fotos: leichte Tiefenwirkung, das Bild gleitet etwas langsamer als der Text */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .split-media picture, .hero-media picture { display: block; overflow: hidden; border-radius: var(--radius); }
    .split-media img, .hero-media img { scale: 1.06; animation: depth linear both; animation-timeline: view(); animation-range: cover; }
    @keyframes depth { from { translate: 0 -2.5%; } to { translate: 0 2.5%; } }
  }
}

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .js .site-footer .brand-mark path, .js .values .icon-check path { stroke-dashoffset: 0; fill-opacity: 1; animation: none !important; }
  .ripple { display: none; }
}

/* Termin im eigenen Kalender speichern (kalender.js) */
.calendar-form { max-width: 720px; }
.calendar-form .btn .icon { width: 20px; height: 20px; }
.check-line { position: relative; display: inline-flex; align-items: center; gap: 12px; min-height: 48px; cursor: pointer; }
.check-line input { width: 22px; height: 22px; margin: 0; accent-color: var(--text); cursor: pointer; }
.calendar-status:empty { display: none; }
.calendar-status:not(:empty) { color: var(--text); animation: answer-in 0.6s var(--ease); }
.danke-tip { display: flex; gap: 10px; align-items: flex-start; margin-top: 28px; color: var(--text-muted); }
.danke-tip .icon { flex: none; width: 20px; height: 20px; margin-top: 0.25em; }
@media (prefers-reduced-motion: reduce) { .calendar-status:not(:empty) { animation: none; } }

/* Fachpersonen: Kontaktzeilen etwas grösser */
.fach-lines { max-width: 640px; font-size: 1.05rem; }
.fach-lines a span { overflow-wrap: anywhere; }

/* ---------------------------------------------------------------- 14. Katjas Angaben: Werdegang, Vorbereitung, Krankenkassen-Check */

.service-note { color: var(--text-muted); font-size: 1rem; }
.pricelist-sub { margin-top: 36px; }

/* Werdegang: Jahre links, Ausbildung rechts, ein feiner Punkt leuchtet beim Erscheinen auf */
.timeline { display: grid; max-width: 760px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.timeline li { position: relative; display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 18px; align-items: baseline; padding: 18px 0 18px 22px; border-bottom: 1px solid var(--line); }
.timeline li::before { content: ""; position: absolute; left: 0; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: var(--zone); box-shadow: 0 0 0 0 color-mix(in srgb, var(--zone) 60%, transparent); }
.timeline .year { font-family: var(--font-head); font-size: 1.5rem; font-weight: 380; line-height: 1; color: var(--text-muted); font-variant-numeric: lining-nums tabular-nums; }
.timeline .what { font-weight: 500; }
.js .timeline.is-in li::before { animation: dot-glow 1.6s var(--ease) both; animation-delay: calc(var(--i, 0) * 160ms + 300ms); }
@keyframes dot-glow { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--zone) 70%, transparent); } 100% { box-shadow: 0 0 0 12px transparent; } }
.timeline-note { margin-top: 20px; color: var(--text-muted); }
@media (min-width: 700px) { .timeline li { grid-template-columns: 6rem minmax(0, 1fr); } }

/* So bereiten Sie sich vor: zum Abhaken, leuchtet auf, wenn alles bereit ist */
.prep { display: grid; gap: 18px; margin-top: 40px; padding: 28px 0 0; border-top: 1px solid var(--line); }
.prep-head h3 { margin-bottom: 6px; }
.prep-head p { color: var(--text-muted); }
.prep-list { display: grid; gap: 10px; padding: 0; list-style: none; }
.prep-item { position: relative; isolation: isolate; display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 10px 16px; border: 1.5px solid var(--line); border-radius: var(--radius); cursor: pointer; transition: border-color 0.4s var(--ease), background-color 0.4s var(--ease); }
.prep-item input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.prep-item > .icon { width: 22px; height: 22px; color: var(--text-muted); }
.prep-item:has(input:checked) { border-color: var(--text); background: var(--surface); }
.prep-item input:checked ~ .pick-box { border-color: var(--text); background: var(--text); }
.prep-item input:checked ~ .pick-box .icon { opacity: 1; }
.prep-item:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.prep-item:has(input:checked) .pick-box { animation: chip-on 0.8s var(--ease); }
.prep-done:empty { display: none; }
.prep-done:not(:empty) { font-weight: 600; animation: answer-in 0.6s var(--ease); }
.prep-note { color: var(--text-muted); font-size: 0.95rem; }
@media (min-width: 800px) { .prep { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); column-gap: 56px; align-items: start; } .prep-head { grid-row: span 3; } }

/* Krankenkassen-Check (kk-check.js) */
.kk-check { display: grid; gap: 22px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.kk-check[hidden] { display: none; }
.kk-lead, .kk-note { color: var(--text-muted); font-size: 0.95rem; }
.kk-result { padding: 18px 20px; border: 1.5px solid var(--line); border-radius: var(--radius); transition: border-color 0.5s var(--ease), background-color 0.5s var(--ease); }
.kk-result[data-state="yes"] { border-color: var(--brand); background: var(--brand-soft); animation: answer-in 0.6s var(--ease); }
.kk-result[data-state="info"] { border-color: var(--input-border); background: var(--surface); animation: answer-in 0.6s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  .js .timeline.is-in li::before, .prep-item:has(input:checked) .pick-box, .prep-done:not(:empty), .kk-result[data-state] { animation: none; }
}

/* ---------------------------------------------------------------- 15. Feinabstimmung */
@media (min-width: 960px) { .fussweg.has-map .fussweg-map { grid-row: span 2; } .fussweg.has-map > .more-row { grid-column: 2; } }
.fussweg .more-row { margin-top: clamp(28px, 4vw, 40px); }

/* Begriffsliste neben einem Bild: Begriff über dem Text, damit lange Wörter nicht brechen */
@media (min-width: 700px) { .split .def-list li { grid-template-columns: 1fr; gap: 4px; } }

/* ---------------------------------------------------------------- 16. Abschnitte ohne Foto: zwei ruhige Spalten */
.duo { display: grid; gap: 28px; }
.duo-head .quote { margin-top: 20px; }
.duo-side > * + * { margin-top: 18px; }
.list-title { margin-top: 28px; font-size: 1.15rem; }
.list-title + .values { margin-top: 14px; }
@media (min-width: 900px) {
  .duo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 6vw, 88px); align-items: start; }
}
.footer-hin span { font-size: 0.92rem; }
/* Band unten ohne Foto: ruhiges Altrosa, ohne Abdunklung */
.cta-band { background: #7d3a4f; }
.cta-band::after { display: none; }

