/* seite.css · lp-234 KRUSTE · Schriften, Farben, Größen aus SCHRIFT.md (jede Größe nur aus diesen Variablen).
   Lädt nach grund.css. Das ist die RUHIGE Fassung: jede Station steht fertig untereinander (ohne Skript und bei „Bewegung reduzieren“).
   Die angehefteten Bühnen mit der Bewegung baut anim.css, und zwar nur, wenn html.anim gesetzt ist (frueh.js). */

@font-face { font-family: "Oswald"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/oswald-700.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/jost-400.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/jost-500.woff2") format("woff2"); }

/* Zähler als ganze Zahl, die CSS-Zähler füttert (kein Skript). Ruhig stehen sie auf dem Endzustand. */
@property --tag { syntax: "<integer>"; inherits: true; initial-value: 1; }
@property --tag3 { syntax: "<integer>"; inherits: true; initial-value: 27; }

:root {
  color-scheme: light;
  --weiss: #F3EADB;           /* Knochenweiß, Metzgerpapier */
  --kohle: #17120E;
  --rot: #A31F2E;             /* Fleischrot, genau ein Akzent */
  --rosa: #E8A38A;            /* nur als Licht in Verläufen, nie als Text */

  --g-wort: clamp(4rem, min(24vw, 36svh), 24rem);
  --g-zahl: clamp(4.5rem, min(16vw, 26svh), 18rem);
  --g-zeile: clamp(2rem, min(5vw, 9svh), 5rem);
  --g-ueber: clamp(1.5rem, 2.3vw, 2.375rem);
  --g-lead: clamp(1.125rem, 1.4vw, 1.4375rem);
  --g-text: clamp(1.0625rem, 1.05vw, 1.1875rem);
  --g-klein: 1rem;

  --a1: 8px; --a2: 16px; --a3: 24px; --a4: 40px; --a5: 64px; --a6: 104px; --a7: 168px;

  --grund: var(--weiss); --grund-2: #E9DFCC;
  --text: var(--kohle); --text-2: #3A3029; --text-3: #5A4E44;
  --linie: #D9CDB8; --linie-feld: #7C7064;
  --akzent: var(--rot); --auf-akzent: #FFF8EE;
  --fehler: #8E1A26;
  --kopf-grund: var(--weiss);
  --kopf-text: var(--kohle);
  --kopf-knopf-bg: var(--rot);
  --kopf-knopf-fg: var(--auf-akzent);
  --kopf-hoehe: 72px;
  --schrift-display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --schrift-text: "Jost", "Segoe UI", system-ui, sans-serif;
  --rand: clamp(16px, 5vw, 72px);
  --kante: max(var(--rand), calc((100vw - 1360px) / 2));   /* linke Inhaltskante: Logo, Texte und Abschnitte stehen darauf */
  --fokus: var(--rot);
}

/* Die Kopfzeile folgt dem Grund unter ihr (seite.js setzt data-grund): Weiß, Kohle oder Fleischrot, hart */
html[data-grund="kohle"] { --kopf-grund: var(--kohle); --kopf-text: var(--weiss); }
html[data-grund="rot"] { --kopf-grund: var(--rot); --kopf-text: var(--weiss); --kopf-knopf-bg: var(--weiss); --kopf-knopf-fg: var(--rot); }

html { background: var(--grund); scrollbar-gutter: auto; overflow-x: clip; }
body { font-family: var(--schrift-text); font-size: var(--g-text); line-height: 1.55; font-weight: 400; }
:focus-visible { outline: 3px solid var(--fokus); outline-offset: 3px; border-radius: 4px; }

/* dunkle und rote Flächen: Text hell, Fokus hell */
.dunkel { --text: var(--weiss); --text-2: #E2D8C7; --text-3: #CBBFAD; --linie-feld: #A99C8A; --fokus: var(--weiss); color: var(--text); }

/* Kopfzeile: deckend, ohne Weichzeichner. Logo klein, bündig mit der Inhaltskante. */
.kopfzeile { position: fixed; inset: 0 0 auto 0; z-index: 60; min-height: var(--kopf-hoehe); display: flex; align-items: center; gap: var(--a2); padding: var(--a1) var(--kante); background: var(--kopf-grund); color: var(--kopf-text); transition: none; }
.kopfzeile :focus-visible { outline-color: var(--kopf-text); }
.marke { margin-right: auto; min-height: 44px; display: inline-flex; align-items: center; font-family: var(--schrift-display); font-weight: 700; font-size: var(--g-klein); letter-spacing: 0.22em; text-transform: uppercase; text-decoration: none; color: inherit; }
.kopfzeile .knopf--klein { display: inline-flex; }

/* Knöpfe: Pille, Oswald 700 in --g-text, Versalien */
.knopf { font-family: var(--schrift-display); font-weight: 700; font-size: var(--g-text); letter-spacing: 0.06em; text-transform: uppercase; background: var(--rot); color: var(--auf-akzent); min-height: 48px; padding: var(--a1) var(--a3); }
.knopf--klein { min-height: 44px; padding: 0 var(--a3); font-size: var(--g-text); }
.knopf--rahmen { background: transparent; color: var(--text); box-shadow: inset 0 0 0 2px currentColor; }
.kopfzeile .knopf { background: var(--kopf-knopf-bg); color: var(--kopf-knopf-fg); }
.kopfzeile .knopf--rahmen { background: transparent; color: var(--kopf-text); }
@media (hover: hover) and (pointer: fine) {
  .knopf:hover { box-shadow: 0 10px 0 -6px rgba(23, 18, 14, 0.35); }
  .knopf--rahmen:hover { box-shadow: inset 0 0 0 2px var(--rot); color: var(--rot); }
  .kopfzeile .knopf--rahmen:hover { box-shadow: inset 0 0 0 4px currentColor; color: var(--kopf-text); }
  .dunkel .knopf:hover { box-shadow: 0 10px 0 -6px rgba(243, 234, 219, 0.3); }
}

/* Reste des Baukastens auf die Größenreihe zurückgeführt */
.sprung, .feld-fehler, .feld label { font-size: var(--g-klein); }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
h1, h2, h3 { font-family: var(--schrift-display); font-weight: 700; text-transform: uppercase; }
@media (max-width: 520px) { .kopfzeile .knopf--rahmen { display: none; } .kopfzeile .knopf--klein { padding: 0 var(--a2); } }

/* ============ Stationen 1 bis 6 in der ruhigen Fassung: jede Bühne wird zu Blöcken untereinander ============ */
.buehne { position: relative; }
.rahmen { position: relative; display: grid; gap: var(--a4); padding: calc(var(--kopf-hoehe) + var(--a4)) var(--kante) var(--a5); overflow: clip; isolation: isolate; }
.rahmen > * { position: relative; z-index: 2; margin: 0; }
.rahmen > .grund { position: absolute; inset: 0; z-index: 0; }
.grund {
  background-color: var(--weiss);
  background-image:
    radial-gradient(ellipse 80% 70% at 62% 55%, rgba(255, 252, 244, 0.7), transparent 70%),
    repeating-linear-gradient(98deg, rgba(120, 96, 64, 0.035) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(8deg, rgba(120, 96, 64, 0.025) 0 1px, transparent 1px 11px),
    radial-gradient(ellipse 120% 100% at 50% 50%, transparent 55%, rgba(150, 120, 80, 0.12) 100%);
}
.wort { text-align: center; font-family: var(--schrift-display); font-weight: 700; font-size: var(--g-wort); line-height: 0.9; letter-spacing: -0.01em; text-transform: uppercase; color: var(--kohle); user-select: none; }
.zaehler, .schimmer, .adern, .zahl3, .glas, .weiss-ebene, .scrim, .glutlicht, .rauch, .schlag, .merker { display: none; }
.zahl3-etikett { display: block; font-size: var(--g-klein); letter-spacing: 0.12em; text-transform: uppercase; line-height: 1; margin-bottom: var(--a1); }
.stueck { width: min(100%, 52rem); margin-inline: auto; }
.stueck .roh { display: block; width: 100%; height: auto; }
.vorn { max-width: 46rem; }
.vorn h1 { font-size: var(--g-zeile); line-height: 1.02; letter-spacing: 0; color: var(--kohle); text-wrap: balance; }
.vorn h1 span { display: block; }
.vorn .zeile { margin: var(--a2) 0 0; font-size: var(--g-lead); font-weight: 500; line-height: 1.4; max-width: 30rem; }
.vorn .beleg { margin: var(--a1) 0 0; font-size: var(--g-klein); line-height: 1.4; color: var(--text-2); }
.vorn .handlung { margin-top: var(--a3); display: grid; justify-items: start; gap: var(--a1); }
.vorn .beruhigung { margin: 0; font-size: var(--g-klein); line-height: 1.4; color: var(--text-2); }
.s2 { max-width: 46rem; }
.s2-titel { margin: 0; font-size: var(--g-zeile); line-height: 1.02; letter-spacing: 0; color: var(--kohle); text-wrap: balance; }
.cuts { list-style: none; margin: var(--a3) 0 0; padding: 0; display: grid; gap: var(--a3); }
.cut-kopf { display: flex; justify-content: space-between; align-items: baseline; gap: var(--a2); }
.cut h3 { margin: 0; font-size: var(--g-ueber); line-height: 1.1; letter-spacing: 0.02em; }
.tage { font-size: var(--g-klein); text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-2); font-variant-numeric: tabular-nums; }
.cut p { margin: var(--a1) 0 0; font-size: var(--g-text); line-height: 1.55; max-width: 34rem; }
.balken { display: block; height: 8px; margin-top: var(--a2); background: rgba(23, 18, 14, 0.14); }
.balken i { display: block; height: 100%; background: var(--rot); transform-origin: 0 50%; }
.c1 .balken i { transform: scaleX(0.92); } .c2 .balken i { transform: scaleX(0.58); } .c3 .balken i { transform: scaleX(0.22); }
.s2-hinweis { margin: var(--a2) 0 0; font-size: var(--g-klein); line-height: 1.4; color: var(--text-2); }
.band { width: 100%; max-width: 52rem; margin-inline: auto; overflow: clip; }
.band picture, .band img { display: block; width: 100%; height: auto; }

.t3, .t4, .t5, .t6 { max-width: 40rem; }
.t3 { order: -1; }
.t3 h2, .t4 h2, .t5 h2, .t6 h2 { margin: 0; font-size: var(--g-ueber); line-height: 1.1; letter-spacing: 0.02em; }
.t3 p, .t4 p, .t5 p, .t6 p { margin: var(--a2) 0 0; font-size: var(--g-text); line-height: 1.55; }
.t3 p, .t4 p { color: var(--text-2); }
.fenster { position: relative; width: 100%; max-width: 52rem; margin-inline: auto; overflow: clip; }
.fenster::after { content: ""; position: absolute; inset: 0; z-index: 3; border: 10px solid var(--kohle); pointer-events: none; }
.fenster picture, .fenster img { display: block; width: 100%; height: auto; }

.b56 .rahmen { padding: 0; display: block; }
.kohle-ebene { position: relative; display: grid; gap: var(--a4); padding: calc(var(--kopf-hoehe) + var(--a4)) var(--kante) var(--a5); background: var(--kohle); color: var(--weiss); }
.kohle-ebene > * { position: relative; margin: 0; }
.zange, .glutbild { width: 100%; max-width: 62rem; }
.zange picture, .zange img, .glutbild picture, .glutbild img { display: block; width: 100%; height: auto; }
.zahl5.k { order: 1; font-family: var(--schrift-display); font-weight: 700; font-size: var(--g-zahl); line-height: 0.9; font-variant-numeric: tabular-nums; }
.zange { order: 2; } .t5 { order: 3; } .glutbild { order: 4; } .grill { order: 5; } .zahl6 { order: 6; } .t6 { order: 7; }
.zahl6 { font-family: var(--schrift-display); font-weight: 700; font-size: var(--g-zahl); line-height: 0.9; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.zahl6 .z1 { display: none; }
.grill { width: min(100%, 52rem); aspect-ratio: 1595 / 1158; position: relative; }
.grill img, .grill .sil { position: absolute; inset: 0; width: 100%; height: 100%; }
.grill .roh { object-fit: fill; opacity: 0; }
.sil { -webkit-mask: url("../bilder/roh-maske.webp") center / 100% 100% no-repeat; mask: url("../bilder/roh-maske.webp") center / 100% 100% no-repeat; }
.ebene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; }
.ebene.c { display: none; }
.t6 { color: var(--weiss); }

/* ============ Station 7: Tafel auf Fleischrot ============ */
.tafel { background: var(--rot); color: var(--weiss); padding: var(--a6) 0; }
.tafel h2 { margin: 0; font-size: var(--g-zeile); line-height: 1.02; letter-spacing: 0; }
.tafel-lead { margin: var(--a2) 0 var(--a4); font-size: var(--g-lead); font-weight: 500; max-width: 40rem; }
.tafel-tabelle { width: 100%; border-collapse: collapse; table-layout: fixed; }
.tafel-tabelle thead th:nth-child(1) { width: 38%; } .tafel-tabelle thead th:nth-child(2), .tafel-tabelle thead th:nth-child(3) { width: 20%; } .tafel-tabelle thead th:nth-child(4) { width: 22%; }
.tafel-tabelle th, .tafel-tabelle td { text-align: left; font-weight: 400; vertical-align: baseline; padding: var(--a2) var(--a2) var(--a2) 0; }
.tafel-tabelle thead th { font-family: var(--schrift-display); font-weight: 700; font-size: var(--g-klein); letter-spacing: 0.12em; text-transform: uppercase; padding-bottom: var(--a1); }
.tafel-tabelle tbody th { font-family: var(--schrift-display); font-weight: 700; font-size: var(--g-ueber); line-height: 1.1; letter-spacing: 0.02em; text-transform: uppercase; }
.tafel-tabelle td { font-size: var(--g-lead); font-weight: 500; font-variant-numeric: tabular-nums; }
.tafel-tabelle td:last-child { font-family: var(--schrift-display); font-weight: 700; font-size: var(--g-ueber); letter-spacing: 0.02em; }
.tafel-tabelle .lz td { padding: 0; }
.zl { display: block; width: 100%; height: 16px; overflow: visible; }
.zl path { fill: none; stroke: var(--weiss); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--l, 1)); }
.tafel-fuss { margin: var(--a4) 0 0; font-size: var(--g-text); max-width: 44rem; }

