/* QueueEase Website, Gestaltung November 2026.
   Markenfarben aus der App (lib/app/theme/app_theme.dart), Schrift Inter (selbst gehostet). */

:root {
  --bg: #0F172A;
  --surface: #1E293B;
  --surface-2: #334155;
  --ink: #F8FAFC;
  --ink-2: #CBD5E1;
  --muted: #94A3B8;
  --accent: #6366F1;
  --accent-press: #4F46E5;
  --accent-ink: #FFFFFF;
  --ok: #34D399;
  --danger: #F87171;
  --light: #F1F5F9;
  --light-2: #E2E8F0;
  --light-ink: #0F172A;
  --light-ink-2: #334155;

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --step-small: 0.875rem;
  --step-body: clamp(1.0625rem, 1rem + 0.2vw, 1.125rem);
  --step-lead: clamp(1.1875rem, 1.05rem + 0.6vw, 1.3125rem);
  --step-head: clamp(2.125rem, 1.35rem + 3vw, 3.125rem);
  --step-hero: clamp(2.75rem, 1.5rem + 5vw, 4.5rem);

  --gutter: clamp(20px, 4vw, 56px);
  --maxw: 1200px;
  --section: clamp(96px, 12vw, 136px);
  --r: 20px;
  --r-shot: 34px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-press: cubic-bezier(0.2, 0, 0, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-body);
  line-height: 1.55;
  letter-spacing: -0.006em;
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

::selection { background: var(--accent); color: var(--accent-ink); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute;
  inset-inline-start: 16px;
  top: -60px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  font-weight: 600;
}
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: calc(var(--maxw) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Typografie */

.h-hero {
  font-size: var(--step-hero);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

@media (max-width: 560px) {
  .h-hero--long { font-size: 2.25rem; }
}
.h-section {
  font-size: var(--step-head);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.h-item {
  font-size: var(--step-lead);
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.lead {
  font-size: var(--step-lead);
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 36ch;
  letter-spacing: -0.012em;
}

.text { color: var(--ink-2); max-width: 60ch; }
.text strong, .lead strong { color: var(--ink); font-weight: 600; }
.small { font-size: var(--step-small); color: var(--muted); }

.multiline { white-space: pre-line; }

/* Knöpfe */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms var(--ease-press), transform 160ms var(--ease-press);
}
@media (hover: hover) and (pointer: fine) { .btn:hover { background: var(--accent-press); } }
.btn:active { transform: scale(0.97); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .btn:hover svg { transform: translateX(3px); } }
[dir="rtl"] .btn svg { transform: scaleX(-1); }
@media (hover: hover) and (pointer: fine) { [dir="rtl"] .btn:hover svg { transform: scaleX(-1) translateX(3px); } }

.btn--quiet { background: var(--surface); color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .btn--quiet:hover { background: var(--surface-2); } }

.btn--light { background: var(--ink); color: var(--light-ink); }
@media (hover: hover) and (pointer: fine) { .btn--light:hover { background: var(--light-2); } }

.link {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  text-decoration-color: var(--accent);
  transition: text-decoration-color 160ms, color 160ms;
}
@media (hover: hover) and (pointer: fine) { .link:hover { text-decoration-color: var(--ink); } }

/* Navigation */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  transition: background-color 200ms;
}
.nav.scrolled { background: var(--surface); }

.nav__bar {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.1875rem;
  letter-spacing: -0.03em;
  text-decoration: none;
  flex: none;
}
.brand img { width: 34px; height: 34px; border-radius: 9px; }

.nav__links {
  display: flex;
  gap: 4px;
  margin-inline-start: auto;
}
.nav__links a {
  display: block;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--ink-2);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: color 160ms, background-color 160ms;
}
@media (hover: hover) and (pointer: fine) { .nav__links a:hover { color: var(--ink); background: var(--surface); } }
@media (hover: hover) and (pointer: fine) { .nav.scrolled .nav__links a:hover { background: var(--surface-2); } }
.nav__links a[aria-current="page"] { color: var(--ink); }

.nav__actions { display: flex; align-items: center; gap: 8px; }
.nav__actions .btn { min-height: 44px; padding: 0 20px; font-size: 1rem; }

.lang { position: relative; }
.lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 160ms, color 160ms;
}
.lang__btn[aria-expanded="true"] { background: var(--surface); color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .lang__btn:hover { background: var(--surface); color: var(--ink); } }
.nav.scrolled .lang__btn[aria-expanded="true"] { background: var(--surface-2); }
@media (hover: hover) and (pointer: fine) { .nav.scrolled .lang__btn:hover { background: var(--surface-2); } }
.lang__btn svg { width: 18px; height: 18px; }

.lang__menu {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  width: 260px;
  max-height: min(70vh, 560px);
  overflow-y: auto;
  padding: 8px;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.55);
  display: grid;
  gap: 2px;
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top right;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 160ms var(--ease-out), transform 200ms var(--ease-out), visibility 0s linear 200ms;
}
.lang__menu.open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition-delay: 0s; }
[dir="rtl"] .lang__menu { transform-origin: top left; }
.lang__option {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  text-align: start;
  cursor: pointer;
  font-size: 0.9375rem;
}
@media (hover: hover) and (pointer: fine) { .lang__option:hover { background: var(--surface-2); } }
.lang__option[aria-current="true"] { background: var(--accent); color: var(--accent-ink); }
.lang__option span:last-child { color: var(--muted); font-size: 0.8125rem; }
.lang__option[aria-current="true"] span:last-child { color: rgba(255, 255, 255, 0.85); }

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: var(--surface);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav__toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  position: relative;
  transition: background-color 160ms;
}
.nav__toggle span::before, .nav__toggle span::after {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 220ms var(--ease-out);
}
.nav__toggle span::before { transform: translateY(-6px); }
.nav__toggle span::after { transform: translateY(6px); }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after { transform: rotate(-45deg); }

