/* KUMPIRALLEE – Erlebnis-Website */
/* Schriften liegen lokal (kein Google, DSGVO). Lizenz: SIL Open Font License, siehe assets/fonts */
@font-face { font-family: "Fraunces"; src: url("../assets/fonts/fraunces-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../assets/fonts/fraunces-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../assets/fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
:root {
  --nacht: #0e0a08;
  --nacht-2: #17110d;
  --creme: #f3e9d8;
  --creme-2: #c9bba4;
  --senf: #e3b04b;
  --lila: #2a0f36;
  --lila-hell: #c9a6ff;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
  --rand: clamp(20px, 4vw, 64px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}
* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  background: var(--nacht); color: var(--creme); font-family: var(--sans); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.laedt { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
em, i { font-style: italic; }
/* Kleine Überschriften: kursive Serifenschrift statt gesperrter Großbuchstaben – wirkt wie eine handgeschriebene Notiz auf der Karte */
.eyebrow { font: italic 400 clamp(17px, 1.4vw, 20px)/1.2 var(--serif); color: var(--senf); }
:focus-visible { outline: 2px solid var(--senf); outline-offset: 4px; border-radius: 4px; }

/* Filmkorn über allem */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: korn 1s steps(6) infinite;
}
@keyframes korn { 0% { transform: translate(0, 0) } 20% { transform: translate(-3%, 2%) } 40% { transform: translate(2%, -4%) } 60% { transform: translate(-4%, -1%) } 80% { transform: translate(3%, 3%) } 100% { transform: translate(0, 0) } }

/* ---------- Loader ---------- */
.loader { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--nacht); }
.loader-innen { text-align: center; }
.loader-zahl { display: block; font: 200 clamp(90px, 18vw, 220px)/1 var(--serif); font-variant-numeric: tabular-nums; }
.loader-name { display: block; margin-top: 10px; font: italic 300 22px/1 var(--serif); color: var(--senf); }
.loader-vorhang { position: absolute; inset: 0; background: var(--senf); transform: scaleY(0); transform-origin: bottom; }

/* ---------- Cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 95; pointer-events: none; mix-blend-mode: difference; }
.cursor-punkt, .cursor-ring { position: absolute; left: 0; top: 0; border-radius: 50%; transform: translate(-50%, -50%); }
.cursor-punkt { width: 6px; height: 6px; background: var(--creme); }
.cursor-ring { width: 38px; height: 38px; border: 1px solid var(--creme); display: grid; place-items: center; transition: width .4s var(--ease), height .4s var(--ease), background .3s; }
.cursor-text { font: 500 10px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--nacht); opacity: 0; font-style: normal; transition: opacity .2s; }
.cursor.gross .cursor-ring { width: 92px; height: 92px; background: var(--creme); }
.cursor.gross .cursor-text { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Kopf ---------- */
.kopf-schatten { position: fixed; inset: 0 0 auto; height: 110px; z-index: 49; pointer-events: none; background: linear-gradient(rgba(14,10,8,.72), rgba(14,10,8,.35) 55%, rgba(14,10,8,0)); }
.kopf { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; justify-content: space-between; align-items: center; padding: 22px var(--rand); mix-blend-mode: difference; }
.marke { font: 400 22px/1 var(--serif); letter-spacing: .01em; }
.marke i { color: var(--creme-2); }
.kopf-nav { display: flex; gap: clamp(18px, 3vw, 40px); font: 500 14px/1 var(--sans); }
.kopf-nav a { position: relative; padding: 6px 0; display: inline-block; }
.kopf-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.kopf-nav a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100svh; min-height: 560px; overflow: hidden; }
.hero-gl, .hero-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-fallback { opacity: 0; }
.kein-webgl .hero-fallback { opacity: 1; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,10,8,.55) 0%, rgba(14,10,8,0) 30%, rgba(14,10,8,0) 55%, rgba(14,10,8,.9) 100%); pointer-events: none; }
.hero-text { position: absolute; z-index: 2; left: var(--rand); right: var(--rand); bottom: clamp(70px, 11vh, 130px); }
.hero-kicker, .hero-unter { overflow: hidden; }
.hero-kicker span, .hero-unter span { display: inline-block; }
.hero-kicker { font: 500 14px/1.2 var(--sans); letter-spacing: .02em; color: var(--creme); margin-bottom: 14px; text-shadow: 0 1px 12px rgba(0,0,0,.6); }
.hero-titel { font: 300 clamp(110px, 24vw, 360px)/.82 var(--serif); letter-spacing: -.045em; display: flex; flex-wrap: wrap; }
.hero-titel .zeile { overflow: hidden; display: inline-block; padding-bottom: .08em; }
.hero-titel .wort { display: inline-block; }
.hero-titel .kursiv { font-style: italic; font-weight: 200; color: var(--senf); }
.hero-unter { margin-top: 18px; font: 300 clamp(20px, 2.2vw, 30px)/1.2 var(--serif); font-style: italic; color: var(--creme-2); }
.scroll-hinweis { position: absolute; z-index: 2; right: var(--rand); bottom: 40px; display: flex; flex-direction: column; align-items: center; gap: 12px; font: italic 400 15px/1 var(--serif); color: var(--creme-2); writing-mode: vertical-rl; }
.scroll-hinweis i { width: 1px; height: 60px; background: linear-gradient(var(--creme), transparent); animation: tropfen 2s var(--ease) infinite; }
@keyframes tropfen { 0% { transform: scaleY(0); transform-origin: top } 50% { transform: scaleY(1); transform-origin: top } 51% { transform-origin: bottom } 100% { transform: scaleY(0); transform-origin: bottom } }

