/* ==========================================================
   MLU KITCHEN & CAFÉ · Entwurf 2 "Garten"
   Layout: hell und luftig, Foto im Bogen wie ein Blick durchs Laub,
   runde Formen, Gold als warmer Tupfer. Mobil mit fester Leiste
   für Anruf und Wegbeschreibung.
   ========================================================== */
:root {
  --leafpaper: #F1F4E8;   /* Seitenhintergrund, leicht grün */
  --sage: #DEE7D3;        /* Flächen */
  --ink: #1D3226;         /* Text */
  --leaf: #2F5E3F;        /* Hauptgrün */
  --leaf-deep: #1F4430;   /* dunkles Grün */
  --gold: #B8860B;        /* Gold auf hell */
  --gold-soft: #F2D98C;   /* helles Gold */
  --muted: #5C6E60;
  --font-display: "Young Serif", Georgia, serif;
  --font-body: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --font-km-display: "Noto Serif Khmer", "Kantumruy Pro", serif;
  --font-km-body: "Kantumruy Pro", "Khmer OS", sans-serif;
  --radius: 22px;
  --maxw: 1180px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--leafpaper); 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(--leaf-deep); color: var(--gold-soft); font-size: .8125rem; }
.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(--leafpaper); }
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: color-mix(in srgb, var(--leafpaper) 90%, transparent); backdrop-filter: blur(10px); }
.top-in { display: flex; align-items: center; gap: 28px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-badge { width: 48px; height: 48px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex-shrink: 0; box-shadow: 0 0 0 1px var(--sage); }
.brand-badge img { width: auto; height: 34px; }
.brand-text { display: grid; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-size: 1.375rem; color: var(--leaf-deep); }
.brand-sub { font-size: .75rem; color: var(--muted); letter-spacing: .04em; }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a { text-decoration: none; padding: 8px 14px; border-radius: 999px; font-weight: 500; font-size: .9375rem; }
.nav a:hover { background: var(--sage); }
.lang { display: flex; gap: 4px; background: var(--sage); padding: 4px; border-radius: 999px; flex-shrink: 0; }
.lang button { font: inherit; font-size: .8125rem; font-weight: 600; border: 0; padding: 6px 12px; border-radius: 999px; background: transparent; color: var(--leaf-deep); cursor: pointer; }
.lang button[lang="km"] { font-family: var(--font-km-body); }
.lang button[aria-pressed="true"] { background: var(--leaf); color: #fff; }

h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
h1, h2 { font-family: var(--font-display); color: var(--leaf-deep); }
:lang(km) h1, :lang(km) h2 { font-family: var(--font-km-display); font-weight: 600; line-height: 1.5; }
h3 { font-family: var(--font-body); font-weight: 600; }
:lang(km) h3 { font-family: var(--font-km-body); font-weight: 700; }

/* Hero */
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(40px, 6vw, 80px) clamp(56px, 8vw, 100px); }
.hero-text { min-width: 0; display: grid; gap: 20px; justify-items: start; }
.kicker { margin: 0; display: inline-flex; align-items: center; gap: 8px; background: var(--gold-soft); color: var(--leaf-deep); padding: 6px 14px; border-radius: 999px; font-weight: 600; font-size: .875rem; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.5rem); line-height: 1.05; }
:lang(km) h1 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); }
.lead { margin: 0; font-size: 1.1875rem; max-width: 46ch; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-block; text-decoration: none; padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: .9375rem; }
.btn-solid { background: var(--leaf); color: #fff; }
.btn-solid:hover { background: var(--leaf-deep); }
.btn-soft { background: var(--sage); color: var(--leaf-deep); }
.btn-soft:hover { background: #cfdcc2; }
.btn-gold { background: var(--gold-soft); color: var(--leaf-deep); }
.btn-gold:hover { background: #f7e4ad; }
.hours { margin: 0; display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .9375rem; font-variant-numeric: tabular-nums; }
.hours strong { color: var(--ink); font-weight: 600; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #3B9B57; box-shadow: 0 0 0 4px rgba(59,155,87,.18); }
.hero-photo { margin: 0; position: relative; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 30% center; border-radius: 999px 999px var(--radius) var(--radius); }
.hero-photo figcaption { position: absolute; left: -18px; bottom: 36px; background: var(--gold); color: #fff; font-family: var(--font-km-display); font-size: 1.375rem; padding: 6px 20px; border-radius: 999px; line-height: 1.6; }

/* Abschnitte */
.section > .wrap { padding-block: clamp(56px, 8vw, 96px); }
.head { display: grid; gap: 8px; margin-bottom: 36px; }
h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; }
:lang(km) h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.note { margin: 0; color: var(--muted); }

/* Über uns */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; border-top: 1px solid var(--sage); }
.about-text { min-width: 0; display: grid; gap: 16px; }
.about-text p { margin: 0; font-size: 1.125rem; max-width: 58ch; }
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.features li { background: #fff; border-radius: var(--radius); padding: 22px 20px; display: grid; gap: 10px; font-weight: 600; color: var(--leaf-deep); }
.features img { width: auto; height: 40px; }

/* Speisekarte */
.menu-section { background: var(--leaf-deep); color: #EEF2E8; }
.menu-section h2 { color: var(--gold-soft); }
.menu-section .note { color: #B7C7B9; }
.menu { columns: 2 340px; column-gap: 20px; }
.menu-cat { background: rgba(255,255,255,.06); border-radius: var(--radius); padding: 28px clamp(20px, 3vw, 32px); break-inside: avoid; margin-bottom: 20px; }
.menu-cat h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; color: var(--gold-soft); margin-bottom: 14px; }
:lang(km) .menu-cat h3 { font-family: var(--font-km-display); font-weight: 600; }
.menu-cat ul { list-style: none; margin: 0; padding: 0; }
.dish { display: flex; gap: 16px; justify-content: space-between; padding-block: 14px; border-top: 1px solid rgba(255,255,255,.12); }
.dish:first-child { border-top: 0; }
.dish-main { display: grid; min-width: 0; }
.dish-name { font-weight: 600; font-size: 1.0625rem; }
.dish-alt { color: var(--gold-soft); font-size: .875rem; opacity: .85; }
.dish-alt:lang(km) { font-family: var(--font-km-body); }
.dish-desc { color: #B7C7B9; font-size: .9375rem; }
.dish-price { flex-shrink: 0; align-self: start; background: var(--gold-soft); color: var(--leaf-deep); font-weight: 600; font-size: .875rem; padding: 3px 10px; border-radius: 999px; font-variant-numeric: tabular-nums; }

/* Events */
.events { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.event { background: #fff; border-radius: var(--radius); padding: 24px; display: grid; gap: 10px; align-content: start; }
.event-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.badge { width: 64px; height: 64px; border-radius: 50%; background: var(--gold-soft); display: grid; place-content: center; text-align: center; line-height: 1; }
.ev-day { font-family: var(--font-display); font-size: 1.5rem; color: var(--leaf-deep); }
.ev-month { font-size: .6875rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; color: var(--gold); margin-top: 2px; }
:lang(km) .ev-month { text-transform: none; letter-spacing: 0; font-size: .75rem; }
.ev-type { background: var(--sage); color: var(--leaf-deep); font-size: .8125rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.event h3 { font-size: 1.25rem; color: var(--leaf-deep); margin-top: 6px; }
.event p { margin: 0; color: var(--muted); }
.event .event-when { color: var(--leaf); font-weight: 600; font-size: .9375rem; font-variant-numeric: tabular-nums; }

/* Galerie */
.section#gallery > .wrap { padding-bottom: 0; }
.strip-wrap { padding-bottom: clamp(56px, 8vw, 96px); }
.strip {
  display: grid; grid-template-rows: repeat(2, auto); grid-auto-flow: column; grid-auto-columns: clamp(190px, 23vw, 270px);
  gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-left: max(20px, env(safe-area-inset-left, 0px), calc((100vw - var(--maxw)) / 2 + 20px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
  padding-bottom: 12px; scrollbar-color: var(--leaf) transparent;
  scroll-padding-left: max(20px, env(safe-area-inset-left, 0px), calc((100vw - var(--maxw)) / 2 + 20px));
}
.strip figure { margin: 0; aspect-ratio: 3 / 4; background: var(--sage); border-radius: var(--radius); overflow: hidden; scroll-snap-align: start; }
.strip img { width: 100%; height: 100%; object-fit: cover; }

/* Name: Mlu = Betelblatt */
.name-block { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; background: #fff; border-radius: calc(var(--radius) * 1.5); padding: clamp(24px, 4vw, 48px); margin-bottom: clamp(56px, 8vw, 96px); }
.name-logo { width: 100%; height: auto; }
.name-text { display: grid; gap: 14px; min-width: 0; }
.name-text h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--leaf-deep); }
:lang(km) .name-text h3 { font-family: var(--font-km-display); font-weight: 600; }
.name-text > p { margin: 0; font-size: 1.125rem; color: var(--leaf); font-weight: 500; max-width: 60ch; }
.name-text blockquote { margin: 4px 0 0; background: var(--leafpaper); border-radius: var(--radius); padding: 20px 24px; }
.name-text blockquote p { margin: 0 0 10px; font-size: 1.0625rem; max-width: 64ch; }
.name-text blockquote footer { color: var(--gold); font-weight: 600; font-size: .9375rem; }
.name-text blockquote footer::before { content: "— "; }

/* Kochkurs */
.cc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 48px); align-items: center; background: var(--leaf); color: #fff; border-radius: calc(var(--radius) * 1.5); padding: clamp(24px, 4vw, 44px); margin-bottom: 44px; }
.cc-text { display: grid; gap: 14px; justify-items: start; }
.cc-label { margin: 0; background: var(--gold-soft); color: var(--leaf-deep); padding: 4px 12px; border-radius: 999px; font-weight: 600; font-size: .8125rem; }
.cc h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.7rem, 3vw, 2.4rem); color: #fff; }
:lang(km) .cc h3 { font-family: var(--font-km-display); font-weight: 600; }
.cc-lead { margin: 0; color: #E3EBDD; }
.cc-steps { list-style: none; counter-reset: s; margin: 0 0 8px; padding: 0; display: grid; gap: 8px; }
.cc-steps li { counter-increment: s; display: flex; gap: 10px; align-items: baseline; }
.cc-steps li::before { content: counter(s); flex: 0 0 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,.14); color: var(--gold-soft); font-size: .8125rem; font-weight: 600; display: grid; place-items: center; }
.cc .btn-solid { background: var(--gold-soft); color: var(--leaf-deep); }
.cc .btn-solid:hover { background: #f7e4ad; }
.cc-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.cc-photos figure { margin: 0; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; }
.events-more { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; color: var(--leaf-deep); margin-bottom: 16px; }
:lang(km) .events-more { font-family: var(--font-km-display); font-weight: 600; }
.events { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
@media (max-width: 960px) {
  .cc, .name-block { grid-template-columns: 1fr; }
  .name-logo { width: 160px; }
  .events { grid-template-columns: 1fr !important; }
}

/* Besuch */
.visit { display: grid; grid-template-columns: 1fr 1fr; background: var(--leaf); color: #fff; border-radius: calc(var(--radius) * 1.5); overflow: hidden; }
.visit-text { padding: clamp(28px, 5vw, 56px); display: grid; gap: 8px; align-content: center; justify-items: start; min-width: 0; }
.visit h2 { color: var(--gold-soft); }
.facts { margin: 16px 0 24px; display: grid; gap: 14px; width: 100%; }
.facts div { display: grid; gap: 2px; }
.facts dt { font-size: .8125rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold-soft); font-weight: 600; }
:lang(km) .facts dt { text-transform: none; letter-spacing: 0; }
.facts dd { margin: 0; font-size: 1.0625rem; }
.facts a { text-decoration: none; }
.visit-photo { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }

.foot-in { padding-block: 32px 40px; text-align: center; color: var(--muted); font-size: .875rem; }
.foot-in p { margin: 0; }

.mobile-bar { display: none; }

@media (max-width: 960px) {
  .top-in { flex-wrap: wrap; row-gap: 4px; padding-block: 10px; }
  .lang { margin-left: auto; }
  .nav { order: 3; width: 100%; margin-left: 0; overflow-x: auto; gap: 2px; scrollbar-width: none; }
  .nav a { white-space: nowrap; padding: 6px 12px; font-size: .875rem; }
  .hero-in, .about, .visit { grid-template-columns: 1fr; }
  .hero-photo { max-width: 460px; }
  .events { grid-template-columns: 1fr; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 6;
    padding: 10px max(12px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
    background: var(--leaf-deep);
  }
  .mobile-bar a { text-align: center; text-decoration: none; padding: 12px; border-radius: 999px; font-weight: 600; background: var(--gold-soft); color: var(--leaf-deep); }
  .mobile-bar a + a { background: var(--leaf); color: #fff; }
  .foot-in { padding-bottom: 96px; }
}
@media (max-width: 560px) {
  .brand-sub { display: none; }
  .lang button { padding: 6px 9px; }
  .hero-photo figcaption { left: 12px; }
  .features { grid-template-columns: 1fr 1fr; }
  .features li { padding: 16px; font-size: .9375rem; }
}

[hidden] { display: none !important; }
.menu-tools { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; margin-bottom: 24px; }
.tabs { display: flex; gap: 4px; background: rgba(255,255,255,.08); padding: 5px; border-radius: 999px; }
.tabs button { font: inherit; font-weight: 600; font-size: .9375rem; border: 0; padding: 9px 22px; border-radius: 999px; background: transparent; color: #EEF2E8; cursor: pointer; }
.tabs button[aria-pressed="true"] { background: var(--gold-soft); color: var(--leaf-deep); }
.sig { background: var(--gold-soft); color: var(--leaf-deep); border-radius: var(--radius); padding: 22px 26px; display: grid; gap: 6px; max-width: 720px; justify-self: end; }
.sig-label { margin: 0; font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
:lang(km) .sig-label { letter-spacing: 0; text-transform: none; font-size: .875rem; }
.sig h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; }
:lang(km) .sig h3 { font-family: var(--font-km-display); font-weight: 600; }
.sig p { margin: 0; color: #3d4f42; }
.dish-name { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.dish-main { position: relative; }
.dish-tag { display: inline-block; font-size: .6875rem; font-weight: 600; padding: 1px 8px; border-radius: 999px; background: var(--gold-soft); color: var(--leaf-deep); width: max-content; margin-top: 2px; }
.dish-tag[data-kind="spicy"] { background: #D9583E; color: #fff; }
.dish-name:lang(km) { font-family: var(--font-km-body); }
@media (max-width: 960px) { .menu-tools { grid-template-columns: 1fr; } .sig { justify-self: stretch; } }
.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(255,255,255,.08); }
.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(--gold-soft); color: var(--leaf-deep); font-weight: 600; font-size: .9375rem; }
.photo-more .photo-btn:hover { background: #f7e4ad; }

/* 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; }
