/* ==========================================================
   MLU KITCHEN & CAFÉ · Entwurf 3 "Modern"
   Layout: kräftige Farbblöcke (Smaragd, Gold, Creme), große
   Wortmarke in Latein und Khmer, groteske Schrift, klare Raster.
   ========================================================== */
:root {
  --emerald: #0F4A37;     /* Hauptgrün */
  --night: #0A2219;       /* tiefes Grün */
  --gold: #E3B23C;        /* Goldfläche */
  --gold-ink: #6B4E0A;    /* Text auf Gold, leise */
  --cream: #FAF6EA;       /* Seitenhintergrund */
  --ink: #12261D;         /* Text */
  --mint: #A9CDB6;        /* leise Texte auf grün */
  --font-display: "Bricolage Grotesque", "Arial Narrow", Arial, sans-serif;
  --font-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --font-km-display: "Koulen", "Kantumruy Pro", sans-serif;
  --font-km-body: "Kantumruy Pro", "Khmer OS", sans-serif;
  --maxw: 1200px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6; }
:lang(km) { font-family: var(--font-km-body); line-height: 1.85; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.wrap {
  max-width: var(--maxw); margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.draft { background: var(--gold); color: var(--night); font-size: .8125rem; font-weight: 500; }
.draft .wrap { padding-block: 6px; text-align: center; }

body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--emerald); }
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: var(--emerald); color: #fff; }
.top-in { display: flex; align-items: center; gap: 24px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -.01em; color: var(--gold); }
.brand img { width: auto; height: 30px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; font-size: .9375rem; opacity: .9; }
.nav a:hover { opacity: 1; color: var(--gold); }
.lang { display: flex; border: 2px solid var(--gold); border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.lang button { font: inherit; font-weight: 600; font-size: .8125rem; padding: 4px 12px; border: 0; background: transparent; color: var(--gold); cursor: pointer; }
.lang button[lang="km"] { font-family: var(--font-km-body); }
.lang button[aria-pressed="true"] { background: var(--gold); color: var(--night); }

/* Hero */
.hero { background: var(--emerald); color: #fff; }
.wordmark {
  margin: 0; padding-block: clamp(20px, 4vw, 40px) clamp(10px, 2vw, 18px);
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0 24px;
  font-family: var(--font-display); font-weight: 800; letter-spacing: -.045em;
  font-size: clamp(3.6rem, 15vw, 13rem); line-height: .86; color: var(--gold);
}
.wordmark [lang="km"] { font-family: var(--font-km-display); font-weight: 400; letter-spacing: 0; font-size: .6em; line-height: 1.3; color: transparent; -webkit-text-stroke: 1.5px var(--gold); }
.hero-photo { position: relative; }
.hero-photo > img { width: 100%; height: clamp(420px, 56vw, 640px); object-fit: cover; object-position: center 55%; }
.hero-card-wrap { position: absolute; left: 0; right: 0; bottom: clamp(20px, 4vw, 48px); }
.hero-card { background: var(--cream); color: var(--ink); max-width: 560px; padding: clamp(22px, 3vw, 36px); border-radius: 4px; display: grid; gap: 14px; }
.kicker { margin: 0; font-weight: 600; font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; color: var(--emerald); }
:lang(km) .kicker { letter-spacing: 0; text-transform: none; font-size: .95rem; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h1, h2 { font-family: var(--font-display); font-weight: 800; letter-spacing: -.03em; }
:lang(km) h1, :lang(km) h2 { font-family: var(--font-km-display); font-weight: 400; letter-spacing: 0; line-height: 1.35; }
h1 { font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1; }
:lang(km) h1 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
.lead { margin: 0; color: #43554B; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-block; text-decoration: none; padding: 12px 22px; border-radius: 4px; font-weight: 600; font-size: .9375rem; }
.btn-gold { background: var(--gold); color: var(--night); }
.btn-gold:hover { background: #ecc35c; }
.btn-line { border: 2px solid var(--emerald); color: var(--emerald); padding: 10px 20px; }
.btn-line:hover { background: var(--emerald); color: #fff; }

/* Faktenband */
.facts-band { background: var(--night); color: #fff; }
.facts-in { display: grid; grid-template-columns: auto auto 1fr; gap: 12px clamp(24px, 5vw, 64px); padding-block: 18px; }
.facts-in p { margin: 0; display: grid; min-width: 0; }
.lbl { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); }
:lang(km) .lbl { text-transform: none; letter-spacing: 0; font-size: .8125rem; }
.facts-in strong { font-weight: 500; font-variant-numeric: tabular-nums; }

/* Abschnitte */
.section > .wrap { padding-block: clamp(64px, 9vw, 120px); }
h2 { font-size: clamp(2.6rem, 7vw, 5.5rem); line-height: .95; }
:lang(km) h2 { font-size: clamp(2rem, 5vw, 3.6rem); }
.head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 32px; margin-bottom: 44px; }
.note { margin: 0; max-width: 36ch; font-size: .9375rem; }
.block-gold { background: var(--gold); color: var(--night); }
.block-gold .note { color: var(--gold-ink); }
.block-green { background: var(--emerald); color: #fff; }
.block-green h2 { color: var(--gold); }
.block-green .note { color: var(--mint); }

/* Über uns */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(24px, 6vw, 96px); align-items: start; }
.about h2 { color: var(--emerald); }
.about-text { display: grid; gap: 24px; }
.about-text p { margin: 0; font-size: clamp(1.125rem, 1.6vw, 1.375rem); line-height: 1.55; max-width: 52ch; }
.pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { border: 2px solid var(--emerald); color: var(--emerald); padding: 6px 14px; border-radius: 999px; font-weight: 600; font-size: .9375rem; }

/* Speisekarte */
.menu { columns: 3 280px; column-gap: clamp(24px, 4vw, 48px); }
.menu-cat { break-inside: avoid; margin-bottom: 44px; }
.menu-cat h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: -.02em; padding-bottom: 10px; border-bottom: 3px solid var(--night); margin-bottom: 6px; }
:lang(km) .menu-cat h3 { font-family: var(--font-km-display); font-weight: 400; letter-spacing: 0; }
.menu-cat ul { list-style: none; margin: 0; padding: 0; }
.dish { display: flex; justify-content: space-between; gap: 16px; padding-block: 14px; border-bottom: 1px solid rgba(10,34,25,.25); }
.dish-main { display: grid; min-width: 0; }
.dish-name { font-weight: 600; font-size: 1.0625rem; }
.dish-desc { font-size: .875rem; color: var(--gold-ink); }
.dish-price { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; font-variant-numeric: tabular-nums; flex-shrink: 0; }

/* Events */
.events { display: grid; }
.event { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 32px; padding-block: 28px; border-top: 1px solid rgba(255,255,255,.2); align-items: center; }
.ev-date { margin: 0; display: flex; align-items: baseline; gap: 10px; color: var(--gold); }
.ev-day { font-family: var(--font-display); font-weight: 800; font-size: clamp(3.5rem, 7vw, 5.5rem); line-height: .9; letter-spacing: -.04em; }
:lang(km) .ev-day { font-family: var(--font-km-display); font-weight: 400; letter-spacing: 0; }
.ev-month { font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
:lang(km) .ev-month { text-transform: none; letter-spacing: 0; }
.ev-body { display: grid; gap: 6px; }
.ev-body p { margin: 0; color: var(--mint); }
.ev-meta { font-size: .875rem; font-weight: 600; color: var(--gold) !important; font-variant-numeric: tabular-nums; }
.ev-body h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.15; }
:lang(km) .ev-body h3 { font-family: var(--font-km-body); font-weight: 700; }

/* Galerie */
.gallery-title { color: var(--emerald); }
#gallery h2 { color: var(--emerald); }
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 210px; grid-auto-flow: dense; gap: 12px; }
.bento figure:nth-child(7n+1) { grid-column: span 2; grid-row: span 2; }
.bento figure:nth-child(7n+4) { grid-row: span 2; }
.bento figure { margin: 0; overflow: hidden; border-radius: 4px; background: #E7E1CC; }
.bento img { width: 100%; height: 100%; object-fit: cover; }

/* Name: Mlu = Betelblatt */
.name-block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(24px, 6vw, 96px); align-items: center; margin-top: clamp(56px, 8vw, 96px); padding-top: clamp(48px, 7vw, 80px); border-top: 3px solid var(--emerald); }
.name-logo { width: min(260px, 70%); height: auto; justify-self: center; }
.name-text { display: grid; gap: 18px; min-width: 0; }
.name-text h3 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 4vw, 3rem); letter-spacing: -.03em; line-height: 1; color: var(--emerald); }
:lang(km) .name-text h3 { font-family: var(--font-km-display); font-weight: 400; letter-spacing: 0; line-height: 1.4; }
.name-text > p { margin: 0; font-size: 1.125rem; max-width: 52ch; font-weight: 500; }
.name-text blockquote { margin: 0; background: var(--emerald); color: #fff; padding: clamp(20px, 3vw, 32px); border-radius: 4px; }
.name-text blockquote p { margin: 0 0 12px; font-size: 1.0625rem; line-height: 1.6; }
.name-text blockquote footer { color: var(--gold); font-weight: 600; font-size: .875rem; letter-spacing: .1em; text-transform: uppercase; }
:lang(km) .name-text blockquote footer { letter-spacing: 0; text-transform: none; }

/* Kochkurs */
.cc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 64px); align-items: center; background: var(--gold); color: var(--night); padding: clamp(24px, 4vw, 48px); border-radius: 4px; margin-bottom: 56px; }
.cc-text { display: grid; gap: 14px; justify-items: start; }
.cc-label { margin: 0; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }
:lang(km) .cc-label { letter-spacing: 0; text-transform: none; font-size: .875rem; }
.cc h3 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 3.6vw, 2.8rem); letter-spacing: -.03em; line-height: 1; }
:lang(km) .cc h3 { font-family: var(--font-km-display); font-weight: 400; letter-spacing: 0; line-height: 1.4; }
.cc-lead { margin: 0; }
.cc-steps { margin: 0 0 6px; padding-left: 1.3em; display: grid; gap: 6px; font-weight: 500; }
.cc-steps li::marker { font-family: var(--font-display); font-weight: 800; }
.cc .btn-gold { background: var(--night); color: var(--gold); }
.cc .btn-gold:hover { background: var(--emerald); }
.cc-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cc-photos figure { margin: 0; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 4px; }
.events-more { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: -.02em; color: var(--gold); margin-bottom: 4px; }
:lang(km) .events-more { font-family: var(--font-km-display); font-weight: 400; letter-spacing: 0; }

