/* =============================================================
   sc-funnel.css — high-conversion funnel components
   Architecture adapted from the Mission Mittelstand / Matthias
   Aumann landing-page system, re-skinned to the saarcheck DS:
   graphite canvas, cyan as the single signal, Raleway display.
   Loaded after sc-styles.css.
   ============================================================= */

/* ---------- big primary CTA pill (echoes the Aumann LED button) ---------- */
.sc-cta-pill {
  display: inline-flex; align-items: center; gap: 18px;
  padding: 6px 30px 6px 6px;
  border-radius: var(--r-pill);
  background: linear-gradient(100deg, var(--cyan-500), var(--cyan-400) 60%);
  color: var(--color-accent-ink);
  font-family: var(--font-body); font-weight: var(--w-bold);
  font-size: var(--t-h4); letter-spacing: -0.01em;
  text-decoration: none; border: 0; cursor: pointer;
  position: relative; overflow: hidden;
  box-shadow: 0 0 0 1px var(--line-accent), 0 18px 50px -18px var(--cyan-glow);
  transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-med) var(--ease-out), filter var(--t-fast) var(--ease-out);
}
.sc-cta-pill::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image:
    linear-gradient(rgba(0,40,48,0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,40,48,0.18) 1px, transparent 1px);
  background-size: 13px 13px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 70%);
          mask-image: linear-gradient(90deg, #000, transparent 70%);
}
.sc-cta-pill:hover { filter: brightness(1.05); box-shadow: 0 0 0 1px var(--line-accent), var(--glow-accent), 0 22px 60px -18px var(--cyan-glow); }
.sc-cta-pill:active { transform: translateY(1px); }
.sc-cta-pill__ic {
  width: 52px; height: 52px; flex: 0 0 auto; border-radius: 50%;
  background: var(--bg-1); color: var(--cyan-400);
  display: flex; align-items: center; justify-content: center; position: relative; z-index: 1;
}
.sc-cta-pill__ic svg { width: 22px; height: 22px; }
.sc-cta-pill span { position: relative; z-index: 1; }
.sc-cta-pill--sm { font-size: var(--t-body); padding: 5px 24px 5px 5px; gap: 13px; }
.sc-cta-pill--sm .sc-cta-pill__ic { width: 42px; height: 42px; }
.sc-cta-pill--sm .sc-cta-pill__ic svg { width: 18px; height: 18px; }

/* ---------- FUNNEL HERO ---------- */
.sc-fhero { position: relative; overflow: hidden; text-align: center; }
.sc-fhero__grid {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.45;
  background-image:
    linear-gradient(var(--line-1) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-1) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(120% 80% at 50% 0%, #000 0%, transparent 70%);
          mask-image: radial-gradient(120% 80% at 50% 0%, #000 0%, transparent 70%);
}
.sc-fhero__glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 50% at 50% -5%, var(--cyan-glow-soft), transparent 65%); }
.sc-fhero__inner { position: relative; z-index: 1; padding-block: clamp(40px, 6vw, 76px) clamp(48px, 7vw, 88px); display: flex; flex-direction: column; align-items: center; }
.sc-fhero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: var(--t-caption); letter-spacing: var(--tr-mono);
  text-transform: uppercase; color: var(--fg-3);
  border: 1px solid var(--line-2); border-radius: var(--r-pill); padding: 8px 16px; background: var(--bg-2);
}
.sc-fhero__eyebrow .sc-eyebrow__dot { width: 7px; height: 7px; flex: 0 0 auto; }
.sc-fhero h1 {
  font-family: var(--font-display); font-weight: var(--w-light);
  font-size: clamp(38px, 4.8vw, 68px); line-height: 1.08; letter-spacing: var(--tr-display);
  color: var(--fg-1); margin: var(--s-7) 0 0; max-width: 20ch; text-wrap: balance;
}
.sc-fhero h1 .hl { font-weight: var(--w-medium); }
.sc-fhero__sub { margin: var(--s-6) auto 0; color: var(--fg-2); font-size: var(--t-body-l); line-height: var(--lh-body); max-width: 56ch; }
.sc-fhero__cta { margin-top: var(--s-8); display: flex; flex-direction: column; align-items: center; gap: var(--s-4); }
.sc-fhero__microcopy { display: inline-flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: center; color: var(--fg-3); font-size: var(--t-body-s); }
.sc-fhero__microcopy span { display: inline-flex; align-items: center; gap: 6px; }
.sc-fhero__microcopy svg { width: 14px; height: 14px; color: var(--cyan-400); }

