/* ══════════════════════════════════════════════════════════════════════
   MIDAS SIGNALS
   Dark theme lock. One accent (brand orange). Geist + Geist Mono.

   Radius system (documented, applied everywhere):
     buttons + pills ....... 999px
     cards + panels ........ 18px
     small controls ........ 10px
   ══════════════════════════════════════════════════════════════════════ */

:root{
  /* surfaces, off-black not pure black */
  --bg:            #08080A;
  --bg-raised:     #0D0D10;
  --surface:       #121216;
  --surface-2:     #17171C;

  /* hairlines */
  --line:          rgba(255,255,255,.075);
  --line-strong:   rgba(255,255,255,.13);
  --line-accent:   rgba(252,101,12,.24);

  /* brand */
  --accent:        #FC650C;
  --accent-hi:     #FF8A3D;
  --accent-deep:   #C44E05;
  --accent-wash:   rgba(252,101,12,.09);

  /* semantic, calculator only */
  --good:          #56D98B;
  --warn:          #FF6B6B;

  /* type */
  --text:          #F4F2EE;
  --text-2:        #B9B5AE;
  --muted:         #86837D;

  --sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --r-card: 18px;
  --r-ctrl: 10px;
  --r-pill: 999px;

  --wrap: 1240px;
  --gut: clamp(20px, 5vw, 56px);
  --sec: clamp(88px, 12vw, 168px);

  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior: auto; } }

body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* film grain, fixed layer so it never repaints on scroll */
body::after{
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: .022;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg, video, canvas{ display: block; max-width: 100%; }
img{ height: auto; }
a{ color: inherit; text-decoration: none; }
button{ font: inherit; color: inherit; }

h1, h2, h3{ margin: 0; font-weight: 600; letter-spacing: -.028em; line-height: 1.06; }
p{ margin: 0; }
ul, ol{ margin: 0; padding: 0; list-style: none; }

em{ font-style: normal; color: var(--accent-hi); }

.num{ font-family: var(--mono); font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }

.wrap{ width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }

.skip{
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--accent); color: #180B02; padding: 12px 18px; border-radius: 0 0 var(--r-ctrl) 0;
  font-weight: 600;
}
.skip:focus{ left: 0; }

