/* Nice to Eat V2 - Gestaltung nach dem Stand-Banner (schwarze Blache, weisses Oval, rote Schreibschrift) */
@font-face { font-family: "Anton"; src: url("schriften/anton-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("schriften/barlow-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("schriften/barlow-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("schriften/barlow-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Kaushan Script"; src: url("schriften/kaushan-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --blache: #000000;      /* Banner */
  --weiss: #ffffff;       /* Logo-Oval, Tischtuch */
  --flamme: #d42a1f;      /* Schriftzug und Flamme im Logo */
  --flamme-hell: #ff3b2e; /* Logo-Rot (#ed1c24) leicht aufgehellt: auf Schwarz 4.8:1 auch mit gedrehter Schrift (Ben, Runde 2) */
  --schiefer: #262626;    /* Text */
  --rauch: #5c5c5c;       /* Nebentext */
  --linie: #d9d9d9;
  --oese: #b9bcc0;

  /* Bedeutungs-Farben fuer die hellen Abschnitte; im Dunkelmodus unten umgestellt */
  color-scheme: light dark;
  --grund: var(--weiss);    /* Seitengrund */
  --tinte: var(--schiefer); /* Fliesstext */
  --kontur: var(--blache);  /* kraeftige Linien, Feldrahmen */
  --feld: var(--weiss);     /* Eingabefelder */
  --akzent: var(--flamme);  /* rote Schrift auf dem Seitengrund */

  --titel: "Anton", Impact, "Arial Narrow", sans-serif;
  --text: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --hand: "Kaushan Script", "Brush Script MT", cursive;

  --rand: clamp(1rem, 4vw, 3rem);
  --breite: 76rem;
  --luft: clamp(4rem, 9vw, 7.5rem);

  /* Schriftgroessen, Verhaeltnis ca. 1.333 */
  --g-0: 1.125rem;
  --g-1: 1.375rem;
  --g-2: clamp(1.6rem, 2.6vw, 2.1rem);
  --g-3: clamp(2.2rem, 4.6vw, 3.6rem);
  --g-4: clamp(2.8rem, 7vw, 5.6rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--grund); color: var(--tinte); font-family: var(--text); font-size: var(--g-0); line-height: 1.55; }
:is(img, canvas.bild) { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.nw { white-space: nowrap; }
/* Samsung-Ersatz (Skript im Fuss): gemalte Knopfflaeche und gemalte Schreibschrift */
canvas.flaeche { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: inherit; z-index: -1; pointer-events: none; }
canvas.schrift { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--flamme); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--titel); font-weight: 400; line-height: 1.02; letter-spacing: 0.005em; margin: 0 0 0.5em; }
h2 { font-size: var(--g-3); max-width: 20ch; }
h3 { font-size: var(--g-2); }
p { margin: 0 0 1em; max-width: 62ch; }
.skip { position: absolute; left: 1rem; top: -10rem; background: var(--weiss); color: var(--blache); padding: 0.6rem 1rem; z-index: 10; }
.skip:focus { top: 1rem; }

.innen { max-width: var(--breite); margin-inline: auto; padding-inline: var(--rand); }
.abschnitt { padding-block: var(--luft); }

/* ---------- Kopf ---------- */
.kopf { background: var(--blache); color: var(--weiss); }
.kopf .innen { display: flex; align-items: center; gap: 1rem 2rem; min-height: 4.5rem; flex-wrap: wrap; }
.marke { display: flex; align-items: center; gap: 0.75rem; margin-right: auto; text-decoration: none; font-family: var(--titel); font-size: 1.5rem; letter-spacing: 0.02em; }
.marke :is(img, canvas.bild) { height: 2.9rem; width: auto; }
.kopf nav ul { list-style: none; display: flex; gap: 0.25rem 1.5rem; margin: 0; padding: 0; flex-wrap: wrap; }
.kopf nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0.5rem 0; text-decoration: none; font-weight: 600; }
.kopf nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--flamme-hell); text-decoration-thickness: 3px; text-underline-offset: 0.4em; }
.kopf .anruf { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; text-decoration: none; padding: 0.55rem 1rem; background: var(--flamme); border-radius: 999px; white-space: nowrap; }
.kopf .sozial { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 44px; padding: 0.5rem 0.95rem; font-weight: 600; text-decoration: none; border: 2px solid var(--weiss); border-radius: 999px; white-space: nowrap; }
.kopf .sozial:hover, .kopf .sozial:focus-visible { background: var(--weiss); color: var(--blache); }
.kopf .sozial svg { width: 1.2rem; height: 1.2rem; flex: none; }
.kopf__aktionen { display: flex; align-items: center; gap: 0.6rem; }
.mit-symbol { display: inline-flex; align-items: center; gap: 0.45rem; }
.mit-symbol svg { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Einstieg: Essen oben, Blache darunter ---------- */
.theke { background: var(--blache); }
.theke__bild { margin: 0; }
.theke__bild :is(img, canvas.bild) { width: 100%; height: clamp(14rem, 38vh, 26rem); object-fit: cover; object-position: center 45%; }

.blache {
  position: relative; background: var(--blache); color: var(--weiss);
  padding: clamp(2rem, 3.5vw, 3rem) var(--rand) clamp(2.5rem, 4vw, 3.5rem);
  --oese-bild: radial-gradient(circle, var(--blache) 0 0.3rem, var(--oese) 0.32rem 0.55rem, transparent 0.57rem);
  background-image: var(--oese-bild), var(--oese-bild), var(--oese-bild), var(--oese-bild);
  background-repeat: no-repeat;
  background-size: 1.2rem 1.2rem;
  background-position: 1rem 1rem, calc(100% - 1rem) 1rem, 1rem calc(100% - 1rem), calc(100% - 1rem) calc(100% - 1rem);
}
.blache__raster { max-width: var(--breite); margin-inline: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem 3rem; }
.blache__spruch { margin: 0; font-family: var(--hand); color: var(--flamme-hell); font-size: clamp(2.8rem, 5.2vw, 4.6rem); line-height: 1.1; transform: rotate(-5deg); white-space: nowrap; }
.blache__mitte { text-align: center; }
.oval { width: clamp(12rem, 19vw, 16rem); margin: calc(-1 * clamp(4.5rem, 7vw, 6rem)) auto 0.5rem; padding: 0.45rem; background: var(--blache); border-radius: 50%; position: relative; }
.oval :is(img, canvas.bild) { width: 100%; height: auto; }
.blache h1 { font-size: clamp(2.8rem, 5.4vw, 5.6rem); margin: 0 0 0.3em; white-space: nowrap; }
.blache__mitte p { margin: 0 auto; max-width: 34ch; font-size: var(--g-1); line-height: 1.4; }
.blache__kontakt { justify-self: end; display: grid; gap: 0.9rem; font-size: var(--g-1); }
.blache__kontakt a { text-decoration: none; }
.blache__tel { min-height: 44px; white-space: nowrap; font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2rem); display: flex; align-items: center; gap: 0.6rem; }
.blache__tel svg, .blache__insta svg { flex: none; }
.blache__insta { display: flex; align-items: center; gap: 0.6rem; min-height: 44px; }

