/* Osteria del Forno – Website (Demo von Plateline). Modern und klassisch.
   Gemeinsam mit der Speisekarte am Tisch (Demo 1, css/style.css): Papier, Bordeaux, Gold, Serifenschrift,
   Überschriften in Cormorant Garamond, Punktlinie bis zum Preis, Bild-Fenster (js/fenster.js).
   Modern: Vollbild-Foto oben, große Schrift, viel Raum, Bilder blenden beim Scrollen ein, Wortband, dunkler Fuß.
   Schriften liegen auf der Website selbst (keine Verbindung zu Dritten). */

@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-500.woff2") format("woff2"); font-weight: 500 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-500-kursiv.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }

:root {
  --papier: #f5eedd;
  --karte: #fbf7ec;
  --tinte: #2a2018;
  --nacht: #1d1611;
  --grau: #5c5044;
  --bordeaux: #7b1e22;
  --bordeaux-dunkel: #5c1417;
  --gruen: #2f4a33;
  --gold: #a8873f;
  --gold-text: #7d6224;      /* Gold für Schrift auf Papier (5:1) */
  --gold-hell: #e2c58a;      /* Gold auf dunklem Grund */
  --creme: #f6ecd6;
  --linie: #c9bb98;
  --display: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --rand: clamp(1.1rem, 4vw, 3rem);
  --breite: 76rem;
  --abstand: clamp(5rem, 3rem + 8vw, 10rem);
  --bogen: 100vmax 100vmax 0 0;
  --aus: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; font-family: var(--serif); font-size: 1.125rem; line-height: 1.6; color: var(--tinte); background: var(--papier); }
