/* Bestellen am Tisch · Produktseite von Webrohbau. Schriften und Farben aus DESIGN.md. */

@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;
}

:root {
  --rot: #d5251a;
  --rot-tief: #b81d13;
  --weiss: #fbfaf7;
  --beton: #ecebe7;
  --beton-2: #dfddd7;
  --teer: #141412;
  --teer-2: #3b3a36;
  --grau: #5f5d57;
  --nacht-text: #c9c6be;
  --nacht-leise: #9d9a92;
  --rand: clamp(16px, 4vw, 56px);
  --breit: 1360px;
  --aus: cubic-bezier(.16, 1, .3, 1);
  --titel: "Archivo", "Arial Narrow", sans-serif;
  --text: "Public Sans", system-ui, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--beton);
  color: var(--teer);
  font: 400 1.0625rem/1.6 var(--text);
  overflow-x: clip;
  -webkit-tap-highlight-color: transparent;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
p, h1, h2, h3 { margin: 0; }
::selection { background: var(--rot); color: var(--weiss); }
:focus-visible { outline: 3px solid var(--rot); outline-offset: 3px; }

.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(--teer); color: var(--weiss); padding: 12px 16px; }
.sprung:focus { top: 8px; }

/* Typografie: je grösser, desto schmaler und enger */
.riesig {
  font-family: var(--titel);
  font-weight: 800;
  font-stretch: 66%;
  font-variation-settings: "wdth" 66;
  text-transform: uppercase;
  font-size: clamp(3.1rem, 10.5vw, 10.5rem);
  line-height: .86;
  letter-spacing: -.012em;
  text-wrap: balance;
}
.gross {
  font-family: var(--titel);
  font-weight: 800;
  font-stretch: 68%;
  font-variation-settings: "wdth" 68;
  text-transform: uppercase;
  font-size: clamp(2.6rem, 6.4vw, 6.4rem);
  line-height: .9;
  letter-spacing: -.008em;
  text-wrap: balance;
}
.lead { font-size: clamp(1.125rem, 1.6vw, 1.5rem); line-height: 1.45; max-width: 34ch; }
.leise { color: var(--grau); }
figcaption { font-size: .8125rem; line-height: 1.45; color: var(--grau); margin-top: 14px; max-width: 46ch; }

/* Kopf */
.kopf {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 16px;
  height: 56px; padding: 0 var(--rand);
  background: rgb(236 235 231 / .9);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--beton-2);
}
.kopf-marke {
  font: 800 1.25rem/1 var(--titel); font-stretch: 70%; font-variation-settings: "wdth" 70;
  text-transform: uppercase; letter-spacing: .012em; color: var(--teer); text-decoration: none;
}
.kopf-produkt { font-size: .875rem; color: var(--grau); }
.kopf-link {
  margin-left: auto; display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px;
  color: var(--teer); font-weight: 600; text-decoration: underline; text-decoration-color: var(--rot);
  text-decoration-thickness: 2px; text-underline-offset: .3em;
}
@media (max-width: 420px) { .kopf-produkt { display: none; } }

/* Geräte: schlichter Rahmen, kein nachgebautes Markengerät */
.handy {
  position: relative;
  width: var(--handy-b, min(330px, 72vw));
  aspect-ratio: 1170 / 2532;
  border: 1px solid #3b3a36;
  border-radius: 40px;
  padding: 9px;
  background: var(--teer);
  box-sizing: content-box;
}
.handy img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 31px;
  background: #f4f1ea;
}
.tablet {
  border: 1px solid #3b3a36;
  border-radius: clamp(14px, 2vw, 26px);
  padding: clamp(6px, 1vw, 12px);
  background: var(--teer);
  transform-origin: 50% 100%;
}
.tablet img { border-radius: clamp(8px, 1.2vw, 16px); width: 100%; height: auto; }

