/* =====================================================================
   Loubegaffer — Marketing website styles.
   Layers on top of colors_and_type.css. Mobile-first, dark, amber accent.
   "A lantern in the dark": cold slate field, one warm light.
   ===================================================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--size-lg);
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Density tweak hook (set by Tweaks panel) — Baseline „Luftig" */
:root {
  --density: 1.25;
}

img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
}
.section {
  scroll-margin-top: 84px;
}

/* ---- Layout primitives --------------------------------------------- */
.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: calc(48px * var(--density)) 0;
  position: relative;
}
.section--tight {
  padding: calc(36px * var(--density)) 0;
}
.section--surface {
  background: var(--bg-surface);
}

@media (min-width: 768px) {
  .section {
    padding: calc(72px * var(--density)) 0;
  }
  .wrap {
    padding: 0 40px;
  }
}

/* ---- Type helpers --------------------------------------------------- */
.display {
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-size: clamp(38px, 8.5vw, 84px);
  margin: 0;
  text-wrap: balance;
}
.h2 {
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-size: clamp(28px, 4.6vw, 44px);
  margin: 0;
  text-wrap: balance;
}
#warum .h2 {
  white-space: nowrap;
}
@media (max-width: 600px) {
  #warum .h2 {
    white-space: nowrap;
    font-size: 5.5vw;
  }
}

.h3 {
  font-family: var(--font-heading);
  font-weight: var(--weight-medium);
  font-size: clamp(20px, 2.6vw, 24px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0;
}
.lead {
  font-size: clamp(17px, 2.2vw, 21px);
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0;
  max-width: 56ch;
  text-wrap: pretty;
}
.body {
  font-size: var(--size-lg);
  line-height: var(--leading-body);
  color: var(--text-secondary);
  margin: 0;
  text-wrap: pretty;
}
.overline {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: var(--weight-bold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.overline::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--accent);
  opacity: 0.7;
}
.muted {
  color: var(--text-secondary);
}
.accent {
  color: var(--accent);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 30px;
  max-width: 60ch;
}
.section-head--center {
  align-items: center;
  text-align: center;
  max-width: 62ch;
  margin-left: auto;
  margin-right: auto;
}
.section-head--center .lead {
  margin-left: auto;
  margin-right: auto;
}
.contact-embed {
  max-width: 896px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-embed .email-reveal {
  align-self: center;
}

/* =====================================================================
   MOBILE-VERDICHTUNG — weniger Scrollen auf dem Handy
   ===================================================================== */
@media (max-width: 640px) {
  .section {
    padding: 34px 0;
  }
  .section-head {
    margin-bottom: 20px;
    gap: 8px;
  }

  /* Hero kürzer + weniger Polster */
  .hero {
    min-height: 82svh;
  }
  .hero-content {
    padding-top: 88px;
    padding-bottom: 44px;
  }
  .hero-content .display {
    margin-top: 16px;
  }
  .hero-content .lead {
    margin-top: 14px;
  }
  .hero-cta-row {
    margin-top: 22px;
  }

  /* Feature-Kacheln + Steps → kompakte Zeilen (Icon links, Text rechts) */
  .cards3,
  .steps {
    gap: 10px;
  }
  .fcard,
  .step {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 16px;
    align-items: start;
    padding: 16px 18px;
  }
  .fcard .ficon,
  .step .step-num {
    grid-row: span 2;
    align-self: start;
  }
  .fcard .ficon {
    width: 44px;
    height: 44px;
  }
  .fcard .ficon svg {
    width: 22px;
    height: 22px;
  }
  /* Icons auf dem Handy ausblenden → Text nutzt volle Breite, weniger Scrollen */
  .cards3 .fcard {
    grid-template-columns: 1fr;
    column-gap: 0;
  }
  .cards3 .fcard .ficon {
    display: none;
  }
  .fcard .h3,
  .step .h3 {
    margin-top: 0;
    align-self: center;
  }
  .fcard .body,
  .step .body {
    margin-top: 4px;
  }
  .step:not(:last-child)::after {
    display: none;
  }

  /* Zielgruppen-Zeilen enger */
  .aud--rows {
    gap: 10px;
  }
  .acard--row {
    padding: 15px 18px;
    column-gap: 16px;
  }
  .acard--row .aicon {
    width: 46px;
    height: 46px;
  }

  /* Featured-Route: langen Text aus, Eckdaten kompakt */
  .rfeature-text {
    display: none;
  }
  .rfeature-hook {
    margin-top: 8px;
  }
  .rfeature-specs {
    gap: 10px 22px;
    margin-top: 16px;
  }
  .rfeature-foot {
    padding-top: 18px;
  }
  .rfeature-title {
    margin-top: 8px;
  }

  /* Über Sämi: Foto flacher, Abstände enger */
  .about {
    gap: 20px;
  }
  .about-photo img,
  .about-photo image-slot {
    aspect-ratio: 1 / 1;
  }
  .about-text .display {
    margin-top: 12px;
  }
  .about-quote {
    margin-top: 14px;
  }
  .about-sign {
    margin-top: 16px;
  }

  /* App / Kontakt enger */
  .appdl-inner {
    gap: 16px;
  }
  .footer {
    padding: 30px 0 26px;
  }
}

/* ---- Buttons -------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: var(--weight-bold);
  font-size: 15px;
  line-height: 1;
  padding: 15px 24px;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform var(--dur-fast) var(--ease-standard),
    background var(--dur-base),
    filter var(--dur-base),
    border-color var(--dur-base);
  white-space: nowrap;
}
.btn:active {
  transform: scale(0.97);
}
.btn svg {
  width: 18px;
  height: 18px;
}
.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: var(--shadow-accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
}
.btn-secondary {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border-color: var(--border);
}
.btn-secondary:hover {
  border-color: #475569;
  background: #243140;
}
.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn-lg {
  padding: 18px 32px;
  font-size: 16px;
}
.btn-block {
  width: 100%;
}

/* ---- Top navigation ------------------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition:
    background var(--dur-base),
    border-color var(--dur-base),
    backdrop-filter var(--dur-base);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(20, 27, 35, 0.78);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
@media (min-width: 768px) {
  .nav-inner {
    padding: 0 40px;
    height: 76px;
  }
}

.wordmark {
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  font-size: 21px;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  display: inline-flex;
  align-items: baseline;
}
.wordmark .dot {
  color: var(--accent);
}

.nav-links {
  display: none;
  gap: 4px;
  align-items: center;
}
.nav-links a {
  font-size: 14px;
  font-weight: var(--weight-medium);
  color: var(--text-secondary);
  padding: 9px 14px;
  border-radius: var(--radius-md);
  transition:
    color var(--dur-fast),
    background var(--dur-fast);
}
.nav-links a:hover {
  color: var(--text-primary);
  background: var(--bg-surface);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
@media (min-width: 900px) {
  .nav-links {
    display: flex;
  }
}

.nav-burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-primary);
  cursor: pointer;
}
.nav-burger svg {
  width: 22px;
  height: 22px;
}
@media (min-width: 900px) {
  .nav-burger {
    display: none;
  }
}
.nav .btn-primary.nav-cta {
  display: inline-flex;
}
/* Routenseite: „Alle Routen" immer sichtbar */
.nav .nav-cta--back {
  display: inline-flex;
}
/* Mobile: Nav-CTA kompakter, damit er neben dem Wortzeichen passt */
.nav-cta-slot .cta-short {
  display: none;
}
@media (max-width: 480px) {
  .nav-cta-slot .nav-cta {
    padding: 8px 12px;
    font-size: 13px;
  }
  .nav-inner {
    gap: 10px;
  }
  .nav-cta-slot .cta-full {
    display: none;
  }
  .nav-cta-slot .cta-short {
    display: inline;
  }
}

/* Nav-CTA spiegelt das Hero-CTA — erscheint erst, wenn das Original hinter der Kopfzeile verschwindet */
.nav-cta-slot {
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition:
    opacity var(--dur-base) var(--ease-out),
    transform var(--dur-base) var(--ease-out);
}
.nav-cta-slot.show {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.nav-cta-slot .nav-cta {
  box-shadow: none;
  padding: 9px 16px;
  font-size: 14px;
}

/* ---- Mobile menu ---------------------------------------------------- */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg-base);
  flex-direction: column;
  padding: 24px;
  transform: translateY(-100%);
  transition: transform var(--dur-slow) var(--ease-out);
  visibility: hidden;
}
.mobile-menu.open {
  transform: translateY(0);
  visibility: visible;
}
.mobile-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 44px;
}
.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 48px;
}
.mobile-menu-links a {
  font-family: var(--font-heading);
  font-weight: var(--weight-medium);
  font-size: 30px;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-menu-links a .num {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--accent);
  margin-right: 14px;
  font-weight: 700;
  vertical-align: middle;
}
.mobile-menu-foot {
  margin-top: auto;
}

