@font-face { font-family: "Gloock"; font-weight: 400; font-display: swap; src: url(../../schriften/gloock-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Gloock"; font-weight: 400; font-display: swap; src: url(../../schriften/gloock-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Hanken Grotesk"; font-weight: 100 900; font-display: swap; src: url(../../schriften/hanken-latin.woff2) format("woff2"); }

:root {
  --mehl: #f3eee6;
  --mehl-tief: #e8e1d5;
  --tinte: #1f1813;
  --tinte-weich: #5c5148;
  --glut: #c4501f;
  --nacht: #110c09;
  --nacht-text: #f1e7da;
  --nacht-weich: #a99a8a;
  --linie: rgba(31, 24, 19, .16);
  --rand: clamp(16px, 4vw, 56px);
  --kopf-h: 56px;
  --display: "Gloock", Georgia, serif;
  --text: "Hanken Grotesk", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--mehl);
  color: var(--tinte);
  font: 400 1.0625rem/1.55 var(--text);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
figure { margin: 0; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }

.nur-leser { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprung { position: absolute; left: 8px; top: -60px; z-index: 50; background: var(--tinte); color: var(--mehl); padding: 10px 14px; }
.sprung:focus { top: 8px; }

/* Typografie: gross eng, Fliesstext normal */
.riesig {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(3.4rem, 12.5vw, 11.5rem);
  line-height: .9; letter-spacing: -.035em;
}
.gross {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(2.6rem, 8.4vw, 7.5rem);
  line-height: .95; letter-spacing: -.03em;
}
.mittel {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(1.9rem, 4.2vw, 3.6rem);
  line-height: 1.02; letter-spacing: -.02em;
}
.fliess { font-size: clamp(1.0625rem, 1.25vw, 1.25rem); line-height: 1.55; max-width: 34em; color: var(--tinte-weich); }
.vorzeile { font-size: .9375rem; font-weight: 600; letter-spacing: .01em; color: var(--glut); }
.gedaempft { color: var(--tinte-weich); }

/* Knopf: rechteckig, Rückmeldung beim Drücken */
.knopf {
  appearance: none; border: 0; cursor: pointer;
  font: 600 1rem/1 var(--text); letter-spacing: .01em;
  background: var(--tinte); color: var(--mehl);
  padding: 17px 26px; border-radius: 3px;
  min-height: 48px;
  transition: transform 160ms cubic-bezier(.2,.8,.2,1), background-color 160ms ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.knopf:hover { background: #3a2e25; }
.knopf:active, .knopf.gedrueckt { transform: scale(.97); transition-duration: 60ms; }
.knopf:focus-visible { outline: 2px solid var(--glut); outline-offset: 3px; }
.knopf-klein { padding: 11px 16px; min-height: 40px; font-size: .9375rem; }

/* Kopf */
.kopf {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  height: var(--kopf-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 var(--rand);
  padding-top: env(safe-area-inset-top);
  background: rgba(243, 238, 230, .82);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  transition: background-color 300ms ease, color 300ms ease;
}
.kopf.dunkel { background: rgba(17, 12, 9, .78); color: var(--nacht-text); }
.kopf.dunkel .knopf { background: var(--nacht-text); color: var(--nacht); }
.marke { font-family: var(--display); font-size: 1.375rem; letter-spacing: -.01em; text-decoration: none; white-space: nowrap; }
.kopf nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 32px); }
.kopf-link { text-decoration: none; font-size: .9375rem; font-weight: 500; }
.kopf-link:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 640px) { .kopf-link { display: none; } }
@media (prefers-reduced-transparency: reduce) {
  .kopf { background: var(--mehl); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .kopf.dunkel { background: var(--nacht); }
}

/* 1. Titel */
.titel { height: 220svh; position: relative; }
.titel-buehne {
  position: sticky; top: 0; height: 100svh;
  display: flex; flex-direction: column; align-items: center;
  padding: calc(var(--kopf-h) + clamp(20px, 4svh, 48px)) var(--rand) clamp(20px, 4svh, 40px);
  overflow: hidden;
}
.titel-text { text-align: center; position: relative; z-index: 2; }
.titel-text .riesig { margin: .12em 0 .14em; }
.unterzeile { font-size: clamp(1.125rem, 1.7vw, 1.5rem); color: var(--tinte-weich); }
.titel-bild {
  flex: 1 1 auto; min-height: 0; width: 100%;
  display: flex; align-items: center; justify-content: center;
  margin-top: clamp(16px, 3svh, 36px);
  position: relative; z-index: 1;
}
.titel-bild picture { display: block; height: 100%; max-width: 100%; aspect-ratio: 3 / 2; transform-origin: 50% 50%; will-change: transform; }
.titel-bild img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.titel-nachsatz {
  position: absolute; left: 0; right: 0; bottom: clamp(18px, 4svh, 40px); z-index: 3;
  text-align: center; font-size: 1rem; font-weight: 600; opacity: 0;
}
.titel-nachsatz span { background: var(--mehl); padding: 8px 14px; }
@media (max-aspect-ratio: 4/5) {
  .titel-bild picture { aspect-ratio: 2 / 3; }
}
.nur-schmal { display: none; }
@media (max-width: 640px) {
  .nur-schmal { display: inline; }
  .titel .riesig { font-size: min(21vw, 6rem); line-height: .86; }
}

/* 2. Gedanke */
.gedanke {
  min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  padding: 18svh var(--rand);
  max-width: 1400px; margin: 0 auto;
}

/* 3. Weg vom Teig zur Pizza */
.weg { height: 460svh; position: relative; background: var(--mehl-tief); }
.weg-buehne {
  position: sticky; top: 0; height: 100svh; overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  grid-template-areas: "texte bilder";
  align-items: center; gap: clamp(24px, 5vw, 96px);
  padding: calc(var(--kopf-h) + 32px) var(--rand) 40px;
}
.weg-bilder {
  grid-area: bilder; position: relative; height: 100%; max-height: 78svh;
  aspect-ratio: 4 / 5; justify-self: center; max-width: 100%;
  overflow: hidden; border-radius: 2px; background: var(--mehl);
}
.weg-bild { position: absolute; inset: 0; opacity: 0; will-change: opacity, transform; }
.weg-bild[data-schritt="0"] { opacity: 1; }
.weg-bild img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.weg-bild-ofen img { object-position: 38% 70%; }
.weg-texte { grid-area: texte; position: relative; align-self: center; min-height: 18em; }
.weg-text { position: absolute; inset: 0 0 auto 0; opacity: 0; will-change: opacity, transform; }
.weg-text[data-schritt="0"] { opacity: 1; }
.weg-text .mittel { margin: .35em 0 .45em; }
.nummer { font-size: .9375rem; font-weight: 600; color: var(--glut); font-variant-numeric: tabular-nums; }
.weg-stand { position: absolute; left: var(--rand); bottom: 32px; display: flex; gap: 6px; }
.weg-stand i { display: block; width: 28px; height: 3px; background: var(--linie); transform-origin: 0 50%; }
.weg-stand i.an { background: var(--tinte); }

@media (max-width: 820px) {
  .weg-buehne {
    grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto;
    grid-template-areas: "bilder" "texte";
    gap: 18px; padding: calc(var(--kopf-h) + 12px) var(--rand) 44px;
    align-items: stretch;
  }
  .weg-bilder { height: 100%; max-height: none; width: 100%; aspect-ratio: auto; }
  .weg-texte { min-height: 13.5em; align-self: start; }
  .weg-text .mittel { font-size: clamp(1.75rem, 7.4vw, 2.4rem); }
  .weg-stand { bottom: 22px; }
}

/* 4. Feuer */
.feuer { background: var(--nacht); color: var(--nacht-text); padding: clamp(96px, 16svh, 180px) 0 0; }
.feuer .vorzeile { color: #e0773f; }
.feuer-kopf { padding: 0 var(--rand); max-width: 1400px; margin: 0 auto; }
.feuer-kopf .mittel { margin-top: .3em; }
.feuer-zahlen {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 80px);
  padding: clamp(56px, 10svh, 120px) var(--rand) clamp(64px, 12svh, 140px);
  max-width: 1400px; margin: 0 auto;
}
.zahl-wert {
  font-family: var(--display); font-size: clamp(5.5rem, 17vw, 16rem);
  line-height: .85; letter-spacing: -.045em; font-variant-numeric: tabular-nums;
}
.zahl-text { margin-top: 18px; color: var(--nacht-weich); font-size: clamp(1.0625rem, 1.25vw, 1.25rem); max-width: 22em; }
.feuer-bild { position: relative; overflow: hidden; aspect-ratio: 16 / 9; }
.feuer-bild picture, .feuer-bild img { display: block; width: 100%; height: 100%; }
.feuer-bild img { object-fit: cover; object-position: 60% 55%; transform: scale(1.12); will-change: transform; }
@media (max-width: 700px) {
  .feuer-zahlen { grid-template-columns: 1fr; gap: 56px; }
  .zahl-wert { font-size: clamp(6rem, 31vw, 9rem); }
}
@media (max-aspect-ratio: 4/5) {
  .feuer-bild { aspect-ratio: 4 / 5; }
  .feuer-bild img { object-position: 55% 50%; }
}

/* 5. Rand */
.rand { padding: clamp(110px, 18svh, 200px) 0 clamp(80px, 12svh, 140px); text-align: center; overflow: hidden; }
.rand .gross { padding: 0 var(--rand); }
.rand-satz { margin: 24px auto 0; padding: 0 var(--rand); }
.rand-bild {
  margin: clamp(48px, 9svh, 96px) auto 0; width: min(100% - 2 * var(--rand), 1200px);
  aspect-ratio: 3 / 2; overflow: hidden; border-radius: 2px;
}
.rand-bild img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transform-origin: 50% 50%; will-change: transform; }
@media (max-width: 700px) { .rand-bild { aspect-ratio: 4 / 5; } .rand-bild img { object-position: 45% 50%; } }

/* 6. Am Ofen */
.ofen {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end;
  gap: clamp(28px, 5vw, 80px);
  padding: clamp(60px, 10svh, 120px) var(--rand) clamp(110px, 18svh, 200px);
  max-width: 1500px; margin: 0 auto;
}
.ofen-bild { aspect-ratio: 3 / 2; overflow: hidden; border-radius: 2px; }
.ofen-bild img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.ofen-text .mittel { margin-bottom: .6em; }
@media (max-width: 820px) { .ofen { grid-template-columns: 1fr; } }

/* 7. Karte */
.karte { background: var(--mehl-tief); padding: clamp(96px, 16svh, 180px) var(--rand); }
.karte-kopf, .karte-inhalt, .karte-fuss { max-width: 1400px; margin-left: auto; margin-right: auto; }
.karte-kopf .gross { margin-top: .15em; }
.karte-inhalt {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px);
  margin-top: clamp(48px, 8svh, 96px); align-items: start;
}
.karte-liste li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
  padding: 22px 0; border-top: 1px solid var(--linie);
}
.karte-liste li:last-child { border-bottom: 1px solid var(--linie); }
.karte-liste h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.6rem, 2.6vw, 2.25rem); line-height: 1.05; letter-spacing: -.015em; }
.karte-liste p { margin-top: 6px; color: var(--tinte-weich); font-size: 1rem; }
.preis { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; font-size: 1.0625rem; }
.karte-bilder { display: grid; gap: 16px; }
.karte-bild { overflow: hidden; border-radius: 2px; }
.karte-bild img { width: 100%; height: 100%; object-fit: cover; }
.karte-bild-hoch { aspect-ratio: 4 / 5; }
.karte-bild-hoch img { object-position: 50% 45%; }
.karte-bild-quer { aspect-ratio: 3 / 2; }
.karte-fuss { margin-top: 32px; }
@media (max-width: 820px) {
  .karte-inhalt { grid-template-columns: 1fr; }
  .karte-bilder { grid-template-columns: 1fr; }
}

