/* ═══════════════════════════════════════════════════════════════════════════
   AffiPay — Landing Page Styles
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Reset & Base ──────────────────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #0096ff;
    --primary-dark: #031b34;
    --primary-medium: #062a4d;
    --primary-text: #0067cc;  /* Dunkleres Blau für Text auf weißem Hintergrund — WCAG AA 5.5:1 */
    --accent: #68d8c2;
    --accent-dark: #4bb8a4;
    --text: #1a1a2e;
    --text-dark: #1a1a2e;
    --text-muted: #5a5a7a;
    --text-light: rgba(255, 255, 255, 0.7);
    --text-body: #3a3a5a;
    --bg-light: #f8f9fc;
    --bg-white: #ffffff;
    --border: #e8eaf0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: 0.2s ease;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--bg-white);
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ── Skip Navigation (WCAG 2.4.1) ─────────────────────────────────────── */
.skip-nav {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 28px;
    background: #fff;
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 15px;
    z-index: 9999;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    text-decoration: none;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--primary-text);
    border-top: none;
    transition: top 0.2s ease;
    white-space: nowrap;
}
.skip-nav:focus {
    top: 0;
}

/* ── Globale Focus-Stile für Tastaturnavigation (WCAG 2.4.7 / 2.4.11) ── */
:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
    border-radius: 3px;
}

/* Focus für Buttons auf dunklem Hintergrund */
.btn:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}
.btn-outline:focus-visible,
.btn-nav:focus-visible {
    outline: 3px solid var(--primary-text);
    outline-offset: 3px;
}

/* Focus für Nav-Links */
.nav-links a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
    border-radius: 3px;
}

/* Focus für FAQ-Summary */
.faq-question:focus-visible {
    outline: 3px solid var(--primary-text);
    outline-offset: -3px;
    border-radius: var(--radius-md);
}

/* Screen-Reader-Only Hilfsklasse */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ── Container ─────────────────────────────────────────────────────────── */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Navigation ────────────────────────────────────────────────────────── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s ease;
}

.nav.scrolled {
    background: rgba(3, 27, 52, 0.95);
    backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo-text {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
}

.nav-logo-img {
    height: 32px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
    transition: color var(--transition);
}

.nav-links a:hover {
    color: #fff;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    font-family: inherit;
    line-height: 1.4;
    text-decoration: none;
    max-width: 100%;
    box-sizing: border-box;
}

.btn-nav,
.btn-login {
    white-space: nowrap;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
    border-radius: var(--radius-md);
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.btn-primary:hover {
    background: #0080e0;
    border-color: #0080e0;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 150, 255, 0.3);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.25);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary-text); /* 5.5:1 auf Weiß — WCAG AA */
    border-color: var(--primary-text);
}

.btn-outline:hover {
    background: var(--primary-text);
    color: #fff;
}

.btn-nav {
    background: var(--primary);
    color: #fff;
    padding: 10px 20px;
    font-size: 13px;
    border-radius: var(--radius-sm);
}

.btn-nav:hover {
    background: #0080e0;
    color: #fff;
}

.btn-login {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    padding: 10px 20px;
    font-size: 13px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-sm);
}

.btn-login:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

.btn-login svg {
    width: 16px;
    height: 16px;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    /* Gradient mit dunkleren Endtönen für garantierten Textkontrast (WCAG AA) */
    background: linear-gradient(145deg, var(--primary-dark) 0%, var(--primary-medium) 40%, #004f9f 75%, #005fba 100%);
    z-index: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 80%;
    height: 120%;
    background: radial-gradient(circle, rgba(104, 216, 194, 0.12) 0%, transparent 60%);
    animation: hero-glow 12s ease-in-out infinite;
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 60%;
    height: 80%;
    background: radial-gradient(circle, rgba(0, 150, 255, 0.1) 0%, transparent 50%);
    animation: hero-glow 15s ease-in-out infinite reverse;
}

@keyframes hero-glow {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -20px); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 28px;
    letter-spacing: 0.3px;
}

.hero-title {
    font-size: clamp(36px, 5.5vw, 60px);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent) 0%, #a8e6cf 50%, #68d8c2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.92); /* Erhöht auf 0.92 für ausreichenden Kontrast auf dem Gradienten */
    max-width: 640px;
    margin: 0 auto 36px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-trust {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.92); /* Erhöht für WCAG-Konformität auf hellem Gradienten-Bereich */
    font-weight: 500;
}

.hero-trust-item svg {
    color: var(--accent);
}

/* ── Social Proof Bar ──────────────────────────────────────────────────── */
.proof-bar {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    padding: 32px 0;
}

.proof-bar-inner {
    text-align: center;
}

.proof-bar-text {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.3px;
    margin-bottom: 20px;
}

.proof-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.proof-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.proof-stat-number {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-text); /* 5.5:1 auf Weiß — WCAG AA */
    letter-spacing: -0.5px;
}

.proof-stat-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

/* ── Sections ──────────────────────────────────────────────────────────── */
.section {
    padding: 96px 0;
}

