/*
  Orderly.Site — eigenständiges Stylesheet der Marketing-Seite. Bewusst getrennt von orderly.css: dessen
  Klassennamen sind für Web, MAUI und bUnit stabil, und beide Seiten teilen inzwischen dieselbe helle
  Grundfläche (Creme/Weiß) — Dunkelrot und Gold bleiben hier wie dort Akzent, nicht Grund (Task 15: der
  Betreiber fand die alte Glut-Grundfläche zu dunkel).
  Tokens: siehe orderly.css (--md-surface #fff8f7, --md-primary #b11226, --md-tertiary #785900). Kontrast:
  jeder Text >= 4,5:1 (ContrastTests prüft die Paare).
*/
:root {
  --bg: #fff8f7;
  --surface: #fff7e0;
  --surface-2: #ffe9b8;
  --card: #ffffff;
  --ink: #2b1a17;
  --ink-soft: #5a4038;
  --primary: #b11226;
  --primary-deep: #7d0c19;
  --gold: #e8ba5a;
  --gold-text: #785900;
  --line: rgba(125, 12, 25, .18);
  --max: 1180px;
  --r: 16px;
  /* Zwei Radien statt vier: --r für Behälter (Karten, Schritte, Formular), --r-sm für Bilder und Eingabefelder. */
  --r-sm: 12px;
  /* Höhe der klebrigen Kopfzeile — Anker (#main, #anfrage, #fehler-…, #kat-…) halten so viel Abstand, damit
     ihr Ziel nicht unter der Kopfzeile verschwindet. Mobil zweizeilig, siehe @media unten. */
  --topbar-h: 72px;
  --font: "Cairo", "Segoe UI", Tahoma, Arial, sans-serif;
  --font-ar: "Amiri", "Cairo", serif;
}

/* Schriften — selbst gehostet, unicode-range aus Googles CSS (siehe fonts/NOTICE.md). */
@font-face { font-family: 'Cairo'; font-style: normal; font-weight: 400 900; font-display: swap; src: url('/fonts/cairo-arabic.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1; }
@font-face { font-family: 'Cairo'; font-style: normal; font-weight: 400 900; font-display: swap; src: url('/fonts/cairo-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: 'Cairo'; font-style: normal; font-weight: 400 900; font-display: swap; src: url('/fonts/cairo-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; }
/* Amiri: unicode-range aus Googles CSS-Antwort für den arabic-Block übernehmen (Task 9, Step 3). */
@font-face { font-family: 'Amiri'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/amiri-arabic.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); line-height: 1.7; background: var(--bg); }
/* Fuß bleibt unten, auch wenn die Seite kurz ist (Danke-Seiten): sonst zeigt sich unter dem dunklen Band
   leerer Grund. main ist selbst eine Flex-Spalte, damit ein Hero (.hero-fill) den Rest füllen kann. */
body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; display: flex; flex-direction: column; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); }
h1, h2, h3 { color: var(--primary-deep); line-height: 1.2; margin: 0 0 .5em; }
/* Nur der große Name bekommt Amiri (Auftrag „Arabisch": Fließtext bleibt Cairo, das hat selbst arabische
   Glyphen) — ein pauschales [lang="ar"] würde auf /ar/-Seiten (<html lang="ar">) die GANZE Seite, inklusive
   Knöpfe und Formulare, in die Ziertype kippen. */
