@import url("https://fonts.googleapis.com/css2?family=Roboto+Flex:opsz,wght@8..144,300;8..144,400;8..144,500;8..144,600;8..144,700&display=swap");

:root {
  --bg: #ffffff;
  --bg-soft: #f7f6f4;
  --ink: #0f1115;
  --ink-soft: #5b616e;
  --line: #dedcd6;
  --line-soft: #ececea;
  --brand: #fe5b2a;
  --brand-ink: #d8421a;
  --brand-soft: #fff1ec;
  --accent: #1f8a70;
  --ink-dark: #0b0c10;
  --ink-dark-2: #14161c;
  --on-dark: #f4f2ee;
  --on-dark-soft: #a7abb6;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow-sm: 0 1px 2px rgba(16, 18, 23, 0.03);
  --shadow-lg: 0 8px 24px -16px rgba(16, 18, 23, 0.16);
  --maxw: 1160px;
  --space-section: clamp(72px, 11vw, 160px);
  --font-body: "Roboto Flex", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Roboto Flex", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}
/* Lenis smooth scroll takes over when JS runs */
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv01";
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-ink);
  margin: 0 0 18px;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 600;
}

h1 { font-weight: 700; }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 300; letter-spacing: -0.015em; }
h3 { font-size: 1.2rem; letter-spacing: -0.015em; font-weight: 300; }

p { margin: 0; color: var(--ink-soft); }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease-out), background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
  will-change: transform;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.btn-primary:hover { background: var(--brand-ink); border-color: var(--brand-ink); }
.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--ink); }
.btn .btn-label { display: inline-block; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: transform 0.5s var(--ease-out), background 0.4s ease, border-color 0.4s ease;
  will-change: transform;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.82);
  border-bottom-color: var(--line);
}
.site-header.nav-hidden { transform: translateY(-100%); }
body { padding-top: 72px; }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 1.15rem;
}
.brand span:not(.mark) {
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1rem;
}
.brand .mark {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  overflow: hidden;
}
.brand .mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { font-family: var(--font-display); color: var(--ink-soft); font-weight: 300; font-size: 0.95rem; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; gap: 14px; align-items: center; }