@media (max-width: 960px) {
  .nav__bar { gap: 12px; height: 68px; }
  .nav__toggle { display: inline-flex; }
  .nav__actions { margin-inline-start: auto; }
  .nav__actions .btn { display: none; }
  .nav__links {
    position: fixed;
    inset: 68px 0 0 0;
    margin: 0;
    padding: 24px var(--gutter) 40px;
    flex-direction: column;
    gap: 4px;
    background: var(--bg);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    visibility: hidden;
    transition: opacity 180ms var(--ease-out), transform 220ms var(--ease-out), visibility 0s linear 220ms;
    overflow-y: auto;
  }
  .nav__links.open { opacity: 1; pointer-events: auto; transform: none; visibility: visible; transition-delay: 0s; }
  .nav__links a {
    padding: 14px 0;
    border-radius: 0;
    font-size: 1.75rem;
    font-weight: 650;
    letter-spacing: -0.03em;
    color: var(--ink);
  }
  @media (hover: hover) and (pointer: fine) { .nav__links a:hover { background: transparent; color: var(--accent); } }
  .nav__links li.nav__mobile-only { margin-top: 24px; }
  .nav__links a.btn {
    display: inline-flex;
    padding: 0 26px;
    border-radius: 999px;
    font-size: 1.0625rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--accent-ink);
  }
  @media (hover: hover) and (pointer: fine) { .nav__links a.btn:hover { background: var(--accent-press); color: var(--accent-ink); } }
  body.menu-open { overflow: hidden; }
}
@media (min-width: 961px) {
  .nav__links .nav__mobile-only { display: none; }
}

/* Hero der Startseite */

.hero {
  padding-block: clamp(40px, 6vw, 80px) clamp(72px, 8vw, 88px);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}
.hero__copy { display: grid; gap: 0; }
.hero__copy .lead { margin-top: 32px; max-width: 30ch; }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 40px;
}
.hero__note { margin-top: 28px; }