/* ---- Hero ----------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 90%,
    rgba(0, 0, 0, 0.4) 96%,
    transparent 100%
  );
  mask-image: linear-gradient(to bottom, #000 90%, rgba(0, 0, 0, 0.4) 96%, transparent 100%);
}
.hero-media image-slot {
  width: 100%;
  height: 100%;
}
.hero-media img,
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.86) brightness(0.8) contrast(1.03);
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(20, 27, 35, 0) 0%,
    rgba(20, 27, 35, 0.26) 44%,
    rgba(20, 27, 35, 0.12) 72%,
    rgba(20, 27, 35, 0.55) 100%
  );
}
.hero-glow {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 120vw);
  height: 620px;
  background: radial-gradient(closest-side, rgba(245, 158, 11, 0.18), rgba(245, 158, 11, 0) 72%);
}
.hero-underglow {
  display: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: clamp(72px, 13vh, 130px);
  padding-top: 128px;
}
.hero-content .overline {
  align-self: center;
}
.hero-content .display {
  margin-top: 22px;
  max-width: 18ch;
}
.hero-content .lead {
  margin-top: 22px;
  margin-left: auto;
  margin-right: auto;
  max-width: 54ch;
  color: var(--text-primary);
  opacity: 0.92;
}
.hero-cta-row {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: center;
}
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero-scroll svg {
  width: 18px;
  height: 18px;
  animation: bob 2.4s var(--ease-out) infinite;
}
@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}

/* placeholder caption that lives inside image-slot empty state styling */
.placeholder-tag {
  position: absolute;
  z-index: 2;
  left: 16px;
  bottom: 16px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: rgba(20, 27, 35, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 6px 12px;
  backdrop-filter: blur(6px);
}

/* ---- Steps (Wie funktionierts) → verbundene Spur ------------------- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  position: relative;
}
@media (min-width: 760px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
}
.step {
  position: relative;
  padding: 30px 26px 28px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition:
    border-color var(--dur-base),
    transform var(--dur-base);
}
.step:hover {
  border-color: #475569;
  transform: translateY(-3px);
}
/* gestrichelte Spur-Brücke in der Lücke zwischen den Knoten (Desktop) */
.step:not(:last-child)::after {
  content: '';
  display: none;
  position: absolute;
  top: 53px;
  right: -31px;
  width: 32px;
  border-top: 2px dashed rgba(245, 158, 11, 0.42);
  z-index: 0;
}
@media (min-width: 760px) {
  .step:not(:last-child)::after {
    display: block;
  }
}
.step-num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(245, 158, 11, 0.45);
  background: var(--bg-elevated);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.12);
}
.step .h3 {
  margin-top: 22px;
}
.step .body {
  margin-top: 10px;
  font-size: 15px;
}
.step-line {
  display: none;
}

