/* mikaelschroeter.de – eigenes Design, dunkel mit Strom-Gelb */

@font-face {
  font-family: "Bricolage";
  src: url("../fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #0a0b0d;
  --bg-2: #111317;
  --card: #15181d;
  --card-2: #1b1f26;
  --line: #262a33;
  --text: #f3f2ee;
  --muted: #a3a7b0;
  --dim: #6d727c;
  --accent: #ffcf3d;
  --accent-2: #ffe28a;
  --accent-ink: #141414;
  --ok: #5fd38d;
  --danger: #ff6b6b;
  --radius: 18px;
  --radius-lg: 28px;
  --max: 1140px;
  --head: "Bricolage", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--head); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -0.02em; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 6.2vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; }
.hl { color: var(--accent); }
.muted { color: var(--muted); }
.small { font-size: .85rem; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
section { padding: clamp(64px, 10vw, 120px) 0; position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em;
  color: var(--accent); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--accent); border-radius: 2px; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 640px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 1rem/1 var(--body);
  padding: 18px 28px; border-radius: 999px; border: 0; cursor: pointer;
  text-decoration: none; transition: transform .15s ease, box-shadow .2s ease, background .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 40px -10px rgba(255, 207, 61, .55); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 50px -12px rgba(255, 207, 61, .7); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--muted); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-block { width: 100%; }
.cta-note { font-size: .85rem; color: var(--dim); margin-top: 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 11, 13, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--head); font-weight: 700; font-size: 1.1rem; letter-spacing: -0.01em; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 10px; background: var(--accent); color: var(--accent-ink);
  display: grid; place-items: center; font-size: .9rem; font-weight: 800;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: .95rem; transition: color .15s; }
.nav-links a:hover { color: var(--text); }
.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: var(--accent-ink); }
.nav .btn { padding: 12px 20px; font-size: .92rem; }
@media (max-width: 860px) { .nav-links a:not(.btn) { display: none; } }

/* Hero */
.hero { padding-top: clamp(48px, 8vw, 96px); padding-bottom: clamp(64px, 8vw, 100px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 720px; height: 720px;
  background: radial-gradient(closest-side, rgba(255, 207, 61, .16), transparent 70%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 .line { display: block; }
.hero .lead { margin-bottom: 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; color: var(--muted); font-size: .92rem; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { color: var(--accent); flex: none; }
.portrait {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(160deg, #1d2129, #0f1114); border: 1px solid var(--line);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait-placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: var(--dim); font-size: .9rem; text-align: center; padding: 24px; }
.portrait-badge {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  background: rgba(10, 11, 13, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.portrait-badge strong { font-family: var(--head); font-size: 1.05rem; display: block; }
.portrait-badge span { color: var(--muted); font-size: .82rem; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(95, 211, 141, .6); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(95, 211, 141, 0); } 100% { box-shadow: 0 0 0 0 rgba(95, 211, 141, 0); } }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .portrait { max-width: 420px; }
}

/* Zahlen */
.stats { padding: 0; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-2); overflow: hidden;
}
.stat { padding: 30px 26px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat-num { font-family: var(--head); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1; margin-bottom: 8px; }
.stat-num .hl { font-size: .7em; }
.stat-label { color: var(--muted); font-size: .92rem; line-height: 1.4; }
.disclaimer { color: var(--dim); font-size: .8rem; margin-top: 14px; line-height: 1.5; }
@media (max-width: 860px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* Geschichte / Zeitleiste */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.sticky { position: sticky; top: 110px; }
.timeline { position: relative; margin: 0; padding: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--accent), var(--line)); }
.timeline li { position: relative; padding: 0 0 34px 48px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: 4px; top: 5px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--bg); border: 3px solid var(--accent);
}
.timeline .when { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.timeline h3 { margin-bottom: .35em; }
.timeline p { color: var(--muted); margin: 0; }

/* Karten */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .cards, .cards.two { grid-template-columns: 1fr; } }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: border-color .2s, transform .2s;
}
.card:hover { border-color: #353a45; }
.card p { color: var(--muted); margin: 0; }
.icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255, 207, 61, .1); color: var(--accent); margin-bottom: 20px;
}
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Rechenbeispiel */
.calc { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } }
.calc-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.calc-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line); color: var(--muted); }
.calc-row:last-of-type { border-bottom: 0; }
.calc-row strong { color: var(--text); font-weight: 600; white-space: nowrap; }
.calc-total { margin-top: 14px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; }
.calc-total strong { font-family: var(--head); font-size: 1.8rem; color: var(--accent); }

