/* Conversion-focused palette */
:root {
  --bw-dark: #0f1623;
  --bw-trust: #1a2d4a;
  --bw-olive: #2d5a4a;
  --bw-olive-light: #3a7a62;
  --bw-khaki: #e8d5a8;
  --bw-khaki-light: #f5ead0;
  --bw-gold: #e8b923;
  --bw-gold-bright: #f5d04a;
  --bw-gold-glow: rgba(232, 185, 35, 0.35);
  --bw-red: #8b1a1a;
  --bw-bg-light: #f7f9fc;
  --bw-bg-card: #eef3f9;
  --bw-text: #1a2332;
  --bw-text-muted: #5a6478;
  --bw-white: #ffffff;
  --bw-border: #d8e0ec;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--bw-text);
  background: var(--bw-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ── Hero ── */
.hero {
  background: var(--bw-dark);
  color: var(--bw-white);
}

.hero-image {
  width: 100%;
  max-height: 480px;
  overflow: hidden;
  background: #000;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-content {
  position: relative;
  text-align: center;
  padding: 2.5rem 1.5rem 3rem;
  background:
    radial-gradient(ellipse 90% 70% at 50% 110%, var(--bw-gold-glow) 0%, transparent 65%),
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(58, 122, 98, 0.18) 0%, transparent 70%),
    linear-gradient(165deg, #0a1020 0%, var(--bw-trust) 45%, #1a2540 100%);
  overflow: hidden;
}

.hero-content::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(232, 185, 35, 0.06) 100%);
  pointer-events: none;
}

.hero-content > * {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.hero h1 .highlight {
  color: var(--bw-gold-bright);
  text-shadow: 0 0 40px var(--bw-gold-glow);
}

.hero-sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 420px;
  margin: 0 auto 2rem;
}

.hero-price {
  margin-top: 1.25rem;
  font-size: 1.1rem;
  color: var(--bw-gold-bright);
}

.hero-note {
  font-size: 0.875rem;
  color: var(--bw-khaki-light);
  opacity: 0.8;
  margin-top: 0.25rem;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.75rem;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(180deg, var(--bw-gold-bright) 0%, var(--bw-gold) 100%);
  color: #1a1408;
  box-shadow: 0 4px 24px var(--bw-gold-glow), 0 2px 8px rgba(0, 0, 0, 0.2);
  font-weight: 700;
}

.btn-primary:hover {
  background: linear-gradient(180deg, #ffe066 0%, var(--bw-gold-bright) 100%);
  box-shadow: 0 6px 28px rgba(232, 185, 35, 0.5), 0 2px 8px rgba(0, 0, 0, 0.2);
}

.btn-outline {
  background: transparent;
  color: var(--bw-olive);
  border-color: var(--bw-olive);
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

.btn-outline:hover {
  background: var(--bw-olive);
  color: var(--bw-white);
}

.btn-inline {
  background: var(--bw-gold);
  color: var(--bw-dark);
  font-size: clamp(0.75rem, 2.5vw, 0.95rem);
  padding: 0.5rem 1rem;
  vertical-align: middle;
  margin: 0 0.15rem;
}

.btn-inline:hover {
  background: var(--bw-gold-bright);
}

.btn-checkout {
  width: 100%;
  background: var(--bw-olive-light);
  color: var(--bw-white);
  font-size: 1rem;
  padding: 1rem;
  border: none;
  border-radius: 6px;
  opacity: 0.45;
  cursor: not-allowed;
}

.btn-checkout.enabled {
  background: var(--bw-gold);
  color: var(--bw-dark);
  opacity: 1;
  cursor: pointer;
}

.btn-checkout.enabled:hover {
  background: var(--bw-gold-bright);
}

/* ── Stats ── */
.stats {
  background: var(--bw-white);
  padding: 2.5rem 1.5rem;
  border-bottom: 1px solid var(--bw-border);
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
  gap: 0;
}

.stat-item {
  flex: 1;
  text-align: center;
  padding: 0.5rem 1rem;
}

.stat-number {
  display: block;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  color: var(--bw-trust);
  line-height: 1.2;
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--bw-text-muted);
  margin-top: 0.35rem;
  line-height: 1.4;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--bw-border);
  flex-shrink: 0;
}

/* ── Klartext ── */
.klartext {
  background: var(--bw-bg-light);
  text-align: center;
  padding: 4rem 1.5rem;
}

.section-tag {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--bw-olive-light);
  margin-bottom: 1rem;
}

.klartext h2,
.testimonials h2 {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 800;
  color: var(--bw-dark);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.klartext p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--bw-text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* ── Testimonials ── */
.testimonials {
  background: var(--bw-white);
  text-align: center;
  padding: 4rem 1.5rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 2.5rem auto 0;
  text-align: left;
}

.testimonial-card {
  background: var(--bw-bg-card);
  border: 1px solid var(--bw-border);
  border-radius: 10px;
  padding: 1.75rem;
}

.stars {
  color: var(--bw-gold);
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}

.testimonial-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--bw-olive);
  margin-bottom: 0.75rem;
}