/* ---- Feature cards → asymmetrisches Bento --------------------------- */
.cards3,
.cards-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 760px) {
  .cards3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .cards-bento {
    grid-template-columns: 1.08fr 1fr;
    grid-auto-rows: 1fr;
    gap: 22px;
  }
  .cards-bento .fcard--lead {
    grid-row: span 2;
  }
}
.fcard {
  padding: 30px 26px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition:
    border-color var(--dur-base),
    transform var(--dur-base);
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 18px;
  align-items: center;
}
.fcard:hover {
  border-color: #475569;
  transform: translateY(-3px);
}
.fcard .ficon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--accent-soft);
  border: 1px solid rgba(245, 158, 11, 0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  grid-row: span 2;
  align-self: start;
}
.fcard .ficon svg {
  width: 26px;
  height: 26px;
}
.fcard .h3 {
  margin-top: 0;
  align-self: center;
}
.fcard .body {
  margin-top: 10px;
  font-size: 16.5px;
}
/* Leitkarte: größer, mit Lichtschein, Inhalt oben/unten verteilt */
.fcard--lead {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  min-height: 264px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(168deg, #1d2937 0%, var(--bg-surface) 58%);
}
.fcard--lead::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -40px;
  width: 220px;
  height: 220px;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(245, 158, 11, 0.16), transparent 72%);
}
.fcard--lead .ficon {
  width: 60px;
  height: 60px;
}
.fcard--lead .ficon svg {
  width: 30px;
  height: 30px;
}
.fcard--lead .h3 {
  margin-top: 0;
  font-size: clamp(24px, 3vw, 31px);
}
.fcard--lead .body {
  font-size: 16px;
  max-width: 32ch;
}
.fcard--lead .lead-text {
  position: relative;
}

/* ---- Route cards ---------------------------------------------------- */
.routes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 720px) {
  .routes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.rcard {
  display: flex;
  flex-direction: column;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition:
    border-color var(--dur-base),
    transform var(--dur-base);
}
.rcard:hover {
  border-color: #475569;
  transform: translateY(-3px);
}
.rcard-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--bg-elevated);
}
.rcard-media image-slot {
  width: 100%;
  height: 100%;
}
.rcard-media .media-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(22, 31, 44, 0.85), rgba(22, 31, 44, 0) 55%);
}
.rcard-tags {
  position: absolute;
  left: 14px;
  bottom: 12px;
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  z-index: 2;
}
.tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 5px 11px;
  border-radius: var(--radius-full);
  background: rgba(20, 27, 35, 0.7);
  border: 1px solid var(--border);
  color: var(--text-primary);
  backdrop-filter: blur(6px);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.tag--night {
  background: rgba(245, 158, 11, 0.16);
  border-color: rgba(245, 158, 11, 0.4);
  color: var(--accent);
}
.tag svg {
  width: 13px;
  height: 13px;
}
.rcard-alert {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  background: var(--danger);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}
.rcard-alert svg {
  width: 18px;
  height: 18px;
}
.rcard-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.rcard-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.rcard-hook {
  margin-top: 10px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
  flex: 1;
}

.rcard-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 20px;
  margin-top: 16px;
}
.meta-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.meta-item .m-label {
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.meta-item .m-val {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* difficulty meter */
.diff {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}
.diff i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--border);
  display: inline-block;
}
.diff i.on {
  background: var(--accent);
}

/* difficulty as padlocks */
.diff-locks {
  display: inline-flex;
  gap: 5px;
  align-items: center;
}
.diff-locks svg {
  width: 16px;
  height: 16px;
}
.diff-locks svg:not(.on) {
  color: var(--text-primary);
}
.diff-locks svg.on {
  color: var(--accent);
}

/* logistics badges */
.logi {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.logi .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-secondary);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 6px 10px;
  border-radius: var(--radius-full);
}
.logi .badge svg {
  width: 14px;
  height: 14px;
  color: var(--text-secondary);
}