/* ---------- Kumpir-Tour ---------- */
.tour { position: relative; height: 420vh; }
.tour-buehne { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.tour-bild { position: absolute; inset: 0; will-change: transform; }
.tour-bild img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.1) contrast(1.05); }
.tour-buehne::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 50% 50%, rgba(14,10,8,0) 40%, rgba(14,10,8,.85) 100%); }
.tour-labels { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.label { position: absolute; display: flex; align-items: center; gap: 12px; opacity: 0; font: 400 clamp(22px, 2.6vw, 38px)/1 var(--serif); }
.label { text-shadow: 0 2px 18px rgba(0,0,0,.65); white-space: nowrap; }
.label.links { flex-direction: row-reverse; }
.label b { font: 500 11px/1 var(--sans); letter-spacing: .1em; color: var(--senf); }
.label::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--creme); box-shadow: 0 0 0 6px rgba(243,233,216,.12); }
.tour-text { position: absolute; z-index: 3; left: var(--rand); top: 50%; transform: translateY(-50%); max-width: 560px; }
.tour-titel { margin-top: 18px; font: 300 clamp(56px, 8vw, 128px)/.92 var(--serif); letter-spacing: -.03em; }
.tour-titel em { color: var(--senf); font-weight: 200; }
.tour-fuss { margin-top: 26px; color: var(--creme-2); font-size: 15px; max-width: 360px; }
.tour-fortschritt { position: absolute; z-index: 3; left: var(--rand); right: var(--rand); bottom: 34px; height: 1px; background: rgba(243,233,216,.18); }
.tour-fortschritt i { position: absolute; inset: 0; background: var(--senf); transform: scaleX(0); transform-origin: left; }

/* ---------- Laufband ---------- */
.laufband { padding: clamp(60px, 10vw, 140px) 0; overflow: hidden; }
.band { white-space: nowrap; }
.band-spur { display: inline-flex; align-items: center; gap: .45em; will-change: transform; }
.band-1 { font: 300 clamp(70px, 13vw, 210px)/1 var(--serif); letter-spacing: -.03em; }
.band-1 em { color: var(--senf); font-weight: 200; }
.band-1 .stern { font-size: .35em; color: var(--senf); }
.band-2 { margin-top: 22px; font: italic 300 clamp(20px, 2vw, 30px)/1 var(--serif); color: var(--creme-2); }
.band-2 .band-spur { gap: 1.6em; }