.section-light {
    background: var(--bg-light);
}

.section-dark {
    background: var(--primary-dark);
}

.section-gradient {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-medium) 100%);
}

.section-accent {
    background: var(--bg-white);
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-label {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 103, 204, 0.08);
    color: var(--primary-text); /* Dunkleres Blau: 5.5:1 auf Weiß — WCAG AA */
    font-size: 12px;
    font-weight: 700;
    border-radius: 100px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-label-light {
    background: rgba(104, 216, 194, 0.15);
    color: var(--accent);
}

.section-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto;
}

.text-white { color: #fff; }
.text-white-muted { color: rgba(255, 255, 255, 0.7); }

/* ── Pain Grid ─────────────────────────────────────────────────────────── */
.pain-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.pain-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: all var(--transition);
}

.pain-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.pain-icon {
    width: 48px;
    height: 48px;
    background: #fff5f5;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.pain-icon svg {
    width: 24px;
    height: 24px;
    color: #e74c3c;
}

.pain-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text);
}

.pain-card p {
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-muted);
}

.pain-summary {
    text-align: center;
    padding: 28px 40px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-left: 4px solid #e74c3c;
    border-radius: var(--radius-sm);
}

.pain-summary p {
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-muted);
}

.pain-summary strong {
    color: var(--text);
}

/* ── Flow Steps ────────────────────────────────────────────────────────── */
.flow-section {
    max-width: 600px;
    margin: 0 auto;
}

.flow-step {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.flow-number {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    color: #fff;
}

.flow-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.flow-content p {
    font-size: 15px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.65);
}

.flow-connector {
    width: 2px;
    height: 32px;
    background: linear-gradient(180deg, var(--accent), rgba(104, 216, 194, 0.2));
    margin: 8px 0 8px 23px;
}

/* ── Features Grid ─────────────────────────────────────────────────────── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: all var(--transition);
}

.feature-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-icon-blue { background: #e8f4ff; }
.feature-icon-blue svg { color: var(--primary); }
.feature-icon-green { background: #e8faf5; }
.feature-icon-green svg { color: #27ae60; }
.feature-icon-purple { background: #f0e8ff; }
.feature-icon-purple svg { color: #8e44ad; }
.feature-icon-orange { background: #fff5e8; }
.feature-icon-orange svg { color: #e67e22; }
.feature-icon-teal { background: #e8f8f5; }
.feature-icon-teal svg { color: var(--accent-dark); }
.feature-icon-red { background: #fde8e8; }
.feature-icon-red svg { color: #e74c3c; }

.feature-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text);
}

.feature-card p {
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-muted);
}

/* ── Split Section (UpPromote) ─────────────────────────────────────────── */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

/* ── UpPromote Limitation Box ──────────────────────────────────────────── */
.uppromote-limitation-box {
    background: rgba(255, 80, 80, 0.12);
    border: 1px solid rgba(255, 100, 100, 0.35);
    border-left: 4px solid #ff6464;
    border-radius: 10px;
    padding: 18px 22px;
    margin-bottom: 4px;
}

.limitation-box-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 700;
    color: #ffaaaa;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.limitation-box-title svg {
    flex-shrink: 0;
    color: #ff8080;
}

.limitation-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.limitation-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14.5px;
    color: rgba(255, 220, 220, 0.9);
    line-height: 1.5;
}

.limitation-list li::before {
    content: "✗";
    color: #ff7070;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

.uppromote-benefits {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.uppromote-benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.uppromote-benefit svg {
    color: var(--accent);
    flex-shrink: 0;
}

/* ── Combo Card ────────────────────────────────────────────────────────── */
.combo-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-xl);
}

.combo-card-header {
    text-align: center;
    margin-bottom: 28px;
}

.combo-logo-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
}

.combo-logo-badge {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #6366f1, #818cf8);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.combo-logo-badge-ap {
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

.combo-plus {
    font-size: 24px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.75); /* Erhöht: war 0.4, zu wenig Kontrast */
}

.combo-card-header h4 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.combo-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.combo-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.combo-feature-source {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: 4px;
    min-width: 72px;
    text-align: center;
    flex-shrink: 0;
}

.combo-source-up {
    background: rgba(99, 102, 241, 0.2);
    color: #a5b4fc;
}

.combo-source-ap {
    background: rgba(0, 150, 255, 0.2);
    color: var(--accent);
}

.combo-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 4px 0;
}

/* ── CTA Box ───────────────────────────────────────────────────────────── */
.cta-box {
    display: flex;
    align-items: center;
    gap: 48px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-sm);
}

.cta-box-content {
    flex: 1;
}

.cta-box-content h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.cta-box-content p {
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.cta-box-features {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-box-features span {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-text); /* 5.5:1 auf Weiß — WCAG AA */
    padding: 5px 12px;
    background: rgba(0, 103, 204, 0.1);
    border-radius: 100px;
}

.cta-box-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 220px;
}

/* ── Testimonials ─────────────────────────────────────────────────────── */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.testimonials-grid-single {
    grid-template-columns: minmax(0, 760px);
    justify-content: center;
}