.name-ar, .footer [lang="ar"] { font-family: var(--font-ar); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--primary-deep); color: var(--surface); padding: 8px 16px; border-radius: 999px; z-index: 100; }
.skip-link:focus { inset-inline-start: 8px; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
/* Der Skip-Link darf nicht unter der klebrigen Kopfzeile landen. */
#main { scroll-margin-top: var(--topbar-h); }
/* Fehlerhinweise und das Anfrage-Formular sind Sprungziele (#fehler-…, #anfrage): ohne Abstand lägen sie
   genau unter der klebrigen Kopfzeile, und der Hinweis wäre unsichtbar (Audit G2). */
.error-block, #anfrage { scroll-margin-top: calc(var(--topbar-h) + 24px); }

/* Kopf: hell, mit Blur */
.topbar { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px max(16px, calc((100% - var(--max)) / 2)); background: rgba(255, 248, 247, .9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--primary-deep); font-weight: 900; letter-spacing: 2px; }
.brand-name { white-space: nowrap; }
.brand img { border-radius: 50%; border: 2px solid var(--gold); }
.topnav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.topnav a { color: var(--ink); text-decoration: none; font-weight: 700; min-height: 24px; }
/* Aktuelle Seite (aria-current, setzt SiteLayout) und Hover: Rot mit goldener Unterstreichung — dieselbe
   Sprache wie die Goldlinie unter den Sektionstiteln. Der goldene Bestellknopf bleibt davon unberührt. */
.topnav a:not(.btn) { display: inline-flex; align-items: center; min-height: 36px; flex: none;
  text-decoration: underline 3px transparent; text-underline-offset: 8px; transition: color .15s ease, text-decoration-color .15s ease; }
.topnav a:not(.btn):hover { color: var(--primary); text-decoration-color: rgba(232, 186, 90, .6); }
.topnav a[aria-current="page"] { color: var(--primary); text-decoration-color: var(--gold); }

/* Handlungen: dunkle Schrift auf Gold; Creme auf tiefem Rot; Umriss in Rot */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 24px; border-radius: 999px;
  font-weight: 800; text-decoration: none; border: 2px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease; }
.btn:hover { transform: translateY(-2px); }
/* <button> erbt die Schrift nicht von selbst — sonst steht „Anfrage senden" in der Systemschrift. */
button.btn { font-family: inherit; font-size: 1rem; cursor: pointer; }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 6px 24px rgba(177, 18, 38, .18); }
.btn-gold:hover { box-shadow: 0 10px 28px rgba(177, 18, 38, .25); }
.btn-ghost { background: transparent; color: var(--primary-deep); border-color: var(--primary-deep); }
/* Hover füllt den Umriss: Creme auf tiefem Rot ist ein geprüftes Kontrastpaar (ContrastTests). */
.btn-ghost:hover { background: var(--primary-deep); color: var(--surface); }
.btn-deep { background: var(--primary-deep); color: var(--surface); }

/* Hero: warmer Verlauf statt Glut — Logo-Badge und goldene Linie bleiben die Marke */
.hero { min-height: 92vh; display: grid; place-items: center; text-align: center; padding: 48px 16px; position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 70%); border-bottom: 1px solid var(--line); }
.hero-inner { position: relative; max-width: 780px; }
.logo-badge { width: 96px; height: 96px; margin: 0 auto 16px; border-radius: 50%; background: #fff; display: grid; place-items: center;
  box-shadow: 0 0 0 4px var(--gold), 0 12px 40px rgba(177, 18, 38, .15); }