/* ============ Station 7b: der Abend ============ */
.abend { background: var(--weiss); color: var(--kohle); padding-top: var(--a6); }
.abend h2 { margin: 0; font-size: var(--g-zeile); line-height: 1.02; letter-spacing: 0; }
.schritte { list-style: none; margin: var(--a4) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--a3); }
.sch { border-top: 3px solid var(--kohle); padding-top: var(--a2); }
.sch .uhr { display: block; font-family: var(--schrift-display); font-weight: 700; font-size: var(--g-ueber); line-height: 1.1; letter-spacing: 0.02em; color: var(--rot); font-variant-numeric: tabular-nums; }
.sch .was { display: block; margin-top: var(--a1); font-size: var(--g-lead); font-weight: 500; line-height: 1.35; }
.fotoband { position: relative; height: clamp(260px, 56svh, 640px); overflow: clip; margin: var(--a5) 0; background: var(--kohle); }
.fotoband picture { display: block; }
.fotoband img { position: absolute; left: 0; top: -15%; width: 100%; height: 130%; object-fit: cover; }
.f1 img { object-position: 55% 45%; }
.f2 { margin-bottom: 0; }
.f2 img { object-position: 50% 55%; }
.anfahrt { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--a5); align-items: start; }
.zeiten h3 { margin: 0 0 var(--a1); font-size: var(--g-ueber); line-height: 1.1; letter-spacing: 0.02em; }
.zeiten p { margin: 0 0 var(--a3); font-size: var(--g-text); max-width: 30rem; }
.zeiten .klein { font-size: var(--g-klein); color: var(--text-2); }

