/* Ludwig's Burger – ludwigs-burger.de
   Layout: dunkle Bühne mit Scroll-Anatomie, dann Speisekarte auf Papier, Geschichte, Besuch.
   Fonts lokal eingebunden (DSGVO-freundlich, keine Google-Server). */

@font-face {
  font-family: "Ultra";
  src: url("../fonts/ultra.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2-variations"), url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --ink: #14110e;        /* Logo-Schwarz, leicht warm */
  --ink-2: #1e1914;
  --gold: #a8711f;       /* Ocker aus dem Logo */
  --cheese: #d99c3b;     /* Käse-Gold aus dem Logo */
  --paper: #faf7f1;
  --paper-2: #f0e8d8;
  --muted-dark: #b7ab98; /* Fließtext auf Schwarz */
  --muted-light: #5f5547;/* Fließtext auf Papier */

  --f-display: "Ultra", "Rockwell Extra Bold", "Clarendon", Georgia, serif;
  --f-body: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1180px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--cheese); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: calc(env(safe-area-inset-top, 0px) + 12px) var(--gutter) 12px;
  background: linear-gradient(to bottom, rgba(20,17,14,.92), rgba(20,17,14,.0));
  transition: background .3s;
}
.site-header.solid { background: var(--ink); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: auto; height: 46px; }
.brand-name { font-family: var(--f-display); font-size: 1.35rem; line-height: .9; display: flex; flex-direction: column; }
.brand-name small { font-family: var(--f-body); font-size: .62rem; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; color: var(--cheese); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: clamp(12px, 2.6vw, 32px); font-weight: 600; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; }
.nav a { text-decoration: none; padding-block: 6px; }
.nav a:hover { color: var(--cheese); }
.nav-cta { border: 1.5px solid var(--cheese); padding: 8px 14px !important; border-radius: 999px; color: var(--cheese); }
.nav-cta:hover { background: var(--cheese); color: var(--ink) !important; }
@media (max-width: 560px) {
  .brand-name { display: none; }
  .nav a:not(.nav-cta) { display: none; }
}

/* ---------- Hero / Anatomie ---------- */
.hero { position: relative; height: 420vh; background: var(--ink); }
.stage {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  display: grid; place-items: center; overflow: hidden;
}
.glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 42% 38% at 50% 52%, rgba(217,156,59,.22), transparent 70%),
    radial-gradient(ellipse 80% 60% at 50% 120%, rgba(168,113,31,.18), transparent 70%);
}
.burger-wrap {
  position: relative; z-index: 2;
  height: min(72svh, 780px);
  aspect-ratio: 1100 / 1960;
  max-width: 100%;
  margin-top: -2svh;
}
.burger { position: absolute; inset: 0; }
.burger .layer { position: absolute; max-width: none; backface-visibility: hidden; filter: drop-shadow(0 16px 20px rgba(0,0,0,calc(var(--sh, 0) * .5))); user-select: none; -webkit-user-drag: none; }
.burger .crumbs { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; z-index: 7; pointer-events: none; }

.hero-title {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(3.1rem, 12.5vw, 11rem); line-height: .85; letter-spacing: -.01em;
}
.ht { position: absolute; left: 0; right: 0; text-align: center; white-space: nowrap; will-change: transform, opacity; }
.ht-1 { top: 13svh; color: var(--paper); }
.ht-2 { bottom: 7svh; color: var(--cheese); }

.labels { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; pointer-events: none; }
.label {
  position: absolute; width: clamp(110px, 24vw, 280px);
  transform: translateY(-50%);
  opacity: 0;
  font-size: .95rem; line-height: 1.35; color: var(--muted-dark);
}
.label b { display: block; font-family: var(--f-display); font-weight: 400; font-size: clamp(1rem, 2vw, 1.6rem); line-height: 1.05; color: var(--paper); margin-bottom: 4px; }
.label::before { content: ""; position: absolute; top: .7em; height: 1.5px; width: clamp(16px, 4vw, 56px); background: var(--cheese); }
.label::after { content: ""; position: absolute; top: calc(.7em - 4px); width: 9px; height: 9px; border-radius: 50%; background: var(--cheese); }
.label.left { right: calc(100% + clamp(22px, 5vw, 70px)); text-align: right; }
.label.left::before { left: calc(100% + 8px); }
.label.left::after { left: calc(100% + 8px + clamp(16px, 4vw, 56px)); }
.label.right { left: calc(100% + clamp(22px, 5vw, 70px)); }
.label.right::before { right: calc(100% + 8px); }
.label.right::after { right: calc(100% + 8px + clamp(16px, 4vw, 56px)); }

