:root {
  --text: #5B5C5E;
  --ink: #3A3B3D;
  --paper: #FBFAF7;
  --cyan: #008E96;
  --cyan-band: #007A82;
  --cyan-tint: #E6F3F3;
  --link: #3F4E5F;
  --magenta: #E75D95;
  --magenta-band: #C2407A;
  --button: #4E5F72;
  --button-hover: #3F4E5F;
  --beige: #EBE9E4;
  --border: #E3E8E8;
  --focus: #C2407A;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Open Sans", "Helvetica Neue", Arial, sans-serif; font-size: clamp(16px, 1.15vw, 20px); line-height: 1.65; color: var(--text); background: var(--paper); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.wrap { width: min(88vw, 1320px); margin: 0 auto; }
.skip { position: absolute; left: -9999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
h1, h2, h3 { color: var(--ink); text-wrap: balance; line-height: 1.15; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.2rem, 4.6vw, 4.6rem); font-weight: 400; }
h2 { font-size: clamp(1.8rem, 3vw, 3rem); }
h3 { font-size: clamp(1.1rem, 1.3vw, 1.5rem); }
p { margin: 0 0 1em; text-wrap: pretty; }
.accent { color: var(--magenta-band); }

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease-out, transform .7s ease-out; }
.js .reveal.in { opacity: 1; transform: none; }

/* Kopf */
.site-header { position: sticky; top: 0; z-index: 50; transition: background-color .3s ease-out, box-shadow .3s ease-out; background: transparent; }
.site-header.solid { background: rgba(251,250,247,.97); box-shadow: 0 1px 0 var(--border); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: clamp(84px, 8vw, 150px); flex-wrap: wrap; }
.logo img { height: clamp(64px, 6.4vw, 124px); width: auto; }
.menu-toggle { display: none; background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 8px 18px; font: inherit; color: var(--ink); cursor: pointer; }
.main-nav ul { list-style: none; display: flex; gap: clamp(18px, 2.4vw, 44px); margin: 0; padding: 0; align-items: center; }
.main-nav a.nav-link { color: var(--ink); text-decoration: none; font-size: clamp(15px, 1vw, 18px); padding: 6px 0; background: linear-gradient(var(--magenta), var(--magenta)) no-repeat 0 100% / 0 2px; transition: background-size .3s ease-out; }
.main-nav a.nav-link:hover, .main-nav a.nav-link[aria-current="page"] { background-size: 100% 2px; }

.notice { background: var(--cyan-tint); font-size: .92em; color: var(--ink); }
.notice .wrap { padding: 12px 0; text-align: center; }

section { padding: clamp(60px, 7vw, 140px) 0; }