/* ---------- Hero ---------- */
.hero {
  padding-top: clamp(64px, 9vw, 120px);
  padding-bottom: var(--space-section);
  text-align: center;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  max-width: 16ch;
  margin-inline: auto;
  text-transform: uppercase;
}
.hero-logo-slot {
  width: clamp(84px, 11vw, 132px);
  height: clamp(84px, 11vw, 132px);
  margin: 0 auto 28px;
  position: relative;
}
.hero-logo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 12px 28px rgba(254, 91, 42, 0.25));
}
.hero .lead {
  max-width: 56ch;
  margin: 28px auto 0;
}
.hero-actions {
  margin-top: 40px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-note {
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: #fff;
  margin-bottom: 28px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: clamp(48px, 7vw, 88px);
  padding: 44px clamp(20px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
}
.stat .num { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 600; letter-spacing: -0.03em; }
.stat .lbl { font-size: 0.92rem; margin-top: 4px; }

/* ---------- Sections ---------- */
section { padding-block: var(--space-section); }
.section-head { max-width: 60ch; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 18px; font-size: 1.1rem; }

.soft { background: var(--bg-soft); border-block: 1px solid var(--line); }

/* ---------- Problem ---------- */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.problem-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.problem-card .x { color: var(--brand); font-weight: 800; font-size: 1.4rem; }
.problem-card h3 { margin: 14px 0 8px; }

/* ---------- Features ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.feature:hover { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); }
.feature .ico {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: var(--radius-sm);
  background: var(--brand-soft);
  margin-bottom: 22px;
}
.feature .ico svg { width: 26px; height: 26px; stroke: var(--brand-ink); }
.feature h3 { margin-bottom: 10px; }

/* ---------- Hero order-flow live infographic (ticket + station track) ---------- */
.ofl-ticket {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 14px 18px;
  margin-bottom: clamp(28px, 5vw, 44px);
  flex-wrap: wrap;
}
.ofl-ticket-head { display: flex; flex-direction: column; gap: 2px; }
.ofl-ticket-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}
.ofl-ticket-num { font-size: 1.25rem; font-weight: 800; color: var(--brand-ink); }
.ofl-ticket-items { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.ofl-ticket-items li {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px;
  white-space: nowrap;
}
.ofl-ticket-items li.ofl-note { background: var(--brand-soft); border-color: transparent; color: var(--brand-ink); }
.ofl-ing {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 5px 12px 5px 10px;
  border: 1.5px solid var(--ing-border, var(--line));
  background: var(--ing-bg, var(--bg-soft));
  color: var(--ing-fg, var(--ink));
}
.ofl-ing i { font-size: 0.85rem; }
.ofl-ing-off {
  background: #f3f4f6 !important;
  color: #9ca3af !important;
  border-color: #e5e7eb !important;
  text-decoration: line-through;
}
.ofl-ing-off i { color: inherit; text-decoration: none; }

.ofl-track { position: relative; display: flex; align-items: flex-start; justify-content: space-between; padding-top: 4px; }
.ofl-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 28px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), #ff8a5c);
  opacity: 0.3;
}
.ofl-packet {
  position: absolute;
  top: 20px;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 5px rgba(254, 91, 42, 0.18);
  opacity: 0;
  z-index: 2;
  pointer-events: none;
}
.ofl-station { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.ofl-dot {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.ofl-station-source .ofl-dot,
.ofl-station-target .ofl-dot { border-color: var(--brand); }
.ofl-station.is-active .ofl-dot { border-color: var(--brand); box-shadow: 0 0 0 6px rgba(254, 91, 42, 0.16); }
.ofl-station.is-done .ofl-dot { border-color: var(--accent); }
.ofl-check {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.ofl-station.is-done .ofl-check { opacity: 1; transform: scale(1); }
.ofl-name { font-size: 0.8rem; font-weight: 700; color: var(--ink); }
.ofl-status { font-size: 0.66rem; font-weight: 600; color: var(--ink-soft); min-height: 14px; }

.ofl-pickup-callout { margin-top: 22px; display: flex; justify-content: center; }
.ofl-pickup-num {
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 8px 18px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 720px) {
  .ofl-ticket { justify-content: center; text-align: center; }
  .ofl-ticket-items { justify-content: center; }
  .ofl-dot { width: 44px; height: 44px; font-size: 18px; }
  .ofl-name { font-size: 0.68rem; }
  .ofl-status { font-size: 0.58rem; }
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  counter-reset: step;
}
.step { position: relative; padding-top: 18px; }
.step .n {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  margin-bottom: 20px;
}
.step h3 { margin-bottom: 8px; }

/* ---------- Order flow infographic (Aufnehmen → An die Küche → Zubereiten → Abholen) ---------- */
.flow-track {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}
.flow-step {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}
.flow-connector {
  flex: 0 0 auto;
  width: clamp(16px, 3vw, 48px);
  height: 3px;
  margin-top: 52px;
  border-radius: 2px;
  background: repeating-linear-gradient(90deg, var(--brand) 0 6px, transparent 6px 11px);
  opacity: 0.55;
}
.flow-phase-chip {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--brand-ink);
  background: var(--brand-soft);
  border-radius: 999px;
  padding: 4px 10px;
}
.flow-stage {
  position: relative;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
}
.flow-core { font-size: 32px; line-height: 1; }
.flow-device {
  position: absolute;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  box-shadow: var(--shadow-sm);
  opacity: 0;
}
.flow-device.pos-tr { top: -8px; right: -10px; }
.flow-device.pos-r { top: 30px; right: -18px; }
.flow-device.pos-br { bottom: -8px; right: -10px; }
.flow-label { font-size: 0.95rem; font-weight: 700; color: var(--ink); }

.flow-bon {
  width: 44px;
  padding: 7px 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0 0 6px 6px;
  box-shadow: var(--shadow-sm);
  transform-origin: top center;
}
.flow-bon span { display: block; height: 3px; border-radius: 2px; background: var(--line); }
.flow-bon span:first-child { background: var(--brand); width: 70%; }

.grill-gauge { width: 100%; max-width: 150px; display: flex; flex-direction: column; gap: 6px; }
.grill-gauge-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
}
.grill-gauge-track {
  height: 10px;
  border-radius: 6px;
  background: var(--line-soft);
  border: 1px solid var(--line);
  overflow: hidden;
}
.grill-gauge-fill {
  height: 100%;
  width: 35%;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--accent), var(--brand));
}

