/* =========================================================
   OutbaxSpirit — Hannover
   Stylesheet (2026 Relaunch)
   ========================================================= */

/* ---------- Fonts (lokal gehostet, keine externen Requests) ---------- */
@font-face {
  font-family: 'Bitter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/bitter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bitter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/bitter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lato'; font-style: normal; font-weight: 300; font-display: swap;
  src: url('../fonts/lato-v23-latin-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Lato'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/lato-v23-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Lato'; font-style: italic; font-weight: 400; font-display: swap;
  src: url('../fonts/lato-v23-latin-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Lato'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/lato-v23-latin-700.woff2') format('woff2');
}

/* ---------- Design Tokens ---------- */
:root {
  --night:      #16110e;
  --night-deep: #0f0b09;   /* Footer – eine Spur tiefer als die Abschnitte */
  --night-2:    #1e1814;
  --night-3:    #2a221c;
  --sand:       #f6f0e6;
  --sand-2:     #ece2d3;
  --paper:      #fffdf9;

  --ember:      #c2502b;   /* Outback-Rot */
  --ember-soft: #d9744f;
  --gold:       #d9a441;   /* Sonne / Ocker */
  --euca:       #6d8471;   /* Eukalyptus */

  --ink:        #241c16;
  --ink-soft:   #57493f;
  --line:       rgba(36,28,22,.14);
  --line-dark:  rgba(246,240,230,.14);

  --font-display: 'Bitter', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --font-body: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1180px;
  --wrap-narrow: 800px;
  --r: 4px;
  --shadow: 0 18px 50px -22px rgba(22,17,14,.45);
  --shadow-lg: 0 30px 70px -30px rgba(22,17,14,.6);
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
/* overflow-x: hidden macht <html> zu einem Rollbehaelter - und in
   Safari auf dem iPhone funktioniert dann kein "position: sticky"
   mehr, weder bei der Kopfzeile noch bei der Kartennavigation.
   "clip" schneidet genauso ab, ohne einen Rollbehaelter zu erzeugen;
   "hidden" bleibt als Rueckfallebene fuer aeltere Browser stehen. */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.72;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ember); text-decoration: none; }
a:hover { color: var(--ink); }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.25em; }
li { margin-bottom: .3em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 3rem 0; }

/* ---------- Bildlauf sperren ----------
   Wird gesetzt, solange Navigation, Lightbox oder Infobox offen sind
   (siehe seiteSperren() in main.js).

   Die Regel muss auf html UND body greifen: html hat oben
   overflow-x:hidden und gilt damit nicht mehr als "visible" – ein
   overflow:hidden allein auf dem body wuerde deshalb nicht mehr an
   den Viewport weitergereicht, die Seite liesse sich hinter der
   offenen Ebene weiterscrollen.

   --sperr-ausgleich gleicht die wegfallende Bildlaufleiste aus,
   damit der Inhalt nicht springt (unter macOS und mobil = 0px). */
html.ist-gesperrt { overflow: hidden; }
body.ist-gesperrt { overflow: hidden; padding-right: var(--sperr-ausgleich, 0px); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.16;
  color: var(--ink);
  margin: 0 0 .6em;
  letter-spacing: -.015em;
}
h1 { font-size: clamp(2.3rem, 6vw, 4.1rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.62rem); }
h4 { font-size: 1.14rem; font-weight: 600; }

.wrap { width: min(100% - 2.6rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.6rem, var(--wrap-narrow)); margin-inline: auto; }

.eyebrow {
  font-family: var(--font-body);
  font-size: .74rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ember);
  margin: 0 0 .9rem;
  display: block;
}
.eyebrow.on-dark { color: var(--gold); }