/* Buttons: eine Form, eine Farbe */
.btn, .btn-on-color, .btn-outline, .btn-pill {
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font: inherit; cursor: pointer;
  border-radius: 999px; padding: 14px 28px; font-weight: 600; line-height: 1.2; border: 2px solid transparent;
  transition: background-color .2s ease-out, color .2s ease-out, border-color .2s ease-out;
}
.btn { background: var(--button); color: #fff; }
.btn:hover { background: var(--button-hover); box-shadow: 0 8px 18px rgba(31,40,52,.35); transform: translateY(-1px); }
.btn-on-color { background: #fff; color: var(--button); }
.band-cyan .btn-on-color, .band-magenta .btn-on-color { color: var(--button); }
.btn-on-color:hover { background: #F6DCE8; color: #1F2834; box-shadow: 0 8px 18px rgba(0,0,0,.25); transform: translateY(-1px); }
.btn-outline { background: #fff; color: var(--button); border-color: var(--button); }
.btn-outline:hover { background: var(--button); color: #fff; box-shadow: 0 8px 18px rgba(31,40,52,.25); transform: translateY(-1px); }
.btn-pill { background: var(--button); color: #fff; text-transform: uppercase; letter-spacing: .08em; font-size: .8em; padding: 16px 40px; }
.btn-pill:hover { background: var(--button-hover); box-shadow: 0 8px 18px rgba(31,40,52,.35); transform: translateY(-1px); }

/* Hero: klassisch */
.hero { padding-top: clamp(24px, 3vw, 56px); padding-bottom: clamp(56px, 6vw, 120px); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5vw; align-items: center; }
.eyebrow { font-size: .8em; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan-band); font-weight: 600; margin-bottom: 1.2em; }
.hero-text .lead { font-size: 1.08em; margin-top: 1.2em; max-width: 40ch; }
.hero-actions { margin-top: 28px; }
.hero img.portrait { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 16px; }

/* Praxisurlaub */
.urlaub { padding: 0; }
.urlaub-stage { position: relative; min-height: clamp(380px, 42vw, 640px); display: flex; align-items: center; }
.urlaub-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.urlaub-card { position: relative; background: #fff; border-radius: 16px; padding: clamp(24px, 3vw, 48px); max-width: 520px; box-shadow: 0 20px 50px rgba(0,0,0,.16); }
.urlaub-card h2 { font-size: clamp(1.6rem, 2.4vw, 2.4rem); }

/* Bänder */
.band-magenta { background: var(--magenta-band); color: #fff; }
.band-magenta h2, .band-magenta p { color: #fff; }
.doctolib-wrap { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 4vw, 70px); align-items: center; }
.doctolib-wrap img { width: clamp(120px, 13vw, 200px); height: auto; filter: drop-shadow(0 14px 26px rgba(0,0,0,.35)); }
.doctolib-wrap .explain { max-width: none; }

.band-cyan { background: var(--cyan-band); color: #fff; }
.band-cyan h2, .band-cyan h3, .band-cyan p, .band-cyan th, .band-cyan td { color: #fff; }
.band-cyan a:not(.btn-on-color):not(.btn-outline) { color: #fff; }
.quote { font-size: clamp(1.25rem, 1.9vw, 1.9rem); line-height: 1.4; border-left: 4px solid var(--magenta); padding-left: 24px; margin: 0 0 32px; color: #fff; font-weight: 600; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; align-items: start; }

/* Sprechzeiten */
.hours { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.hours li { display: flex; justify-content: space-between; gap: 16px; background: rgba(0,0,0,.16); border-radius: 12px; padding: 14px 20px; font-variant-numeric: tabular-nums; }
.hours li.today { background: #fff; color: var(--ink); }
.hours li.today strong { color: var(--ink); }
.hours strong { font-weight: 600; }
.today-tag { display: inline-block; font-size: .72em; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--magenta-band); color: #fff; border-radius: 999px; padding: 2px 10px; margin-left: 8px; vertical-align: middle; }

/* Privatpraxis: beige Karte */
.privat-card { display: grid; grid-template-columns: 1.2fr .8fr; gap: 6vw; align-items: center; background: var(--beige); border-radius: 20px; padding: clamp(32px, 5vw, 80px); }
.privat-logo { width: 100%; max-width: 700px; height: auto; }
.privat-btn-row { margin-top: 28px; margin-bottom: 0; }

/* Anfahrt */
.map-box { border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--border); aspect-ratio: 16 / 8; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 24px; }
.map-box iframe { width: 100%; height: 100%; border: 0; }
.map-box p { margin: 0; max-width: 44ch; font-size: .95em; }

/* Fuß */
.site-footer { background: var(--paper); color: var(--ink); padding: clamp(48px, 5vw, 90px) 0 140px; font-size: .92em; border-top: 1px solid var(--border); }
.site-footer .wrap { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
.site-footer p, .site-footer li { color: var(--ink); }
.site-footer a { color: var(--ink); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer .logo-foot { width: clamp(220px, 22vw, 320px); height: auto; }
.site-footer .note { font-size: .92em; margin-top: 10px; }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); text-decoration: underline; cursor: pointer; }

/* Cookie-Banner */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; max-width: 720px; margin: 0 auto; background: #fff; border-radius: 16px; box-shadow: 0 12px 40px rgba(0,0,0,.22); padding: 22px; font-size: .95em; color: var(--ink); }
.cookie-banner[hidden] { display: none; }
.cookie-banner h2 { font-size: 1.15rem; margin-bottom: 8px; }
.cookie-banner p { margin-bottom: 14px; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions .btn, .cookie-actions .btn-outline { padding: 10px 18px; }

.legal { max-width: 760px; margin: 0 auto; padding: clamp(48px, 6vw, 110px) 20px; }
.legal h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
.legal h2 { font-size: 1.5rem; margin-top: 1.6em; }

@media (max-width: 900px) {
  .menu-toggle { display: inline-block; }
  .main-nav { display: none; width: 100%; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 0 16px; }
  .main-nav a.nav-link { display: block; padding: 12px 0; }
  .main-nav li:last-child .btn { margin-top: 12px; width: 100%; }
  .hero-grid, .two, .privat-card, .doctolib-wrap, .site-footer .wrap { grid-template-columns: 1fr; }
  .doctolib-wrap img { width: 130px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Hover deutlich sichtbar, Buttons ohne Nebenwirkungen bei Tastatur */
.btn, .btn-on-color, .btn-outline, .btn-pill { transition: background-color .2s ease-out, color .2s ease-out, box-shadow .2s ease-out, transform .2s ease-out; }
@media (prefers-reduced-motion: reduce) { .btn:hover, .btn-on-color:hover, .btn-outline:hover, .btn-pill:hover { transform: none; } }

/* Mobile: Tippflächen mindestens 44px, Menü und Karte sauber umbrechen */
@media (max-width: 900px) {
  .privat-card { grid-template-columns: 1fr; }
  .privat-logo { max-width: 100%; }
}
@media (max-width: 600px) {
  .btn, .btn-on-color, .btn-outline, .btn-pill { min-height: 44px; }
  .btn-pill { padding: 14px 28px; }
  .hero-actions .btn, .privat-btn-row .btn-pill { width: 100%; }
  .cookie-actions .btn, .cookie-actions .btn-outline { flex: 1 1 auto; }
  .map-box { aspect-ratio: 4 / 3; }
  .urlaub-stage { min-height: 0; padding: 24px 0; }
  .urlaub-stage img { position: absolute; }
  .urlaub-card { margin: 0; }
  .site-footer { padding-bottom: 150px; }
}

/* Sprungziele unter der Kopfleiste sichtbar halten */
section[id], #kontakt { scroll-margin-top: clamp(96px, 10vw, 170px); }

/* Fokusrahmen auf farbigen Bändern sichtbar machen (Magenta auf Magenta/Cyan ist nicht erkennbar) */
.band-cyan :focus-visible, .band-magenta :focus-visible { outline-color: #fff; }

/* Doctolib-Schnellzugriff ausblenden, solange der Cookie-Hinweis offen ist (verdeckt sonst die Buttons) */
.cookie-banner:not([hidden]) ~ .doctolib-widget { display: none !important; }

/* Footer-Links mit ausreichender Tippfläche */
.site-footer li a { display: inline-flex; align-items: center; min-height: 44px; }

/* Nur für Screenreader */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
