/* Blauer Fuchs · Prototyp S2. Farben aus Fotos und Karte gemessen (RICHTUNG.md). */
@font-face { font-family: "Darker Grotesque"; src: url("fonts/darkergrotesque.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "Averia Serif Libre"; src: url("fonts/averiaseriflibre.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Big Shoulders Inline Display"; src: url("fonts/bigshouldersinlinedisplay.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --himmel: #0e1b55;
  --himmel-tief: #0a1240;
  --fuchsblau: #548cb1;
  --fuchsblau-tief: #2f6189;
  --fuchslinie: #c5dfe0;
  --licht: #f4c25a;
  --tinte: #141414;
  --papier: #fbfaf6;
  --grau: #4a4a48;
  --rand: rgba(20, 20, 20, 0.16);
  --serif: "Averia Serif Libre", Georgia, serif;
  --text: "Darker Grotesque", "Avenir Next", system-ui, sans-serif;
  --schild: "Big Shoulders Inline Display", "Darker Grotesque", sans-serif;
  --fx-open: #7fd39a;
  --fx-closed: #f19a8a;
  --fx-surface: transparent;
  --fx-ink: inherit;
  --fx-line: rgba(197, 223, 224, 0.45);
  --fx-lamp-size: 9%;
  --breite: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 4.5rem; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--papier); color: var(--tinte); font: 500 1.1875rem/1.45 var(--text); }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; text-underline-offset: 0.18em; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.05; margin: 0 0 0.6em; letter-spacing: -0.01em; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--licht); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 50; background: var(--licht); color: var(--tinte); padding: 0.6rem 1rem; }
.skip:focus { top: 1rem; }