.lead { font-size: 1.14rem; color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .95rem 1.7rem;
  background: var(--ember);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .11em;
  text-transform: uppercase;
  border: 1px solid var(--ember);
  border-radius: 999px;
  cursor: pointer;
  transition: transform .22s ease, background .22s ease, color .22s ease, box-shadow .22s ease;
  box-shadow: 0 10px 26px -14px rgba(194,80,43,.9);
}
.btn:hover { background: #a9401f; border-color: #a9401f; color: #fff; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); box-shadow: none; }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn--ghost-light { background: transparent; color: var(--sand); border-color: var(--line-dark); box-shadow: none; }
.btn--ghost-light:hover { background: var(--sand); border-color: var(--sand); color: var(--night); }
.btn--sm { padding: .7rem 1.25rem; font-size: .76rem; }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--night);
  color: rgba(246,240,230,.72);
  font-size: .81rem;
  border-bottom: 1px solid rgba(246,240,230,.08);
}
.topbar__inner {
  display: flex; flex-wrap: wrap; gap: .5rem 1.6rem;
  align-items: center; justify-content: space-between;
  padding: .55rem 0;
}
.topbar a { color: rgba(246,240,230,.78); }
.topbar a:hover { color: var(--gold); }
.topbar__status { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--sand); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--euca); flex: none; box-shadow: 0 0 0 3px rgba(109,132,113,.25); }
.dot.is-closed { background: #9a5b4c; box-shadow: 0 0 0 3px rgba(154,91,76,.22); }
.topbar__links { display: flex; gap: 1.3rem; flex-wrap: wrap; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding: .7rem 0;
}
.brand { display: flex; align-items: center; gap: .8rem; }
.brand img { width: 92px; border-radius: 6px; box-shadow: 0 2px 10px -6px rgba(36,28,22,.5); }

.nav { display: flex; align-items: center; gap: .2rem; }
.nav > li { list-style: none; margin: 0; position: relative; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav__link {
  display: block; padding: .6rem .85rem;
  font-size: .84rem; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; color: var(--ink);
  border-radius: var(--r);
  transition: color .18s ease, background .18s ease;
}
.nav__link:hover, .nav > li:hover > .nav__link { color: var(--ember); background: rgba(194,80,43,.07); }
.nav__link.is-active { color: var(--ember); }
.nav__link.is-active::after {
  content: ''; display: block; height: 2px; width: 22px;
  background: var(--ember); margin-top: 4px; border-radius: 2px;
}
.has-sub > .nav__link::before { content: ''; }

.subnav {
  position: absolute; top: 100%; left: 0; min-width: 268px;
  background: var(--night); border-radius: 8px; padding: .6rem;
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.has-sub:hover .subnav, .has-sub:focus-within .subnav { opacity: 1; visibility: visible; transform: translateY(0); }
.subnav a {
  display: block; padding: .5rem .8rem; border-radius: 5px;
  font-size: .88rem; color: rgba(246,240,230,.82); letter-spacing: .01em;
}
.subnav a:hover { background: rgba(246,240,230,.08); color: var(--gold); }
.subnav__title {
  font-family: var(--font-display); font-weight: 800; font-size: .7rem;
  letter-spacing: .2em; text-transform: uppercase; color: var(--ember-soft);
  padding: .7rem .8rem .35rem;
}
.subnav--cols { display: grid; grid-template-columns: 1fr 1fr; min-width: 520px; gap: 0 .4rem; }

/* Aufklapp-Pfeil der Untermenues - nur auf Mobilgeraeten. */
.nav__auf { display: none; }

.nav-toggle {
  display: none; background: none; border: 0; padding: .5rem;
  cursor: pointer; color: var(--ink);
}
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--night); overflow: hidden; }
.hero__slides { position: absolute; inset: 0; }
.hero__slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.6s ease, transform 9s linear;
  transform: scale(1.06);
}
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(22,17,14,.72) 0%, rgba(22,17,14,.42) 42%, rgba(22,17,14,.9) 100%);
  pointer-events: none;
}
.hero__inner {
  position: relative; z-index: 2;
  min-height: min(84vh, 760px);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 8rem 0 3.4rem;
  color: var(--sand);
}
.hero h1 { color: var(--sand); max-width: 17ch; text-shadow: 0 2px 30px rgba(0,0,0,.4); }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero__caption {
  font-size: 1.1rem; color: rgba(246,240,230,.86);
  max-width: 46ch; margin-bottom: 1.9rem; min-height: 3.4em;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__thumbs {
  position: relative; z-index: 2;
  display: flex; gap: .45rem; padding-bottom: 2rem; flex-wrap: wrap;
}
.hero__thumb {
  width: 46px; height: 6px; border-radius: 99px; border: 0; padding: 0;
  background: rgba(246,240,230,.28); cursor: pointer;
  transition: background .25s ease, width .25s ease;
}
.hero__thumb.is-active { background: var(--gold); width: 66px; }

/* Kleiner Hero für Unterseiten */
.pagehead {
  position: relative; background: var(--night); color: var(--sand); overflow: hidden;
}
.pagehead__bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: .42; transform: scale(1.04);
}
.pagehead::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(22,17,14,.75), rgba(22,17,14,.94));
}
.pagehead__inner { position: relative; z-index: 2; padding: 4.4rem 0 3.4rem; }
.pagehead h1 { color: var(--sand); margin-bottom: .35rem; font-size: clamp(2rem, 4.6vw, 3.2rem); }
.pagehead p { color: rgba(246,240,230,.78); max-width: 62ch; margin: 0; }
.crumbs { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(246,240,230,.5); margin-bottom: 1rem; }
.crumbs a { color: rgba(246,240,230,.68); }
.crumbs a:hover { color: var(--gold); }