.pickup-board { width: 100%; max-width: 220px; display: flex; gap: 10px; }
.pickup-col {
  flex: 1;
  min-height: 92px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 10px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.pickup-col.ready { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, #fff); }
.pickup-col-title {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
  text-align: center;
}
.pickup-chip {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}
.pickup-col.ready .pickup-chip { background: var(--accent); }

@media (max-width: 720px) {
  .flow-track { flex-wrap: wrap; row-gap: 32px; }
  .flow-step { flex: 1 1 45%; }
  .flow-connector { display: none; }
}

/* ---------- Benefits split ---------- */
.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.checklist { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 20px; }
.checklist li { display: flex; gap: 16px; align-items: flex-start; }
.checklist .ck {
  flex: 0 0 28px;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-ink);
  font-weight: 800;
  margin-top: 2px;
}
.checklist strong { color: var(--ink); display: block; }

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow-sm);
}
.panel h3 { font-size: 1.05rem; }
.metric-row { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); }
.metric-row:last-child { border-bottom: 0; }
.metric-row .v { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.metric-row .v.good { color: var(--accent); }

/* ---------- Rocket launch (revenue liftoff) ---------- */
.rocket-panel {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
  margin-top: clamp(48px, 7vw, 88px);
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius);
  background: linear-gradient(165deg, var(--ink-dark-2), var(--ink-dark) 70%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--on-dark);
  overflow: hidden;
}
.rocket-copy .eyebrow { color: var(--brand); }
.rocket-copy h3 { color: var(--on-dark); font-size: clamp(1.3rem, 2.4vw, 1.8rem); margin: 10px 0 12px; }
.rocket-copy p { color: var(--on-dark-soft); font-size: 1rem; }
.rocket-stage {
  position: relative;
  aspect-ratio: 320 / 220;
  width: 100%;
}
.rocket-track { position: absolute; inset: 0; width: 100%; height: 100%; }
.rocket-baseline { stroke: rgba(255, 255, 255, 0.14); stroke-width: 2; }
.rocket-path { fill: none; stroke: var(--brand); stroke-width: 3; stroke-linecap: round; }
.rocket-icon {
  position: absolute;
  width: 52px;
  height: auto;
  left: 0;
  top: 0;
  filter: invert(1) brightness(1.7) drop-shadow(0 6px 14px rgba(254, 91, 42, 0.55));
  will-change: transform;
}
.rocket-flame {
  position: absolute;
  width: 16px;
  height: 16px;
  left: 0;
  top: 0;
  border-radius: 50%;
  background: radial-gradient(circle, #ffcf9e 0%, var(--brand) 55%, transparent 75%);
  opacity: 0;
  filter: blur(2px);
  will-change: transform, opacity;
}

/* ---------- Stations ---------- */
.stations {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.station {
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  text-align: center;
}
.station .emoji { font-size: 2.2rem; }
.station h3 { margin: 16px 0 8px; }

/* ---------- Modules ---------- */
.modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.module {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
}
.module .tag { font-size: 1.5rem; line-height: 1; }
.module strong { color: var(--ink); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 6px 26px;
  margin-bottom: 16px;
  background: #fff;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 0;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--brand); font-weight: 400; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { padding-bottom: 22px; }

/* ---------- CTA ---------- */
.cta {
  text-align: center;
}
.cta-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: clamp(48px, 8vw, 104px) clamp(24px, 5vw, 64px);
  background:
    radial-gradient(120% 160% at 50% -10%, rgba(254, 91, 42, 0.3) 0%, transparent 55%),
    linear-gradient(180deg, var(--ink-dark-2), var(--ink-dark));
  color: var(--on-dark);
}
.cta-card h2 { max-width: 18ch; margin-inline: auto; color: var(--on-dark); }
.cta-card p { max-width: 50ch; margin: 22px auto 0; font-size: 1.1rem; color: var(--on-dark-soft); }
.cta-card .btn-ghost { background: rgba(255, 255, 255, 0.06); color: var(--on-dark); border-color: rgba(255, 255, 255, 0.18); }
.cta-card .btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 56px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
}
.footer-grid .muted { font-size: 0.9rem; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a { color: var(--ink-soft); font-size: 0.92rem; font-weight: 600; }
.footer-links a:hover { color: var(--ink); }

/* ---------- Pricing ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 38px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.price-card.featured {
  border-color: var(--brand);
  border-width: 2px;
}
.price-badge {
  position: absolute;
  top: -13px;
  left: 32px;
  background: var(--brand);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
}
.price-card h3 { font-size: 1.3rem; }
.price-sub { margin-top: 10px; min-height: 48px; }
.price-amount { margin-top: 24px; display: flex; align-items: baseline; gap: 10px; }
.price-amount .amount { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
.price-amount .per { font-size: 0.95rem; color: var(--ink-soft); }
.price-recurring {
  margin-top: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--brand-ink);
}
.price-feat { list-style: none; margin: 26px 0 32px; padding: 0; display: grid; gap: 14px; }
.price-feat li { position: relative; padding-left: 30px; font-size: 0.96rem; color: var(--ink-soft); }
.price-feat li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  width: 20px; height: 20px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-ink);
  font-size: 0.7rem;
  font-weight: 800;
}
.btn.block { width: 100%; justify-content: center; margin-top: auto; }
.price-foot { text-align: center; margin-top: 36px; font-size: 0.88rem; }

/* ---------- Checkout ---------- */
.checkout-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.config-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: clamp(22px, 3vw, 34px);
  margin-bottom: 24px;
}
.config-card .row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}
.config-card h3 { font-size: 1.15rem; }
.config-card .price-tag { font-weight: 700; color: var(--brand-ink); white-space: nowrap; }
.config-card .desc { margin-top: 8px; font-size: 0.94rem; }
.config-body { margin-top: 22px; display: none; gap: 18px; flex-wrap: wrap; align-items: center; }
.config-card.active { border-color: var(--brand); border-width: 2px; }
.config-card.active .config-body { display: flex; }

