/* ==========================================================================
   Praxis Bischof & Secheres – gemeinsames Stylesheet (Entwurf 11/2026)
   Eine Datei für alle Seiten. Aufbau:
   1 Schrift & Variablen · 2 Basis · 3 Kopfzeile · 4 Bausteine · 5 Startseite
   6 Unterseiten · 7 Video · 8 Fußzeile & Cookie-Hinweis · 9 Bewegung
   ========================================================================== */

/* 1 — Schrift (lokal eingebunden, keine Verbindung zu Google) & Variablen */
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("fonts/atkinson-hyperlegible-next-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, 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";
  src: url("fonts/atkinson-hyperlegible-next-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
  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 {
  /* Praxisfarben – Blau und Grün wie bisher */
  --blue: #2B6CB0;
  --blue-deep: #1f5088;
  --green: #38A169;
  --green-deep: #276749;
  --gradient: linear-gradient(100deg, var(--blue), var(--green));
  /* Dunkle Kopfzeile und dunkle Abschnitte */
  --night: #0d141c;
  --night-soft: #17212c;
  /* Helle Flächen: etwas wärmer als das bisherige Blaugrau */
  --paper: #f5f4f0;
  --surface: #ffffff;
  --sand: #ebe6da;
  --line: #dad6cb;
  /* Text */
  --ink: #16202b;
  --ink-soft: #46515e;
  --stamp: #c8102e;

  --font: "Atkinson Hyperlegible Next", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wrap: 72rem;
  --text: 42rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --space-section: clamp(3.5rem, 8vw, 6.5rem);
  --radius: 14px;
  --radius-small: 8px;
  --header: 4.5rem;

  /* Alte Variablennamen bleiben gültig */
  --accent-blue: var(--blue); --accent-green: var(--green);
  --bg-color: var(--paper); --text-color: var(--ink); --white: var(--surface); --light-gray: var(--line);
}

/* 2 — Basis */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 1rem); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font); font-size: 1.125rem; line-height: 1.65;
  color: var(--ink); background: var(--paper);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video, iframe { max-width: 100%; display: block; }
