@view-transition { navigation: auto; }

:root {
  --bg: #f6efe2;
  --soft: #eee3cd;
  --surface: #fffbf3;
  --heading: #2a1812;
  --text: #3b2c25;
  --muted: #65534a;
  --accent: #8c2b1e;
  --accent-ink: #fff8ee;
  --line: #d9c8aa;
  --radius: 8px;
  --shadow: 0 8px 24px rgba(42, 24, 18, 0.12);
  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: clamp(1.0625rem, 1.02rem + 0.15vw, 1.125rem);
  line-height: 1.6;
  hyphens: auto;
  overflow-wrap: break-word;
  padding-bottom: 80px;
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--accent); text-underline-offset: 4px; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.dark :focus-visible, .zeiten :focus-visible { outline-color: var(--surface); }

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

h1, h2 { font-family: var(--serif); color: var(--heading); line-height: 1.1; margin: 0; font-weight: 700; }
h1 { font-size: clamp(2.25rem, 1.3rem + 4.6vw, 4.25rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.875rem, 1.4rem + 2.2vw, 3rem); }
p { margin: 0; max-width: 65ch; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  height: 64px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; position: relative; }
.brand {
  font-family: var(--serif); font-weight: 700; font-size: 1.125rem; line-height: 1.15;
  color: var(--heading); text-decoration: none; display: flex; flex-direction: column; min-height: 44px; justify-content: center;
}
.brand small { font-family: var(--sans); font-weight: 400; font-size: 0.8125rem; color: var(--muted); }
.nav { display: none; }
.nav.open {
  display: flex; flex-direction: column;
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  padding: 8px 24px 16px;
}
.nav a {
  display: flex; align-items: center; min-height: 48px;
  color: var(--heading); text-decoration: none; font-weight: 600;
  border-bottom: 1px solid var(--line);
  transition: color 0.18s;
}
.nav a:last-child { border-bottom: 0; }
.nav a:hover { color: var(--accent); }
.nav a[aria-current="true"] { color: var(--accent); box-shadow: inset 3px 0 0 var(--accent); padding-left: 16px; }
.hcall {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; min-width: 44px; justify-content: center;
  color: var(--accent); font-weight: 700; text-decoration: none; margin-left: auto;
}
.hcall svg { width: 22px; height: 22px; flex: none; }
.hcall span { display: none; }
.nav-toggle {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  background: transparent; color: var(--heading); border: 1px solid var(--line); border-radius: var(--radius);
  font: inherit; font-weight: 600; cursor: pointer;
  transition: background-color 0.18s;
}
.nav-toggle:hover { background: var(--soft); }
.nav-toggle svg { width: 20px; height: 20px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px;
  background: var(--accent); color: var(--accent-ink); border-radius: var(--radius);
  font-weight: 700; text-decoration: none;
  transition: transform 0.18s, background-color 0.18s;
}
.btn:hover { background: #6f2117; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-light { background: var(--surface); color: var(--heading); }
.btn-light:hover { background: var(--soft); }
.btn-line { background: transparent; color: var(--heading); border: 1.5px solid var(--heading); }
.btn-line:hover { background: var(--soft); }
.textlink { display: inline-flex; align-items: center; min-height: 48px; font-weight: 600; color: var(--heading); }

/* sections */
section { scroll-margin-top: 80px; }
.section { padding: 64px 0; }

/* hero */
.hero { padding: 48px 0 64px; }
.hero-grid { display: grid; gap: 32px; }
.eyebrow { font-size: 0.9375rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.lead { margin-top: 24px; font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.3125rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin-top: 32px; }
.hero-photo { position: relative; margin: 0; }
.hero-photo img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 1600 / 930; object-fit: cover; }
.stamp {
  position: absolute; left: 16px; bottom: -16px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  width: 112px; height: 112px; border-radius: 50%;
  background: var(--surface); color: var(--accent); border: 2px solid var(--accent);
  outline: 1px solid var(--accent); outline-offset: -8px;
  transform: rotate(-8deg);
  font-family: var(--serif); font-weight: 700; line-height: 1.1; box-shadow: var(--shadow);
}
.stamp b { font-size: 1.25rem; }
.stamp span { font-size: 0.8125rem; letter-spacing: 0.1em; text-transform: uppercase; font-family: var(--sans); }

/* karte */
.karte { background: var(--soft); }
.karte-grid { display: grid; gap: 48px; align-items: center; }
.karte h2 { margin-bottom: 32px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 32px 24px;
}
.menu { list-style: none; margin: 0; padding: 0; }
.menu li { padding: 24px 0; border-bottom: 1px solid var(--line); }
.menu li:first-child { padding-top: 0; }
.menu li:last-child { border-bottom: 0; padding-bottom: 0; }
.menu .dish { display: block; font-family: var(--serif); font-weight: 700; color: var(--heading); font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem); line-height: 1.2; }
.menu .with { display: block; margin-top: 8px; color: var(--muted); }
.card .note { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.dish-photo { margin: 0; background: var(--soft); }
.dish-photo img { width: 100%; max-width: 560px; margin: 0 auto; mix-blend-mode: multiply; -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent); mask-image: linear-gradient(to bottom, #000 80%, transparent); }

/* zeiten */
.zeiten { background: var(--heading); color: #f1e6d3; }
.zeiten h2 { color: #fff8ee; }
.zeiten .big { font-family: var(--serif); font-weight: 700; color: #fff8ee; line-height: 1.05; font-size: clamp(2.5rem, 1.4rem + 5.5vw, 5rem); margin-top: 32px; }
.zeiten .big span { display: block; }
.zeiten .rest { margin-top: 24px; font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem); font-family: var(--serif); color: #f3c9a8; }
.zeiten .fine { margin-top: 24px; color: #dccdb6; }
.zeiten .btn { margin-top: 32px; }

/* zimmer */
.zimmer-grid { display: grid; gap: 24px; }
.zimmer p { font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.3125rem); }
.zimmer .textlink { text-decoration-thickness: 2px; }

/* kontakt */
.kontakt { background: var(--soft); }
.kontakt-grid { display: grid; gap: 32px; }
.bignum { display: inline-flex; align-items: center; min-height: 48px; margin-top: 24px; font-family: var(--serif); font-weight: 700; font-size: clamp(2rem, 1.4rem + 3vw, 3.5rem); color: var(--accent); text-decoration: none; line-height: 1.1; }
address { font-style: normal; margin-top: 24px; font-size: 1.125rem; }
.mail { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }

/* footer */
.site-footer { background: var(--heading); color: #dccdb6; padding: 48px 0; font-size: 0.9375rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.site-footer .name { font-family: var(--serif); font-size: 1.25rem; color: #fff8ee; margin-bottom: 4px; }
.site-footer .links { display: flex; gap: 24px; }
.site-footer a { color: #fff8ee; display: inline-flex; align-items: center; min-height: 44px; }

/* call bar */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  padding: 8px 16px; background: var(--bg); border-top: 1px solid var(--line);
  transform: translateY(100%); transition: transform 0.3s ease-out; visibility: hidden;
}
.callbar.show { transform: translateY(0); visibility: visible; }
.callbar .btn { width: 100%; }

/* legal */
.legal { padding: 64px 0; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 1.4rem + 3vw, 3rem); margin-bottom: 32px; }
.legal h2 { font-size: 1.375rem; margin: 32px 0 8px; }
.legal p, .legal li { margin-bottom: 8px; }
.todo { background: #fbe9a8; color: #3b2c25; padding: 0 4px; border-radius: 4px; }

/* reveal: only with JavaScript and only when motion is welcome */
.js .rv { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease-out, transform 0.5s ease-out; }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .rv { opacity: 1; transform: none; transition: none; }
  .callbar { transition: none; }
}

@media (min-width: 560px) {
  .hcall span { display: inline; }
  .hcall { min-width: 0; }
}

@media (min-width: 768px) {
  body { padding-bottom: 0; }
  .nav, .nav.open { display: flex; flex-direction: row; position: static; background: transparent; border: 0; box-shadow: none; padding: 0; gap: 24px; margin-left: auto; }
  .nav a { border-bottom: 0; min-height: 44px; padding: 0 4px; box-shadow: none; }
  .nav a[aria-current="true"] { box-shadow: inset 0 -3px 0 var(--accent); padding-left: 4px; }
  .nav-toggle { display: none; }
  .hcall { margin-left: 0; }
  .callbar { display: none; }
  .section { padding: 96px 0; }
  .hero { padding: 64px 0 96px; }
  .card { padding: 48px; }
}

@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
  .karte-grid { grid-template-columns: 1.1fr 0.9fr; gap: 64px; }
  .zimmer-grid { grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
  .kontakt-grid { grid-template-columns: 1fr; }
}