.eyebrow { color: var(--primary); text-transform: uppercase; letter-spacing: 3px; font-weight: 700; margin: 0 0 8px; }
.name-de { color: var(--primary-deep); font-size: clamp(38px, 7vw, 72px); font-weight: 900; letter-spacing: 4px; margin: 0; }
/* Zweite h1-Zeile mit dem Suchbegriff (Küche + Ort) — gehört zum h1, sieht aber wie eine Unterzeile aus. */
.h1-sub { display: block; font-size: clamp(17px, 2.4vw, 24px); font-weight: 700; letter-spacing: 0; line-height: 1.3; color: var(--ink); margin-top: 6px; }
.name-ar { color: var(--gold-text); font-size: clamp(26px, 4.5vw, 40px); margin: 4px 0 12px; }
.sub { font-size: 1.1rem; color: var(--ink-soft); }
.chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0; margin: 12px 0 24px; }
.chip { padding: 4px 14px; border-radius: 999px; border: 1px solid var(--gold); color: var(--ink); background: var(--card); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
/* Knöpfe unter einer linksbündigen (RTL: rechtsbündigen) Spalte beginnen an deren Kante, nicht in der Mitte (Audit L4). */
.actions-start { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 12px; }
.open-badge { margin: 20px 0 0; min-height: 28px; color: var(--gold-text); font-weight: 700; }
.open-badge::before { content: "●"; margin-inline-end: 6px; color: #7ec348; }
/* Das hidden-Attribut setzt display:none - der Platz muss trotzdem stehen, sonst springt der Hero, sobald
   site.js das Badge nach dem fetch wieder einblendet (I4, Review "final-fix"). */
.open-badge[hidden] { display: block; visibility: hidden; }
/* Kleinerer Hero für Unterseiten (Speisekarte, Catering, Kontakt, Danke): ein kompakter Seitenkopf statt einer
   halb leeren Fläche — die Höhe kommt aus dem Inhalt, nicht aus vh (Audit G4/K2). */
.hero-small { min-height: 0; padding-block: 64px 56px; }
/* Das h1 der Unterseiten war ungestylt (32px/700) und damit kleiner als jedes h2 darunter (Audit G3). */
.hero-small h1 { font-size: clamp(34px, 5.5vw, 56px); font-weight: 900; letter-spacing: .5px; margin: 0 0 8px; }
.hero-small .sub { margin: 0; }
.hero-small .hero-actions { margin-top: 24px; }
/* Danke-Seiten: der Hero füllt den Platz bis zum Fuß (main ist eine Flex-Spalte). */
.hero-fill { flex: 1 0 auto; }
/* Bestätigung ohne Schriftzeichen: ein gezeichneter Haken im Goldkreis — hängt von keiner Glyphe ab. */
.done-badge { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: var(--gold); display: grid; place-items: center;
  box-shadow: 0 0 0 4px var(--card), 0 10px 30px rgba(177, 18, 38, .15); }
.done-badge::before { content: ""; width: 14px; height: 26px; margin-block-end: 6px; border: solid var(--ink); border-width: 0 4px 4px 0; transform: rotate(45deg); }

/* Sektionen */
.section { padding: 64px max(16px, calc((100% - var(--max)) / 2)); }
.section-title { text-align: center; font-size: clamp(26px, 4vw, 40px); color: var(--primary-deep); position: relative; margin-bottom: 32px; }
.section-title::after { content: ""; display: block; width: 120px; height: 4px; margin: 12px auto 0; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
/* Feste Spaltenzahl statt auto-fit: auto-fit machte bei 1180px vier Spalten, sechs Gerichte standen 4 + 2
   und rechts blieb ein Loch (Audit L1). Alle .grid3-Listen haben 3 oder 6 Einträge. */
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card, .value, .tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; box-shadow: 0 4px 18px rgba(43, 26, 23, .06); }
/* Innenabstand gleichmäßig: der letzte Absatz trug seine 16px Rand zusätzlich zum Padding (Audit G8). */
.card h3, .value h3 { margin-bottom: 6px; }
.card p, .value p { margin: 0 0 16px; }
.card > :last-child, .value > :last-child, .tile > :last-child, .facts div > :last-child, .steps li > :last-child { margin-bottom: 0; }
/* Die Fotos sind 16:9 mit goldener Zierlinie oben und unten — 16:10 schneidet nur wenig ab, feste 220px
   Höhe schnitt bei schmalen Karten 40 % der Breite weg (Audit L2). */
.card img { border-radius: var(--r-sm); margin-bottom: 14px; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
/* Knopf der Gerichtkarte immer unten, egal wie lang die Beschreibung ist (Audit L9). */
.card.highlight { display: flex; flex-direction: column; }
.card.highlight .btn { margin-top: auto; align-self: flex-start; }
/* Catering-Angebote: fünf Karten als 3 + 2, die zweite Reihe mittig — kein einzelner Nachzügler (Audit C1). */
.offers-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.offers-grid > .card { flex: 0 1 calc((100% - 40px) / 3); }
.brand img, .logo-badge img { object-fit: contain; background: #fff; }
.logo-badge img { border-radius: 50%; }
/* Catering-Hero mit Foto: das Foto soll zu sehen sein (der alte Schleier ließ nur ~10 % durch, Audit C3).
   Der Kontrast hängt deshalb nicht am Schleier, sondern an der fast deckenden Tafel hinter dem Text —
   dunkle Schrift auf ~95 % Creme, die geprüften Token-Paare gelten dort weiter. */
.hero-photo { min-height: 56vh; background: linear-gradient(rgba(255, 248, 247, .25), rgba(255, 248, 247, .45)), url('/img/catering-hochzeit.jpeg') center / cover no-repeat; }
.hero-photo .hero-inner { background: rgba(255, 248, 247, .95); padding: 28px 40px; border-radius: var(--r); border: 1px solid var(--line);
  box-shadow: 0 16px 48px rgba(43, 26, 23, .18); }
.teaser-photo { display: block; width: 100%; max-width: 900px; height: auto; margin: 0 auto 24px; border-radius: var(--r); border: 2px solid var(--gold); }
.card h3, .value h3 { color: var(--primary); }
/* Kacheln „So kommst du dran": dieselbe Titelsprache wie die Karten, das Emoji im Goldring (auf Weiß war
   🥡 fast unsichtbar), und die verlinkten Kacheln zeigen per Pfeil und Hover, dass sie Links sind (Audit L8). */
.tile { display: grid; gap: 8px; align-content: start; text-decoration: none; color: var(--ink); text-wrap: pretty; }
.tile b { color: var(--primary); font-size: 1.1rem; }
.tile-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 2px var(--gold); font-size: 1.6rem; }
a.tile b::after { content: "→"; display: inline-block; margin-inline-start: 8px; color: var(--gold-text); }
a.tile:dir(rtl) b::after { transform: scaleX(-1); }
/* translate statt transform: .reveal.is-in setzt transform:none mit höherer Spezifität. */
a.tile, .js-reveal a.tile.reveal { transition: opacity .6s ease, transform .6s ease, translate .15s ease, box-shadow .15s ease, border-color .15s ease; }
a.tile:hover { translate: 0 -3px; box-shadow: 0 10px 28px rgba(43, 26, 23, .10); border-color: var(--gold); }
.story { max-width: 760px; margin: 32px auto 0; color: var(--ink-soft); }
/* Ein Satz in einem zentrierten Block: mittig, sonst hängt er links neben der Kartenreihe (Audit C6). */
.price-note { text-align: center; font-size: .95rem; }
.teaser { text-align: center; background: linear-gradient(135deg, var(--primary-deep), var(--primary)); color: var(--surface); border-block: 1px solid var(--line); }
.teaser h2 { color: var(--surface); font-size: clamp(26px, 3.4vw, 38px); }
.visit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; align-items: start; }
/* Adresse + Zeiten als Karte: beide Spalten von „Besuch uns" tragen so gleich viel (Audit L7), und auf
   /kontakt/ steht die Karte mittig über dem Formular statt allein am linken Rand (Audit K1). */
.visit-info { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: 0 4px 18px rgba(43, 26, 23, .06); }
.visit-info h3 { margin-top: 0; }
.visit-card { max-width: 720px; margin-inline: auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 8px 32px; }
.visit-card > .actions-start { grid-column: 1 / -1; }
address { font-style: normal; margin-bottom: 16px; }
.hours { border-collapse: collapse; margin-bottom: 20px; }
.hours th { color: var(--primary-deep); }
.hours th, .hours td { text-align: start; padding-block: 4px; padding-inline: 0 16px; }
.interior { border-radius: var(--r); border: 1px solid var(--line); }

/* Speisekarte: klebrige Kategorie-Leiste oben, darunter je Kategorie eine weiße Karte mit Zeilen wie auf
   einer gedruckten Karte — 100 einzelne Schatten-Karten in einer 1180px-Spalte machten die Seite 12 800px
   lang und rückten den Preis 1100px vom Namen weg. Ab 900px zwei Spalten. */
.menu-nav { position: sticky; top: var(--topbar-h); z-index: 40; display: flex; flex-wrap: nowrap; justify-content: flex-start; justify-content: safe center;
  gap: 8px; margin: 0 auto 40px; padding: 8px; overflow-x: auto; scrollbar-width: none; list-style: none;
  background: rgba(255, 248, 247, .92); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 6px 20px rgba(43, 26, 23, .06); }
.menu-nav::-webkit-scrollbar { display: none; }
.menu-nav a { flex: none; padding: 6px 16px; border-radius: 999px; border: 1px solid var(--gold); color: var(--ink); background: var(--card); text-decoration: none; font-weight: 700; }
.menu-nav a:hover, .menu-nav a:focus-visible { background: var(--gold); }
/* Sprungziel unter Kopfzeile UND Kategorie-Leiste. */
.menu-cat { margin-bottom: 56px; scroll-margin-top: calc(var(--topbar-h) + 80px); }
.menu-cat:last-child { margin-bottom: 0; }
.menu-list { list-style: none; margin: 0 0 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px;
  padding: 0 28px; overflow: hidden; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 4px 18px rgba(43, 26, 23, .06); }
/* Eine Kategorie mit einem Gericht bekommt keine halb leere Zwei-Spalten-Karte. */
.menu-list:has(> :only-child) { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; }
/* Trennlinie oben; die der ersten Reihe liegt 1px über der Karte und wird von overflow:hidden abgeschnitten. */
.menu-item { padding: 16px 0; border-top: 1px dashed rgba(125, 12, 25, .22); margin-top: -1px; }
.menu-item-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-weight: 700; }
.menu-item-name { color: var(--primary-deep); }
.menu-item-price { color: var(--primary); white-space: nowrap; font-variant-numeric: tabular-nums; }
.menu-item-desc { color: var(--ink-soft); margin: 4px 0 0; font-size: .95rem; line-height: 1.55; }
.menu-diet { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 8px 0 0; }
.menu-diet .chip { padding: 0 10px; font-size: .8rem; font-weight: 700; line-height: 1.8; }
.menu-allergens { font-size: .85rem; color: var(--ink-soft); margin: 6px 0 0; }
/* Ausverkauft bleibt sichtbar (Auftrag) — nur gedimmt, kein display:none. Der Hinweis selbst bleibt voll
   deckend: gedimmt läge Rot auf Weiß unter 4,5:1. */
.menu-item.is-sold-out > :not(.menu-soldout) { opacity: .55; }
.menu-item.is-sold-out .menu-item-price { text-decoration: line-through; }
.menu-soldout { font-weight: 800; color: var(--primary); text-transform: uppercase; font-size: .8rem; letter-spacing: .5px; margin: 6px 0 0; }
.menu-fallback { text-align: center; color: var(--ink-soft); max-width: 640px; margin: 0 auto 24px; }
.menu-flyer-link { margin: 12px 0 0; font-weight: 700; }

/* Formulare: weiße Karte auf Creme */
.form-card { background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; max-width: 720px; margin: 0 auto; }
.form-card a { color: var(--primary-deep); }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 700; }
/* #c9b48a auf Weiß liegt bei ~1,9:1 — WCAG 1.4.11 will ≥ 3:1 für Bedienelement-Ränder; #7a5c2e schafft das.
   Einheitlich 48px hoch: Eingabe, Auswahl und Absende-Knopf waren 51/55/44px (Audit C8). */