.switch { display: inline-flex; align-items: center; cursor: pointer; gap: 12px; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.track {
  width: 48px; height: 28px; border-radius: 999px; background: #d7d9de;
  position: relative; transition: background 0.2s ease; flex: 0 0 auto;
}
.track::after {
  content: ""; position: absolute; top: 3px; left: 3px;
  width: 22px; height: 22px; border-radius: 50%; background: #fff;
  transition: transform 0.2s ease; box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.switch input:checked + .track { background: var(--brand); }
.switch input:checked + .track::after { transform: translateX(20px); }

.qty { display: inline-flex; align-items: center; gap: 8px; }
.qty label { font-size: 0.92rem; color: var(--ink-soft); font-weight: 600; }
.num-input {
  width: 86px; padding: 11px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-size: 1rem; font-family: inherit; color: var(--ink);
}
.num-input:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
.field-check { display: inline-flex; align-items: center; gap: 10px; font-size: 0.94rem; cursor: pointer; }
.field-check input { width: 18px; height: 18px; accent-color: var(--brand); }
.upload {
  margin-top: 6px; width: 100%; display: none; gap: 12px; align-items: center; flex-wrap: wrap;
  padding-top: 16px; border-top: 1px dashed var(--line);
}
.upload.show { display: flex; }
.upload input[type=file] { font-size: 0.9rem; }
.upload .hint { font-size: 0.82rem; color: var(--ink-soft); }
.upload .ok { color: var(--accent); font-weight: 700; font-size: 0.88rem; }

.summary {
  position: sticky; top: 96px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-soft); padding: clamp(24px, 3vw, 32px);
  box-shadow: var(--shadow-sm);
}
.summary h3 { font-size: 1.15rem; margin-bottom: 6px; }
.summary .sum-list { margin: 18px 0; display: grid; gap: 12px; }
.sum-line { display: flex; justify-content: space-between; gap: 14px; font-size: 0.95rem; color: var(--ink-soft); }
.sum-line span:last-child { color: var(--ink); font-weight: 600; white-space: nowrap; }
.sum-empty { font-size: 0.92rem; color: var(--ink-soft); padding: 8px 0; }
.sum-divider { height: 1px; background: var(--line); margin: 18px 0; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; }
.sum-total .lbl { font-weight: 700; color: var(--ink); }
.sum-total .val { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.sum-total.recurring .val { font-size: 1.1rem; color: var(--brand-ink); }
.sum-note { font-size: 0.8rem; color: var(--ink-soft); margin-top: 18px; }
.pay-error { display: none; margin-top: 14px; font-size: 0.9rem; color: var(--brand-ink); font-weight: 600; }
.pay-error.show { display: block; }
.secure-row { display: flex; align-items: center; gap: 8px; justify-content: center; margin-top: 16px; font-size: 0.82rem; color: var(--ink-soft); }

/* EU checkout: demo banner, customer form, VAT breakdown, consents */
.demo-banner {
  max-width: 1080px; margin: 18px auto -8px; padding: 14px 20px; border-radius: var(--radius-sm);
  background: #fff8e6; border: 1px solid #f0d68a; color: #7a5d00; font-size: 0.92rem; line-height: 1.45;
}
.demo-banner strong { color: #6a4f00; }
.form-card { display: block; }
.form-subhead { margin: 22px 0 4px; font-size: 0.95rem; color: var(--ink); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.span-2 { grid-column: 1 / -1; }
.form-field > span { font-size: 0.85rem; color: var(--ink-soft); font-weight: 600; }
.text-input {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-size: 0.96rem; font-family: inherit; color: var(--ink); background: #fff; box-sizing: border-box;
}
.text-input:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
.sum-vat { display: grid; gap: 6px; margin-bottom: 10px; }
.consent-list { margin-top: 20px; display: grid; gap: 12px; }
.field-check.consent { align-items: flex-start; font-size: 0.88rem; line-height: 1.4; }
.field-check.consent input { margin-top: 1px; flex: 0 0 auto; }
.field-check.consent a { color: var(--brand-ink); font-weight: 600; }

/* Legal pages (Impressum, Datenschutz, AGB, Widerruf) */
.legal { max-width: 760px; margin: 0 auto; padding: clamp(40px, 6vw, 72px) 0; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 8px; }
.legal h2 { font-size: 1.2rem; margin: 28px 0 8px; color: var(--ink); }
.legal p, .legal li { color: var(--ink-soft); line-height: 1.6; font-size: 0.98rem; }
.legal ul { margin: 8px 0 8px 20px; display: grid; gap: 6px; }
.legal a { color: var(--brand-ink); font-weight: 600; }
.legal .placeholder {
  margin: 18px 0; padding: 14px 18px; border-radius: var(--radius-sm);
  background: var(--brand-soft); border: 1px solid #f0c6b8; color: var(--brand-ink); font-size: 0.9rem;
}
.legal .form-box { margin-top: 16px; padding: 18px 20px; border: 1px dashed var(--line); border-radius: var(--radius-sm); background: #fff; }

.checkout-hero { text-align: center; padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(28px, 4vw, 48px); }
.back-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink-soft); font-size: 0.92rem; }
.back-link:hover { color: var(--ink); }

.result-hero { text-align: center; padding-block: clamp(80px, 12vw, 160px); }
.result-hero .big { font-size: 3.4rem; }
.result-hero h1 { margin: 18px auto 16px; max-width: 18ch; }
.result-hero p { max-width: 48ch; margin: 0 auto 32px; font-size: 1.1rem; }

/* ---------- Scroll reveal ---------- */
/* Content is visible by default (no JS / reduced motion / CDN failure).
   It is only hidden while GSAP is confirmed active via html.gsap-anim,
   which the motion layer removes again if GSAP fails to load. */
.reveal { will-change: opacity, transform; }
html.gsap-anim .reveal { opacity: 0; }

/* GSAP animation primitives (only hidden when JS confirmed active via .gsap-anim) */
html.gsap-anim [data-anim="fade-up"],
html.gsap-anim [data-anim="fade"] { opacity: 0; }

/* Masked line reveal for split headings */
.line-mask { display: block; overflow: hidden; padding-bottom: 0.06em; }
.line-inner { display: block; will-change: transform; }
html.gsap-anim .split-ready .line-inner { transform: translateY(110%); }

/* Signature marker highlight (orange sweep behind a word) */
.hl {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  color: var(--brand-ink);
}
.hl::after {
  content: "";
  position: absolute;
  left: -0.08em; right: -0.08em; bottom: 0.04em;
  height: 0.42em;
  background: linear-gradient(90deg, rgba(254, 91, 42, 0.28), rgba(254, 91, 42, 0.16));
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: left center;
  z-index: -1;
}
html.gsap-anim .hl::after { transform: scaleX(0); }

/* Magnetic button wrapper */
.magnetic { display: inline-flex; }

/* Scroll progress indicator */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--brand), #ff8a5c);
  z-index: 60;
  pointer-events: none;
}

/* ---------- Product deep-dive ---------- */
.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.product + .product { margin-top: clamp(64px, 9vw, 128px); }
.product-kicker {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-ink);
}
.product-title { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 12px 0 18px; }
.product-copy > p { font-size: 1.05rem; }
.benefit-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.benefit-list li { display: flex; gap: 16px; align-items: flex-start; }
.benefit-list .bk {
  flex: 0 0 44px; width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: var(--radius-sm); background: var(--brand-soft); font-size: 1.25rem;
}
.benefit-list strong { display: block; color: var(--ink); margin-bottom: 2px; }
.benefit-list div { color: var(--ink-soft); font-size: 0.96rem; }
.product.reverse .product-media { order: -1; }
.product-cta {
  margin-top: clamp(48px, 7vw, 80px);
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}