.rcard-foot {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.rcard-price {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 24px;
  color: var(--text-primary);
}
.rcard-price small {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  display: block;
  letter-spacing: 0.04em;
}
.rcard-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
}
.rcard-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--dur-base);
}
.rcard:hover .rcard-link svg {
  transform: translateX(3px);
}

/* ---- Single featured route (only one route yet) ------------------- */
.routes-grid--single {
  display: block;
}
.rfeature {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
@media (min-width: 860px) {
  .rfeature {
    grid-template-columns: 1.02fr 1fr;
  }
}
.rfeature-media {
  position: relative;
  display: block;
  background: var(--bg-elevated);
  min-height: 280px;
}
@media (max-width: 859px) {
  .rfeature-media {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }
}
.rfeature-media image-slot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.rfeature-media .media-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(22, 31, 44, 0.85), rgba(22, 31, 44, 0) 55%);
}
.rfeature-body {
  padding: 34px 34px 30px;
  display: flex;
  flex-direction: column;
}
@media (max-width: 520px) {
  .rfeature-body {
    padding: 26px 24px 26px;
  }
}
.rfeature-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(26px, 3.2vw, 34px);
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 12px 0 0;
}
.rfeature-hook {
  margin-top: 12px;
  font-size: clamp(16px, 2vw, 18px);
  color: var(--text-primary);
  line-height: 1.5;
  text-wrap: pretty;
}
.rfeature-text {
  margin-top: 14px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
  text-wrap: pretty;
}
.rfeature-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 30px;
  margin-top: 26px;
}
.rfeature-foot {
  margin-top: auto;
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.meta-item .m-val svg {
  width: 15px;
  height: 15px;
}

/* =====================================================================
   KOMPAKT-LAYOUT — route-fokussierte, dichte Startseite
   ===================================================================== */
/* Hero kompakt + USP-Punktzeile (gefaltet aus „Das macht besonders") */
.hero--compact {
  min-height: 72svh;
  overflow: visible;
}
.hero--compact .hero-content {
  padding-top: 96px;
  padding-bottom: 56px;
}
.hero-points {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: center;
}
.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}
.hero-points svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex: none;
}

/* Route-Verkaufssektion */
.route-sell {
  background: var(--bg-elevated);
}
.route-sell .sell-head {
  text-align: center;
  margin: 0 auto 22px;
  max-width: none;
  position: relative;
  top: -25px;
}
.rsell {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 880px;
  margin: 0 auto;
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    var(--shadow-md),
    0 0 29px 0 rgba(245, 158, 11, 1);
}
/* Live: ganze Kachel klickbar via stretched link */
.rsell-stretch {
  position: absolute;
  inset: 0;
  z-index: 1;
}
[data-launch='live'] .rsell {
  transition: box-shadow var(--dur-base) var(--ease-out);
}
[data-launch='live'] .rsell:hover {
  box-shadow:
    var(--shadow-lg),
    0 0 36px 0 rgba(245, 158, 11, 1);
}
/* interaktive Inhalte über dem Stretch-Link halten */
.rsell-media,
.rsell-foot {
  position: relative;
  z-index: 2;
}
@media (min-width: 720px) {
  .rsell {
    grid-template-columns: 300px 1fr;
  }
}
.rsell-media {
  position: relative;
  display: block;
  background: var(--bg-elevated);
  aspect-ratio: 16 / 10;
}
@media (min-width: 720px) {
  .rsell-media {
    aspect-ratio: auto;
  }
}
.rsell-media image-slot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.rsell-media .media-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(22, 31, 44, 0.8), rgba(22, 31, 44, 0) 55%);
}
.rsell-body {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rsell-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 23px;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.rsell-hook {
  font-size: 16.5px;
  color: var(--text-secondary);
  line-height: 1.5;
  text-wrap: pretty;
}
.rsell-specs {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 12px;
  width: 100%;
  /* Rand-Toleranz: bei space-between klebt das rechte Item ("1–5") sonst
     bündig auf der Inhaltskante und wird vom overflow:hidden der Karte
     abgeschnitten, sobald der Viewport minimal schmaler / die Systemschrift
     breiter ist (echte Geräte). 8px Einrückung gibt Spielraum; flex-wrap ist
     nur ein Sicherheitsnetz für extrem schmale Screens. */
  padding-inline: 8px;
  font-size: 13.5px;
  color: var(--text-secondary);
}
.rsell-specs .s {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.rsell-specs svg {
  width: 15px;
  height: 15px;
  color: var(--accent);
}
.rsell-foot {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* Mini-Stepper (Wie funktionierts, kompakt gefaltet) */
.ministeps {
  list-style: none;
  margin: 38px auto 0;
  padding: 0;
  max-width: 880px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: center;
}
.ministeps li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 16.5px;
  color: var(--text-secondary);
}
.ministeps li span {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 12px;
  flex: none;
}

/* Für wen — eine Zeile Chips */
.aud-line {
  padding: 33px 0;
  position: relative;
}
.aud-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}
.aud-chips .lbl {
  font-size: 16.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-right: 4px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--text-primary);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 8px 14px;
}
.chip svg {
  width: 15px;
  height: 15px;
  color: var(--accent);
}

