/* =========================================================
   Grillhaus Emre – Fallbeispiel (erfundener Betrieb)
   Stimmung: Imbiss bei Nacht. Glut, Neon, Papier, Lärm.
   ========================================================= */
@font-face { font-family: "Bowlby One"; src: url(../fonts/BowlbyOne.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Archivo"; src: url(../fonts/Archivo-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Archivo"; src: url(../fonts/Archivo-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --night: #0d0a0a;
  --night-2: #1a1212;
  --paper: #f6f1e8;
  --paper-dim: #c9bfb0;
  --grill: #f04a30;      /* Glut, Neon (4,9:1 auf Schwarz) */
  --grill-deep: #9c1d10;
  --sauce: #ffc93c;      /* Akzent: Bestellen */
  --display: "Bowlby One", Impact, sans-serif;
  --sans: "Archivo", system-ui, sans-serif;
  --pad: clamp(20px, 4vw, 64px);
  --ease: cubic-bezier(0.23, 1, 0.32, 1);   /* Emil: kräftiges ease-out */
}
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--night); color: var(--paper); font: 400 18px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, p, ol, ul, dl, dd, figure, fieldset { margin: 0; }
ol, ul { list-style: none; padding: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: var(--sauce); color: var(--night); }
:focus-visible { outline: 3px solid var(--sauce); outline-offset: 4px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 60; background: var(--paper); color: var(--night); padding: 10px 16px; }
.skip:focus { top: 12px; }
.grain { position: fixed; inset: -50%; z-index: 50; pointer-events: none; background: url(../bilder/korn.png); opacity: .1; mix-blend-mode: overlay; animation: grain 1s steps(6) infinite; }
@keyframes grain { 0%{transform:translate(0,0)} 25%{transform:translate(-3%,2%)} 50%{transform:translate(2%,-4%)} 75%{transform:translate(-4%,-1%)} 100%{transform:translate(0,0)} }

.h2 { font: 400 clamp(36px, 5.2vw, 84px)/1.32 var(--display); text-transform: uppercase; letter-spacing: -0.01em; text-wrap: balance; }
.lead { font-size: clamp(19px, 1.5vw, 22px); max-width: 36ch; }
.btn { display: inline-flex; align-items: center; min-height: 56px; padding: 0 30px; border-radius: 999px; background: var(--sauce); color: var(--night); font-weight: 700; text-decoration: none; transition: scale .12s var(--ease), background-color .2s ease; }
.btn:active { scale: .96; }
@media (hover: hover) and (pointer: fine) { .btn:hover { background: #ffd866; } }
.link { color: var(--sauce); text-underline-offset: .2em; }

/* ---------- Kopf ---------- */
.top::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--night); opacity: .85; }
.top { position: fixed; z-index: 40; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: 16px var(--pad); }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; font: 400 20px/1 var(--display); text-transform: uppercase; }
.logo b { font-weight: 400; color: var(--grill); }
.logo svg { width: 48px; height: 48px; }
.lg-ring { fill: var(--night); stroke: var(--grill); stroke-width: 3; }
.lg-rod { stroke: var(--paper); stroke-width: 3; stroke-linecap: round; }
.lg-meat { fill: #8a3f1a; }
.lg-lines path { stroke: #c46a2c; stroke-width: 2.5; stroke-linecap: round; }
.call { font-weight: 700; text-decoration: none; background: rgba(13,10,10,.7); padding: 12px 18px; border-radius: 999px; border: 2px solid var(--grill); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,10,10,.95) 0%, rgba(13,10,10,.5) 40%, rgba(13,10,10,.1) 75%); } /* taste-skill-ignore: Abdeckung unter Text auf Foto */
.hero-text { position: relative; padding: 0 var(--pad) clamp(48px, 9vh, 110px); display: grid; gap: 26px; justify-items: start; }
.neon { font: 400 clamp(52px, 9vw, 168px)/1 var(--display); text-transform: uppercase; color: #fff4ec; letter-spacing: -0.015em; max-width: 12ch;
  text-shadow: 0 0 6px rgba(255,90,60,.9), 0 0 24px rgba(224,49,29,.8), 0 0 60px rgba(224,49,29,.5); }

