:root {
  --ink: #1f2a33;
  --muted: #5b6770;
  --bg: #faf8f4;
  --card: #ffffff;
  --line: #e7e2d9;
  --brand: #1d4e5f;
  --brand-dark: #153a47;
  --accent: #b5862f;
  --warn-bg: #fff4e0;
  --warn-line: #e8b65a;
  --radius: 14px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  padding-bottom: 76px; /* Platz für die Aktionsleiste am Handy */
}
img { max-width: 100%; display: block; }
a { color: var(--brand); }
h1, h2, h3 { font-family: var(--serif); font-weight: normal; line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 6vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Kopfbereich */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.2) blur(6px);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.logo img { height: 44px; width: auto; }
.nav { display: none; gap: 24px; align-items: center; }
.nav a { text-decoration: none; color: var(--ink); font-size: .98rem; }
.nav a:hover { color: var(--brand); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px; border-radius: 999px; border: 1px solid var(--brand);
  background: var(--brand); color: #fff; text-decoration: none; font-weight: 600; font-size: .98rem;
}
.btn:hover { background: var(--brand-dark); }
.btn.ghost { background: transparent; color: var(--brand); }
.btn.ghost:hover { background: #eef4f6; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Urlaubshinweis */
.notice { display: none; background: var(--warn-bg); border-bottom: 1px solid var(--warn-line); }
.notice.show { display: block; }
.notice .wrap { padding-top: 14px; padding-bottom: 14px; }
.notice p { margin: 0; }
.notice p + p { margin-top: 4px; }
.notice strong { color: #7a4d00; }

/* Startbereich */
.hero { padding: 36px 0 28px; }
.hero .wrap { display: grid; gap: 24px; }
.eyebrow { color: var(--accent); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; font-size: .82rem; margin-bottom: .6em; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.hero-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: #e9e4da; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Abschnitte */
section { padding: 36px 0; }
.grid-2 { display: grid; gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }

.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.hours th { font-weight: 600; padding-right: 16px; white-space: nowrap; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours tr.today th, .hours tr.today td { color: var(--brand); }
.hours tr.today th::after { content: " · heute"; font-weight: normal; color: var(--accent); font-size: .9em; }
.small { font-size: .93rem; color: var(--muted); }

.contact-list { list-style: none; padding: 0; margin: 0 0 18px; }
.contact-list li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .label { display: block; font-size: .85rem; color: var(--muted); }
.contact-list a { text-decoration: none; font-weight: 600; }
.stack { display: flex; flex-wrap: wrap; gap: 10px; }

.services { display: grid; gap: 14px; }
.service { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.service h3 { margin-bottom: .3em; }
.service p { margin: 0; color: var(--muted); }
.service.highlight { border-color: var(--accent); }

.about { display: grid; gap: 22px; align-items: center; }
.about-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; max-width: 360px; background: #e9e4da; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Fußbereich */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 36px; color: var(--muted); font-size: .93rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.site-footer a { color: var(--muted); margin-right: 16px; }

/* Aktionsleiste am Handy */
.actionbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: #fff; border-top: 1px solid var(--line);
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
}
.actionbar a {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  text-decoration: none; color: var(--brand); font-size: .8rem; font-weight: 600; padding: 6px 0;
}
.actionbar svg { width: 22px; height: 22px; }

/* Rechtstexte */
.legal { padding: 36px 0 48px; }
.legal h1 { font-size: 2rem; }
.legal h2 { font-size: 1.3rem; margin-top: 1.6em; }
.legal .card { max-width: 760px; }

/* Desktop */
@media (min-width: 820px) {
  body { padding-bottom: 0; }
  .actionbar { display: none; }
  .nav { display: flex; }
  .logo img { height: 52px; }
  .hero { padding: 56px 0 40px; }
  .hero .wrap { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 48px; }
  section { padding: 48px 0; }
  .grid-2 { grid-template-columns: 1fr 1fr; gap: 28px; }
  .services { grid-template-columns: repeat(3, 1fr); }
  .about { grid-template-columns: 320px 1fr; gap: 40px; }
}
