/*
  Farbpalette Rebstock, Trogen
  - Rahmweiss #F8F4EC (Basis 1): hell und warm wie eine Appenzeller Stube. Lässt Fotos und Text ruhig wirken.
  - Weinrot #4A1F24 (Basis 2): passt zum Namen «Rebstock». Steht für Gemütlichkeit, Tradition und einen guten Tropfen.
  - Rebgrün #5E7A3A (Akzent): das Grün der Weinblätter. Frisch und natürlich, markiert Anruf und wichtige Hinweise.
*/
:root {
  --cream: #F8F4EC;
  --cream-2: #EFE8DB;
  --wine: #4A1F24;
  --wine-2: #64303A;
  --vine: #5E7A3A;
  --vine-dark: #4A6029;
  --muted: #6E6260;
  --line: rgba(74, 31, 36, .15);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Atkinson Hyperlegible", system-ui, sans-serif;
  --wrap: 1100px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--cream); color: var(--wine); font: 400 18px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; margin: 0; }
h2 { font-size: clamp(32px, 4.4vw, 50px); }
h3 { font-size: 22px; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
:focus-visible { outline: 3px solid var(--vine); outline-offset: 3px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border-radius: 999px; border: 2px solid var(--wine); color: var(--wine); background: transparent; font: 700 16px/1 var(--sans); text-decoration: none; transition: background .2s, color .2s; }
.btn:hover { background: var(--wine); color: var(--cream); }
.btn--vine { background: var(--vine); border-color: var(--vine); color: #fff; }
.btn--vine:hover { background: var(--vine-dark); border-color: var(--vine-dark); }
.btn--light { border-color: var(--cream); color: var(--cream); }
.btn--light:hover { background: var(--cream); color: var(--wine); }

.preview-note { background: var(--vine); color: #fff; font-size: 14px; text-align: center; padding: 8px 16px; margin: 0; }

.header { position: sticky; top: 0; z-index: 20; background: var(--cream); border-bottom: 1px solid var(--line); }
.header__in { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.logo { text-decoration: none; display: flex; flex-direction: column; line-height: 1; }
.logo b { font: 600 26px/1 var(--serif); }
.logo span { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a:not(.btn) { text-decoration: none; font-size: 16px; }
.nav a:not(.btn):hover { color: var(--vine); }
.nav .btn { min-height: 42px; padding: 0 18px; }

/* Hero */
.hero { position: relative; color: var(--cream); }
.hero__img img { width: 100%; height: min(78vh, 680px); object-fit: cover; }
.hero__img::after { content: ""; position: absolute; inset: 0; background: rgba(46, 18, 22, .55); }
.hero__text { position: absolute; inset: auto 0 0; z-index: 1; padding-bottom: 56px; }
.hero__kicker { font-size: 15px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; opacity: .9; }
.hero h1 { font-size: clamp(46px, 7.5vw, 96px); max-width: 12ch; margin-bottom: 18px; }
.hero__lead { font-size: 20px; max-width: 36ch; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.today { margin-top: 16px; font-weight: 700; }

/* Gastgeber */
.hosts { padding: 88px 0; }
.hosts__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center; }
.hosts__quote { font: 600 clamp(26px, 3vw, 36px)/1.25 var(--serif); margin: 0; }
.hosts__quote footer { font: 400 15px var(--sans); color: var(--muted); margin-top: 14px; }
.hosts p { color: var(--muted); }

/* Küche */
.kitchen { background: var(--cream-2); padding: 88px 0; }
.kitchen__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 40px; }
.dish img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; margin-bottom: 18px; }
.dish h3 { margin-bottom: 6px; }
.dish p { color: var(--muted); }
.hint { margin-top: 32px; padding: 16px 18px; border-left: 4px solid var(--vine); background: var(--cream); font-size: 16px; }

/* Gruppen */
.groups { background: var(--wine); color: var(--cream); padding: 88px 0; }
.groups__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.groups ul { list-style: none; padding: 0; margin: 24px 0 28px; }
.groups li { padding: 12px 0; border-top: 1px solid rgba(248, 244, 236, .2); }
.groups blockquote { margin: 0; font: 600 clamp(22px, 2.4vw, 28px)/1.3 var(--serif); }
.groups blockquote footer { font: 400 15px var(--sans); opacity: .7; margin-top: 12px; }

/* Besuch */
.visit { padding: 88px 0; }
.visit__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.visit__phone { display: inline-block; font: 600 clamp(32px, 4vw, 46px)/1.1 var(--serif); text-decoration: none; margin: 10px 0 16px; }
.visit__phone:hover { color: var(--vine); }
.visit p { color: var(--muted); }
.visit__img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; margin-top: 28px; }
.hours { margin: 10px 0 0; }
.hours div { display: grid; grid-template-columns: 1fr auto; padding: 13px 0; border-bottom: 1px solid var(--line); }
.hours dd { margin: 0; font-variant-numeric: tabular-nums; }
.hours .is-today { font-weight: 700; color: var(--vine-dark); }
.link { font-weight: 700; }

.footer { background: var(--wine); color: rgba(248, 244, 236, .75); padding: 36px 0 110px; font-size: 14px; }
.footer__in { display: grid; gap: 10px; }
.credits { font-size: 12px; }

.actionbar { display: none; }

@media (max-width: 880px) {
  .nav a:not(.btn) { display: none; }
  .hero__img img { height: 620px; }
  .hosts, .kitchen, .groups, .visit { padding: 64px 0; }
  .hosts__grid, .kitchen__grid, .groups__grid, .visit__grid { grid-template-columns: 1fr; gap: 36px; }
  .actionbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--cream); border-top: 1px solid var(--line); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