/* Passt / Passt nicht */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 48px; }
@media (max-width: 760px) { .fit { grid-template-columns: 1fr; } }
.fit ul { list-style: none; padding: 0; margin: 0; }
.fit li { display: flex; gap: 12px; padding: 10px 0; color: var(--muted); }
.fit li svg { flex: none; margin-top: 3px; }
.fit .yes svg { color: var(--ok); }
.fit .no svg { color: var(--danger); }
.fit h3 { margin-bottom: 14px; }

/* Schritte */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 48px; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; counter-increment: step; }
.step::before { content: "0" counter(step); display: block; font-family: var(--head); font-weight: 700; font-size: 2.2rem; color: var(--accent); line-height: 1; margin-bottom: 18px; }
.step p { color: var(--muted); margin: 0; font-size: .95rem; }

/* Testimonials */
.quote { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.quote blockquote { margin: 0; font-size: 1.08rem; line-height: 1.55; }
.quote figcaption { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .9rem; margin-top: auto; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--card-2); border: 1px solid var(--line); display: grid; place-items: center; font-weight: 700; color: var(--accent); }

/* FAQ */
.faq { max-width: 820px; margin: 48px auto 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-family: var(--head); font-weight: 600; font-size: 1.15rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: transform .2s, background .2s; }
.faq details[open] summary .plus { transform: rotate(45deg); background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.faq .answer { color: var(--muted); padding: 0 48px 22px 0; }

/* Abschluss-CTA */
.final-cta {
  background: radial-gradient(ellipse at top, rgba(255, 207, 61, .14), transparent 60%), var(--bg-2);
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(40px, 7vw, 80px) 24px; text-align: center;
}

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--dim); font-size: .9rem; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-links a, .footer-links button { color: var(--muted); text-decoration: none; background: none; border: 0; font: inherit; cursor: pointer; padding: 0; }
.footer-links a:hover, .footer-links button:hover { color: var(--text); }
.footer-note { width: 100%; font-size: .8rem; color: var(--dim); margin-top: 8px; }

/* Mobile Sticky CTA */
.mobile-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: none;
  transform: translateY(140%); transition: transform .3s ease;
}
.mobile-cta.show { transform: none; }
@media (max-width: 760px) { .mobile-cta { display: block; } }

/* Consent-Banner */
.consent {
  position: fixed; z-index: 100; left: 16px; bottom: 16px; max-width: 440px; width: calc(100% - 32px);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7); display: none;
}
.consent.show { display: block; }
.consent h3 { font-size: 1.05rem; margin-bottom: 8px; }
.consent p { color: var(--muted); font-size: .88rem; margin-bottom: 16px; }
.consent-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.consent .btn { padding: 13px 14px; font-size: .9rem; }
.consent .btn-ghost { background: var(--card-2); }

/* Rechtstexte */
.legal { max-width: 780px; margin: 0 auto; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: .8em; }
.legal h2 { font-size: 1.5rem; margin-top: 2em; }
.legal h3 { font-size: 1.15rem; margin-top: 1.6em; }
.legal p, .legal li, .legal address { color: var(--muted); font-style: normal; }
.legal a { color: var(--accent); }