:where(a, button, summary, input, [tabindex]):focus-visible{
  outline: 2px solid var(--accent-hi);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── icons ──────────────────────────────────────────────────────────── */
.ico{ width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }
.ico--accent{ color: var(--accent); width: 20px; height: 20px; }

/* ── section furniture ──────────────────────────────────────────────── */
.h2{ font-size: clamp(30px, 4.2vw, 54px); }

.lede{
  color: var(--text-2);
  font-size: clamp(16px, 1.5vw, 19px);
  max-width: 56ch;
  margin-top: 20px;
}

.eyebrow{
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow::before{ content: ""; width: 24px; height: 1px; background: currentColor; opacity: .7; }

.sec-head{ max-width: 60ch; margin-bottom: clamp(44px, 6vw, 80px); }
.sec-head--tight{ margin-bottom: clamp(32px, 4vw, 56px); }

/* ── buttons ────────────────────────────────────────────────────────── */
.btn{
  --btn-y: 15px; --btn-x: 28px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--btn-y) var(--btn-x);
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-size: 15px; font-weight: 600; letter-spacing: -.005em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.btn--sm{ --btn-y: 10px; --btn-x: 18px; font-size: 13.5px; }
.btn--lg{ --btn-y: 18px; --btn-x: 34px; font-size: 16px; }

.btn--primary{
  color: #1B0C02;
  background: linear-gradient(180deg, var(--accent-hi), var(--accent) 58%, var(--accent-deep));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.4),
    inset 0 -1px 0 rgba(0,0,0,.22),
    0 10px 30px -10px rgba(252,101,12,.55);
}
.btn--primary:hover{
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.45),
    0 16px 40px -12px rgba(252,101,12,.7);
}
.btn--primary:active{ transform: translateY(0) scale(.985); }
.btn .ico{ width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:hover .ico{ transform: translateX(3px); }

@media (prefers-reduced-motion: reduce){
  .btn, .btn .ico{ transition: none; }
  .btn--primary:hover{ transform: none; }
}

/* ── scroll reveal ──────────────────────────────────────────────────── */
.reveal{
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.reveal.is-in{ opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity: 1; transform: none; transition: none; }
}

/* ══════════════════════════════════════════════════════════ NAV ══ */
.nav{
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck{
  background: rgba(8,8,10,.72);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: var(--line);
}
@media (prefers-reduced-transparency: reduce){
  .nav.is-stuck{ background: #08080A; backdrop-filter: none; -webkit-backdrop-filter: none; }
}

.nav__inner{
  height: 70px;
  max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut);
  display: flex; align-items: center; gap: 32px;
}
.nav__brand img{ height: 34px; width: auto; }

.nav__links{ display: flex; gap: 30px; margin-left: auto; }
.nav__links a{
  font-size: 14px; color: var(--text-2);
  transition: color .2s var(--ease);
  position: relative;
}
.nav__links a::after{
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__links a:hover{ color: var(--text); }
.nav__links a:hover::after{ transform: scaleX(1); }

.nav__end{ display: flex; align-items: center; gap: 14px; }

.nav__burger{
  display: none;
  width: 40px; height: 40px; border: 1px solid var(--line-strong); border-radius: var(--r-ctrl);
  background: transparent; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav__burger span{ width: 16px; height: 1.5px; background: var(--text); transition: transform .3s var(--ease), opacity .2s; }
.nav__burger[aria-expanded="true"] span:first-child{ transform: translateY(3.25px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child{ transform: translateY(-3.25px) rotate(-45deg); }

/* Ganzflaechig, nicht erst unter der Navigation. Vorher blieb oben ein
   durchsichtiger Streifen stehen, weil die Navigation ohne Scroll keinen
   Hintergrund hat. Die Leiste bekommt bei offenem Menue denselben. */
.menu{
  position: fixed; inset: 0; z-index: 48;
  background: rgba(9,9,12,.97);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  padding: calc(70px + 30px) var(--gut) 44px;
  display: flex; flex-direction: column; justify-content: center;

  opacity: 0;
  clip-path: inset(0 0 100% 0);        /* Vorhang faellt von oben herunter */
  transition: opacity .25s var(--ease), clip-path .5s var(--ease);
}
.menu.is-open{ opacity: 1; clip-path: inset(0 0 0 0); }

.menu__links{ display: grid; gap: 6px; }
.menu__links a{
  font-size: 22px; font-weight: 500; padding: 14px 0;
  border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(16px);
  transition: opacity .45s var(--ease), transform .55s var(--ease);
}
.menu.is-open .menu__links a{ opacity: 1; transform: none; }
/* nacheinander einlaufen, nicht alle auf einmal */
.menu.is-open .menu__links a:nth-child(1){ transition-delay: .12s; }
.menu.is-open .menu__links a:nth-child(2){ transition-delay: .18s; }
.menu.is-open .menu__links a:nth-child(3){ transition-delay: .24s; }
.menu.is-open .menu__links a:nth-child(4){ transition-delay: .30s; }
.menu.is-open .menu__links a:nth-child(5){ transition-delay: .38s; }
.menu__links .btn{ margin-top: 22px; border-bottom: 0; justify-content: center; }

/* Bei offenem Menue traegt die Leiste denselben Grund, sonst klafft oben
   eine durchsichtige Kante. */
body.is-menu-open .nav{
  background: rgba(9,9,12,.97);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border-bottom-color: transparent;
}

@media (prefers-reduced-motion: reduce){
  .menu, .menu__links a{ transition: none; }
  .menu{ clip-path: none; }
}

@media (max-width: 940px){
  .nav__links{ display: none; }
  .nav__end .btn{ display: none; }
  .nav__burger{ display: flex; }
  .nav__end{ margin-left: auto; }
}

/* ══════════════════════════════════════════════════════════ HERO ══ */
.hero{
  position: relative;
  min-height: 100dvh;
  display: flex; align-items: center;
  padding-top: clamp(102px, 12vh, 152px);
  padding-bottom: clamp(48px, 8vh, 96px);
  overflow: hidden;
}
.hero__canvas{ position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero__veil{
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    /* schuetzt die Headline: links deutlich abdunkeln, damit die
       fliegenden Umschlaege dort nicht mit dem Text konkurrieren */
    linear-gradient(90deg, var(--bg) 0%, rgba(8,8,10,.92) 22%, rgba(8,8,10,.35) 44%, transparent 62%),
    radial-gradient(120% 80% at 78% 8%, rgba(252,101,12,.10), transparent 58%),
    linear-gradient(180deg, var(--bg) 0%, rgba(8,8,10,.72) 7%, rgba(8,8,10,0) 26%, rgba(8,8,10,.72) 88%, var(--bg) 100%);
}

.hero__inner{
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(32px, 5vw, 68px);
  align-items: center;
}

.hero__title{
  font-size: clamp(34px, 4.6vw, 62px);
  letter-spacing: -.035em;
  max-width: 15ch;
}
.hero__sub{
  margin-top: 22px;
  color: var(--text-2);
  font-size: clamp(15.5px, 1.35vw, 18px);
  max-width: 44ch;
}
.hero__cta{ margin-top: 34px; }

@media (max-width: 1000px){
  .hero{ min-height: auto; padding-top: 120px; }
  .hero__inner{ grid-template-columns: 1fr; }
  .hero__title{ max-width: 18ch; }
}

/* ══════════════════════════════════════════ VIDEO PLAYER ══ */
.vp{
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-card);
  overflow: hidden;
  background: #050506;
  border: 1px solid var(--line-strong);
  box-shadow:
    0 40px 90px -30px rgba(0,0,0,.9),
    0 0 0 1px rgba(252,101,12,.07),
    0 0 90px -40px rgba(252,101,12,.4);
  isolation: isolate;
}

/* Vorschau: eigener stummer Loop-Clip, sonst das Poster */
.vp__clip,
.vp__still{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Live: das echte YouTube-Embed. Unbeschnitten, volle Originalsteuerung. */
.vp__frame{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  z-index: 1;
}

/* Der Startknopf deckt die ganze Flaeche ab, sichtbar ist nur der Punkt. */
.vp__play{
  position: absolute; inset: 0; z-index: 2;
  width: 100%; height: 100%;
  display: grid; place-items: center;
  margin: 0; padding: 0;
  border: 0; background: transparent;
  cursor: pointer;
}

.vp__playDot{
  position: relative;
  width: clamp(56px, 6vw, 78px);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  background: rgba(252,101,12,.3);
  border: 1px solid rgba(255,255,255,.5);
  backdrop-filter: blur(3px) saturate(125%);
  -webkit-backdrop-filter: blur(3px) saturate(125%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.35),
    0 10px 30px -12px rgba(0,0,0,.8);
  transition: transform .25s var(--ease), background .25s var(--ease);
}
.vp__play:hover .vp__playDot{
  transform: scale(1.07);
  background: rgba(252,101,12,.55);
}
.vp__play:active .vp__playDot{ transform: scale(.96); }

/* Das Phosphor-Dreieck ist im ViewBox bereits nach rechts versetzt
   (Glyph 64 bis 232 bei Mitte 128). Deshalb hier kein weiterer Versatz,
   sonst sitzt es sichtbar zu weit rechts. */
.vp__playDot .ico{ width: 36%; height: 36%; }

.vp__playDot::after{
  content: ""; position: absolute; inset: -1px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.55);
  animation: pulse 1.7s var(--ease) infinite;
}
@keyframes pulse{
  0%   { transform: scale(1);   opacity: .55; }
  70%  { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}
@media (prefers-reduced-motion: reduce){
  .vp__playDot::after{ animation: none; opacity: 0; }
  .vp__playDot{ transition: none; }
}

.vp[data-mode="live"] .vp__play{ display: none; }

/* ══════════════════════════════════════════ PROMISE BAND ══ */
.promise{ border-block: 1px solid var(--line); background: var(--bg-raised); }
.promise__inner{
  display: flex; flex-direction: column; align-items: center;
  gap: 14px; padding-block: 28px; text-align: center;
}
.promise__list{
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 12px clamp(24px, 4vw, 46px);
}
.promise__list li{ display: flex; align-items: center; gap: 11px; font-size: 15px; color: var(--text-2); }
.promise__gate{ font-size: 13.5px; color: var(--muted); }

/* ══════════════════════════════════════════ MARQUEE ══ */
.marquee-band{ padding-block: clamp(52px, 7vw, 88px); }
.marquee-band__caption{
  font-size: 13.5px; color: var(--muted); text-align: center; margin-bottom: 34px;
}
.marquee{
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  overflow: hidden;
}
.marquee__track{ display: flex; width: max-content; animation: slide var(--dur, 46s) linear infinite; }
.marquee__group{ display: flex; align-items: center; gap: clamp(48px, 7vw, 92px); padding-right: clamp(48px, 7vw, 92px); }
.marquee__group img{
  height: clamp(30px, 3.6vw, 44px); width: auto; object-fit: contain;
  opacity: 1;
  transition: transform .3s var(--ease);
}
.marquee:hover .marquee__track{ animation-play-state: paused; }
.marquee__group img:hover{ transform: scale(1.06); }
@keyframes slide{ to{ transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce){
  .marquee__track{ animation: none; }
  .marquee{ overflow-x: auto; }
}

/* ══════════════════════════════════════════ STATS ══ */
.stats{ padding-block: clamp(48px, 6vw, 88px); }
.stats__inner{
  display: grid; grid-template-columns: 1.25fr 1fr;
  gap: clamp(28px, 4vw, 64px); align-items: center;
  border-block: 1px solid var(--line);
  padding-block: clamp(38px, 5vw, 62px);
}
.stats__value{
  display: block;
  font-family: var(--mono);
  font-size: clamp(48px, 8.5vw, 108px);
  font-weight: 500; letter-spacing: -.05em; line-height: .92;
  background: linear-gradient(94deg, var(--accent-hi), var(--accent) 55%, var(--accent-deep));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stats__value--sm{ font-size: clamp(32px, 4vw, 52px); }
.stats__key{ display: block; margin-top: 14px; color: var(--muted); font-size: 14.5px; max-width: 30ch; }
.stats__side{ display: grid; gap: clamp(22px, 3vw, 38px); }
.stats__item + .stats__item{ padding-top: clamp(22px, 3vw, 38px); border-top: 1px solid var(--line); }

@media (max-width: 820px){ .stats__inner{ grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════ PROBLEM ══ */
.problem{ padding-block: var(--sec); }
.problem__inner{
  display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}
.problem__sticky{ position: sticky; top: 130px; }

.problem__list{ display: grid; gap: 0; }
.problem__item{ padding-block: clamp(28px, 3.4vw, 40px); border-top: 1px solid var(--line); }
.problem__item:first-child{ border-top: 0; padding-top: 0; }
.problem__item h3{
  font-size: clamp(19px, 1.9vw, 24px); font-weight: 600; margin-bottom: 12px;
}
.problem__item p{ color: var(--text-2); font-size: 16px; max-width: 52ch; }

.problem__close{
  margin-top: clamp(24px, 3vw, 36px);
  padding: clamp(22px, 2.6vw, 30px);
  border-radius: var(--r-card);
  border: 1px solid var(--line-accent);
  background: linear-gradient(180deg, var(--accent-wash), transparent 70%), var(--surface);
}
.problem__close p{ color: var(--text); font-size: 16.5px; }

@media (max-width: 900px){
  .problem__inner{ grid-template-columns: 1fr; }
  .problem__sticky{ position: static; }
}

/* ══════════════════════════════════════════ PROCESS ══ */
.process{ padding-block: var(--sec); background: var(--bg-raised); border-block: 1px solid var(--line); }
.process__grid{ position: relative; display: grid; gap: clamp(56px, 8vw, 120px); }

.process__rail{
  position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px;
  background: var(--line-strong);
}
.process__progress{
  position: absolute; inset: 0 0 auto 0; width: 1px; height: 0%;
  background: linear-gradient(180deg, var(--accent-hi), var(--accent));
  box-shadow: 0 0 12px rgba(252,101,12,.8);
  transition: height .15s linear;
}

.step{
  position: relative;
  padding-left: clamp(30px, 4vw, 52px);
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(26px, 4vw, 56px);
  align-items: center;
}
.step::before{
  content: ""; position: absolute; left: 0; top: 10px;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--bg-raised); border: 1px solid var(--line-strong);
  transition: background .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.step.is-active::before{
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 5px rgba(252,101,12,.16), 0 0 22px rgba(252,101,12,.75);
}

/* Text links ueber beide Zeilen, Visualisierung rechts daneben */
.step__meta  { grid-column: 1; grid-row: 1; align-self: end; }
.step__points{ grid-column: 1; grid-row: 2; align-self: start; }
.step__viz   { grid-column: 2; grid-row: 1 / span 2; }

.step__day{
  display: inline-block;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.step__title{ font-size: clamp(24px, 3vw, 38px); }
.step__points{ margin-top: 22px; display: grid; gap: 11px; align-content: start; }
.step__points li{
  display: flex; align-items: baseline; gap: 12px;
  color: var(--text-2); font-size: 16px;
}
.step__points li::before{
  content: ""; width: 5px; height: 5px; border-radius: 50%; flex: none;
  background: var(--accent); opacity: .75; transform: translateY(-2px);
}

.step__viz{
  aspect-ratio: 16 / 10;
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.022), transparent 60%), var(--surface);
  overflow: hidden;
}
.viz{ width: 100%; height: 100%; }

@media (max-width: 900px){
  .step{ grid-template-columns: 1fr; }
  .step__meta, .step__points, .step__viz{ grid-column: 1; grid-row: auto; }
  .step__viz{ aspect-ratio: 16 / 10; margin-top: 26px; }
}

/* ══════════════════════════════════════════ VIDEO TESTIMONIALS ══ */
.voices{ padding-block: var(--sec); }
.voices__grid{
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(22px, 3vw, 40px);
  align-items: start;
}
.voice{ margin: 0; }

.voice figcaption{
  display: flex; align-items: baseline; gap: 12px;
  margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line);
}
.voice figcaption strong{ font-weight: 600; font-size: 15.5px; }
.voice figcaption span{ color: var(--muted); font-size: 14px; }

@media (max-width: 860px){
  .voices__grid{ grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════ RESULTS RAIL ══ */
.results{ padding-block: var(--sec); background: var(--bg-raised); border-block: 1px solid var(--line); }
.results__head{
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  margin-bottom: clamp(32px, 4vw, 52px);
}
.results__nav{ display: flex; gap: 10px; }
.rnav{
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: transparent; color: var(--text);
  display: grid; place-items: center; cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.rnav:hover{ background: var(--surface-2); border-color: var(--accent); color: var(--accent-hi); }
.rnav:active{ transform: scale(.94); }
.rnav .ico{ width: 17px; height: 17px; }

.results__rail{
  display: flex; gap: clamp(16px, 2vw, 26px);
  overflow-x: auto;
  scroll-padding-left: var(--gut);
  padding-inline: var(--gut);
  padding-bottom: 14px;
  scrollbar-width: none;
}
.results__rail::-webkit-scrollbar{ display: none; }

.case{
  flex: 0 0 clamp(300px, 38vw, 500px);
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
}
/* Die Screenshots sind helle, sehr breite Metrik-Streifen. Sie werden
   ungeschnitten auf eine helle Platte montiert, sonst geht die Aussage
   verloren, und ein Cover-Crop wuerde genau die Zahlen abschneiden. */
.case__shot{
  aspect-ratio: 16 / 8;
  background: #F1F4F7;
  border-bottom: 1px solid var(--line);
  display: grid; place-items: center;
  padding: clamp(12px, 2vw, 20px);
}
.case__shot img{
  width: 100%; height: 100%;
  object-fit: contain;
  border-radius: 4px;
}
.case__body{ padding: 22px 24px 26px; }
.case__sector{
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent);
}
.case__result{ margin-top: 12px; font-size: 17px; color: var(--text-2); line-height: 1.45; }
.case__result b{ color: var(--text); font-weight: 500; }


/* ══════════════════════════════════════════ ROI CALCULATOR ══ */
.roi{ padding-block: var(--sec); }
.roi__grid{ display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.4vw, 30px); align-items: stretch; }
.roi__grid .panel{ display: flex; flex-direction: column; }
.roi__foot{ margin-top: auto; padding-top: 20px; }
@media (max-width: 900px){ .roi__grid{ grid-template-columns: 1fr; } }

.panel{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: clamp(22px, 2.8vw, 34px);
}
.panel--result{
  border-color: var(--line-accent);
  background: linear-gradient(180deg, var(--accent-wash), transparent 42%), var(--surface);
}
.panel__label{
  font-family: var(--mono);
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 24px;
}

.roi__fixed{ display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 30px; }
.roi__fixedItem{
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--r-ctrl); padding: 14px 16px;
}
.roi__fixedItem span{ display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 6px; }
.roi__fixedItem strong{ font-size: 19px; font-weight: 500; }

.ctrl{ margin-bottom: 30px; }
.ctrl:last-child{ margin-bottom: 0; }
.ctrl__top{ display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.ctrl__top label{ font-size: 15px; color: var(--text); }
.ctrl__val{ font-size: 18px; font-weight: 500; color: var(--accent-hi); white-space: nowrap; }
.ctrl__scale{ display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); margin-top: 10px; }

.range{
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px; border-radius: var(--r-pill);
  background: var(--surface-2); outline: none; cursor: pointer;
}
.range::-webkit-slider-thumb{
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--accent-hi), var(--accent) 70%);
  border: 2px solid #2A1A0E; cursor: pointer;
  box-shadow: 0 0 0 4px rgba(252,101,12,.16), 0 4px 12px rgba(0,0,0,.5);
  transition: box-shadow .15s var(--ease), transform .12s var(--ease);
}
.range::-webkit-slider-thumb:hover{ transform: scale(1.08); }
.range:active::-webkit-slider-thumb{ box-shadow: 0 0 0 7px rgba(252,101,12,.22), 0 4px 12px rgba(0,0,0,.5); }
.range::-moz-range-thumb{
  width: 22px; height: 22px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--accent-hi), var(--accent) 70%);
  border: 2px solid #2A1A0E; cursor: pointer;
  box-shadow: 0 0 0 4px rgba(252,101,12,.16);
}
.range:focus-visible::-webkit-slider-thumb{ box-shadow: 0 0 0 4px rgba(255,138,61,.6); }

.seg{
  display: flex; gap: 6px; padding: 4px; margin-bottom: 18px;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-ctrl);
}
.seg button{
  flex: 1; appearance: none; border: 0; cursor: pointer;
  font-size: 13px; font-weight: 600; padding: 9px 10px; border-radius: 7px;
  color: var(--muted); background: transparent;
  transition: background .18s var(--ease), color .18s var(--ease);
}
.seg button[aria-pressed="true"]{ background: var(--accent); color: #1B0C02; }

.roi__hero{ border-bottom: 1px solid var(--line); padding-bottom: 26px; margin-bottom: 26px; }
.roi__heroLabel{ font-size: 13.5px; color: var(--muted); margin-bottom: 10px; }
.roi__heroValue{
  font-size: clamp(40px, 6vw, 60px); font-weight: 500; letter-spacing: -.04em; line-height: 1;
  background: linear-gradient(92deg, var(--accent-hi), var(--accent) 60%, var(--accent-deep));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

.roi__proj{ display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 22px; }
.roi__proj.is-hidden{ display: none; }
.roi__projItem{
  background: var(--surface-2); border: 1px solid var(--line-accent);
  border-radius: var(--r-ctrl); padding: 16px;
}
.roi__projItem span{ display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 8px; }
.roi__projItem strong{ font-size: 21px; font-weight: 500; color: var(--accent-hi); }

.roi__cards{ display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 22px; }
.roi__card{
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--r-ctrl); padding: 16px;
}
.roi__card span{ display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 8px; }
.roi__card strong{ font-size: 23px; font-weight: 500; }

.roi__verdict{
  border-radius: var(--r-ctrl); padding: 20px 22px;
  border: 1px solid var(--line); background: var(--surface-2);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.roi__verdictLabel{
  display: block; font-family: var(--mono);
  font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 7px;
}
.roi__verdictNote{ font-size: 13.5px; color: var(--muted); max-width: 34ch; }
.roi__verdictValue{ font-size: clamp(34px, 5vw, 48px); font-weight: 500; letter-spacing: -.03em; line-height: 1; }

.roi__verdict[data-state="green"]{
  background: linear-gradient(180deg, rgba(86,217,139,.10), rgba(86,217,139,.02));
  border-color: rgba(86,217,139,.35);
}
.roi__verdict[data-state="green"] .roi__verdictValue,
.roi__verdict[data-state="green"] .roi__verdictNote{ color: var(--good); }

/* Hoher ROI ist kein Warnzustand, sondern das beste Ergebnis. */
.roi__verdict[data-state="peak"]{
  background: linear-gradient(180deg, rgba(252,101,12,.16), rgba(252,101,12,.04));
  border-color: rgba(252,101,12,.55);
  box-shadow: 0 0 40px -18px rgba(252,101,12,.8);
}
.roi__verdict[data-state="peak"] .roi__verdictValue{
  background: linear-gradient(92deg, var(--accent-hi), var(--accent) 60%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.roi__verdict[data-state="peak"] .roi__verdictNote{ color: var(--accent-hi); }

.roi__foot{ font-size: 12.5px; color: var(--muted); }

/* ══════════════════════════════════════════ QUOTES ══ */
.quotes{ padding-block: var(--sec); background: var(--bg-raised); border-block: 1px solid var(--line); }
.quotes__grid{ columns: 2; column-gap: clamp(18px, 2.4vw, 28px); }
@media (max-width: 820px){ .quotes__grid{ columns: 1; } }

.quote{
  break-inside: avoid;
  margin: 0 0 clamp(18px, 2.4vw, 28px);
  padding: clamp(24px, 3vw, 34px);
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color .3s var(--ease);
}
.quote:hover{ border-color: var(--line-accent); }
.quote p{ font-size: clamp(16px, 1.5vw, 18.5px); color: var(--text); line-height: 1.5; }
.quote p::before{ content: "\201C"; color: var(--accent); }
.quote p::after{ content: "\201D"; color: var(--accent); }
.quote footer{ margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.quote footer strong{ display: block; font-weight: 600; font-size: 15px; }
.quote footer span{ color: var(--muted); font-size: 13.5px; }

/* ══════════════════════════════════════════ FAQ ══ */
.faq{ padding-block: var(--sec); }
.faq__inner{
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 88px); align-items: start;
}
@media (max-width: 880px){ .faq__inner{ grid-template-columns: 1fr; } }

.acc__item{ border-top: 1px solid var(--line); }
.acc__item:last-child{ border-bottom: 1px solid var(--line); }
.acc__item summary{
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 0; cursor: pointer; list-style: none;
  font-size: clamp(16px, 1.6vw, 19px); font-weight: 500;
  transition: color .2s var(--ease);
}
.acc__item summary::-webkit-details-marker{ display: none; }
.acc__item summary:hover{ color: var(--accent-hi); }
.acc__mark{ width: 18px; height: 18px; color: var(--accent); transition: transform .3s var(--ease); }
.acc__item[open] .acc__mark{ transform: rotate(180deg); }
.acc__body{ padding-bottom: 26px; }
.acc__body p{ color: var(--text-2); font-size: 16px; max-width: 62ch; }

/* ══════════════════════════════════════════ CLOSING CTA ══ */
.close{
  position: relative; overflow: hidden;
  padding-block: clamp(96px, 14vw, 190px);
  border-top: 1px solid var(--line);
  text-align: center;
}
.close__canvas{ position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .8; }
.close__inner{ position: relative; z-index: 2; }
.close::before{
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(70% 90% at 50% 100%, rgba(252,101,12,.14), transparent 65%);
  pointer-events: none;
}
.close__title{ font-size: clamp(34px, 6vw, 76px); letter-spacing: -.04em; }
.close__sub{ margin: 22px auto 0; max-width: 46ch; color: var(--text-2); font-size: clamp(15.5px, 1.5vw, 18px); }
.close .btn{ margin-top: 38px; }
.close__gate{ margin-top: 20px; font-size: 13px; color: var(--muted); }

/* ══════════════════════════════════════════ FOOTER ══ */
.foot{ border-top: 1px solid var(--line); background: var(--bg); padding-block: clamp(44px, 6vw, 72px) 34px; }
.foot__inner{
  display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between;
  gap: 32px 40px;
  padding-bottom: 34px; border-bottom: 1px solid var(--line);
}
.foot__brand img{ height: 28px; width: auto; opacity: .9; }
.foot__brand p{ margin-top: 14px; font-size: 13px; color: var(--muted); }
.foot__nav{ display: grid; gap: 10px; }
.foot__nav a{ font-size: 14px; color: var(--text-2); transition: color .2s var(--ease); }
.foot__nav a:hover{ color: var(--accent-hi); }
.foot__social{ display: flex; gap: 10px; }
.foot__social a{
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center; color: var(--text-2);
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.foot__social a:hover{ color: var(--accent-hi); border-color: var(--accent); }
.foot__social .ico{ width: 17px; height: 17px; }

.foot__legal{ padding-top: 26px; display: grid; gap: 12px; }
.foot__legal p{ font-size: 11.5px; line-height: 1.6; color: #5F5C58; max-width: 100ch; }



/* ── Ohne JavaScript bleiben Reveals sonst unsichtbar ────────────────── */
.no-js .reveal{ opacity: 1; transform: none; }