/* ---------- Açaí ---------- */
.acai { position: relative; height: 300vh; }
.acai-buehne { position: sticky; top: 0; height: 100svh; overflow: hidden; perspective: 1200px; }
.acai-becher { position: absolute; left: 50%; top: 50%; width: min(46vh, 70vw); aspect-ratio: 3/4; transform: translate(-50%, -50%); border-radius: 220px 220px 24px 24px; overflow: hidden; box-shadow: 0 60px 120px rgba(0,0,0,.6); z-index: 2; }
.acai-becher img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); filter: saturate(1.2) contrast(1.06) brightness(1.06); }
.acai-ebene { position: absolute; inset: 0; pointer-events: none; }
.ebene-hinten { z-index: 1; } .ebene-vorne { z-index: 3; }
.frucht { position: absolute; will-change: transform; filter: drop-shadow(0 30px 40px rgba(0,0,0,.45)); }
.ebene-hinten .frucht { filter: blur(3px) brightness(.8) drop-shadow(0 20px 30px rgba(0,0,0,.4)); }
.acai-text { position: absolute; z-index: 4; inset: 0; pointer-events: none; }
.acai-text .eyebrow { position: absolute; left: var(--rand); top: 18vh; color: var(--lila-hell); }
.acai-titel { position: absolute; left: var(--rand); right: var(--rand); top: 20vh; display: flex; justify-content: space-between; font: 200 clamp(120px, 26vw, 400px)/.8 var(--serif); letter-spacing: -.04em; mix-blend-mode: difference; }
.acai-titel span { display: inline-block; }
.acai-saucen { position: absolute; left: var(--rand); bottom: 12vh; list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; pointer-events: auto; max-width: 520px; }
.acai-saucen li { padding: 12px 20px; border: 1px solid rgba(201,166,255,.45); border-radius: 999px; font: 400 18px/1 var(--serif); font-style: italic; transition: background .4s var(--ease), color .4s; }
.acai-saucen li:hover { background: var(--lila-hell); color: var(--lila); }
.acai-groessen { position: absolute; right: var(--rand); bottom: 12vh; display: grid; gap: 10px; text-align: right; font: 500 14px/1.4 var(--sans); color: var(--lila-hell); }
.acai-groessen b { display: block; font: 300 34px/1 var(--serif); letter-spacing: 0; color: var(--creme); text-transform: none; }

/* ---------- 3D-Karussell ---------- */
/* Bühne wie ein dunkler Raum: ein warmer Lichtkegel von oben, die Bilder stehen auf
   einem spiegelnden Boden und drehen sich wie auf einer Vitrine. */
.karussell { position: relative; height: 360vh; }
.karussell-buehne { position: sticky; top: 0; height: 100svh; overflow: hidden; background: radial-gradient(90% 60% at 50% 100%, #1d140d 0%, var(--nacht) 70%); }
.k-licht { position: absolute; left: 50%; top: -10%; width: min(1100px, 140vw); height: 95%; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(50% 100% at 50% 0%, rgba(255,214,140,.20) 0%, rgba(227,176,75,.08) 45%, transparent 75%);
  clip-path: polygon(38% 0, 62% 0, 100% 100%, 0 100%); filter: blur(18px); opacity: .9; }
.karussell-titel { position: absolute; z-index: 3; left: 0; right: 0; top: 13vh; text-align: center; font: 300 clamp(40px, 6vw, 92px)/.95 var(--serif); letter-spacing: -.03em; font-variation-settings: "opsz" 144; }
.k-szene { position: absolute; inset: 0; perspective: 1100px; perspective-origin: 50% 38%; display: grid; place-items: center; }
.zylinder { position: relative; width: min(26vw, 340px, 42vh); aspect-ratio: 4/5; transform-style: preserve-3d; margin-top: 2vh; }
.karte3d { position: absolute; inset: 0; transform-style: preserve-3d; backface-visibility: hidden; border-radius: 14px; background: var(--nacht-2);
  -webkit-box-reflect: below 14px linear-gradient(transparent 74%, rgba(255,255,255,.2)); will-change: transform, filter; }
.karte3d img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
/* Glanz + Kanten-Licht: --licht (0..1) kommt aus dem Skript, je nachdem wie weit die Karte vorne steht */
.karte3d::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, rgba(255,236,200,calc(var(--licht, 0) * .28)) 0%, rgba(255,236,200,0) 38%),
              linear-gradient(0deg, rgba(14,10,8,.55) 0%, rgba(14,10,8,0) 35%);
  box-shadow: inset 0 0 0 1px rgba(243,233,216,calc(.06 + var(--licht, 0) * .22)), inset 0 1px 0 rgba(255,230,180,calc(var(--licht, 0) * .5)); }
