/* Digitaler Unternehmenserfolg – Casestudy-Funnel
   CI: Schwarz #000000, Weiss #FFFFFF, Orange #FFA600 */

:root {
  --bg: #08080a;
  --bg-alt: #0f1013;
  --card: #15161a;
  --line: rgba(255, 255, 255, 0.10);
  --text: #ffffff;
  --muted: #a8abb4;
  --accent: #ffa600;
  --accent-dark: #e08f00;
  --green: #35c26a;
  --radius: 16px;
  --maxw: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--accent); }

h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(30px, 4.4vw, 52px); font-weight: 800; }
h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; }
h3 { font-size: clamp(19px, 2vw, 23px); font-weight: 700; }
p { margin: 0 0 1em; }
strong { color: #fff; font-weight: 700; }
.accent { color: var(--accent); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
section { padding: 72px 0; }
section.tight { padding: 48px 0; }
.alt { background: var(--bg-alt); }
.center { text-align: center; }
.lead { font-size: clamp(17px, 1.8vw, 20px); color: var(--muted); }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}

/* ---------- Topbar ---------- */
.topbar {
  background: var(--accent); color: #111; text-align: center;
  font-weight: 700; font-size: 15px; padding: 11px 20px; line-height: 1.4;
}

/* ---------- Hero ---------- */
.hero { padding: 56px 0 64px; position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; inset: auto -20% -60% -20%; height: 420px;
  background: radial-gradient(closest-side, rgba(255, 166, 0, .16), transparent 70%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 46px; align-items: start; position: relative; z-index: 1; }
.hero h1 { margin-bottom: .45em; }
.hero-sub { font-size: clamp(17px, 1.7vw, 19px); color: #d7d9df; margin-bottom: 26px; }
.hero-img { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin-bottom: 24px; }
.hero-img img { width: 100%; height: 270px; object-fit: cover; object-position: center 22%; }
#optin { position: sticky; top: 22px; }

/* ---------- Checkliste ---------- */
.checks { list-style: none; margin: 0 0 26px; padding: 0; }
.checks li { position: relative; padding: 0 0 0 36px; margin-bottom: 13px; font-size: 17px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='12' fill='black'/></svg>") center/contain no-repeat;
}
.checks li::after {
  content: ""; position: absolute; left: 6px; top: 10px; width: 10px; height: 5px;
  border-left: 2.5px solid #111; border-bottom: 2.5px solid #111; transform: rotate(-45deg);
}

/* ---------- Formular-Karte ---------- */
.formcard {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px 24px; box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
}
.formcard h3 { font-size: 22px; margin-bottom: 6px; }
.formcard .sub { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.field { margin-bottom: 13px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: #c9ccd4; margin-bottom: 6px; }
.field input {
  width: 100%; padding: 14px 15px; font-size: 16px; font-family: var(--font);
  background: #0b0c0f; color: #fff; border: 1px solid rgba(255, 255, 255, .16); border-radius: 10px;
}
.field input::placeholder { color: #63676f; }
.field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255, 166, 0, .18); }
.field input:invalid:not(:placeholder-shown) { border-color: #d1495b; }

.btn {
  display: block; width: 100%; border: 0; cursor: pointer; text-decoration: none;
  background: var(--accent); color: #111; font-family: var(--font); font-weight: 800;
  font-size: 18px; line-height: 1.3; padding: 17px 22px; border-radius: 12px; text-align: center;
  transition: transform .12s ease, background .12s ease;
}
.btn:hover { background: #ffb52b; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.btn small { display: block; font-size: 13px; font-weight: 600; opacity: .82; margin-top: 3px; }
.btn.ghost { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); }
.btn.ghost:hover { background: rgba(255, 166, 0, .1); }
.btn-inline { display: inline-block; width: auto; padding-left: 40px; padding-right: 40px; }

.privacy { font-size: 12.5px; color: #7d818b; margin: 14px 0 0; line-height: 1.5; }
.privacy a { color: #9aa0aa; }
.formnote { font-size: 13px; color: var(--muted); margin-top: 12px; text-align: center; }
.formnote span { color: var(--green); font-weight: 600; }
.error {
  display: none; background: rgba(209, 73, 91, .12); border: 1px solid rgba(209, 73, 91, .5);
  color: #ff9aa7; font-size: 14px; padding: 11px 13px; border-radius: 10px; margin-bottom: 14px;
}
.error.show { display: block; }

/* ---------- CTA-Block (wiederholt) ---------- */
.ctaband { text-align: center; padding: 52px 0; }
.ctaband h3 { margin-bottom: 8px; }
.ctaband p { color: var(--muted); margin-bottom: 22px; }

/* ---------- Karten / Raster ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; font-size: 16px; }

/* Vorher / Nachher */
.ba { border-radius: var(--radius); padding: 28px 26px; border: 1px solid var(--line); }
.ba.before { background: #131316; }
.ba.after { background: linear-gradient(180deg, rgba(255, 166, 0, .10), rgba(255, 166, 0, .02)); border-color: rgba(255, 166, 0, .35); }
.ba h3 { display: flex; align-items: center; gap: 10px; }
.ba .tag { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.before .tag { background: rgba(255, 255, 255, .1); color: #b9bcc4; }
.after .tag { background: var(--accent); color: #111; }
.ba ul { margin: 0; padding-left: 20px; color: var(--muted); }
.ba li { margin-bottom: 9px; }
.ba.after li { color: #e9eaee; }

/* Zahlen */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 26px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 18px; text-align: center; }
.stat .num { font-size: clamp(34px, 4.6vw, 50px); font-weight: 800; color: var(--accent); line-height: 1; letter-spacing: -.03em; }
.stat .lbl { font-size: 15px; color: var(--muted); margin-top: 8px; }

/* Probleme */
.pain { list-style: none; margin: 0; padding: 0; }
.pain li {
  position: relative; background: var(--card); border: 1px solid var(--line); border-left: 3px solid #d1495b;
  border-radius: 12px; padding: 16px 18px; margin-bottom: 12px; color: #d3d5db; font-size: 16px;
}
.warnbox {
  background: linear-gradient(180deg, rgba(255, 166, 0, .13), rgba(255, 166, 0, .03));
  border: 1px solid rgba(255, 166, 0, .38); border-radius: var(--radius); padding: 26px 24px; margin-top: 26px;
}
.warnbox p:last-child { margin-bottom: 0; }

/* Autoritaet / Testimonials */
.quote { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.quote p { font-size: 18px; color: #fff; font-weight: 600; margin-bottom: 12px; }
.quote .who { color: var(--muted); font-size: 14px; margin: 0; font-weight: 400; }
.badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.badge {
  border: 1px solid var(--line); background: var(--card); border-radius: 999px;
  padding: 9px 16px; font-size: 14px; color: #cfd2d8;
}
.badge b { color: var(--accent); }

.bio { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: center; }
.bio img { border-radius: var(--radius); border: 1px solid var(--line); }

/* FAQ */
.faq details {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 20px; margin-bottom: 11px;
}
.faq summary { cursor: pointer; font-weight: 700; font-size: 17px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--accent); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { color: var(--muted); margin: 12px 0 0; font-size: 16px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 34px 0 44px; color: #767a84; font-size: 14px; text-align: center; }
footer img { height: 30px; margin: 0 auto 14px; opacity: .85; }
footer a { color: #9aa0aa; text-decoration: none; margin: 0 10px; }

/* Sticky CTA (mobil) */
.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(8, 8, 10, .94); backdrop-filter: blur(8px); border-top: 1px solid var(--line);
}
.sticky .btn { font-size: 16px; padding: 14px; }

/* Consent */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; display: none;
  background: #14151a; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px;
  max-width: 520px; box-shadow: 0 20px 50px rgba(0, 0, 0, .6);
}
.consent.show { display: block; }
.consent p { font-size: 14px; color: var(--muted); margin: 0 0 14px; }
.consent .row { display: flex; gap: 10px; }
.consent .btn { font-size: 15px; padding: 11px 16px; }

/* ---------- Danke-Seite / Angebot ---------- */
.offer {
  background: var(--card); border: 1px solid rgba(255, 166, 0, .35); border-radius: 20px;
  padding: 34px 32px; box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
}
.price { display: flex; align-items: baseline; gap: 12px; margin: 8px 0 18px; flex-wrap: wrap; }
.price .now { font-size: 46px; font-weight: 800; color: var(--accent); line-height: 1; }
.price .note { color: var(--muted); font-size: 15px; }
.modules { list-style: none; margin: 0 0 22px; padding: 0; }
.modules li {
  border-bottom: 1px solid var(--line); padding: 14px 0 14px 34px; position: relative; font-size: 16px;
}
.modules li:last-child { border-bottom: 0; }
.modules li::before {
  content: ""; position: absolute; left: 4px; top: 20px; width: 11px; height: 6px;
  border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg);
}
.modules li b { display: block; }
.modules li span { color: var(--muted); font-size: 15px; }
.modules li.bonus { background: rgba(255, 166, 0, .07); border-radius: 10px; padding-left: 34px; padding-right: 14px; }
.ribbon {
  display: inline-block; background: var(--accent); color: #111; font-size: 12px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}
.steps { counter-reset: s; list-style: none; margin: 0; padding: 0; }
.steps li { position: relative; padding-left: 52px; margin-bottom: 20px; }
.steps li::before {
  counter-increment: s; content: counter(s); position: absolute; left: 0; top: 0;
  width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #111;
  font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.steps li b { display: block; margin-bottom: 2px; }
.steps li span { color: var(--muted); font-size: 15.5px; }

/* Video */
.videoframe {
  position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.videoframe iframe, .videoframe video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Mobil ---------- */
@media (max-width: 900px) {
  .hero-grid, .bio { grid-template-columns: 1fr; gap: 28px; }
  #optin { position: static; }
  .hero-img img { height: 210px; }
  .grid-2, .grid-3, .stats { grid-template-columns: 1fr; }
  .stats { gap: 12px; }
  .stat { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 18px; }
  .stat .lbl { margin-top: 0; text-align: left; }
  section { padding: 52px 0; }
  .sticky { display: block; }
  body.has-sticky { padding-bottom: 84px; }
  .offer { padding: 26px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
