/* ============================================================
   redline-page.css — REDLINE (Plugin + Drumkit), @dinskibeatz × @stxrm808
   Bildsprache der Beatcon-Karte: Schwarz, rotes REDLINE, Tacho-Skala mit roter Zone.
   ============================================================ */
.page-redline {
  --rl-red: #ff2938;
  --rl-red-dim: rgba(255, 41, 56, 0.16);
  --rl-ink: #f2f0ec;
  --rl-muted: #a7a2a2;
  --rl-line: #2a2626;
  --rl-paper: #080808;
  background: var(--rl-paper);
  color: var(--rl-ink);
}

.page-redline .btn--fire { background: var(--rl-red); border-color: var(--rl-red); color: #080808; }
.page-redline .btn--fire:hover { background: #ff5260; }
.page-redline .btn--nav { background: var(--rl-red); border-color: var(--rl-red); color: #080808; }
.page-redline .bundles-sticky-cta { background: var(--rl-red); color: #080808; }
.page-redline [aria-disabled="true"] { opacity: .6; cursor: not-allowed; }

/* ---------- Skala wie auf der Karte ---------- */
.rl-scale { display: block; width: 100%; height: 34px; }
.rl-scale line { stroke: #5c5757; stroke-width: 2; }
.rl-scale line.is-red { stroke: var(--rl-red); }
.rl-scale .rl-scale__base { stroke: #5c5757; stroke-width: 1.5; }
.rl-scale .rl-scale__base.is-red { stroke: var(--rl-red); }

/* ---------- Hero ---------- */
.rl-hero {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: calc(var(--nav-h) + 48px) 0 72px;
  position: relative;
  overflow: hidden;
}
.rl-hero::after {               /* Gluehen der roten Zone, rechts unten */
  content: "";
  position: absolute;
  right: -20vw; bottom: -30vh;
  width: 70vw; height: 70vh;
  background: radial-gradient(closest-side, rgba(255, 41, 56, .16), transparent);
  pointer-events: none;
}
.rl-hero__inner { position: relative; z-index: 1; max-width: 1040px; }
.rl-hero__handles {
  font: 700 clamp(14px, 1.6vw, 17px)/1 var(--font-display);
  letter-spacing: -.01em;
  margin: 0 0 clamp(28px, 5vh, 48px);
}
.rl-hero__handles a { color: var(--rl-ink); text-decoration: none; }
.rl-hero__handles a:hover { color: var(--rl-red); }
.rl-hero__handles span { color: var(--rl-muted); margin: 0 .5em; }
.rl-hero__title {
  font: 700 clamp(72px, 17vw, 228px)/.86 var(--font-display);
  letter-spacing: -.035em;
  color: var(--rl-red);
  margin: 0 0 18px;
}
.rl-hero__scale { max-width: 980px; margin: 0 0 30px; }
.rl-hero__what {
  font: 700 clamp(15px, 2vw, 22px)/1.2 var(--font-display);
  letter-spacing: .32em;
  text-transform: uppercase;
  margin: 0 0 42px;
}
.rl-hero__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; }
.rl-price {
  font: 700 clamp(30px, 4vw, 44px)/1 var(--font-display);
  letter-spacing: -.03em;
}
.rl-hero__meta { color: var(--rl-muted); font-size: 13px; margin: 26px 0 0; letter-spacing: .02em; }

/* ---------- Abschnitte ---------- */
.rl-section { padding: clamp(80px, 12vh, 140px) 0; border-top: 1px solid var(--rl-line); }
.rl-tag {
  font: 700 12px/1 var(--font-display);
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--rl-red);
  margin: 0 0 18px;
}
.rl-heading {
  font: 700 clamp(34px, 5vw, 60px)/1 var(--font-display);
  letter-spacing: -.04em;
  margin: 0 0 22px;
}
.rl-lede { color: var(--rl-muted); font-size: 17px; line-height: 1.6; max-width: 34em; margin: 0 0 40px; }

/* ---------- Plugin ---------- */
.rl-plugin { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.rl-plugin__shot { margin: 0; position: relative; }
.rl-plugin__shot img {
  display: block; width: 100%; height: auto;
  border-radius: 6px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, .7), 0 0 0 1px #1d1a1a, 0 30px 90px rgba(255, 41, 56, .10);
}
.rl-plugin__shot figcaption { color: var(--rl-muted); font-size: 12px; margin-top: 14px; }

.rl-dash { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rl-line); }
.rl-dash li {
  display: grid;
  grid-template-columns: 11em 1fr;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rl-line);
}
.rl-dash__name { font: 700 13px/1.5 var(--font-display); letter-spacing: .2em; text-transform: uppercase; }
.rl-dash__name small { display: block; color: var(--rl-red); letter-spacing: .14em; font-size: 10px; margin-top: 3px; }
.rl-dash__text { color: var(--rl-muted); font-size: 15px; line-height: 1.55; }

.rl-presets { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.rl-presets li {
  font: 700 11px/1 var(--font-display);
  letter-spacing: .18em;
  text-transform: uppercase;
  border: 1px solid var(--rl-line);
  padding: 10px 12px;
  border-radius: 2px;
}
.rl-presets li:first-child { border-color: var(--rl-red); color: var(--rl-red); }

/* ---------- Drumkit ---------- */
.rl-kit__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--rl-line);
  border: 1px solid var(--rl-line);
  margin: 0;
}
.rl-kit__cell { background: var(--rl-paper); padding: 22px 20px 20px; }
.rl-kit__cell dt { color: var(--rl-muted); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 10px; }
.rl-kit__cell dd { margin: 0; font: 700 34px/1 var(--font-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.rl-kit__note { color: var(--rl-muted); font-size: 13px; margin: 18px 0 0; }

/* ---------- Specs + Abschluss ---------- */
.rl-specs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 40px; }
.rl-specs dl { margin: 0; border-top: 1px solid var(--rl-line); }
.rl-specs__row { display: grid; grid-template-columns: 9em 1fr; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--rl-line); }
.rl-specs__row dt { color: var(--rl-muted); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.rl-specs__row dd { margin: 0; font-size: 15px; }

.rl-cta { text-align: center; }
.rl-cta .rl-scale { max-width: 560px; margin: 0 auto 34px; }
.rl-cta__title { font: 700 clamp(48px, 9vw, 120px)/.9 var(--font-display); letter-spacing: -.035em; color: var(--rl-red); margin: 0 0 14px; }
.rl-cta__sub { color: var(--rl-muted); margin: 0 0 30px; }
.rl-cta .rl-hero__buy { justify-content: center; }
.rl-cta__fine { color: var(--rl-muted); font-size: 12px; margin: 26px 0 0; }

@media (max-width: 860px) {
  .rl-plugin, .rl-specs { grid-template-columns: 1fr; }
  .rl-plugin__shot { max-width: 420px; }
  .rl-kit__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rl-dash li { grid-template-columns: 1fr; gap: 6px; }
}
.rl-kit__buy { margin-top: 26px; }
.rl-kit__only { color: var(--rl-muted); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }

/* ---------- Bundle-Angebot (Luca 26.10.2026): Anker an jedem Bundle-Preis, Hinweis unter den Einzelpreisen ---------- */
.rl-anker {
  display: inline-flex; flex-direction: column; gap: 3px;
  color: var(--rl-muted); font-size: 14px; line-height: 1.3; letter-spacing: .02em; font-variant-numeric: tabular-nums;
}
.rl-anker__spar { color: var(--rl-ink); font-weight: 600; }
.page-redline .kit-hero__price, .rl-price { white-space: nowrap; }
.rl-cta .rl-anker { text-align: left; }
.rl-upsell { margin: 14px 0 0; }
.rl-upsell__knopf {
  display: inline-block;   /* Touch: system.css macht button zu inline-flex, dann fallen die Leerzeichen um den Preis weg */
  padding: 4px 0; border: 0; background: none; cursor: pointer;
  color: var(--rl-ink); font: 600 14px/1.4 var(--font-body); letter-spacing: .01em;
  text-decoration: underline; text-decoration-color: var(--rl-red); text-underline-offset: 4px;
  font-variant-numeric: tabular-nums;
}
.rl-upsell__knopf:hover { color: var(--rl-red); }
.page-redline .bundles-sticky-cta__spar {
  margin-left: auto; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  white-space: nowrap; color: #080808;
}
.page-redline .bundles-sticky-cta__spar + .bundles-sticky-cta__price { margin-left: 0; }
/* Sehr schmale Handys: „Save …“ weicht, damit Name, Preis und „incl. VAT“ in die Leiste passen */
@media (max-width: 360px) {
  .page-redline .bundles-sticky-cta__spar { display: none; }
  .page-redline .bundles-sticky-cta__spar + .bundles-sticky-cta__price { margin-left: auto; }
}


/* ── Beat-Karussell im Player: Pfeile, Punkte und Gleiten wie die Beatkarten der Startseite (kit-vol2.css, #demos) ── */
@media (min-width: 861px) { .rl-plugin--beats { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); } }
.rp-beats {
  --rpb-dur: .78s;
  --rpb-ease: cubic-bezier(.32, .94, .42, 1);
  --rpb-x: clamp(2.25rem, 18vw, 7rem);
  -webkit-tap-highlight-color: transparent;
}
.rp-beats:focus, .rp-beats:focus-visible { outline: none; }
.rp-beats__chrome { display: flex; align-items: center; gap: clamp(.5rem, 1.6vw, 1rem); }
.rp-beats__viewport { flex: 1; min-width: 0; display: grid; grid-template-columns: 1fr; touch-action: pan-y; }
.rp-beat {
  grid-column: 1; grid-row: 1; min-width: 0;
  opacity: 0; z-index: 1; pointer-events: none;
  transform: translate3d(var(--rpb-x), 0, 0) scale(.93);
  transition: opacity var(--rpb-dur) var(--rpb-ease), transform var(--rpb-dur) var(--rpb-ease);
}
.rp-beat.is-left  { transform: translate3d(calc(-1 * var(--rpb-x)), 0, 0) scale(.93); }
.rp-beat.is-right { transform: translate3d(var(--rpb-x), 0, 0) scale(.93); }
.rp-beat.is-active { opacity: 1; z-index: 2; pointer-events: auto; transform: translate3d(0, 0, 0) scale(1); }
.rp-beat.no-anim { transition: none; }

.rp-beats__arrow {
  flex-shrink: 0; -webkit-appearance: none; appearance: none;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(255, 68, 0, .35);
  background: rgba(20, 12, 10, .65);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  color: rgba(255, 220, 200, .95);
  cursor: pointer; display: grid; place-items: center;
  box-shadow: 0 10px 32px rgba(0, 0, 0, .45);
  transition: transform .28s cubic-bezier(.34, 1.4, .64, 1), box-shadow .28s ease, border-color .28s ease;
}
.rp-beats__arrow:hover { transform: scale(1.06); border-color: rgba(255, 120, 50, .65); box-shadow: 0 14px 40px rgba(255, 68, 0, .22); color: #fff; }
.rp-beats__arrow:active { transform: scale(.96); }
.rp-beats__arrow:focus { outline: none; }
.rp-beats__arrow:focus-visible { outline: 2px solid rgba(255, 140, 90, .95); outline-offset: 3px; }

.rp-beats__dots { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 1.35rem; }
.rp-beats__dot {
  -webkit-appearance: none; appearance: none;
  width: 9px; height: 9px; min-height: 0; border-radius: 999px; border: none; padding: 0; position: relative;
  background: rgba(255, 255, 255, .2); cursor: pointer;
  transition: width .4s cubic-bezier(.34, 1.4, .64, 1), background .35s ease, box-shadow .35s ease, transform .2s cubic-bezier(.34, 1.6, .64, 1);
}
/* system.css macht auf Touch jeden Button 44px hoch - hier waechst nur die unsichtbare Trefferflaeche, nicht der Punkt */
.rp-beats__dot::after { content: ''; position: absolute; left: -5px; right: -5px; top: 50%; height: 44px; transform: translateY(-50%); }
.rp-beats__dot.is-active { width: 28px; background: linear-gradient(90deg, #ff5a18, #ff8c42); box-shadow: 0 0 20px rgba(255, 68, 0, .45); }
.rp-beats__dot:hover:not(.is-active) { background: rgba(255, 255, 255, .38); transform: scale(1.35); }
.rp-beats__dot:focus { outline: none; }
.rp-beats__dot:focus-visible { outline: 2px solid rgba(255, 140, 90, .95); outline-offset: 3px; }

@media (max-width: 640px) {
  .rp-beats__chrome { flex-wrap: wrap; justify-content: center; }
  .rp-beats__viewport { flex: 1 1 100%; order: -1; }
  .rp-beats__arrow { width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .rp-beat { transition: opacity .2s linear; }
  .rp-beat.is-left, .rp-beat.is-right { transform: none; }
}


/* ── Hintergrund: Schriftzug-Monogramm statt Cockpit-Waben (Lucas Wahl C, 25.10.; Glow Stufe 2) ──
   Wie die REDLINE-Storys: schraege Reihen REDLINE / DINSKI / STXRM808, nur Umriss, kaum sichtbar.
   Fest hinter der Seite (z-index -1); dafuer traegt html das Schwarz und body wird durchsichtig. */
html:has(> body.page-redline) { background: #000; }
body.page-redline { background: transparent !important; }
.page-redline .sample-browser { background: transparent !important; }
.rl-mono { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.rl-mono__rows {
  position: absolute; inset: -30% -25%;
  display: flex; flex-direction: column; justify-content: center; gap: 2vw;
  transform: rotate(-7deg);
}
.rl-mono__row {
  font: italic 700 clamp(150px, 19vw, 300px)/1 'Space Grotesk', Arial, sans-serif;
  letter-spacing: -.04em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 46, 60, .7);
  /* Neon: nur die Kontur leuchtet (drop-shadow folgt dem Strich; text-shadow wuerde die Buchstaben fuellen) */
  filter: drop-shadow(0 0 3px rgba(255, 46, 60, .65)) drop-shadow(0 0 14px rgba(255, 30, 45, .4));
}
.rl-mono__row--fill { color: rgba(130, 6, 20, .42); -webkit-text-stroke: 0; filter: drop-shadow(0 0 14px rgba(255, 30, 45, .3)); }
.rl-mono::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 50% 45%, rgba(0, 0, 0, .1), rgba(0, 0, 0, .82) 100%);
}

/* Reihen ziehen ganz langsam seitwaerts, Nachbarreihen gegenlaeufig. Jede Reihe besteht aus
   vier gleichen Einheiten, -25 % ist genau eine Einheit -> die Schleife hat keinen Sprung. */
.rl-mono__row { width: max-content; will-change: transform; animation: rl-mono-links 200s linear infinite; }
.rl-mono__row:nth-child(even) { animation-name: rl-mono-rechts; }
@keyframes rl-mono-links { from { transform: translateX(0); } to { transform: translateX(-25%); } }
@keyframes rl-mono-rechts { from { transform: translateX(-25%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .rl-mono__row { animation: none; } }

/* Abwechselnd Muster / „Ruecklicht“ (Lucas Wahl C): schwarze Abschnitte decken die Schrift ab,
   rotes Gluehen von unten wie Ruecklichter, rote Kante unten */
.page-redline .rl-section--grau {
  background:
    radial-gradient(70% 55% at 50% 115%, rgba(255, 30, 45, .16), transparent 70%),
    radial-gradient(40% 30% at 15% 110%, rgba(255, 30, 45, .1), transparent 70%),
    radial-gradient(40% 30% at 85% 110%, rgba(255, 30, 45, .1), transparent 70%),
    #050505;
  box-shadow: inset 0 -1px 0 rgba(255, 41, 56, .4);
}