/* Funnel */
.funnel-page { min-height: 100svh; display: flex; flex-direction: column; }
.funnel-page main { flex: 1; display: flex; align-items: flex-start; justify-content: center; padding: 28px 16px 60px; }
.funnel { width: 100%; max-width: 620px; }
.progress { height: 6px; background: var(--card-2); border-radius: 99px; overflow: hidden; margin-bottom: 10px; }
.progress span { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 99px; transition: width .35s ease; }
.progress-label { display: flex; justify-content: space-between; color: var(--dim); font-size: .82rem; margin-bottom: 32px; }
.step-panel { display: none; animation: fadeUp .35s ease both; }
.step-panel.active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.step-panel h1, .step-panel h2 { font-size: clamp(1.7rem, 5vw, 2.4rem); margin-bottom: .4em; }
.step-panel > p { color: var(--muted); }
.options { display: grid; gap: 12px; margin-top: 24px; }
.option {
  display: flex; align-items: center; gap: 16px; width: 100%; text-align: left;
  background: var(--card); border: 1.5px solid var(--line); border-radius: 16px; padding: 18px 20px;
  color: var(--text); font: 500 1.05rem/1.35 var(--body); cursor: pointer; transition: border-color .15s, background .15s, transform .1s;
  -webkit-tap-highlight-color: transparent;
}
.option:hover { border-color: #444a56; }
.option:active { transform: scale(.99); }
.option.selected { border-color: var(--accent); background: rgba(255, 207, 61, .07); }
.option .emoji { width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--card-2); display: grid; place-items: center; font-size: 1.35rem; }
.option small { display: block; color: var(--muted); font-size: .86rem; font-weight: 400; margin-top: 2px; }
.back { background: none; border: 0; color: var(--muted); font: inherit; font-size: .92rem; cursor: pointer; margin-top: 22px; padding: 6px 0; }
.back:hover { color: var(--text); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 520px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .86rem; color: var(--muted); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; background: var(--card); border: 1.5px solid var(--line); border-radius: 12px;
  padding: 15px 16px; color: var(--text); font: 400 1rem var(--body); transition: border-color .15s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field input.invalid { border-color: var(--danger); }
.field .err { color: var(--danger); font-size: .8rem; margin-top: 4px; display: none; }
.field input.invalid + .err { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.privacy-note { color: var(--dim); font-size: .82rem; margin: 16px 0 18px; }
.privacy-note a { color: var(--muted); }
.form-error { display: none; background: rgba(255, 107, 107, .1); border: 1px solid rgba(255, 107, 107, .4); color: #ffb3b3; padding: 12px 14px; border-radius: 12px; font-size: .9rem; margin-bottom: 14px; }
.form-error.show { display: block; }
.funnel-trust { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 18px; color: var(--dim); font-size: .82rem; margin-top: 28px; }
.notfit { text-align: center; }
.check-big { width: 76px; height: 76px; border-radius: 50%; background: rgba(95, 211, 141, .12); color: var(--ok); display: grid; place-items: center; margin: 0 auto 24px; }
.next-list { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 12px; text-align: left; }
.next-list li { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; display: flex; gap: 14px; color: var(--muted); }
.next-list b { color: var(--text); }
.next-list .n { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-weight: 700; font-size: .85rem; }
.btn-wa { background: #25d366; color: #0b2614; }
.btn-wa:hover { transform: translateY(-2px); }
.spinner { width: 18px; height: 18px; border: 2px solid rgba(0, 0, 0, .25); border-top-color: var(--accent-ink); border-radius: 50%; animation: spin .7s linear infinite; display: none; }
.loading .spinner { display: inline-block; }
.loading .label { opacity: .7; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Einblenden beim Scrollen */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .pulse { animation: none; }
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

@media (max-width: 560px) {
  .stat { padding: 22px 18px; }
  .stat-num { font-size: 1.75rem; }
  .stat-label { font-size: .85rem; }
  .portrait { aspect-ratio: 1 / 1; }
}
.logo { white-space: nowrap; }
@media (max-width: 440px) { .nav .hide-sm { display: none; } }
