/* Modern, hell, großzügig: Weiß & warmes Beige, Bordeaux wie der Empfangstresen.
   Layout: großes Titelbild mit Text auf der freien Wandfläche, danach Bild-Text-Wechsel. */
:root {
  --bg: #faf7f3;
  --surface: #ffffff;
  --sand: #f1e9e0;
  --ink: #241719;
  --muted: #6f6063;
  --accent: #7d1625;
  --accent-strong: #5e0f1b;
  --accent-soft: #f6e9ea;
  --line: #e9dfd6;
  --gold: #a8243f;
  --radius: 22px;
  --font-display: "Avenir Next", "Segoe UI Variable Display", "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.65 var(--font-body); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; text-wrap: balance; margin: 0; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0; max-width: 62ch; }
a { color: var(--accent); }
img { max-width: 100%; display: block; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }

/* Kopfzeile */
header { position: sticky; top: 0; z-index: 10; background: rgba(250, 247, 243, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand svg { flex: none; }
.brand b { font-family: var(--font-display); font-size: 1.08rem; display: block; line-height: 1.1; letter-spacing: -0.01em; }
.brand small { color: var(--muted); font-size: .8rem; }
nav ul { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
nav a { color: var(--ink); text-decoration: none; font-weight: 550; font-size: .95rem; }
nav a:hover { color: var(--accent); }
.call { background: var(--accent); color: #fff; padding: 10px 18px; border-radius: 999px; text-decoration: none; font-weight: 650; white-space: nowrap; font-size: .95rem; }
.call:hover { background: var(--accent-strong); }
@media (max-width: 860px) { nav ul { display: none; } }

/* Titelbild */
.hero { position: relative; min-height: 600px; display: grid; align-items: center; overflow: hidden; background: var(--sand); }
.hero > img, .hero > video { position: absolute; top: 0; bottom: 0; right: 0; left: 38%; width: 62%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 0%, var(--bg) 38%, rgba(250,247,243,.7) 42%, rgba(250,247,243,0) 52%); z-index: 1; }
.hero-text { position: relative; z-index: 2; display: grid; gap: 20px; padding: 72px 0; max-width: 540px; }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.2rem); font-weight: 750; }
.hero h1 span { color: var(--accent); }
.hero p { font-size: 1.15rem; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 999px; font-weight: 650; text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-strong); }
.btn-ghost { background: rgba(255,255,255,.8); color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.status { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .95rem; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px 8px 12px; width: fit-content; }
.status i { width: 10px; height: 10px; border-radius: 50%; background: #9a8f90; box-shadow: 0 0 0 4px rgba(154,143,144,.18); }
.status.open i { background: #2e8b57; box-shadow: 0 0 0 4px rgba(46,139,87,.18); }
@media (max-width: 860px) {
  .hero { min-height: 0; display: block; }
  .hero > img, .hero > video { position: static; width: 100%; height: auto; aspect-ratio: 16 / 9; object-position: 50% 50%; }
  .hero::before { display: none; }
  .hero-text { padding: 32px 0 40px; }
}

/* Infoleiste */
.strip { position: relative; z-index: 3; margin-top: -48px; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface); border-radius: var(--radius); box-shadow: 0 24px 60px rgba(60, 20, 28, .10); overflow: hidden; }
.strip > div { padding: 24px 26px; display: grid; gap: 4px; align-content: start; border-right: 1px solid var(--line); }
.strip > div:last-child { border-right: 0; }
.label { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.big { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
a.big:hover { color: var(--accent); }
.strip small { color: var(--muted); font-size: .9rem; }
.emergency { background: #c8102e; color: #fff; }
.emergency .label, .emergency small { color: rgba(255,255,255,.85); }
.emergency .big { color: #fff; font-size: 2.6rem; line-height: 1; }
@media (max-width: 860px) {
  .strip { margin-top: 0; grid-template-columns: 1fr 1fr; }
  .strip > div { border-bottom: 1px solid var(--line); }
}
@media (max-width: 480px) { .strip { grid-template-columns: 1fr; } .strip > div { border-right: 0; } }

/* Abschnitte */
section { padding: 96px 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.copy { display: grid; gap: 18px; }
.copy p { color: var(--muted); font-size: 1.07rem; }
.award { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 16px; background: var(--accent-soft); width: fit-content; }
.award svg { color: var(--accent); flex: none; }
.award strong { display: block; }
.award span { font-size: .92rem; color: var(--muted); }
@media (max-width: 860px) {
  section { padding: 64px 0; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse > :first-child { order: 0; }
}

/* Leistungen */
.tinted { background: var(--sand); }
.head { display: grid; gap: 12px; margin-bottom: 40px; }
.head p { color: var(--muted); }
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line); border-radius: var(--radius); overflow: hidden; }
.service { background: var(--surface); padding: 30px 28px; display: grid; gap: 10px; align-content: start; }
.service .num { font-family: var(--font-display); font-weight: 700; color: var(--accent); font-size: .9rem; font-variant-numeric: tabular-nums; }
.service p { color: var(--muted); font-size: .97rem; }
@media (max-width: 860px) { .services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .services { grid-template-columns: 1fr; } }

/* Sprechzeiten */
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.hours th { font-weight: 600; width: 40%; }
.hours td { color: var(--muted); }
.hours tr.today th, .hours tr.today td { color: var(--accent); font-weight: 700; }
.hours tr.today th::after { content: "heute"; margin-left: 10px; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; background: var(--accent); color: #fff; padding: 2px 8px; border-radius: 999px; vertical-align: middle; }
.hint { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; display: grid; gap: 6px; }
.hint p { font-size: .97rem; }

/* Team */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.person { background: var(--surface); border-radius: var(--radius); padding: 26px; display: grid; gap: 14px; align-content: start; border: 1px solid var(--line); }
.avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; }
.person p { color: var(--muted); font-size: .93rem; }
@media (max-width: 960px) { .team { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .team { grid-template-columns: 1fr; } }

/* Kontakt */
.contact { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; }
.panel { background: var(--surface); border-radius: var(--radius); padding: 32px; display: grid; gap: 16px; align-content: start; border: 1px solid var(--line); }
.panel dl { margin: 0; display: grid; gap: 14px; }
.panel dt { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.panel dd { margin: 2px 0 0; }
.cta-panel { background: var(--accent); color: #fff; border: 0; }
.cta-panel h3 { font-size: 1.6rem; }
.cta-panel p { color: rgba(255,255,255,.85); }
.cta-panel .btn { background: #fff; color: var(--accent); width: fit-content; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* Fuß */
footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 36px 0 44px; font-size: .9rem; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { color: #fff; }

.todo { background: #fff3cd; color: #6b4e00; border-radius: 4px; padding: 0 5px; font-size: .85em; }

/* Rechtstexte */
.legal { padding: 56px 0 32px; display: grid; gap: 30px; }
.legal h1 { font-size: clamp(2.2rem, 4.4vw, 3rem); }
.legal h2 { font-size: 1.25rem; color: var(--accent); margin-bottom: 8px; }
.legal section { padding: 0; }
.legal ul { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 4px; max-width: 62ch; }
@media (max-width: 520px) {
  .brand small { display: none; }
  .brand b { font-size: 1rem; }
  .call { padding: 8px 14px; font-size: .9rem; }
}

/* Aktuelles */
.news { padding-top: 72px; padding-bottom: 24px; }
.head-row { grid-template-columns: 1fr 1fr; align-items: end; gap: 24px; }
.head-row p { justify-self: end; max-width: 42ch; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news-item { --cat: var(--accent); background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--cat); border-radius: var(--radius); padding: 26px; display: grid; gap: 12px; align-content: start; }
.news-item h3 { font-size: 1.2rem; }
.news-item p { color: var(--muted); font-size: .97rem; }
.news-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .85rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.chip { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--cat); background: color-mix(in srgb, var(--cat) 10%, white); }
.cat-impfung { --cat: #2f7a5f; }
.cat-orga { --cat: #4a6d86; }
.cat-urlaub { --cat: #7d1625; }
.cat-vertretung { --cat: #9a5b13; }
@media (max-width: 860px) {
  .news { padding-top: 56px; }
  .head-row { grid-template-columns: 1fr; }
  .head-row p { justify-self: start; }
  .news-grid { grid-template-columns: 1fr; }
}
.news-empty { color: var(--muted); }
.news-item p { white-space: pre-line; }
