/* HRT Shop – Startseite (Redesign 2). Werte aus dem Entwurf
   startseite-v3-animationen.html. Bewegung steuert home.js; alles, was fuer
   eine Einblendung versteckt wird, steht unter html.js:not(.rm). */

/* ------------------------------------------------------------ Slideshow -- */
.hero {
  color-scheme: dark; position: relative; height: 100vh; height: 100svh; min-height: 560px;
  background: #000; color: #fff; overflow: hidden; outline: none;
  touch-action: pan-y;               /* waagerechtes Wischen bleibt beim Skript */
}
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; }
.slide.on { opacity: 1; visibility: visible; z-index: 1; }
.slide.top { z-index: 2; }
.slide-img {
  position: absolute; inset: -2%; width: 104%; height: 104%; max-width: none; object-fit: cover;
  object-position: var(--fx, 50%) var(--fy, 50%);
}
.slide::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(0, 0, 0, .92) 0%, rgba(0, 0, 0, .65) 38%, rgba(0, 0, 0, 0) 72%);
}
.in { position: absolute; left: var(--gut); right: var(--gut); top: clamp(110px, 18vh, 170px); z-index: 2; }
.date {
  display: inline-block; border: 1px solid rgba(255, 255, 255, .6); border-radius: 999px;
  padding: 6px 14px; font-size: 13px; margin-bottom: 18px;
}
.hero-t { font-size: clamp(40px, 6vw, 86px); color: #fff; }
.big {
  font-size: clamp(64px, 12vw, 170px); color: var(--or); margin-top: 10px;
  font-style: italic; font-weight: 700; letter-spacing: -.045em; line-height: .92;
}
.hpills { margin-top: 18px; }
.hpill {
  display: inline-block; border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .08);
  border-radius: 999px; padding: 7px 15px; font-size: 12px; font-weight: 700; margin: 0 8px 8px 0;
}
.cta {
  display: inline-block; background: var(--or); color: #fff; border-radius: 999px;
  padding: 14px 30px; font-weight: 700; font-size: 14px;
  transition: transform .2s var(--ease), box-shadow .2s;
}
.cta.blk { background: var(--tx); color: var(--bg); }
.hero-cta { position: absolute; left: 50%; bottom: 44px; transform: translateX(-50%); z-index: 3; white-space: nowrap; }
.dots { position: absolute; right: var(--gut); bottom: 52px; z-index: 3; display: flex; gap: 8px; }
.dots i { width: 34px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .3); overflow: hidden; position: relative; }
.dots b { position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.dots b.full { transform: scaleX(1); }
.cursor {
  position: fixed; left: 0; top: 0; z-index: 35; width: 64px; height: 64px; border-radius: 50%;
  background: #fff; color: #000; display: none; place-items: center; font-size: 22px;
  pointer-events: none; transform: translate(-50%, -50%) scale(0); transition: transform .25s var(--ease);
}
.cursor.show { transform: translate(-50%, -50%) scale(1); }
@media (hover: hover) and (pointer: fine) {
  html.js .hero { cursor: none; }
  html.js .hero .cta { cursor: pointer; }
  html.js .cursor { display: grid; }
  .cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255, 106, 31, .35); }
  .hero-cta:hover { transform: translateX(-50%) translateY(-2px); }
}
@media (max-width: 640px) {
  .hero-cta { bottom: 34px; }
  .dots { bottom: 100px; right: 50%; transform: translateX(50%); }
}

/* ----------------------------------------------------------- Karussell -- */
.car { padding: 80px 0 60px; text-align: center; overflow: hidden; }
.stage { --cw: min(520px, 78vw); position: relative; height: calc(var(--cw) * .58 + 20px); }
.car-img {
  position: absolute; top: 50%; left: 50%; width: var(--cw); height: calc(var(--cw) * .58); max-width: none;
  object-fit: cover; border-radius: var(--r); transform: translate(-50%, -50%);
  transition: transform .7s var(--ease), opacity .7s var(--ease);
}
html:not(.js) .car-img:not(:first-child) { display: none; }
html.rm .car-img { transition: opacity .3s; }
.car-name { font-size: clamp(30px, 5vw, 46px); margin: 28px var(--gut) 14px; min-height: 1em; }
.spills { min-height: 26px; }
.spills span {
  display: inline-block; background: var(--pill); color: var(--pilltx); border-radius: 999px;
  padding: 5px 13px; font-size: 11px; font-weight: 700; letter-spacing: .05em; margin: 0 3px;
}
.arrows { margin: 22px 0; display: flex; justify-content: center; gap: 14px; }
.arrow {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line2);
  display: grid; place-items: center; font-size: 20px; line-height: 1; transition: background-color .2s, color .2s;
}
@media (hover: hover) and (pointer: fine) { .arrow:hover { background: var(--tx); color: var(--bg); } }

