/* Demo-Seite der QR-Tischbestellung im Auftritt von Webrohbau (Baugespann): Beton und Teer als Grund,
   Signalrot nur für Handlung, Absperrgelb für Provisorisches, rechte Winkel. */

@font-face {
  font-family: "Archivo";
  src: url("../../schriften/archivo-latin.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  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: "Archivo";
  src: url("../../schriften/archivo-latin-ext.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Public Sans";
  src: url("../../schriften/publicsans-latin.woff2") format("woff2");
  font-weight: 300 800; font-style: normal; font-display: swap;
  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: "Public Sans";
  src: url("../../schriften/publicsans-latin-ext.woff2") format("woff2");
  font-weight: 300 800; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Gloock";
  src: url("../../schriften/gloock-latin.woff2") format("woff2");
  font-weight: 400; font-display: swap;
  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";
  src: url("../../schriften/gloock-latin-ext.woff2") format("woff2");
  font-weight: 400; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --papier: #f1f1ee;
  --weiss: #fbfaf7;
  --beton-2: #dfddd7;
  --tinte: #121211;
  --teer-2: #3b3a36;
  --grau: #5f5d57;
  --rot: #d5251a;
  --rot-tief: #b81d13;
  --gelb: #f3c317;
  --vermerk: #fdf3cc;
  --nacht-text: #c9c6be;
  --nacht-leise: #a9a69e;

  --wald: #1d3327;
  --nacht: #0f1612;
  --nacht-2: #1a261f;
  --creme: #f3ede2;
  --mint: #b5dcc0;
  --serif: "Gloock", Georgia, serif;
  --anzeige: "Archivo", "Arial Narrow", sans-serif;
  --text: "Public Sans", system-ui, sans-serif;
  --rand: clamp(16px, 4vw, 56px);
  --breit: 1360px;
  --aus: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--papier); color: var(--tinte); font: 400 1.0625rem/1.6 var(--text); }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button, input, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--rot-tief); outline-offset: 3px; }
::selection { background: var(--rot); color: var(--weiss); }

.nur-leser {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.sprung { position: absolute; left: 16px; top: -100px; z-index: 30; padding: 12px 16px; background: var(--tinte); color: var(--weiss); }
.sprung:focus { top: 8px; }

/* ---------- Wortmarke ---------- */

.wortmarke {
  --wm-grund: var(--weiss);
  display: inline-flex; align-items: baseline;
  font: 800 1em/1 var(--anzeige); font-stretch: 70%; letter-spacing: .012em;
  text-transform: uppercase; white-space: nowrap; color: currentColor;
}
.wortmarke span { display: inline-block; }
.wm-stempel .wm-roh { margin-left: .1em; padding: .14em .2em .1em; background: currentColor; }
.wm-stempel .wm-roh > span { color: var(--wm-grund); }

/* ---------- Kopf ---------- */

.kopf {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 0 var(--rand);
  background: var(--weiss); border-bottom: 1px solid var(--beton-2);
}
.marke { display: flex; align-items: center; gap: 14px; min-height: 44px; color: var(--tinte); text-decoration: none; }
.marke .wortmarke { font-size: 1.3rem; }
.marke-fach { font-size: .8125rem; line-height: 1.2; color: var(--grau); }
.kopf-link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  background: var(--rot); color: var(--weiss); text-decoration: none;
  font: 700 1rem/1 var(--anzeige); font-stretch: 88%;
}
.kopf-link:hover { background: var(--rot-tief); }
.band-profil { height: 10px; background: repeating-linear-gradient(90deg, var(--rot) 0 48px, var(--weiss) 48px 96px); }

/* ---------- Knöpfe und Links ---------- */