/* Sämi kompakt, immer quadratisches Foto */
.sami {
  background: var(--bg-elevated);
}
.sami-row {
  display: flex;
  align-items: center;
  gap: 22px;
  max-width: 720px;
  margin: 0 auto;
}
.sami-photo {
  width: 243px;
  height: 243px;
  flex: none;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.sami-text h2 {
  margin: 0 0 6px;
}
.sami-text p {
  margin: 0;
  font-size: 16.5px;
  color: var(--text-secondary);
  line-height: 1.55;
  text-wrap: pretty;
}
.sami-text .accent {
  color: var(--accent);
}
@media (max-width: 520px) {
  .sami-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
  }
  .sami-photo {
    width: 189px;
    height: 189px;
  }
}

/* Tester inline */
.tester-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
}
.tester-wrap .body {
  text-align: center;
}
.tester-inline {
  display: flex;
  gap: 10px;
  width: 100%;
}
.tester-inline input {
  flex: 1;
}
.tester-inline .btn {
  white-space: nowrap;
}
@media (max-width: 440px) {
  .tester-inline {
    flex-direction: column;
  }
}

/* Kontakt eingeklappt, bis „Kontakt" geklickt wird */
#kontakt {
  background: var(--bg-base);
}
#kontakt.kontakt-collapsed {
  display: none;
}

/* Rechtliches (Impressum / Datenschutz) eingeklappt, bis verlinkt */
.legal-collapsed {
  display: none;
}
.legal-compact {
  padding-top: 18px;
  padding-bottom: 18px;
}
.legal-compact .legal {
  padding: 0;
}
.legal-compact .legal h2 {
  margin: 0 0 8px;
  padding-top: 0;
  border-top: none;
}
.legal-compact .legal p {
  margin: 0;
}
.legal-compact .email-reveal {
  margin-top: 12px;
}
@media (min-width: 768px) {
  .legal-compact {
    padding-top: 44px;
    padding-bottom: 44px;
  }
}
.section .legal {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.section .legal h3 {
  font-family: var(--font-heading);
  margin-top: 28px;
}

/* ---- Audience cards ------------------------------------------------- */
.aud {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 760px) {
  .aud {
    grid-template-columns: repeat(3, 1fr);
  }
}
.acard {
  padding: 28px 26px 30px;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.acard .aicon {
  color: var(--accent);
}
.acard .aicon svg {
  width: 28px;
  height: 28px;
}
.acard .h3 {
  margin-top: 18px;
  font-size: 21px;
}
.acard .quote {
  margin-top: 10px;
  font-size: 15px;
  color: var(--text-secondary);
  font-style: italic;
}

/* ---- Audience → horizontale Zeilen (eigener Rhythmus) -------------- */
.aud--rows {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.acard--row {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 22px 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  transition:
    border-color var(--dur-base),
    transform var(--dur-base);
}
.acard--row:hover {
  border-color: #475569;
  transform: translateX(5px);
}
.acard--row .aicon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-full);
  background: var(--accent-soft);
  border: 1px solid rgba(245, 158, 11, 0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.acard--row .aicon svg {
  width: 26px;
  height: 26px;
}
.acard--row .arow-text .h3 {
  margin: 0;
  font-size: 21px;
}
.acard--row .arow-text .quote {
  margin-top: 6px;
  font-size: 15px;
  color: var(--text-secondary);
  font-style: italic;
}
.acard--row .anum {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 42px;
  color: var(--border);
  line-height: 1;
  letter-spacing: -0.03em;
  transition: color var(--dur-base);
}
.acard--row:hover .anum {
  color: rgba(245, 158, 11, 0.5);
}
@media (max-width: 620px) {
  .acard--row {
    grid-template-columns: 50px 1fr;
    gap: 18px;
    padding: 20px 22px;
  }
  .acard--row .aicon {
    width: 50px;
    height: 50px;
  }
  .acard--row .anum {
    display: none;
  }
}

/* ---- FAQ (native details accordion) ------------------------------- */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--dur-base) var(--ease-out);
}
.faq-item[open] {
  border-color: rgba(245, 158, 11, 0.4);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.3;
  color: var(--text-primary);
  transition: color var(--dur-fast);
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: '';
  flex: none;
  width: 11px;
  height: 11px;
  margin-left: auto;
  border-right: 2px solid var(--text-secondary);
  border-bottom: 2px solid var(--text-secondary);
  transform: rotate(45deg);
  transition:
    transform var(--dur-base) var(--ease-out),
    border-color var(--dur-fast);
}
.faq-item[open] summary::after {
  transform: rotate(-135deg);
  border-color: var(--accent);
}
.faq-item summary:hover {
  color: var(--accent);
}
.faq-item summary:hover::after {
  border-color: var(--accent);
}
.faq-item summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}
.faq-a {
  padding: 0 20px 20px;
}
.faq-a p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 15.5px;
  line-height: var(--leading-body);
  max-width: none;
}
@media (prefers-reduced-motion: no-preference) {
  .faq-item[open] .faq-a {
    animation: faqReveal var(--dur-base) var(--ease-out);
  }
}
@keyframes faqReveal {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---- Gestaffeltes Einschweben innerhalb von Gruppen --------------- */
.steps .reveal:nth-child(2),
.cards-bento .reveal:nth-child(2),
.aud--rows .reveal:nth-child(2) {
  transition-delay: 0.09s;
}
.steps .reveal:nth-child(3),
.cards-bento .reveal:nth-child(3),
.aud--rows .reveal:nth-child(3) {
  transition-delay: 0.18s;
}

/* ---- Über Sämi ------------------------------------------------------ */
.about {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}
@media (min-width: 860px) {
  .about {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 56px;
  }
}
.about-photo {
  position: relative;
}
.about-photo image-slot {
  width: 100%;
  aspect-ratio: 4 / 5;
}
.about-photo img,
.about-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
  filter: saturate(0.94) contrast(1.02);
}
.about-photo .ph-ring {
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  pointer-events: none;
  box-shadow: inset 0 0 0 1px var(--border);
}
.about-text .display {
  font-size: clamp(26px, 4vw, 38px);
  margin-top: 18px;
}
.about-quote {
  margin-top: 24px;
  font-size: clamp(18px, 2.4vw, 22px);
  line-height: 1.55;
  color: var(--text-primary);
  text-wrap: pretty;
}
.about-quote .accent {
  font-style: normal;
}
.about-sign {
  margin-top: 22px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  color: var(--text-primary);
}
.about-sign small {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  margin-top: 2px;
}

