/*
 * Mein Arzt MVZ Neuhof – gemeinsames Stylesheet der Website
 * Gleiches Design wie /neupatienten/ und /rezeption/:
 * CI Navy #0A3172 · Blau #0068B0 · Hellblau #E0E8F0 · Schriften Barlow Condensed + Atkinson Hyperlegible (selbst gehostet)
 * Keine externen Anfragen, keine Cookies.
 */
@font-face { font-family: "Barlow Condensed"; src: url("fonts/barlow-condensed-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("fonts/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("fonts/atkinson-hyperlegible-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --ground: #F3F6FA;
  --surface: #FFFFFF;
  --tint: #E0E8F0;
  --ink: #0A3172;
  --ink-2: #4A5F80;
  --line: #D9E2EE;
  --brand: #0068B0;
  --go: #0068B0;
  --go-hover: #0A3172;
  --go-ink: #FFFFFF;
  --sign: #0A3172;
  --sign-ink: #F3F6FA;
  --sign-soft: #A9C0DE;
  --focus: #0068B0;
  --alarm: #C8322B;
  --display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --body: "Atkinson Hyperlegible", "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; padding-bottom: 76px; }
@media (min-width: 860px) { body { padding-bottom: 0; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1120px; margin: 0 auto; padding-inline: clamp(16px, 4vw, 40px); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--surface); padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 16px; }

h1, h2, h3 { font-family: var(--display); line-height: 1.02; text-wrap: balance; margin: 0; letter-spacing: .005em; overflow-wrap: break-word; hyphens: auto; }
h1 { font-size: clamp(42px, 8vw, 84px); font-weight: 700; text-transform: uppercase; line-height: .94; }
h2 { font-size: clamp(32px, 4.5vw, 46px); font-weight: 600; }
h3 { font-size: 23px; font-weight: 600; }
p { margin: 0; max-width: 64ch; }
.eyebrow { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: 15px; color: var(--brand); }
.lead { font-size: 19px; color: var(--ink-2); }

/* ---------- Kopf: Logo immer auf Weiß ---------- */
header.top { background: #FFFFFF; color: #0A3172; border-bottom: 1px solid #D9E2EE; position: sticky; top: 0; z-index: 20; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 10px; }
.mark { display: flex; align-items: flex-end; gap: 11px; text-decoration: none; color: #0A3172; flex: none; }
.mark img { height: clamp(40px, 6vw, 52px); width: auto; }
.mark small { font-family: var(--display); font-weight: 600; font-size: 17px; letter-spacing: .16em; text-transform: uppercase; color: #0068B0; padding-bottom: 4px; }
.hauptnav { display: none; align-items: center; gap: 22px; }
.hauptnav a { font-family: var(--display); font-weight: 600; font-size: 19px; color: #0A3172; text-decoration: none; white-space: nowrap; }
.hauptnav a:hover, .hauptnav a[aria-current="page"] { color: #0068B0; }
.hauptnav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.hauptnav .nav-rezeption { background: #0068B0; color: #FFFFFF; padding: 9px 16px; border-radius: 9px; }
.hauptnav .nav-rezeption:hover { background: #0A3172; color: #FFFFFF; }
.tel { font-family: var(--display); font-weight: 600; font-size: 19px; color: #0A3172; text-decoration: none; white-space: nowrap; }
.menue-knopf { display: inline-flex; align-items: center; gap: 8px; font: 600 18px var(--display); color: #0A3172; background: #FFFFFF; border: 2px solid #D9E2EE; border-radius: 9px; padding: 8px 12px; min-height: 44px; cursor: pointer; }
.menue-knopf svg { width: 22px; height: 22px; }
@media (min-width: 1020px) { .hauptnav { display: flex; } .menue-knopf, .top .tel-mobil { display: none; } }
.handynav { background: #FFFFFF; border-bottom: 1px solid #D9E2EE; }
.handynav ul { list-style: none; margin: 0; padding: 6px clamp(16px, 4vw, 40px) 14px; display: grid; }
.handynav a { display: block; padding: 12px 0; border-bottom: 1px solid #E8EEF5; font: 600 21px var(--display); color: #0A3172; text-decoration: none; }
.handynav a.nav-rezeption { color: #0068B0; }
@media (min-width: 1020px) { .handynav { display: none !important; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-family: var(--display); font-weight: 600; font-size: 21px; letter-spacing: .02em; text-decoration: none; border-radius: 10px; padding: 12px 22px; min-height: 54px; border: 2px solid transparent; cursor: pointer; transition: background-color .15s ease; }
.btn-go { background: var(--go); color: var(--go-ink); }
.btn-go:hover { background: var(--go-hover); }
.btn-line { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-line:hover { border-color: var(--ink-2); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.aktionen { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Online-Rezeption (Startseite oben) ---------- */
.rezeption-band { padding-block: clamp(20px, 4vw, 36px) 0; }
.rezeption { background: var(--sign); color: var(--sign-ink); border-radius: 16px; padding: clamp(20px, 4vw, 36px); display: grid; gap: 18px; }
.rezeption-kopf { display: grid; gap: 6px; }
.rezeption h1 { color: #FFFFFF; font-size: clamp(38px, 6.5vw, 66px); }
.rezeption h1 span { color: #7CC4F5; }
.rezeption .lead { color: var(--sign-soft); }
.schnell { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(176px, 1fr)); }
.schnell a { display: flex; align-items: center; gap: 11px; min-height: 60px; padding: 12px 16px; border-radius: 11px; background: #FFFFFF; color: #0A3172; text-decoration: none; font: 600 20px/1.15 var(--display); }
.schnell a:hover { background: var(--tint); }
.schnell a.haupt { background: #0068B0; color: #FFFFFF; box-shadow: inset 0 0 0 2px rgba(255,255,255,.35); }
.schnell a.haupt:hover { box-shadow: inset 0 0 0 2px #FFFFFF; }
.schnell svg { width: 26px; height: 26px; flex: none; }
.rezeption :focus-visible { outline-color: #FFFFFF; }
.rezeption-fuss { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 15px; color: var(--sign-soft); }
.rezeption-fuss a { color: #FFFFFF; font-weight: 700; }
@media (max-width: 520px) {
  .schnell { grid-template-columns: 1fr 1fr; gap: 8px; }
  .schnell a { font-size: 18px; min-height: 54px; padding: 10px 12px; }
  .schnell a.haupt { grid-column: 1 / -1; justify-content: center; }
}

/* ---------- Praxisschild + Foto ---------- */
.hero { padding-block: clamp(28px, 6vw, 60px); }
.hero .wrap { display: grid; gap: clamp(28px, 5vw, 56px); align-items: center; }
@media (min-width: 860px) { .hero .wrap { grid-template-columns: 1.1fr 1fr; } }
.hero h2 { font-size: clamp(38px, 6vw, 62px); text-transform: uppercase; font-weight: 700; line-height: .95; margin-block: 10px 16px; }
.hero h2 span { color: var(--brand); display: block; }
.hero .aktionen { margin-top: 24px; }
.hero-visual { display: grid; }
.hero-photo { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 14px; background: var(--line); }
.schild { background: var(--sign); color: var(--sign-ink); border-radius: 14px; padding: 30px 28px 26px; position: relative; box-shadow: 0 18px 40px -22px rgba(10,25,50,.55); margin: -48px 13px 0; }
@media (min-width: 860px) { .schild { margin: -88px 22px 0; } }
.schild::before, .schild::after, .schild .schraube::before, .schild .schraube::after { content: ""; position: absolute; width: 9px; height: 9px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #d9e1ea, #7f8fa3 70%); }
.schild::before { top: 12px; left: 12px; } .schild::after { top: 12px; right: 12px; }
.schild .schraube::before { bottom: 12px; left: 12px; } .schild .schraube::after { bottom: 12px; right: 12px; }
.schild .kicker { font-family: var(--display); text-transform: uppercase; letter-spacing: .16em; font-size: 14px; color: var(--sign-soft); }
.schild .name { font-family: var(--display); font-weight: 700; font-size: 34px; line-height: 1; text-transform: uppercase; margin-top: 4px; }
.schild .fach { color: var(--sign-soft); margin-top: 6px; font-size: 16px; }
.schild hr { border: 0; border-top: 1px solid rgba(159,182,211,.35); margin-block: 18px; }
.zeiten { display: grid; grid-template-columns: auto 1fr; gap: 5px 16px; font-family: var(--display); font-size: 21px; font-weight: 500; margin: 0; }
.zeiten dt { color: var(--sign-soft); }
.zeiten dd { margin: 0; text-align: right; }
.zeiten .sub { font-size: 16px; color: var(--sign-soft); }
.zeiten a { color: inherit; text-decoration: none; }
.schild .adresse { margin-top: 12px; font-size: 15px; color: var(--sign-soft); }

/* ---------- Abschnitte ---------- */
section.band { padding-block: clamp(44px, 7vw, 80px); border-top: 1px solid var(--line); }
.sec-head { display: grid; gap: 10px; margin-bottom: 34px; }
.sec-head p { color: var(--ink-2); }
.seitenkopf { padding-block: clamp(34px, 6vw, 64px) clamp(8px, 2vw, 16px); }
.seitenkopf h1 { margin-block: 8px 14px; }

.fakten { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
@media (min-width: 640px) { .fakten { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .fakten { grid-template-columns: repeat(4, 1fr); } }
.fakt { background: var(--surface); padding: 24px 22px; display: grid; gap: 8px; align-content: start; }
.fakt .gross { font-family: var(--display); font-weight: 700; font-size: 42px; line-height: 1; color: var(--brand); }
.fakt p { color: var(--ink-2); font-size: 16px; }

.leistungen { display: grid; gap: 32px 48px; }
@media (min-width: 720px) { .leistungen { grid-template-columns: repeat(2, 1fr); } }
.leistung h3 { padding-bottom: 8px; border-bottom: 2px solid var(--ink); margin-bottom: 10px; }
.leistung ul { list-style: none; padding: 0; margin: 0; }
.leistung li { padding-block: 7px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; }
.leistung li em { font-style: normal; font-size: 14px; color: var(--ink-2); white-space: nowrap; }

.team { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); max-width: 920px; }
.team li { display: grid; gap: 3px; padding-block: 17px; border-bottom: 1px solid var(--line); }
@media (min-width: 720px) { .team li { grid-template-columns: minmax(0, 16rem) minmax(0, 1fr); gap: 32px; align-items: baseline; } }
.team b { font-family: var(--display); font-weight: 600; font-size: 25px; line-height: 1.15; }
.team .fach { display: grid; gap: 2px; }
.team .quali { color: var(--ink-2); font-size: 15px; }

.karte { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: clamp(20px, 3vw, 30px); }
.zweispaltig { display: grid; gap: 28px; }
@media (min-width: 860px) { .zweispaltig { grid-template-columns: 1fr 1fr; align-items: start; } }
.hinweis-box { border-left: 4px solid var(--brand); background: var(--surface); padding: 16px 20px; border-radius: 0 12px 12px 0; }

/* Fotos */
.galerie { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .galerie { grid-template-columns: repeat(4, 1fr); } }
.galerie figure { margin: 0; border-radius: 12px; overflow: hidden; background: var(--line); }
.galerie img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .3s ease; }
.galerie figure:hover img { transform: scale(1.03); }
.galerie .breit { grid-column: span 2; }
.galerie .breit img { aspect-ratio: 8 / 3; }
@media (prefers-reduced-motion: reduce) { .galerie img { transition: none; } .galerie figure:hover img { transform: none; } }

/* 3D-Rundgang: lädt erst nach Klick */
.rundgang { position: relative; border-radius: 14px; overflow: hidden; background: var(--sign); color: var(--sign-ink); aspect-ratio: 16 / 9; }
.rundgang img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.rundgang .overlay { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 20px; text-align: center; }
.rundgang .overlay p { color: var(--sign-soft); font-size: 15px; max-width: 46ch; }
.rundgang iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 560px) { .rundgang { aspect-ratio: 3 / 4; } }

/* Notfall */
.notfall { display: grid; gap: 16px; }
@media (min-width: 720px) { .notfall { grid-template-columns: repeat(3, 1fr); } }
.notfall-karte { border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; background: var(--surface); display: grid; gap: 5px; align-content: start; }
.notfall-karte .nummer { font-family: var(--display); font-weight: 700; font-size: 38px; line-height: 1; color: var(--ink); text-decoration: none; }
.notfall-karte.alarm .nummer { color: var(--alarm); }
.notfall-karte p { color: var(--ink-2); font-size: 16px; }

/* Aufklapper (Stellen, Fragen) */
.aufklapper { border-top: 1px solid var(--line); max-width: 900px; }
.aufklapper details { border-bottom: 1px solid var(--line); }
.aufklapper summary { cursor: pointer; list-style: none; padding-block: 18px; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.aufklapper summary::-webkit-details-marker { display: none; }
.aufklapper summary::after { content: "+"; font: 700 28px/1 var(--display); color: var(--brand); transition: transform .2s ease; }
.aufklapper details[open] summary::after { transform: rotate(45deg); }
.aufklapper summary h3 { font-size: 26px; }
.aufklapper summary span { display: block; color: var(--ink-2); font-size: 15px; font-family: var(--body); margin-top: 4px; }
.aufklapper .inhalt { padding-bottom: 24px; display: grid; gap: 14px; }
.aufklapper .inhalt h4 { margin: 8px 0 0; font: 600 20px var(--display); }
.aufklapper .inhalt ul { margin: 0; padding-left: 20px; color: var(--ink-2); }

/* Blau-Kasten am Seitenende */
.abschluss { background: var(--sign); color: var(--sign-ink); border-radius: 16px; padding: clamp(28px, 5vw, 50px); display: grid; gap: 22px; align-items: center; }
@media (min-width: 860px) { .abschluss { grid-template-columns: 1.4fr auto; } }
.abschluss h2 { text-transform: uppercase; font-weight: 700; color: #FFFFFF; }
.abschluss p { color: var(--sign-soft); margin-top: 10px; }
.abschluss .btn-line { background: transparent; color: var(--sign-ink); border-color: rgba(159,182,211,.5); }

/* Rechtstexte */
.rechtstext { max-width: 820px; }
.rechtstext h2 { font-size: clamp(26px, 3.4vw, 34px); margin: 40px 0 12px; }
.rechtstext h3 { font-size: 22px; margin: 26px 0 8px; }
.rechtstext p, .rechtstext ul, .rechtstext address { margin: 0 0 12px; color: var(--ink); max-width: none; }
.rechtstext ul { padding-left: 22px; }
.rechtstext address { font-style: normal; }
.entwurf { background: #FFF4CC; color: #4A3A00; border-radius: 10px; padding: 14px 18px; margin-bottom: 26px; font-size: 16px; }
.platzhalter { background: #FFF4CC; outline: 2px dashed #B8860B; outline-offset: 2px; padding: 0 4px; }

/* ---------- Fuß ---------- */
footer.fuss { background: var(--sign); color: var(--sign-soft); padding-block: 44px 34px; margin-top: clamp(40px, 6vw, 70px); font-size: 16px; }
.fuss .spalten { display: grid; gap: 28px; }
@media (min-width: 760px) { .fuss .spalten { grid-template-columns: 1.3fr 1fr 1fr; } }
.fuss h2 { color: #FFFFFF; font-size: 24px; margin-bottom: 10px; }
.fuss a { color: #FFFFFF; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.fuss .unten { margin-top: 30px; padding-top: 18px; border-top: 1px solid rgba(159,182,211,.3); display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; font-size: 14px; }

/* ---------- Handy-Leiste ---------- */
.handyleiste { position: fixed; inset: auto 0 0 0; z-index: 30; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; background: #FFFFFF; border-top: 1px solid #D9E2EE; box-shadow: 0 -4px 18px rgba(10,49,114,.14); padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); }
.handyleiste a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 56px; border-radius: 10px; color: #0A3172; font: 600 15px/1.1 var(--display); text-decoration: none; letter-spacing: .02em; }
.handyleiste a.haupt { background: #0068B0; color: #FFFFFF; }
.handyleiste svg { width: 24px; height: 24px; }
@media (min-width: 860px) { .handyleiste { display: none; } }
@media print { .handyleiste, header.top, .handynav { display: none !important; } body { padding: 0; } }