.knopf { display: inline-block; font-family: var(--text); font-weight: 700; font-size: var(--g-0); text-decoration: none; padding: 0.85rem 1.4rem; border-radius: 999px; background: var(--flamme); color: var(--weiss); border: 0; cursor: pointer; }
.knopf:hover { background: #b52018; }
.knopf--hell { background: var(--weiss); color: var(--blache); }
.knopf--hell:hover { background: #ececec; }

/* ---------- Karte ---------- */
.karte { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.karte__bilder { display: grid; gap: 1rem; position: sticky; top: 1.5rem; }
.karte__bilder :is(img, canvas.bild) { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0.5rem; }
.gerichte { margin: 0; }
.gericht { padding: 1.4rem 0; border-top: 2px solid var(--kontur); }
.gericht:last-child { border-bottom: 2px solid var(--kontur); }
.gericht dt { font-family: var(--titel); font-size: var(--g-2); line-height: 1.1; }
.gericht dd { margin: 0.35rem 0 0; color: var(--tinte); max-width: 46ch; }
.vorspann { font-size: var(--g-1); color: var(--rauch); max-width: 44ch; }

/* ---------- Galerie quer ueber die ganze Breite ---------- */
.galerie { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(11rem, 19vw, 17rem); grid-auto-flow: dense; gap: 0.5rem; padding-inline: 0.5rem; }
.galerie a { display: block; overflow: hidden; border-radius: 0.35rem; }
.galerie :is(img, canvas.bild) { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.galerie a:hover :is(img, canvas.bild) { transform: scale(1.03); }
.galerie .breit { grid-column: span 2; }
.galerie .hoch { grid-row: span 2; }
.galerie-kopf { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.galerie-kopf h2 { margin: 0; }
.galerie-kopf a { font-weight: 700; color: var(--akzent); }

/* ---------- Zweispaltig mit grossem Bild ---------- */
.mit-bild { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.mit-bild--rechts { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.mit-bild--rechts > figure { order: 2; }
.mit-bild figure { margin: 0; }
.mit-bild :is(img, canvas.bild) { width: 100%; border-radius: 0.5rem; }
figcaption { font-size: 0.95rem; color: var(--rauch); margin-top: 0.6rem; }
.anlaesse { list-style: none; margin: 1.25rem 0 0; padding: 0; }
.anlaesse li { padding: 0.65rem 0; border-top: 1px solid var(--linie); }
.anlaesse li:last-child { border-bottom: 1px solid var(--linie); }

/* ---------- Ablauf (echte Reihenfolge) ---------- */
.dunkel { background: var(--blache); color: var(--weiss); }
.schritte { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; counter-reset: schritt; }
.schritte li { counter-increment: schritt; border-top: 2px solid var(--weiss); padding-top: 1rem; }
.schritte li::before { content: counter(schritt); display: block; font-family: var(--titel); font-size: var(--g-3); color: var(--flamme-hell); line-height: 1; margin-bottom: 0.5rem; }
.schritte strong { display: block; font-size: var(--g-1); margin-bottom: 0.3rem; }
.dunkel .hinweis { margin-top: 2.5rem; font-size: var(--g-1); }

/* ---------- Fragen ---------- */
.fragen { max-width: 52rem; }
.fragen details { border-top: 2px solid var(--kontur); }
.fragen details:last-child { border-bottom: 2px solid var(--kontur); }
.fragen summary { cursor: pointer; list-style: none; padding: 1.15rem 2.5rem 1.15rem 0; font-weight: 700; font-size: var(--g-1); position: relative; }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: "+"; position: absolute; right: 0.25rem; top: 50%; transform: translateY(-50%); font-family: var(--titel); font-size: 1.8rem; color: var(--akzent); }
.fragen details[open] summary::after { content: "\2212"; }
.fragen details p { margin: 0 0 1.25rem; }

/* ---------- Schluss ---------- */
.schluss { text-align: center; }
.schluss .spruch { font-family: var(--hand); color: var(--akzent); font-size: clamp(2.6rem, 6vw, 4.5rem); line-height: 1; margin: 0 0 1rem; transform: rotate(-4deg); }
.schluss h2 { margin-inline: auto; }
.schluss p { margin-inline: auto; }
.schluss .aktionen { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }
.tel-gross { font-weight: 700; font-size: var(--g-2); text-decoration: none; padding: 0.4rem 0; }

/* ---------- Unterseiten ---------- */
.seitenkopf { background: var(--blache); color: var(--weiss); padding-block: clamp(3rem, 7vw, 5rem); }
.seitenkopf h1 { font-size: var(--g-4); margin: 0 0 0.3em; }
.seitenkopf p { font-size: var(--g-1); margin: 0; }
.text h2 { font-size: var(--g-2); margin-top: 2.2em; }
.text dl.angaben { display: grid; grid-template-columns: max-content 1fr; gap: 0.5rem 2rem; margin: 0 0 2rem; }
.text dl.angaben dt { font-weight: 700; }
.text dl.angaben dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 34rem) {
  .text dl.angaben { grid-template-columns: 1fr; gap: 0.1rem; }
  .text dl.angaben dd { margin-bottom: 0.8rem; }
}
.alle-bilder { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); gap: 0.75rem; }
.alle-bilder figure { margin: 0; }
.alle-bilder a { display: block; overflow: hidden; border-radius: 0.35rem; }
.alle-bilder :is(img, canvas.bild) { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- Formular ---------- */
.kontakt-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.kontakt-raster address { font-style: normal; font-size: var(--g-1); }
.kontakt-raster address p { margin-bottom: 0.8rem; }
form div { margin-bottom: 1.1rem; }
label { display: block; font-weight: 600; margin-bottom: 0.35rem; }
.pflicht { font-weight: 400; color: var(--rauch); }
input, textarea { width: 100%; font: inherit; padding: 0.75rem 0.85rem; border: 2px solid var(--kontur); border-radius: 0.35rem; background: var(--feld); color: var(--tinte); }
textarea { min-height: 9rem; resize: vertical; }
/* iPhone: keine eigene Feldoptik (Innenschatten, Rundung), leeres Datumsfeld nicht zusammenfallen lassen */
/* Datumsfeld ausgenommen: ohne eigene Optik zeigt Samsung Internet es leer (kein tt.mm.jjjj, kein Kalender; S24, 05.11.2026) */
input:not([type="date"]), textarea, button { -webkit-appearance: none; appearance: none; }
input[type="date"] { min-height: 3.2rem; display: block; text-align: left; }
input[type="date"]::-webkit-date-and-time-value { text-align: left; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
.zweier { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.falle { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- Fuss ---------- */
.fuss { background: var(--blache); color: var(--weiss); padding-block: 3rem; font-size: 1rem; }
.fuss .innen { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.fuss address { font-style: normal; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.fuss .marke { font-size: 1.3rem; margin-bottom: 0.75rem; }
.prototyp { max-width: none; margin: 0; padding: 0.6rem var(--rand); background: #ffd400; color: #111; font-weight: 700; text-align: center; }

/* ---------- Schmal ---------- */
@media (max-width: 72rem) {
  .blache__raster { grid-template-columns: 1fr; text-align: center; }
  .blache__spruch { order: 1; margin-inline: auto; max-width: none; font-size: clamp(2.2rem, 7vw, 3.4rem); }
  .blache__spruch br { display: none; }
  .theke__bild :is(img, canvas.bild) { height: clamp(11rem, 24vh, 16rem); }
  .oval { width: clamp(9rem, 14vw, 11rem); margin-top: -4rem; }
  .blache { padding-block: 1.25rem 2rem; }
  .blache__raster { gap: 0.75rem; }
  .blache__spruch { margin-block: 0.4rem 1rem; }
  .blache h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); }
  .blache__mitte { order: 2; }
  .blache__kontakt { order: 3; justify-self: center; justify-items: center; }
}
@media (max-width: 60rem) {
  .kopf nav { order: 3; width: 100%; }
  .kopf .innen { gap: 0.25rem 1rem; padding-top: 0.5rem; }
  .karte, .mit-bild, .mit-bild--rechts, .kontakt-raster { grid-template-columns: 1fr; }
  .mit-bild--rechts > figure { order: 0; }
  .karte__bilder { position: static; grid-template-columns: 1fr 1fr; }
  .schritte { grid-template-columns: 1fr 1fr; }
  .galerie { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 11rem; }
  .fuss .innen { grid-template-columns: 1fr; }
}
@media (max-width: 34rem) {
  .marke span { display: none; }
  .marke :is(img, canvas.bild) { height: 2.6rem; }
  .kopf .anruf { font-size: 0.95rem; padding: 0.5rem 0.85rem; }
  .kopf .sozial { padding: 0.5rem; width: 44px; justify-content: center; }
  .kopf .sozial span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .schritte { grid-template-columns: 1fr; }
  .zweier { grid-template-columns: 1fr; }
  .galerie .hoch { grid-row: span 1; }
  .theke__bild :is(img, canvas.bild) { height: 15rem; }
}
/* ---------- Dunkelmodus ----------
   Eigene Palette, damit Samsung Internet und Chrome die Seite nicht selbst umfaerben.
   Banner-Flaechen (Kopf, Blache, Ablauf, Seitenkopf, Fuss) bleiben schwarz wie im Original;
   nur die weissen Abschnitte werden dunkelgrau, damit die Banner sich weiter abheben. */
@media (prefers-color-scheme: dark) {
  :root {
    --grund: #161616;
    --tinte: #e8e8e8;
    --rauch: #a9a9a9;
    --linie: #3a3a3a;
    --kontur: #d6d6d6;
    --feld: #1f1f1f;
    --akzent: var(--flamme-hell);
  }
}
@media (prefers-reduced-motion: reduce) {
  .galerie :is(img, canvas.bild) { transition: none; }
  .galerie a:hover :is(img, canvas.bild) { transform: none; }
}