/* ---------- Bauen ---------- */
.build { background: var(--night); }
.build-pin { min-height: 100svh; display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 4vw; padding: 80px var(--pad) 40px; }
.build-copy { display: grid; gap: 36px; }
.steps { display: grid; gap: 14px; font-size: 20px; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; color: rgba(246,241,232,.38); transition: color .25s ease; }
.steps li::before { content: counter(s); font: 400 20px var(--display); }
.steps li.is-on { color: var(--paper); }
.steps li.is-on::before { color: var(--sauce); }
.build-stage { position: relative; }
/* Bühne: freigestellte Zutaten-Fotos, Positionen in % der Bühne */
.stage { position: relative; width: 100%; aspect-ratio: 4 / 3; }
.z { position: absolute; height: auto; will-change: transform, opacity; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .55)); }
.z-brot    { left: 10%; top: 18%; width: 80%; }
/* vordere Brotkante liegt über der Füllung, so steckt alles im Brot */
.z-vorne   { left: 10%; top: 18%; width: 80%; filter: drop-shadow(0 -2px 3px rgba(0, 0, 0, .25)); }
.z-fleisch { left: 22%; top: 33%; width: 56%; }
.z-salat   { left: 24%; top: 31%; width: 52%; }
.z-tomate  { left: 32%; top: 35%; width: 36%; }
.z-rotkohl { left: 27%; top: 38%; width: 46%; }
.z-sosse   { left: 23%; top: 36%; width: 54%; }
.z-fertig  { left: 8%;  top: 6%;  width: 84%; opacity: 0; }
.st-glow { position: absolute; inset: 10% 5%; border-radius: 50%; background: radial-gradient(closest-side, rgba(240, 74, 48, .35), transparent); filter: blur(20px); }
.st-shadow { position: absolute; left: 18%; right: 18%; bottom: 8%; height: 8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .7), transparent); }
.dampf { position: absolute; width: 18%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .22), transparent); filter: blur(8px); opacity: 0; }
.d1 { left: 14%; top: 26%; } .d2 { left: 26%; top: 22%; } .d3 { left: 36%; top: 27%; }
.st-blitz { position: absolute; inset: -10%; background: radial-gradient(closest-side, rgba(255, 220, 160, .9), transparent); opacity: 0; pointer-events: none; mix-blend-mode: screen; }