/* Prototyp-Band */
.proto { background: var(--tinte); color: #f2f0ea; font-size: 0.95rem; line-height: 1.35; padding: 0.45rem 1.25rem; text-align: center; }
.proto p { margin: 0; }

/* Kopf */
.kopf { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.7rem clamp(1rem, 4vw, 2.5rem); max-width: 1600px; margin: 0 auto; }
.marke img { width: clamp(150px, 20vw, 210px); height: auto; }
.nav { display: flex; gap: clamp(0.8rem, 2.2vw, 2rem); list-style: none; margin: 0; padding: 0; font-weight: 700; font-size: 1.15rem; }
.nav a { text-decoration: none; padding: 0.4rem 0; }
.nav a:hover { text-decoration: underline; }
.nav__ruf { border-bottom: 3px solid var(--fuchsblau); }
@media (max-width: 760px) { .nav li:not(:last-child) { display: none; } }

/* Start */
.start { background: var(--himmel); color: #fff; position: relative; }
.start__bild { position: relative; }
.start__bild .fx-light { display: block; }
.start__bild::after { content: ""; position: absolute; inset: 52% 0 0; background: linear-gradient(to bottom, rgba(14, 27, 85, 0), rgba(14, 27, 85, 0.75) 55%, var(--himmel)); pointer-events: none; }
.start__bild img { width: 100%; }
.start__text { position: relative; z-index: 1; padding: 0 1.25rem 2.2rem; margin-top: -40vw; }
.start__fuchs { width: 108px; margin: 0 0 0.4rem; position: relative; }
.start h1 { font-size: clamp(3.4rem, 15vw, 6.6rem); margin: 0 0 0.25em; position: relative; }
.start__zeile { font-family: var(--serif); font-size: 1.3rem; line-height: 1.25; color: var(--fuchslinie); }
.start__satz { max-width: 34rem; }
.start__aufrufe { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.4rem 0 1.2rem; }
.status { font-size: 1.05rem; font-weight: 600; color: #fff; }

@media (min-width: 900px) {
  .start { display: grid; grid-template-columns: 1fr auto; min-height: min(calc(100svh - 7rem), 960px); }
  .start__bild { order: 2; height: min(calc(100svh - 7rem), 960px); aspect-ratio: 3 / 4; }
  .start__bild picture img { height: 100%; width: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 16%); mask-image: linear-gradient(to right, transparent 0, #000 16%); }
  .start__bild .fx-light { height: 100%; }
  .start__text { margin: 0; align-self: center; padding: 3rem clamp(2rem, 5vw, 5rem); max-width: 46rem; justify-self: end; }
  .start__bild::after { display: none; }
  .start__fuchs { width: clamp(150px, 15vw, 220px); }
}

/* Knöpfe */
.knopf { display: inline-block; font: 800 1.15rem/1 var(--text); text-decoration: none; padding: 0.95rem 1.4rem 1rem; border: 2px solid transparent; }
.knopf--licht { background: var(--licht); color: var(--tinte); }
.knopf--licht:hover { background: #ffd57a; }
.knopf--linie { border-color: var(--fuchslinie); color: #fff; }
.knopf--linie:hover { background: rgba(197, 223, 224, 0.12); }

/* Papier wie die gedruckte Karte */
.papier { background: #fff; border: 2px solid var(--tinte); padding: clamp(1rem, 3vw, 2rem); }
.balken { background: var(--tinte); color: #fff; font: 800 1.45rem/1.1 var(--text); text-transform: uppercase; letter-spacing: 0.04em; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.18em; text-align: center; padding: 0.7rem 1rem 0.8rem; margin: 0 0 1rem; }
.abschnitt { margin: 0 0 2rem; break-inside: avoid; }
.abschnitt__zusatz { text-align: center; font-weight: 700; margin: -0.2rem 0 1rem; }
.gerichte { list-style: none; margin: 0; padding: 0; }
.gericht { padding: 0.55rem 0 0.8rem; border-bottom: 1px solid var(--rand); }
.gericht:last-child { border-bottom: 0; }
.gericht__kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.gericht__name { font: 800 1.2rem/1.2 var(--text); text-transform: uppercase; letter-spacing: 0.03em; margin: 0; }
.preis { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.gericht__text { margin: 0.15rem 0 0; color: var(--grau); font-size: 1.1rem; line-height: 1.35; max-width: 40rem; }
.tag { display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.02em; text-transform: none; vertical-align: 0.15em; margin-left: 0.35rem; padding: 0 0.4rem 0.05rem; border: 1.5px solid currentColor; color: #2c6b3a; }
.tag--vegi { color: #6a5310; }
.extras { list-style: none; margin: 0.3rem 0 0; padding: 0 0 0 1rem; font-weight: 600; font-size: 1.05rem; }
.extras li { display: flex; justify-content: space-between; gap: 1rem; max-width: 26rem; }

/* Mittagstisch */
.mittag { max-width: var(--breite); margin: 0 auto; padding: clamp(3rem, 7vw, 5.5rem) 1.25rem; display: grid; gap: 2rem; }
.mittag__bild { margin-top: 1.5rem; }
@media (min-width: 900px) { .mittag { grid-template-columns: 5fr 6fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; } .mittag__bild img { max-width: 520px; } }

/* Speisekarte */
.karte { background: var(--papier); padding: 0 0 clamp(3rem, 7vw, 5rem); }
.karte__kopf { max-width: var(--breite); margin: 0 auto; padding: 0 1.25rem 1.5rem; }
.karte__kopf p { max-width: 44rem; }
.leiste { position: sticky; top: 0; z-index: 10; background: var(--papier); border-bottom: 2px solid var(--tinte); border-top: 2px solid var(--tinte); }
.abschnitt { scroll-margin-top: 4.2rem; }
.leiste ul { display: flex; gap: 0.2rem; overflow-x: auto; list-style: none; margin: 0 auto; padding: 0.25rem 1.25rem; max-width: var(--breite); scrollbar-width: thin; }
.leiste a { display: block; white-space: nowrap; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; font-size: 1rem; text-decoration: none; padding: 0.55rem 0.6rem; }
.leiste a:hover, .leiste a[aria-current="true"] { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--fuchsblau); }
.filter { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem; max-width: var(--breite); margin: 0 auto; padding: 0 1.25rem 1rem; }
.filter[hidden] { display: none; }
.suche { flex: 1 1 14rem; }
.suche input { width: 100%; font: 600 1.1rem var(--text); padding: 0.5rem 0.75rem; border: 2px solid var(--tinte); background: #fff; color: var(--tinte); border-radius: 0; }
.diaet { display: flex; gap: 2px; border: 2px solid var(--tinte); background: var(--tinte); }
.diaet button { font: 700 1.05rem var(--text); background: #fff; color: var(--tinte); border: 0; padding: 0.45rem 0.8rem; cursor: pointer; }
.diaet button[aria-pressed="true"] { background: var(--tinte); color: #fff; }
.treffer { margin: 0; font-weight: 700; color: var(--grau); min-width: 7.5rem; }
.karte__inhalt { max-width: var(--breite); margin: 1.5rem auto 0; }
@media (max-width: 899px) { .karte__inhalt { margin: 1.25rem 0.75rem 0; } }
@media (min-width: 1100px) { .karte__inhalt { column-count: 2; column-gap: 3rem; column-rule: 2px solid var(--tinte); } .karte__fuss { column-span: all; } }
.karte__fuss { border-top: 2px solid var(--tinte); padding-top: 1rem; font-size: 1.05rem; color: var(--grau); }
.leer { font-weight: 700; column-span: all; }
.gericht[hidden], .abschnitt[hidden] { display: none; }

/* Getränke */
.trinken { background: var(--fuchsblau-tief); color: #fff; padding: clamp(3rem, 7vw, 5.5rem) 1.25rem; display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.trinken__text { grid-column: 1 / -1; max-width: 40rem; }
.trinken__zapf { grid-column: 1 / -1; }
.trinken__karten { font-weight: 700; }
@media (min-width: 900px) {
  .trinken { grid-template-columns: 4fr 3fr 6fr; grid-template-rows: auto 1fr; align-items: start; gap: 1.5rem; padding-inline: clamp(2rem, 5vw, 5rem); }
  .trinken__text { grid-column: 1 / 3; grid-row: 1; }
  .trinken__zapf { grid-column: 3; grid-row: 1 / 3; align-self: center; }
  .trinken__klein:nth-of-type(2) { grid-column: 1; grid-row: 2; }
  .trinken__klein:nth-of-type(3) { grid-column: 2; grid-row: 2; }
}

/* Haus */
.haus { max-width: var(--breite); margin: 0 auto; padding: clamp(3rem, 7vw, 5.5rem) 1.25rem; display: grid; gap: 1.25rem; }
.jahre { margin: 1.5rem 0 0; }
.jahre div { display: grid; grid-template-columns: 7.6rem 1fr; gap: 1rem; align-items: baseline; padding: 0.45rem 0; border-top: 1px solid var(--rand); }
.jahre dt { font: 700 2.4rem/1 var(--schild); color: var(--himmel); }
.jahre dd { margin: 0; }
@media (min-width: 900px) {
  .haus { grid-template-columns: repeat(12, 1fr); gap: 1.5rem; }
  .haus__raum { grid-column: 1 / 8; grid-row: 1 / 3; }
  .haus__text { grid-column: 8 / 13; grid-row: 1 / 3; align-self: center; }
  .haus__kasten { grid-column: 1 / 5; }
  .haus__wand { grid-column: 5 / 9; }
  .haus__schild { grid-column: 9 / 13; }
}
.haus__kasten .fx-light { display: block; }
.haus__kasten { --fx-lamp-size: 16%; }

/* Reservieren */
.reservieren { background: var(--himmel); color: #fff; padding: clamp(3rem, 7vw, 5.5rem) clamp(1.25rem, 5vw, 5rem); display: grid; gap: 2.5rem; }
.reservieren h3 { color: var(--fuchslinie); margin-top: 1.4rem; }
.reservieren h3:first-child { margin-top: 0; }
.regeln { padding-left: 1.2rem; margin: 0 0 1.5rem; max-width: 34rem; }
.regeln li { margin: 0 0 0.35rem; }
.anruf a { display: inline-flex; flex-direction: column; text-decoration: none; margin: 0 0 0.6rem; }
.anruf__titel { font-weight: 700; color: var(--fuchslinie); }
.anruf__nr { font: 800 clamp(2.2rem, 6vw, 3.2rem)/1.05 var(--text); letter-spacing: 0.01em; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.12em; }
.klein { font-size: 1rem; color: #d8dcef; }
.zeiten { margin: 0 0 0.8rem; }
.zeiten div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.35rem 0; border-bottom: 1px solid rgba(197, 223, 224, 0.3); max-width: 26rem; }
.zeiten dd { margin: 0; }
.ziffer { font: 700 1.7rem/1 var(--schild); color: var(--licht); }
.pfeil { font-weight: 700; }
@media (min-width: 900px) { .reservieren { grid-template-columns: 3fr 2fr; } }

/* Prototyp-Hinweis und Fuß */
.proto-note { max-width: 48rem; margin: 0 auto; padding: clamp(3rem, 6vw, 4.5rem) 1.25rem; }
.proto-note h2 { font-size: 2rem; }
.fuss { background: var(--himmel-tief); color: #e9ecf7; padding: 2.5rem 1.25rem 6rem; text-align: center; }
.fuss__fuchs { width: 90px; margin: 0 auto 1rem; }
.fuss__links { display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap; font-weight: 700; }
@media (min-width: 761px) { .fuss { padding-bottom: 2.5rem; } }

/* Handyleiste */
.handyleiste { position: fixed; inset: auto 0 0; z-index: 20; display: grid; grid-template-columns: 1fr 1fr; background: var(--tinte); padding-bottom: env(safe-area-inset-bottom); }
.handyleiste a { color: #fff; text-align: center; text-decoration: none; font-weight: 800; padding: 0.85rem 0.5rem; }
.handyleiste a + a { background: var(--licht); color: var(--tinte); }
@media (min-width: 761px) { .handyleiste { display: none; } }

/* Unterseiten */
.seite { max-width: 46rem; margin: 0 auto; padding: 2.5rem 1.25rem 4rem; }
.seite h1 { font-size: clamp(2.4rem, 6vw, 3.4rem); }
.seite h2 { font-size: 1.5rem; margin-top: 1.8rem; }
