/* ============================================================
   Alexander Rodler Funnel — style.css v4
   Clean rebuild: centered hero headline, 320³ cube, no filters
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body {
  background: #080C17;
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: #60A5FA; text-decoration: none; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: #080C17;
}

/* ---- Centered headline block ---- */
.hero__headline {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 32px 60px;
  text-align: center;
  width: 100%;
}

.hero__headline h1 {
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #FFFFFF;
}

.hero__sub {
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 400;
  color: #94A3B8;
  margin-top: 20px;
  line-height: 1.5;
}

.hero__sub strong {
  color: #FFFFFF;
  font-weight: 700;
}

/* Farbakzent in der Headline */
.headline-accent {
  background: linear-gradient(90deg, #FF2D2D 0%, #FF6B35 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Social Proof Strip */
.hero__proof-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 28px;
  font-size: 13px;
  color: #475569;
}

.hero__proof-strip strong {
  color: #94A3B8;
  font-weight: 600;
}

.proof-dot {
  color: #1E293B;
  font-size: 18px;
  line-height: 1;
}

/* ---- Split: Left (cube) + Right (quiz) ---- */
.hero__split {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 0;
}

/* ---- LEFT col ---- */
.hero__left {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 40px 60px;
  /* NO overflow:hidden */
}

/* ============================================================
   3D YOUTUBE PLAY BUTTON — pseudo-element side faces
   ============================================================ */
.play-scene {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 16 / 11;
  margin: 0 auto;
  perspective: 1400px;
  position: relative;
}

.play-scene::before {
  content: "";
  position: absolute;
  inset: -40px;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 0, 0, 0.25) 0%,
    rgba(255, 0, 0, 0.08) 40%,
    transparent 70%
  );
  filter: blur(60px);
  z-index: -1;
  pointer-events: none;
}

.play-button {
  --depth: 28px;

  width: 100%;
  height: 100%;
  border-radius: 32px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  /* preserve-3d so ::before/::after fold as real faces in 3D space */
  transform-style: preserve-3d;
  /* WARNING: never add overflow:hidden here — flattens preserve-3d */

  background: linear-gradient(160deg, #FF1F1F 0%, #CC0000 55%, #A00000 100%);
  box-shadow:
    inset 0 3px 0 rgba(255, 255, 255, 0.28),
    inset 0 -12px 28px rgba(0, 0, 0, 0.28),
    inset -3px 0 10px rgba(0, 0, 0, 0.18),
    0 var(--depth) calc(var(--depth) * 2.5) rgba(0, 0, 0, 0.70),
    0 0 80px rgba(255, 0, 0, 0.22);

  animation: playTilt 7s ease-in-out infinite;
}

/* ---- Bottom face ---- */
/* Folds backward from the bottom edge. 2D footprint = front face → no bleed. */
.play-button::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: var(--depth);
  background: linear-gradient(to bottom, #8A0000 0%, #5A0000 60%, #3A0000 100%);
  border-radius: 0 0 6px 6px;
  transform-origin: top center;
  transform: rotateX(-90deg);
  backface-visibility: hidden;
  pointer-events: none;
}

/* X stays negative → bottom face always visible. */
@keyframes playTilt {
  0%   { transform: rotateX(-5deg) rotateY(-8deg);  }
  25%  { transform: rotateX(-3deg) rotateY(-12deg); }
  50%  { transform: rotateX(-7deg) rotateY(-10deg); }
  75%  { transform: rotateX(-4deg) rotateY(-6deg);  }
  100% { transform: rotateX(-5deg) rotateY(-8deg);  }
}

.play-button__triangle {
  position: relative;
  width: 0;
  height: 0;
  border-left: 70px solid #ffffff;
  border-top: 44px solid transparent;
  border-bottom: 44px solid transparent;
  margin-left: 14px;
  /* translateZ(1px) keeps triangle on the front face, prevents z-fighting */
  transform: translateZ(1px);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.40));
}

/* ============================================================
   VORTEILE — 4-spaltiges Grid unter dem Hero-Split
   ============================================================ */