.viz {
  position: relative;
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: radial-gradient(120% 120% at 50% 0%, var(--brand-soft) 0%, var(--bg-soft) 60%);
  padding: clamp(28px, 4vw, 44px);
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
}

/* Viz 1 – order pipeline */
.ticket {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 18px; width: min(260px, 100%); margin: 0 auto 34px;
  position: relative;
}
.ticket-head { display: flex; justify-content: space-between; font-weight: 700; color: var(--ink); margin-bottom: 14px; }
.ticket-no { color: var(--brand-ink); }
.tline { display: block; height: 9px; border-radius: 5px; margin: 9px 0; transform-origin: left;
  background: linear-gradient(90deg, #eceef1 0%, #f6f7f9 50%, #eceef1 100%);
  background-size: 200% 100%; animation: shimmer 3.2s ease-in-out infinite; }
.tline.l1 { width: 90%; } .tline.l2 { width: 70%; animation-delay: .3s; } .tline.l3 { width: 80%; animation-delay: .6s; }
.ticket-stamp {
  position: absolute; right: 14px; bottom: -12px;
  background: var(--accent); color: #fff; font-size: 0.72rem; font-weight: 800;
  padding: 5px 11px; border-radius: 999px; transform: rotate(-6deg);
  animation: stampPulse 3.2s ease-in-out infinite;
}
.pipeline { display: flex; align-items: flex-start; justify-content: center; }
.pstep { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.pdot {
  width: 54px; height: 54px; border-radius: 50%; background: #fff; border: 1px solid var(--line);
  display: grid; place-items: center; font-size: 1.35rem;
  animation: pPulse 3.6s ease-in-out infinite; animation-delay: var(--d, 0s);
}
.pstep small { font-size: 0.8rem; font-weight: 600; color: var(--ink-soft); }
.pline { width: 56px; height: 3px; background: #e6e8ec; border-radius: 3px; position: relative; overflow: hidden; margin: 25px 6px 0; }
.pline i { position: absolute; inset: 0; background: var(--brand); transform: scaleX(0); transform-origin: left;
  animation: pFill 3.6s ease-in-out infinite; animation-delay: var(--d, 0s); }

/* Viz 2 – moving RFID tray */
.viz-track { gap: 0; }
.track-stations { display: flex; justify-content: space-between; position: relative; z-index: 2; }
.tstation { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 0 0 auto; }
.tstation span {
  width: 56px; height: 56px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line);
  display: grid; place-items: center; font-size: 1.45rem;
  animation: stationGlow 6s ease-in-out infinite; animation-delay: calc(var(--i) * 1.5s);
}
.tstation small { font-size: 0.78rem; font-weight: 600; color: var(--ink-soft); }
.track-line { position: absolute; left: 44px; right: 44px; top: 28px; height: 3px; background: #e6e8ec; border-radius: 3px; z-index: 1; overflow: hidden; }
.track-line i { position: absolute; inset: 0; background: var(--brand); transform-origin: left; animation: trackFill 6s ease-in-out infinite; }
.tray {
  position: absolute; top: 6px; left: 0; font-size: 1.5rem;
  width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 1px solid var(--brand);
  display: grid; place-items: center; z-index: 3; box-shadow: var(--shadow-sm);
  animation: trayMove 6s ease-in-out infinite;
}
.tray-rfid { position: absolute; inset: -6px; border: 2px solid var(--brand); border-radius: 50%; opacity: 0; animation: rfid 1.5s ease-out infinite; }

/* Viz 3 – stainless holder */
.viz-holder { align-items: center; }
.holder { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; margin: 0 auto; animation: bob 4s ease-in-out infinite; }
.holder-food { font-size: 3.4rem; }
.holder-base {
  width: 156px; height: 36px; margin-top: -8px;
  border-radius: 0 0 44px 44px / 0 0 32px 32px;
  background: linear-gradient(180deg, #eef1f4 0%, #c7cdd4 45%, #a7afb8 100%);
  border: 1px solid #cfd5db;
  box-shadow: inset 0 4px 6px rgba(255,255,255,0.7), 0 10px 20px rgba(16,18,23,0.12);
}
.holder-tag { margin-top: 12px; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.1em; color: var(--brand-ink); background: var(--brand-soft); padding: 4px 11px; border-radius: 999px; }
.rfid-wave { position: absolute; left: 50%; top: 42%; width: 90px; height: 90px; border: 2px solid var(--brand); border-radius: 50%; opacity: 0; transform: translate(-50%, -50%) scale(0.4); animation: rfid 3s ease-out infinite; }
.rfid-wave.w2 { animation-delay: 1s; } .rfid-wave.w3 { animation-delay: 2s; }
.engrave-badge {
  position: absolute; right: 22px; bottom: 22px; z-index: 3;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 14px; font-size: 0.82rem; font-weight: 700; color: var(--ink); box-shadow: var(--shadow-sm);
}
.engrave-badge .spark { color: var(--brand); display: inline-block; animation: twinkle 1.8s ease-in-out infinite; }

@keyframes shimmer { 0%, 100% { background-position: 200% 0; } 50% { background-position: -200% 0; } }
@keyframes stampPulse { 0%, 100% { transform: rotate(-6deg) scale(1); } 50% { transform: rotate(-6deg) scale(1.06); } }
@keyframes pPulse { 0%, 68%, 100% { box-shadow: 0 0 0 0 rgba(228,87,46,0); border-color: var(--line); } 12% { box-shadow: 0 0 0 9px rgba(228,87,46,0.12); border-color: var(--brand); } }
@keyframes pFill { 0% { transform: scaleX(0); } 28%, 100% { transform: scaleX(1); } }
@keyframes stationGlow { 0%, 70%, 100% { border-color: var(--line); box-shadow: 0 0 0 0 rgba(228,87,46,0); } 12% { border-color: var(--brand); box-shadow: 0 0 0 8px rgba(228,87,46,0.10); } }
@keyframes trackFill { 0% { transform: scaleX(0); } 90%, 100% { transform: scaleX(1); } }
@keyframes trayMove {
  0%, 6% { left: 2%; }
  27%, 31% { left: calc(34% - 22px); }
  52%, 56% { left: calc(64% - 22px); }
  80%, 100% { left: calc(100% - 44px); }
}
@keyframes rfid { 0% { opacity: 0.55; transform: translate(-50%, -50%) scale(0.4); } 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.7); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes twinkle { 0%, 100% { opacity: 0.4; transform: scale(0.8); } 50% { opacity: 1; transform: scale(1.25); } }

/* ---------- Phases (Ausbaustufen) ---------- */
.phase-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.phase-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.2s ease;
}
.phase-card:hover {
  border-color: color-mix(in srgb, var(--brand) 45%, var(--line));
}
.phase-num {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: var(--radius-sm);
  background: var(--brand-soft);
  color: var(--brand-ink);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}
.phase-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.phase-card h3 { margin-bottom: 10px; }
.phase-card p { font-size: 0.95rem; flex: 1; }
.phase-more {
  margin-top: 18px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--brand-ink);
}
.phase-badge {
  position: absolute;
  top: -11px; right: 18px;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.phase-foot {
  margin-top: 28px;
  text-align: center;
  font-size: 0.92rem;
}

/* ---------- Phase detail hero ---------- */
.phase-hero {
  padding-top: clamp(48px, 7vw, 88px);
  padding-bottom: clamp(48px, 7vw, 80px);
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.phase-hero .pnum {
  display: inline-grid; place-items: center;
  width: 64px; height: 64px;
  border-radius: var(--radius-sm);
  background: var(--brand);
  color: #fff;
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}
.phase-hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  max-width: 20ch;
}
.phase-hero .lead { max-width: 62ch; margin-top: 22px; }
.phase-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.phase-meta span {
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.phase-meta span strong { color: var(--ink); font-weight: 800; }

/* ---------- Infographic frame ---------- */
.infographic {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, var(--bg-soft));
  padding: clamp(24px, 4vw, 48px);
}
.infographic svg { width: 100%; height: auto; display: block; }
.infographic .flow-token { filter: drop-shadow(0 2px 6px rgba(228, 87, 46, 0.45)); }
.infographic-cap {
  margin-top: 18px;
  text-align: center;
  font-size: 0.9rem;
}

/* ---------- Big visual / device-frame (large "screenshot" style graphics) ---------- */
.big-visual {
  margin-top: clamp(48px, 7vw, 88px);
}
.device-frame {
  position: relative;
  border-radius: var(--radius);
  padding: clamp(18px, 2.6vw, 28px);
  background: linear-gradient(165deg, var(--ink-dark-2), var(--ink-dark) 70%);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.device-frame .device-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 6px 16px;
}
.device-frame .device-bar span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}
.device-frame .device-screen {
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, var(--bg-soft));
  padding: clamp(20px, 3.4vw, 40px) clamp(16px, 3vw, 32px);
  overflow: hidden;
}
.device-frame .device-screen svg { width: 100%; height: auto; display: block; }
.device-frame .device-screen.device-screen-photo {
  padding: 0;
  line-height: 0;
}
.device-frame .device-screen-photo img {
  width: 100%;
  height: auto;
  display: block;
}
.big-visual-cap {
  margin-top: 20px;
  text-align: center;
  font-size: 0.95rem;
  max-width: 56ch;
  margin-inline: auto;
}

/* ---------- Station gallery (scroll-driven crossfade through the 4 kitchen stations) ---------- */
.station-gallery {
  margin-top: clamp(48px, 7vw, 88px);
}
.station-gallery-frame { position: relative; }
.station-gallery-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 6px 16px;
  margin-top: -6px;
}
.station-gallery-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 6px 14px 6px 10px;
  cursor: pointer;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.station-gallery-dot .emoji { font-size: 1rem; }