h1, h2, h3 { margin: 0; line-height: 1.1; }
p { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: var(--bordeaux); text-underline-offset: 3px; }
em { font-style: italic; }
[hidden] { display: none !important; }
::selection { background: var(--bordeaux); color: #fff; }
:focus-visible { outline: 3px solid var(--tinte); outline-offset: 3px; }
main:focus { outline: none; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: .5rem; top: -4rem; z-index: 100; background: var(--tinte); color: #fff; padding: .7rem 1.1rem; font-family: var(--sans); font-weight: 600; text-decoration: none; }
.skip:focus { top: 0; }
.innen { max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand); }
.abschnitt { padding-top: var(--abstand); }

/* ---------- Knöpfe ---------- */
.knopf, .knopf-leise, .knopf-hell {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 3.1rem; padding: .8rem 1.6rem;
  border: 1px solid var(--bordeaux); border-radius: 0; cursor: pointer; text-align: center; text-decoration: none;
  font-family: var(--sans); font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--aus);
}
.knopf { background: var(--bordeaux); color: #fff; }
.knopf:hover { background: var(--bordeaux-dunkel); border-color: var(--bordeaux-dunkel); }
.knopf[disabled] { opacity: .65; cursor: progress; }
.knopf-leise { background: transparent; color: var(--tinte); border-color: var(--tinte); }
.knopf-leise:hover { background: var(--tinte); color: var(--papier); }
.knopf-hell { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .8); }
.knopf-hell:hover { background: #fff; color: var(--tinte); }
.knopf:active, .knopf-leise:active, .knopf-hell:active { transform: translateY(1px); }
.knoepfe { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; }
.knoepfe.links { justify-content: flex-start; }

/* ---------- Kopf ---------- */
.demo-hinweis { background: var(--nacht); color: #f0e6d2; text-align: center; font-family: var(--sans); font-size: .82rem; padding: .5rem .75rem; }
.demo-hinweis a { color: #fff; }
.leiste { position: sticky; top: 0; z-index: 20; background: var(--papier); border-bottom: 1px solid var(--linie); transition: background-color .35s, border-color .35s, color .35s; }
.leiste-innen { display: flex; align-items: center; gap: 1rem; max-width: var(--breite); margin: 0 auto; padding: .55rem var(--rand); }
.marke { display: inline-flex; align-items: center; gap: .65rem; color: var(--bordeaux); text-decoration: none; font-family: var(--display); font-size: 1.55rem; font-weight: 600; letter-spacing: .01em; line-height: 1; }
.marke .wappen { width: 2.3rem; height: 2.3rem; }
.wappen { color: var(--bordeaux); }
.nav { display: flex; align-items: center; gap: .2rem; margin-left: auto; }
.nav a {
  flex: none; padding: .75rem .8rem .6rem; color: var(--tinte); text-decoration: none; border-bottom: 1px solid transparent;
  font-family: var(--sans); font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; transition: color .2s, border-color .2s;
}
.nav a:hover { color: var(--bordeaux); border-bottom-color: currentColor; }
.nav a[aria-current="page"] { color: var(--bordeaux); border-bottom-color: var(--bordeaux); }
.nav .knopf { margin-left: .8rem; padding: .7rem 1.2rem; color: #fff; border-bottom: 1px solid var(--bordeaux); }
.nav .knopf:hover { color: #fff; }
@media (min-width: 54.01rem) { .nav .nur-handy { display: none; } }

/* Startseite: Kopfleiste liegt durchsichtig über dem großen Foto, beim Scrollen wird sie wieder Papier */
@media (min-width: 54.01rem) {
  body[data-seite="start"] .leiste { margin-bottom: -4.2rem; }
  body.ueber-bild .leiste { background: transparent; border-bottom-color: rgba(255, 255, 255, .25); }
  body.ueber-bild .marke, body.ueber-bild .nav a:not(.knopf) { color: #fff; }
  body.ueber-bild .marke .wappen { color: #fff; }
  body.ueber-bild .nav .knopf { background: transparent; border-color: rgba(255, 255, 255, .8); }
  body.ueber-bild .nav .knopf:hover { background: #fff; color: var(--tinte); }
  body.ueber-bild :focus-visible { outline-color: #fff; }
}
@media (max-width: 54rem) {
  .leiste { position: static; }
  .leiste-innen { flex-wrap: wrap; justify-content: center; padding-bottom: 0; gap: .2rem; }
  .nav { width: 100%; margin: 0; overflow-x: auto; scrollbar-width: none; border-top: 1px solid var(--linie); }
  .nav::-webkit-scrollbar { display: none; }
  .nav a:first-child { margin-left: auto; }
  .nav .knopf { display: none; }
  .nav a:nth-last-child(2) { margin-right: auto; }
}

/* ---------- Gemeinsame Bausteine ---------- */
.rahmen { background: var(--karte); border: 1px solid var(--bordeaux); outline: 1px solid var(--bordeaux); outline-offset: 4px; }
.ueberzeile { font-family: var(--sans); font-size: .74rem; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--grau); }
.ueberzeile.hell { color: #f3e6cc; }
.unterzeile { font-style: italic; color: var(--grau); }
.schrift-zeile { font-family: var(--display); font-style: italic; font-weight: 500; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.1; color: var(--gold-text); margin-bottom: .3rem; }
.schrift-zeile.mitte { text-align: center; }
.schrift-zeile.hell { color: var(--gold-hell); }
.titel { font-family: var(--display); font-weight: 500; font-size: clamp(2.5rem, 1.5rem + 3.6vw, 4.6rem); line-height: 1.02; letter-spacing: -0.01em; color: var(--bordeaux); text-align: center; text-wrap: balance; }
.titel em { color: var(--tinte); }
.titel::after { content: ""; display: block; width: 3.5rem; height: 1px; background: var(--gold); margin: 1.1rem auto 0; }
.titel.links { text-align: left; }
.titel.links::after { margin-left: 0; }
.titel-hinweis { margin: 1rem auto 0; max-width: 38rem; text-align: center; font-style: italic; color: var(--grau); }

/* Bild-Fenster: das Bild läuft beim Scrollen langsamer mit (js/fenster.js, gleich wie auf der Karte am Tisch) */
.fenster { position: relative; overflow: hidden; background: var(--nacht); }
.fenster > img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; will-change: transform; }

/* ---------- Start: Vollbild-Foto mit großer Schrift ---------- */
.held { min-height: max(34rem, 100svh); display: flex; align-items: flex-end; color: #fff; }
.held > img { object-position: 30% 55%; }
.held::after { content: ""; position: absolute; inset: 0; background: rgba(20, 13, 8, .5); }
.held-inhalt { position: relative; z-index: 1; width: 100%; max-width: var(--breite); margin: 0 auto; padding: 8rem var(--rand) clamp(3rem, 9vh, 6rem); }
.held h1 { font-family: var(--display); font-weight: 500; font-size: clamp(3.6rem, 1.2rem + 9vw, 9.5rem); line-height: .9; letter-spacing: -0.02em; margin: 1rem 0 1.6rem; }
.held h1 .zeile { display: block; }
.held h1 em { color: var(--gold-hell); }
.held-satz { max-width: 34rem; font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); line-height: 1.5; color: #f3e9d6; }
.held .knoepfe { margin-top: 2.2rem; }
.ofen-stand { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .7rem; margin-top: 2.6rem; padding: .7rem 1rem; background: rgba(20, 13, 8, .6); border-left: 1px solid var(--gold-hell); }
.ofen-zeile { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--sans); font-size: .9rem; font-weight: 600; color: #fff; }
.ofen-text { font-style: italic; color: #eadfc8; font-size: .98rem; }
.glutpunkt { width: .6rem; height: .6rem; flex: none; border-radius: 50%; background: #f08a3c; }
.glutpunkt.aus { background: transparent; border: 2px solid #eadfc8; }
@media (max-width: 54rem) { .held { min-height: 36rem; } .held-inhalt { padding-top: 5rem; } }

/* Wortband: langsam durchlaufende Wörter der Karte */
.laufband { overflow: hidden; padding: 1.6rem 0; border-bottom: 1px solid var(--linie); background: var(--papier); }
.laufband-innen { display: flex; width: max-content; animation: laufen 48s linear infinite; }
.laufband span { padding-right: 1.6rem; font-family: var(--display); font-style: italic; font-weight: 500; font-size: clamp(2rem, 1.4rem + 2.6vw, 3.6rem); line-height: 1; color: var(--bordeaux); white-space: nowrap; }
.laufband span b { font-weight: 500; color: var(--gold); padding: 0 .9rem; }
@keyframes laufen { to { transform: translateX(-50%); } }

/* ---------- Geschichte: große Überschrift, Text, Bilder in versetzter Anordnung ---------- */
.geschichte-kopf { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.geschichte-kopf .titel { text-align: left; }
.geschichte-kopf .titel::after { margin-left: 0; }
.kapitel + .kapitel { margin-top: 1.6rem; }
.kapitel h3 { font-family: var(--sans); font-size: .76rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--bordeaux); margin-bottom: .45rem; }
.collage { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(.8rem, 2vw, 1.6rem); margin-top: clamp(3rem, 6vw, 5rem); align-items: start; }
.collage figure:nth-child(1) { grid-column: 1 / span 7; }
.collage figure:nth-child(2) { grid-column: 8 / span 5; margin-top: clamp(3rem, 10vw, 8rem); }
.collage figure:nth-child(3) { grid-column: 3 / span 5; margin-top: calc(clamp(2rem, 6vw, 5rem) * -1); }
.collage figure:nth-child(4) { grid-column: 8 / span 4; }
.collage .bild { overflow: hidden; background: var(--linie); }
.collage img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.collage figure:nth-child(2) img { aspect-ratio: 4 / 5; }
.bildunterschrift { margin-top: .6rem; font-style: italic; color: var(--grau); font-size: .95rem; }
@media (max-width: 54rem) {
  .geschichte-kopf { grid-template-columns: minmax(0, 1fr); }
  .collage figure:nth-child(n) { grid-column: 1 / -1; margin-top: 0; }
  .collage figure:nth-child(2), .collage figure:nth-child(4) { grid-column: 4 / -1; }
  .collage figure:nth-child(3) { grid-column: 1 / span 9; }
}

/* ---------- Breite Bildstreifen mit Text ---------- */
.band { display: grid; place-items: center; min-height: clamp(22rem, 75vh, 44rem); margin-top: var(--abstand); padding: 3rem var(--rand); text-align: center; color: #fff; }
.band::after { content: ""; position: absolute; inset: 0; background: rgba(20, 13, 8, .48); }
.band-text, .band-innen { position: relative; z-index: 1; }
.band h2 { max-width: 16ch; margin: 0 auto; font-family: var(--display); font-weight: 500; font-size: clamp(2.6rem, 1.4rem + 5vw, 6rem); line-height: 1; color: #fff; text-wrap: balance; }
.band h2 em { color: var(--gold-hell); }
.band-hoch { min-height: clamp(34rem, 90vh, 50rem); }
.band-hoch::after { background: rgba(20, 13, 8, .38); }
.band-innen { width: 100%; }

/* ---------- Wie unsere Pizza entsteht ---------- */
.entsteht { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; margin-top: 3rem; }
.entsteht > * { min-width: 0; }
.zutaten { list-style: none; margin: 0; padding: 0; }
.zutaten li { border-bottom: 1px solid var(--linie); }
.zutaten li:first-child { border-top: 1px solid var(--linie); }
.zutaten button {
  display: flex; align-items: baseline; gap: .7rem; width: 100%; padding: 1rem .2rem; border: 0; background: none; cursor: pointer; text-align: left;
  font-family: var(--display); font-weight: 500; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); line-height: 1.1; color: var(--tinte); transition: color .25s, padding-left .4s var(--aus);
}
.zutaten button:hover { color: var(--bordeaux); padding-left: .6rem; }
.zutaten button[aria-pressed="true"] { color: var(--bordeaux); font-style: italic; padding-left: .6rem; }
.zutaten .leader { flex: 1; min-width: 1rem; border-bottom: 1px dotted #7d6e58; transform: translateY(-.28em); }
.zutaten .zahl { font-family: var(--sans); font-size: .8rem; font-weight: 600; letter-spacing: .08em; color: var(--grau); font-style: normal; white-space: nowrap; }
.buehne { display: grid; justify-items: center; }
.bogen-rahmen { width: min(100%, 26rem); aspect-ratio: 4 / 5; padding: 6px; border: 1px solid var(--linie); border-radius: var(--bogen); background: var(--karte); }
.bogen-innen { position: relative; width: 100%; height: 100%; border-radius: var(--bogen); overflow: hidden; background: var(--linie); }
.bogen-innen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .5s ease, transform 1.2s var(--aus); }
.bogen-innen img.an { opacity: 1; transform: none; }
.buehne-fakt { width: min(100%, 26rem); margin-top: 1.1rem; min-height: 5.6em; text-align: center; font-style: italic; color: var(--grau); }
.buehne-fakt strong { display: block; font-family: var(--display); font-style: normal; font-weight: 600; color: var(--tinte); font-size: 1.5rem; line-height: 1.15; margin-bottom: .3rem; }
@media (max-width: 54rem) { .entsteht { grid-template-columns: minmax(0, 1fr); } .buehne { order: -1; } .bogen-rahmen { width: min(100%, 18rem); } }

/* ---------- Kategorien als große Bildkacheln ---------- */
.kacheln { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.6rem, 1.4vw, 1.2rem); margin-top: 3rem; }
.kachel { display: block; aspect-ratio: 3 / 4; color: #fff; text-decoration: none; }
.kachel::after { content: ""; position: absolute; inset: 0; background: rgba(20, 13, 8, .34); transition: background-color .4s; }
.kachel:hover::after { background: rgba(20, 13, 8, .12); }
.kachel span { position: absolute; left: 1.2rem; right: 1.2rem; bottom: 1.1rem; z-index: 1; font-family: var(--display); font-style: italic; font-weight: 500; font-size: clamp(1.8rem, 1.2rem + 1.6vw, 2.6rem); line-height: 1; }
.kachel span::after { content: "→"; display: inline-block; margin-left: .4rem; font-style: normal; font-size: .7em; transition: transform .4s var(--aus); }
.kachel:hover span::after { transform: translateX(.4rem); }
@media (max-width: 54rem) { .kacheln { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Speisekarte: wie die Karte am Tisch ---------- */
.kategorie { margin-top: 3.5rem; }
.kategorie:first-of-type { margin-top: 0; }
.kategorie h2 { text-align: center; font-family: var(--display); font-size: clamp(2.4rem, 1.8rem + 2vw, 3.2rem); font-weight: 500; font-style: italic; color: var(--bordeaux); }
.kategorie h2::after { content: ""; display: block; width: 3.5rem; height: 1px; background: var(--gold); margin: .6rem auto 0; }
.kat-hinweis { margin: .6rem 0 0; text-align: center; font-style: italic; color: var(--grau); font-size: .98rem; }
.gerichte { list-style: none; margin: 1.2rem 0 0; padding: 0; }
.gericht { display: grid; grid-template-columns: minmax(0, 1fr); padding: .8rem 0; }
.gericht.mit-bild { grid-template-columns: 5.6rem minmax(0, 1fr); column-gap: 1rem; }
@media (min-width: 560px) { .gericht.mit-bild { grid-template-columns: 7.5rem minmax(0, 1fr); } }
.gericht-bild { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--linie); border: 1px solid var(--linie); padding: 2px; }
.gericht .text { min-width: 0; }
.zeile { display: flex; align-items: baseline; gap: .4rem; }
.zeile h3 { font-family: var(--serif); font-size: 1.15rem; font-weight: 700; line-height: 1.25; }
.leader { flex: 1; min-width: 1rem; border-bottom: 1px dotted #7d6e58; transform: translateY(-.28em); }
.preis { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.beschreibung { margin: .15rem 0 0; font-style: italic; color: var(--grau); font-size: 1rem; }
.zusatz { margin: .15rem 0 0; font-family: var(--sans); font-size: .78rem; color: var(--grau); }
.auswahl { margin-top: 3rem; }
.auswahl .gerichte { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 5vw, 4.5rem); }
@media (max-width: 54rem) { .auswahl .gerichte { grid-template-columns: minmax(0, 1fr); } }
.karte-stand { margin-top: 1.6rem; text-align: center; font-family: var(--sans); font-size: .82rem; color: var(--grau); }
.karte-stand .live { display: inline-block; width: .5rem; height: .5rem; margin-right: .4rem; border-radius: 50%; background: var(--gruen); vertical-align: .08em; }
.mehr { margin-top: 1.8rem; }

.kat-nav { position: sticky; top: 3.4rem; z-index: 5; display: flex; justify-content: center; gap: .1rem; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--rand) * -1) 2.4rem; padding: 0 .5rem; background: var(--papier); border-bottom: 1px solid var(--linie); }
.kat-nav::-webkit-scrollbar { display: none; }
.kat-nav a { flex: none; padding: .85rem .9rem .7rem; color: var(--tinte); text-decoration: none; border-bottom: 1px solid transparent; font-family: var(--sans); font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.kat-nav a:hover { color: var(--bordeaux); border-bottom-color: var(--bordeaux); }
@media (max-width: 54rem) { .kat-nav { top: 0; justify-content: flex-start; } }
.kat-bild { height: clamp(9rem, 30vw, 16rem); margin: 0 calc(var(--rand) * -1) 1.6rem; }
@media (min-width: 46rem) { .kat-bild { margin-left: 0; margin-right: 0; } }
.hinweise { margin-top: 2.8rem; padding-top: 1.1rem; border-top: 1px solid var(--linie); font-size: .95rem; color: var(--grau); }
.hinweise h2 { font-size: 1.1rem; color: var(--tinte); margin-bottom: .5rem; }
.hinweise dl { display: flex; flex-wrap: wrap; gap: .2rem 1.2rem; margin: .7rem 0 0; font-family: var(--sans); font-size: .82rem; }
.hinweise dl div { display: flex; gap: .35rem; }
.hinweise dt { font-weight: 700; color: var(--tinte); }
.hinweise dd { margin: 0; }
.am-tisch { margin-top: 3rem; padding: 1.6rem 1.3rem 1.7rem; text-align: center; }
.am-tisch h2 { font-family: var(--display); font-size: 2.1rem; font-weight: 500; font-style: italic; color: var(--bordeaux); }
.am-tisch p { margin: .4rem auto 1.1rem; max-width: 32rem; color: var(--grau); }

/* ---------- Öffnungszeiten und Anfahrt ---------- */
.zeiten-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.4rem, 6vw, 6rem); align-items: start; }
.zeiten-raster .titel { text-align: left; }
.zeiten-raster .titel::after { margin-left: 0; }
.zeiten-liste { margin: 2.2rem 0 0; }
.zeiten-liste div { display: flex; align-items: baseline; gap: .6rem; padding: .9rem 0; border-bottom: 1px solid var(--linie); }
.zeiten-liste div:first-child { border-top: 1px solid var(--linie); }
.zeiten-liste dt { flex: 1; font-family: var(--display); font-size: clamp(1.35rem, 1.1rem + .8vw, 1.7rem); font-weight: 500; line-height: 1.2; }
.zeiten-liste dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.zeiten-liste .ruhetag dd { font-style: italic; color: var(--grau); }
.zeiten-hinweis { margin-top: 1rem; font-style: italic; color: var(--grau); font-size: .98rem; }
.anfahrt h3 { font-family: var(--sans); font-size: .76rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--bordeaux); margin-bottom: .6rem; }
.anfahrt p + p { margin-top: .6rem; }
.anfahrt .bild { margin-top: 1.6rem; overflow: hidden; }
.anfahrt .bild img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 54rem) { .zeiten-raster { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Reservieren ---------- */
.res-kasten { max-width: 50rem; margin: 0 auto; padding: clamp(1.8rem, 4vw, 2.8rem) clamp(1.2rem, 3vw, 2.4rem); text-align: center; color: var(--tinte); }
.res-kasten h2 { font-family: var(--display); font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); font-weight: 500; color: var(--bordeaux); }
.res-kasten > p { margin: .6rem auto 1.5rem; max-width: 32rem; color: var(--grau); }
.res-kurz { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: .6rem; text-align: left; }
.res-kurz label { display: block; margin-bottom: .25rem; font-family: var(--sans); font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--grau); }
.res-kurz .knopf { align-self: end; }
@media (max-width: 40rem) { .res-kurz { grid-template-columns: minmax(0, 1fr); } }

input, select, textarea { font: inherit; }
.feld input, .feld select, .feld textarea, .res-kurz input, .res-kurz select, .link-kasten input {
  width: 100%; min-height: 3.1rem; padding: .6rem .85rem; border: 1px solid var(--linie); border-radius: 0; background: #fff; color: var(--tinte);
  font-family: var(--serif); font-size: 1.0625rem;
}
.feld textarea { min-height: 6.5rem; resize: vertical; }
.feld input:focus-visible, .feld select:focus-visible, .feld textarea:focus-visible, .res-kurz input:focus-visible, .res-kurz select:focus-visible { outline: 2px solid var(--bordeaux); outline-offset: 0; border-color: var(--bordeaux); }
.feld [aria-invalid="true"] { border-color: #a4161a; outline: 1px solid #a4161a; }

/* ---------- Unterseiten ---------- */
.seiten-bild { height: clamp(14rem, 44vh, 26rem); }
.seiten-bild::after { content: ""; position: absolute; inset: 0; background: rgba(20, 13, 8, .2); }
.seitenkopf { padding: clamp(2.5rem, 5vw, 4rem) var(--rand) 0; text-align: center; }
.seitenkopf h1 { font-family: var(--display); font-size: clamp(2.8rem, 1.8rem + 3.4vw, 4.6rem); font-weight: 500; font-style: italic; line-height: 1; color: var(--bordeaux); }
.seitenkopf h1::after { content: ""; display: block; width: 3.5rem; height: 1px; background: var(--gold); margin: .8rem auto 0; }
.seitenkopf .titel-hinweis { margin-top: 1rem; }
.seitenkopf.mit-bild { position: relative; max-width: 42rem; margin: -5.5rem auto 0; padding: 2rem 1.4rem 1.8rem; background: var(--karte); border: 1px solid var(--bordeaux); outline: 1px solid var(--bordeaux); outline-offset: 4px; }
@media (max-width: 46rem) { .seitenkopf.mit-bild { margin-left: var(--rand); margin-right: var(--rand); } }
.karte-seite { max-width: 46rem; margin: 0 auto; padding: 3rem var(--rand) 0; }
.laden { color: var(--grau); font-style: italic; text-align: center; padding: 2rem 0; }
.hinweis { padding: .9rem 1.1rem; border: 1px solid var(--linie); background: var(--karte); }
.hinweis.fehler { border-color: #a4161a; color: #7a1812; font-family: var(--sans); font-size: .95rem; }

.res-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 2.5rem 4rem; padding-top: 3.5rem; }
.res-seite { padding: 1.5rem 1.4rem 1.6rem; align-self: start; }
.res-seite h2 { font-family: var(--display); font-size: 2rem; font-weight: 500; font-style: italic; color: var(--bordeaux); margin-bottom: .6rem; }
.res-seite p { color: var(--grau); }
.res-seite p + p { margin-top: .6rem; }
.res-seite strong { color: var(--tinte); }
.formular { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1rem; }
.feld { display: grid; gap: .3rem; align-content: start; }
.feld.voll, .formular .voll { grid-column: 1 / -1; }
.feld label { font-family: var(--sans); font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--tinte); }
.feld small { font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--grau); }
.formular .knoepfe { grid-column: 1 / -1; justify-content: flex-start; align-items: center; gap: 1rem 1.4rem; margin-top: .4rem; }
.klein { font-family: var(--sans); font-size: .82rem; color: var(--grau); max-width: 52ch; }
.ergebnis { display: grid; gap: .9rem; align-content: start; padding: 1.7rem clamp(1.2rem, 3vw, 2rem) 1.8rem; }
.ergebnis h2 { font-family: var(--display); font-size: clamp(2rem, 1.6rem + 1.4vw, 2.6rem); font-weight: 500; font-style: italic; color: var(--bordeaux); }
.ergebnis h2:focus { outline: none; }
.link-kasten { display: flex; flex-wrap: wrap; gap: .5rem; }
.link-kasten input { flex: 1 1 16rem; }
.status { justify-self: start; padding: .3rem .9rem; border: 1px solid var(--bordeaux); color: var(--bordeaux); font-family: var(--sans); font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.status.bestaetigt { border-color: var(--gruen); color: #fff; background: var(--gruen); }
.status.abgelehnt, .status.storniert { border-color: var(--tinte); color: #fff; background: var(--tinte); }
.abstand { margin-top: 1rem; }
@media (max-width: 54rem) { .res-raster { grid-template-columns: minmax(0, 1fr); } .res-seite { order: 2; } }
@media (max-width: 34rem) { .formular { grid-template-columns: minmax(0, 1fr); } }

.recht { max-width: 46rem; margin: 0 auto; padding: 2.5rem var(--rand) 0; }
.recht h2 { font-family: var(--display); font-size: 1.9rem; font-weight: 500; margin: 2.4rem 0 .6rem; color: var(--bordeaux); }
.recht p, .recht li { max-width: 68ch; }
.recht p + p { margin-top: .7rem; }
.recht ul { padding-left: 1.2rem; display: grid; gap: .35rem; }
.recht .bildnachweis { font-size: .95rem; }

/* ---------- Fuß: dunkel, mit großem Namen ---------- */
.fuss { margin-top: var(--abstand); padding: clamp(3.5rem, 7vw, 6rem) var(--rand) 2.4rem; background: var(--nacht); color: #e9dfcb; }
.fuss-innen { max-width: var(--breite); margin: 0 auto; }
.fuss-name { font-family: var(--display); font-weight: 500; font-size: clamp(3rem, 1.4rem + 7vw, 8rem); line-height: .95; color: var(--creme); letter-spacing: -0.01em; }
.fuss-name em { color: var(--gold-hell); }
.fuss-spalten { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(233, 223, 203, .2); }
.fuss-spalten h2 { font-family: var(--sans); font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-hell); margin-bottom: .8rem; }
.fuss-spalten ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.fuss a { color: #f6ecd6; }
.fuss-spalten a { text-decoration: none; }
.fuss-spalten a:hover { text-decoration: underline; }
.fuss-letzte { margin-top: 3rem; font-family: var(--sans); font-size: .82rem; color: #c9bda6; }
.fuss :focus-visible { outline-color: var(--gold-hell); }
@media (max-width: 54rem) { .fuss-spalten { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Bewegung ---------- */
/* Text steigt sanft auf, Bilder öffnen sich von unten wie ein Vorhang */
.js [data-auf] { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--aus), transform .9s var(--aus); }
.js [data-auf].da { opacity: 1; transform: none; }
.js [data-bild] { clip-path: inset(100% 0 0 0); transition: clip-path 1.2s var(--aus); }
.js [data-bild] img { transform: scale(1.12); transition: transform 1.6s var(--aus); }
.js [data-bild].da { clip-path: inset(0 0 0 0); }
.js [data-bild].da img { transform: none; }
.js .held h1 .zeile, .js .held .ueberzeile, .js .held-satz, .js .held .knoepfe, .js .ofen-stand { opacity: 0; transform: translateY(28px); animation: steigen 1.1s var(--aus) forwards; }
.js .held .ueberzeile { animation-delay: .1s; }
.js .held h1 .zeile:nth-child(1) { animation-delay: .2s; }
.js .held h1 .zeile:nth-child(2) { animation-delay: .32s; }
.js .held-satz { animation-delay: .5s; }
.js .held .knoepfe { animation-delay: .62s; }
.js .ofen-stand { animation-delay: .8s; }
@keyframes steigen { to { opacity: 1; transform: none; } }
.glutpunkt:not(.aus) { animation: flackern 2.6s ease-in-out infinite; }
@keyframes flackern { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-auf], .js .held h1 .zeile, .js .held .ueberzeile, .js .held-satz, .js .held .knoepfe, .js .ofen-stand { opacity: 1; transform: none; }
  .js [data-bild] { clip-path: none; }
  .js [data-bild] img { transform: none; }
}

/* Startseite: zwischen dem letzten Bildstreifen und dem Fuß bleibt ein Streifen Papier */
body[data-seite="start"] .fuss { margin-top: clamp(2.5rem, 5vw, 4.5rem); }

/* Reservieren auf der Startseite: helle Karte mit runden Ecken, Text links, Felder rechts */
.res-karte {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.6rem, 4vw, 3.4rem); align-items: center;
  max-width: 62rem; margin: 0 auto; padding: clamp(1.8rem, 4vw, 3.2rem); border-radius: var(--rund-gross);
  background: rgba(251, 247, 236, .96); color: var(--tinte); text-align: left; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
}
.res-karte h2 { font-family: var(--display); font-weight: 500; font-size: clamp(2.4rem, 1.6rem + 2.6vw, 3.6rem); line-height: 1; color: var(--bordeaux); margin-bottom: .9rem; }
.res-karte-text p:not(.schrift-zeile) { color: var(--grau); }
.res-karte-tel { margin-top: .9rem; font-family: var(--sans); font-size: .9rem; }
.res-karte-tel a { color: var(--tinte); font-weight: 600; }
.res-karte .res-kurz { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.res-feld { display: grid; gap: .35rem; }
.res-feld-breit, .res-karte .res-los { grid-column: 1 / -1; }
.res-karte .res-kurz label { margin: 0; font-size: .72rem; letter-spacing: .14em; }
.res-karte .res-kurz input, .res-karte .res-kurz select {
  min-height: 3.4rem; padding: .7rem 1rem; border: 1px solid transparent; border-radius: 12px; background: #fff;
  box-shadow: inset 0 0 0 1px var(--linie); font-family: var(--serif); font-size: 1.1rem; transition: box-shadow .2s;
}
.res-karte .res-kurz input:hover, .res-karte .res-kurz select:hover { box-shadow: inset 0 0 0 1px var(--grau); }
.res-karte .res-kurz input:focus-visible, .res-karte .res-kurz select:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--bordeaux); }
.res-karte .res-los { min-height: 3.6rem; margin-top: .3rem; border-radius: 12px; font-size: .85rem; }
.res-karte .res-los span { transition: transform .3s var(--aus); }
.res-karte .res-los:hover span { transform: translateX(.35rem); }
@media (max-width: 54rem) { .res-karte { grid-template-columns: minmax(0, 1fr); } .res-karte .res-kurz { grid-template-columns: minmax(0, 1fr); } }

/* =====================================================================
   Moderner: runde Ecken, stärkere Bewegung, stärkere Hover-Effekte
   ===================================================================== */
:root { --rund: 20px; --rund-gross: 28px; --rund-klein: 10px; }

/* Bild-Fenster: das Bild ist höher als das Fenster, damit es sich stärker bewegen kann */
.fenster > img { top: -20%; height: 140%; }

/* Bildstreifen stehen frei mit Rand und runden Ecken */
.band { margin-left: var(--rand); margin-right: var(--rand); border-radius: var(--rund-gross); }
.band::after { border-radius: inherit; }
.held { border-radius: 0 0 var(--rund-gross) var(--rund-gross); }
.seiten-bild { margin: 0 var(--rand); border-radius: 0 0 var(--rund-gross) var(--rund-gross); }

/* Fotos mit runden Ecken */
.collage .bild, .anfahrt .bild { border-radius: var(--rund); }
.kachel { border-radius: var(--rund); }
.kachel::after { border-radius: inherit; }
.kat-bild { border-radius: var(--rund); }
.gericht-bild { border-radius: var(--rund-klein); padding: 0; border: 0; }
.res-kasten, .seitenkopf.mit-bild, .res-seite, .ergebnis, .am-tisch { border-radius: 4px; }

/* Hover: Bilder zoomen deutlich, Karten heben sich */
.collage .bild img, .anfahrt .bild img { transition: transform 1.6s var(--aus), scale .8s var(--aus); }
.collage .bild:hover img, .anfahrt .bild:hover img { scale: 1.08; }
.kachel { transition: transform .5s var(--aus), box-shadow .5s var(--aus); }
.kachel > img { transition: scale .9s var(--aus); }
.kachel:hover { transform: translateY(-6px); box-shadow: 0 18px 40px -18px rgba(29, 22, 17, .55); }
.kachel:hover > img { scale: 1.12; }
.kachel:hover::after { background: rgba(20, 13, 8, .08); }
.gericht { border-radius: var(--rund-klein); transition: background-color .3s; }
.gericht-bild { transition: scale .6s var(--aus); }
.gericht:hover .gericht-bild { scale: 1.06; }
.knopf:hover, .knopf-leise:hover, .knopf-hell:hover { transform: translateY(-2px); }
.knopf:hover { box-shadow: 0 10px 22px -12px rgba(123, 30, 34, .8); }
.zutaten button:hover .leader { border-bottom-color: var(--bordeaux); }

/* Mehr Bewegung */
/* Das große Foto oben zoomt beim Öffnen langsam heraus */
.js .held > img { animation: heranfahren 2.4s var(--aus) both; }
@keyframes heranfahren { from { scale: 1.18; } to { scale: 1; } }
/* Der goldene Strich unter Überschriften zieht sich auf */
.js .titel[data-auf]::after, .js [data-auf] .titel::after { transform: scaleX(0); transition: transform 1.1s var(--aus) .3s; }
.js .titel[data-auf]:not(.titel-links)::after { transform-origin: center; }
.js .titel.links[data-auf]::after, .js [data-auf] .titel::after { transform-origin: left; }
.js .titel[data-auf].da::after, .js [data-auf].da .titel::after { transform: scaleX(1); }
/* Teile einer Gruppe kommen nacheinander */
.js .kacheln[data-auf] .kachel { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--aus), transform .9s var(--aus), box-shadow .5s var(--aus); }
.js .kacheln[data-auf].da .kachel { opacity: 1; transform: none; }
.js .kacheln[data-auf].da .kachel:nth-child(2) { transition-delay: .1s; }
.js .kacheln[data-auf].da .kachel:nth-child(3) { transition-delay: .2s; }
.js .kacheln[data-auf].da .kachel:nth-child(4) { transition-delay: .3s; }
.js .kacheln[data-auf].da .kachel:hover { transform: translateY(-6px); transition-delay: 0s; }
.js .zeiten-liste div { opacity: 0; transform: translateX(-24px); transition: opacity .8s var(--aus), transform .8s var(--aus); }
.js .da .zeiten-liste div { opacity: 1; transform: none; }
.js .da .zeiten-liste div:nth-child(2) { transition-delay: .08s; }
.js .da .zeiten-liste div:nth-child(3) { transition-delay: .16s; }
.js .da .zeiten-liste div:nth-child(4) { transition-delay: .24s; }
.js .zutaten[data-auf] li { opacity: 0; transform: translateX(-24px); transition: opacity .8s var(--aus), transform .8s var(--aus); }
.js .zutaten[data-auf].da li { opacity: 1; transform: none; }
.js .zutaten[data-auf].da li:nth-child(2) { transition-delay: .07s; }
.js .zutaten[data-auf].da li:nth-child(3) { transition-delay: .14s; }
.js .zutaten[data-auf].da li:nth-child(4) { transition-delay: .21s; }
.js .zutaten[data-auf].da li:nth-child(5) { transition-delay: .28s; }
/* Gerichte der Karte steigen nacheinander auf (js: Klasse „da“ beim Erscheinen) */
.js .gericht.kommt { opacity: 0; transform: translateY(18px); }
.js .gericht.kommt.da { opacity: 1; transform: none; transition: opacity .7s var(--aus), transform .7s var(--aus), background-color .3s; }
/* Bildstreifen: Text steigt größer auf */
.js .band-text[data-auf] { transform: translateY(40px) scale(.97); }
.js .band-text[data-auf].da { transform: none; }
/* Der große Name im Fuß */
.js .fuss-name[data-auf] { transform: translateY(40px); }

@media (prefers-reduced-motion: reduce) {
  .js .held > img { animation: none; }
  .js .kacheln[data-auf] .kachel, .js .zeiten-liste div, .js .zutaten[data-auf] li, .js .gericht.kommt { opacity: 1; transform: none; }
  .js .titel[data-auf]::after, .js [data-auf] .titel::after { transform: none; }
  .kachel:hover, .knopf:hover, .knopf-leise:hover, .knopf-hell:hover { transform: none; }
  .kachel:hover > img, .collage .bild:hover img, .anfahrt .bild:hover img, .gericht:hover .gericht-bild { scale: 1; }
}
@media (max-width: 54rem) {
  .band { margin-left: .6rem; margin-right: .6rem; border-radius: var(--rund); }
  .seiten-bild { margin: 0; }
}

/* Formular auf der Seite Reservieren: Felder mit runden Ecken wie auf der Startseite */
.feld input, .feld select, .feld textarea, .link-kasten input { border-radius: 12px; }
.formular .knopf, .link-kasten .knopf-leise { border-radius: 12px; }

/* Kleines Plateline-Zeichen: Reservierung und Fuß verweisen auf Plateline (Wiedererkennung auf allen Restaurant-Websites) */
.mit-plateline { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--sans); font-size: .78rem; color: var(--grau); text-decoration: none; white-space: nowrap; }
.mit-plateline .pl-zeichen { width: 1.9rem; height: 1rem; color: var(--tinte); flex: none; }
.mit-plateline .pl-wort { font-size: .9rem; letter-spacing: -0.01em; color: var(--tinte); }
.mit-plateline .pl-wort b { font-weight: 700; }
.mit-plateline:hover .pl-wort { text-decoration: underline; text-underline-offset: 3px; }
.mit-plateline .pl-zeichen circle:nth-of-type(3) { transition: transform .4s var(--aus); transform-origin: 96px 32px; }
.mit-plateline:hover .pl-zeichen circle:nth-of-type(3) { transform: scale(1.12); }
.res-marke { grid-column: 2; justify-self: end; margin-top: -.4rem; }
.res-raster .res-marke { display: flex; justify-content: flex-end; margin-top: 1rem; }
@media (max-width: 54rem) { .res-marke { grid-column: 1; justify-self: center; } }
.fuss-letzte { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.fuss .mit-plateline { color: #c9bda6; }
.fuss .mit-plateline .pl-zeichen, .fuss .mit-plateline .pl-wort { color: #f6ecd6; }