/* ---------- Sections ---------- */
.section { padding: clamp(3.4rem, 7vw, 6.4rem) 0; }
.section--tight { padding: clamp(2.4rem, 4.5vw, 3.8rem) 0; }
.section--sand { background: var(--sand); }
.section--dark { background: var(--night); color: rgba(246,240,230,.82); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--sand); }
.section--dark a { color: var(--gold); }
.section--dark a:hover { color: var(--sand); }
.section--dark .btn, .section--dark .btn:hover { color: #fff; }
.section--dark .btn--ghost-light { color: var(--sand); }
.section--dark .btn--ghost-light:hover { color: var(--night); }
.notice .btn, .notice .btn:hover { color: var(--ember); background: #fff; border-color: #fff; }

.section__head { max-width: 62ch; margin-bottom: 2.6rem; }
.section__head.is-center { margin-inline: auto; text-align: center; }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 2.2rem; }
/* min(...) verhindert, dass eine Spalte breiter wird als der
   verfuegbare Platz - sonst ragen die Kacheln auf sehr schmalen
   Geraeten (320 px) seitlich heraus und werden abgeschnitten. */
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(215px, 100%), 1fr)); }
.grid > * { min-width: 0; }
.grid--top { align-items: start; }
.grid--split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; gap: clamp(2rem, 5vw, 4.2rem); }
@media (max-width: 860px) { .grid--top { align-items: start; }
.grid--split { grid-template-columns: 1fr; } }

/* ---------- Karten ---------- */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 1.5rem 1.6rem 1.7rem; flex: 1; display: flex; flex-direction: column; }
.card__body p { color: var(--ink-soft); font-size: .96rem; }
.card__body .btn { margin-top: auto; align-self: flex-start; }
.card h3 { margin-bottom: .5rem; }

/* Feature-Kachel (Bild + Text übereinander, dunkel) */
.tile {
  position: relative; display: block; border-radius: 10px; overflow: hidden;
  min-height: 320px; color: var(--sand);
  box-shadow: var(--shadow);
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.tile::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(22,17,14,.15) 25%, rgba(22,17,14,.9) 100%);
}
.tile:hover img { transform: scale(1.06); }
.tile__body { position: relative; z-index: 2; padding: 1.8rem; display: flex; flex-direction: column; justify-content: flex-end; min-height: 320px; }
.tile__body h3 { color: var(--sand); margin-bottom: .3rem; }
.tile__body p { color: rgba(246,240,230,.8); font-size: .95rem; margin: 0; }
.tile__more { margin-top: .8rem; font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }

/* ---------- Speisekarte ---------- */
.menu-nav {
  position: sticky; top: var(--header-h, 84px); z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: .6rem 0;
}
/* Die Rollleiste wird ausgeblendet - sie sah unter der Navigation
   wie ein Fremdkoerper aus. Dass es seitlich weitergeht, zeigen
   stattdessen weiche Kanten am Rand (siehe main.js). */
.menu-nav__scroll {
  position: relative;
  display: flex; gap: .35rem; overflow-x: auto; padding-bottom: .15rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
}
.menu-nav__scroll::-webkit-scrollbar { display: none; height: 0; }

.menu-nav { position: sticky; }
.menu-nav::before, .menu-nav::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 2.4rem;
  pointer-events: none; opacity: 0; transition: opacity .2s ease; z-index: 1;
}
.menu-nav::before { left: 0; background: linear-gradient(to right, var(--paper), rgba(255,253,249,0)); }
.menu-nav::after  { right: 0; background: linear-gradient(to left,  var(--paper), rgba(255,253,249,0)); }
.menu-nav.hat-links::before  { opacity: 1; }
.menu-nav.hat-rechts::after { opacity: 1; }
.menu-nav a {
  white-space: nowrap; padding: .5rem .95rem; border-radius: 999px;
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-soft); border: 1px solid transparent;
}
.menu-nav a:hover { color: var(--ember); border-color: var(--line); }
.menu-nav a.is-active { background: var(--ink); color: var(--paper); }

.menu-block { padding-top: 1rem; margin-bottom: 3.6rem; scroll-margin-top: calc(var(--header-h, 84px) + 76px); }
.menu-block__head { border-bottom: 2px solid var(--ink); padding-bottom: .7rem; margin-bottom: 1.7rem; }
.menu-block__head h2 { margin: 0; }
.menu-block__note {
  font-size: .95rem; color: var(--ink-soft); font-style: italic;
  margin: -.4rem 0 1.6rem;
}