/* Besuch */
.visit { display: grid; grid-template-columns: 1fr minmax(0, 420px); gap: 40px; align-items: end; }
.visit-addr { font-family: var(--font-display); font-size: clamp(1.4rem, 2.8vw, 2rem); font-weight: 600; margin: 20px 0 16px; line-height: 1.2; }
:lang(km) .visit-addr { font-family: var(--font-km-body); font-weight: 600; }
.visit-line { margin: 0; color: var(--mint); font-variant-numeric: tabular-nums; }
.visit-line strong { color: #fff; font-weight: 600; }
.visit-line a { text-decoration: none; }
.map-tile { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; background: var(--gold); color: var(--night); text-decoration: none; padding: 26px 28px; border-radius: 4px; font-family: var(--font-display); font-weight: 800; font-size: 1.375rem; letter-spacing: -.01em; }
:lang(km) .map-tile { font-family: var(--font-km-body); font-weight: 700; letter-spacing: 0; }
.map-tile img { width: auto; height: 46px; }
.map-tile .arrow { font-size: 1.75rem; transition: transform .2s ease; }
.map-tile:hover .arrow { transform: translateX(6px); }
@media (prefers-reduced-motion: reduce) { .map-tile .arrow { transition: none; } }

.foot { background: var(--night); color: var(--mint); }
.foot-in { padding-block: 28px; font-size: .875rem; }
.foot-in p { margin: 0; }

@media (max-width: 900px) {
  .top-in { flex-wrap: wrap; row-gap: 6px; }
  .lang { margin-left: auto; }
  .nav { order: 3; width: 100%; margin-left: 0; overflow-x: auto; gap: 18px; scrollbar-width: none; }
  .nav a { white-space: nowrap; font-size: .875rem; }
  .about, .visit { grid-template-columns: 1fr; }
  .facts-in { grid-template-columns: 1fr 1fr; }
  .facts-in p:last-child { grid-column: 1 / -1; }
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; }
  .bento figure:nth-child(7n+4) { grid-row: auto; }
  .cc, .name-block { grid-template-columns: 1fr; }
  .name-logo { width: 170px; justify-self: start; }
}
@media (max-width: 600px) {
  .hero-photo > img { height: 300px; }
  .hero-card-wrap { position: static; margin-top: -60px; position: relative; }
  .event { grid-template-columns: 1fr; gap: 6px; }
}