.knopf, .knopf-hell {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px;
  border: 0; border-radius: 0;
  font: 700 1.05rem/1 var(--anzeige); font-stretch: 88%;
  text-decoration: none; cursor: pointer;
}
.knopf { background: var(--rot); color: var(--weiss); }
.knopf::after {
  content: ""; width: 14px; height: 10px; background: currentColor;
  clip-path: polygon(0 40%, 60% 40%, 60% 0, 100% 50%, 60% 100%, 60% 60%, 0 60%);
  transition: transform .2s var(--aus);
}
.knopf:hover { background: var(--rot-tief); }
.knopf:hover::after { transform: translateX(3px); }
.knopf:disabled { opacity: .6; cursor: progress; }
.knopf-hell { background: var(--weiss); color: var(--tinte); box-shadow: inset 0 0 0 2px var(--tinte); }
.knopf-hell:hover { background: #fff; }
.knopf-hell:disabled { opacity: .6; }
.link { color: inherit; font-weight: 600; text-decoration: underline; text-decoration-color: var(--rot); text-decoration-thickness: 2px; text-underline-offset: .3em; }
.link:hover { color: var(--rot-tief); }
.link-hell:hover { color: #fff; }

/* ---------- Einstieg ---------- */

main { display: block; }
.einstieg, .buehne, .unterschiede, .kontakt { max-width: var(--breit); margin: 0 auto; padding: clamp(40px, 7vw, 96px) var(--rand) 0; }
h1, .titel {
  font: 800 clamp(2.3rem, 5.4vw, 4.8rem)/.94 var(--anzeige); font-stretch: 66%;
  text-transform: uppercase; max-width: 18ch; overflow-wrap: anywhere;
}
.titel { font-size: clamp(1.9rem, 4vw, 3.4rem); }
.lead { max-width: 58ch; margin-top: 20px; font-size: clamp(1.0625rem, 1.3vw, 1.25rem); line-height: 1.5; color: var(--teer-2); }
.schritte { display: grid; gap: 0; margin-top: 36px; border-top: 3px solid var(--tinte); }
.schritte li {
  display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 2px 16px; align-items: baseline; align-content: start;
  padding: 16px 0; border-bottom: 1px solid var(--beton-2);
}
.schritt-nr { grid-row: 1 / span 2; font: 800 2.6rem/1 var(--anzeige); font-stretch: 72%; font-variant-numeric: tabular-nums; color: var(--rot-tief); }
.schritt-titel { font: 800 1.45rem/1.05 var(--anzeige); font-stretch: 70%; text-transform: uppercase; }
.schritt-text { color: var(--teer-2); }
@media (min-width: 900px) {
  .schritte { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .schritte li { border-bottom: 0; padding-right: 24px; }
  .schritte li + li { border-left: 1px solid var(--beton-2); padding-left: 20px; }
}
.start { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 32px; }
.start-text { max-width: 52ch; color: var(--grau); font-size: .95rem; }
.fehler { flex-basis: 100%; color: var(--rot-tief); font-weight: 600; }
.fehler:empty { display: none; }

/* ---------- Bühne ---------- */

.buehne-titel { font: 800 clamp(1.7rem, 3vw, 2.4rem)/1 var(--anzeige); font-stretch: 70%; text-transform: uppercase; }
.buehne-leiste { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-top: 14px; }
.vermerk { padding: 8px 12px; background: var(--vermerk); font-size: .95rem; font-weight: 600; max-width: 70ch; }
.buehne-meldung { min-height: 1.6em; margin-top: 8px; font-weight: 600; color: var(--teer-2); }
.buehne-meldung:empty { min-height: 0; margin: 0; }

.umschalter { display: flex; margin-top: 18px; border-bottom: 3px solid var(--tinte); }
.umschalter button {
  flex: 1; min-height: 52px; padding: 0 18px;
  background: var(--weiss); color: var(--tinte);
  border: 0; border-radius: 0; box-shadow: inset 0 0 0 1.5px var(--beton-2);
  font: 800 1.1rem/1 var(--anzeige); font-stretch: 78%; text-transform: uppercase; cursor: pointer;
}
.umschalter button[aria-pressed="true"] { background: var(--tinte); color: var(--weiss); box-shadow: none; }

.buehne-raster { display: grid; gap: 20px; margin-top: 18px; }
.rahmen-titel { margin-bottom: 8px; font: 700 .8125rem/1.2 var(--text); text-transform: uppercase; letter-spacing: .08em; color: var(--grau); }

.handy { width: 100%; }
.handy-glas { background: #fff; }
.handy-glas iframe, .bildschirm iframe { display: block; width: 100%; border: 0; background: #fff; }
.handy-glas iframe { height: calc(100vh - 140px); min-height: 560px; }
.bildschirm { background: #17191b; }
.bildschirm iframe { height: calc(100vh - 140px); min-height: 620px; background: #17191b; }

.schild-block { display: grid; gap: 14px; align-content: start; }
.tischwahl { display: grid; gap: 4px; }
.tischwahl label { font-weight: 600; font-size: .95rem; }
.tischwahl select {
  min-height: 48px; padding: 0 12px;
  background: var(--weiss); border: 0; border-bottom: 2px solid var(--teer-2); border-radius: 0;
}
.tischschild {
  display: grid; grid-template-columns: minmax(0, 1fr) 120px; gap: 4px 16px; align-items: center;
  padding: 16px;
  background: linear-gradient(#d9d3c4, #d9d3c4) 0 50% / 100% 1px no-repeat, #ebe5d6;
  border-top: 8px solid var(--tinte);
}
.ts-kopf { display: grid; gap: 2px; }
.ts-betrieb { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--grau); }
.ts-tisch { font: 800 2rem/1 var(--anzeige); font-stretch: 70%; text-transform: uppercase; }
.ts-bereich { font-size: .9rem; color: var(--teer-2); }
.ts-qr { grid-column: 2; grid-row: 1 / span 3; width: 120px; background: #fff; }
.ts-qr .qr { display: block; width: 100%; height: auto; }
.ts-satz { font-weight: 700; }
.ts-klein { font-size: .85rem; color: var(--teer-2); }
.allein { font-size: .95rem; }
.allein .link { display: inline-flex; align-items: center; min-height: 44px; }

/* Schmal: Umschalter Gast / Theke */
@media (max-width: 959px) {
  .buehne-raster[data-zeige="gast"] .theke-block { display: none; }
  .buehne-raster[data-zeige="theke"] .gast-block { display: none; }
  .schild-block { order: -1; }
  .rahmen-titel { display: none; }
}

/* Breit: Handy-Rahmen links, Theke rechts */
@media (min-width: 960px) {
  .umschalter { display: none; }
  .buehne-raster {
    grid-template-columns: calc(384px * var(--massstab, 1)) minmax(0, 1fr);
    grid-template-areas: "gast theke" "schild theke";
    align-items: start; gap: 22px 32px;
  }
  .gast-block { grid-area: gast; }
  .schild-block { grid-area: schild; }
  .theke-block { grid-area: theke; }
  .handy {
    width: calc(384px * var(--massstab, 1));
    height: calc(764px * var(--massstab, 1));
    padding: calc(12px * var(--massstab, 1));
    background: #1b1b1a;
    border-radius: calc(30px * var(--massstab, 1));
    box-shadow: 0 1px 2px rgb(0 0 0 / .08), 0 40px 80px -40px rgb(20 20 18 / .5);
  }
  .handy-glas {
    width: 360px; height: 740px; overflow: hidden;
    border-radius: 20px;
    transform: scale(var(--massstab, 1)); transform-origin: 0 0;
  }
  .handy-glas iframe { width: 360px; height: 740px; min-height: 0; }
  .bildschirm { padding: 12px; background: #1b1b1a; box-shadow: 0 1px 2px rgb(0 0 0 / .08), 0 40px 80px -40px rgb(20 20 18 / .5); }
  .bildschirm iframe { height: max(640px, calc(100vh - 140px)); min-height: 0; }
  .tischschild { grid-template-columns: minmax(0, 1fr) 112px; }
  .ts-qr { width: 112px; }
}

/* ---------- Unterschiede ---------- */

.verzeichnis { margin-top: 26px; border-top: 3px solid var(--tinte); }
.verzeichnis li {
  display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px;
  padding: 18px 0; border-bottom: 1px solid var(--beton-2);
}
.pos { font: 800 1.4rem/1.2 var(--anzeige); font-stretch: 78%; font-variant-numeric: tabular-nums; color: var(--grau); }
.verzeichnis h3 { font: 800 1.35rem/1.1 var(--anzeige); font-stretch: 70%; text-transform: uppercase; }
.verzeichnis p { margin-top: 6px; max-width: 72ch; color: var(--teer-2); }
@media (min-width: 900px) {
  .verzeichnis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
}

.kontakt { padding-bottom: clamp(48px, 8vw, 112px); }
.kontakt p { max-width: 58ch; margin: 14px 0 22px; color: var(--teer-2); }

/* ---------- Fuss ---------- */

.fuss { background: var(--tinte); color: var(--nacht-text); }
.fuss-innen { max-width: var(--breit); margin: 0 auto; padding: 32px var(--rand) 40px; display: grid; gap: 10px; }
.fuss-marke .wortmarke { --wm-grund: var(--tinte); font-size: 1.6rem; color: var(--weiss); }
.fuss-leise { color: var(--nacht-leise); font-size: .9rem; }
.fuss-links { display: flex; flex-wrap: wrap; gap: 0 22px; }
.fuss .link { color: var(--weiss); display: inline-flex; align-items: center; min-height: 44px; }
.fuss :focus-visible { outline-color: var(--gelb); }

/* ---------- Dialog ---------- */

.blatt-dialog {
  width: min(480px, calc(100vw - 32px));
  padding: 0; border: 0; border-radius: 0;
  background: var(--weiss); color: var(--tinte);
  border-radius: 6px;
}
.blatt-dialog::backdrop { background: rgb(18 18 17 / .6); }
.blatt-dialog form { display: grid; gap: 14px; padding: 22px; }
.blatt-dialog[open] { animation: blatt-auf .2s var(--aus); }
@keyframes blatt-auf { from { opacity: 0; transform: translateY(10px); } }
.dialog-titel { font: 800 1.6rem/1 var(--anzeige); font-stretch: 70%; text-transform: uppercase; }
.dialog-tasten { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }

@media (max-width: 520px) {
  .marke-fach { display: none; }
  .tischschild { grid-template-columns: minmax(0, 1fr) 104px; padding: 14px; }
  .ts-qr { width: 104px; }
  .verzeichnis li { grid-template-columns: 40px minmax(0, 1fr); gap: 10px; }
}

/* ---------- Produktauftritt «Bestellen am Tisch»: Serifentitel, Waldgrün, dunkle Bühne ---------- */

h1, .titel { font-family: var(--serif); font-weight: 400; font-stretch: normal; text-transform: none; letter-spacing: -.01em; line-height: 1.02; }
h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); max-width: 15ch; }
.titel { font-size: clamp(2rem, 4vw, 3.2rem); }
.dach { margin-bottom: 14px; font: 700 .8125rem/1.2 var(--anzeige); letter-spacing: .1em; text-transform: uppercase; color: var(--wald); }
.preis-zeile { margin-top: 18px; max-width: 60ch; font-size: 1.0625rem; color: var(--teer-2); }
.preis-zeile strong { color: var(--tinte); }
.schritte { border-top: 2px solid var(--tinte); }
.schritt-nr { font: 400 2.6rem/1 var(--serif); color: var(--wald); }
.schritt-titel { font: 700 1.25rem/1.15 var(--anzeige); font-stretch: 88%; text-transform: none; }

/* Bühne über die ganze Breite, damit Handy und Theke wie im Lokal am Abend wirken */
.buehne {
  max-width: none; margin-top: clamp(40px, 6vw, 80px);
  padding: clamp(36px, 5vw, 64px) max(var(--rand), calc((100% - var(--breit)) / 2 + var(--rand))) clamp(40px, 6vw, 72px);
  background: var(--nacht); color: var(--creme);
}
.buehne :focus-visible { outline-color: var(--mint); }
.buehne-titel { font: 400 clamp(2rem, 3.4vw, 2.8rem)/1 var(--serif); text-transform: none; }
.buehne .vermerk { background: var(--nacht-2); color: #dfe5df; font-weight: 500; border-radius: 4px; }
.buehne .knopf-hell { background: transparent; color: var(--creme); box-shadow: inset 0 0 0 1.5px #6f8b7a; }
.buehne .knopf-hell:hover { background: var(--nacht-2); }
.buehne-meldung { color: #dfe5df; }
.rahmen-titel { color: #a3b0a7; }
.umschalter { border-bottom-color: var(--mint); }
.umschalter button { background: var(--nacht-2); color: var(--creme); box-shadow: none; text-transform: none; font-weight: 700; }
.umschalter button[aria-pressed="true"] { background: var(--creme); color: var(--nacht); }
.tischwahl label { color: #dfe5df; }
.tischwahl select { background: var(--creme); color: var(--tinte); border-bottom-color: var(--mint); }
.tischschild { background: var(--wald); color: var(--creme); border-top: 0; border-radius: 4px; }
.ts-betrieb { color: #bccbbf; }
.ts-tisch { font: 400 2rem/1 var(--serif); text-transform: none; }
.ts-bereich, .ts-klein { color: #bccbbf; }
.ts-qr { padding: 6px; border-radius: 2px; }
.allein .link { color: var(--creme); text-decoration-color: var(--mint); }
.handy-glas, .handy-glas iframe { background: #f5f1e8; }
.bildschirm, .bildschirm iframe { background: var(--nacht); }
@media (min-width: 960px) {
  .handy { background: #050806; box-shadow: 0 0 0 1px #2b3a31, 0 40px 80px -30px rgb(0 0 0 / .7); }
  .bildschirm { background: #050806; box-shadow: 0 0 0 1px #2b3a31, 0 40px 80px -30px rgb(0 0 0 / .7); border-radius: 10px; }
  .bildschirm iframe { border-radius: 4px; }
}

/* Unterschiede: ohne Nummern, als Merkzettel nebeneinander */
.verzeichnis { border-top: 0; display: grid; gap: 0 36px; }
.verzeichnis li { display: block; padding: 18px 0 22px; border-bottom: 0; border-top: 2px solid var(--tinte); }
.verzeichnis h3 { font: 700 1.2rem/1.2 var(--anzeige); font-stretch: 88%; text-transform: none; max-width: 28ch; }
@media (min-width: 700px) { .verzeichnis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .verzeichnis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Für Ihren Betrieb: Text links, Preisblatt rechts */
.kontakt { display: grid; gap: 32px; align-items: start; }
.kontakt-mehr { margin: 18px 0 0 !important; }
.kontakt-mehr .link { display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width: 900px) { .kontakt { grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); gap: 56px; } }
.preisblatt { padding: 28px 28px 30px; background: var(--wald); color: var(--creme); border-radius: 4px; }
.preisblatt-titel { font: 700 .8125rem/1.2 var(--anzeige); letter-spacing: .1em; text-transform: uppercase; color: var(--mint); }
.kontakt .preisblatt-betrag { margin: 12px 0 0; max-width: none; font-size: 1.05rem; color: #dfe5df; }
.kontakt .preisblatt-betrag span { display: block; font: 400 clamp(3rem, 6vw, 4.2rem)/1 var(--serif); color: var(--creme); }
.preisblatt-liste { margin-top: 20px; border-top: 1px solid #3c5a48; }
.preisblatt-liste li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid #3c5a48; }
.preisblatt-liste li::before { content: "\2713"; color: var(--mint); font-weight: 700; }
.preisblatt :focus-visible { outline-color: var(--mint); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