.dishes { display: grid; gap: 0; }
.dish {
  display: grid; grid-template-columns: minmax(0,1fr) auto;
  gap: .4rem 1.6rem; align-items: baseline;
  padding: 1.05rem 0; border-bottom: 1px dotted var(--line);
}
.dish:last-child { border-bottom: 0; }
.dish__name {
  font-family: var(--font-display); font-weight: 600; font-size: 1.06rem;
  color: var(--ink); line-height: 1.35;
}
.dish__desc { font-size: .95rem; color: var(--ink-soft); line-height: 1.6; margin-top: .18rem; }
.dish__price {
  font-family: var(--font-display); font-weight: 800; font-size: 1.02rem;
  color: var(--ember); white-space: nowrap;
}
.dish__price small { display: block; font-family: var(--font-body); font-weight: 400; font-size: .74rem; color: var(--ink-soft); text-align: right; letter-spacing: .04em; }
.dish--2col { grid-template-columns: minmax(0,1fr) auto auto; }
.dish--2col .dish__price + .dish__price { padding-left: 1.4rem; }

.menu-block__text { font-size: 1.02rem; color: var(--ink-soft); max-width: 68ch; }

.dish-gruppe {
  font-family: var(--font-display); font-weight: 800;
  font-size: .76rem; letter-spacing: .17em; text-transform: uppercase;
  color: var(--ember); padding: 2rem 0 .5rem;
}
.dishes > .dish-gruppe:first-child { padding-top: 0; }
.dish--kopf { padding: 0 0 .5rem; border-bottom: 1px solid var(--line); }
.dish__menge {
  font-size: .88rem; color: var(--ink-soft); white-space: nowrap; text-align: right;
}
.dish__spalte {
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-soft); text-align: right; white-space: nowrap;
}

.menu-columns { column-count: 2; column-gap: 3.4rem; }
@media (max-width: 760px) { .menu-block__text { font-size: 1.02rem; color: var(--ink-soft); max-width: 68ch; }

.dish-gruppe {
  font-family: var(--font-display); font-weight: 800;
  font-size: .76rem; letter-spacing: .17em; text-transform: uppercase;
  color: var(--ember); padding: 2rem 0 .5rem;
}
.dishes > .dish-gruppe:first-child { padding-top: 0; }
.dish--kopf { padding: 0 0 .5rem; border-bottom: 1px solid var(--line); }
.dish__menge {
  font-size: .88rem; color: var(--ink-soft); white-space: nowrap; text-align: right;
}
.dish__spalte {
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-soft); text-align: right; white-space: nowrap;
}

.menu-columns { column-count: 1; } }

/* Info-/Storytelling-Box innerhalb der Karte */
.storybox {
  background: var(--sand); border-left: 3px solid var(--gold);
  padding: 1.5rem 1.7rem; border-radius: 0 8px 8px 0; margin: 1.8rem 0 2.4rem;
}
.storybox h4 { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; margin-bottom: .5rem; }
.storybox p:last-child { margin-bottom: 0; }
.storybox--dark { background: var(--night-2); border-left-color: var(--ember); color: rgba(246,240,230,.8); }
.storybox--dark h4 { color: var(--sand); }

/* Hinweis-Banner */
.notice {
  background: linear-gradient(120deg, var(--ember) 0%, #a9401f 100%);
  color: #fff; border-radius: 10px; padding: 1.6rem 1.8rem;
  box-shadow: var(--shadow);
}
.notice h3 { color: #fff; margin-bottom: .4rem; }
.notice p { margin-bottom: .6rem; color: rgba(255,255,255,.92); }
.notice p:last-child { margin-bottom: 0; }
.notice a { color: #fff; text-decoration: underline; }

/* ---------- Call-to-Action als Bildband ----------
   Frueher lag hier eine flaechig dunkle Sektion direkt auf dem
   ebenso dunklen Footer – beides verschmolz zu einem Block.
   Jetzt: Foto mit warmem Verlauf, dazu ein tieferer Footer-Ton. */
.cta { position: relative; overflow: hidden; isolation: isolate; }
.cta__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.03);
}
.cta::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(110% 90% at 50% 15%, rgba(122,44,20,.35) 0%, rgba(22,17,14,0) 60%),
    linear-gradient(180deg, rgba(22,17,14,.86) 0%, rgba(22,17,14,.78) 45%, rgba(22,17,14,.92) 100%);
}
.cta__inner { position: relative; z-index: 2; padding: clamp(4rem, 8vw, 6.8rem) 0; }
.cta h2 { max-width: 20ch; margin-inline: auto; }
.cta__linie {
  width: 54px; height: 3px; border-radius: 3px; margin: 0 auto 1.6rem;
  background: linear-gradient(90deg, var(--ember), var(--gold));
}