.field input, .field select, .field textarea { font: inherit; line-height: 1.4; padding: 10px 12px; border: 2px solid #7a5c2e; border-radius: var(--r-sm); background: #fff; color: var(--ink); min-height: 48px; }
.field select { appearance: none; background: #fff url('/img/chevron-down.svg') right 14px center / 14px no-repeat; padding-inline-end: 40px; }
.field select:dir(rtl) { background-position: left 14px center; }
.field textarea { min-height: 140px; }
/* Radios: die Feldregel oben machte jeden Radio 13×44 — Punkt oben, Wort unten. Jetzt Auswahl-Pillen in der
   Knopfsprache, das Fieldset ohne Browser-Rahmen, die Legende fett wie jedes andere Label (Audit C5). */
fieldset.field { border: 0; padding: 0; margin: 0 0 14px; min-width: 0; display: flex; flex-wrap: wrap; gap: 8px; }
fieldset.field legend { font-weight: 700; padding: 0; margin-bottom: 6px; }
.field input[type=radio] { min-height: 0; width: 20px; height: 20px; padding: 0; margin: 0; accent-color: var(--primary); }
fieldset.field > label { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding-inline: 16px; border: 2px solid #7a5c2e; border-radius: 999px; cursor: pointer; }
fieldset.field > label:has(input:checked) { border-color: var(--primary); background: #fff4f4; }
/* Lieferadresse nur, wenn Lieferung gewählt ist — site.js macht sie dann auch zur Pflicht. Ohne :has bleibt
   das Feld einfach sichtbar (Audit C10). */
.inquiry:has(input[name=fulfilment][value=pickup]:checked) .field-address { display: none; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 16px; }
.honeypot { position: absolute; inset-inline-start: -9999px; }
.privacy-note { font-size: .9rem; margin: 8px 0 16px; }
.form-card .btn-deep { width: 100%; min-height: 52px; font-size: 1.05rem; }

/* Fehlerhinweise: fertig gerendert, versteckt, per :target sichtbar — ohne JS (Spec „Fehlerhinweise ohne JS").
   Bleiben rot mit Creme — sie sollen auffallen. */
.error-block { display: none; background: var(--primary-deep); color: var(--surface); border: 2px solid var(--gold); border-radius: var(--r); padding: 16px 20px; margin: 0 auto 20px; max-width: 720px; }
.error-block:target { display: block; }
.error-block a { color: var(--surface); text-decoration: underline; }

/* FAQ, Schritte */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
/* Ziffer und Text nebeneinander, mit echtem Abstand und mittig zueinander: vorher klebte der Text 1px am
   Goldkreis und saß 23px von oben, 32px von unten (Audit C2, Beispiel des Betreibers). */
.steps li { display: flex; align-items: center; gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; }
.steps li::before { counter-increment: step; content: counter(step); flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--gold); color: var(--ink); font-weight: 900; font-size: 1.1rem; margin: 0; box-shadow: 0 0 0 4px var(--surface); }
.steps li b { line-height: 1.35; }
/* FAQ auf Lesebreite statt 1180px (~148 Zeichen), Zeilen als 44px-Ziele, eigenes Plus/Minus statt des
   schwarzen Browser-Dreiecks (Audit C4). */
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; max-width: 760px; margin-inline: auto; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--primary-deep); min-height: 44px; padding-block: 8px; display: flex; align-items: center; gap: 12px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+"; flex: none; width: 20px; text-align: center; color: var(--gold-text); font-weight: 900; font-size: 1.25rem; }
.faq details[open] summary::before { content: "–"; }
.faq summary:hover { color: var(--primary); }
.faq details p { margin: 0 0 12px; padding-inline-start: 32px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.facts div { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; }
.facts b { color: var(--primary); display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 2px; }

/* Fuß: das eine dunkle Band der Seite */
.footer { background: var(--primary-deep); color: var(--surface); border-top: 4px solid var(--gold); padding: 32px max(16px, calc((100% - var(--max)) / 2)); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.footer nav { display: flex; gap: 16px; flex-wrap: wrap; }
.footer a { color: var(--surface); }
.footer a:hover { color: var(--gold); }
/* Amiri wirkt bei gleicher Größe deutlich kleiner als Cairo daneben. */
.footer [lang="ar"] { font-size: 1.15em; }
.footer-copy { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid rgba(255, 247, 224, .2); font-size: .85rem; opacity: .85; }

/* Tablet: sechs Gerichte als 3 × 2 statt 1 × 6 */
@media (max-width: 900px) {
  .highlights .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offers-grid > .card { flex-basis: calc((100% - 20px) / 2); }
  .menu-list { grid-template-columns: minmax(0, 1fr); padding-inline: 20px; }
}

@media (max-width: 760px) {
  /* Kopf zweizeilig und flach (vorher 108px): Zeile 1 Marke + Bestellknopf, Zeile 2 die Seiten-Links, bei
     Bedarf seitlich wischbar. Die Links bleiben sichtbar, damit die Markierung der aktuellen Seite auch mobil
     zu sehen ist (N1). justify-content:flex-start lässt nach der Marke Platz für einen Sprachumschalter. */
  :root { --topbar-h: 88px; }
  .topbar { flex-wrap: wrap; justify-content: flex-start; column-gap: 12px; row-gap: 0; padding-block: 6px 0; }
  .brand img { width: 36px; height: 36px; }
  .brand { min-height: 44px; }
  .topnav { order: 3; width: 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 20px; font-size: .95rem; }
  .topnav::-webkit-scrollbar { display: none; }
  .topnav a:not(.btn) { text-underline-offset: 6px; }
  .topnav .btn { position: absolute; top: 8px; inset-inline-end: 16px; min-height: 40px; padding: 6px 16px; font-size: .9rem; }
  .hero { min-height: 80vh; }
  .hero-small { min-height: 0; padding-block: 44px 36px; }
  .hero-photo { min-height: 60vh; }
  .hero-photo .hero-inner { padding: 24px 20px; }
  .grid3 { grid-template-columns: minmax(0, 1fr); }
  .section { padding-block: 44px; }
  .section-title { margin-bottom: 24px; }
  /* Chips 2 + 2 statt 3 + 1 */
  .chips { display: grid; grid-template-columns: repeat(2, auto); justify-content: center; }
  .menu-nav { border-radius: var(--r); margin-bottom: 28px; }
}
@media (max-width: 560px) {
  .highlights .grid3 { grid-template-columns: minmax(0, 1fr); }
  .offers-grid > .card { flex-basis: 100%; }
  .facts { grid-template-columns: 1fr 1fr; }
  .form-card { padding: 18px 16px; }
  .menu-list { padding-inline: 16px; }
}
@media (max-width: 480px) {
  /* Gestapelte Handlungen gleich breit statt 200px und 140px nebeneinander zentriert (Audit D2). */
  .hero-actions .btn { flex: 1 1 100%; max-width: 320px; }
  /* Der Bestellknopf unter jeder Kategorie bleibt klein — neun volle Goldbalken wären zu laut. */
  .menu-cat .hero-actions .btn { flex: 0 1 auto; }
}
@media (min-width: 900px) {
  /* Teaser: Foto und Text nebeneinander — gestapelt war das Band 797px hoch, höher als ein Laptop-Bildschirm (Audit L5). */
  .teaser { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); grid-template-rows: 1fr auto 1fr; column-gap: 48px; align-items: center; text-align: start; }
  .teaser-photo { grid-row: 1 / -1; margin: 0; max-width: none; }
  .teaser h2 { align-self: end; margin-bottom: 8px; }
  .teaser p { margin: 0; }
  .teaser .btn { align-self: start; justify-self: start; margin-top: 24px; }
}

/* ---- Kreative Schicht auf hell: der body-Verlauf wird zu einem warmen, hellen Grund ---- */
body {
  background:
    radial-gradient(ellipse at 50% -10%, rgba(232, 186, 90, .28), transparent 55%),
    radial-gradient(ellipse at 90% 110%, rgba(177, 18, 38, .08), transparent 50%),
    var(--bg);
  background-attachment: fixed;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 50% 30%, rgba(232, 186, 90, .35), transparent 55%);
  animation: ember-breathe 6s ease-in-out infinite alternate;
}
/* Partikel: reine CSS-Punkte, die langsam aufsteigen — keine Bilder, keine Bibliothek. In Rot/Gold auf hell. */
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image:
    radial-gradient(2px 2px at 20% 90%, var(--gold-text), transparent 60%),
    radial-gradient(2px 2px at 70% 95%, var(--primary), transparent 60%),
    radial-gradient(1.5px 1.5px at 45% 85%, var(--gold-text), transparent 60%),
    radial-gradient(2px 2px at 85% 80%, var(--gold-text), transparent 60%),
    radial-gradient(1.5px 1.5px at 10% 75%, var(--primary), transparent 60%);
  background-repeat: no-repeat;
  animation: ember-rise 9s linear infinite;
}
@keyframes ember-breathe { from { opacity: .6; } to { opacity: 1; } }
@keyframes ember-rise {
  from { transform: translateY(0); opacity: .8; }
  to { transform: translateY(-70vh); opacity: 0; }
}
.hero-inner { animation: hero-in .9s ease-out both; }
@keyframes hero-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Reveals: erst mit JS (html.js-reveal) werden Elemente ausgeblendet — ohne JS ist alles sichtbar. */
.js-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js-reveal .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js-reveal .reveal { opacity: 1; transform: none; }
}

