/* Dar Sumac
   Farben: Creme (Wärme, Gastlichkeit) · Olivgrün (Frische, Natürlichkeit, mediterrane Herkunft) · Granatapfelrot (Appetit, Aktivierung) */
:root {
  --cream: #F4ECDD;
  --cream-2: #EBE0CB;
  --olive: #2F3B26;
  --olive-2: #45523A;
  --ink: #241F19;
  --muted: #675D50;
  --red: #B5392A;
  --red-deep: #952C1F;
  --line: rgba(36, 31, 25, .16);
  --serif: "Gloock", Georgia, serif;
  --sans: "Work Sans", "Helvetica Neue", Arial, sans-serif;
  --gut: clamp(20px, 5vw, 72px);
  --wrap: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.05; letter-spacing: -.01em; }
p { margin: 0; }
.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.btn { display: inline-flex; align-items: center; justify-content: center; height: 50px; padding: 0 26px; border: 1px solid var(--ink); border-radius: 0; font: 500 15.5px/1 var(--sans); letter-spacing: .01em; text-decoration: none; background: transparent; color: var(--ink); cursor: pointer; transition: background .2s, color .2s, transform .15s; }
.btn:hover { background: var(--ink); color: var(--cream); }
.btn:active { transform: translateY(1px); }
.btn--red { background: var(--red); border-color: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-deep); border-color: var(--red-deep); color: #fff; }
.link { font-weight: 500; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; transition: text-underline-offset .2s; }
.link:hover { text-underline-offset: 7px; }

/* Header */
.header { position: sticky; top: 0; z-index: 30; background: var(--cream); border-bottom: 1px solid var(--line); }
.header__in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 76px; }
.header__nav { display: flex; align-items: center; gap: 32px; }
.header__nav--right { justify-content: flex-end; }
.header__nav a:not(.btn) { font-size: 15.5px; text-decoration: none; position: relative; }
.header__nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.header__nav a:not(.btn):hover::after { transform: scaleX(1); }
.header__nav .btn { height: 44px; padding: 0 20px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--serif); font-size: 28px; letter-spacing: -.01em; color: var(--olive); }
.logo__mark { width: 34px; height: 34px; color: var(--red); }
.burger { display: none; justify-self: end; height: 40px; padding: 0 16px; border: 1px solid var(--ink); background: none; font: 500 15px/1 var(--sans); color: var(--ink); cursor: pointer; }
.sheet { display: none; }

/* Hero */
.hero { padding-bottom: clamp(48px, 6vw, 80px); }
.hero__photo { height: min(68vh, 640px); min-height: 320px; overflow: hidden; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.hero__row { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: start; padding-top: clamp(32px, 4vw, 48px); }
.hero h1 { font-size: clamp(40px, 5.2vw, 72px); color: var(--olive); max-width: 12ch; }
.hero__side { padding-top: 10px; display: grid; gap: 24px; justify-items: start; }
.hero__side p { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; max-width: 26em; }
.today { display: block; margin-top: 8px; font-size: 16px; color: var(--muted); }

/* Intro */
.intro { padding: clamp(72px, 9vw, 128px) 0; border-top: 1px solid var(--line); }
.intro__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.intro__lead { grid-column: 1 / span 8; font-family: var(--serif); font-size: clamp(26px, 2.9vw, 40px); line-height: 1.25; color: var(--olive); }
.intro__pics { grid-column: 1 / -1; display: grid; grid-template-columns: 5fr 7fr; gap: 24px; margin-top: clamp(40px, 5vw, 72px); }
.intro__pics img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.intro__pics img:first-child { aspect-ratio: 4 / 5; }
.intro__facts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 48px 0 0; }
.intro__facts div { border-top: 1px solid var(--line); padding-top: 18px; }
.intro__facts dt { font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--red); }
.intro__facts dd { margin: 10px 0 0; color: var(--muted); font-size: 16px; max-width: 22em; }