/* 8. Besuch */
.besuch { padding: clamp(110px, 18svh, 200px) var(--rand); max-width: 1400px; margin: 0 auto; }
.besuch-raster {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 5vw, 72px);
  margin-top: clamp(48px, 8svh, 88px); align-items: start;
}
.klein-titel { font-size: .9375rem; font-weight: 600; color: var(--glut); margin-bottom: 14px; }
.zeiten { display: grid; grid-template-columns: auto auto; gap: 10px 24px; font-variant-numeric: tabular-nums; }
.zeiten dt { color: var(--tinte-weich); }
.zeiten dd { text-align: right; }
.hinweis { margin-top: 12px; font-size: .9375rem; color: var(--tinte-weich); font-style: italic; }
.besuch-knopf { align-self: center; }
@media (max-width: 900px) { .besuch-raster { grid-template-columns: 1fr; } .besuch-knopf { align-self: start; } }
@media (max-width: 380px) { .zeiten { grid-template-columns: 1fr; gap: 2px 0; } .zeiten dd { text-align: left; margin-bottom: 10px; } }

/* Fuss */
.fuss {
  border-top: 1px solid var(--linie);
  padding: 40px var(--rand) calc(48px + env(safe-area-inset-bottom));
  display: flex; flex-wrap: wrap; gap: 8px 32px;
  font-size: .9375rem; color: var(--tinte-weich);
}
.fuss a { color: var(--tinte); text-underline-offset: 3px; }