/* ============ Station 8: Formular auf Kohle ============ */
.reservieren { position: relative; overflow: clip; isolation: isolate; background: var(--kohle); padding: var(--a6) 0 var(--a6); color-scheme: dark; }
.muster { position: absolute; z-index: 0; right: -8vw; bottom: -14vw; width: 88vw; aspect-ratio: 640 / 465; background: var(--weiss); opacity: 0.08; -webkit-mask: url("../bilder/adern-linie.webp") center / 100% 100% no-repeat; mask: url("../bilder/adern-linie.webp") center / 100% 100% no-repeat; transition: transform 3.4s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reservieren:focus-within .muster { transform: translate(-3vw, -2vw) scale(1.07); }
.res-innen { position: relative; z-index: 1; }
.reservieren h2 { margin: 0; font-size: var(--g-zeile); line-height: 1.02; letter-spacing: 0; }
.res-lead { margin: var(--a2) 0 var(--a4); font-size: var(--g-lead); font-weight: 500; max-width: 38rem; }
.res-form { max-width: 50rem; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--a3); }
.res-form .breit { grid-column: 1 / -1; }
.res-form .feld label { font-size: var(--g-klein); font-weight: 500; letter-spacing: 0.04em; color: var(--text-2); }
.res-form .feld input, .res-form .feld textarea, .res-form .feld select { background-color: rgba(243, 234, 219, 0.08); color: var(--weiss); border-radius: 4px; font-size: var(--g-text); }
.res-form .feld select option { background: var(--kohle); color: var(--weiss); }
.res-form .feld input:focus-visible, .res-form .feld textarea:focus-visible, .res-form .feld select:focus-visible { outline: 3px solid var(--weiss); outline-offset: 1px; }
.res-form .feld [aria-invalid="true"] { border-color: #FF9D90; }
.res-form .feld-fehler { color: #FFB4A8; font-size: var(--g-klein); }
.absenden { display: flex; flex-wrap: wrap; align-items: center; gap: var(--a2) var(--a3); }
.absenden .formular-meldung { margin: 0; flex: 1 1 14rem; color: var(--weiss); font-size: var(--g-text); }

/* ============ Fußzeile (Regel D38: vier Plattform-Zeichen) ============ */
.fuss { text-align: left; background: var(--kohle); color: var(--weiss); padding: var(--a5) 0 var(--a4); border-top: 1px solid rgba(243, 234, 219, 0.2); font-size: var(--g-klein); }
.fuss p { margin: 0 0 var(--a1); max-width: none; font-size: var(--g-klein); line-height: 1.55; }
.fuss-innen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--a4); }
.fuss-name { font-family: var(--schrift-display); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: var(--a1) !important; }
.zeichen-reihe { list-style: none; margin: 0 0 var(--a2); padding: 0; display: flex; gap: var(--a1); }
.zeichen-reihe a { display: grid; place-items: center; width: 44px; height: 44px; color: var(--weiss); border-radius: 4px; }
.zeichen { display: block; width: 24px; height: 24px; background: currentColor; -webkit-mask: var(--z) center / contain no-repeat; mask: var(--z) center / contain no-repeat; }
.z-x { --z: url("../bilder/x.svg"); } .z-fb { --z: url("../bilder/facebook.svg"); } .z-ig { --z: url("../bilder/instagram.svg"); } .z-tt { --z: url("../bilder/tiktok.svg"); }
.fuss-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--weiss); }
.fuss-hinweis { margin-top: var(--a3) !important; padding-top: var(--a2); border-top: 1px solid rgba(243, 234, 219, 0.2); color: var(--text-2); }
.innen, .fuss .innen { width: calc(100% - 2 * var(--kante)); max-width: none; margin-inline: auto; }

