@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Inter:wght@400;500;600;700&display=swap');

:root{
  --wood: url("/upload/wood.png");

  --ink: #3b2a20;
  --muted: rgba(59,42,32,.68);
  --accent: #b66a42;

  --paper: rgba(255,255,255,.66);
  --paper2: rgba(255,255,255,.52);

  --line: rgba(59,42,32,.18);

  --shadow-soft: 0 14px 30px rgba(0,0,0,.14);
  --shadow-card: 0 10px 18px rgba(0,0,0,.12);

  --radius: 22px;
}

*{ box-sizing:border-box; }

html{
  min-height:100%;
  /* Screenshot-Look: Holz als gesamte Bühne */
  background: var(--wood) center/cover no-repeat fixed;
}

/* leichte Vignette + warme “Milchglas”-Stimmung wie im Bild */
html::before{
  content:"";
  position:fixed; inset:0;
  pointer-events:none;
  background:
    radial-gradient(1200px 700px at 50% 10%, rgba(255,255,255,.20), transparent 60%),
    radial-gradient(900px 700px at 50% 100%, rgba(0,0,0,.10), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.10), rgba(0,0,0,.06));
}

body.menu-v2{
  margin:0;
  min-height:100vh;
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* =========================
   HEADER wie im Screenshot
   ========================= */
.board-hero{
  position:relative;
  text-align:center;
  padding: 44px 16px 18px;
}

/* Titel: weich, edel */
.board-hero-title{
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: clamp(28px, 4.5vw, 44px);
  margin: 0 0 6px;
  color: var(--ink);
  text-shadow: 0 1px 0 rgba(255,255,255,.22);
}

/* Subline: warmes braun + kleine Striche links/rechts */
.board-hero-sub{
  display:inline-flex;
  align-items:center;
  gap: 12px;
  margin: 0 0 14px;
  font-size: 14px;
  letter-spacing: .08em;
  color: var(--accent);
}
.board-hero-sub::before,
.board-hero-sub::after{
  content:"";
  width: 36px;
  height: 1px;
  background: rgba(182,106,66,.55);
}

/* =========================
   Dropdown “Pill” wie Bild
   ========================= */
.theme-picker{
  display:flex;
  justify-content:center;
  margin: 0 0 14px;
}

.theme-picker select{
  appearance: none;
  -webkit-appearance: none;

  min-width: 180px;
  padding: 12px 44px 12px 18px;

  border-radius: 999px;
  border: 1px solid rgba(59,42,32,.16);

  background:
    linear-gradient(180deg, rgba(255,255,255,.70), rgba(255,255,255,.55));
  box-shadow: var(--shadow-soft);

  font: 600 14px/1.1 "Inter", sans-serif;
  color: rgba(59,42,32,.85);

  position: relative;
  cursor: pointer;
}

/* Pfeil rechts (Chevron) wie im Mockup */
.theme-picker{
  position: relative;
}
.theme-picker::after{
  content:"";
  position:absolute;
  right: calc(50% - 70px); /* passt bei min-width 180 */
  top: 50%;
  width: 10px;
  height: 10px;
  transform: translate(0,-20%) rotate(45deg);
  border-right: 2px solid rgba(59,42,32,.55);
  border-bottom: 2px solid rgba(59,42,32,.55);
  pointer-events:none;
}

/* =========================
   Layout wie Screenshot: 1 Spalte, zentriert
   ========================= */
.board-wrap{
  max-width: 520px;          /* mobile-first */
  margin: 0 auto;
  padding: 10px 14px 70px;
}

.board-grid{
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr; /* Clean: 1-spaltig */
}

/* =========================
   Cards: “Papier” auf Holz
   ========================= */
.menu-card{
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, var(--paper), var(--paper2));
  border: 1px solid rgba(59,42,32,.10);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(2px);
}

.menu-card-inner{
  padding: 16px 16px 14px;
}

/* Kategorie-Titel wie im Bild: Text + Linien links/rechts */
.menu-title{
  margin: 2px 0 12px;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  color: var(--accent);
  font-size: 18px;

  display:flex;
  align-items:center;
  justify-content:center;
  gap: 12px;
}
.menu-title::before,
.menu-title::after{
  content:"";
  flex: 1;
  height: 1px;
  background: rgba(182,106,66,.35);
}