/* ---------- Galerie ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .7rem; }
.gallery__item {
  position: relative; overflow: hidden; border-radius: 6px;
  aspect-ratio: 4 / 3; background: var(--sand-2); cursor: zoom-in; border: 0; padding: 0;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, filter .4s ease; }
.gallery__item:hover img { transform: scale(1.07); filter: brightness(1.05); }
.gallery__item--wide { grid-column: span 2; aspect-ratio: 8 / 3; }
@media (max-width: 560px) { .gallery__item--wide { grid-column: span 1; aspect-ratio: 4/3; } }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(16,12,10,.94);
  display: none; align-items: center; justify-content: center;
  padding: 2rem;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 86vh; object-fit: contain; border-radius: 4px; }
.lightbox__close, .lightbox__nav {
  position: absolute; background: rgba(246,240,230,.1); border: 1px solid rgba(246,240,230,.2);
  color: var(--sand); width: 46px; height: 46px; border-radius: 50%;
  font-size: 1.3rem; cursor: pointer; display: grid; place-items: center;
  transition: background .2s ease;
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(246,240,230,.24); }
.lightbox__close { top: 1.4rem; right: 1.4rem; }
.lightbox__nav--prev { left: 1.4rem; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 1.4rem; top: 50%; transform: translateY(-50%); }

/* ---------- Fakten / Zahlen ---------- */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.6rem; }
.fact { text-align: center; padding: 1.2rem .6rem; }
.fact__num { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; color: var(--gold); line-height: 1; }
.fact__label { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(246,240,230,.62); margin-top: .55rem; }