/* ---- App download --------------------------------------------------- */
.appdl {
  text-align: center;
  background: var(--bg-elevated);
}
.appdl-inner {
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.appdl .appicon {
  width: 92px;
  height: 92px;
  border-radius: 21px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  object-fit: cover;
  margin-bottom: 2px;
}
.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* store badge (official-style placeholder) */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #000;
  border: 1px solid #3a3a3a;
  border-radius: 11px;
  padding: 10px 18px;
  min-width: 188px;
  cursor: pointer;
  transition: border-color var(--dur-base);
}
.store-badge:hover {
  border-color: #666;
}
.store-badge svg.glyph {
  width: 28px;
  height: 28px;
  flex: none;
}
.store-badge .sb-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: left;
  color: #fff;
}
.store-badge .sb-small {
  font-size: 10px;
  letter-spacing: 0.02em;
}
.store-badge .sb-big {
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* pre-launch tester chip note */
.prelaunch-note {
  font-size: 13px;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.prelaunch-note svg {
  width: 15px;
  height: 15px;
  color: var(--accent);
}

/* show/hide store vs tester depending on tweak */
[data-launch='pre'] .when-live {
  display: none !important;
}
[data-launch='live'] .when-pre {
  display: none !important;
}

/* ---- Footer --------------------------------------------------------- */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 14px 0 12px;
  position: relative;
}
.footer-glow {
  display: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: 1.8fr 1fr;
    gap: 48px;
  }
}
.footer .tagline {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(20px, 3vw, 26px);
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--text-primary);
  max-width: 22ch;
  margin-top: 18px;
}
.footer-col h4 {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-weight: 700;
  margin: 0 0 16px;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-col a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color var(--dur-fast);
}
.footer-col a:hover {
  color: var(--accent);
}
.footer-store {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.footer-store .store-badge {
  transform: scale(0.86);
  transform-origin: left center;
  min-width: 170px;
}
.footer-bottom {
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: center;
}
.footer-bottom .copy {
  order: 2;
  text-align: center;
  font-size: 14.5px;
  color: var(--text-secondary);
}
.footer-bottom .links {
  order: 1;
  display: flex;
  width: 100%;
  flex: initial;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-bottom .links a {
  font-size: 14.5px;
  color: var(--text-secondary);
}
.footer-bottom .links a:hover {
  color: var(--text-primary);
}

/* ---- Reveal on scroll ---------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-scroll svg {
    animation: none;
  }
}

/* ---- Forms ---------------------------------------------------------- */
.tester-form,
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.field-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: -4px;
}
input[type='text'],
input[type='email'],
textarea {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-primary);
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  width: 100%;
  line-height: 1.4;
  resize: vertical;
  transition:
    border-color var(--dur-fast),
    box-shadow var(--dur-fast);
}
.section--surface input,
.section--surface textarea {
  background: var(--bg-base);
}
input::placeholder,
textarea::placeholder {
  color: var(--text-secondary);
}
input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-note {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.45;
  margin: 2px 0 0;
}
.form-note.warn {
  color: var(--text-secondary);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.form-note.warn svg {
  width: 15px;
  height: 15px;
  flex: none;
  color: var(--text-secondary);
  margin-top: 2px;
}
.check-row {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  cursor: pointer;
  padding: 4px 0;
}
.check-row input {
  width: 20px;
  height: 20px;
  flex: none;
  margin: 1px 0 0;
  accent-color: var(--accent);
  cursor: pointer;
}
.check-row span {
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.4;
}
.form-ok {
  display: none;
  align-items: center;
  gap: 10px;
  background: var(--accent-soft);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: var(--text-primary);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-size: 14px;
}
.form-ok svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex: none;
}

/* ===================================================================
   ROUTE DETAIL PAGE
   =================================================================== */
.subpage {
  padding-top: 76px;
}
.sticky-footer-body {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
}
.sticky-footer-body .subpage {
  flex: 1 0 auto;
}
.crumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 20px 0;
  transition: color var(--dur-fast);
}
.crumb:hover {
  color: var(--text-primary);
}
.crumb svg {
  width: 16px;
  height: 16px;
}

