/* Indochina Palace – Designrichtung A „Lack und Glut“. Mobile first, keine externen Ressourcen. */
@font-face { font-family: "Palace Display"; src: url("../fonts/palace-display-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Palace Text"; src: url("../fonts/palace-text-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Palace Text"; src: url("../fonts/palace-text-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Palace Text"; src: url("../fonts/palace-text-400i.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
/* Ersatzschriften mit angeglichenen Maßen, damit beim Nachladen nichts springt */
@font-face { font-family: "Palace Text Ersatz"; src: local("Arial"), local("Helvetica"), local("Liberation Sans"); size-adjust: 98.1%; ascent-override: 100.6%; descent-override: 21.7%; line-gap-override: 0%; }
@font-face { font-family: "Palace Display Ersatz"; src: local("Times New Roman Bold"), local("TimesNewRomanPS-BoldMT"), local("Liberation Serif Bold"); font-weight: 700; size-adjust: 122.6%; ascent-override: 94.1%; descent-override: 25%; line-gap-override: 0%; }

:root {
  --lackrot: #6B1416; --lackrot-tief: #4F0E10; --safran: #F4A23C; --gold: #D8930F;
  --tusche: #2A1513; --papier: #FFFCF8; --weiss: #FFFFFF; --grau: #5E4843; --rand: #8A7670; --linie: #E8DCD2; --todo: #FFF1C7;
  --text: var(--tusche); --flaeche: var(--papier); --akzent: var(--lackrot); --fokus: var(--lackrot);
  --f-display: "Palace Display", "Palace Display Ersatz", Georgia, serif;
  --f-text: "Palace Text", "Palace Text Ersatz", Arial, sans-serif;
  --breite: 72rem; --rand-x: clamp(1rem, 4vw, 2rem);
  --r: .5rem; --r-gross: 1rem;
  --abstand: clamp(3rem, 8vw, 5.5rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--flaeche); color: var(--text); font-family: var(--f-text); font-size: 1.0625rem; line-height: 1.6; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--akzent); text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { text-decoration-thickness: .14em; }
:focus-visible { outline: 3px solid var(--fokus); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(1.8rem, 6.5vw, 3.4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.65rem, 4.6vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; max-width: 68ch; }
ul, ol { padding-left: 1.2em; }
.wrap { width: min(100% - 2 * var(--rand-x), var(--breite)); margin-inline: auto; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
mark.todo { background: var(--todo); color: var(--tusche); outline: 1px dashed var(--lackrot); padding: 0 .2em; border-radius: 2px; }

/* Sprunglink */
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 50; background: var(--tusche); color: var(--papier); padding: .7rem 1rem; border-radius: var(--r); text-decoration: none; font-weight: 700; }
.skip-link:focus { top: 1rem; --fokus: var(--safran); }

/* Kopf: mobil Logo, Anruf-Symbol und Menü-Knopf; ab 52em Navigation als Leiste */
.kopf { position: relative; z-index: 30; background: var(--papier); border-bottom: 1px solid var(--linie); }
.kopf-innen { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding-block: .6rem; }
.kopf-logo { display: block; flex: 0 1 auto; min-width: 0; }
.kopf-logo img { height: 2.15rem; width: auto; }
.kopf-aktionen { display: flex; align-items: center; gap: .5rem; flex: none; }
.kopf-tel { min-width: 2.75rem; min-height: 2.75rem; padding: .45rem .7rem; }
.menue > summary { list-style: none; cursor: pointer; user-select: none; }
.menue > summary::-webkit-details-marker { display: none; }
.menue-knopf { min-height: 2.75rem; border-color: var(--lackrot); color: var(--lackrot); background: var(--weiss); }
.menue-knopf svg { width: 1.3em; height: 1.3em; }
.menue .i-zu, .menue[open] .i-auf { display: none; }
.menue[open] .i-zu { display: inline; }
.menue[open] .menue-knopf { background: var(--lackrot); color: var(--papier); }
.menue-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--papier); border-bottom: 3px solid var(--gold); box-shadow: 0 16px 32px rgba(42, 21, 19, .18); }
.menue-panel ul { list-style: none; margin: 0 auto; padding: .25rem var(--rand-x) .75rem; max-width: var(--breite); }
.menue-panel a { display: flex; align-items: center; min-height: 3.25rem; border-bottom: 1px solid var(--linie); color: var(--tusche); font-weight: 700; font-size: 1.125rem; text-decoration: none; }
.menue-panel li:last-child a { border-bottom: 0; color: var(--lackrot); }
.menue-panel a[aria-current="page"] { color: var(--lackrot); }
.hauptnav { display: none; border-top: 1px solid var(--linie); }
.hauptnav ul { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; list-style: none; margin: 0; padding: .35rem 0; }
.hauptnav a { display: inline-block; padding: .5rem 0; white-space: nowrap; color: var(--tusche); font-weight: 700; text-decoration: none; border-bottom: 2px solid transparent; }
.hauptnav a:hover, .hauptnav a[aria-current="page"] { border-bottom-color: var(--lackrot); }
@media (min-width: 52em) {
  .menue { display: none; }
  .hauptnav { display: block; }
  .kopf-logo img { height: 2.5rem; }
}

/* Knöpfe */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 2.9rem; padding: .65rem 1.2rem; border-radius: var(--r); border: 2px solid transparent; font-weight: 700; font-size: 1.05rem; line-height: 1.2; text-decoration: none; }
.knopf svg { width: 1.15em; height: 1.15em; flex: none; }
.knopf--voll { background: var(--safran); color: var(--tusche); }
.knopf--voll:hover { background: #F7B45F; }
.knopf--rahmen { border-color: currentColor; color: inherit; }
.knopf--rahmen:hover { background: rgba(255, 252, 248, .08); }
.knopf--klein { min-height: 2.6rem; padding: .45rem .85rem; font-size: .98rem; }
.kopf-tel { background: var(--lackrot); color: var(--papier); }
.kopf-tel:hover { background: var(--lackrot-tief); }
.kopf-tel span { white-space: nowrap; }
.nur-gross { display: none; }
@media (min-width: 40em) { .nur-gross { display: inline; } }
.aktionen { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0 0; }

/* Abschnitte */
.abschnitt { padding-block: var(--abstand); }
.abschnitt--weiss { background: var(--weiss); }
.abschnitt--rot { background: var(--lackrot); color: var(--papier); --akzent: var(--safran); --fokus: var(--safran); }
.abschnitt--rot h2 { color: var(--safran); }
.einleitung { font-size: 1.15rem; }
.raster { display: grid; gap: clamp(1.5rem, 4vw, 3rem); }
@media (min-width: 52em) { .raster--2 { grid-template-columns: 1fr 1fr; align-items: center; } .raster--bild-links > figure { order: -1; } }
.bild { margin: 0; border-radius: var(--r-gross); overflow: hidden; overflow: clip; background: var(--lackrot-tief); }
/* overflow: clip statt hidden: kein eigener Scroll-Container, sonst bezieht sich der Scroll-Zoom nicht auf die Seite */
.bild img { width: 100%; height: auto; }
.fakten { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .6rem; }
.fakten li { padding-left: 1.4rem; position: relative; }
.fakten li::before { content: ""; position: absolute; left: 0; top: .62em; width: .55rem; height: .55rem; border-radius: 50%; background: var(--gold); }

/* Hero: Foto über die ganze Breite, mit Lackrot abgedunkelt (70 % hinter dem Text).
   Für das aktuelle Hero-Foto nachgemessen: Fließtext ≥ 6,4:1, Safran-Überschrift ≥ 3,1:1 (WCAG AA, große Schrift).
   Bei einem deutlich helleren Foto die Abdunklung wieder erhöhen. */
.hero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center;
  min-height: clamp(32rem, 82vh, 46rem); padding-block: clamp(3rem, 8vw, 5rem);
  background: var(--lackrot-tief); color: var(--papier); --akzent: var(--safran); --fokus: var(--safran); }
.hero > .wrap { width: min(100% - 2 * var(--rand-x), var(--breite)); }
.hero-hintergrund { position: absolute; inset: 0; z-index: -2; margin: 0; }
.hero-hintergrund img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
/* Handy: linken, ansprechenderen Bildteil zeigen (Laterne, Säule, Löwe); ab 52em wieder mittig */
@media (max-width: 51.99em) { .hero-hintergrund img { object-position: 12% center; } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(79, 14, 16, .7); }
@media (min-width: 52em) {
  .hero::before { background: linear-gradient(90deg, rgba(79, 14, 16, .72) 0%, rgba(79, 14, 16, .7) 58%, rgba(79, 14, 16, .15) 100%); }
}
.hero-inhalt { max-width: min(38rem, 100%); }
@media (min-width: 52em) { .hero-inhalt { max-width: min(38rem, 58%); } }
.hero h1 { color: var(--safran); text-shadow: 0 1px 3px rgba(42, 21, 19, .55); }
.hero-lead, .hero-zeiten { text-shadow: 0 1px 2px rgba(42, 21, 19, .5); }
.hero-lead { font-size: clamp(1.1rem, 2.6vw, 1.3rem); max-width: 40ch; }
.hero-zeiten { margin: 1.25rem 0 0; font-size: .98rem; color: #F3E3D6; }

/* Hinweise */
.hinweise { background: var(--todo); border-block: 2px solid var(--gold); padding-block: 1rem; }
.hinweise h2 { font-size: 1.2rem; margin: 0 0 .25rem; }
.hinweise ul { margin: 0; padding-left: 1.1rem; }

/* Öffnungszeiten */
.zeiten { width: 100%; max-width: 34rem; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.zeiten th, .zeiten td { text-align: left; padding: .6rem .5rem .6rem 0; border-bottom: 1px solid var(--linie); vertical-align: top; }
.zeiten th { font-weight: 700; width: 7.2rem; }
@media (min-width: 46em) { .zeiten th { width: 9.5rem; } }
.zusatz { margin-top: 1.25rem; }

/* Karten (Buffet / Mittagsmenü) */
.karten { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
@media (min-width: 46em) { .karten { grid-template-columns: 1fr 1fr; } }
.karte { background: var(--weiss); border: 1px solid var(--linie); border-top: 4px solid var(--gold); border-radius: 0 0 var(--r) var(--r); padding: 1.5rem; }
.karte h3 { color: var(--lackrot); }
.preis { font-family: var(--f-display); font-size: 1.6rem; color: var(--lackrot); margin: .25rem 0 .75rem; }

/* Speisekarten-Teaser */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 1.25rem 0 1.5rem; }
.chips a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .3rem .9rem; border: 1px solid var(--rand); border-radius: 999px; color: var(--tusche); text-decoration: none; background: var(--weiss); }
.chips a:hover { border-color: var(--lackrot); color: var(--lackrot); }

/* FAQ */
.faq { max-width: 50rem; }
.faq details { border-bottom: 1px solid var(--linie); }
.faq summary { cursor: pointer; list-style: none; padding: 1rem 2rem 1rem 0; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: .85rem; font-size: 1.4rem; line-height: 1; color: var(--lackrot); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 1rem; }

/* Anfahrt */
.adresse { font-style: normal; font-size: 1.15rem; line-height: 1.5; }
.kartenlinks { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin: 1rem 0; }
.kartenlinks a { font-weight: 700; }
.klein { font-size: .92rem; color: var(--grau); }
.abschnitt--rot .klein { color: #F3E3D6; }

/* Fuß */
.fuss { background: var(--lackrot-tief); color: var(--papier); --akzent: var(--safran); --fokus: var(--safran); padding-block: 3rem 1.5rem; }
.fuss a { color: var(--safran); }
.fuss-raster { display: grid; gap: 2rem; }
@media (min-width: 52em) { .fuss-raster { grid-template-columns: 1.4fr 1fr 1fr; } }
.fuss img { width: 16rem; height: auto; margin-bottom: 1rem; }
.fuss-titel { font-size: 1.15rem; color: var(--safran); }
.fuss ul { list-style: none; padding: 0; margin: 0; }
.fuss li + li { margin-top: .35rem; }
.fuss-klein { margin-top: 2rem; font-size: .9rem; color: #F3E3D6; }
.fuss .zeiten-kurz { font-variant-numeric: tabular-nums; }

/* Rechtstexte */
.rechtstext { max-width: 46rem; }
.rechtstext h2 { font-size: 1.45rem; margin-top: 2rem; }
.rechtstext h3 { font-size: 1.1rem; margin-top: 1.25rem; }
.hinweisbox { border-left: 4px solid var(--gold); background: var(--weiss); padding: 1rem 1.25rem; margin: 0 0 1.5rem; }

/* Speisekarte */
.karte-kopf { padding-block: clamp(2rem, 5vw, 3.5rem) 1.5rem; }
.karte-nav { position: sticky; top: 0; z-index: 20; background: var(--papier); border-block: 1px solid var(--linie); box-shadow: 0 6px 12px -10px rgba(42, 21, 19, .35); }
.karte-nav ul { display: flex; gap: .5rem; list-style: none; margin: 0; padding: .55rem 0; overflow-x: auto; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 2.5rem), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 2.5rem), transparent); padding-right: 2rem; }
.karte-nav ul::-webkit-scrollbar { display: none; }
.karte-nav li { flex: none; }
.karte-nav a { display: inline-flex; align-items: center; min-height: 2.75rem; white-space: nowrap; padding: .3rem 1rem; border: 1px solid var(--rand); border-radius: 999px; color: var(--tusche); text-decoration: none; font-size: 1rem; background: var(--weiss); }
.karte-nav a:hover { border-color: var(--lackrot); color: var(--lackrot); }
.karte-nav a.aktiv { background: var(--lackrot); border-color: var(--lackrot); color: var(--papier); font-weight: 700; }
.karte-nav a:focus-visible { outline-offset: -3px; }
.kategorie { scroll-margin-top: 4.75rem; padding-block: 2rem .5rem; }
.kategorie h2 { border-bottom: 2px solid var(--gold); padding-bottom: .35rem; }
.kategorie-hinweis { color: var(--grau); font-style: italic; }
.gerichte { list-style: none; padding: 0; margin: 0; }
.gericht { scroll-margin-top: 4.75rem; padding: .85rem 0; border-bottom: 1px solid var(--linie); }
.gericht-kopf { display: grid; grid-template-columns: 3.3rem 1fr auto; gap: .25rem .75rem; align-items: baseline; }
.gericht-nr { font-weight: 700; color: var(--lackrot); font-variant-numeric: tabular-nums; }
.gericht-name { font-family: var(--f-text); font-size: 1.05rem; font-weight: 700; margin: 0; line-height: 1.4; }
.gericht-preis { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.gericht-text { margin: .2rem 0 0 4.05rem; color: var(--grau); font-size: .98rem; }
/* Positionen ohne Nummer (z. B. Eisspezialitäten): keine Nummernspalte, Text bündig links */
.gericht--ohne-nr .gericht-kopf { grid-template-columns: 1fr auto; }
.gericht--ohne-nr .gericht-text { margin-left: 0; }
.nach-oben { margin: 2rem 0 0; }
[hidden] { display: none !important; }

/* Bewegung: leichter Zoom. Wird bei „Bewegung reduzieren“ im Betriebssystem komplett abgeschaltet.
   Hero: einmaliges Heranzoomen beim Laden (unter 5 s, daher ohne Pause-Knopf zulässig, WCAG 2.2.2).
   Übrige Bilder: zoomen beim Hereinscrollen sanft auf ihre Normalgröße (scrollgesteuert, ohne JavaScript;
   Browser ohne Unterstützung zeigen das Bild ruhig) und vergrößern sich leicht unter dem Mauszeiger. */
@media (prefers-reduced-motion: no-preference) {
  .hero-hintergrund img { transform-origin: 30% 50%; animation: hero-zoom 4.5s cubic-bezier(.22, .61, .36, 1) both; }
  @keyframes hero-zoom { from { transform: scale(1.1); } to { transform: scale(1); } }
  .bild img { transition: scale .8s cubic-bezier(.22, .61, .36, 1); }
  @media (hover: hover) { .bild:hover img { scale: 1.05; } }
  @supports (animation-timeline: view()) {
    .bild img { animation: bild-zoom linear both; animation-timeline: view(); animation-range: entry 0% cover 55%; }
    @keyframes bild-zoom { from { transform: scale(1.12); } to { transform: scale(1); } }
  }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media print {
  .kopf-aktionen, .hauptnav, .karte-nav, .skip-link, .fuss img, .nach-oben { display: none !important; }
  .hero, .abschnitt--rot, .fuss { background: none; color: #000; }
  .gericht { break-inside: avoid; }
  a { color: #000; }
}