.testimonial-card p {
  font-size: 0.9rem;
  color: var(--bw-text-muted);
  line-height: 1.65;
}

/* ── Navbar ── */
.navbar {
  background: var(--bw-white);
  border-bottom: 1px solid var(--bw-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem clamp(2rem, 6vw, 4rem);
}

.logo {
  font-weight: 700;
  font-size: 1rem;
  color: var(--bw-olive);
  letter-spacing: -0.01em;
}

/* ── Checkout ── */
.checkout {
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, var(--bw-gold-glow) 0%, transparent 65%),
    linear-gradient(165deg, #0a1020 0%, var(--bw-trust) 50%, #1a2540 100%);
  color: var(--bw-white);
  padding: 4rem 1.5rem;
}

.checkout-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.checkout h2 {
  font-size: clamp(1.5rem, 5vw, 2.25rem);
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 1rem;
}

.checkout-sub {
  font-size: 0.9rem;
  color: var(--bw-khaki-light);
  opacity: 0.85;
  margin-bottom: 2.5rem;
}

.checkout-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(232, 185, 35, 0.25);
  border-radius: 10px;
  padding: 2rem 1.75rem;
  text-align: left;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.checkbox-row {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.55;
  margin-bottom: 1.5rem;
  cursor: pointer;
}

.checkbox-row input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: var(--bw-gold);
}

.checkbox-row a {
  color: var(--bw-khaki);
  text-decoration: underline;
}

.checkout-hint {
  font-size: 0.8rem;
  color: var(--bw-khaki-light);
  opacity: 0.7;
  text-align: center;
  margin-top: 0.75rem;
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1.75rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
}

.trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: var(--bw-olive-light);
  border-radius: 50%;
  font-size: 0.7rem;
  color: var(--bw-khaki);
}

/* ── Footer ── */
.footer {
  background: #080d16;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  padding: 2.5rem 1.5rem 2rem;
}

.footer-copy {
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.footer-links {
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.footer-links a {
  color: var(--bw-white);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--bw-khaki);
}

.footer-links span {
  margin: 0 0.5rem;
  opacity: 0.4;
}

.footer-disclaimer {
  font-size: 0.7rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.35);
  max-width: 700px;
  margin: 0 auto;
}

/* ── Legal Pages ── */
.legal-page {
  background: var(--bw-bg-light);
  min-height: 60vh;
  padding: 3rem 1.5rem 4rem;
}

.legal-inner {
  max-width: 760px;
  margin: 0 auto;
  background: var(--bw-white);
  border: 1px solid var(--bw-border);
  border-radius: 10px;
  padding: 2.5rem clamp(1.5rem, 4vw, 3rem);
}

.legal-inner h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  color: var(--bw-dark);
  margin-bottom: 0.5rem;
}

.legal-updated {
  font-size: 0.85rem;
  color: var(--bw-text-muted);
  margin-bottom: 2rem;
}

.legal-inner h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--bw-olive);
  margin: 2rem 0 0.75rem;
}

.legal-inner p,
.legal-inner li {
  font-size: 0.95rem;
  color: var(--bw-text-muted);
  line-height: 1.75;
  margin-bottom: 0.75rem;
}

.legal-inner ul,
.legal-inner ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-inner a {
  color: var(--bw-olive);
  text-decoration: underline;
}

.legal-back {
  display: inline-block;
  margin-top: 2rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--bw-olive);
}

/* ── Login ── */
.login-box {
  max-width: 440px;
  margin: 0 auto;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.login-form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--bw-text);
}

.login-form input {
  font: inherit;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--bw-border);
  border-radius: 6px;
  background: var(--bw-white);
}

.login-form input:focus {
  outline: 2px solid rgba(232, 185, 35, 0.45);
  border-color: var(--bw-gold);
}

.login-submit {
  width: 100%;
  margin-top: 0.5rem;
}

.login-error {
  background: #fde8e8;
  color: #8b1a1a;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
}

.login-help {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--bw-text-muted);
  line-height: 1.7;
}

.login-help a {
  color: var(--bw-trust);
  text-decoration: underline;
}

/* ── Portal ── */
.portal-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 2.5rem clamp(1.25rem, 4vw, 2rem) 4rem;
}

.portal-welcome {
  background: linear-gradient(135deg, rgba(232, 185, 35, 0.15), rgba(58, 122, 98, 0.12));
  border: 1px solid rgba(232, 185, 35, 0.35);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  color: var(--bw-text);
  line-height: 1.6;
}

.portal-nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.portal-user {
  font-size: 0.85rem;
  color: var(--bw-text-muted);
}

.portal-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  color: var(--bw-dark);
  margin-bottom: 0.5rem;
}

.portal-header p {
  color: var(--bw-text-muted);
}

.portal-progress {
  margin: 2rem 0;
  font-size: 0.85rem;
  color: var(--bw-text-muted);
}