/* ---------- Öffnungszeiten ---------- */
.hours { border-top: 1px solid var(--line); }
.hours__row {
  display: flex; flex-wrap: wrap; gap: .3rem 1.5rem; justify-content: space-between;
  padding: 1.05rem 0; border-bottom: 1px solid var(--line);
}
.hours__day { font-family: var(--font-display); font-weight: 600; }
.hours__time { color: var(--ink-soft); }
.hours__row.is-closed .hours__time { color: #9a5b4c; }
.section--dark .hours, .section--dark .hours__row { border-color: var(--line-dark); }
.section--dark .hours__time { color: rgba(246,240,230,.7); }

.datelist { display: flex; flex-wrap: wrap; gap: .55rem; padding: 0; margin: 0; list-style: none; }
.datelist li {
  background: var(--sand); border: 1px solid var(--line);
  padding: .5rem 1rem; border-radius: 999px; font-size: .9rem; font-weight: 700;
  font-family: var(--font-display); margin: 0;
}
.section--dark .datelist li { background: var(--night-2); border-color: var(--line-dark); color: var(--sand); }

/* ---------- Team ---------- */
.team-list { list-style: none; padding: 0; margin: 0; }
.team-list li {
  padding: .68rem 0; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-weight: 600; font-size: 1.02rem;
}
.team-list li span { display: block; font-family: var(--font-body); font-weight: 400; font-size: .86rem; color: var(--ink-soft); letter-spacing: .04em; }

/* ---------- Kontaktkarte ---------- */
.contact-card {
  background: var(--night); color: rgba(246,240,230,.8);
  border-radius: 10px; padding: 2.1rem 2.2rem; box-shadow: var(--shadow);
}
.contact-card h3 { color: var(--sand); }
.contact-card a { color: var(--gold); }
.contact-card__row { display: flex; gap: .9rem; padding: .55rem 0; align-items: flex-start; }
.contact-card__row svg { width: 19px; height: 19px; flex: none; margin-top: .28rem; color: var(--ember-soft); }

/* ---------- Formular ---------- */
.form-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.field input, .field textarea, .field select {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: .8rem .95rem; border: 1px solid var(--line); border-radius: 6px;
  background: var(--paper); transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--ember); box-shadow: 0 0 0 3px rgba(194,80,43,.12);
}
.field textarea { min-height: 150px; resize: vertical; }
.field-hint { font-size: .84rem; color: var(--ink-soft); }
.radio-row { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.radio-row label { display: inline-flex; align-items: center; gap: .5rem; text-transform: none; letter-spacing: 0; font-size: 1rem; font-weight: 400; color: var(--ink); }

/* ---------- Sidebar / Layout mit Seitenleiste ---------- */
.with-aside { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: clamp(2rem,4vw,3.4rem); align-items: start; }
@media (max-width: 900px) { .with-aside { grid-template-columns: 1fr; } }
.aside-box {
  background: var(--sand); border-radius: 10px; padding: 1.5rem 1.6rem; margin-bottom: 1.3rem;
}
.aside-box h4 { font-family: var(--font-display); font-weight: 800; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ember); margin-bottom: .9rem; }
.aside-nav { list-style: none; padding: 0; margin: 0; }
.aside-nav li { margin: 0; }
.aside-nav a { display: block; padding: .45rem 0; color: var(--ink); font-size: .95rem; border-bottom: 1px solid var(--line); }
.aside-nav li:last-child a { border-bottom: 0; }
.aside-nav a:hover, .aside-nav a.is-active { color: var(--ember); }
.aside--sticky { position: sticky; top: calc(var(--header-h, 84px) + 18px); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--night-deep); color: rgba(246,240,230,.66);
  padding: 4rem 0 0; position: relative;
}
.site-footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217,164,65,.45), transparent);
}
.site-footer h4 { color: var(--sand); font-family: var(--font-display); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 1.1rem; }
.site-footer a { color: rgba(246,240,230,.72); }
.site-footer a:hover { color: var(--gold); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .5rem; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.4rem; padding-bottom: 3rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { width: 130px; margin-bottom: 1.1rem; border-radius: 6px; }
.footer-bottom {
  border-top: 1px solid var(--line-dark); padding: 1.4rem 0 2rem;
  display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; justify-content: space-between;
  font-size: .84rem; color: rgba(246,240,230,.5);
}
.social { display: flex; gap: .6rem; margin-top: 1rem; }
.social a {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid var(--line-dark); border-radius: 50%; color: rgba(246,240,230,.72);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.social a:hover { background: var(--ember); border-color: var(--ember); color: #fff; }
.social svg { width: 17px; height: 17px; }

/* ---------- Sticky Reservieren (mobil) ---------- */
.reserve-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  background: var(--night); border-top: 1px solid var(--line-dark);
  padding: .6rem .9rem; display: none; gap: .6rem;
  box-shadow: 0 -10px 30px -18px rgba(0,0,0,.9);
}
.reserve-bar .btn { flex: 1; justify-content: center; padding: .8rem .7rem; font-size: .72rem; letter-spacing: .08em; white-space: nowrap; }

/* ---------- Reveal-Animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.3,1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .hero__slide { transition: opacity .3s ease; transform: none; }
}

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 2rem; }
.stack > * + * { margin-top: 1.1rem; }
.text-soft { color: var(--ink-soft); }
.rounded { border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
/* In Impressum und Datenschutz stehen lange Links; ohne Umbruch
   ziehen sie die Spalte weit ueber die Fensterbreite hinaus. */
.legal { overflow-wrap: break-word; }
.legal a { overflow-wrap: anywhere; }
.with-aside > * { min-width: 0; }

.legal h2 { font-size: 1.5rem; margin-top: 2.6rem; }
.legal h3 { font-size: 1.15rem; margin-top: 1.8rem; }
.legal p, .legal li { font-size: .97rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .nav-toggle { display: block; }
  /* Das ausfahrende Menue ist hell wie die Kopfzeile, aus der es
     kommt - dunkel wirkte es auf dem Handy wie ein schwarzer Block. */
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw);
    background: var(--paper); flex-direction: column; align-items: stretch;
    padding: 5.2rem 1.2rem 2rem; gap: 0; overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(100%); transition: transform .35s cubic-bezier(.3,.8,.3,1);
    z-index: 95; box-shadow: var(--shadow-lg);
  }
  .nav.is-open { transform: none; }
  .nav__link {
    color: var(--ink); padding: .9rem .5rem; font-size: .92rem;
    border-bottom: 1px solid var(--line); border-radius: 0;
  }
  .nav__link:hover, .nav > li:hover > .nav__link { background: transparent; color: var(--ember); }
  .nav__link.is-active { color: var(--ember); }
  .nav__link.is-active::after { display: none; }

  /* Zeile aus Beschriftung + Aufklapp-Pfeil; das Untermenue faellt
     darunter auf volle Breite. */
  .has-sub { display: flex; flex-wrap: wrap; align-items: stretch; }
  .has-sub > .nav__link { flex: 1 1 auto; min-width: 0; }
  .has-sub > .subnav { flex: 0 0 100%; }
  .nav__auf {
    display: flex; align-items: center; justify-content: center;
    flex: 0 0 auto; width: 52px; padding: 0;
    background: none; border: 0; border-bottom: 1px solid var(--line);
    color: var(--ink-soft); cursor: pointer;
  }
  .nav__auf::before {
    content: ''; width: 9px; height: 9px;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: translateY(-3px) rotate(45deg);
    transition: transform .2s ease;
  }
  .has-sub.is-expanded > .nav__auf { color: var(--ember); }
  .has-sub.is-expanded > .nav__auf::before { transform: translateY(1px) rotate(-135deg); }

  .subnav {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; background: var(--sand); border-radius: var(--r);
    padding: .5rem .3rem .6rem; margin: .5rem 0 .6rem;
    display: none; min-width: 0;
  }
  .subnav--cols { grid-template-columns: 1fr; min-width: 0; }
  .has-sub.is-expanded .subnav { display: block; }
  .subnav a { padding: .6rem .7rem; font-size: .9rem; color: var(--ink); }
  .subnav a:hover { background: rgba(194,80,43,.08); color: var(--ember); }
  .subnav__title { color: var(--ember); padding: .6rem .7rem .3rem; }
  .nav-close {
    position: absolute; top: 1.1rem; right: 1.1rem;
    width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
    background: none; border: 0; color: var(--ink-soft); font-size: 1.7rem; cursor: pointer;
  }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(16,12,10,.6); z-index: 94; display: none; }
  .nav-backdrop.is-open { display: block; }
  .menu-nav { top: var(--header-h, 76px); }
}
@media (min-width: 1041px) { .nav-close { display: none; } }