.testimonial-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    min-height: 100%;
}

.testimonial-card-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.testimonial-avatar {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: #eef2ff;
    flex-shrink: 0;
}

.testimonial-name {
    font-size: 17px;
    font-weight: 800;
    color: var(--text);
}

.testimonial-role {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-text);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-top: 4px;
}

.testimonial-quote {
    font-size: 15px;
    line-height: 1.75;
    color: var(--text-body);
}

/* ── Before / After ────────────────────────────────────────────────────── */
.before-after {
    display: flex;
    gap: 24px;
    align-items: stretch;
}

.before-card, .after-card {
    flex: 1;
    border-radius: var(--radius-lg);
    padding: 36px;
    display: flex;
    flex-direction: column;
}

.before-card {
    background: #fef5f5;
    border: 1px solid #fde2e2;
}

.after-card {
    background: #f0faf7;
    border: 1px solid #d4f0e7;
}

.ba-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid;
}

.ba-header-before {
    color: #e74c3c;
    border-color: #fde2e2;
}

.ba-header-after {
    color: #27ae60;
    border-color: #d4f0e7;
}

.ba-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.ba-list li {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-muted);
    padding-left: 24px;
    position: relative;
}

.ba-list li::before {
    content: '×';
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 700;
    font-size: 16px;
    color: #e74c3c;
}

.ba-list-after li::before {
    content: '✓';
    color: #27ae60;
}

.before-after-arrow {
    display: flex;
    align-items: center;
    color: var(--primary);
    flex-shrink: 0;
}

.ba-time {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #fde2e2;
    text-align: center;
}

.ba-time-after {
    border-color: #d4f0e7;
}

.ba-time-number {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: #e74c3c;
    letter-spacing: -0.5px;
}

.ba-time-after .ba-time-number {
    color: #27ae60;
}

.ba-time-label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ── FAQ ───────────────────────────────────────────────────────────────── */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: box-shadow var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-sm);
}

.faq-item[open] {
    box-shadow: var(--shadow-md);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question svg {
    color: var(--text-muted);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item[open] .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 24px 20px;
}

.faq-answer p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-muted);
}

/* ── Contact Form ──────────────────────────────────────────────────────── */
.contact-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    color: #fff;
    font-size: 15px;
    font-family: inherit;
    transition: all var(--transition);
    outline: 0; /* Durch box-shadow + border ersetzt — sichtbarer als Standard-Outline */
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 3px rgba(104, 216, 194, 0.35); /* Sichtbarer Focus-Ring — WCAG 2.4.7 */
}
.form-group input:focus-visible,
.form-group select:focus-visible,
.form-group textarea:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='rgba(255,255,255,0.5)' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group select option {
    background: var(--primary-dark);
    color: #fff;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-note {
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7); /* War 0.4 — erhöht für WCAG-Konformität */
    margin-top: 16px;
}

.form-required-note {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

/* ── Footer ────────────────────────────────────────────────────────────── */
.footer {
    background: var(--primary-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 64px 0 0;
    color: rgba(255, 255, 255, 0.6);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    display: block;
    margin-bottom: 12px;
}

.footer-logo-img {
    height: 30px;
    width: auto;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 64px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 6px;
}

.footer-col a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition);
}

.footer-col a:hover {
    color: var(--accent);
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55); /* War 0.3 — erhöht für WCAG AA auf dunklem Hintergrund */
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .split-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cta-box {
        flex-direction: column;
        text-align: center;
    }

    .cta-box-actions {
        width: 100%;
    }

    .footer-links {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 64px 0;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--primary-dark);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 30px 30px;
        gap: 20px;
        transition: right 0.3s ease;
        box-shadow: -4px 0 30px rgba(0, 0, 0, 0.3);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 16px;
    }

    .nav-toggle {
        display: flex;
    }

    .pain-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .before-after {
        flex-direction: column;
    }

    .before-after-arrow {
        justify-content: center;
        transform: rotate(90deg);
    }

    .hero-title {
        font-size: clamp(28px, 8vw, 42px);
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }

    .hero-trust {
        flex-direction: column;
        gap: 12px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .proof-stats {
        gap: 24px;
    }

    .footer-inner {
        flex-direction: column;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 32px;
    }

    .cta-box {
        padding: 32px 24px;
    }

    .btn-lg {
        padding: 14px 24px;
        font-size: 15px;
    }

    .cta-box-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-box-actions .btn {
        text-align: center;
        justify-content: center;
    }

    .contact-card {
        padding: 28px 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .section-title {
        font-size: 24px;
    }

    .pain-card, .feature-card {
        padding: 24px;
    }

    .before-card, .after-card {
        padding: 24px;
    }

    .combo-card {
        padding: 24px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   BARRIEREFREIHEIT — REDUCED MOTION (WCAG 2.3.3)
   ═══════════════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    html {
        scroll-behavior: auto;
    }

    .hero-bg::before,
    .hero-bg::after {
        animation: none;
    }

    .pain-card:hover,
    .feature-card:hover {
        transform: none;
    }
}