.scroll-hint {
  position: absolute; z-index: 3; bottom: calc(env(safe-area-inset-bottom, 0px) + 18px); left: var(--gutter);
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  font-size: .7rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--muted-dark);
}
.scroll-hint i { width: 1.5px; height: 34px; background: linear-gradient(var(--cheese), transparent); animation: drip 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

.hero-outro {
  position: absolute; z-index: 3; bottom: calc(env(safe-area-inset-bottom, 0px) + 22px); left: 0; right: 0;
  text-align: center; font-family: var(--f-display); font-size: clamp(1.2rem, 2.6vw, 2rem);
  opacity: 0; pointer-events: none;
  display: flex; justify-content: center; align-items: baseline; flex-wrap: wrap; gap: .25em .5em; padding-inline: 16px;
}
.hero-outro em { font-style: normal; color: var(--cheese); }
.hero-outro a {
  font-family: var(--f-body); font-size: .75rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; background: var(--cheese); color: var(--ink); padding: 10px 16px; border-radius: 999px; margin-left: .6em;
  align-self: center;
}
.hero-outro.on { pointer-events: auto; }

@media (max-width: 760px) {
  .burger .layer { filter: none; }
  .burger-wrap { height: auto; width: 56vw; margin-top: 2svh; justify-self: start; margin-left: 16px; }
  .label { font-size: .72rem; }
  .label span { display: none; }
  .label b { font-size: .86rem; hyphens: manual; }
  .label.right { left: calc(100% + 20px); width: calc(44vw - 52px); }
  .label::before { width: 12px; }
  .label.right::after { right: calc(100% + 20px); }
  .scroll-hint span { display: none; }
}


/* ---------- Laufband ---------- */
.ticker { background: var(--gold); color: var(--ink); overflow: hidden; border-block: 3px solid var(--ink); }
.ticker-track { display: flex; width: max-content; animation: tick 38s linear infinite; }
.ticker-track span { font-family: var(--f-display); font-size: clamp(1.1rem, 2.4vw, 1.7rem); padding: 14px 0; white-space: nowrap; }
.ticker-track span::after { content: "✦"; font-size: .6em; margin-inline: 1.1em; vertical-align: .2em; color: var(--paper); }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } .scroll-hint i { animation: none; } }

/* ---------- Abschnitts-Kopf ---------- */
.sec-head { display: grid; gap: 14px; margin-bottom: clamp(32px, 5vw, 56px); max-width: 720px; }
.eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 32px; height: 2px; background: currentColor; }
h2 { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.2rem, 5.4vw, 4.2rem); line-height: .98; }
.lede { font-size: 1.15rem; max-width: 60ch; }