@media (max-width: 700px) {
  body { font-size: 16px; }
  .topbar__links { display: none; }
  .reserve-bar { display: flex; }
  .site-footer { padding-bottom: 4.4rem; }
  .hero__inner { min-height: 72vh; padding-top: 5rem; }
  .dish { grid-template-columns: 1fr; }
  .dish__price { text-align: left; }
  .dish__price small { text-align: left; }
  .dish--2col { grid-template-columns: 1fr auto auto; }
}

/* ---------- Infobox (Hinweis-Overlay) ----------
   Inhalt kommt aus dem Pflege-Bereich; das Markup baut
   assets/js/main.js. Ist nichts eingestellt, entsteht hier
   auch nichts.                                              */

.infobox {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  background: rgba(16,12,10,.72);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  opacity: 0; transition: opacity .26s ease;
  overscroll-behavior: contain;
}
.infobox.ist-offen { opacity: 1; }
.infobox[hidden] { display: none; }

.infobox__panel {
  position: relative;
  width: min(460px, 100%);
  /* dvh beruecksichtigt die ein- und ausfahrende Adressleiste auf dem
     Handy; vh bleibt als Rueckfallebene fuer aeltere Browser stehen. */
  max-height: min(84vh, 640px);
  max-height: min(84dvh, 640px);
  display: flex; flex-direction: column;
  overflow: hidden;
  background: var(--paper);
  border-top: 4px solid var(--ember);
  border-radius: 6px;
  box-shadow: var(--shadow-lg);
  padding: 2.6rem 2.2rem 2.1rem;
  text-align: center;
  transform: translateY(14px) scale(.98);
  transition: transform .3s cubic-bezier(.2,.7,.3,1);
}
.infobox.ist-offen .infobox__panel { transform: none; }

/* Folgt unter dem Sichtbaren noch Text, blendet eine weiche Kante
   das Ende aus - so ist erkennbar, dass es weitergeht. */
.infobox__panel.hat-mehr::after {
  content: ''; position: absolute; left: 1px; right: 1px; bottom: 0;
  height: 2.8rem; pointer-events: none; border-radius: 0 0 6px 6px;
  background: linear-gradient(to top, var(--paper) 30%, rgba(255,253,249,0));
}

/* Nur der Inhalt rollt - der Schliessen-Knopf bleibt stehen. */
.infobox__rolle {
  overflow-y: auto;
  overscroll-behavior: contain;
  overflow-wrap: break-word;
  margin-right: -.7rem; padding-right: .7rem;   /* Platz fuer die Rollleiste */
}

.infobox__zu {
  position: absolute; top: .35rem; right: .45rem;
  width: 44px; height: 44px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  border: 0; border-radius: 50%; cursor: pointer;
  background: transparent; color: var(--ink-soft);
  font-size: 1.6rem; font-family: var(--font-body);
  transition: background .2s ease, color .2s ease;
}
.infobox__zu:hover { background: var(--sand-2); color: var(--ink); }