.portal-progress-bar {
  height: 8px;
  background: var(--bw-border);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.portal-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--bw-gold), var(--bw-gold-bright));
  border-radius: 99px;
}

.portal-modules {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.portal-module {
  background: var(--bw-white);
  border: 1px solid var(--bw-border);
  border-radius: 10px;
  padding: 1.5rem;
}

.portal-module-head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.portal-module-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--bw-trust);
  color: var(--bw-white);
  font-weight: 700;
  border-radius: 50%;
  flex-shrink: 0;
}

.portal-module h2 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--bw-dark);
  margin-bottom: 0.2rem;
}

.portal-module-time {
  font-size: 0.8rem;
  color: var(--bw-text-muted);
}

.portal-module p {
  font-size: 0.9rem;
  color: var(--bw-text-muted);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.portal-module-btn {
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
}

.portal-note {
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  background: var(--bw-bg-card);
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--bw-text-muted);
}

.module-badge-soon {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--bw-text-muted);
  background: var(--bw-bg-light);
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
}

/* ── Module Page ── */
.module-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem clamp(1.25rem, 4vw, 2rem) 4rem;
}

.module-page-header {
  margin-bottom: 2rem;
}

.module-page-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  color: var(--bw-dark);
  margin: 0.5rem 0;
}

.module-page-meta {
  color: var(--bw-text-muted);
  font-size: 0.9rem;
}

.module-content {
  background: var(--bw-white);
  border: 1px solid var(--bw-border);
  border-radius: 10px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.module-section {
  margin-bottom: 2rem;
}

.module-section:last-child {
  margin-bottom: 0;
}

.module-section h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--bw-trust);
  margin-bottom: 0.75rem;
}

.module-section p,
.module-section li {
  font-size: 0.95rem;
  color: var(--bw-text-muted);
  line-height: 1.75;
  margin-bottom: 0.75rem;
}

.module-section ul,
.module-section ol {
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
}

.module-section a {
  color: var(--bw-trust);
  text-decoration: underline;
}

.module-disclaimer {
  background: var(--bw-bg-light);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  font-size: 0.85rem;
  color: var(--bw-text-muted);
  margin-bottom: 2rem;
}

.module-highlight {
  background: linear-gradient(135deg, rgba(58, 122, 98, 0.08), rgba(232, 185, 35, 0.08));
  border-left: 3px solid var(--bw-olive-light);
  padding: 1rem 1.25rem;
  border-radius: 0 8px 8px 0;
  margin: 1rem 0;
}

.module-highlight p {
  margin-bottom: 0.35rem;
}

.module-warning {
  background: #fff8e6;
  border-left: 3px solid var(--bw-gold);
  padding: 1rem 1.25rem;
  border-radius: 0 8px 8px 0;
  margin: 1rem 0;
}

.module-warning p:last-child {
  margin-bottom: 0;
}

.module-sources {
  border-top: 1px solid var(--bw-border);
  padding-top: 1.5rem;
  margin-top: 1rem;
}

.module-nav-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.module-coming-soon {
  font-size: 0.85rem;
  color: var(--bw-text-muted);
}

.module-complete-badge {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--bw-olive-light);
}

.module-quote {
  background: var(--bw-bg-light);
  border-left: 3px solid var(--bw-trust);
  padding: 1rem 1.25rem;
  margin: 1rem 0;
  font-style: italic;
  color: var(--bw-text);
  border-radius: 0 8px 8px 0;
}

.module-download-btn {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
}

.module-checklist {
  list-style: none;
  padding: 0;
}

.module-checklist li {
  padding: 0.5rem 0 0.5rem 1.75rem;
  position: relative;
}

.module-checklist li::before {
  content: '☐';
  position: absolute;
  left: 0;
  color: var(--bw-trust);
}

.portal-module-done {
  border-color: rgba(58, 122, 98, 0.35);
  background: linear-gradient(135deg, #fff, rgba(58, 122, 98, 0.04));
}

.portal-module-done .portal-module-num {
  background: var(--bw-olive-light);
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.download-card {
  background: var(--bw-white);
  border: 1px solid var(--bw-border);
  border-radius: 10px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.download-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--bw-dark);
}

.download-card p {
  font-size: 0.85rem;
  color: var(--bw-text-muted);
  line-height: 1.6;
  flex: 1;
}

.download-card .btn {
  font-size: 0.85rem;
  text-align: center;
}

.legal-highlight {
  background: var(--bw-bg-card);
  border-left: 3px solid var(--bw-gold);
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  border-radius: 0 6px 6px 0;
}

.legal-highlight p:last-child {
  margin-bottom: 0;
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .stats-grid {
    flex-direction: column;
    gap: 1.5rem;
  }

  .stat-divider {
    width: 60px;
    height: 1px;
  }

  .navbar-inner {
    padding: 1rem 1.75rem;
  }

  .checkout-box {
    padding: 1.5rem 1.25rem;
  }

  .trust-badges {
    gap: 1rem;
  }
}
