
/* Layout: ruhige Hausarzt-Seite, Kontakt & Sprechzeiten sofort sichtbar, dann Leistungen, Team, Anfahrt */
/* Bordeaux/Beere wie der Empfangstresen, dazu Weiß und Beige */
:root {
  --bg: #f6f1ea;
  --surface: #ffffff;
  --ink: #2b1b1e;
  --muted: #6e5d5f;
  --accent: #7b1530;
  --accent-soft: #f3e6e6;
  --gold: #a8243f;
  --line: #e6dbd2;
  --font-display: "Avenir Next", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--font-body); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; text-wrap: balance; margin: 0; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0; max-width: 65ch; }
a { color: var(--accent); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }

/* Kopf */
header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand svg { flex: none; }
.brand b { font-family: var(--font-display); font-size: 1.15rem; display: block; line-height: 1.1; }
.brand small { color: var(--muted); font-size: .85rem; }
nav ul { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; flex-wrap: wrap; }
nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
nav a:hover { color: var(--accent); }
.call { background: var(--accent); color: var(--surface); padding: 9px 16px; border-radius: 999px; text-decoration: none; font-weight: 600; white-space: nowrap; }
.call:hover { filter: brightness(1.08); }
@media (max-width: 720px) { nav ul { display: none; } }

/* Einstieg */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 56px 0 40px; }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); margin-bottom: 16px; }
.hero p { color: var(--muted); font-size: 1.1rem; }
.award { display: inline-flex; gap: 10px; align-items: center; margin-top: 24px; padding: 10px 14px; border: 1px solid var(--gold); border-radius: 10px; color: var(--ink); font-size: .95rem; }
.award svg { color: var(--gold); flex: none; }
.photo { aspect-ratio: 4 / 3; border-radius: 16px; background: var(--accent-soft); border: 2px dashed var(--accent); display: grid; place-items: center; text-align: center; padding: 24px; color: var(--accent); font-weight: 600; }
.photo span { display: block; font-weight: 400; color: var(--muted); font-size: .9rem; margin-top: 6px; }
@media (max-width: 820px) { .hero { grid-template-columns: 1fr; padding-top: 32px; } }

/* Infoleiste */
.quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 64px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px; display: grid; gap: 8px; align-content: start; }
.card .label { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.card .big { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; }
@media (max-width: 820px) { .quick { grid-template-columns: 1fr; } }

section { padding: 56px 0; }
.section-head { display: grid; gap: 10px; margin-bottom: 28px; }
.section-head p { color: var(--muted); }
.alt { background: var(--surface); border-block: 1px solid var(--line); }

/* Sprechzeiten */
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 600; width: 34%; }
tr.today th, tr.today td { color: var(--accent); }
tr.today th::after { content: " · heute"; font-weight: 400; font-size: .85rem; }
.hours { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: start; }
.note { background: var(--accent-soft); border-radius: 14px; padding: 22px; display: grid; gap: 10px; }
@media (max-width: 820px) { .hours { grid-template-columns: 1fr; } }

/* Leistungen */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.service h3 { display: flex; gap: 10px; align-items: center; }
.service h3::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--accent); flex: none; }
.service p { color: var(--muted); font-size: .97rem; }

/* Team */
.person { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; }
.avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; }
.person p { color: var(--muted); font-size: .95rem; }

/* Anfahrt */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.map { border-radius: 14px; background: var(--accent-soft); min-height: 220px; display: grid; place-items: center; text-align: center; padding: 24px; }
@media (max-width: 820px) { .contact { grid-template-columns: 1fr; } }

footer { padding: 32px 0 48px; color: var(--muted); font-size: .9rem; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.todo { background: #fff3cd; color: #6b4e00; border-radius: 4px; padding: 0 4px; font-size: .85em; }
header { border-bottom-color: var(--accent); }
.call { color: #ffffff; }
.hero h1 { color: var(--ink); }
.hero h1::after { content: ""; display: block; width: 72px; height: 3px; background: var(--accent); margin-top: 18px; }
.card .big, .card .big a { color: var(--accent); text-decoration: none; }
.award { background: var(--accent-soft); }
.emergency { margin-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: #d0021b; border-radius: 12px; padding: 12px 18px; }
.emergency-label { color: #fff; font-weight: 700; font-size: 1.1rem; text-transform: uppercase; letter-spacing: .04em; }
.emergency-num { color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 3rem; line-height: 1; text-decoration: none; font-variant-numeric: tabular-nums; }
.banner { margin: 28px 0 0; border-radius: 16px; overflow: hidden; border: 2px solid var(--accent); box-shadow: 0 14px 32px rgba(80,20,30,.18); }
.banner img { display: block; width: 100%; height: auto; max-width: 100%; }
.hero { grid-template-columns: 1.3fr .7fr; }
.hero .award { margin-top: 0; align-self: center; }
@media (max-width: 820px) { .hero { grid-template-columns: 1fr; } }

.legal { padding: 48px 0 24px; display: grid; gap: 28px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.6rem); }
.legal h2 { font-size: 1.3rem; color: var(--accent); margin-bottom: 8px; }
.legal section { padding: 0; }
.legal p, .legal li { color: var(--ink); }
.legal ul { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 4px; max-width: 65ch; }