.infobox__inhalt .ib__title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.6vw, 1.8rem);
  line-height: 1.22; margin: 0 0 .7rem;
}
.infobox__inhalt .ib__text { color: var(--ink-soft); }
.infobox__inhalt .ib__text p:last-child { margin-bottom: 0; }
/* Der Text kann aus dem Pflege-Bereich fett, kursiv, eine Aufzaehlung
   oder einen Link enthalten - Aufzaehlungen stehen linksbuendig, sonst
   flattern die Punkte in der Mitte. */
.infobox__inhalt .ib__text strong { color: var(--ink); }
.infobox__inhalt .ib__text ul, .infobox__inhalt .ib__text ol {
  display: inline-block; text-align: left; margin: .2rem 0 .8rem; padding-left: 1.3rem;
}
.infobox__inhalt .ib__text li { margin-bottom: .3rem; }
.infobox__inhalt .ib__text a { color: var(--ember); text-decoration: underline; }
.infobox__inhalt .ib__text a:hover { color: var(--ink); }
.infobox__inhalt .ib__cta { margin: 1.4rem 0 0; }
.infobox__inhalt .ib__cta a {
  display: inline-block; background: var(--ember); color: #fff;
  padding: .85rem 1.7rem; border-radius: 999px;
  font-weight: 700; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
}
.infobox__inhalt .ib__cta a:hover { background: #a9401f; color: #fff; }
/* Altbestand aus dem alten Pflege-Bereich: freies HTML mittig setzen. */
.infobox__inhalt img { margin: 0 auto 1rem; }
.infobox__inhalt > *:last-child { margin-bottom: 0; }

.infobox__ok {
  margin-top: 1.6rem;
  /* Fällt weg, wenn der Hinweis schon eine eigene Schaltfläche hat. */
}
.infobox__inhalt:has(.ib__cta) + .infobox__ok {
  background: transparent; color: var(--ink); border-color: var(--line); box-shadow: none;
}
.infobox__inhalt:has(.ib__cta) + .infobox__ok:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* Wieder aufrufen, nachdem der Hinweis weggeklickt wurde. */
.infobox-merker {
  position: fixed; z-index: 70;
  left: 1.1rem; bottom: calc(1.1rem + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .6rem 1.1rem; border-radius: 999px; cursor: pointer;
  background: var(--night); color: var(--sand);
  border: 1px solid var(--line-dark);
  font-family: var(--font-body); font-size: .78rem;
  font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  box-shadow: 0 12px 30px -16px rgba(0,0,0,.85);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.infobox-merker:hover { background: var(--ember); border-color: var(--ember); color: #fff; transform: translateY(-2px); }
.infobox-merker[hidden] { display: none; }
/* Solange Navigation, Lightbox oder der Hinweis selbst offen sind,
   tritt die Schaltflaeche zurueck - sie soll nicht ueber einer
   anderen offenen Ebene schweben. */
html.ist-gesperrt .infobox-merker { display: none; }
.infobox-merker__punkt {
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 0 0 rgba(217,164,65,.7);
  animation: infobox-puls 2.6s ease-out infinite;
}
@keyframes infobox-puls {
  0%   { box-shadow: 0 0 0 0 rgba(217,164,65,.6); }
  70%  { box-shadow: 0 0 0 9px rgba(217,164,65,0); }
  100% { box-shadow: 0 0 0 0 rgba(217,164,65,0); }
}

@media (max-width: 700px) {
  .infobox__panel { padding: 2.3rem 1.5rem 1.8rem; }
  /* Platz für die feste Reservieren-Leiste am unteren Rand lassen. */
  .infobox-merker { bottom: calc(4.6rem + env(safe-area-inset-bottom, 0px)); font-size: .74rem; }
}
/* Auf sehr schmalen Geräten mehr Breite für den Inhalt. */
@media (max-width: 380px) {
  .infobox { padding: 1rem; }
  .infobox__panel { padding: 2.2rem 1.2rem 1.6rem; }
}
/* Fingerbedienung: Schaltflächen gross genug zum sicheren Treffen. */
@media (pointer: coarse) {
  .infobox-merker { min-height: 44px; padding: .6rem 1.1rem; }
  .infobox__inhalt .ib__cta a { min-height: 44px; display: inline-flex; align-items: center; }
}
@media (prefers-reduced-motion: reduce) {
  .infobox, .infobox__panel { transition: none; }
  .infobox__panel { transform: none; }
  .infobox-merker__punkt { animation: none; }
}
/* Der Rahmen bekommt beim Oeffnen den Fokus, damit Vorleser den Hinweis
   von vorn lesen - sichtbar markiert werden aber nur die Schaltflaechen. */
.infobox__panel:focus, .infobox__panel:focus-visible { outline: none; }
.infobox button:focus-visible,
.infobox a:focus-visible,
.infobox-merker:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 3px;
}