.station-gallery-dot.active {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}
.station-gallery-track {
  position: relative;
  aspect-ratio: 1440 / 960;
  overflow: hidden;
}
.station-gallery-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
}
.station-gallery-slide.active {
  opacity: 1;
  visibility: visible;
}
.station-gallery-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Roadmap (large phases timeline) ---------- */
.roadmap {
  margin-bottom: clamp(40px, 6vw, 64px);
}
.roadmap .infographic svg { max-width: 100%; }

/* ---------- Chaos / explanatory graphic (light card) ---------- */
.explain-visual svg { max-width: 100%; }

/* ---------- Callout ---------- */
.callout {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px 26px;
  border-radius: var(--radius);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line));
  background: color-mix(in srgb, var(--accent) 7%, #fff);
}
.callout .ci { font-size: 1.5rem; line-height: 1; }
.callout h3 { margin-bottom: 6px; }
.callout p { font-size: 0.95rem; }

/* ---------- Phase prev/next nav ---------- */
.phase-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.phase-nav a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.2s ease;
}
.phase-nav a:hover { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); }
.phase-nav a.next { text-align: right; align-items: flex-end; }
.phase-nav .pn-dir { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-ink); }
.phase-nav .pn-title { font-weight: 800; letter-spacing: -0.01em; }
.phase-nav a.disabled { opacity: 0.45; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .tline, .ticket-stamp, .pdot, .pline i, .tstation span, .track-line i, .tray, .tray-rfid,
  .holder, .rfid-wave, .engrave-badge .spark { animation: none !important; }
  .pline i, .track-line i { transform: scaleX(1); }
  .rfid-wave { opacity: 0.25; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .product { grid-template-columns: 1fr; }
  .product.reverse .product-media { order: -1; }
  .product-media { max-width: 480px; margin-inline: auto; width: 100%; }
  .price-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .checkout-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .form-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .problem-grid, .feature-grid, .steps, .modules { grid-template-columns: repeat(2, 1fr); }
  .stations { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .rocket-panel { grid-template-columns: 1fr; }
  .phase-track { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .phase-story-sticky { display: none; }
  .phase-screen-huge { display: none; }
  .explore-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .stats, .problem-grid, .feature-grid, .steps, .modules, .stations { grid-template-columns: 1fr; }
  .phase-track { grid-template-columns: 1fr; }
  .phase-nav { grid-template-columns: 1fr; }
  .phase-nav a.next { text-align: left; align-items: flex-start; }
  .nav-cta .btn-ghost { display: none; }
}

/* ---------- Nav dropdown (Produkte) ---------- */
.nav-item { position: relative; display: flex; align-items: center; height: 100%; }
.nav-item > a { display: inline-flex; align-items: center; gap: 5px; }
.nav-item > a .care { font-size: 0.7em; transition: transform 0.2s ease; }
.nav-item:hover > a .care, .nav-item:focus-within > a .care { transform: rotate(180deg); }
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  min-width: 232px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 60;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.nav-dropdown a:hover { background: var(--bg-soft); color: var(--ink); }

/* ---------- Narrow reading column ---------- */
.wrap.narrow { max-width: 720px; }

/* ---------- Home: "weiterlesen" link cards ---------- */
.explore-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.explore-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.explore-card:hover {
  border-color: color-mix(in srgb, var(--brand) 45%, var(--line));
  transform: translateY(-3px);
}
.explore-card .ico { font-size: 1.6rem; }
.explore-card h3 { margin-top: 6px; }
.explore-card p { font-size: 0.95rem; flex: 1; }
.explore-card .go { font-weight: 700; font-size: 0.9rem; color: var(--brand-ink); }

/* ---------- Phase story (Startseite Kernstück) ---------- */
.phase-story { position: relative; }
.phase-story-head { padding-top: var(--space-section); padding-bottom: clamp(28px, 5vw, 52px); }
.phase-story-sticky {
  position: fixed;
  top: 96px;
  left: clamp(16px, 4vw, 40px);
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.phase-story-dot {
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}
.phase-story-dot .n {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--ink-soft);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.phase-story-dot .t {
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
  white-space: nowrap;
}
.phase-story-dot.active { opacity: 1; }
.phase-story-dot.active .n { background: var(--brand); border-color: var(--brand); color: #fff; }
.phase-story-dot.active .t { color: var(--ink); }

.phase-screen {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-top: 1px solid var(--line);
}
.phase-screen:nth-of-type(even) { background: var(--bg-soft); }
.phase-screen-huge {
  position: absolute;
  top: 50%;
  right: clamp(-30px, 2vw, 40px);
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(9rem, 24vw, 19rem);
  font-weight: 700;
  line-height: 1;
  color: var(--line-soft);
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
.phase-screen-inner { position: relative; z-index: 1; max-width: 640px; }
.phase-screen-badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}
.phase-screen-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.phase-screen-eyebrow .pnum {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  flex: none;
}
.phase-screen-eyebrow .kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-ink);
}
.phase-screen h3 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); max-width: 18ch; }
.phase-screen p { margin-top: 20px; font-size: 1.05rem; max-width: 52ch; }
.phase-screen .phase-more { display: inline-flex; margin-top: 26px; }

@media (max-width: 900px) {
  .explore-grid { grid-template-columns: 1fr; }
  .phase-story-sticky { display: none; }
  .phase-screen-huge { font-size: clamp(6rem, 26vw, 11rem); opacity: 0.6; }
}