.benefits-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1200px;
  margin: 80px auto 0;
  padding: 0 40px 80px;
}

.benefits-box {
  background: rgba(15, 23, 41, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 22px 20px;
}

.benefits-box h3 {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 8px;
  line-height: 1.3;
}

.benefits-box p {
  font-size: 14px;
  color: #94A3B8;
  margin: 0;
  line-height: 1.5;
}

/* ============================================================
   RIGHT COL — Quiz
   ============================================================ */
.hero__right {
  padding: 24px 56px 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
}

.quiz-header__title {
  font-size: 22px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.025em;
  margin-bottom: 4px;
}

.quiz-header__sub {
  font-size: 14px;
  color: #475569;
}

/* Progress */
.quiz-progress {
  display: flex;
  align-items: center;
  gap: 12px;
}

.quiz-progress__track {
  flex: 1;
  height: 3px;
  background: #1A2236;
  border-radius: 99px;
  overflow: hidden;
}

.quiz-progress__fill {
  height: 100%;
  background: linear-gradient(90deg, #7C3AED, #A78BFA);
  border-radius: 99px;
  transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.quiz-progress__label {
  font-size: 11px;
  font-weight: 600;
  color: #2D3F5C;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

/* Quiz steps */
.quiz-step         { display: none; }
.quiz-step.active  { display: flex; flex-direction: column; gap: 12px; animation: fadeUp 0.22s ease; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.quiz-step__q {
  font-size: clamp(16px, 1.5vw, 18px);
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.4;
  letter-spacing: -0.015em;
}

.quiz-options { display: flex; flex-direction: column; gap: 10px; }

.quiz-option {
  width: 100%;
  text-align: left;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 14px 20px;
  color: #94A3B8;
  font-size: 14px;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  line-height: 1.4;
  transition: border-color 0.18s, color 0.18s, background 0.18s;
}

.quiz-option:hover {
  border-color: rgba(124, 58, 237, 0.55);
  color: #FFFFFF;
  background: rgba(124, 58, 237, 0.07);
}

.quiz-option:focus-visible { outline: 2px solid #A78BFA; outline-offset: 2px; }

.quiz-option.selected {
  border-color: #7C3AED;
  background: rgba(124, 58, 237, 0.10);
  color: #FFFFFF;
}

/* Loading */
.quiz-loading {
  align-items: center;
  text-align: center;
  padding: 24px 0;
}

.quiz-loading__spinner {
  width: 30px;
  height: 30px;
  border: 2.5px solid #1A2236;
  border-top-color: #3B82F6;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin: 0 auto 14px;
}

@keyframes spin { to { transform: rotate(360deg); } }
.quiz-loading__text { font-size: 14px; color: #475569; font-weight: 500; }

/* Qualified */
.quiz-qualified {
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 8px 0;
}

.quiz-qualified__badge {
  width: 54px;
  height: 54px;
  background: rgba(124, 58, 237, 0.12);
  border: 1.5px solid rgba(124, 58, 237, 0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quiz-qualified__badge svg { width: 22px; height: 22px; color: #A78BFA; }
.quiz-qualified h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; color: #FFFFFF; }
.quiz-qualified p  { font-size: 13px; color: #64748B; line-height: 1.6; max-width: 300px; }

/* Disqualified */
.quiz-disqualified { align-items: center; text-align: center; gap: 12px; padding: 8px 0; }
.quiz-disqualified h3 { font-size: 17px; font-weight: 700; color: #FFFFFF; }
.quiz-disqualified p  { font-size: 13px; color: #64748B; line-height: 1.6; max-width: 320px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, #7C3AED 0%, #5B21B6 100%);
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 700;
  padding: 13px 30px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  line-height: 1;
  transition: background 0.18s, box-shadow 0.2s, transform 0.12s;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 24px rgba(124, 58, 237, 0.30);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 100%);
  box-shadow: 0 0 36px 8px rgba(124, 58, 237, 0.40);
  transform: translateY(-1px);
  color: #FFFFFF;
  text-decoration: none;
}

.btn-primary:focus-visible { outline: 2px solid #A78BFA; outline-offset: 2px; }

.btn-secondary {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.1);
  color: #64748B;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 22px;
  border-radius: 10px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  background: transparent;
  transition: border-color 0.18s, color 0.18s;
  text-decoration: none;
}

.btn-secondary:hover { border-color: #3B82F6; color: #FFFFFF; text-decoration: none; }

/* ============================================================
   CONTACT FORM (qualified panel)
   ============================================================ */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin-top: 8px;
}

.contact-form input {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.18s;
  box-sizing: border-box;
}

.contact-form input::placeholder { color: #475569; }

.contact-form input:focus { border-color: rgba(59,130,246,0.6); }

.contact-form .btn-primary,
.btn-calendly {
  width: 100%;
  text-align: center;
  margin-top: 4px;
  font-size: 16px;
  padding: 16px 30px;
}

/* ============================================================
   PROOF SECTION
   ============================================================ */
.proof-section {
  padding: 96px 52px;
  background: #080C17;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.proof-section__header {
  text-align: center;
  margin-bottom: 52px;
}

.proof-section__header h2 {
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.proof-section__header p {
  font-size: 16px;
  color: #334155;
  font-weight: 500;
}

.proof__grid {
  column-count: 3;
  column-gap: 18px;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
}

.proof__item {
  break-inside: avoid;
  margin-bottom: 18px;
  background: #0F1729;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  overflow: hidden;
  display: block;
  transition: none;
  transform: none;
}

.proof__item img {
  width: 100%;
  height: auto;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

@media (max-width: 900px) {
  .proof__grid { column-count: 2; column-gap: 14px; padding: 0 24px; }
  .proof__item { margin-bottom: 14px; }
}

@media (max-width: 500px) {
  .proof__grid { column-count: 1; padding: 0 16px; }
}

.proof-section__disclaimer {
  text-align: center;
  font-size: 12px;
  font-style: italic;
  color: #1E293B;
}


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 22px 52px;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__copy { font-size: 13px; color: #1E293B; }
.footer__links { display: flex; gap: 20px; }
.footer__links a { font-size: 13px; color: #1E293B; transition: color 0.18s; }
.footer__links a:hover { color: #475569; text-decoration: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .hero__right { padding-right: 32px; padding-left: 24px; }
  .hero__left  { padding-left: 24px; padding-right: 24px; }
  .proof-section { padding-left: 32px; padding-right: 32px; }
  .proof__grid { padding: 0 20px; }
  .footer { padding-left: 32px; padding-right: 32px; }
}

@media (max-width: 768px) {
  .hero { min-height: auto; }

  .hero__headline { padding: 60px 20px 90px; }
  .hero__headline h1 { font-size: 32px; }
  .hero__sub { font-size: 17px; }

  .hero__split {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .hero__left {
    order: 1;
    width: 100%;
    min-height: auto;
    padding: 96px 24px 48px;
    align-items: center;
  }

  /* Play Button: volle Breite, aspect-ratio zieht Höhe automatisch */
  .play-scene {
    max-width: 320px;
    margin: 0 auto;
  }

  .play-button { --depth: 18px; }

  .play-button__triangle {
    border-left-width: 50px;
    border-top-width: 31px;
    border-bottom-width: 31px;
    margin-left: 10px;
  }

  /* Quiz below button */
  .hero__right {
    order: 2;
    width: 100%;
    padding: 56px 16px 48px;
    min-height: auto;
    gap: 18px;
  }

  .quiz-option { font-size: 14px; padding: 13px 16px; }

  /* Benefits: 2×2 auf Mobile */
  .benefits-row {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 0 16px 60px;
    margin-top: 72px;
  }

  .benefits-box { padding: 16px 14px; }
  .benefits-box h3 { font-size: 14px; }
  .benefits-box p  { font-size: 12px; }

  .proof-section { padding: 56px 16px; }

  .footer { padding: 20px 16px; flex-direction: column; text-align: center; }
  .footer__links { justify-content: center; }
}

@media (max-width: 430px) {
  .hero__headline h1 { font-size: 28px; }
}
