/* La Vesuvio · Seite
 *
 * Farben tragen Bedeutung, keine Deko:
 *   Tomate    die Marke, Grund der lauten Akte, und der Preis, den man NICHT zahlt
 *   Bernstein Handlung: jeder Knopf, der etwas auslöst
 *   Grün      Entwarnung: geöffnet, Mindestbestellwert erreicht, Lieferung frei
 * Grund der Akte wechselt hart pro Abschnitt (Kapitel eines Bons), kein Drift.
 */
:root {
  --papier: #f3eadb;
  --papier-hell: #faf5ec;
  --bonweiss: #fffdf7;
  --tinte: #1f1a16;
  --tinte-leise: #5b4f45;
  --tomate: #9a4130;
  --tomate-tief: #74301f;
  --bernstein: #f0a93a;
  --gruen: #1e5a2c;
  --ofen: #211a15;

  --sc-canvas: var(--papier);
  --sc-surface: var(--bonweiss);
  --sc-ink: var(--tinte);
  --sc-ink-soft: var(--tinte-leise);
  --sc-accent: var(--bernstein);
  --sc-accent-ink: var(--tinte);
  --sc-font-display: "Playfair Display", "Times New Roman", Georgia, serif;
  --sc-font-text: "Fira Code", ui-monospace, "Courier New", monospace;
  --sc-font-mono: "Fira Code", ui-monospace, monospace;

  --leiste-h: 3.75rem;
  --bon-b: 0px;
}
@media (min-width: 1024px) {
  :root { --bon-b: clamp(19rem, 24vw, 22rem); }
}