/* Menu */
.menu { background: var(--olive); color: #F1EADB; padding: clamp(80px, 10vw, 136px) 0; }
.menu__head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; padding-bottom: 40px; border-bottom: 1px solid rgba(241,234,219,.25); }
.menu__head h2 { font-size: clamp(52px, 7vw, 104px); line-height: .95; }
.menu__head p { color: #CFC8B6; max-width: 30em; }
.menu .v { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-left: 4px; border: 1px solid currentColor; border-radius: 50%; font: 500 11px/1 var(--sans); vertical-align: 2px; color: #B9C79A; }
.menu__head .v { margin: 0 2px 0 0; }
.menu__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(48px, 7vw, 112px); }
.menu h3 { font-size: 30px; margin: 56px 0 8px; color: #fff; }
.dishes { list-style: none; margin: 0; padding: 0; }
.dishes li { display: grid; grid-template-columns: 1fr auto; column-gap: 24px; padding: 16px 0; border-bottom: 1px solid rgba(241,234,219,.16); }
.dish { font-weight: 500; color: #fff; }
.price { font-variant-numeric: tabular-nums; color: #fff; }
.desc { grid-column: 1 / -1; font-size: 15.5px; color: #C2BBA9; margin-top: 2px; }
.menu__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-top: 40px; }

/* Tafel */
.tafel { padding: clamp(80px, 10vw, 136px) 0; }
.tafel__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.tafel__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.tafel h2 { font-size: clamp(36px, 4vw, 56px); color: var(--olive); }
.tafel__price { margin-top: 20px; font-size: 18px; color: var(--muted); }
.tafel__price span { font-family: var(--serif); font-size: 34px; color: var(--red); margin-right: 6px; }
.tafel__text > p:not(.tafel__price) { margin-top: 20px; max-width: 32em; }
.tafel__list { list-style: none; margin: 28px 0 36px; padding: 0; border-top: 1px solid var(--line); }
.tafel__list li { padding: 12px 0 12px 28px; border-bottom: 1px solid var(--line); position: relative; }
.tafel__list li::before { content: ""; position: absolute; left: 4px; top: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--red); transform: translateY(-50%); }

/* Gallery */
.gallery { padding-bottom: clamp(80px, 10vw, 136px); }
.gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, clamp(180px, 20vw, 290px)); gap: 12px; }
.gallery__grid img { width: 100%; height: 100%; object-fit: cover; }
.g1 { grid-column: span 2; grid-row: span 2; }

/* Reserve */
.reserve { background: var(--cream-2); padding: clamp(80px, 10vw, 136px) 0; }
.reserve__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.reserve h2 { font-size: clamp(40px, 4.6vw, 64px); color: var(--olive); }
.reserve__text > p { margin-top: 20px; max-width: 28em; }
.reserve__small { color: var(--muted); font-size: 16px; }
.rform { display: grid; gap: 22px; background: var(--cream); padding: clamp(24px, 4vw, 44px); border: 1px solid var(--line); }
.rform fieldset { border: 0; padding: 0; margin: 0; }
.rform legend, .rform label { font-size: 14px; font-weight: 500; color: var(--muted); }
.rform legend { margin-bottom: 8px; padding: 0; }
.rform label { display: grid; gap: 8px; }
.rform .opt { font-weight: 400; }
.rform input { width: 100%; height: 50px; padding: 0 14px; border: 1px solid var(--line); background: #fff; border-radius: 0; font: 400 16px/1 var(--sans); color: var(--ink); }
.rform input:focus { outline: none; border-color: var(--olive); box-shadow: 0 0 0 3px rgba(47,59,38,.18); }
.rform .is-invalid { border-color: var(--red); }
.rform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stepper { display: inline-grid; grid-template-columns: 50px 64px 50px; border: 1px solid var(--line); background: #fff; }
.stepper button { height: 50px; border: 0; background: none; font: 400 22px/1 var(--sans); color: var(--ink); cursor: pointer; transition: background .2s; }
.stepper button:hover { background: var(--cream-2); }
.stepper output { display: grid; place-items: center; font-size: 18px; font-weight: 500; border-inline: 1px solid var(--line); }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.times button { height: 44px; border: 1px solid var(--line); background: #fff; font: 500 15px/1 var(--sans); color: var(--ink); cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.times button:hover { border-color: var(--ink); }
.times button[aria-pressed="true"] { background: var(--olive); border-color: var(--olive); color: #fff; }
.times.is-invalid button { border-color: var(--red); }
.times p { grid-column: 1 / -1; color: var(--muted); font-size: 15px; }
.rform .btn { justify-self: start; }
.rform__note { font-size: 15.5px; min-height: 1.4em; }

/* Visit */
.visit { padding: clamp(80px, 10vw, 136px) 0; }
.visit__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.visit__addr { font-size: clamp(40px, 5.4vw, 76px); color: var(--olive); }
.visit__way { margin: 28px 0 20px; max-width: 30em; color: var(--muted); }
.visit h3 { font-family: var(--sans); font-weight: 500; font-size: 15px; color: var(--muted); letter-spacing: 0; margin-bottom: 12px; }
.hours { margin: 0; border-top: 1px solid var(--line); }
.hours div { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); }
.hours dt, .hours dd { margin: 0; }
.hours dd { font-variant-numeric: tabular-nums; }
.hours .is-today { font-weight: 500; color: var(--red-deep); }
.hours .is-today dt::after { content: " · heute"; font-weight: 400; }
.visit__kitchen { margin-top: 14px; font-size: 15px; color: var(--muted); }

/* Footer */
.footer { background: var(--olive); color: #D9D2C1; padding: 64px 0 40px; }
.footer__in { display: grid; gap: 32px; }
.logo--foot { color: #F4ECDD; font-size: 40px; }
.logo--foot .logo__mark { width: 44px; height: 44px; color: #E36A55; }
.logo--foot .logo__mark circle { fill: var(--olive); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 32px; }
.footer__nav a { text-decoration: none; }
.footer__nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; border-top: 1px solid rgba(241,234,219,.2); font-size: 14px; }
.footer__legal a { text-decoration: none; }
.footer__legal a:hover { color: #fff; }

.actionbar { display: none; }

@media (max-width: 960px) {
  .header__in { grid-template-columns: auto 1fr; }
  .header__nav { display: none; }
  .logo { font-size: 24px; }
  .burger { display: block; }
  .sheet { display: grid; position: fixed; inset: 68px 0 0; background: var(--cream); padding: 16px var(--gut) 32px; align-content: start; overflow: auto; }
  .sheet:not(.is-open) { display: none; }
  .sheet a { padding: 16px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 30px; text-decoration: none; color: var(--olive); }
  .sheet__foot { margin-top: 28px; color: var(--muted); font-size: 15px; }
  .header__in { height: 68px; }
  .hero__row, .tafel__grid, .reserve__grid, .visit__grid, .menu__head { grid-template-columns: 1fr; }
  .hero__row { gap: 24px; }
  .intro__lead { grid-column: 1 / -1; }
  .menu__grid { grid-template-columns: 1fr; }
  .tafel__img { aspect-ratio: 4 / 3; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .hero__photo { height: 300px; min-height: 0; }
  .hero__side .btn { display: none; }
  .intro__pics { grid-template-columns: 1fr; }
  .intro__pics img:first-child { aspect-ratio: 4 / 3; }
  .intro__facts { grid-template-columns: 1fr; gap: 0; }
  .intro__facts div { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: baseline; padding: 16px 0; }
  .intro__facts dt { font-size: 30px; }
  .intro__facts dd { margin: 0; }
  .gallery__grid { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 150px; }
  .g1 { grid-column: span 2; grid-row: span 1; height: 220px; }
  .g1 { grid-row: auto; }
  .rform__row { grid-template-columns: 1fr; }
  .rform .btn, .tafel .btn { width: 100%; }
  .footer__legal { flex-direction: column; }
  .actionbar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--cream); border-top: 1px solid var(--line); }
  .actionbar .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Bewegung ---------- */
.motion [data-reveal] {
  transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1), clip-path 1.4s cubic-bezier(.65,0,.15,1);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.motion [data-reveal="up"]:not(.is-in) { opacity: 0; transform: translateY(28px); }
/* Bilder öffnen sich von der Mitte wie ein Vorhang und zoomen dabei leicht zurück */
.motion [data-reveal="unveil"] { clip-path: inset(0 0 0 0); }
.motion [data-reveal="unveil"]:not(.is-in) { clip-path: inset(14% 10% 14% 10%); transform: scale(1.08); opacity: .4; }
.motion .gallery__grid [data-reveal] { transition-delay: calc(var(--i, 0) * 120ms); }

/* Hero-Foto: sanftes Heranzoomen beim Laden, danach Parallax */
.hero__photo img { height: calc(100% + 140px); margin-top: -140px; transform: translateY(var(--py, 0px)); }
.hero__photo img.is-loaded { animation: heroZoom 2.2s cubic-bezier(.2,.7,.2,1) both; }
@keyframes heroZoom { from { transform: translateY(var(--py, 0px)) scale(1.12); } to { transform: translateY(var(--py, 0px)) scale(1); } }

/* Einleitung: Wort für Wort */
.intro__lead .w { color: rgba(47, 59, 38, .18); transition: color .35s; }
.intro__lead .w.on { color: var(--olive); }

/* Mehr Hover */
.logo__mark { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.logo:hover .logo__mark { transform: rotate(18deg) scale(1.08); }
.btn { position: relative; overflow: hidden; }
.btn--red::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.22) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s; }
.btn--red:hover::after { transform: translateX(120%); }
.intro__pics, .gallery__grid { overflow: hidden; }
.intro__pics img, .gallery__grid img, .tafel__img, .menu__img { transition: transform .9s cubic-bezier(.2,.7,.2,1), filter .5s; }
.intro__pics img:hover, .gallery__grid img:hover, .tafel__img:hover, .menu__img:hover { transform: scale(1.03); filter: saturate(1.15); }
.gallery__grid img { cursor: zoom-in; }
.dishes li { transition: background .25s, padding .3s; }
.dishes li:hover { padding-left: 10px; padding-right: 10px; background: rgba(241, 234, 219, .06); }
.dishes li:hover .price { color: #F3B4A6; }
.tafel__list li::before { transition: transform .3s; }
.tafel__list li:hover::before { transform: translateY(-50%) scale(1.6); }
.tafel__list li { transition: padding .3s; }
.tafel__list li:hover { padding-left: 34px; }
.intro__facts div { transition: border-color .3s; }
.intro__facts div:hover { border-color: var(--red); }
.hours div { transition: padding .3s, color .2s; }
.hours div:hover { padding-left: 8px; color: var(--red-deep); }
.stepper button:active { transform: scale(.92); }
.times button { transition: border-color .2s, background .2s, color .2s, transform .15s; }
.times button:hover { transform: translateY(-2px); }

@media (prefers-reduced-motion: reduce) {
  .hero__photo img { transform: none !important; animation: none !important; height: 100%; margin-top: 0; }
  .intro__lead .w { color: inherit; }
}
