/*
Theme Name: investierenlernen
Theme URI: https://investierenlernen.de
Author: Stefan Czysz
Author URI: https://investierenlernen.de
Description: Apple-Stil Custom Theme für investierenlernen.de, Aktien- & Optionshandel-Kurs.
Version: 0.1.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.0
License: All Rights Reserved
Text Domain: investierenlernen
*/

/* CSS aus front-page.php inline (vorerst). Wird in v0.2 extrahiert. */
  /* ============================================================
     Apple-Stil Design System für investierenlernen.de
     ============================================================ */
  :root {
    --black: #1d1d1f;
    --gray-1: #6e6e73;
    --gray-2: #86868b;
    --gray-3: #d2d2d7;
    --gray-bg: #f5f5f7;
    --gray-bg-deep: #e8e8ed;
    --blue: #007aff;
    --blue-dark: #0051d5;
    --green: #34c759;
    --red: #ff3b30;
    --white: #ffffff;
    --shadow-soft: 0 4px 24px rgba(0,0,0,0.04);
    --shadow-card: 0 2px 12px rgba(0,0,0,0.06);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.1);
    --radius: 16px;
    --radius-lg: 22px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }

  html { scroll-behavior: smooth; }

  body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
                 "Helvetica Neue", "Inter", system-ui, sans-serif;
    color: var(--black);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.5;
    letter-spacing: -0.005em;
  }

  .container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
  }
  @media (max-width: 640px) {
    .container { padding: 0 20px; }
  }

  /* ============ NAVIGATION ============ */
  /* Selektor explizit auf body > nav, damit Breadcrumb-<nav> nicht versehentlich sticky wird */
  body > nav {
    position: sticky;
    top: 0;
    background: rgba(255,255,255,0.92);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    z-index: 1000;
    height: 56px;
    display: flex;
    align-items: center;
  }
  body > nav .container { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
  body > nav .brand { font-weight: 600; font-size: 16px; color: var(--black); text-decoration: none; }
  body > nav .brand span { color: var(--blue); }
  body > nav ul { list-style: none; display: flex; gap: 28px; }
  body > nav ul a {
    color: var(--black);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    opacity: 0.85;
    transition: var(--transition);
  }
  body > nav ul a:hover { opacity: 1; color: var(--blue); }
  body > nav .cta-nav {
    background: var(--black);
    color: var(--white);
    padding: 7px 16px;
    border-radius: 980px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
  }
  body > nav .cta-nav:hover { background: var(--blue); }

  /* Hamburger-Button (nur Mobile sichtbar) */
  .nav-toggle {
    display: none;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: 12px;
    position: relative;
  }
  .nav-toggle span {
    position: absolute;
    left: 4px;
    width: 24px;
    height: 2px;
    background: var(--black);
    border-radius: 2px;
    transition: var(--transition);
  }
  .nav-toggle span:nth-child(1) { top: 9px; }
  .nav-toggle span:nth-child(2) { top: 15px; }
  .nav-toggle span:nth-child(3) { top: 21px; }
  .nav-toggle.open span:nth-child(1) { top: 15px; transform: rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { top: 15px; transform: rotate(-45deg); }

  /* Mobile-Menü-Overlay */
  .mobile-menu {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding: 24px;
    display: none;
    z-index: 99;
    max-height: calc(100vh - 56px);
    overflow-y: auto;
  }
  .mobile-menu.open { display: block; }
  .mobile-menu ul { list-style: none; }
  .mobile-menu li { border-bottom: 1px solid var(--gray-3); }
  .mobile-menu li:last-child { border-bottom: none; }
  .mobile-menu a {
    display: block;
    padding: 16px 0;
    color: var(--black);
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: var(--transition);
  }
  .mobile-menu a:hover { color: var(--blue); }
  .mobile-menu .mobile-cta {
    display: block;
    background: var(--black);
    color: var(--white);
    padding: 14px 24px;
    border-radius: 980px;
    text-align: center;
    margin-top: 20px;
    font-weight: 500;
    font-size: 16px;
  }
  .mobile-menu .mobile-cta:hover { background: var(--blue); color: var(--white); }

  @media (max-width: 900px) {
    body > nav ul { display: none; }
    body > nav .cta-nav { display: none; }
    .nav-toggle { display: inline-block; }
  }

  /* ============ HERO ============ */
  .hero {
    padding: 88px 0 72px;
    text-align: center;
    background: linear-gradient(180deg, #ffffff 0%, #f5f5f7 100%);
    overflow: hidden;
  }
  .hero h1 {
    font-size: clamp(40px, 6.5vw, 80px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.035em;
    color: var(--black);
    margin-bottom: 18px;
  }
  .hero h1 .accent { color: var(--blue); }
  .hero .sub {
    font-size: clamp(17px, 2vw, 22px);
    color: var(--gray-1);
    max-width: 660px;
    margin: 0 auto 28px;
    line-height: 1.45;
    font-weight: 400;
  }
  .hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 28px;
    border-radius: 980px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    letter-spacing: -0.005em;
  }
  .btn-primary {
    background: var(--blue);
    color: var(--white);
  }
  .btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }
  .btn-secondary {
    background: transparent;
    color: var(--blue);
    border: 1px solid var(--blue);
  }
  .btn-secondary:hover { background: var(--blue); color: var(--white); }
  .btn-dark {
    background: var(--black);
    color: var(--white);
  }
  .btn-dark:hover { background: var(--blue); }
  .hero-textlink {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--blue);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 18px;
    transition: var(--transition);
  }
  .hero-textlink:hover { gap: 8px; }
  .hero-textlink .arrow { transition: var(--transition); }
  .micro-trust {
    font-size: 13px;
    color: var(--gray-1);
    letter-spacing: 0.02em;
    margin-top: 4px;
  }
  .micro-trust span { margin: 0 12px; }

  .hero-visual {
    margin-top: 48px;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    aspect-ratio: 16 / 9;
    background: linear-gradient(180deg, #FAFAFA 0%, #F5F5F7 100%);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 48px 64px;
    box-sizing: border-box;
  }
  .hero-visual svg {
    width: 100%;
    height: 100%;
    display: block;
  }
  .hero-visual .hero-chart-line {
    fill: none;
    stroke: #007AFF;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1100;
    stroke-dashoffset: 1100;
    animation: draw-line 2.6s cubic-bezier(0.22, 1, 0.36, 1) 1.3s forwards;
  }
  .hero-visual .hero-chart-area {
    fill: url(#hero-chart-fade);
    opacity: 0;
    animation: fade-in-area 1.6s ease 3.2s forwards;
  }
  .hero-visual .hero-chart-dot-end {
    fill: #007AFF;
    opacity: 0;
    transform-origin: 750px 65px;
    animation: dot-pop 0.6s cubic-bezier(0.22, 1, 0.36, 1) 3.9s forwards;
  }
  .hero-visual .hero-chart-axis {
    stroke: rgba(29, 29, 31, 0.12);
    stroke-width: 1;
    opacity: 0;
    animation: fade-in-area 0.8s ease 0.4s forwards;
  }
  .hero-visual .hero-chart-gridline {
    stroke: rgba(29, 29, 31, 0.06);
    stroke-width: 1;
    stroke-dasharray: 3 4;
    opacity: 0;
    animation: fade-in-area 0.8s ease 0.8s forwards;
  }
  .hero-visual .hero-chart-tick {
    fill: var(--gray-1);
    font-family: var(--font-body);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.02em;
    opacity: 0;
    animation: fade-in-area 0.8s ease 1.0s forwards;
  }
  .hero-visual .hero-chart-axis-title {
    fill: var(--gray-1);
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0;
    animation: fade-in-area 0.8s ease 1.1s forwards;
  }
  .hero-visual .hero-milestone-dot {
    fill: var(--white);
    stroke: #007AFF;
    stroke-width: 2.5;
    opacity: 0;
  }
  .hero-visual .hero-milestone-dot.m1 { transform-origin: 150px 284px; animation: dot-pop 0.5s cubic-bezier(0.22, 1, 0.36, 1) 2.2s forwards; }
  .hero-visual .hero-milestone-dot.m2 { transform-origin: 330px 242px; animation: dot-pop 0.5s cubic-bezier(0.22, 1, 0.36, 1) 2.7s forwards; }
  .hero-visual .hero-milestone-dot.m3 { transform-origin: 540px 165px; animation: dot-pop 0.5s cubic-bezier(0.22, 1, 0.36, 1) 3.2s forwards; }
  .hero-visual .hero-milestone-label {
    fill: var(--black);
    font-family: var(--font-body);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.01em;
    opacity: 0;
  }
  .hero-visual .hero-milestone-label.m1 { animation: fade-in-area 0.8s ease 2.4s forwards; }
  .hero-visual .hero-milestone-label.m2 { animation: fade-in-area 0.8s ease 2.9s forwards; }
  .hero-visual .hero-milestone-label.m3 { animation: fade-in-area 0.8s ease 3.4s forwards; }
  .hero-visual .hero-chart-caption {
    fill: var(--gray-1);
    font-family: var(--font-body);
    font-size: 11px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 500;
    opacity: 0;
    animation: fade-in-area 1.2s ease 4.2s forwards;
  }
  @keyframes draw-line {
    to { stroke-dashoffset: 0; }
  }
  @keyframes fade-in-area {
    to { opacity: 1; }
  }
  @keyframes dot-pop {
    0% { opacity: 0; transform: scale(0); }
    100% { opacity: 1; transform: scale(1); }
  }

  /* ============ SECTIONS ============ */
  section { padding: 64px 0; }
  .section-eyebrow {
    font-size: 13px;
    font-weight: 600;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 12px;
    text-align: center;
  }
  .section-title {
    font-size: clamp(32px, 4.2vw, 52px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.025em;
    color: var(--black);
    text-align: center;
    margin-bottom: 14px;
  }
  .section-sub {
    font-size: clamp(16px, 1.8vw, 20px);
    color: var(--gray-1);
    text-align: center;
    max-width: 640px;
    margin: 0 auto 44px;
    line-height: 1.5;
    font-weight: 400;
  }

  /* ============ PHONE CTA BAND ============ */
  .phone-cta-band {
    background: linear-gradient(135deg, #f5f5f7 0%, #e8e8ed 100%);
    border-radius: var(--radius-lg);
    padding: 26px 36px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 24px;
    align-items: center;
    margin: 36px 0 0;
  }
  @media (max-width: 768px) {
    .phone-cta-band {
      grid-template-columns: 1fr;
      text-align: center;
      padding: 28px 24px;
      gap: 16px;
    }
  }
  .phone-cta-icon {
    width: 56px;
    height: 56px;
    background: var(--white);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: var(--shadow-card);
  }
  @media (max-width: 768px) { .phone-cta-icon { margin: 0 auto; } }
  .phone-cta-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: -0.015em;
  }
  .phone-cta-content p {
    font-size: 15px;
    color: var(--gray-1);
    line-height: 1.45;
  }
  .phone-cta-button { white-space: nowrap; }

  /* ============ PROBLEM (3 CARDS) ============ */
  .problem-grid, .solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  @media (max-width: 768px) {
    .problem-grid, .solution-grid { grid-template-columns: 1fr; }
  }
  .problem-card {
    background: var(--gray-bg);
    border-radius: var(--radius-lg);
    padding: 28px 28px;
    transition: var(--transition);
  }
  .problem-card:hover { background: var(--gray-bg-deep); transform: translateY(-2px); }
  .card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 18px;
    box-shadow: var(--shadow-card);
  }
  .problem-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.015em;
  }
  .problem-card p {
    font-size: 15px;
    color: var(--gray-1);
    line-height: 1.55;
  }

  /* ============ SOLUTION ============ */
  .solution-card {
    text-align: center;
    padding: 18px 16px;
  }
  .solution-card .num-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--blue);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    margin: 0 auto 18px;
    box-shadow: 0 8px 24px rgba(0,122,255,0.22);
  }
  .solution-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.015em;
  }
  .solution-card p {
    font-size: 15px;
    color: var(--gray-1);
    line-height: 1.55;
  }

  /* ============ HOW IT WORKS ============ */
  .steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    counter-reset: step;
  }
  @media (max-width: 768px) { .steps { grid-template-columns: 1fr; } }
  .step {
    counter-increment: step;
    position: relative;
    padding-top: 4px;
  }
  .step::before {
    content: counter(step, decimal-leading-zero);
    font-size: 56px;
    font-weight: 800;
    color: var(--gray-3);
    line-height: 1;
    letter-spacing: -0.04em;
    display: block;
    margin-bottom: 12px;
  }
  .step h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: -0.015em;
  }
  .step p {
    font-size: 15px;
    color: var(--gray-1);
    line-height: 1.55;
  }

  /* ============ SOCIAL PROOF ============ */
  .testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
  }
  @media (max-width: 900px) { .testimonial-grid { grid-template-columns: 1fr; } }
  .testimonial {
    background: var(--gray-bg);
    border-radius: var(--radius-lg);
    padding: 24px 24px;
    display: flex;
    flex-direction: column;
  }
  .testimonial-quote {
    font-size: 15px;
    line-height: 1.6;
    color: var(--black);
    margin-bottom: 18px;
    flex: 1;
  }
  .testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-3);
  }
  .testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue) 0%, #34c759 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    flex-shrink: 0;
  }
  .testimonial-name { font-size: 15px; font-weight: 600; color: var(--black); }
  .testimonial-meta { font-size: 13px; color: var(--gray-1); }

  .stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    background: var(--white);
    border: 1px solid var(--gray-3);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    margin-top: 20px;
  }
  @media (max-width: 768px) { .stats { grid-template-columns: repeat(2, 1fr); } }
  .stat { text-align: center; }
  .stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--blue);
    letter-spacing: -0.025em;
    margin-bottom: 4px;
    line-height: 1;
  }
  .stat-label {
    font-size: 13px;
    color: var(--gray-1);
    letter-spacing: 0.02em;
  }

  /* ============ ÜBER STEFAN ============ */
  .about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
  }
  @media (max-width: 900px) { .about { grid-template-columns: 1fr; gap: 36px; } }
  .about-image {
    aspect-ratio: 4 / 5;
    background: linear-gradient(135deg, #f5f5f7 0%, #e8e8ed 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-1);
    font-size: 14px;
    position: relative;
    overflow: hidden;
  }
  .about-image::after {
    content: "Foto Stefan";
    position: absolute;
    color: var(--gray-2);
    font-size: 14px;
  }
  .about h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 18px;
  }
  .about p {
    font-size: 16px;
    color: var(--gray-1);
    line-height: 1.55;
    margin-bottom: 12px;
  }
  .about-timeline {
    margin: 24px 0;
    border-left: 2px solid var(--gray-3);
    padding-left: 22px;
  }
  .timeline-item {
    margin-bottom: 14px;
    position: relative;
  }
  .timeline-item::before {
    content: "";
    position: absolute;
    left: -31px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--blue);
  }
  .timeline-year {
    font-size: 13px;
    font-weight: 700;
    color: var(--blue);
    letter-spacing: 0.04em;
  }
  .timeline-text {
    font-size: 15px;
    color: var(--black);
    margin-top: 2px;
  }

  /* ============ KURS-MODULE ============ */
  .modules {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  @media (max-width: 768px) { .modules { grid-template-columns: 1fr; } }
  .module {
    background: var(--white);
    border: 1px solid var(--gray-3);
    border-radius: var(--radius);
    padding: 14px 20px;
    display: grid;
    grid-template-columns: 24px 1fr;
    column-gap: 14px;
    align-items: center;
    transition: var(--transition);
    cursor: default;
    overflow: hidden;
  }
  .module:hover {
    background: var(--gray-bg);
    border-color: var(--blue);
    transform: translateY(-1px);
    box-shadow: var(--shadow-card);
  }
  .module-num {
    font-size: 13px;
    font-weight: 700;
    color: var(--blue);
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    padding-top: 1px;
  }
  .module-title {
    font-size: 15px;
    color: var(--black);
    font-weight: 500;
    grid-column: 2;
    grid-row: 1;
  }
  .module-desc {
    grid-column: 2;
    grid-row: 2;
    font-size: 13px;
    color: var(--gray-1);
    line-height: 1.5;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease, margin-top 0.3s ease;
    overflow: hidden;
    margin-top: 0;
  }
  .module:hover .module-desc {
    max-height: 200px;
    opacity: 1;
    margin-top: 8px;
  }

  /* ============ PRICE ============ */
  .price-section {
    background: var(--gray-bg);
    padding: 84px 0;
  }
  .price-card {
    max-width: 580px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 24px;
    padding: 44px 48px 38px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    border: 1px solid var(--gray-3);
  }
  .price-eyebrow {
    font-size: 11px;
    font-weight: 600;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 14px;
  }
  .price-amount {
    font-size: 64px;
    font-weight: 700;
    color: var(--black);
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 6px;
  }
  .price-amount .currency { color: var(--blue); margin-right: 4px; }
  .price-once {
    font-size: 14px;
    color: var(--gray-1);
    margin-bottom: 18px;
    letter-spacing: 0.02em;
  }
  .price-note {
    font-size: 12px;
    color: var(--gray-2);
    margin-top: 12px;
    letter-spacing: 0.02em;
  }
  .price-includes {
    list-style: none;
    text-align: left;
    margin: 22px 0;
    padding: 18px 0;
    border-top: 1px solid var(--gray-3);
    border-bottom: 1px solid var(--gray-3);
  }
  .price-includes li {
    font-size: 14px;
    color: var(--black);
    padding: 5px 0 5px 26px;
    position: relative;
  }
  .price-includes li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
  }

  .trust-box {
    max-width: 580px;
    margin: 24px auto 0;
    background: var(--white);
    border-radius: var(--radius);
    padding: 22px 28px;
    border: 1px solid var(--gray-3);
  }
  .trust-box h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--black);
  }
  .trust-box ul {
    list-style: none;
    margin-bottom: 18px;
  }
  .trust-box li {
    font-size: 14px;
    color: var(--gray-1);
    padding: 4px 0 4px 22px;
    position: relative;
    line-height: 1.5;
  }
  .trust-box li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--blue);
    font-weight: 600;
  }
  .trust-box .trust-cta { display: flex; gap: 8px; flex-wrap: wrap; }
  .trust-box .trust-cta .btn { font-size: 14px; padding: 10px 20px; }

  /* ============ COMPARE BOX ============ */
  .compare {
    max-width: 880px;
    margin: 44px auto 0;
    text-align: center;
  }
  .compare-eyebrow {
    font-size: 11px;
    font-weight: 600;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 12px;
  }
  .compare-title {
    font-size: clamp(24px, 3.2vw, 32px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--black);
    margin-bottom: 28px;
  }
  .compare-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    text-align: left;
  }
  @media (max-width: 768px) {
    .compare-grid { grid-template-columns: 1fr; }
  }
  .compare-item {
    background: var(--white);
    border: 1px solid var(--gray-3);
    border-radius: var(--radius);
    padding: 20px 22px;
    transition: var(--transition);
  }
  .compare-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
  .compare-amount {
    font-size: 28px;
    font-weight: 700;
    color: var(--gray-1);
    letter-spacing: -0.025em;
    line-height: 1;
    margin-bottom: 6px;
  }
  .compare-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 8px;
  }
  .compare-meta {
    font-size: 13px;
    color: var(--gray-1);
    line-height: 1.5;
  }
  .compare-note {
    font-size: 14px;
    color: var(--gray-1);
    margin-top: 20px;
    font-style: italic;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  /* ============ FAQ ============ */
  .faq-list {
    max-width: 760px;
    margin: 0 auto;
  }
  .faq {
    border-bottom: 1px solid var(--gray-3);
  }
  .faq summary {
    cursor: pointer;
    padding: 20px 0;
    font-size: 17px;
    font-weight: 600;
    color: var(--black);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    letter-spacing: -0.005em;
  }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::after {
    content: "+";
    font-size: 24px;
    font-weight: 300;
    color: var(--gray-1);
    transition: var(--transition);
  }
  .faq[open] summary::after { transform: rotate(45deg); color: var(--blue); }
  .faq p {
    padding: 0 0 20px;
    font-size: 15px;
    color: var(--gray-1);
    line-height: 1.6;
    max-width: 90%;
  }

  /* ============ FINAL CTA ============ */
  .final-cta {
    background: var(--black);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
  }
  .final-cta h2 {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
  }
  .final-cta p {
    font-size: clamp(17px, 2vw, 22px);
    color: rgba(255,255,255,0.7);
    margin-bottom: 28px;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
  }
  .final-cta .btn-primary { background: var(--blue); }
  .final-cta .btn-primary:hover { background: var(--white); color: var(--black); }
  .final-cta .btn-secondary { color: var(--white); border-color: rgba(255,255,255,0.3); }
  .final-cta .btn-secondary:hover { background: var(--white); color: var(--black); border-color: var(--white); }
  .final-cta .hero-cta { margin-bottom: 24px; }

  /* ============ FOOTER ============ */
  footer {
    background: var(--gray-bg);
    padding: 44px 0 24px;
    color: var(--gray-1);
    font-size: 13px;
  }
  .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 32px;
    margin-bottom: 28px;
  }
  @media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  }
  .footer-col h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }
  .footer-col ul { list-style: none; }
  .footer-col li { margin-bottom: 8px; }
  .footer-col a {
    color: var(--gray-1);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
  }
  .footer-col a:hover { color: var(--blue); }
  .footer-newsletter input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--gray-3);
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 8px;
    font-family: inherit;
  }
  .footer-newsletter input:focus { outline: none; border-color: var(--blue); }
  .footer-newsletter .btn { width: 100%; padding: 10px 20px; font-size: 14px; }
  .footer-newsletter p { font-size: 12px; margin-top: 8px; line-height: 1.5; }

  .footer-bottom {
    border-top: 1px solid var(--gray-3);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 12px;
  }
  .footer-bottom .legal { display: flex; gap: 16px; flex-wrap: wrap; }
  .footer-bottom .legal a { color: var(--gray-1); }
  .footer-bottom .disclaimer {
    flex-basis: 100%;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-3);
    font-style: italic;
    color: var(--gray-2);
    line-height: 1.55;
  }

  /* ============================================================
     3D SCROLL-ANIMATIONEN (Apple-Stil)
     ============================================================ */

  /* Reveal-Klassen, die per IntersectionObserver aktiviert werden */
  .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .reveal.in {
    opacity: 1;
    transform: translateY(0);
  }

  /* 3D-Effekt: Cards richten sich beim Scrollen auf */
  .reveal-3d {
    opacity: 0;
    transform: perspective(1200px) rotateX(18deg) translateY(80px) scale(0.96);
    transform-origin: center top;
    transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
                transform 1s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .reveal-3d.in {
    opacity: 1;
    transform: perspective(1200px) rotateX(0) translateY(0) scale(1);
  }

  /* Staggered (gestaffelt) Reveal für Grid-Items */
  .reveal-stagger > * {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .reveal-stagger.in > * { opacity: 1; transform: translateY(0) scale(1); }
  .reveal-stagger.in > *:nth-child(1) { transition-delay: 0.0s; }
  .reveal-stagger.in > *:nth-child(2) { transition-delay: 0.12s; }
  .reveal-stagger.in > *:nth-child(3) { transition-delay: 0.24s; }
  .reveal-stagger.in > *:nth-child(4) { transition-delay: 0.36s; }

  /* Scale-In für die Hero-Visual */
  .reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1),
                transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .reveal-scale.in { opacity: 1; transform: scale(1); }

  /* Headlines die "rein-fließen" */
  .reveal-headline {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .reveal-headline.in { opacity: 1; transform: translateY(0); }

  /* Parallax-Hover auf interaktiven Cards */
  .tilt-card {
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
    transform-style: preserve-3d;
    will-change: transform;
  }
  .tilt-card:hover {
    transform: perspective(1000px) rotateX(-2deg) rotateY(2deg) translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  }

  /* Sticky-Reveal: Sektion bleibt kurz stehen während Inhalt enters */
  .scroll-stage {
    position: relative;
    min-height: 100vh;
  }

  /* Reduzierte Bewegung respektieren */
  @media (prefers-reduced-motion: reduce) {
    .reveal, .reveal-3d, .reveal-stagger > *, .reveal-scale, .reveal-headline {
      opacity: 1 !important;
      transform: none !important;
      transition: none !important;
    }
  }

  /* ============================================================
     MOBILE-SPEZIFISCHE ANPASSUNGEN (unter 640px)
     ============================================================ */
  @media (max-width: 640px) {
    /* Sektions-Padding auf Mobile enger */
    section { padding: 60px 0; }
    .price-section { padding: 60px 0; }
    .final-cta { padding: 72px 0; }

    /* Hero kompakter auf Mobile */
    .hero { padding: 56px 0 48px; }
    .hero h1 { margin-bottom: 14px; }
    .hero .sub { margin-bottom: 20px; font-size: 16px; }
    .hero-cta { margin-bottom: 12px; }
    .hero-cta .btn { width: 100%; max-width: 320px; }
    .hero-textlink { margin-bottom: 14px; font-size: 14px; }
    .micro-trust { font-size: 12px; line-height: 1.7; }
    .micro-trust span { display: inline; margin: 0 8px; }
    .hero-visual {
      margin-top: 32px;
      border-radius: 14px;
      padding: 16px 12px;
      aspect-ratio: 820 / 380;
    }
    .hero-visual .hero-chart-line { stroke-width: 3.2; }
    .hero-visual .hero-chart-tick { font-size: 18px; }
    .hero-visual .hero-chart-axis-title { font-size: 17px; letter-spacing: 0.06em; }
    .hero-visual .hero-milestone-label { font-size: 17px; font-weight: 600; }
    .hero-visual .hero-chart-caption { font-size: 17px; letter-spacing: 0.05em; }
    .hero-visual .hero-milestone-dot { stroke-width: 3; r: 7; }
    .hero-visual .hero-chart-dot-end { r: 9; }
    .play-button { width: 60px; height: 60px; font-size: 22px; }
    .video-caption { font-size: 12px; bottom: 16px; left: 16px; }

    /* Section-Titel auf Mobile etwas kleiner */
    .section-sub { margin-bottom: 32px; }

    /* Phone-CTA-Leiste auf Mobile */
    .phone-cta-band { padding: 22px 20px; gap: 12px; margin-top: 28px; }
    .phone-cta-content h3 { font-size: 18px; }
    .phone-cta-content p { font-size: 14px; }
    .phone-cta-button { width: 100%; justify-content: center; }

    /* Problem-Cards enger */
    .problem-card { padding: 24px 22px; }

    /* About-Sektion */
    .about-image { max-width: 280px; margin: 0 auto; }
    .about-timeline { margin: 18px 0; padding-left: 18px; }

    /* Stats: 2x2 statt nebeneinander */
    .stats { padding: 22px 18px; gap: 16px; }
    .stat-number { font-size: 28px; }
    .stat-label { font-size: 12px; }

    /* Preis-Card enger */
    .price-card { padding: 32px 24px 28px; border-radius: 20px; }
    .price-amount { font-size: 52px; }
    .price-includes li { font-size: 13px; padding: 4px 0 4px 24px; }
    .trust-box { padding: 20px 22px; }
    .trust-box .trust-cta .btn { flex: 1; min-width: 140px; }

    /* Compare-Box */
    .compare { margin-top: 32px; }
    .compare-title { margin-bottom: 20px; }
    .compare-item { padding: 18px 18px; }
    .compare-amount { font-size: 24px; }

    /* FAQ auf Mobile */
    .faq summary { padding: 18px 0; font-size: 16px; }
    .faq p { font-size: 14px; padding-bottom: 18px; max-width: 100%; }

    /* Final-CTA */
    .final-cta h2 { font-size: 34px; margin-bottom: 14px; }
    .final-cta p { font-size: 16px; margin-bottom: 22px; }
    .final-cta .hero-cta .btn { width: 100%; max-width: 320px; }

    /* Footer */
    footer { padding: 36px 0 20px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; margin-bottom: 24px; }
    .footer-col h4 { margin-bottom: 12px; }
    .footer-bottom { font-size: 11px; flex-direction: column; gap: 12px; }
    .footer-bottom .legal { flex-wrap: wrap; }
    .footer-bottom .disclaimer { font-size: 11px; line-height: 1.5; }

    /* Navigation: Brand etwas kleiner */
    body > nav .brand { font-size: 15px; }

    /* Modul-Grid: kein Hover-Shift auf Mobile */
    .module:hover { transform: none; }
  }

  /* Sehr kleine Screens (<= 360px, z. B. iPhone SE) */
  @media (max-width: 360px) {
    .container { padding: 0 16px; }
    .price-amount { font-size: 46px; }
    .final-cta h2 { font-size: 30px; }
    .compare-title { font-size: 22px; }
  }

  /* Tablet-Zwischenbereich (641 bis 900px) feinjustieren */
  @media (min-width: 641px) and (max-width: 900px) {
    .container { padding: 0 28px; }
    section { padding: 72px 0; }
    .price-section { padding: 72px 0; }
    .final-cta { padding: 88px 0; }
    .hero { padding: 72px 0 60px; }
    .problem-grid, .solution-grid, .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonial-grid > *:nth-child(3) { grid-column: 1 / -1; max-width: calc(50% - 10px); margin: 0 auto; }
    .modules { grid-template-columns: repeat(2, 1fr); }
    .about { grid-template-columns: 1fr; gap: 36px; }
    .about-image { max-width: 380px; margin: 0 auto; }
  }

/* ============ Markdown-Tabellen (Apple-Stil) ============ */
.il-table-wrap {
  margin: 28px 0;
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid var(--gray-3);
  background: var(--white);
}
.il-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  line-height: 1.5;
}
.il-table th, .il-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--gray-3);
}
.il-table th {
  background: var(--gray-bg);
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-1);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.il-table tbody tr:last-child td {
  border-bottom: 0;
}
.il-table tbody tr:hover {
  background: var(--gray-bg);
}

/* Bessere Headlines im Single-Finanzwissen */
.finanzwissen-content h2 {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 48px 0 16px;
  color: var(--black);
}
.finanzwissen-content h3 {
  font-size: clamp(20px, 2.4vw, 24px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 32px 0 12px;
  color: var(--black);
}
.finanzwissen-content p { margin: 0 0 18px; }
.finanzwissen-content ul, .finanzwissen-content ol { margin: 0 0 18px 22px; padding: 0; }
.finanzwissen-content li { margin-bottom: 6px; }
.finanzwissen-content blockquote {
  margin: 24px 0;
  padding: 16px 22px;
  border-left: 3px solid var(--blue);
  background: var(--gray-bg);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: var(--black);
}
.finanzwissen-content code {
  background: var(--gray-bg);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.92em;
}