* { box-sizing: border-box; }
html { background: var(--papier); scroll-padding-top: calc(var(--leiste-h) + 1rem); }
body {
  margin: 0; background: var(--papier); color: var(--tinte);
  font-family: var(--sc-font-text); font-size: var(--sc-t-sm); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
@media (max-width: 1023px) { body { padding-bottom: 4.5rem; } }
:focus-visible { outline: 3px solid var(--bernstein); outline-offset: 3px; }
.sc-display { font-weight: 800; letter-spacing: -0.02em; }
.sc-display em { font-style: italic; font-weight: 700; }
.sc-body { font-size: var(--sc-t-sm); line-height: 1.7; }

.sprung { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: .75rem 1rem; background: var(--bernstein); color: var(--tinte); font-weight: 600; }
.sprung:focus { top: 1rem; }

/* ------------------------------------------------------------- Leiste -- */
.leiste {
  position: fixed; inset: 0 0 auto 0; z-index: 40; height: var(--leiste-h);
  display: flex; align-items: center; gap: 1rem; padding-inline: var(--sc-gutter);
  background: color-mix(in oklab, var(--papier) 94%, transparent);
  border-bottom: 1px dashed color-mix(in oklab, var(--tinte) 30%, transparent);
  backdrop-filter: blur(6px);
}
.leiste__name { min-height: 2.75rem; display: inline-flex; align-items: center; font-family: var(--sc-font-display); font-style: italic; font-weight: 800; font-size: 1.35rem; text-decoration: none; color: var(--tomate); }
.leiste__status { margin: 0; font-size: var(--sc-t-xs); color: var(--tinte-leise); flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.leiste__tel { font-weight: 600; text-decoration: none; min-height: 2.75rem; display: inline-flex; align-items: center; padding-inline: .9rem; border: 1.5px solid var(--tinte); border-radius: 999px; white-space: nowrap; }
.leiste__tel:hover { background: var(--tinte); color: var(--papier); }
[data-offen="ja"] .leiste__status, .leiste__status[data-offen="ja"] { color: var(--gruen); }
@media (max-width: 560px) { .leiste__status { display: none; } .leiste__name { flex: 1; } }

/* Status-Punkt: grün nur, wenn wirklich geöffnet. */
[data-status][data-offen="ja"]::before { content: ""; display: inline-block; width: .55em; height: .55em; margin-right: .5em; border-radius: 50%; background: currentColor; vertical-align: .08em; }

/* -------------------------------------------------------------- Knöpfe -- */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; min-height: 3rem;
  padding: .7rem 1.4rem; border-radius: .35rem; font-family: var(--sc-font-text); font-weight: 600;
  font-size: var(--sc-t-sm); text-decoration: none; letter-spacing: .01em;
  transition: transform .18s ease, background-color .18s ease;
}
.knopf:active { transform: translateY(1px); }
.knopf--handeln { background: var(--bernstein); color: var(--tinte); box-shadow: 0 3px 0 var(--tinte); }
.knopf--handeln:hover { background: #f6bd5e; }
.knopf--rand { border: 2px solid currentColor; }
.knopf--hell { background: var(--bonweiss); color: var(--tinte); box-shadow: 0 3px 0 var(--tinte); }
.knopf--gross { min-height: 3.5rem; font-size: var(--sc-t-base); padding-inline: 1.8rem; }

/* --------------------------------------------------------- Akte: Grund -- */
.akt { background: var(--papier); }
main > .akt { padding-right: var(--bon-b); }
.sc-stage { padding-top: var(--leiste-h); }

/* 1 · Kopf */
.akt-kopf { background: var(--ofen); color: var(--bonweiss); --sc-canvas: #17110d; --sc-ink: var(--bonweiss); }
.kopf__schleier { --sc-scrim-a: 88%; }
main > .akt-kopf { padding-right: 0; }
/* Name und Satz stehen unten über Pflaster und Tischen: Schild und Fenster oben
   links sind das, was im Film aufleuchtet, und bleiben frei. */
.akt-kopf .kopf { align-content: end; padding-bottom: clamp(3.5rem, 9vh, 6rem); padding-right: calc(var(--sc-gutter) + var(--bon-b)); }
.kopf__name, .kopf__zwei { position: relative; z-index: 3; text-shadow: 0 2px 18px rgb(0 0 0 / .35); }
.kopf { display: grid; align-content: center; padding-inline: var(--sc-gutter); }
.kopf__name, .kopf__zwei { grid-area: 1 / 1; }
.kopf__vor { margin: 0 0 1rem; font-size: var(--sc-t-sm); letter-spacing: .06em; }
.kopf__titel { color: #fff3dc; white-space: nowrap;
  margin: 0; font-family: var(--sc-font-display); font-style: italic; font-weight: 900;
  font-size: clamp(3.6rem, 1rem + 9vw, 8.5rem); line-height: .9; letter-spacing: -0.03em;
}
.kopf__titel span { display: inline-block; }
.kopf__status { margin: 1.5rem 0 0; font-size: var(--sc-t-base); }
.kopf__satz { margin: 0; max-width: 26ch; font-family: var(--sc-font-display); font-size: var(--sc-t-xl); line-height: 1.12; font-weight: 700; letter-spacing: -.015em; text-wrap: balance; }
.kopf__knoepfe { display: flex; flex-wrap: wrap; gap: .75rem; margin: 2rem 0 0; }
.akt-kopf .knopf--rand { color: var(--bonweiss); }

/* 2 · Wohin */
.akt-wohin { background: var(--papier); }
main > .akt-wohin { padding-block: clamp(3rem, 7vw, 7rem); }
.wohin > * + * { margin-top: 1.25rem; }
.orte { display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: .75rem; margin-top: 2rem !important; max-width: 60rem; }
.ort {
  display: grid; gap: .2rem; text-align: left; padding: 1rem 1.1rem; min-height: 4.5rem; cursor: pointer;
  font: inherit; color: var(--tinte); background: var(--bonweiss);
  border: 1.5px dashed color-mix(in oklab, var(--tinte) 45%, transparent); border-radius: .35rem;
  transition: transform .18s ease, border-color .18s ease;
}
.ort b { font-family: var(--sc-font-display); font-size: 1.35rem; font-weight: 800; }
.ort span { font-size: var(--sc-t-xs); color: var(--tinte-leise); }
.ort:hover { transform: translateY(-2px); border-color: var(--tinte); }
.ort[aria-checked="true"] { border: 2px solid var(--tinte); background: var(--bernstein); }
.ort[aria-checked="true"] span { color: var(--tinte); }
.wohin__frei { color: var(--gruen); font-weight: 600; }

/* 3 · Lieblinge */
.akt-lieblinge { background: var(--ofen); color: var(--papier); --sc-ink: var(--papier); --sc-ink-soft: #cbbfae; }
.lieblinge { display: flex; align-items: center; }
.bahn { display: flex; gap: clamp(1rem, 2vw, 1.75rem); padding-inline: var(--sc-gutter); align-items: stretch; width: max-content; }
.bahn > * { flex: none; }
.bahn__vorn, .bahn__schluss { width: min(30rem, 78vw); align-self: center; display: grid; gap: 1.25rem; }
.bahn__schluss .sc-lede { font-family: var(--sc-font-display); font-weight: 700; font-size: var(--sc-t-xl); }
.liebling {
  width: clamp(16rem, 22vw, 20rem); align-self: center; display: flex; flex-direction: column; gap: .6rem;
  padding: 1.5rem 1.4rem 1.25rem; background: var(--bonweiss); color: var(--tinte);
  border-radius: .2rem; box-shadow: 0 14px 28px rgb(0 0 0 / .35);
  -webkit-mask: var(--zacken); mask: var(--zacken);
}
.liebling:nth-child(even) { rotate: .6deg; }
.liebling:nth-child(odd) { rotate: -.5deg; }
.liebling__gruppe { margin: 0; font-size: var(--sc-t-xs); color: var(--tinte-leise); letter-spacing: .08em; text-transform: uppercase; }
.liebling__name { margin: 0; font-family: var(--sc-font-display); font-weight: 900; font-style: italic; font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.6rem); line-height: .95; color: var(--tomate); }
.liebling__was { margin: 0; flex: 1; font-size: var(--sc-t-xs); line-height: 1.6; }
.liebling__fuss { margin: 0; display: flex; align-items: center; justify-content: space-between; gap: .5rem; border-top: 1px dashed color-mix(in oklab, var(--tinte) 35%, transparent); padding-top: .8rem; }
.liebling__preis { font-weight: 600; font-size: var(--sc-t-base); font-variant-numeric: tabular-nums; }
.plus {
  font: inherit; font-size: var(--sc-t-xs); font-weight: 600; cursor: pointer; min-height: 2.75rem; padding: .4rem .8rem;
  background: var(--bernstein); color: var(--tinte); border: 0; border-radius: .3rem; box-shadow: 0 2px 0 var(--tinte);
}
.plus:hover { background: #f6bd5e; }
.plus.ist-drauf, .gericht button.ist-drauf .gericht__plus { background: var(--gruen); color: var(--bonweiss); }

/* 4 · Zwei Preise (Peak) */
.akt-preise { background: var(--papier-hell); }
.preise { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; padding-inline: var(--sc-gutter); }
.preise__links { display: grid; gap: 1.5rem; }
.preise__titel { font-size: clamp(2.8rem, 1.4rem + 4.6vw, 6.2rem); }
.preise__titel em { color: var(--tomate); display: block; }
.vergleich { display: grid; gap: 1rem; padding: 2rem 1.75rem; background: var(--bonweiss); box-shadow: 0 16px 34px rgb(31 26 22 / .16); -webkit-mask: var(--zacken); mask: var(--zacken); }
.vergleich__zeile { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-size: var(--sc-t-base); border-bottom: 1px dashed color-mix(in oklab, var(--tinte) 30%, transparent); padding-bottom: .9rem; }
.vergleich__zeile s, .vergleich__zeile b { font-family: var(--sc-font-display); font-size: clamp(2rem, 1.3rem + 2.4vw, 3.4rem); font-variant-numeric: tabular-nums; line-height: 1; }
.vergleich__zeile--lf s { color: var(--tomate); text-decoration-thickness: .09em; font-weight: 700; }
.vergleich__zeile--direkt b { font-weight: 900; }
.vergleich__spar { margin: .25rem 0 0; font-size: var(--sc-t-lg); }
.vergleich__spar b { color: var(--gruen); font-weight: 700; }
.vergleich__beleg { margin: 0; font-size: var(--sc-t-xs); color: var(--tinte-leise); display: grid; gap: .6rem; line-height: 1.6; }
.vergleich__beleg b { color: var(--tinte); font-size: var(--sc-t-base); }
.vergleich__beleg small { font-size: .72rem; line-height: 1.5; }
@media (max-width: 800px) {
  .preise { grid-template-columns: 1fr; align-content: center; gap: 1.25rem; }
  .preise__titel { font-size: clamp(2.3rem, 1.5rem + 5vw, 3.4rem); }
  .preise__woher { font-size: var(--sc-t-xs); }
  .vergleich { padding: 1.25rem 1.1rem; gap: .6rem; }
  .vergleich__beleg small { display: none; }
}

/* 5 · Karte */
.akt-karte { background: var(--papier-hell); }
main > .akt-karte { padding-block: clamp(3.5rem, 7vw, 7rem); }
.karte__kopf { display: grid; gap: 1.25rem; }
.karte__gruppen { position: sticky; top: var(--leiste-h); z-index: 5; display: flex; gap: .4rem; overflow-x: auto; margin: 2rem calc(var(--sc-gutter) * -1) 1rem; padding: .7rem var(--sc-gutter); background: var(--papier-hell); border-block: 1px dashed color-mix(in oklab, var(--tinte) 25%, transparent); scrollbar-width: thin; }
.karte__gruppen a { flex: none; min-height: 2.5rem; display: inline-flex; align-items: center; padding: .3rem .8rem; font-size: var(--sc-t-xs); text-decoration: none; border: 1px solid color-mix(in oklab, var(--tinte) 35%, transparent); border-radius: 999px; background: var(--bonweiss); }
.karte__gruppen a:hover { border-color: var(--tinte); }
.karte__gruppen a[aria-selected="true"] { background: var(--tinte); color: var(--bonweiss); border-color: var(--tinte); }
.gruppe[hidden] { display: none; }
.akt-karte .gruppe { min-height: 60vh; }
.gruppe { scroll-margin-top: calc(var(--leiste-h) + 4.5rem); padding-top: 2rem; }
.gruppe__titel { margin: 0; font-family: var(--sc-font-display); font-style: italic; font-weight: 800; font-size: var(--sc-t-2xl); color: var(--tomate); }
.gruppe__hinweis { margin: .4rem 0 0; font-size: var(--sc-t-xs); color: var(--tinte-leise); }
.gruppe__liste { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); column-gap: 2rem; }
.gericht button {
  width: 100%; display: grid; grid-template-columns: 1fr auto auto; column-gap: .75rem; row-gap: .15rem; align-items: baseline;
  text-align: left; padding: .85rem 0; min-height: 3rem; cursor: pointer;
  font: inherit; color: inherit; background: none; border: 0; border-bottom: 1px dashed color-mix(in oklab, var(--tinte) 28%, transparent);
}
.gericht__name { font-weight: 600; }
.gericht__preis { font-style: normal; font-variant-numeric: tabular-nums; white-space: nowrap; }
.gericht__was { grid-column: 1 / 3; font-size: var(--sc-t-xs); color: var(--tinte-leise); line-height: 1.5; }
.gericht__plus { grid-row: 1; grid-column: 3; width: 1.75rem; height: 1.75rem; display: grid; place-items: center; border-radius: 50%; background: var(--bernstein); font-weight: 700; }
.gericht button:hover .gericht__name { text-decoration: underline; text-underline-offset: .2em; }

/* 6 · Wann und wo */
.akt-zeiten { background: var(--papier); }
main > .akt-zeiten { padding-block: clamp(3.5rem, 7vw, 7rem); }
.zeiten__tafel { background: var(--tomate); color: var(--bonweiss); padding: clamp(1.75rem, 4vw, 3.5rem); border-radius: .35rem; }
.zeiten__spalten { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 2rem 3rem; margin-top: 2.5rem; }
.zeiten__spalten h3 { margin: 0 0 .9rem; font-family: var(--sc-font-display); font-weight: 700; font-size: var(--sc-t-lg); }
.zeiten__liste { margin: 0; display: grid; gap: .5rem; }
.zeiten__liste div { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px dashed rgb(255 253 247 / .4); padding-bottom: .45rem; }
.zeiten__liste dt { font-weight: 500; }
.zeiten__liste dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.zeiten__liste .heute { font-weight: 700; }
.zeiten address { font-style: normal; line-height: 1.7; }
.zeiten a { color: var(--bonweiss); font-weight: 600; }

/* 7 · Abriss */
.akt-abriss { background: var(--tomate-tief); color: var(--bonweiss); }
.abriss { display: grid; align-content: center; gap: 1.5rem; padding-inline: var(--sc-gutter); }
.abriss__titel { font-style: italic; font-weight: 900; font-size: clamp(3.2rem, 1.6rem + 7vw, 8.5rem); }
.abriss__status { margin: 0; font-size: var(--sc-t-base); }
.abriss__knoepfe { display: flex; flex-wrap: wrap; gap: .9rem; margin: .5rem 0 0; }
.abriss__hinweis { margin: 0; font-size: var(--sc-t-xs); opacity: .9; }

/* --------------------------------------------------------------- Fuß -- */
.fuss { padding: 2.5rem var(--sc-gutter) 3rem; padding-right: calc(var(--sc-gutter) + var(--bon-b)); background: var(--ofen); color: var(--papier); font-size: var(--sc-t-xs); }
.fuss p { margin: 0 0 .5rem; }
.fuss a { color: var(--papier); min-height: 2.75rem; display: inline-flex; align-items: center; }

/* Gezackte Papierkante oben und unten (21st.dev „Receipt Pricing", als Maske). */
:root {
  --zahn-b: 12px; --zahn-h: 12px;
  --zacken:
    linear-gradient(135deg, transparent 50%, #000 0) 0 0 / var(--zahn-b) var(--zahn-h) repeat-x,
    linear-gradient(-135deg, transparent 50%, #000 0) 0 0 / var(--zahn-b) var(--zahn-h) repeat-x,
    linear-gradient(#000, #000) 0 calc(var(--zahn-h) / 2) / 100% calc(100% - var(--zahn-h)) no-repeat,
    linear-gradient(135deg, #000 50%, transparent 0) 0 100% / var(--zahn-b) var(--zahn-h) repeat-x,
    linear-gradient(-135deg, #000 50%, transparent 0) 0 100% / var(--zahn-b) var(--zahn-h) repeat-x;
}

@media (prefers-reduced-motion: reduce) {
  .liebling, .ort, .knopf { transition: none; }
}

@media (max-width: 700px) {
  .liebling { min-height: 0; width: min(17rem, 76vw); align-self: center; }
  .liebling__was { flex: none; min-height: 3.2em; }
}
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Mit Bon-Spalte bleibt zwischen 1024 und 1279 px zu wenig Breite für zwei
   Spalten im Peak: Überschrift und Vergleich untereinander, kleinere Zahlen. */
@media (min-width: 1024px) and (max-width: 1279px) {
  .preise { grid-template-columns: 1fr; align-content: center; gap: 1.5rem; }
  .preise__titel { font-size: clamp(2.6rem, 1rem + 3.4vw, 3.8rem); }
  .preise__titel em { display: inline; }
  .vergleich { max-width: 34rem; }
  .vergleich__zeile s, .vergleich__zeile b { font-size: clamp(1.8rem, 1rem + 1.6vw, 2.5rem); }
}


/* ------------------------------------------------ Hinweis am KI-Clip --
   Werte aus ki-transparenz (HINWEIS_GESTALTUNG): 11 px, weiß zu 95 %.
   Als Klasse, weil die CSP Inline-Stile sperrt. */
.ki-hinweis {
  position: absolute; z-index: 4; right: calc(var(--bon-b) + .75rem); bottom: .75rem; margin: 0;
  padding: 5px 9px; font-family: var(--sc-font-text); font-size: 11px; line-height: 1.3;
  color: rgba(255, 255, 255, .95);
  /* Deckend statt Verlauf: über dem laufenden Film bleibt der Ausschnitt still und
     damit messbar (ki-transparenz Teil B), und lesbar ist er so ohnehin. */
  background: #1c1410;
  border-radius: 2px;
}
@media (max-width: 1023px) { .ki-hinweis { right: .5rem; bottom: .5rem; } }

/* ------------------------------------------------------ Echte Fotos -- */
figure { margin: 0; }
figcaption { margin-top: .55rem; font-size: var(--sc-t-xs); color: var(--tinte-leise); }
.wohin-raster { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.wohin__haus img { width: 100%; height: auto; max-height: 78vh; object-fit: cover; border-radius: .3rem; box-shadow: 0 18px 36px rgb(31 26 22 / .2); rotate: 1deg; }
@media (max-width: 800px) { .wohin-raster { grid-template-columns: minmax(0, 1fr); } .wohin__haus { max-width: 22rem; } }

.bahn__bild { flex: none; width: clamp(14rem, 20vw, 18rem); align-self: center; }
.bahn__bild img { width: 100%; height: auto; border-radius: .25rem; box-shadow: 0 14px 28px rgb(0 0 0 / .4); rotate: -1.2deg; }
.akt-lieblinge figcaption { color: #cbbfae; }

.zeiten__bild img { width: 100%; height: auto; border-radius: .25rem; }
.zeiten__bild figcaption { color: rgb(255 253 247 / .85); }

.akt-abriss { position: relative; }
main > .akt-abriss { padding-right: 0; }
.akt-abriss .abriss { padding-right: calc(var(--sc-gutter) + var(--bon-b)); }
.abriss { isolation: isolate; } /* .sc-stage ist sticky und damit schon Bezugsrahmen; kein position hier */
.abriss__grund { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 30% 40%; }
.abriss::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(58 26 18 / .9) 0%, rgb(58 26 18 / .78) 45%, rgb(58 26 18 / .45) 100%); }