/* ---- Rechtstexte ---- */
/* Impressum, Datenschutz, AGB: der Text kommt aus Orderly.UI (Legal/ImpressumContent usw., dieselben Komponenten wie im
   Shop) und bringt nur Klassen mit (.legal, .legal-note) — die Typografie dafür setzt jeder Host selbst. Hier:
   ruhige Lesespalte im hellen Design, ohne Hero und ohne Animation. */
/* Eigene Polsterung statt .section: deren Prozent-Padding rechnet mit der Seitenbreite und quetschte die Spalte. */
.legal-page { max-width: calc(72ch + 32px); margin-inline: auto; padding: 48px 16px 64px; }
.legal-page h1 { font-size: clamp(28px, 4.5vw, 40px); margin-bottom: 16px; }
.legal { color: var(--ink); }
.legal h2 { font-size: 1.2rem; margin: 32px 0 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.legal h2:first-child { margin-top: 8px; border-top: 0; padding-top: 0; }
/* Der Formular-Link springt auf #anfragen — die klebrige Kopfzeile darf die Überschrift nicht verdecken. */
.legal h2[id] { scroll-margin-top: 80px; }
.legal p, .legal ul { margin: 8px 0; }
.legal ul { padding-inline-start: 22px; }
.legal li { margin: 6px 0; }
.legal a { font-weight: 700; overflow-wrap: anywhere; }
.legal dl { display: grid; grid-template-columns: minmax(160px, auto) 1fr; gap: 8px 20px; margin: 12px 0; }
.legal dt { font-weight: 700; color: var(--primary-deep); }
.legal dd { margin: 0; }
.legal code { font-size: .9em; background: var(--surface); padding: 1px 6px; border-radius: 6px; }
.legal-note { background: var(--surface); border: 1px solid var(--line); border-inline-start: 4px solid var(--gold);
  border-radius: 12px; padding: 12px 16px; margin: 0 0 16px; }
@media (max-width: 560px) {
  .legal dl { grid-template-columns: 1fr; gap: 2px 0; }
  .legal dd { margin-bottom: 10px; }
}

/* ---- Sprachumschalter (Kopfzeile) ---- */
/* Neu für den Umschalter (Auftrag „Arabisch"): sitzt im Fluss nach .topnav, margin-inline-start:auto zieht
   ihn ans Ende der Kopfzeile — bei drei Flex-Kindern übernimmt der Auto-Rand die freie Fläche vor space-between. */
.lang-switch { display: flex; gap: 6px; font-size: .85rem; font-weight: 700; margin-inline-start: auto; }
.lang-switch a { color: var(--ink-soft); text-decoration: none; padding: 4px 10px; border-radius: 999px; border: 1px solid transparent; min-height: 24px; display: inline-flex; align-items: center; }
.lang-switch a:hover { color: var(--primary); }
.lang-switch a[aria-current] { color: var(--primary-deep); border-color: var(--gold); background: var(--surface); }
@media (max-width: 760px) {
  /* Zeile 1 neben der Marke (siehe Kommentar bei .topbar oben), Zeile 2 bleibt der Navigation vorbehalten. */
  .lang-switch { order: 2; margin-inline-start: 8px; font-size: .8rem; }
  .lang-switch a { padding: 2px 8px; }
}

/* ---- RTL / Arabisch ---- */
/* Arabische Ligaturen/Diakritika wirken bei derselben Zeilenhöhe wie Latein gedrängter — etwas mehr Luft. */
:lang(ar) { line-height: 1.9; }
/* Preis/Telefon/Zeiten tragen ihr eigenes dir="ltr" (Speisekarte.razor, DirectContact.razor, HoursTable.razor,
   menu.js) — das braucht keine eigene Regel hier, nur die Kenntlichmachung bleibt als Kommentar: westliche
   Ziffern sollen auf RTL-Seiten nicht durch die Bidi-Reihenfolge verdreht werden. */