/* social proof row */
.sc-social { display: flex; align-items: center; gap: 16px; margin-top: var(--s-8); justify-content: center; flex-wrap: wrap; }
.sc-avatars { display: flex; }
.sc-avatars image-slot, .sc-avatars .sc-av {
  width: 44px; height: 44px; border-radius: 50%; margin-left: -12px;
  box-shadow: 0 0 0 2px var(--bg-1); overflow: hidden; flex: 0 0 auto;
  background: var(--bg-3);
}
.sc-avatars image-slot:first-child, .sc-avatars .sc-av:first-child { margin-left: 0; }
.sc-social__txt { text-align: left; color: var(--fg-2); font-size: var(--t-body-s); line-height: 1.4; max-width: 34ch; }
.sc-social__txt b { color: var(--fg-1); font-weight: var(--w-semibold); }

/* video / film frame */
.sc-filmwrap { position: relative; z-index: 1; width: 100%; max-width: 980px; margin: var(--s-9) auto 0; }
.sc-film { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-4); overflow: hidden; border: 1px solid var(--line-2); background: var(--bg-0); box-shadow: var(--shadow-2); }
.sc-film image-slot { position: absolute; inset: 0; width: 100%; height: 100%; }
.sc-film__scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(20,20,19,0.15), rgba(20,20,19,0.5)); }
.sc-film__play {
  position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 84px; height: 84px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--cyan-400); color: var(--color-accent-ink);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--glow-accent); transition: transform var(--t-fast) var(--ease-out), background var(--t-fast) var(--ease-out);
}
.sc-film__play:hover { transform: translate(-50%,-50%) scale(1.06); background: var(--cyan-300); }
.sc-film__play svg { width: 30px; height: 30px; margin-left: 4px; }
.sc-film__tag { position: absolute; z-index: 2; left: 16px; bottom: 16px; font-family: var(--font-mono); font-size: var(--t-caption); letter-spacing: var(--tr-mono); color: rgba(245,245,242,0.85); background: rgba(20,20,19,0.55); padding: 6px 10px; border-radius: var(--r-2); border: 1px solid var(--line-2); }
.sc-film__corners span { position: absolute; z-index: 2; width: 22px; height: 22px; border: 1.5px solid rgba(39,224,251,0.7); }
.sc-film__corners span:nth-child(1){ top:12px; left:12px; border-right:0; border-bottom:0; }
.sc-film__corners span:nth-child(2){ top:12px; right:12px; border-left:0; border-bottom:0; }
.sc-film__corners span:nth-child(3){ bottom:12px; left:12px; border-right:0; border-top:0; }
.sc-film__corners span:nth-child(4){ bottom:12px; right:12px; border-left:0; border-top:0; }

/* trust check row + stars */
.sc-trustrow { display: flex; gap: var(--s-8); flex-wrap: wrap; justify-content: center; margin-top: var(--s-8); }
.sc-trustrow span { display: inline-flex; align-items: center; gap: 9px; color: var(--fg-1); font-size: var(--t-body); font-weight: var(--w-medium); }
.sc-trustrow svg { width: 18px; height: 18px; color: var(--cyan-400); flex: 0 0 auto; }
.sc-stars { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: var(--s-8); }
.sc-stars__row { display: flex; gap: 5px; color: var(--cyan-400); }
.sc-stars__row svg { width: 22px; height: 22px; }
.sc-stars small { font-family: var(--font-mono); font-size: var(--t-caption); letter-spacing: var(--tr-mono); color: var(--fg-3); text-transform: uppercase; }