.k-boden { position: absolute; left: 50%; top: 50%; width: min(90vw, 1100px); height: 46vh; transform: translate(-50%, 6vh); pointer-events: none;
  background: radial-gradient(50% 50% at 50% 30%, rgba(227,176,75,.16) 0%, rgba(227,176,75,.04) 45%, transparent 70%),
              radial-gradient(28% 12% at 50% 14%, rgba(0,0,0,.7) 0%, transparent 100%); }
.k-info { position: absolute; z-index: 3; left: 0; right: 0; bottom: 9vh; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.k-name, .k-preis { overflow: hidden; }
.k-name span, .k-preis span { display: inline-block; }
.k-name { font: italic 300 clamp(26px, 2.6vw, 38px)/1.15 var(--serif); }
.k-preis { font: 500 15px/1.3 var(--sans); color: var(--senf); font-variant-numeric: tabular-nums; min-height: 1.3em; }
.k-spur { position: absolute; z-index: 3; left: 50%; bottom: 5vh; width: 120px; height: 1px; transform: translateX(-50%); background: rgba(243,233,216,.16); }
.k-spur i { position: absolute; inset: 0; background: var(--senf); transform: scaleX(0); transform-origin: left; }

/* ---------- Speisekarte ---------- */
.karte { position: relative; padding: clamp(100px, 14vw, 200px) var(--rand) 80px; }
.karte-kopf { margin-bottom: clamp(50px, 7vw, 100px); }
.karte-titel { margin-top: 18px; font: 300 clamp(56px, 9vw, 150px)/.9 var(--serif); letter-spacing: -.035em; }
.karte-titel em { color: var(--senf); font-weight: 200; }
.kategorie { border-top: 1px solid rgba(243,233,216,.14); }
.kategorie-kopf { width: 100%; display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 28px 0; background: none; border: 0; color: inherit; cursor: pointer; text-align: left; }
.kategorie-name { font: 300 clamp(34px, 5.4vw, 86px)/1 var(--serif); letter-spacing: -.025em; transition: transform .6s var(--ease), color .4s; }
.kategorie-kopf:hover .kategorie-name { transform: translateX(18px); color: var(--senf); }
.kategorie-zahl { flex: none; font: italic 400 16px/1 var(--serif); color: var(--creme-2); }
.kategorie-inhalt { overflow: hidden; height: 0; }
.gerichte { padding: 0 0 34px; display: grid; gap: 4px; max-width: 900px; }
.gericht { display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; padding: 14px 0; border-bottom: 1px solid rgba(243,233,216,.07); }
.gericht-name { font: 400 20px/1.3 var(--serif); }
.gericht-preis { font: 500 16px/1.3 var(--sans); color: var(--senf); font-variant-numeric: tabular-nums; }
.gericht-text { grid-column: 1 / -1; color: var(--creme-2); font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px 0 20px; }
.chips span { padding: 8px 14px; border: 1px solid rgba(243,233,216,.2); border-radius: 999px; font-size: 13px; color: var(--creme-2); }
.vorschau { position: fixed; left: 0; top: 0; z-index: 40; width: 300px; aspect-ratio: 4/5; pointer-events: none; border-radius: 14px; overflow: hidden; opacity: 0; transform: translate(-50%, -50%) scale(.8); }
.vorschau img { width: 100%; height: 100%; object-fit: cover; }
.karte-hinweis { margin-top: 40px; font-size: 13px; color: var(--creme-2); }

/* ---------- Finale ---------- */
.finale { position: relative; padding: clamp(80px, 12vw, 160px) var(--rand) 40px; overflow: hidden; text-align: center; }
.finale-logo { width: clamp(150px, 18vw, 240px); margin: 0 auto 30px; }
/* Der Name füllt sich beim Hinscrollen mit Senfgelb – wie Sauce, die über die Kartoffel läuft */
.finale-riesig { font: 300 clamp(56px, 16.5vw, 250px)/.9 var(--serif); letter-spacing: -.045em; white-space: nowrap; padding-bottom: .08em; }
.finale-riesig span { display: inline-block; color: transparent; -webkit-text-stroke: 1px rgba(227,176,75,.7);
  background: linear-gradient(90deg, var(--senf) 0 var(--fuell, 0%), transparent var(--fuell, 0%)); -webkit-background-clip: text; background-clip: text; }
.finale-infos { display: flex; justify-content: center; gap: clamp(30px, 8vw, 120px); margin-top: 50px; color: var(--creme-2); font-size: 15px; }
.finale-demo { margin-top: 60px; font: 400 13px/1.4 var(--sans); color: rgba(243,233,216,.55); }
.finale-demo a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Impressum ---------- */
.recht { max-width: 680px; margin: 0 auto; padding: 60px var(--rand) 80px; }
.recht h1 { font: 300 clamp(44px, 8vw, 72px)/1 var(--serif); letter-spacing: -.03em; margin: 30px 0 30px; }
.recht h2 { font: 400 26px/1.2 var(--serif); margin: 40px 0 10px; color: var(--senf); }
.recht h3 { font: italic 400 19px/1.3 var(--serif); margin: 26px 0 6px; }
.recht p { color: var(--creme-2); line-height: 1.65; }
.recht a { color: var(--creme); text-decoration: underline; text-underline-offset: 3px; }
.recht-zurueck { font-size: 15px; }

/* ---------- Mobil ---------- */
@media (max-width: 760px) {
  .kopf { padding-top: 18px; padding-bottom: 18px; }
  .kopf-nav { gap: 16px; font-size: 13px; }
  .marke { font-size: 19px; }
  .hero::after { background: linear-gradient(180deg, rgba(14,10,8,.5) 0%, rgba(14,10,8,0) 22%, rgba(14,10,8,0) 42%, rgba(14,10,8,.82) 72%, rgba(14,10,8,.96) 100%); }
  .hero-titel { font-size: 31vw; }
  .tour-buehne::after { background: linear-gradient(180deg, rgba(14,10,8,0) 45%, rgba(14,10,8,.85) 100%), radial-gradient(130% 80% at 50% 40%, rgba(14,10,8,0) 45%, rgba(14,10,8,.7) 100%); }
  .zylinder { width: 56vw; margin-top: 0; }
  .k-szene { perspective: 700px; }
  .karussell-titel { top: 12vh; padding: 0 var(--rand); }
  .k-info { bottom: 11vh; }
  .tour { height: 340vh; }
  .tour-text { top: auto; bottom: 90px; transform: none; right: var(--rand); }
  .tour-titel { font-size: 52px; }
  .label { font-size: 22px; }
  .acai-becher { width: 64vw; top: 52%; }
  .acai-titel { top: 14vh; }
  .acai-text .eyebrow { top: 12vh; }
  .acai-saucen { bottom: 16vh; right: var(--rand); }
  .acai-saucen li { padding: 9px 14px; font-size: 15px; }
  .acai-groessen { left: var(--rand); right: var(--rand); bottom: 5vh; grid-auto-flow: column; justify-content: space-between; text-align: left; }
  .acai-groessen b { font-size: 26px; }
  .vorschau { display: none; }
  .finale-infos { flex-direction: column; gap: 16px; }
}

/* ---------- Weniger Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  body::after, .scroll-hinweis i { animation: none; }
  .tour, .acai, .karussell { height: auto; }
  .tour-buehne, .acai-buehne, .karussell-buehne { position: relative; }
}