/* 1 · Titel */
.held {
  max-width: var(--breit); margin: 0 auto;
  padding: clamp(40px, 8vh, 96px) var(--rand) clamp(64px, 10vh, 120px);
  display: grid; gap: clamp(32px, 5vw, 72px);
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  align-items: center;
  min-height: calc(100svh - 56px);
}
.held-unter { margin-top: clamp(18px, 2.4vw, 32px); font-size: clamp(1.25rem, 2.2vw, 2rem); line-height: 1.3; color: var(--teer-2); max-width: 26ch; }
.held-handy { justify-self: center; --handy-b: min(320px, 24vw, calc((100svh - 190px) * 1170 / 2532)); }
.held-handy figcaption { max-width: var(--handy-b); }
@media (max-width: 860px) {
  .held { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .held-handy { --handy-b: min(300px, 70vw); }
}

/* 2 · Ablauf */
.ablauf { background: var(--teer); color: var(--weiss); }
.ablauf-kopf {
  max-width: var(--breit); margin: 0 auto;
  min-height: 92svh; display: flex; align-items: center;
  padding: clamp(72px, 11vw, 168px) var(--rand);
}
.ablauf .nr {
  display: inline-block; font: 800 .875rem/1 var(--titel); font-feature-settings: "tnum";
  color: var(--teer); background: var(--weiss); padding: 5px 8px 4px; margin-bottom: 16px;
}
.ablauf .wort {
  font-family: var(--titel); font-weight: 800; font-stretch: 68%; font-variation-settings: "wdth" 68;
  text-transform: uppercase; font-size: clamp(2.6rem, 6vw, 6rem); line-height: .9; letter-spacing: -.008em;
}
.ablauf .satz { margin-top: 18px; font-size: clamp(1.0625rem, 1.5vw, 1.375rem); line-height: 1.45; color: var(--nacht-text); max-width: 30ch; }

/* Ohne Bewegung: Schritte untereinander */
.buehne { display: none; }
.schritte { list-style: none; margin: 0 auto; padding: 0 var(--rand) clamp(72px, 11vw, 168px); max-width: var(--breit); display: grid; gap: clamp(72px, 10vw, 140px); }
.schritte li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(28px, 5vw, 80px); align-items: center; }
.schritte .handy { --handy-b: min(300px, 26vw); }
@media (max-width: 760px) {
  .schritte li { grid-template-columns: minmax(0, 1fr); }
  .schritte .handy { --handy-b: min(290px, 70vw); justify-self: center; }
}

/* Mit Bewegung: angepinnte Bühne, Handy in der Mitte */
.bewegt .schritte { display: none; }
.bewegt .geschichte { height: calc(var(--schritte) * 100svh); position: relative; }
.bewegt .buehne {
  display: grid; position: sticky; top: 0; height: 100svh;
  max-width: var(--breit); margin: 0 auto; padding: 56px var(--rand) 0;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, .35fr);
  align-items: center; gap: clamp(28px, 5vw, 80px);
}
.buehne-texte { list-style: none; margin: 0; padding: 0; display: grid; }
.buehne-texte li {
  grid-area: 1 / 1;
  opacity: 0; transform: translateY(28px);
  transition: opacity .45s var(--aus), transform .6s var(--aus);
}
.buehne-texte li.ist-aktiv { opacity: 1; transform: none; }
.buehne-texte li.ist-vorbei { transform: translateY(-28px); }
.buehne-handy { position: relative; --handy-b: min(330px, calc((100svh - 160px) * 1170 / 2532), 30vw); }
.buehne-handy .handy img {
  position: absolute; inset: 9px; width: calc(100% - 18px); height: calc(100% - 18px);
  opacity: 0; transform: translateY(3%) scale(.985);
  transition: opacity .4s var(--aus), transform .6s var(--aus);
}
.buehne-handy .handy img.ist-aktiv { opacity: 1; transform: none; }
.buehne-handy .handy img.ist-vorbei { transform: translateY(-3%) scale(.985); }
.fortschritt { position: absolute; right: -22px; top: 10%; bottom: 10%; width: 2px; background: #3b3a36; }
.fortschritt span { position: absolute; inset: 0; background: var(--rot); transform-origin: 50% 0; transform: scaleY(0); }

@media (max-width: 760px) {
  .bewegt .buehne {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    align-items: start; gap: 18px;
    padding: 76px var(--rand) 20px;
  }
  .ablauf .buehne .wort { font-size: clamp(2.4rem, 12vw, 3.4rem); }
  .ablauf .buehne .satz { margin-top: 8px; font-size: 1rem; min-height: 4.4em; }
  .ablauf .buehne .nr { margin-bottom: 10px; }
  .buehne-handy { justify-self: center; align-self: start; --handy-b: min(280px, 62vw, calc((100svh - 330px) * 1170 / 2532)); }
  .fortschritt { right: -16px; }
}

/* 3 · Theke */
.theke {
  max-width: var(--breit); margin: 0 auto;
  padding: clamp(96px, 14vw, 200px) var(--rand);
  display: grid; gap: clamp(32px, 5vw, 64px);
}
.theke-text { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; }
.theke-text .gross { grid-row: span 2; }
@media (max-width: 860px) { .theke-text { grid-template-columns: minmax(0, 1fr); } .theke-text .gross { grid-row: auto; } }

/* 4 · Stempelkarte */
.stempel {
  background: var(--weiss);
  padding: clamp(72px, 9vw, 120px) var(--rand);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 6vw, 96px);
  align-items: center; justify-content: center;
}
.stempel > * { max-width: calc(var(--breit) / 2); }
.stempel-text { display: grid; gap: 18px; justify-self: end; }
.stempel-handy { --handy-b: min(320px, 26vw, calc((100svh - 150px) * 1170 / 2532)); }
.stempel-handy figcaption { max-width: var(--handy-b); }
@media (max-width: 760px) {
  .stempel { grid-template-columns: minmax(0, 1fr); }
  .stempel-text { justify-self: start; }
  .stempel-handy { --handy-b: min(290px, 70vw); justify-self: center; }
}