/* ---------- VORHER / HEUTE proof cards ---------- */
.sc-proof-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 1fr); gap: var(--s-5); overflow-x: auto; padding-bottom: var(--s-4); scroll-snap-type: x mandatory; }
.sc-proof-scroll::-webkit-scrollbar { height: 6px; }
.sc-proof-scroll::-webkit-scrollbar-thumb { background: var(--line-3); border-radius: 3px; }
@media (min-width: 1080px) { .sc-proof-scroll { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; } }
.sc-proof {
  scroll-snap-align: start; background: var(--bg-2); border: 1px solid var(--line-2);
  border-radius: var(--r-4); padding: var(--s-7); display: flex; flex-direction: column; gap: var(--s-5);
}
.sc-proof__label { font-family: var(--font-mono); font-size: var(--t-caption); letter-spacing: var(--tr-mono); color: var(--fg-3); text-transform: uppercase; }
.sc-proof__row { display: flex; flex-direction: column; gap: 3px; }
.sc-proof__k { font-family: var(--font-mono); font-size: var(--t-caption); letter-spacing: var(--tr-mono); color: var(--fg-4); text-transform: uppercase; }
.sc-proof__vorher { font-family: var(--font-display); font-weight: var(--w-light); font-size: var(--t-h3); color: var(--fg-4); text-decoration: line-through; text-decoration-color: var(--line-3); }
.sc-proof__arrow { color: var(--cyan-400); display: flex; }
.sc-proof__arrow svg { width: 18px; height: 18px; }
.sc-proof__heute { font-family: var(--font-display); font-weight: var(--w-medium); font-size: var(--t-h2); color: var(--cyan-400); line-height: 1.05; }
.sc-proof__who { margin-top: auto; display: flex; align-items: center; gap: 10px; padding-top: var(--s-4); border-top: 1px solid var(--line-1); }
.sc-proof__who image-slot { width: 34px; height: 34px; flex: 0 0 auto; }
.sc-proof__who span { font-size: var(--t-caption); color: var(--fg-3); line-height: 1.3; }
.sc-proof__who b { display: block; color: var(--fg-1); font-size: var(--t-body-s); font-weight: var(--w-semibold); }

/* ---------- 4-step method (numbered, Aumann-style) ---------- */
.sc-method { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); border-radius: var(--r-4); overflow: hidden; }
.sc-mstep { background: var(--bg-1); padding: var(--s-8); display: flex; flex-direction: column; gap: var(--s-3); position: relative; transition: background var(--t-med) var(--ease-out); }
.sc-mstep:hover { background: var(--bg-2); }
.sc-mstep__no { font-family: var(--font-display); font-weight: var(--w-thin); font-size: 56px; line-height: 1; color: var(--cyan-400); opacity: 0.9; letter-spacing: var(--tr-display); }
.sc-mstep h3 { margin: var(--s-3) 0 0; font-family: var(--font-display); font-weight: var(--w-medium); font-size: var(--t-h3); color: var(--fg-1); }
.sc-mstep h3 em { font-style: normal; color: var(--fg-3); }
.sc-mstep p { margin: 0; color: var(--fg-2); font-size: var(--t-body); line-height: var(--lh-body); }

/* ---------- founder / authority ---------- */
.sc-founder { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(28px,4vw,64px); align-items: center; }
.sc-founder__media { position: relative; }
.sc-founder__media image-slot { width: 100%; aspect-ratio: 4 / 5; border-radius: var(--r-4); overflow: hidden; border: 1px solid var(--line-2); }
.sc-founder__badge { position: absolute; left: -14px; bottom: 22px; background: var(--bg-2); border: 1px solid var(--line-3); border-radius: var(--r-3); padding: 12px 16px; box-shadow: var(--shadow-2); display: flex; align-items: center; gap: 10px; }
.sc-founder__badge svg { width: 22px; height: 22px; color: var(--cyan-400); }
.sc-founder__badge b { font-family: var(--font-display); font-size: var(--t-h4); color: var(--fg-1); font-weight: var(--w-medium); display: block; line-height: 1; }
.sc-founder__badge small { font-size: var(--t-caption); color: var(--fg-3); }
.sc-founder h2 { font-family: var(--font-display); font-weight: var(--w-light); font-size: var(--t-display-m); line-height: var(--lh-tight); letter-spacing: var(--tr-display); margin: var(--s-4) 0 0; }
.sc-founder__lead { color: var(--fg-2); font-size: var(--t-body-l); line-height: var(--lh-body); margin: var(--s-5) 0 0; max-width: 50ch; }
.sc-creds { list-style: none; margin: var(--s-7) 0 0; padding: 0; display: flex; flex-direction: column; gap: var(--s-4); }
.sc-creds li { display: flex; align-items: flex-start; gap: 12px; color: var(--fg-1); font-size: var(--t-body); }
.sc-creds svg { width: 18px; height: 18px; color: var(--cyan-400); flex: 0 0 auto; margin-top: 3px; }
.sc-creds b { font-weight: var(--w-semibold); }