.route-hero {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  max-height: 460px;
}
.route-hero image-slot {
  width: 100%;
  height: 100%;
}
.route-hero .media-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(20, 27, 35, 0.92), rgba(20, 27, 35, 0.1) 60%);
}
.route-hero .rh-tags {
  position: absolute;
  left: 18px;
  bottom: 18px;
  right: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  z-index: 2;
}

.route-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding: 36px 0 140px;
  align-items: start;
}
@media (min-width: 920px) {
  .route-layout {
    grid-template-columns: 1.5fr 1fr;
    gap: 56px;
    padding-bottom: 80px;
  }
}

.route-main .display {
  font-size: clamp(30px, 5vw, 50px);
  margin-top: 18px;
}
.route-lead {
  margin-top: 18px;
  font-size: clamp(17px, 2.2vw, 20px);
  line-height: 1.6;
  color: var(--text-primary);
  text-wrap: pretty;
}
.route-body-text {
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  text-wrap: pretty;
}

.night-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  background: var(--accent-soft);
  border: 1px solid rgba(245, 158, 11, 0.32);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  color: var(--accent);
  font-weight: 600;
  font-size: 15px;
}
.night-banner svg {
  width: 20px;
  height: 20px;
  flex: none;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 32px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (min-width: 560px) {
  .spec-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.spec {
  background: var(--bg-surface);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.spec .s-icon {
  color: var(--accent);
}
.spec .s-icon svg {
  width: 20px;
  height: 20px;
}
.spec .s-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.spec .s-val {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.route-logi-block {
  margin-top: 30px;
}
.route-logi-block h4 {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-weight: 700;
  margin: 0 0 14px;
}

/* booking aside */
.book-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 26px 24px;
  position: sticky;
  top: 92px;
}
.book-card .price-big {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 40px;
  color: var(--text-primary);
  line-height: 1;
}
.book-card .price-sub {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 6px;
}
.book-card .book-rows {
  margin: 22px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.book-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
}
.book-row .br-l {
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.book-row .br-l svg {
  width: 16px;
  height: 16px;
  color: var(--text-secondary);
}
.book-row .br-r {
  color: var(--text-primary);
  font-weight: 600;
}
.pay-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-secondary);
  margin-top: 14px;
}
.pay-note svg {
  width: 15px;
  height: 15px;
}

/* danger / alert box */
.alert-box {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  margin-bottom: 18px;
  background: var(--danger-soft);
  border: 1px solid var(--danger);
  border-radius: var(--radius-md);
  padding: 15px 17px;
  color: var(--text-primary);
}
.alert-box svg {
  width: 20px;
  height: 20px;
  color: var(--danger);
  flex: none;
  margin-top: 1px;
}
.alert-box .ab-title {
  font-weight: 700;
  color: var(--danger);
  font-size: 14px;
  margin-bottom: 3px;
}
.alert-box p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-primary);
  margin: 0;
}

/* mobile sticky booking bar */
.book-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  background: rgba(22, 31, 44, 0.92);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
  padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.4);
}
.book-sticky .bs-price {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 24px;
  line-height: 1;
}
.book-sticky .bs-price small {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
}
.book-sticky .btn {
  flex: 1;
}
@media (min-width: 920px) {
  .book-sticky {
    display: none;
  }
}

/* ===================================================================
   SUCCESS / CODE PAGE
   =================================================================== */
.success-wrap {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 20px 60px;
}
.success-card {
  width: 100%;
  max-width: 540px;
}