/* --------------------------------------------------------------- Band -- */
.band { background: var(--band); color: var(--bandtx); text-align: center; padding: 70px var(--gut); }
.band-logo { height: 44px; width: auto; margin: 0 auto 18px; }
.band p { max-width: 640px; margin: 0 auto; font-size: 15px; opacity: .85; line-height: 1.6; }

/* -------------------------------------------------------------- Zahlen -- */
.nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; padding: 70px var(--gut) 10px; }
.nums b { display: block; font-size: clamp(52px, 8vw, 72px); font-style: italic; letter-spacing: -.04em; color: var(--or); font-variant-numeric: tabular-nums; }
.nums small { color: var(--dim); font-size: 14px; }
@media (max-width: 640px) { .nums { grid-template-columns: 1fr; } }

/* ------------------------------------------------- Abschnitts-Rahmen -- */
.sec { padding: 70px var(--gut); max-width: 1440px; margin: 0 auto; }
.sh { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.sh h2 { font-size: clamp(40px, 6vw, 56px); }

/* ------------------------------------------------------------- Kunden -- */
.track {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; padding-bottom: 4px; overscroll-behavior-x: contain;
}
.track::-webkit-scrollbar { display: none; }
@media (hover: hover) and (pointer: fine) { .track { cursor: grab; } }
.track.drag { cursor: grabbing; scroll-snap-type: none; }
.cc {
  flex: 0 0 calc(25% - 11px); min-width: 220px; scroll-snap-align: start; position: relative;
  aspect-ratio: 3 / 4; border-radius: var(--r); overflow: hidden; margin: 0; user-select: none; background: #222;
}
.cc-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); pointer-events: none; }
.cc::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(0, 0, 0, .85)); }
.cc figcaption { position: absolute; left: 16px; bottom: 14px; z-index: 1; color: #fff; }
.cc figcaption b { font-size: 22px; font-style: italic; }
.cc figcaption small { display: block; font-size: 10.5px; opacity: .85; margin-top: 2px; }
@media (hover: hover) and (pointer: fine) { .cc:hover .cc-img { transform: scale(1.06); } }

/* ------------------------------------------------------ Vorher/Nachher -- */
.fun { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: center; }
.fun h2 { font-size: clamp(40px, 6vw, 60px); }
.fun p { color: var(--dim); margin-top: 16px; font-size: 15px; line-height: 1.6; max-width: 380px; }
.ba {
  --x: 50%; position: relative; height: 440px; border-radius: 18px; overflow: hidden;
  user-select: none; cursor: ew-resize; touch-action: pan-y; background: #111;
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-before { filter: grayscale(1) brightness(.8); }
/* zwei eigene Bilder (z. B. ohne/mit Flammen): beide in Farbe */
.ba-pair .ba-before { filter: none; }
.ba-after { clip-path: inset(0 0 0 var(--x)); }
.ln { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: #fff; }
.ln::after {
  content: "⇆"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 42px; height: 42px; border-radius: 50%; background: #fff; color: #000;
  display: grid; place-items: center; font-size: 16px;
}
.ba-t { position: absolute; bottom: 18px; color: #fff; font-weight: 700; font-style: italic; font-size: 18px; z-index: 2; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.ba-t--l { left: 18px; }
.ba-t--r { right: 18px; }
@media (max-width: 860px) {
  .fun { grid-template-columns: 1fr; gap: 24px; }
  .ba { height: 300px; }
}

/* ------------------------------------------------------------ Parallax -- */
.para { position: relative; height: 520px; overflow: hidden; color: #fff; display: grid; place-items: center; text-align: center; padding: 0 var(--gut); }
.para-img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; will-change: transform; }
html.rm .para-img { will-change: auto; }
.para::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .45); z-index: 1; }
.para h2 { position: relative; z-index: 2; font-size: clamp(46px, 7vw, 96px); color: #fff; }
@media (max-width: 640px) { .para { height: 380px; } }

/* ------------------------------------------------------------ Lauftext -- */
.marq { overflow: hidden; padding: 60px 0 0; white-space: nowrap; }
.marq div {
  font-size: clamp(90px, 16vw, 220px); font-style: italic; font-weight: 700; letter-spacing: -.05em; line-height: .85;
  color: transparent; -webkit-text-stroke: 2px var(--line2); will-change: transform; transform: translateX(10vw);
}
.marq div span { color: var(--pill); -webkit-text-stroke: 0; }

/* ------------------------------------------------------ Ablauf (Handy) -- */
.scrolly { background: var(--band); color: var(--bandtx); display: grid; grid-template-columns: 1fr 1fr; padding: 0 60px; color-scheme: dark; }
.st { min-height: 80vh; display: flex; flex-direction: column; justify-content: center; transition: opacity .4s; }
html.js .st:not(.act) { opacity: .25; }
.st-n { font-size: 13px; opacity: .7; display: flex; align-items: center; gap: 10px; }
.st-n::before { content: ""; width: 40px; height: 1px; background: currentColor; }
.st h2 { font-size: clamp(40px, 5vw, 56px); margin: 14px 0 16px; color: #fff; }
.st p { opacity: .8; line-height: 1.6; max-width: 440px; }
.pin { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; }
.phone {
  position: relative; width: 260px; height: 500px; border-radius: 38px; border: 8px solid #2a2a2e;
  background: #f4f4f6; color: #111; overflow: hidden; color-scheme: light;
}
.screen { position: absolute; inset: 0; padding: 30px 14px; font-size: 11px; opacity: 0; transition: opacity .35s; }
.screen.on { opacity: 1; }
.scr-h { display: block; font-size: 13px; margin-bottom: 16px; }
.screen .r { background: #fff; border-radius: 12px; padding: 10px; margin-bottom: 8px; box-shadow: 0 2px 8px rgba(0, 0, 0, .06); line-height: 1.6; }
.ok { display: inline-block; background: #d8f5dd; color: #0a7a2c; border-radius: 999px; padding: 2px 8px; font-size: 9.5px; font-weight: 700; }
.dl { display: block; text-align: center; background: #ff6a1f; color: #fff; border-radius: 999px; padding: 8px; margin-top: 8px; font-weight: 700; }
.bar { height: 6px; background: #e5e5ea; border-radius: 3px; margin-top: 8px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 70%; background: #ff6a1f; }
@media (max-width: 899px) {
  .scrolly { grid-template-columns: 1fr; padding: 40px var(--gut); }
  .st { min-height: 0; padding: 26px 0; }
  html.js .st:not(.act) { opacity: 1; }
  .pin { display: none; }
}

/* ---------------------------------------------------------------- FAQ -- */
.faqcard {
  background: var(--card2); border: 1px solid var(--line); border-radius: 24px;
  padding: clamp(24px, 5vw, 56px); max-width: 980px; margin: 0 auto;
}
.faq-h { font-size: clamp(36px, 5vw, 52px); margin-top: 14px; }

.steps-s { min-width: 0; }

/* Bildausschnitt je Foto (home.json "focus": [x, y] -> data-fx / data-fy) */
.car-img, .cc-img, .ba img { object-position: var(--fx, 50%) var(--fy, 50%); }
[data-fx="0"]{--fx:0%}[data-fx="5"]{--fx:5%}[data-fx="10"]{--fx:10%}[data-fx="15"]{--fx:15%}[data-fx="20"]{--fx:20%}[data-fx="25"]{--fx:25%}[data-fx="30"]{--fx:30%}[data-fx="35"]{--fx:35%}[data-fx="40"]{--fx:40%}[data-fx="45"]{--fx:45%}[data-fx="50"]{--fx:50%}[data-fx="55"]{--fx:55%}[data-fx="60"]{--fx:60%}[data-fx="65"]{--fx:65%}[data-fx="70"]{--fx:70%}[data-fx="75"]{--fx:75%}[data-fx="80"]{--fx:80%}[data-fx="85"]{--fx:85%}[data-fx="90"]{--fx:90%}[data-fx="95"]{--fx:95%}[data-fx="100"]{--fx:100%}
[data-fy="0"]{--fy:0%}[data-fy="5"]{--fy:5%}[data-fy="10"]{--fy:10%}[data-fy="15"]{--fy:15%}[data-fy="20"]{--fy:20%}[data-fy="25"]{--fy:25%}[data-fy="30"]{--fy:30%}[data-fy="35"]{--fy:35%}[data-fy="40"]{--fy:40%}[data-fy="45"]{--fy:45%}[data-fy="50"]{--fy:50%}[data-fy="55"]{--fy:55%}[data-fy="60"]{--fy:60%}[data-fy="65"]{--fy:65%}[data-fy="70"]{--fy:70%}[data-fy="75"]{--fy:75%}[data-fy="80"]{--fy:80%}[data-fy="85"]{--fy:85%}[data-fy="90"]{--fy:90%}[data-fy="95"]{--fy:95%}[data-fy="100"]{--fy:100%}