.stage {
  position: relative;
  border-radius: 32px;
  background: var(--surface);
  padding: clamp(24px, 3vw, 40px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(16px, 2vw, 24px);
  align-items: start;
}
.stage__label {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: var(--step-small);
  color: var(--ink-2);
}
.stage__label b { color: var(--ink); font-weight: 600; }

/* App-Ausschnitte: gleiche Gestaltung wie in der App */

[data-ui] {
  --ui-card: #273449;
  --ui-line: rgba(148, 163, 184, 0.16);
  font-size: 15px;
  line-height: 1.35;
  letter-spacing: -0.005em;
}

.ticket {
  border-radius: 24px;
  background: var(--bg);
  padding: 22px 20px 20px;
  display: grid;
  gap: 16px;
}
.ticket__shop {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
}
.ticket__badge {
  font-size: 12px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.14);
  color: var(--ok);
  white-space: nowrap;
}
.ticket__caption {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.ticket__number {
  text-align: center;
  font-size: clamp(30px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.ticket__ahead {
  text-align: center;
  font-size: 14px;
  color: var(--ink-2);
  min-height: 19px;
}
.ticket__rows {
  border-radius: 16px;
  background: var(--surface);
  overflow: hidden;
}
.ticket__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  font-size: 14px;
  color: var(--ink-2);
}
.ticket__row + .ticket__row { border-top: 1px solid var(--ui-line); }
.ticket__row b {
  color: var(--ink);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.ticket.is-up .ticket__number { color: var(--ok); }
.ticket__bump { display: inline-block; }
.ticket__bump.bump { animation: bump 420ms var(--ease-out); }
@keyframes bump {
  0% { transform: translateY(8px); opacity: 0; }
  100% { transform: none; opacity: 1; }
}

.owner {
  border-radius: 24px;
  background: var(--bg);
  padding: 18px 16px 16px;
  display: grid;
  gap: 12px;
}
.owner__title { font-weight: 600; font-size: 15px; padding-inline: 4px; }
.owner__list { display: grid; gap: 8px; align-content: start; }
.owner__item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--surface);
  transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out), background-color 200ms, box-shadow 200ms;
}
.owner__item.is-current {
  background: rgba(99, 102, 241, 0.16);
  box-shadow: inset 0 0 0 1.5px rgba(99, 102, 241, 0.7);
}
.owner__item.is-you { box-shadow: inset 0 0 0 1.5px rgba(52, 211, 153, 0.55); }
.owner__pos {
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  text-align: center;
}
.owner__item.is-current .owner__pos { color: var(--ink); }
.owner__name { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.owner__code {
  display: inline-block;
  margin-top: 3px;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 6px;
  background: var(--surface-2);
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.owner__item.leaving { opacity: 0; transform: translateX(-24px); }
[dir="rtl"] .owner__item.leaving { transform: translateX(24px); }
.owner__call {
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 160ms var(--ease-press), transform 160ms var(--ease-press);
}
@media (hover: hover) and (pointer: fine) { .owner__call:hover { background: var(--accent-press); } }
.owner__call:active { transform: scale(0.97); }
.owner__call:disabled { background: var(--surface-2); color: var(--ink-2); cursor: default; transform: none; }
.owner__reset {
  justify-self: center;
  border: 0;
  background: transparent;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  min-height: 44px;
  padding: 0 16px;
  transition: color 160ms, transform 160ms var(--ease-press);
}
.owner__reset:active { transform: scale(0.97); }
.owner__reset[hidden] { display: block; visibility: hidden; }

@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy .lead { max-width: 34ch; }
}
@media (max-width: 560px) {
  .stage { grid-template-columns: 1fr; padding: 16px; border-radius: 26px; }
  .stage__label { flex-direction: column; gap: 2px; }
}

/* Abschnitte allgemein */

.section { padding-block: var(--section) 0; }
.section:last-of-type { padding-bottom: var(--section); }
.section__head { display: grid; gap: 28px; margin-bottom: clamp(48px, 6vw, 88px); }
.section__head .lead { max-width: 44ch; }

/* So funktioniert es: Schritte mit App-Bild */

.steps { display: grid; gap: clamp(72px, 9vw, 104px); }
.step {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.step__copy { display: grid; gap: 20px; }
.step__copy .text { font-size: var(--step-lead); line-height: 1.5; max-width: 30ch; }
.step__title { display: block; color: var(--ink); font-size: clamp(1.625rem, 1.2rem + 1.4vw, 2rem); line-height: 1.12; letter-spacing: -0.035em; margin-bottom: 14px; font-weight: 700; }
.step__media {
  border-radius: 32px;
  background: var(--surface);
  height: clamp(420px, 44vw, 500px);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: clamp(32px, 4vw, 56px);
}
.step__media img {
  width: min(320px, 62%);
  flex: none;
  border-radius: var(--r-shot);
}
.step:nth-child(even) .step__media { order: -1; }
.step:nth-child(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }

@media (max-width: 860px) {
  .step, .step:nth-child(even) { grid-template-columns: 1fr; }
  .step:nth-child(even) .step__media { order: 0; }
  .step__media { height: 440px; }
  .step__copy .text { max-width: 34ch; }
}

/* Galerie: Reihe echter App-Bilder */

.showcase {
  margin-top: var(--section);
  background: var(--surface);
  padding-block: clamp(80px, 9vw, 112px);
}
.showcase__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.showcase__head .lead { max-width: 34ch; }
.showcase__ctrl { display: flex; gap: 8px; }
.round-btn {
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 160ms, transform 160ms var(--ease-press);
}
@media (hover: hover) and (pointer: fine) { .round-btn:hover { background: #3E4C63; } }
.round-btn:active { transform: scale(0.94); }
.round-btn svg { width: 20px; height: 20px; }
[dir="rtl"] .round-btn svg { transform: scaleX(-1); }

.reel {
  display: flex;
  gap: clamp(16px, 2vw, 28px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  max-width: calc(var(--maxw) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
  padding-bottom: 8px;
  scrollbar-width: none;
}
.reel::-webkit-scrollbar { display: none; }
.reel__item {
  align-content: start;
  flex: 0 0 clamp(220px, 22vw, 260px);
  scroll-snap-align: start;
  display: grid;
  gap: 16px;
}
.reel__item img {
  width: 100%;
  border-radius: 30px;
  background: var(--bg);
  aspect-ratio: 720 / 1565;
}
.reel__item figcaption { display: grid; gap: 2px; }
.reel__item figcaption b { font-weight: 650; font-size: 1.0625rem; letter-spacing: -0.015em; }
.reel__item figcaption span { color: var(--ink-2); font-size: 0.9375rem; line-height: 1.45; }

/* Für Geschäfte */

.business {
  background: var(--bg);
  color: var(--ink);
  padding-block: clamp(96px, 11vw, 136px);
}
.business .lead, .business .text { color: var(--ink-2); }
.business .text strong { color: var(--ink); }
.business__grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(48px, 7vw, 112px);
  align-items: start;
}
.business__copy { display: grid; gap: 28px; position: sticky; top: 120px; }
.business__copy .btn { justify-self: start; margin-top: 12px; }
.facts { display: grid; gap: 0; margin-top: 8px; }
.facts li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 14px;
  padding-block: 14px;
  font-size: 1.0625rem;
  color: var(--ink-2);
}
.facts li b { color: var(--ink); font-weight: 600; }
.facts li::before {
  content: '';
  width: 12px;
  height: 12px;
  margin-top: 7px;
  border-radius: 50%;
  border: 3px solid var(--accent);
}
.business__shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2vw, 28px);
}
.business__shots { align-items: start; }
.business__shots figure { display: grid; gap: 14px; align-content: start; }
.business__shots figure:nth-child(2) { margin-top: clamp(64px, 9vw, 140px); }
.business__shots img { border-radius: 30px; width: 100%; }
.business__shots figcaption { font-size: 0.9375rem; color: var(--ink-2); }

@media (max-width: 900px) {
  .business__grid { grid-template-columns: 1fr; }
  .business__copy { position: static; }
}

/* Benachrichtigungen: Sätze mit Schaltern */

.switches { display: grid; gap: 8px; }
.switch-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: clamp(24px, 3vw, 36px) clamp(20px, 3vw, 40px);
  border-radius: var(--r);
  background: var(--surface);
  cursor: pointer;
  transition: background-color 260ms var(--ease-out);
}
.switch-band__text { display: grid; gap: 8px; }
.switch-band__title {
  font-size: clamp(1.375rem, 1rem + 1.6vw, 1.75rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--ink-2);
  transition: color 200ms;
}
.switch-band__note {
  color: var(--ink-2);
  font-size: 1.0625rem;
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 280ms var(--ease-out);
}
.switch-band__note > span { overflow: hidden; }
.switch-band.on { background: var(--accent); }
.switch-band.on .switch-band__title { color: #fff; }
.switch-band.on .switch-band__note { grid-template-rows: 1fr; color: #fff; }

.toggle {
  position: relative;
  width: 64px;
  height: 38px;
  border-radius: 999px;
  border: 0;
  background: var(--surface-2);
  cursor: pointer;
  flex: none;
  transition: background-color 220ms var(--ease-out);
}
.toggle::after {
  content: '';
  position: absolute;
  top: 4px;
  inset-inline-start: 4px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  transition: transform 260ms var(--ease-out);
}
.toggle[aria-checked="true"] { background: #fff; }
.toggle[aria-checked="true"]::after { background: var(--accent); transform: translateX(26px); }
[dir="rtl"] .toggle[aria-checked="true"]::after { transform: translateX(-26px); }
.switch-band.on .toggle:focus-visible { outline-color: #fff; }

/* Alles Weitere: zweispaltige Liste */

.more {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(40px, 6vw, 96px);
}
.more__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 4vw, 56px) clamp(32px, 4vw, 64px);
}
.more__list dt { font-size: 1.25rem; font-weight: 650; letter-spacing: -0.02em; margin-bottom: 8px; }
.more__list dd { color: var(--ink-2); }
@media (max-width: 860px) {
  .more { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .more__list { grid-template-columns: 1fr; }
}

/* Datenschutz: große Aussagen */

.privacy {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.privacy__copy { display: grid; gap: 28px; }
.privacy__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px clamp(24px, 4vw, 56px); }
.privacy__list li {
  padding-top: 20px;
  border-top: 1px solid var(--surface-2);
  display: grid;
  gap: 8px;
  align-content: start;
}
@media (max-width: 560px) {
  .privacy__list { grid-template-columns: 1fr; gap: 28px; }
}
.privacy__list b { font-size: var(--step-lead); font-weight: 650; letter-spacing: -0.02em; line-height: 1.25; }
.privacy__list span { color: var(--ink-2); }
@media (max-width: 860px) {
  .privacy { grid-template-columns: 1fr; }
}

/* FAQ als ausklappbare Kacheln */

.faq {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.faq__head { position: sticky; top: 112px; display: grid; gap: 24px; }
.faq__head .lead { max-width: 26ch; }
.faq__jump ul { display: grid; gap: 2px; margin-bottom: 16px; }
.faq__jump a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  margin-inline: -14px;
  border-radius: 12px;
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 500;
  transition: background-color 160ms, color 160ms;
}
@media (hover: hover) and (pointer: fine) { .faq__jump a:hover { background: var(--surface); color: var(--ink); } }
.faq__group { display: grid; gap: 8px; scroll-margin-top: 96px; }
.faq__group + .faq__group { margin-top: clamp(40px, 5vw, 64px); }
.faq__group-title { font-size: clamp(1.375rem, 1.1rem + 0.9vw, 1.75rem); font-weight: 700; letter-spacing: -0.03em; margin-bottom: 12px; }
.faq__list { display: grid; gap: 8px; }
.faq-tile {
  border-radius: var(--r);
  background: var(--surface);
  transition: background-color 220ms var(--ease-out);
}
.faq-tile summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 72px;
  padding: 18px 24px;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  cursor: pointer;
  border-radius: var(--r);
}
.faq-tile summary::-webkit-details-marker { display: none; }
@media (hover: hover) and (pointer: fine) { .faq-tile summary:hover { background: var(--surface-2); } }
.faq-tile summary:active { background: var(--surface-2); }
.faq-tile[open] { background: var(--accent-press); color: #fff; }
@media (hover: hover) and (pointer: fine) { .faq-tile[open] summary:hover { background: transparent; } }
.faq-tile[open] summary:focus-visible { outline-color: #fff; }
.plus {
  position: relative;
  width: 16px;
  height: 16px;
  flex: none;
}
.plus::before, .plus::after {
  content: '';
  position: absolute;
  top: 6.5px;
  left: 0;
  width: 16px;
  height: 3px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 240ms var(--ease-out);
}
.plus::after { transform: rotate(90deg); }
.faq-tile[open] .plus::after { transform: rotate(0deg); }
.faq-tile__answer {
  padding: 0 24px 24px;
  max-width: 62ch;
  line-height: 1.6;
  color: #fff;
  white-space: pre-line;
}
.faq__more { margin-top: 28px; }
@media (max-width: 860px) {
  .faq { grid-template-columns: 1fr; }
  .faq__head { position: static; }
  .faq-tile summary { font-size: 1.0625rem; min-height: 64px; padding: 16px 20px; }
  .faq-tile__answer { padding: 0 20px 20px; }
}

/* Abschluss: Akzentfläche */

.closing {
  margin-top: var(--section);
  background: var(--accent);
  color: #fff;
  padding-block: clamp(88px, 10vw, 128px);
}
.closing__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: end;
}
.closing .lead { color: #fff; margin-top: 28px; max-width: 34ch; }
.closing__actions { display: grid; gap: 12px; justify-items: start; }
.store {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 72px;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--bg);
  color: #fff;
  text-decoration: none;
}
.store svg { width: 28px; height: 28px; flex: none; }
.store span { display: grid; line-height: 1.2; }
.store small { font-size: 0.8125rem; color: var(--ink-2); font-weight: 500; }
.store b { font-size: 1.125rem; font-weight: 650; letter-spacing: -0.015em; }
.closing .btn--light { min-height: 60px; }
.closing a:focus-visible { outline-color: #fff; }
@media (max-width: 860px) {
  .closing__grid { grid-template-columns: 1fr; }
}

/* Unterseiten: Kopf */

.page-head { padding-block: clamp(48px, 7vw, 88px) clamp(48px, 6vw, 72px); }
.page-head__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
}
.page-head .lead { max-width: 34ch; }
@media (max-width: 860px) {
  .page-head__grid { grid-template-columns: 1fr; }
}

/* Funktionen-Seite */

.feature-rows { display: grid; gap: clamp(72px, 9vw, 104px); }
.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.feature-row__copy { display: grid; gap: 24px; }
.feature-row__copy .facts li { color: var(--ink-2); }
.feature-row__copy .facts li b { color: var(--ink); }
.feature-row__media {
  border-radius: 32px;
  background: var(--surface);
  padding: clamp(28px, 4vw, 56px);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(12px, 2vw, 24px);
}
.feature-row__media img { width: min(280px, 48%); height: auto; border-radius: 30px; }
.feature-row__media img:nth-child(2) { margin-top: clamp(40px, 6vw, 80px); }
.feature-row:nth-child(even) .feature-row__media { order: -1; }
.feature-row__intro { display: grid; gap: 28px; }
.feature-row--wide, .feature-row--list { grid-template-columns: 1fr; }
.feature-row--wide .feature-row__copy, .feature-row--list .feature-row__copy {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.feature-row--wide .feature-row__copy .facts, .feature-row--list .feature-row__copy .facts { margin-top: 0; }
.feature-row--wide .feature-row__media { order: 0; justify-content: center; gap: clamp(16px, 4vw, 64px); padding-bottom: 0; overflow: hidden; max-height: clamp(420px, 44vw, 560px); }
.feature-row--wide .feature-row__media img { width: min(300px, 42%); }
.feature-row--wide .feature-row__media img:nth-child(2) { margin-top: 0; }
.feature-row--list { border-top: 1px solid var(--surface-2); padding-top: clamp(48px, 6vw, 80px); }
.feature-row--list .facts li { font-size: var(--step-lead); padding-block: 18px; }
@media (max-width: 860px) {
  .feature-row { grid-template-columns: 1fr; }
  .feature-row--wide .feature-row__copy, .feature-row--list .feature-row__copy { grid-template-columns: 1fr; }
  .feature-row:nth-child(even) .feature-row__media { order: 0; }
}

/* Über uns */

.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px clamp(24px, 4vw, 56px);
}
.principles li {
  padding-top: 20px;
  border-top: 1px solid var(--surface-2);
  display: grid;
  gap: 10px;
  align-content: start;
}
.principles b { font-size: var(--step-lead); font-weight: 650; letter-spacing: -0.02em; line-height: 1.25; }
.principles span { color: var(--ink-2); }
@media (max-width: 700px) {
  .principles { grid-template-columns: 1fr; }
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.split__body { display: grid; gap: 22px; }
.split__body .text { font-size: var(--step-lead); line-height: 1.55; max-width: 40ch; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
}

.langs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 4px 24px;
}
.langs button {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink-2);
  font: inherit;
  font-weight: 500;
  text-align: start;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  transition: color 160ms, text-decoration-color 160ms;
}
@media (hover: hover) and (pointer: fine) { .langs button:hover { color: var(--ink); text-decoration-color: currentColor; } }
.langs button[aria-current="true"] { color: var(--ink); text-decoration-color: var(--accent); }

/* Download */

.get {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}
.get__copy { display: grid; gap: 28px; }
.get__copy .lead { max-width: 30ch; }
.get__stores { display: grid; gap: 20px; margin-top: 12px; }
.get__store { display: grid; gap: 10px; }
.get__store .store { background: none; min-height: 0; padding: 0; gap: 14px; }
.get__store .small { padding-inline-start: 42px; }
.prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.price-tile {
  border-radius: 28px;
  background: var(--surface);
  padding: clamp(28px, 3.5vw, 48px);
  display: grid;
  gap: 14px;
  align-content: start;
}
.price-tile .h-item { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 1.875rem); letter-spacing: -0.035em; }
@media (max-width: 860px) {
  .get { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .prices { grid-template-columns: 1fr; }
}

.notify {
  border-radius: 32px;
  background: var(--accent);
  padding: clamp(32px, 5vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 32px;
  align-items: end;
}
.notify .lead { color: #fff; margin-top: 20px; }
.notify .btn--light { justify-self: end; }
.notify a:focus-visible { outline-color: #fff; }
@media (max-width: 760px) {
  .notify { grid-template-columns: 1fr; }
  .notify .btn--light { justify-self: start; }
}

/* Kontakt */

.contact-mail {
  display: inline-block;
  font-size: clamp(1.75rem, 1rem + 3.2vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 4px;
  text-underline-offset: 10px;
  text-decoration-color: var(--accent);
  word-break: break-word;
  transition: text-decoration-color 160ms;
}
@media (hover: hover) and (pointer: fine) { .contact-mail:hover { text-decoration-color: var(--ink); } }
.contact {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(48px, 7vw, 112px);
  align-items: start;
}
.contact__mail, .contact__ways { display: grid; gap: 24px; align-content: start; }
.contact__mail .contact-mail { justify-self: start; }
.ways { display: grid; gap: 0; }
.ways li {
  padding-block: 20px;
  border-top: 1px solid var(--surface-2);
  display: grid;
  gap: 8px;
}
.ways b { font-size: 1.25rem; font-weight: 650; letter-spacing: -0.02em; }
.ways span { color: var(--ink-2); }
@media (max-width: 860px) {
  .contact { grid-template-columns: 1fr; }
}

/* Rechtliches und lange Texte */

.legal {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.legal__toc {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 4px;
}
.legal__toc p { font-weight: 650; margin-bottom: 8px; }
.legal__toc a {
  display: block;
  padding: 10px 14px;
  border-radius: 12px;
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 500;
  transition: background-color 160ms, color 160ms;
}
@media (hover: hover) and (pointer: fine) { .legal__toc a:hover { background: var(--surface); color: var(--ink); } }
.legal__toc a.active, .legal__toc a[aria-current="page"] { background: var(--surface); color: var(--ink); }
.legal-head { grid-column: 1 / -1; display: grid; gap: 16px; }
.legal-head__asof { color: var(--muted); }
.h-legal { grid-column: 1 / -1; font-size: clamp(2rem, 1rem + 4.4vw, 4rem); hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.legal__body { display: grid; gap: clamp(72px, 8vw, 120px); min-width: 0; }
.legal-part { display: grid; gap: 40px; }
.legal-part > .h-section { font-size: clamp(2rem, 1.4rem + 2.4vw, 2.75rem); }
.legal-item { display: grid; gap: 14px; max-width: 64ch; }
.legal-item h3 { font-size: 1.375rem; font-weight: 650; letter-spacing: -0.02em; line-height: 1.3; }
.legal-item p, .legal-item .rich { color: var(--ink-2); overflow-wrap: anywhere; }
.legal-item > p { white-space: pre-line; }
.rich { display: grid; gap: 14px; }
.rich ul, .rich ol { display: grid; gap: 8px; padding-inline-start: 1.3em; }
.rich ul { list-style: disc; }
.rich ol { list-style: decimal; }
.rich li::marker { color: var(--muted); }
.rich li > ul { list-style: circle; margin-top: 8px; }
.legal-item a { color: var(--ink); }
@media (max-width: 900px) {
  .legal { grid-template-columns: 1fr; }
  .legal__toc { position: static; }
}

.del-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.del-steps > div {
  padding: clamp(28px, 3vw, 44px);
  border-radius: 28px;
  background: var(--surface);
  display: grid;
  gap: 14px;
  align-content: start;
}
.del-steps > .del-steps__main { background: var(--accent-press); }
.del-steps > .del-steps__main .rich { color: #fff; }
.del-steps h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 1.875rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.1; }
.del-steps .rich { color: var(--ink-2); }
@media (max-width: 760px) {
  .del-steps { grid-template-columns: 1fr; }
}

/* Fußzeile */

.footer {
  margin-top: var(--section);
  padding-block: clamp(64px, 8vw, 120px) 32px;
  background: var(--surface);
}
.closing + .footer, .footer--flush { margin-top: 0; }
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px;
  align-items: start;
}
.footer__claim { font-size: var(--step-lead); line-height: 1.4; letter-spacing: -0.015em; color: var(--ink); max-width: 22ch; }
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
@media (min-width: 1000px) {
  .footer__top { grid-template-columns: minmax(0, 1fr) auto; }
  .footer__cols { grid-template-columns: repeat(3, auto); justify-content: end; column-gap: clamp(40px, 5vw, 88px); }
  .footer__cols a { white-space: nowrap; }
}
.footer__cols p { font-weight: 650; margin-bottom: 14px; }
.footer__cols ul { display: grid; gap: 8px; }
.footer__cols a { color: var(--ink-2); text-decoration: none; transition: color 160ms; }
@media (hover: hover) and (pointer: fine) { .footer__cols a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; } }
.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  margin-top: clamp(56px, 7vw, 96px);
  font-size: var(--step-small);
  color: var(--ink-2);
}
@media (max-width: 860px) {
  .footer__top { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__cols > div:last-child { grid-column: 1 / -1; }
  .footer { padding-bottom: 88px; }
  .footer__bottom { flex-direction: column; gap: 6px; }
}

/* Nach-oben-Knopf */

.to-top {
  position: fixed;
  inset-inline-end: 20px;
  bottom: 20px;
  z-index: 40;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 200ms, transform 220ms var(--ease-out), background-color 160ms;
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.45);
}
.to-top.visible { opacity: 1; pointer-events: auto; transform: none; }
.to-top.visible:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) { .to-top:hover { background: #3E4C63; } }
.to-top svg { width: 20px; height: 20px; }

/* Cookie-Hinweis (erscheint nur, wenn Analyse eingerichtet ist) */

.cookie-banner {
  position: fixed;
  inset-inline: 16px;
  bottom: 16px;
  z-index: 90;
  max-width: 560px;
  padding: 24px;
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.6);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 240ms, transform 300ms var(--ease-out);
}
.cookie-banner.show { opacity: 1; transform: none; }
.cookie-banner-title { font-size: 1.125rem; font-weight: 650; margin-bottom: 8px; }
.cookie-banner-description { color: var(--ink-2); font-size: 0.9375rem; }
.cookie-banner-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.cookie-banner-btn, .cookie-settings-btn {
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--surface-2);
  font-weight: 600;
  cursor: pointer;
}
.cookie-banner-btn-accept, .cookie-settings-btn-save { background: var(--accent); color: #fff; }
.cookie-settings-modal {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: none;
  place-items: center;
  padding: 16px;
  background: rgba(2, 6, 23, 0.7);
}
.cookie-settings-modal.show { display: grid; }
.cookie-settings-content {
  width: min(520px, 100%);
  padding: 28px;
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.6);
  display: grid;
  gap: 16px;
}
.cookie-settings-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.cookie-settings-title { font-size: 1.25rem; font-weight: 650; }
.cookie-settings-close {
  width: 40px; height: 40px; border: 0; border-radius: 999px;
  background: var(--surface-2); cursor: pointer; font-size: 1.25rem; line-height: 1;
}
.cookie-settings-description, .cookie-settings-group-description { color: var(--ink-2); font-size: 0.9375rem; }
.cookie-settings-group { padding: 16px; border-radius: 16px; background: var(--bg); display: grid; gap: 8px; }
.cookie-settings-group-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.cookie-settings-group-title { font-size: 1rem; font-weight: 600; }
.cookie-settings-toggle {
  width: 52px; height: 30px; border-radius: 999px; background: var(--surface-2);
  position: relative; cursor: pointer; flex: none;
}
.cookie-settings-toggle-slider {
  position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%;
  background: #fff; transition: transform 200ms var(--ease-out);
}
.cookie-settings-toggle.active { background: var(--accent); }
.cookie-settings-toggle.active .cookie-settings-toggle-slider { transform: translateX(22px); }
.cookie-settings-actions { display: flex; justify-content: flex-end; gap: 8px; }

/* Einblenden beim Scrollen: nur mit Skript, Inhalt bleibt ohne Skript sichtbar */

.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 380ms var(--ease-out), transform 440ms var(--ease-out);
  transition-delay: calc(var(--d, 0ms) * 0.5);
}
.js .reveal.in { opacity: 1; transform: none; }

.mask-line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.mask-line > span { display: block; }
.js .mask-line > span { transform: translateY(105%); transition: transform 620ms var(--ease-out); transition-delay: calc(var(--d, 0ms) * 0.6); }
.js.loaded .mask-line > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .mask-line > span { transform: none; transition: none; }
  .ticket__bump.bump { animation: none; }
  .lang__menu, .nav__links, .to-top, .cookie-banner, .owner__item.leaving { transform: none !important; }
  .btn svg, .btn:active, .owner__call:active, .round-btn:active, .owner__reset:active, .to-top.visible:active { transform: none !important; }
}