/* Items */
.menu-row{
  display:flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 0;
}

.menu-row + .menu-row{
  border-top: 1px solid rgba(59,42,32,.10);
}

.menu-name{
  min-width: 140px;
  max-width: 70%;
  font-size: 15px;
  font-weight: 700;
  color: rgba(59,42,32,.92);
}

.menu-desc{
  margin-top: 4px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(59,42,32,.62);
}

.menu-leader{
  flex:1;
  border-bottom: 2px dotted rgba(59,42,32,.22);
  transform: translateY(-2px);
}

.menu-price{
  min-width: 86px;
  text-align: right;
  font-weight: 800;
  color: rgba(182,106,66,.95);
}

.menu-price--na{ color: rgba(59,42,32,.35); }

/* Footer */
.board-footer{
  text-align:center;
  padding: 20px 10px 60px;
  color: rgba(59,42,32,.50);
  font-size: 12px;
  letter-spacing: .10em;
}

/* Desktop: darf breiter werden, aber Clean bleibt “zentriert & edel” */
@media (min-width: 900px){
  .board-wrap{ max-width: 560px; }
}
/* ==========================================
   CLEAN – HEADER exakt wie Mockup (OVERRIDE)
   Ganz ans ENDE von themes/clean.css
   ========================================== */

body.menu-v2.theme-clean .board-hero{
  position: relative !important;
  text-align: center !important;
  padding: 44px 16px 18px !important;

  /* Holz sichtbar im Header */
  background: url("/upload/bg-clean-wood.jpg") center/cover no-repeat !important;
}

/* weicher Übergang nach unten (wie im Bild) */
body.menu-v2.theme-clean .board-hero::after{
  content:"" !important;
  position:absolute !important;
  left:0; right:0; bottom:-1px !important;
  height: 64px !important;
  background: linear-gradient(to bottom,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,.65) 60%,
    rgba(255,255,255,0) 100%) !important;
  opacity: .75 !important;
  pointer-events:none !important;
}

body.menu-v2.theme-clean .board-hero-title{
  font-family: "Playfair Display", serif !important;
  font-weight: 700 !important;
  font-size: clamp(28px, 4.6vw, 44px) !important;
  margin: 0 0 6px !important;
  color: #3b2a20 !important;
  text-shadow: 0 1px 0 rgba(255,255,255,.25) !important;
}

/* Subline mit Strichen links/rechts */
body.menu-v2.theme-clean .board-hero-sub{
  display:inline-flex !important;
  align-items:center !important;
  gap: 12px !important;
  margin: 0 0 14px !important;
  font-size: 14px !important;
  letter-spacing: .08em !important;
  color: #b66a42 !important;
}

body.menu-v2.theme-clean .board-hero-sub::before,
body.menu-v2.theme-clean .board-hero-sub::after{
  content:"" !important;
  width: 36px !important;
  height: 1px !important;
  background: rgba(182,106,66,.55) !important;
}

/* ===== Pill Dropdown wie im Mockup ===== */
body.menu-v2.theme-clean .theme-picker{
  display:flex !important;
  justify-content:center !important;
  margin: 0 0 14px !important;
}

body.menu-v2.theme-clean .theme-picker select{
  appearance:none !important;
  -webkit-appearance:none !important;

  min-width: 180px !important;
  padding: 12px 44px 12px 18px !important;

  border-radius: 999px !important;
  border: 1px solid rgba(59,42,32,.16) !important;

  background:
    linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,.55)) !important;
  box-shadow: 0 14px 30px rgba(0,0,0,.14) !important;

  font: 600 14px/1.1 "Inter", sans-serif !important;
  color: rgba(59,42,32,.85) !important;

  /* Pfeil rechts (inline SVG) */
  background-image:
    linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,.55)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='rgba(59,42,32,0.55)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center, right 16px center !important;
  background-size: auto, 14px 14px !important;

  cursor:pointer !important;
}