/* Hinweisfenster */
.hinweis-fenster {
  border: 0; padding: 0; background: var(--mehl); color: var(--tinte);
  width: min(100% - 32px, 520px); border-radius: 3px;
}
.hinweis-fenster::backdrop { background: rgba(17, 12, 9, .55); }
.hinweis-fenster form { padding: 32px 28px 28px; display: grid; gap: 14px; }
.hinweis-fenster[open] { animation: auf 260ms cubic-bezier(.2,.8,.2,1); }
@keyframes auf { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.hinweis-knoepfe { display: flex; align-items: center; gap: 24px; margin-top: 10px; flex-wrap: wrap; }
.text-link { font-weight: 600; text-underline-offset: 4px; }

/* Ruhige Bewegung: Standbilder statt Pinnen und Zoom */
@media (prefers-reduced-motion: reduce) {
  .titel { height: auto; }
  .titel-buehne { position: relative; height: 100svh; }
  .titel-bild picture, .weg-bild, .weg-text, .rand-bild img, .feuer-bild img { will-change: auto; }
  .feuer-bild img { transform: none; }

  .weg { height: auto; }
  .weg-buehne { position: relative; height: auto; display: block; padding: clamp(80px, 14svh, 160px) var(--rand); }
  .weg-bilder, .weg-texte, .weg-stand { display: contents; }
  .weg-bild, .weg-text { position: static; opacity: 1; }
  .weg-bild { aspect-ratio: 4 / 5; max-width: 560px; margin: 0 auto 24px; overflow: hidden; border-radius: 2px; }
  .weg-text { max-width: 560px; margin: 0 auto 80px; }
  .weg-stand i { display: none; }
  .weg-buehne { display: flex; flex-direction: column; }
  .weg-bild[data-schritt="0"] { order: 1; } .weg-text[data-schritt="0"] { order: 2; }
  .weg-bild[data-schritt="1"] { order: 3; } .weg-text[data-schritt="1"] { order: 4; }
  .weg-bild[data-schritt="2"] { order: 5; } .weg-text[data-schritt="2"] { order: 6; }
  .weg-bild[data-schritt="3"] { order: 7; } .weg-text[data-schritt="3"] { order: 8; }
  .weg-bild, .weg-text { width: 100%; }
  .hinweis-fenster[open] { animation: blende 200ms ease; }
  @keyframes blende { from { opacity: 0; } }
  .knopf, .knopf:active { transition: background-color 120ms ease; transform: none; }
}