[hidden] { display: none !important; }
.menu-tools { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px 48px; align-items: start; margin-bottom: 48px; }
.tabs { display: flex; border: 3px solid var(--night); border-radius: 6px; overflow: hidden; }
.tabs button { font: inherit; font-family: var(--font-display); font-weight: 800; font-size: 1.125rem; padding: 10px 26px; border: 0; background: transparent; color: var(--night); cursor: pointer; }
:lang(km) .tabs button { font-family: var(--font-km-body); font-weight: 700; }
.tabs button[aria-pressed="true"] { background: var(--night); color: var(--gold); }
.sig { background: var(--night); color: #fff; padding: 24px 28px; border-radius: 4px; display: grid; gap: 6px; }
.sig-label { margin: 0; color: var(--gold); font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
:lang(km) .sig-label { letter-spacing: 0; text-transform: none; font-size: .875rem; }
.sig h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.625rem; letter-spacing: -.02em; color: var(--gold); }
:lang(km) .sig h3 { font-family: var(--font-km-display); font-weight: 400; letter-spacing: 0; }
.sig p { margin: 0; color: var(--mint); }
.dish-name { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.dish-alt { font-size: .875rem; color: var(--gold-ink); }
.dish-tag { justify-self: start; width: max-content; font-size: .6875rem; font-weight: 600; padding: 1px 8px; border-radius: 3px; background: var(--night); color: var(--gold); }
.dish-tag[data-kind="spicy"] { background: #B83A22; color: #fff; }
.dish-name:lang(km) { font-family: var(--font-km-body); }
@media (max-width: 900px) { .menu-tools { grid-template-columns: 1fr; } .tabs { justify-self: start; } }
.section > .wrap + .wrap { padding-top: 0; }

/* Kochkurs-Fotos: erstes Bild groß, letzte Kachel "Alle Fotos" */
.cc-photos { grid-auto-rows: clamp(96px, 10vw, 140px); }
.cc-photos figure { aspect-ratio: auto; background: rgba(10,34,25,.12); }
.cc-photos figure:first-child { grid-row: span 2; }
.photo-more .photo-btn { display: grid; place-items: center; text-align: center; padding: 8px; background: var(--night); color: var(--gold); font-family: var(--font-display); font-weight: 800; font-size: 1.0625rem; }
:lang(km) .photo-more .photo-btn { font-family: var(--font-km-body); font-weight: 700; }
.photo-more .photo-btn:hover { background: var(--emerald); }

/* Download-Link der Karten (PDF) */
.menu-dl { margin: .6rem 0 0; font-size: .9375rem; }
.menu-dl a { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.menu-dl a:hover { text-decoration-thickness: 2px; }

/* Umschalter zwischen den Entwürfen (entfällt nach der Entscheidung) */
.draft-switch { white-space: nowrap; }
.draft-switch a { color: inherit; padding: 0 .35em; text-decoration: underline; text-underline-offset: 2px; }
.draft-switch a[aria-current] { font-weight: 700; text-decoration: none; }