/* ---------- Konfigurator ---------- */
.config { display: grid; grid-template-columns: 1.3fr 1fr; gap: 4vw; padding: clamp(96px, 14vh, 160px) var(--pad); align-items: start; }
.config-head { grid-column: 1 / -1; display: grid; gap: 16px; }
.config-form { display: grid; gap: 28px; }
fieldset { border: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
legend { font: 400 18px var(--display); text-transform: uppercase; color: var(--grill); margin-bottom: 10px; padding: 0; width: 100%; }
.config-form label { position: relative; cursor: pointer; }
.config-form input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.config-form span { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: 999px; background: var(--night-2); border: 2px solid rgba(246,241,232,.15); font-weight: 700; transition: background-color .15s ease, color .15s ease, border-color .15s ease, scale .12s var(--ease); }
.config-form em { font-style: normal; font-weight: 400; color: var(--paper-dim); margin-left: 8px; font-size: 15px; pointer-events: none; }
.config-form label:has(em) span { padding-right: 90px; }
.config-form label em { position: absolute; right: 22px; top: 50%; translate: 0 -50%; margin: 0; }
.config-form input:checked + span { background: var(--paper); color: var(--night); border-color: var(--paper); }
.config-form input:checked ~ em { color: var(--night); }
.config-form input:focus-visible + span { outline: 3px solid var(--sauce); outline-offset: 3px; }
.config-form label:active span { scale: .96; }
.ticket { position: sticky; top: 96px; background: var(--paper); color: var(--night); padding: 32px 28px 28px; display: grid; gap: 14px; justify-items: start; border-radius: 6px; rotate: 1.5deg; }
.ticket-head { font: 400 18px var(--display); text-transform: uppercase; color: var(--grill-deep); }
.ticket-line { font-size: 22px; line-height: 1.3; font-weight: 700; }
.ticket-price { font: 400 56px/1 var(--display); }
.ticket .btn { background: var(--grill); color: #fff; }
.ticket-note { font-size: 15px; color: #5d5148; }

/* ---------- Emre ---------- */
.emre { display: grid; grid-template-columns: 1fr 1fr; min-height: 100svh; background: var(--grill-deep); }
.emre-photo { overflow: hidden; } .emre-photo img { width: 100%; height: 100%; object-fit: cover; }
.emre-copy { padding: clamp(48px, 8vw, 120px) var(--pad); display: grid; align-content: center; gap: 24px; }
.quote { font: 400 clamp(32px, 3.8vw, 60px)/1.2 var(--display); text-transform: uppercase; }
.quote-by { color: #ffd2c5; }

/* ---------- Nacht ---------- */
.night { position: relative; min-height: 110svh; display: flex; align-items: center; overflow: hidden; }
.night-media { position: absolute; inset: 0; } .night-media img { width: 100%; height: 100%; object-fit: cover; }
.night-card { position: relative; margin: 0 var(--pad); background: rgba(13,10,10,.9); padding: 36px; border: 2px solid var(--grill); border-radius: 6px; display: grid; gap: 18px; max-width: 460px; }
.night-card .h2 { font-size: clamp(30px, 3.2vw, 48px); }
.hours { display: grid; gap: 8px; }
.hours div { display: flex; justify-content: space-between; gap: 24px; }
.hours dd { font-weight: 700; color: var(--sauce); }

/* ---------- Fuß ---------- */
.foot { padding: 64px var(--pad) 40px; display: grid; gap: 20px; }
.foot-mark { font: 400 clamp(90px, 26vw, 420px)/.8 var(--display); color: var(--grill); letter-spacing: -0.02em; }
.foot-note { max-width: 70ch; color: var(--paper-dim); font-size: 15px; }
.foot-note strong { color: var(--paper); }

@media (max-width: 860px) {
  .build-pin { grid-template-columns: 1fr; padding-top: 88px; gap: 12px; align-content: center; }
  .build-stage { order: -1; max-width: 380px; width: 100%; justify-self: center; }
  .steps { position: relative; min-height: 3.4em; }
  .steps li:not(.is-on) { position: absolute; opacity: 0; pointer-events: none; }
  .config, .emre { grid-template-columns: 1fr; }
  .ticket { position: static; rotate: 0deg; }
  .emre-photo { aspect-ratio: 4 / 5; }
  .call { padding: 10px 14px; font-size: 15px; }
  .logo span { display: none; }
}
@media (prefers-reduced-motion: reduce) { .grain { animation: none; } .steps li { color: var(--paper); } .steps li:not(.is-on) { position: static; opacity: 1; } }

/* ---------- Für alle Fallbeispiele (V12): Kopfzeile ein/aus und yourpage24-Hinweis ---------- */
.top { transition: transform 300ms cubic-bezier(0.23, 1, 0.32, 1); }
.top.yp-weg { transform: translateY(-100%); }
.yp-pill {
  position: fixed; left: 16px; bottom: 16px; z-index: 45; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px 10px 12px; border-radius: 99px; text-decoration: none; font: 500 13px/1.2 system-ui, sans-serif;
  color: #e9fbff; background: rgba(3, 18, 26, 0.82); border: 1px solid rgba(34, 227, 214, 0.35);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  opacity: 0; transform: translateY(12px) scale(0.97); pointer-events: none;
  transition: opacity 250ms cubic-bezier(0.23, 1, 0.32, 1), transform 250ms cubic-bezier(0.23, 1, 0.32, 1), border-color 200ms ease;
}
.yp-pill.is-on { opacity: 1; transform: none; pointer-events: auto; }
.yp-pill i { width: 8px; height: 8px; border-radius: 50%; background: #22e3d6; box-shadow: 0 0 10px #22e3d6; flex: none; }
.yp-pill b { font-weight: 600; color: #22e3d6; }
.yp-pill:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .yp-pill:hover { border-color: #22e3d6; } }
@media (max-width: 520px) { .yp-pill span { display: none; } }
@media (prefers-reduced-motion: reduce) { .top, .yp-pill { transition-property: opacity; } .yp-pill { transform: none; } }