h1, h2, h3, h4 { line-height: 1.15; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 1.4rem + 3.6vw, 3.75rem); font-weight: 300; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem); font-weight: 350; letter-spacing: -0.015em; }
h3 { font-size: 1.3rem; font-weight: 650; line-height: 1.3; }
h4 { font-size: 1.1rem; font-weight: 650; }
p, li { text-wrap: pretty; }
a { color: var(--blue-deep); text-decoration-thickness: 0.08em; text-underline-offset: 0.2em; }
a:hover { color: var(--green-deep); }
strong { font-weight: 650; }
ul, ol { padding-left: 1.2em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.site-header :focus-visible, .band--night :focus-visible, .site-footer :focus-visible { outline-color: #9cc6f2; }
::selection { background: #cfe3f7; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 2000; background: var(--surface); color: var(--ink); padding: 0.75rem 1rem; border-radius: var(--radius-small); }
.skip-link:focus { top: 0.75rem; }

/* Der Verlauf Blau→Grün bleibt das Erkennungszeichen: Praxisname, Unterstrich, Hauptschaltfläche */
.gradient-text {
  background: var(--gradient); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--blue); font-weight: 700;
}
.rule::after, .content-section h2::after, .page-container h1::after, .legal-container h1::after {
  content: ""; display: block; width: 3.5rem; height: 3px; margin-top: 0.6rem; background: var(--gradient); border-radius: 2px;
}

/* 3 — Kopfzeile */
.site-header { position: sticky; top: 0; z-index: 1000; background: var(--night); color: #fff; }
.site-header__inner { min-height: var(--header); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.logo { color: #fff; text-decoration: none; font-weight: 700; font-size: 1.05rem; letter-spacing: 0.09em; text-transform: uppercase; white-space: nowrap; padding: 0.75rem 0; }
.logo:hover { color: #fff; }
.site-nav ul { list-style: none; padding: 0; display: flex; align-items: center; gap: clamp(0.9rem, 1.6vw, 1.6rem); }
.site-nav a { color: #e8edf2; text-decoration: none; font-size: 1rem; padding: 0.6rem 0; display: inline-block; border-bottom: 2px solid transparent; white-space: nowrap; }
.site-nav a:hover { color: #fff; border-bottom-color: rgba(255,255,255,0.45); }
.site-nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--green); }
.site-nav a.btn-nav { border: 1.5px solid #fff; border-radius: 999px; padding: 0.55rem 1.25rem; font-weight: 650; color: #fff; }
.site-nav a.btn-nav:hover { background: #fff; color: var(--night); border-color: #fff; }
.nav-toggle { display: none; background: none; border: 1.5px solid rgba(255,255,255,0.55); color: #fff; font: inherit; font-size: 1rem; border-radius: 999px; padding: 0.5rem 1.1rem; cursor: pointer; align-items: center; gap: 0.6rem; min-height: 2.75rem; }
.nav-toggle__bars { width: 1.1rem; height: 0.75rem; position: relative; display: inline-block; border-top: 2px solid #fff; border-bottom: 2px solid #fff; }
.nav-toggle__bars::after { content: ""; position: absolute; left: 0; right: 0; top: calc(50% - 1px); border-top: 2px solid #fff; }
@media (max-width: 71.99rem) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--night); border-top: 1px solid rgba(255,255,255,0.14); max-height: calc(100dvh - var(--header)); overflow-y: auto; padding: 0.5rem var(--gutter) 2rem; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a { display: block; font-size: 1.2rem; padding: 0.95rem 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .site-nav a[aria-current="page"] { border-bottom-color: var(--green); }
  .site-nav li:last-child { margin-top: 1.25rem; }
  .site-nav a.btn-nav { text-align: center; padding: 0.9rem 1.25rem; }
}

/* 4 — Bausteine */
.btn, .contact-btn, .btn-booking, .btn-termine, .btn-apply, .btn-read-more, .cta-box a, .cookie-btn-accept, .cookie-btn-decline {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3rem; padding: 0.7rem 1.6rem; border-radius: 999px; border: 1.5px solid transparent;
  font: inherit; font-weight: 650; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.btn--primary, .btn-booking, .btn-termine, .btn-apply { background: var(--gradient); color: #fff; }
.btn--primary:hover, .btn-booking:hover, .btn-termine:hover, .btn-apply:hover { color: #fff; box-shadow: 0 6px 18px rgba(31, 80, 136, 0.28); transform: translateY(-1px); }
.btn--primary:active, .btn-booking:active, .btn-termine:active, .btn-apply:active { transform: translateY(0); box-shadow: none; }
.btn--secondary, .contact-btn, .btn-read-more { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--secondary:hover, .contact-btn:hover, .btn-read-more:hover { background: var(--ink); color: #fff; }
.band--night .btn--secondary { color: #fff; border-color: #fff; }
.band--night .btn--secondary:hover { background: #fff; color: var(--night); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.text-link { font-weight: 650; }

.band { padding-block: var(--space-section); }
.band--surface { background: var(--surface); }
.band--paper { background: var(--paper); }
.band--night { background: var(--night); color: #f1f4f7; }
.band--night h2, .band--night h3 { color: #fff; }
.band--night a { color: #fff; }
.band--night p { color: #d5dce3; }
.band__head { max-width: var(--text); margin-bottom: clamp(1.75rem, 4vw, 3rem); }
.band__head p { margin-top: 1.1rem; color: var(--ink-soft); font-size: 1.15rem; }
.band--night .band__head p { color: #d5dce3; }
.lead { font-size: 1.2rem; color: var(--ink-soft); }

/* Brotkrumen und „Auf dieser Seite“ */
.crumbs { padding-top: 1.5rem; font-size: 1rem; color: var(--ink-soft); }
.crumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; }
.crumbs li + li::before { content: "›"; margin-right: 0.5rem; color: var(--ink-soft); }
.crumbs a { color: var(--ink-soft); }
.subnav { border-block: 1px solid var(--line); background: var(--surface); }
.subnav ul { list-style: none; padding: 0.35rem 0; display: flex; flex-wrap: wrap; gap: 0 1.5rem; align-items: baseline; }
.subnav li:first-child { color: var(--ink-soft); font-size: 1rem; }
.subnav a { display: inline-block; padding: 0.65rem 0; font-size: 1rem; text-decoration: none; font-weight: 650; }
.subnav a:hover { text-decoration: underline; }

/* 5 — Startseite */
.home-hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 7vw, 5.5rem); }
.home-hero__grid { display: grid; gap: clamp(2rem, 5vw, 4.5rem); grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; }
.home-hero__kind { font-size: 1.15rem; color: var(--ink-soft); margin-bottom: 0.9rem; }
.home-hero h1 { font-size: clamp(2.1rem, 0.9rem + 5.2vw, 4.1rem); line-height: 1.05; }
.home-hero h1 .gradient-text { display: inline-block; padding-bottom: 0.08em; white-space: nowrap; }
.home-hero__where { margin-top: 1.4rem; font-size: 1.2rem; max-width: 30rem; color: var(--ink-soft); }
.home-hero h1::after { content: ""; display: block; height: 4px; width: 6rem; margin-top: 1.1rem; background: var(--gradient); border-radius: 2px; transform-origin: left; }

/* Hinweis im Stempel-Look – der rote Stempel bleibt, die Aussage steht jetzt in ganzen Sätzen daneben */
.notice { margin-top: 2.25rem; display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; align-items: center; background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--stamp); border-radius: var(--radius-small); padding: 1.1rem 1.4rem 1.1rem 1.2rem; max-width: 36rem; }
.notice__stamp { color: var(--stamp); border: 3px solid var(--stamp); border-radius: 8px; padding: 0.35rem 0.6rem; font-weight: 800; font-size: 0.82rem; line-height: 1.2; letter-spacing: 0.06em; text-transform: uppercase; text-align: center; transform: rotate(-7deg); box-shadow: inset 0 0 0 1.5px rgba(200, 16, 46, 0.3); }
.notice p { font-size: 1.05rem; line-height: 1.5; }
.notice a { font-weight: 650; }

/* Wegweiser: die häufigsten Anliegen als große, gut treffbare Zeilen */
.wegweiser { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.5rem 0.75rem; box-shadow: 0 18px 40px -28px rgba(22, 32, 43, 0.35); }
.wegweiser h2 { font-size: 1.3rem; font-weight: 650; letter-spacing: 0; }
.wegweiser ul { list-style: none; padding: 0; margin-top: 0.75rem; }
.wegweiser li + li { border-top: 1px solid var(--line); }
.wegweiser a { display: grid; grid-template-columns: 1fr auto; gap: 0.25rem 1rem; align-items: center; padding: 0.95rem 0.25rem; text-decoration: none; color: var(--ink); min-height: 3.5rem; }
.wegweiser a strong { font-size: 1.15rem; }
.wegweiser a span { grid-column: 1; font-size: 1rem; color: var(--ink-soft); line-height: 1.4; }
.wegweiser a::after { content: ""; grid-column: 2; grid-row: 1 / span 2; width: 0.7rem; height: 0.7rem; border-top: 2.5px solid var(--blue); border-right: 2.5px solid var(--blue); transform: rotate(45deg); transition: transform 0.18s ease, border-color 0.18s ease; margin-right: 0.4rem; }
.wegweiser a:hover strong { color: var(--blue-deep); }
.wegweiser a:hover::after { transform: translateX(4px) rotate(45deg); border-color: var(--green); }
.wegweiser li:first-child a strong { color: var(--blue-deep); }

.anspruch__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 5vw, 4.5rem); align-items: start; }
.anspruch__text p { font-size: 1.2rem; }
.anspruch dl { margin-top: 2rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.anspruch dt { font-weight: 650; padding-top: 0.8rem; border-top: 3px solid var(--blue); }
.anspruch dl div:nth-child(2) dt { border-image: var(--gradient) 1; }
.anspruch dl div:nth-child(3) dt { border-top-color: var(--green); }
.anspruch dd { margin: 0.35rem 0 0; color: var(--ink-soft); font-size: 1rem; line-height: 1.5; }
.anspruch .btn-row { margin-top: 2.25rem; }

.fach { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3.5rem); }
.fach article { border-top: 4px solid var(--blue); padding-top: 1.5rem; }
.fach article + article { border-top-color: var(--green); }
.fach h3 { font-size: 1.7rem; font-weight: 350; margin-bottom: 1rem; }
.fach p + p { margin-top: 1rem; }
.fach .text-link { display: inline-block; margin-top: 1.25rem; }

.team { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr)); gap: 1.75rem 2.5rem; }
.team li { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1.1rem; align-items: center; }
.team img, .team .team__initials { width: 4.5rem; height: 4.5rem; border-radius: 50%; object-fit: cover; }
.team .team__initials { display: grid; place-items: center; border: 1.5px solid rgba(255,255,255,0.3); color: #c6d0da; font-weight: 650; letter-spacing: 0.04em; }
.team__name { font-weight: 650; font-size: 1.15rem; line-height: 1.3; color: #fff; }
a.team__name { text-decoration: underline; text-decoration-color: rgba(255,255,255,0.35); }
a.team__name:hover { color: #fff; text-decoration-color: var(--green); text-decoration-thickness: 2px; }
.team__role { color: #c6d0da; font-size: 1rem; line-height: 1.4; margin-top: 0.15rem; }
.team__extra { color: #9fb0c0; font-size: 0.95rem; line-height: 1.4; }
.team-group + .team-group { margin-top: 3.5rem; }
.team-group h3 { font-size: 1.1rem; font-weight: 400; color: #9fb0c0; margin-bottom: 1.5rem; padding-bottom: 0.6rem; border-bottom: 1px solid rgba(255,255,255,0.16); }

/* Haustafel: Stockwerke von oben nach unten – so wie man sie im Aufzug liest */
.haustafel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.haustafel__row { display: grid; grid-template-columns: 7.5rem 13rem 1fr; gap: 1.5rem; align-items: baseline; padding: 1.4rem 1.75rem; }
.haustafel__row + .haustafel__row { border-top: 1px solid var(--line); }
.haustafel__floor { font-size: 2rem; font-weight: 300; line-height: 1; white-space: nowrap; color: var(--ink); }
.haustafel__floor small { display: block; font-size: 0.95rem; font-weight: 400; color: var(--ink-soft); margin-top: 0.3rem; }
.haustafel__unit { font-weight: 650; font-size: 1.2rem; display: flex; align-items: center; gap: 0.6rem; }
.haustafel__unit::before { content: ""; width: 0.8rem; height: 0.8rem; border-radius: 50%; background: var(--blue); flex: none; }
.haustafel__row[data-unit="rechts"] .haustafel__unit::before { background: var(--gradient); }
.haustafel__row[data-unit="infusionen"] .haustafel__unit::before { background: #805AD5; }
.haustafel__row[data-unit="rote-praxis"] .haustafel__unit::before { background: #E53E3E; }
.haustafel__row[data-unit="gruene-praxis"] .haustafel__unit::before { background: var(--green); }
.haustafel ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.2rem 1.75rem; }
.haustafel li { font-size: 1.05rem; }
.aside-note { margin-top: 1.25rem; color: var(--ink-soft); font-size: 1rem; }

.contact { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(1.75rem, 5vw, 4rem); align-items: start; }
.contact address { font-style: normal; font-size: 1.25rem; line-height: 1.45; }
.contact__hours { margin-top: 1.5rem; display: grid; grid-template-columns: auto 1fr; gap: 0.3rem 1.5rem; max-width: 24rem; }
.contact__hours dt { font-weight: 650; }
.contact__hours dd { margin: 0; font-variant-numeric: tabular-nums; }
.contact h3 { margin: 2.25rem 0 0.6rem; }
.contact p + p { margin-top: 0.9rem; }
.app-box { margin-top: 1.5rem; background: var(--paper); border-radius: var(--radius-small); border-left: 4px solid var(--blue); padding: 1.25rem 1.4rem; }
.app-box h3 { margin: 0 0 0.5rem; font-size: 1.15rem; }
.app-box p { font-size: 1.05rem; }
.app-box .btn-row { margin-top: 1rem; }
.app-box .btn { min-height: 2.75rem; padding: 0.5rem 1.2rem; background: var(--night); color: #fff; }
.app-box .btn:hover { background: var(--blue-deep); color: #fff; }
.phone { font-size: 1.45rem; font-weight: 650; text-decoration: none; color: var(--ink); white-space: nowrap; }
.phone:hover { color: var(--blue-deep); text-decoration: underline; }
.map { border-radius: var(--radius); overflow: hidden; background: var(--sand); border: 1px solid var(--line); }
.map iframe { width: 100%; height: clamp(18rem, 40vw, 28rem); border: 0; }
.map p { padding: 0.6rem 1rem; font-size: 0.95rem; background: var(--surface); }

@media (max-width: 60rem) {
  .home-hero__grid, .anspruch__grid, .contact { grid-template-columns: 1fr; }
  .haustafel__row { grid-template-columns: 6rem 1fr; }
  .haustafel__row ul { grid-column: 2; }
}
@media (max-width: 40rem) {
  .fach, .anspruch dl { grid-template-columns: 1fr; }
  .notice { grid-template-columns: 1fr; justify-items: start; }
  .haustafel__row { grid-template-columns: 1fr; gap: 0.5rem; padding: 1.25rem; }
  .haustafel__row ul { grid-column: 1; flex-direction: column; gap: 0.15rem; }
  .haustafel__floor { font-size: 1.5rem; }
  .haustafel__floor small { display: inline; margin-left: 0.4rem; }
  .team { grid-template-columns: 1fr; }
}

/* 6 — Unterseiten */
/* Seitenkopf (Krankheitsbilder, Leistungen, Jobs …) */
.hero { padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(2rem, 5vw, 3.5rem); }
.hero .hero-content, .hero-content { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.hero-content > p { max-width: var(--text); font-size: 1.2rem; color: var(--ink-soft); margin-top: 1.1rem; }
.hero-content > h1 + p { margin-top: 1.4rem; }
.hero-blur-circle, .service-bg-shape, .scroll-indicator, .service-icon, .card-icon, .team-center-icon { display: none; }

/* Textseiten: Krankheitsbilder */
.content-section { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; padding-bottom: var(--space-section); }
.content-section > * { max-width: 50rem; }
.content-section > section { padding-top: 2.75rem; }
.content-section h2 { margin-bottom: 1.4rem; }
.content-section > h2 { margin-top: 3rem; }
.content-section p { max-width: var(--text); }
.content-section p + p { margin-top: 1rem; }
.info-box { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: var(--radius-small); padding: 1.4rem 1.6rem; margin: 1.5rem 0; }
.info-box.green { border-left-color: var(--green); }
.info-box.warning { border-left-color: #c53030; background: #fff8f7; }
.info-box h3 { margin-bottom: 0.7rem; color: var(--blue-deep); }
.info-box.green h3 { color: var(--green-deep); }
.info-box.warning h3 { color: #9b2c2c; }
.info-box ul { list-style: none; padding: 0; }
.info-box li { position: relative; padding: 0.3rem 0 0.3rem 1.6rem; }
.info-box li::before { content: ""; position: absolute; left: 0.1rem; top: 0.85em; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--green); }
.info-box.warning li::before { background: #c53030; border-radius: 1px; transform: rotate(45deg); }
.faq-section { margin-top: 1rem; }
.faq-item { padding: 1.35rem 0; border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item h3 { margin-bottom: 0.5rem; }
.cta-box { margin: 3.5rem 0 1rem; padding: clamp(1.75rem, 4vw, 2.75rem); border-radius: var(--radius); background: var(--night); color: #fff; position: relative; overflow: hidden; }
.cta-box::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--gradient); }
.cta-box h2 { color: #fff; margin-bottom: 0.8rem; }
.cta-box h2::after, .content-section .cta-box h2::after { display: none; }
.cta-box p { color: #d5dce3; }
.cta-box a { margin-top: 1.4rem; background: #fff; color: var(--night); }
.cta-box a:hover { background: var(--gradient); color: #fff; }
.related-links { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.related-links a { padding: 0.5rem 1.1rem; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); text-decoration: none; font-weight: 650; font-size: 1rem; min-height: 2.75rem; display: inline-flex; align-items: center; }
.related-links a:hover { border-color: var(--blue); color: var(--blue-deep); }

/* Übersichten: Krankheitsbilder, Leistungen */
.section-padding { padding-block: var(--space-section); }
.section-padding > *, .cta-section > * { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section-padding h2, .cta-section h2 { margin-bottom: 1.5rem; }
.section-padding h2::after { content: ""; display: block; width: 3.5rem; height: 3px; margin-top: 0.6rem; background: var(--gradient); border-radius: 2px; }
.section-padding p { max-width: var(--text); }
.section-padding p + p { margin-top: 1rem; }
.section-label { font-size: 1.05rem; font-weight: 650; color: var(--blue-deep); margin-bottom: 0.4rem; }
.section-label.green { color: var(--green-deep); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(17.5rem, 1fr)); gap: 1.25rem; margin-top: 1.5rem; }
.service-card { display: flex; flex-direction: column; gap: 0.5rem; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: var(--radius-small); padding: 1.35rem 1.4rem 1.25rem; text-decoration: none; color: var(--ink); transition: border-color 0.18s ease, box-shadow 0.18s ease; }
.service-card.green, #psychiatrie .service-card, #krankheitsbilder .services-grid ~ .services-grid .service-card { border-top-color: var(--green); }
.service-card h3 { color: var(--blue-deep); }
.service-card.green h3, #psychiatrie .service-card h3, #krankheitsbilder .services-grid ~ .services-grid .service-card h3 { color: var(--green-deep); }
.service-card p { font-size: 1.02rem; color: var(--ink-soft); line-height: 1.55; }
.service-card:hover { color: var(--ink); box-shadow: 0 10px 24px -16px rgba(22,32,43,0.4); border-color: var(--blue); }
.service-card.green:hover, #psychiatrie .service-card:hover { border-color: var(--green); }
.card-arrow { margin-top: auto; padding-top: 0.5rem; font-weight: 650; color: var(--blue-deep); }
#krankheitsbilder h3:not(.service-card h3) { margin-top: 2.5rem; font-size: 1.45rem; font-weight: 350; }
#psychiatrie, #krankheitsbilder { background: var(--surface); }

.service-section { border-top: 1px solid var(--line); }
.service-section.alt, .service-section.gold { background: var(--surface); }
.service-section.alt.green { background: var(--paper); }
.service-content h2 { margin-bottom: 0.4rem; }
.service-content h2::after { display: none; }
.service-tagline { font-size: 1.25rem; color: var(--ink-soft); }
.service-accent-bar { width: 3.5rem; height: 3px; background: var(--gradient); border-radius: 2px; margin: 1rem 0 1.5rem; }
.card-link { display: inline-block; margin-top: 1.25rem; font-weight: 650; }
.sprechstunde-section, .alumni-section { background: var(--night); color: #f1f4f7; }
.sprechstunde-section h2, .alumni-section h2 { color: #fff; }
.sprechstunde-section p, .alumni-section p { color: #d5dce3; }
.schedule-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); gap: 1rem 2.5rem; margin-top: 2rem; }
.doctor-schedule { border-top: 1px solid rgba(255,255,255,0.2); padding: 1rem 0; }
.doctor-schedule h4 { color: #fff; margin-bottom: 0.4rem; }
.doctor-schedule div { display: flex; justify-content: space-between; gap: 1rem; color: #d5dce3; font-variant-numeric: tabular-nums; }

/* Sprachen */
.language-bubbles { list-style: none; display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 2rem 0; padding: 0; max-width: 56rem; }
.bubble { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 0.55rem 1.2rem 0.6rem; display: flex; flex-direction: column-reverse; line-height: 1.25; position: relative; }
.bubble .lang-name { font-weight: 650; }
.bubble .greeting { font-size: 0.95rem; color: var(--ink-soft); font-style: italic; }
.bubble .flag-accent { display: none; }

/* Arztseiten, Termin, News, Rechtstexte */
.page-container, .legal-container { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; padding: 1.5rem 0 var(--space-section); }
.page-container > *, .legal-container > * { max-width: 54rem; }
.page-container > .news-grid { max-width: 62rem; }
.page-container h1, .legal-container h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem); margin-bottom: 1.75rem; }
.profile-header-top { display: flex; align-items: center; gap: clamp(1.25rem, 4vw, 2.5rem); margin-bottom: 1.75rem; flex-wrap: wrap; }
.profile-header-top h1 { margin-bottom: 0; flex: 1 1 16rem; }
.profile-photo-wrap { flex: none; }
.profile-photo { width: clamp(8rem, 24vw, 12rem); height: clamp(8rem, 24vw, 12rem); border-radius: 50%; object-fit: cover; flex: none; background: var(--sand); }
.wb-badge { display: inline-block; background: #e6f4ec; color: var(--green-deep); border: 1px solid #9fd3b5; border-radius: var(--radius-small); padding: 0.5rem 1rem; font-weight: 650; font-size: 1rem; margin-bottom: 1.5rem; }
.bio-text br { display: none; }
.bio-text p + p, .bio-text p { margin-bottom: 1rem; }
.cv-section { margin-top: 3rem; }
.cv-section h2 { margin-bottom: 0.5rem; }
.cv-section h3 { margin: 2.25rem 0 0.75rem; color: var(--blue-deep); }
.cv-table, .trials-table { width: 100%; border-collapse: collapse; font-size: 1.05rem; }
.cv-table td, .trials-table td, .trials-table th { padding: 0.7rem 0.75rem 0.7rem 0; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.cv-table td:first-child { width: 11rem; color: var(--ink-soft); white-space: nowrap; font-variant-numeric: tabular-nums; }
.trials-table th { font-weight: 650; border-bottom: 2px solid var(--ink); }
.trials-table td:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
div:has(> .trials-table) { overflow-x: auto; }
.phase-badge { display: inline-block; min-width: 2.6rem; text-align: center; padding: 0.1rem 0.5rem; border-radius: 6px; background: #e3eefa; color: var(--blue-deep); font-weight: 650; font-size: 0.95rem; }
.pub-list { padding-left: 1.2rem; }
.pub-list li { margin-bottom: 0.6rem; }
@media (max-width: 36rem) { .cv-table td { display: block; width: auto !important; border: 0; padding: 0; } .cv-table tr { display: block; padding: 0.7rem 0; border-bottom: 1px solid var(--line); } }

.legal-container h2 { font-size: 1.5rem; font-weight: 650; margin: 2.5rem 0 0.75rem; }
.legal-container h3 { margin: 1.5rem 0 0.4rem; font-size: 1.15rem; }
.legal-container p, .legal-container ul { margin-bottom: 0.9rem; max-width: var(--text); }
.grid-addresses { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem 2.5rem; }

.intro-text { font-size: 1.2rem; color: var(--ink-soft); max-width: var(--text); }
.termin-grid { margin-top: 2rem; display: grid; gap: 1.25rem; }
.termin-card { background: var(--surface); border: 1px solid var(--line); border-top: 5px solid transparent; border-image: var(--gradient) 1; padding: clamp(1.5rem, 4vw, 2.5rem); }
.termin-card h2 { font-size: 1.6rem; margin-bottom: 0.75rem; }
.termin-card .btn-booking { margin-top: 1.5rem; font-size: 1.15rem; min-height: 3.5rem; padding-inline: 2rem; }
.termin-help { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.5rem 2.5rem; }
.termin-help h2 { font-size: 1.2rem; font-weight: 650; margin-bottom: 0.4rem; }
.termin-help p { font-size: 1.05rem; color: var(--ink-soft); }

.news-grid { display: grid; gap: 1.25rem; }
.news-card { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--line); border-radius: var(--radius-small); padding: 1.5rem 1.6rem; }
.news-card.ms { border-left-color: var(--blue); }
.news-card.migraine { border-left-color: #805AD5; }
.news-card.study-info, .news-card.sat { border-left-color: var(--green); }
.news-card h2 { font-size: 1.45rem; font-weight: 650; letter-spacing: 0; margin: 0.4rem 0 0.6rem; line-height: 1.25; }
.news-card p { max-width: var(--text); }
.news-card .btn-read-more { margin-top: 1rem; min-height: 2.75rem; padding: 0.5rem 1.2rem; }
.date-badge, .featured-label { display: inline-block; font-size: 1rem; color: var(--ink-soft); margin-right: 1rem; }
.featured-label { font-weight: 650; color: var(--green-deep); }
.news-card.featured-video { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 1.75rem; align-items: center; }
@media (max-width: 52rem) { .news-card.featured-video { grid-template-columns: 1fr; } }

/* Jobs */
.job-tag { display: inline-block; font-size: 1rem; font-weight: 650; color: var(--green-deep); margin-bottom: 0.5rem; }
.alumni-section .job-tag { color: #a9dcc0; }
.jobs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr)); gap: 1.25rem; }
.job-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-small); padding: 1.5rem; }
.job-card h3 { margin-bottom: 0.75rem; }
.job-card p { font-size: 1.05rem; color: var(--ink-soft); }
.wb-section { background: var(--surface); }
.wb-intro { font-size: 1.2rem; color: var(--ink-soft); }
.wb-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); margin-top: 2.5rem; align-items: start; }
.wb-point { padding: 1.1rem 0; border-top: 1px solid var(--line); }
.wb-point h3 { margin-bottom: 0.4rem; }
.wb-point p { font-size: 1.05rem; color: var(--ink-soft); }
@media (max-width: 56rem) { .wb-grid { grid-template-columns: 1fr; } }
.alumni-grid { margin-top: 2rem; columns: 3 17rem; column-gap: 2.5rem; }
.alumni-item { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; border-bottom: 1px solid rgba(255,255,255,0.16); break-inside: avoid; }
.alumni-item span:last-child { color: #9fb0c0; }
.cta-section { padding-block: var(--space-section); background: var(--paper); }
.cta-section .btn-apply { margin-top: 1.5rem; }
.cta-section p + p { margin-top: 0.6rem; }

/* Team-Animation: Vornamen, die zusammenfinden */
.team-animation { position: relative; width: 100%; max-width: 44rem; height: 23rem; margin-top: 2.5rem; overflow: hidden; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.team-name { position: absolute; left: 0; top: 0; padding: 0.3rem 0.9rem; border-radius: 999px; font-size: 1rem; font-weight: 650; white-space: nowrap; will-change: transform; user-select: none; }
.team-center-label { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-weight: 650; font-size: 1.15rem; text-align: center; line-height: 1.35; opacity: 0; transition: opacity 0.8s ease; pointer-events: none; }
.team-center-label.visible { opacity: 1; }
.team-animation.is-static { height: auto; display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 1.25rem; }
.team-animation.is-static .team-name { position: static; transform: none !important; }
.team-animation.is-static .team-center-label { position: static; transform: none; opacity: 1; width: 100%; text-align: left; order: -1; margin-bottom: 0.5rem; }
.team-animation.is-static .team-center-label br { display: none; }
.team-animation__toggle { position: absolute; right: 0.75rem; bottom: 0.75rem; z-index: 2; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; font: inherit; font-size: 0.95rem; padding: 0.35rem 0.9rem; cursor: pointer; color: var(--ink); min-height: 2.5rem; }
.team-animation.is-static .team-animation__toggle { position: static; margin-left: auto; }
@media (max-width: 40rem) { .team-animation { height: 20rem; } .team-name { font-size: 0.9rem; padding: 0.25rem 0.7rem; } }

/* Erstmals hier */
.wer-wir-sind, .termine-section, .standorte-section, .sprachen-section { padding-block: var(--space-section); }
.wer-wir-sind, .sprachen-section { background: var(--surface); }
.wer-wir-sind .hero-content p, .sprachen-section .hero-content p { margin-top: 1.1rem; }
.wer-wir-sind h2, .sprachen-section h2 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem); }
.termine-section h2, .standorte-section h2 { margin-bottom: 1.25rem; }
.termine-section h2::after, .standorte-section h2::after { content: ""; display: block; width: 3.5rem; height: 3px; margin-top: 0.6rem; background: var(--gradient); border-radius: 2px; }
.termine-section p, .standorte-section .wrap > p { max-width: var(--text); font-size: 1.2rem; color: var(--ink-soft); }
.termine-section .btn-termine { margin-top: 1.75rem; }
.section-padding > .wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); }
.standorte-section .haustafel { margin-top: 2rem; }
.sub-lead { font-size: 1.35rem; font-weight: 300; }

/* 7 — Video */
.video { margin: 0; }
.video__frame { position: relative; background: var(--night); border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; }
.video__frame video { width: 100%; height: 100%; object-fit: contain; background: var(--night); }
.video__start { position: absolute; inset: 0; width: 100%; border: 0; padding: 0; cursor: pointer; font: inherit; color: #fff; text-align: left; background: linear-gradient(to top, rgba(13,20,28,0.88) 0%, rgba(13,20,28,0.25) 45%, rgba(13,20,28,0) 70%); display: flex; align-items: flex-end; }
.video__start-inner { display: flex; align-items: center; gap: 1rem; padding: clamp(1rem, 3vw, 1.75rem); width: 100%; }
.video__play { flex: none; width: 4rem; height: 4rem; border-radius: 50%; background: var(--gradient); display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,0.35); transition: transform 0.18s ease; }
.video__play::before { content: ""; border-left: 1.15rem solid #fff; border-top: 0.72rem solid transparent; border-bottom: 0.72rem solid transparent; margin-left: 0.3rem; }
.video__start:hover .video__play { transform: scale(1.07); }
.video__start:focus-visible { outline: 4px solid #9cc6f2; outline-offset: -6px; border-radius: var(--radius); }
.video__title { font-weight: 650; font-size: clamp(1.05rem, 0.9rem + 0.9vw, 1.4rem); line-height: 1.25; display: block; }
.video__meta { display: block; font-size: 1rem; color: #d5dce3; margin-top: 0.2rem; }
.video.is-started .video__start, .video__start[hidden] { display: none; }
.video figcaption { margin-top: 0.9rem; font-size: 1.05rem; color: var(--ink-soft); max-width: var(--text); }
.video details { margin-top: 0.75rem; }
.video summary { cursor: pointer; font-weight: 650; color: var(--blue-deep); padding: 0.4rem 0; }
.video details > *:not(summary) { margin-top: 0.5rem; font-size: 1.05rem; color: var(--ink); }
.video details ol { padding-left: 1.4rem; }
.video-hero { padding-block: 1rem var(--space-section); }
.video-hero h1 { margin: 0.75rem 0 1rem; }
.video-hero .lead { max-width: var(--text); margin-bottom: 2rem; }
.video-hero .video { max-width: 60rem; }

/* 8 — Fußzeile & Cookie-Hinweis */
.site-footer { background: var(--night); color: #c6d0da; padding-block: 3.5rem 2rem; font-size: 1.02rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem 3rem; }
.site-footer h2 { font-size: 1rem; font-weight: 650; color: #fff; letter-spacing: 0; margin-bottom: 0.75rem; }
.site-footer .logo { display: inline-block; margin-bottom: 0.5rem; padding-top: 0; }
.site-footer a { color: #e8edf2; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { padding: 0.2rem 0; }
.site-footer address { font-style: normal; }
.site-footer__legal { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,0.16); display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; font-size: 0.98rem; }
@media (max-width: 48rem) { .site-footer__grid { grid-template-columns: 1fr; } }

#cookie-banner { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 3000; max-width: 44rem; margin-inline: auto; background: var(--night); color: #fff; border-radius: var(--radius); padding: 1.25rem 1.5rem; box-shadow: 0 20px 50px rgba(0,0,0,0.35); border-top: 4px solid var(--blue); }
#cookie-banner[hidden] { display: none; }
#cookie-banner p { font-size: 1rem; line-height: 1.5; color: #e8edf2; }
#cookie-banner a { color: #fff; }
.cookie-buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; }
/* Beide Schaltflächen gleich groß und gleich gut sichtbar */
.cookie-btn-accept, .cookie-btn-decline { min-height: 2.75rem; padding: 0.5rem 1.4rem; font-size: 1rem; background: transparent; color: #fff; border-color: #fff; }
.cookie-btn-accept:hover, .cookie-btn-decline:hover { background: #fff; color: var(--night); }

/* 9 — Bewegung: kurz, ruhig, nur einmal. Ohne JavaScript oder bei „Bewegung reduzieren“ ist alles sofort sichtbar. */
@media (prefers-reduced-motion: no-preference) {
  .js-motion .reveal, .js-motion .reveal-snap { opacity: 0; transform: translateY(10px); transition: opacity 0.45s ease, transform 0.45s ease; }
  .js-motion .reveal.is-in, .js-motion .reveal-snap.is-in { opacity: 1; transform: none; }
  .js-motion .home-hero h1::after { animation: draw 0.7s 0.15s cubic-bezier(0.3, 0.7, 0.2, 1) both; }
  @keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
@media print {
  .site-header, .site-footer, #cookie-banner, .subnav, .video__start, .team-animation { display: none !important; }
  body { background: #fff; font-size: 11pt; }
}

/* Nachträge */
.profile-header-top h1 + div { color: var(--blue-deep); font-size: 1.15rem; margin-top: 0.4rem; }
.profile-header-top > div:not(.profile-photo-wrap) { flex: 1 1 16rem; }
.contact .btn-row { margin-top: 1.5rem; }
.hero + .section-padding, .subnav + .section-padding, .hero + .subnav + .section-padding { padding-top: clamp(2rem, 5vw, 3.5rem); }
.section-label { display: none; }
.site-footer { border-top: 1px solid rgba(255, 255, 255, 0.14); }
.site-footer li span { white-space: nowrap; }

/* Stempel auf der Startseite: fällt beim Laden einmal aufs Papier und führt per Klick zur Terminvereinbarung */
.stamp {
  display: inline-block; position: relative; margin: 2.5rem 0 0.5rem 0.75rem; padding: 1.1rem 1.6rem 1.2rem;
  color: var(--stamp); border: 5px solid var(--stamp); border-radius: 10px;
  box-shadow: inset 0 0 0 2px rgba(200, 16, 46, 0.35);
  font-weight: 800; font-size: 1.02rem; line-height: 1.35; letter-spacing: 0.06em; text-transform: uppercase;
  text-align: center; text-decoration: none; transform: rotate(-7deg); transform-origin: center;
  opacity: 0.9; mix-blend-mode: multiply; cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease;
}
.stamp::before { content: ""; position: absolute; inset: 4px; border: 1.5px solid var(--stamp); border-radius: 6px; pointer-events: none; }
.stamp__small { display: block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.15em; margin-bottom: 0.4rem; }
.stamp__go { display: inline-block; margin-top: 0.35rem; text-decoration: underline; text-underline-offset: 0.25em; }
.stamp:hover, .stamp:focus-visible { color: var(--stamp); opacity: 1; transform: rotate(-4deg) scale(1.03); background: rgba(200, 16, 46, 0.05); }
.stamp:active { transform: rotate(-4deg) scale(0.98); }
.stamp:focus-visible { outline: 3px solid var(--blue); outline-offset: 6px; }
@media (prefers-reduced-motion: no-preference) {
  .js-motion .stamp { animation: stamp-drop 0.6s 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
  @keyframes stamp-drop {
    0%   { opacity: 0; transform: rotate(-7deg) scale(2.4); }
    60%  { opacity: 0.95; transform: rotate(-7deg) scale(0.93); }
    100% { opacity: 0.9; transform: rotate(-7deg) scale(1); }
  }
}
@media (max-width: 40rem) { .stamp { font-size: 0.92rem; padding: 0.95rem 1.2rem 1rem; margin-left: 0.4rem; } }