/* ============ Handy und schmale Fenster (Tafel, Abend, Formular, Fuß) ============ */
@media (max-width: 900px) {
  .anfahrt { grid-template-columns: minmax(0, 1fr); gap: var(--a4); }
  .schritte { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fuss-innen { grid-template-columns: minmax(0, 1fr); gap: var(--a3); }
}
@media (max-width: 700px) {
  .tafel { padding: var(--a5) 0; }
  .tafel-tabelle, .tafel-tabelle tbody, .tafel-tabelle thead { display: block; }
  .tafel-tabelle thead tr:first-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tafel-tabelle tr.zeile { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--a1) var(--a2); padding: var(--a2) 0 var(--a1); }
  .tafel-tabelle tbody th { grid-column: 1 / -1; width: auto; padding: 0; }
  .tafel-tabelle td { padding: 0; font-size: var(--g-text); }
  .tafel-tabelle td::before { content: attr(data-l); display: block; font-size: var(--g-klein); letter-spacing: 0.04em; opacity: 0.85; }
  .tafel-tabelle td:last-child { font-size: var(--g-text); font-family: var(--schrift-text); font-weight: 500; letter-spacing: 0; }
  .tafel-tabelle .lz { display: block; }
  .schritte { grid-template-columns: minmax(0, 1fr); gap: var(--a2); }
  .fotoband { height: 40svh; margin: var(--a4) 0; }
  .res-form { grid-template-columns: minmax(0, 1fr); }
  .reservieren { padding: var(--a5) 0; }
  .muster { width: 150vw; right: -40vw; bottom: -20vw; }
}
/* flache, schmale Fenster (640 × 440): enger setzen, nichts abschneiden */
@media (max-height: 560px) and (orientation: landscape) {
  .tafel { padding: var(--a5) 0; }
  .tafel-lead { margin-bottom: var(--a3); }
  .fotoband { height: 62svh; }
}

@media (prefers-reduced-motion: reduce) {
  .muster { transition: none; }
  .reservieren:focus-within .muster { transform: none; }
}
html.pause *, html.pause *::before, html.pause *::after { animation-play-state: paused !important; }