/* ---------- Karte ---------- */
.menu { background: var(--paper); color: var(--ink); padding-block: clamp(72px, 10vw, 130px); }
.menu .lede { color: var(--muted-light); }
.menu-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 88px); }
.menu-col { min-width: 0; }
.menu-cat {
  font-family: var(--f-body); font-size: .8rem; font-weight: 800; letter-spacing: .3em; text-transform: uppercase;
  color: var(--paper); background: var(--ink); display: inline-block; padding: 7px 14px 6px; border-radius: 3px; margin-bottom: 18px;
}
.menu-col .dishes + .menu-cat { margin-top: 40px; }
.dishes { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.dish-row { display: flex; align-items: baseline; gap: 10px; }
.dish-name { font-family: var(--f-display); font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.1; }
.dots { flex: 1; border-bottom: 2px dotted rgba(20,17,14,.35); transform: translateY(-5px); min-width: 20px; }
.price { font-weight: 800; font-size: 1.1rem; font-variant-numeric: tabular-nums; color: var(--gold); }
.dish p { color: var(--muted-light); font-size: .98rem; margin-top: 4px; max-width: 52ch; }
.tag { font-family: var(--f-body); font-style: normal; font-size: .62rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; background: #5f8a2e; color: #fff; padding: 3px 7px; border-radius: 3px; vertical-align: .35em; margin-left: 4px; }
.menu-note { margin-top: 48px; font-size: .85rem; color: var(--muted-light); border-top: 1px solid rgba(20,17,14,.15); padding-top: 18px; }
@media (max-width: 820px) { .menu-grid { grid-template-columns: 1fr; } }

/* ---------- Geschichte ---------- */
.story { background: var(--paper-2); color: var(--ink); padding-block: clamp(72px, 10vw, 130px); }
.story-grid { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(32px, 7vw, 100px); align-items: center; }
.story-logo { width: 100%; max-width: 380px; margin-inline: auto; }
.story-text { display: grid; gap: 20px; }
.story-text p:not(.eyebrow) { font-size: 1.15rem; max-width: 56ch; color: #3a3229; }
@media (max-width: 760px) { .story-grid { grid-template-columns: 1fr; } .story-logo { max-width: 240px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-decoration: none;
  font-family: var(--f-body); font-size: .8rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  background: var(--cheese); color: var(--ink); padding: 15px 26px; border-radius: 999px;
  transition: transform .2s, background .2s;
}
.btn:hover { background: var(--paper); transform: translateY(-2px); }
.btn-lg { font-size: .9rem; padding: 18px 32px; }
.nowrap { white-space: nowrap; }
.muted { color: var(--muted-light); }

/* ---------- Einstieg Verkauf ---------- */
.intro { background: var(--paper); color: var(--ink); padding-block: clamp(72px, 10vw, 130px); }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 88px); align-items: start; }
.intro h2 { font-size: clamp(2.3rem, 4.4vw, 4rem); }
.intro-head { display: grid; gap: 18px; }
.intro-text { display: grid; gap: 16px; font-size: 1.1rem; max-width: 58ch; }
.intro-text .btn { margin-top: 8px; }
.intro .btn:hover { background: var(--ink); color: var(--paper); }
@media (max-width: 820px) { .intro-grid { grid-template-columns: 1fr; } }

.story-claim { font-family: var(--f-display); font-size: clamp(1.3rem, 2.4vw, 1.75rem) !important; line-height: 1.2; color: var(--ink) !important; border-left: 4px solid var(--gold); padding-left: 18px; }
.menu-note strong { color: var(--ink); }

/* ---------- Konzept erwerben ---------- */
.sale { background: var(--ink); padding-block: clamp(72px, 10vw, 130px); }
.sale .eyebrow { color: var(--cheese); }
.sale-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.sale-text { display: grid; gap: 18px; }
.sale-text p:not(.eyebrow) { color: var(--muted-dark); font-size: 1.1rem; max-width: 52ch; }
.sale-box { border: 2px solid rgba(217,156,59,.45); background: var(--ink-2); padding: clamp(24px, 3.5vw, 44px); display: grid; gap: 20px; }
.sale-box h3 { font-family: var(--f-body); font-size: .78rem; font-weight: 800; letter-spacing: .28em; text-transform: uppercase; color: var(--cheese); }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checklist li { position: relative; padding-left: 34px; font-size: 1.05rem; line-height: 1.45; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: var(--cheese);
  -webkit-mask: radial-gradient(circle, #000 98%, transparent 100%);
}
.checklist li::after { content: ""; position: absolute; left: 7px; top: calc(.2em + 4px); width: 5px; height: 9px; border: solid var(--ink); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.sale-box .small { font-size: .9rem; color: var(--muted-dark); border-top: 1px solid rgba(250,247,241,.1); padding-top: 16px; }
@media (max-width: 820px) { .sale-grid { grid-template-columns: 1fr; } }

/* ---------- Abschluss ---------- */
.cta { background: var(--gold); color: var(--ink); padding-block: clamp(72px, 10vw, 120px); text-align: center; }
.cta-inner { display: grid; justify-items: center; gap: 18px; max-width: 820px; }
.cta-signet { width: 64px; filter: brightness(0) saturate(100%); opacity: .85; }
.cta h2 { font-size: clamp(2.2rem, 5.4vw, 4.2rem); }
.cta .lede { font-weight: 600; }
.cta p { max-width: 60ch; font-size: 1.08rem; }
.cta .btn { background: var(--ink); color: var(--paper); margin-top: 10px; }
.cta .btn:hover { background: var(--paper); color: var(--ink); }
.cta-mail { font-size: .92rem !important; opacity: .85; }

/* ---------- Hinweis ---------- */
.notice { background: var(--ink-2); border-top: 1px solid rgba(250,247,241,.08); padding-block: 28px; }
.notice p { font-size: .9rem; line-height: 1.55; color: var(--muted-dark); max-width: 900px; }
.notice strong { color: var(--paper); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); border-top: 1px solid rgba(250,247,241,.08); padding-block: 48px calc(env(safe-area-inset-bottom, 0px) + 48px); }
.foot-grid { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot-grid img { width: 96px; }
.foot-links { display: grid; gap: 6px; font-size: .9rem; color: var(--muted-dark); text-align: right; }
.foot-links a { text-decoration: none; border-bottom: 1px solid rgba(217,156,59,.5); }
.foot-links a:hover { color: var(--cheese); }

/* ---------- Rechtliches (Unterseiten) ---------- */
.legal { background: var(--paper); color: var(--ink); padding-block: 140px 100px; min-height: 80vh; }
.legal .wrap { max-width: 760px; display: grid; gap: 18px; }
.legal h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-top: 18px; }
.legal p { color: var(--muted-light); }
.legal .ph { color: var(--ink); }