/* ---------- promise / checklist ---------- */
.sc-promise { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,4vw,72px); align-items: center; }
.sc-checklist { list-style: none; margin: var(--s-6) 0 0; padding: 0; display: grid; gap: var(--s-3); }
.sc-checklist li { display: flex; align-items: center; gap: 14px; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--r-3); padding: 16px 18px; color: var(--fg-1); font-size: var(--t-body); font-weight: var(--w-medium); transition: border-color var(--t-fast) var(--ease-out); }
.sc-checklist li:hover { border-color: var(--line-accent); }
.sc-checklist__ic { width: 26px; height: 26px; border-radius: 50%; background: var(--cyan-glow); color: var(--cyan-400); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.sc-checklist__ic svg { width: 15px; height: 15px; }

/* ---------- FAQ accordion ---------- */
.sc-faq { border-top: 1px solid var(--line-2); }
.sc-faq__item { border-bottom: 1px solid var(--line-2); }
.sc-faq__q { width: 100%; background: transparent; border: 0; cursor: pointer; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); padding: var(--s-6) 0; color: var(--fg-1); font-family: var(--font-display); font-weight: var(--w-medium); font-size: var(--t-h4); transition: color var(--t-fast) var(--ease-out); }
.sc-faq__q:hover { color: var(--cyan-400); }
.sc-faq__ic { width: 24px; height: 24px; flex: 0 0 auto; position: relative; }
.sc-faq__ic::before, .sc-faq__ic::after { content: ""; position: absolute; background: var(--cyan-400); border-radius: 2px; transition: transform var(--t-med) var(--ease-out), opacity var(--t-med) var(--ease-out); }
.sc-faq__ic::before { left: 4px; right: 4px; top: 11px; height: 2px; }
.sc-faq__ic::after { top: 4px; bottom: 4px; left: 11px; width: 2px; }
.sc-faq__item.is-open .sc-faq__ic::after { transform: scaleY(0); opacity: 0; }
.sc-faq__a { overflow: hidden; max-height: 0; transition: max-height var(--t-slow) var(--ease-out); }
.sc-faq__a-inner { padding: 0 0 var(--s-7); color: var(--fg-2); font-size: var(--t-body); line-height: var(--lh-loose); max-width: 70ch; }

/* ---------- closing emotional CTA band ---------- */
.sc-close { position: relative; overflow: hidden; text-align: center; }
.sc-close__bg { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(70% 80% at 50% 0%, var(--cyan-glow-soft), transparent 60%); }
.sc-close__inner { position: relative; z-index: 1; max-width: 860px; margin-inline: auto; display: flex; flex-direction: column; align-items: center; }
.sc-close h2 { font-family: var(--font-display); font-weight: var(--w-light); font-size: clamp(34px, 5vw, 68px); line-height: var(--lh-tight); letter-spacing: var(--tr-display); margin: var(--s-5) 0 0; text-wrap: balance; }
.sc-close h2 .hl { color: var(--cyan-400); }
.sc-close__lead { color: var(--fg-2); font-size: var(--t-body-l); line-height: var(--lh-body); margin: var(--s-6) 0 0; max-width: 60ch; }
.sc-close__cta { margin-top: var(--s-8); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .sc-method { grid-template-columns: 1fr; }
  .sc-founder { grid-template-columns: 1fr; }
  .sc-founder__media { max-width: 360px; }
  .sc-promise { grid-template-columns: 1fr; }
  .sc-social__txt { max-width: 28ch; }
}
@media (max-width: 720px) {
  .sc-cta-pill { font-size: var(--t-body); padding: 5px 22px 5px 5px; }
  .sc-cta-pill__ic { width: 44px; height: 44px; }
  .sc-trustrow { gap: var(--s-5); }
}