.pending {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.spinner {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.pending .sub {
  color: var(--text-secondary);
  font-size: 15px;
  max-width: 34ch;
}

.success-head {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
}
.success-check {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid rgba(245, 158, 11, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.success-check svg {
  width: 30px;
  height: 30px;
}

.code-block {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  text-align: center;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.code-block::before {
  content: '';
  position: absolute;
  inset: -40% 20% auto 20%;
  height: 200px;
  background: radial-gradient(closest-side, rgba(245, 158, 11, 0.14), transparent 70%);
  pointer-events: none;
}
.code-block .cb-label {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-secondary);
  position: relative;
}
.code-block .cb-route {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 15px;
  color: var(--text-primary);
  margin-top: 4px;
  position: relative;
}
.code-value {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--accent);
  font-size: clamp(40px, 11vw, 62px);
  letter-spacing: 0.06em;
  line-height: 1.05;
  margin: 16px 0 4px;
  position: relative;
  text-shadow: 0 0 28px rgba(245, 158, 11, 0.3);
}
.code-block .cb-hint {
  font-size: 13px;
  color: var(--text-secondary);
  position: relative;
}

.code-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}
@media (max-width: 400px) {
  .code-actions {
    grid-template-columns: 1fr;
  }
}

.app-open-block {
  margin-top: 28px;
}
.app-open-block .aob-label {
  text-align: center;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}
.app-open-block .aob-label::before,
.app-open-block .aob-label::after {
  content: '';
  height: 1px;
  width: 36px;
  background: var(--border);
}

.store-row.center {
  justify-content: center;
}

.email-section {
  margin-top: 34px;
  border-top: 1px solid var(--border);
  padding-top: 28px;
}
.email-section .es-title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 18px;
  margin: 0 0 4px;
}
.email-section .es-sub {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 16px;
}
.checks {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 6px;
}
.closing-line {
  font-size: 12.5px;
  color: var(--text-secondary);
  margin-top: 12px;
}

/* ===================================================================
   IMPRESSUM PAGE
   =================================================================== */
.legal {
  max-width: 760px;
  padding: 100px 0 80px;
}
.legal h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(30px, 5vw, 44px);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.legal h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: 44px 0 14px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.legal h2:first-of-type {
  border-top: none;
  padding-top: 0;
}
.legal p,
.legal li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
}
.legal p {
  margin: 0 0 14px;
}
.legal strong {
  color: var(--text-primary);
  font-weight: 600;
}
.legal a {
  color: var(--accent);
}
.legal ul {
  margin: 0 0 14px;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.legal .lead-legal {
  font-size: 16px;
  color: var(--text-primary);
  margin-bottom: 28px;
}
.legal .legal-more {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.email-reveal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0 18px;
}
.email-reveal .em-val {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 17px;
  color: var(--text-primary);
}
.em-link {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: 15px;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  font-weight: 500;
}
.em-link:hover {
  color: var(--accent-hover);
}
.email-reveal svg {
  width: 16px;
  height: 16px;
}

.contact-block {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  margin-top: 20px;
}

/* ===================================================================
   TWEAKS PANEL (vanilla, host-protocol)
   =================================================================== */
.tweaks-panel {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 500;
  width: 300px;
  max-width: calc(100vw - 36px);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  font-family: var(--font-body);
  display: none;
  overflow: hidden;
}
.tweaks-panel.open {
  display: block;
  animation: fadeUp var(--dur-slow) var(--ease-out) both;
}
.tweaks-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}
.tweaks-head .t-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.tweaks-head button {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  padding: 4px;
  border-radius: var(--radius-sm);
}
.tweaks-head button:hover {
  color: var(--text-primary);
  background: var(--bg-surface);
}
.tweaks-head svg {
  width: 18px;
  height: 18px;
}
.tweaks-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-height: 70vh;
  overflow-y: auto;
}
.tw-group {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.tw-group > label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  text-transform: uppercase;
}
.tw-swatches {
  display: flex;
  gap: 8px;
}
.tw-swatch {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--dur-fast);
}
.tw-swatch:hover {
  transform: scale(1.08);
}
.tw-swatch.sel {
  border-color: var(--text-primary);
  box-shadow: 0 0 0 2px var(--bg-elevated);
}
.tw-seg {
  display: flex;
  gap: 4px;
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 4px;
}
.tw-seg button {
  flex: 1;
  border: none;
  background: none;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  padding: 8px 6px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition:
    background var(--dur-fast),
    color var(--dur-fast);
  white-space: nowrap;
}
.tw-seg button.sel {
  background: var(--accent);
  color: var(--on-accent);
}
/* Haupt-Schalter: Website-Version hervorheben */
.tw-group:first-child {
  padding-bottom: 16px;
  margin-bottom: 2px;
  border-bottom: 1px solid var(--border);
}
.tw-seg--phase {
  padding: 5px;
}
.tw-seg--phase button {
  padding: 10px 6px;
  font-size: 13px;
}
.tw-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.tw-toggle .tt-label {
  font-size: 13px;
  color: var(--text-primary);
  font-weight: 500;
}
.tw-switch {
  width: 44px;
  height: 26px;
  border-radius: 9999px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  position: relative;
  cursor: pointer;
  transition: background var(--dur-base);
  flex: none;
}
.tw-switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--text-secondary);
  transition:
    transform var(--dur-base),
    background var(--dur-base);
}
.tw-switch.on {
  background: var(--accent);
}
.tw-switch.on::after {
  transform: translateX(18px);
  background: var(--on-accent);
}

/* ===================================================================
   LAUNCH / ANMELDUNG PAGE
   =================================================================== */
.launch-body {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
.launch-page {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 76px 0 12px;
}
.launch-page > .wrap {
  display: flex;
  justify-content: center;
}
.launch-body .footer {
  padding: 12px 0 10px;
}
.launch-card {
  width: 100%;
  max-width: 540px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow:
    var(--shadow-md),
    0 0 29px 0 rgba(245, 158, 11, 1);
  padding: 28px 32px;
  position: relative;
  overflow: hidden;
}
.launch-card::before {
  content: '';
  position: absolute;
  inset: -40% 24% auto 24%;
  height: 220px;
  background: radial-gradient(closest-side, rgba(245, 158, 11, 0.13), transparent 72%);
  pointer-events: none;
}
.launch-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(28px, 5vw, 38px);
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0 0 16px;
  position: relative;
}
.launch-form {
  display: flex;
  flex-direction: column;
  gap: 13px;
  position: relative;
}
.launch-form input,
.launch-form textarea {
  resize: none;
}
.launch-opts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.launch-actions {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}
.launch-actions .btn {
  flex: 1;
}
@media (max-width: 440px) {
  .launch-actions {
    flex-direction: column;
  }
  .launch-card {
    padding: 34px 24px;
  }
}

/* destructive / warning button (Abmelden) */
.btn-danger {
  background: transparent;
  color: var(--danger);
  border-color: var(--danger);
}
.btn-danger:hover {
  background: var(--danger-soft);
  border-color: var(--danger-hover);
  color: var(--danger-hover);
}

/* grain overlay for atmosphere */
.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.06'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