/* 5 · Drei Aussagen */
.aussagen { background: var(--teer); color: var(--weiss); padding: 0 var(--rand) clamp(72px, 10vw, 140px); }
.aussage {
  max-width: var(--breit); margin: 0 auto;
  min-height: 78svh; display: flex; flex-direction: column; justify-content: center; gap: 22px;
  border-bottom: 1px solid #3b3a36;
}
.aussage .lead { color: var(--nacht-text); }
.aussagen-fuss { max-width: var(--breit); margin: clamp(48px, 7vw, 96px) auto 0; color: var(--nacht-text); font-size: clamp(1.0625rem, 1.4vw, 1.25rem); }

/* 6 · Preis */
.preis {
  max-width: var(--breit); margin: 0 auto;
  padding: clamp(110px, 16vw, 220px) var(--rand);
  display: grid; gap: clamp(28px, 4vw, 56px); justify-items: start;
}
.preis-betrag { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 22px; }
.preis-betrag .riesig { text-transform: none; font-size: clamp(4.4rem, 19vw, 18rem); font-feature-settings: "tnum"; line-height: .82; }
.preis-einheit { font: 800 clamp(1.5rem, 3vw, 2.6rem)/1 var(--titel); font-stretch: 74%; font-variation-settings: "wdth" 74; text-transform: uppercase; }
.preis-liste { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--teer); width: min(100%, 640px); }
.preis-liste li { padding: 14px 0 14px 26px; border-bottom: 1px solid var(--beton-2); position: relative; font-size: 1.125rem; }
.preis-liste li::before { content: ""; position: absolute; left: 0; top: 1.3em; width: 10px; height: 10px; background: var(--rot); }

/* 7 · Abschluss */
.schluss {
  background: var(--weiss);
  padding: clamp(110px, 16vw, 220px) var(--rand);
  display: grid; gap: 24px; justify-items: center; text-align: center;
}
.schluss .lead { color: var(--teer-2); }
.wege { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 28px; margin-top: 12px; }
.knopf {
  display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 22px;
  background: var(--rot); color: var(--weiss); text-decoration: none;
  font: 700 1.0625rem/1 var(--titel); font-stretch: 88%; font-variation-settings: "wdth" 88; letter-spacing: .01em;
  transition: background-color .2s var(--aus), transform .12s ease-out;
}
.knopf::after { content: ""; width: 14px; height: 10px; background: currentColor; clip-path: polygon(0 40%, 64% 40%, 64% 0, 100% 50%, 64% 100%, 64% 60%, 0 60%); transition: transform .22s var(--aus); }
.knopf:hover { background: var(--rot-tief); }
.knopf:hover::after { transform: translateX(3px); }
.link {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--teer); font-weight: 600; text-decoration: underline; text-decoration-color: var(--rot);
  text-decoration-thickness: 2px; text-underline-offset: .3em;
  transition: color .2s var(--aus), transform .12s ease-out;
}
.link:hover { color: var(--rot-tief); }
/* Rückmeldung beim Drücken, sofort */
.knopf:active, .link:active, .kopf-link:active, .fuss a:active { transform: translateY(1px) scale(.98); transition-duration: 60ms; }

/* Fuss */
.fuss { background: var(--teer); color: var(--nacht-text); }
.band { height: 10px; background: repeating-linear-gradient(90deg, var(--rot) 0 48px, var(--weiss) 48px 96px); }
.fuss-inhalt { max-width: var(--breit); margin: 0 auto; padding: 48px var(--rand) 56px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; }
.fuss-marke { font: 800 1.6rem/1 var(--titel); font-stretch: 70%; font-variation-settings: "wdth" 70; text-transform: uppercase; color: var(--weiss); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.fuss-link { color: var(--weiss); text-decoration: underline; text-decoration-color: var(--rot); text-decoration-thickness: 2px; text-underline-offset: .3em; display: inline-flex; align-items: center; min-height: 44px; }
.fuss-nachweis { flex-basis: 100%; font-size: .8125rem; color: var(--nacht-leise); max-width: 70ch; }

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