/* Premium Dark Mode with Emerald Accents */

:root {
    --bg-deep: #020617; /* Very dark slate */
    --bg-card: rgba(15, 23, 42, 0.6); /* Transparent slate */
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent-emerald: #10b981;
    --accent-emerald-dark: #059669;
    --accent-glow: rgba(16, 185, 129, 0.2);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-deep);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

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

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.text-gradient {
    background: linear-gradient(135deg, #34d399, #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(2, 6, 23, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: background-color 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: 1px;
    color: #fff;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-item {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-emerald);
    transition: width 0.3s ease;
}

.nav-item:hover {
    color: #fff;
}

.nav-item:hover::after {
    width: 100%;
}

.nav-action .btn {
    padding: 10px 24px;
    font-size: 0.9rem;
    box-shadow: none;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
}

.btn-primary {
    background: var(--accent-emerald);
    color: #fff;
    box-shadow: 0 4px 14px var(--accent-glow);
}

.btn-primary:hover {
    background: var(--accent-emerald-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    margin-top: 10px;
}

/* Sections */
.section {
    padding: 100px 0;
    position: relative;
}

/* 1. Vergleich Section */
.comparison-section {
}

/* 2. Leistungen */
.leistungen {
    position: relative;
    overflow: hidden;
}

.leistungen::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('team_bg.png');
    background-size: cover;
    background-position: center;
    opacity: 0.08;
    z-index: 0;
    pointer-events: none;
}

.leistungen .container {
    position: relative;
    z-index: 1;
}

/* 3. Ablauf */
.ablauf {
}

/* 4. Über Uns */
.ueber-uns {
    position: relative;
    background: 
        linear-gradient(180deg, rgba(2, 6, 23, 0.9) 0%, rgba(2, 6, 23, 0.9) 100%), 
        url('Auftritt.png') no-repeat center top;
    background-size: cover;
    background-attachment: fixed;
}

.ueber-uns::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(180deg, rgba(2, 6, 23, 1) 0%, rgba(2, 6, 23, 0) 100%);
    z-index: 1;
    pointer-events: none;
}

.ueber-uns::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(0deg, rgba(2, 6, 23, 1) 0%, rgba(2, 6, 23, 0) 100%);
    z-index: 1;
    pointer-events: none;
}

/* 5. BAFA Section */
.bafa {
}

/* 6. FAQ */
.faq {
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Hero */
.hero {
    position: relative;
    padding-top: 200px;
    padding-bottom: 120px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background-color: #020617;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 75%;
    background-image: url('hero_founder.png');
    background-size: cover;
    background-position: center top;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 75%;
    background: 
        linear-gradient(180deg, rgba(2, 6, 23, 1) 0%, rgba(2, 6, 23, 1) 10%, rgba(2, 6, 23, 0) 35%),
        linear-gradient(0deg, rgba(2, 6, 23, 1) 0%, rgba(2, 6, 23, 0) 25%),
        linear-gradient(270deg, rgba(2, 6, 23, 1) 0%, rgba(2, 6, 23, 0) 20%),
        linear-gradient(90deg, rgba(2, 6, 23, 1) 0%, rgba(2, 6, 23, 1) 15%, rgba(2, 6, 23, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    max-width: 650px;
    position: relative;
    z-index: 10;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-emerald);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 3.3rem;
    margin-bottom: 28px;
    line-height: 1.25;
}

.hero-subtext {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 44px;
    max-width: 580px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* Glass Cards */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.flex-card {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 40px 0;
}

.stat-box {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
}

.accent-box {
    background: rgba(16, 185, 129, 0.05);
    border-color: rgba(16, 185, 129, 0.2);
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}

.accent-box .stat-number {
    color: var(--accent-emerald);
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.card-content h3 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.card-footer-text {
    font-size: 1.1rem;
    color: var(--text-main);
    border-left: 4px solid var(--accent-emerald);
    padding-left: 16px;
}

/* Split Layout Guarantee */
.split-layout {
    display: flex;
    align-items: center;
    gap: 60px;
}

.split-text {
    flex: 1;
}

.split-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.split-text h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.split-text > p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.feature-list .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-emerald);
    border-radius: 50%;
    flex-shrink: 0;
    font-weight: bold;
}

.feature-list strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.feature-list p {
    color: var(--text-muted);
}

.founder-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: visible; /* allow badge to overflow */
}

.founder-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 24px;
    box-shadow: inset 0 0 40px rgba(2, 6, 23, 0.8);
    pointer-events: none;
}

.founder-image {
    width: 100%;
    height: 550px;
    object-fit: cover;
    border-radius: 24px;
    display: block;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.6), 0 0 40px rgba(16,185,129,0.15);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.guarantee-badge {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 220px;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 15px 30px rgba(16, 185, 129, 0.4));
    z-index: 10;
}

.shield-svg {
    width: 100%;
    height: 100%;
}

.guarantee-badge h3 {
    font-size: 1.8rem;
    color: #fff;
    line-height: 1.2;
}

/* Text Center */
.text-center {
    text-align: center;
}

.text-center h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.large-p {
    font-size: 1.3rem;
    margin-bottom: 24px;
}

/* Forms */
.form-container {
    max-width: 600px;
    margin: 0 auto;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-muted);
}

.form-group input {
    width: 100%;
    padding: 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-emerald);
}

.form-disclaimer {
    text-align: center;
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Footer */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 0;
    margin-top: 60px;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: 1px;
}

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

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--text-main);
}

.footer-copy {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
    .hero h1 { font-size: 3rem; }
    .split-layout { flex-direction: column; }
    .stats-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
}

@media (max-width: 600px) {
    .hero h1 { font-size: 2.2rem; }
    .hero-buttons { flex-direction: column; }
    .glass-card { padding: 32px 24px; }
}

/* --- NEW HERO SECTION STYLES --- */
.hero-split {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
}

@media (max-width: 900px) {
    .hero-split {
        flex-direction: column;
        text-align: center;
    }
    .hero-content {
        max-width: 100%;
    }
    .hero-trust-bar {
        padding: 16px 0;
        margin-top: -20px;
    }
    :root {
        --trust-bar-gap: 0px;
        --trust-bar-width: 600px;
    }
    .hero::after {
        background: linear-gradient(180deg, rgba(2, 6, 23, 0.95) 0%, rgba(2, 6, 23, 0.8) 100%);
    }
}

.social-proof-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.stars {
    color: #fbbf24;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

/* Root level variables for responsive trust bar */
:root {
    --trust-bar-gap: 0px;
    --trust-bar-width: 1000px;
}

.hero-trust-bar {
    position: relative;
    z-index: 10;
    margin-top: -40px;
    padding: 24px 0;
    overflow: hidden;
    width: 100%;
}

.trust-bar-container {
    display: flex;
    overflow: hidden;
    user-select: none;
    max-width: var(--trust-bar-width);
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.trust-bar-container::before,
.trust-bar-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.trust-bar-container::before {
    left: 0;
    background: linear-gradient(to right, #020617 0%, transparent 100%);
}

.trust-bar-container::after {
    right: 0;
    background: linear-gradient(to left, #020617 0%, transparent 100%);
}

.trust-bar-track {
    display: flex;
    flex-shrink: 0;
    min-width: 100%;
    gap: var(--trust-bar-gap);
    animation: scrollTrustBar 25s linear infinite;
}

.trust-bar-image {
    width: var(--trust-bar-width);
    height: auto;
    flex-shrink: 0;
    object-fit: contain;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.trust-bar-image:hover {
    opacity: 1;
}

@keyframes scrollTrustBar {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-1 * var(--trust-bar-width)));
    }
}

/* Pulse Animation for CTA */
.pulse-btn {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Dashboard Mockup */
.dashboard-mockup {
    width: 450px;
    max-width: 100%;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.6), 0 0 40px rgba(16,185,129,0.15);
    backdrop-filter: blur(16px);
}

.mockup-header {
    background: rgba(0, 0, 0, 0.3);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.mockup-header span {
    margin-left: auto;
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

.mockup-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mockup-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
}

.mockup-title {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.mockup-value {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
}

.guarantee-callout {
    background: rgba(16, 185, 129, 0.05);
    border-color: rgba(16, 185, 129, 0.2);
}

.mockup-graph {
    height: 30px;
    margin-top: 12px;
    background: linear-gradient(90deg, rgba(16,185,129,0) 0%, rgba(16,185,129,0.3) 100%);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.mockup-graph::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(16,185,129,0.1) 10px,
        rgba(16,185,129,0.1) 20px
    );
}

/* Comparison Section */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 40px;
}

@media (max-width: 800px) {
    .comparison-grid {
        grid-template-columns: 1fr;
    }
}

.comparison-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    position: relative;
    box-shadow: var(--shadow-glass);
}

.comparison-card.bad {
    border-color: rgba(239, 68, 68, 0.2);
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.7), rgba(239, 68, 68, 0.05));
}

.comparison-card.good {
    border-color: rgba(16, 185, 129, 0.3);
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.7), rgba(16, 185, 129, 0.1));
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.1);
}

.card-badge {
    position: absolute;
    top: -15px;
    left: 40px;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bad-badge {
    background: #ef4444;
    color: #fff;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

.good-badge {
    background: var(--accent-emerald);
    color: #fff;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.comparison-list {
    list-style: none;
    margin-top: 10px;
}

.comparison-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    font-size: 1.1rem;
    color: var(--text-main);
    line-height: 1.5;
}

.comparison-list li:last-child {
    margin-bottom: 0;
}

.icon.red { color: #ef4444; font-weight: bold; font-size: 1.2rem; }
.icon.green { color: var(--accent-emerald); font-weight: bold; font-size: 1.2rem; }

/* Case Studies Section - Clean & Minimalist Layout */
.studies-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 50px;
}

.study-card {
    padding: 0;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
}

.study-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.study-results-headline {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    font-family: var(--font-heading);
    line-height: 1.3;
    color: #ffffff;
    margin-bottom: 24px;
}

.study-card .highlight {
    color: var(--accent-emerald) !important;
    background: linear-gradient(135deg, #34d399, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none !important;
}

.study-content {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 0;
}

.study-text {
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.before-after {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.ba-col h4 {
    font-size: 0.95rem;
    margin-bottom: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.ba-col.after h4 {
    color: var(--accent-emerald) !important;
}

.ba-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ba-col ul li {
    margin-bottom: 10px;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-main);
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.ba-col.before ul li {
    color: #64748b;
}

.study-card .icon.red {
    color: #ef4444;
    font-size: 1.1rem;
    opacity: 0.8;
}

.study-card .icon.green {
    color: var(--accent-emerald) !important;
    font-size: 1.1rem;
}/* Outer wrapper: dark padded zone that separates image from card borders */

/* Outer wrapper: dark padded zone that separates image from card borders */
.study-image-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 24px;
    background: rgba(5, 12, 28, 0.6);
    border-left: 1px solid rgba(255, 255, 255, 0.06);
}

/* The floating browser window — rounded, shadowed, self-contained */
.browser-frame {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.3),
        0 12px 40px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.08);
}

/* Browser chrome header */
.browser-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 14px;
    height: 36px;
    background: #e2e8f0;
    border-bottom: 1px solid #cbd5e1;
    flex-shrink: 0;
}

.browser-dots {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-shrink: 0;
}

.browser-dots .dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.browser-dots .dot.red    { background: #ff5f56; }
.browser-dots .dot.yellow { background: #ffbd2e; }
.browser-dots .dot.green  { background: #27c93f; }

.browser-address {
    flex: 1;
    height: 20px;
    line-height: 20px;
    background: #ffffff;
    border-radius: 4px;
    padding: 0 10px;
    font-size: 0.7rem;
    font-family: var(--font-body, 'Inter', sans-serif);
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Viewport below the browser chrome — no fixed height, just the image */
.study-image {
    background: #f1f5f9;
    display: block;
    width: 100%;
}

/* Full image — no crop, full visibility, natural aspect ratio */
.mockup-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: unset;
    border: none;
    border-radius: 0;
    box-shadow: none;
    transition: transform 0.4s ease;
}

.study-card:hover .mockup-img {
    transform: scale(1.015);
}

/* Alternating layout: Swap sides for the middle study (Solar) on desktop */
.study-solar .study-content {
    grid-template-columns: 1.4fr 1fr;
}

.study-solar .study-text {
    order: 2;
}

.study-solar .study-image-wrapper {
    order: 1;
    border-left: none;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

/* Responsive configurations */
@media (max-width: 900px) {
    .study-content {
        grid-template-columns: 1fr;
    }
    
    .study-card {
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .study-image-wrapper {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        height: auto;
    }
    
    .study-results-headline {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .study-text {
        padding: 36px 24px;
    }
    
    .study-image {
        padding: 0;
        height: 100%;
        width: 100%;
    }
    
    /* Reset order on mobile for the middle study */
    .study-solar .study-text {
        order: unset;
    }
    
    .study-solar .study-image-wrapper {
        order: unset;
        border-right: none;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }
}

/* Orbit Leistungen Section */
.orbit-container {
    position: relative;
    width: 100%;
    max-width: 950px;
    height: 700px;
    margin: 60px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orbit-rings {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.orbit-ring {
    position: absolute;
    border: 1px dashed rgba(16, 185, 129, 0.3);
    border-radius: 50%;
    animation: rotate-ring linear infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ring-1 { width: 350px; height: 350px; animation-duration: 40s; border: 1px solid rgba(16, 185, 129, 0.4); }
.ring-2 { width: 500px; height: 500px; animation-duration: 60s; animation-direction: reverse; }
.ring-3 { width: 650px; height: 650px; animation-duration: 80s; }

@keyframes rotate-ring {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.orbit-center {
    position: absolute;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(16,185,129,0.3) 0%, rgba(2,6,23,0) 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
}

.orbit-center-icon {
    width: 100px;
    height: 100px;
    background: rgba(15, 23, 42, 0.9);
    border: 2px solid var(--accent-emerald);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 50px rgba(16, 185, 129, 0.5);
}

.orbit-card {
    position: absolute;
    width: 320px;
    height: 260px;
    padding: 28px !important;
    z-index: 20;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.orbit-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.6);
}

.card-top-left { top: 0; left: 0; animation: float-card 6s ease-in-out infinite; }
.card-top-right { top: 0; right: 0; animation: float-card 7s ease-in-out infinite 1s; }
.card-bottom-left { bottom: 0; left: 0; animation: float-card 6.5s ease-in-out infinite 2s; }
.card-bottom-right { bottom: 0; right: 0; animation: float-card 7.5s ease-in-out infinite 0.5s; }

@keyframes float-card {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.orbit-card-step {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    color: var(--accent-emerald);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.orbit-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    line-height: 1.3;
}

.orbit-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.satellite {
    position: absolute;
    top: -4px;
    width: 8px;
    height: 8px;
    background: var(--accent-emerald);
    border-radius: 50%;
    box-shadow: 0 0 15px 5px rgba(16, 185, 129, 0.6);
}

@media (max-width: 900px) {
    .orbit-container {
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 24px;
        margin-top: 40px;
    }
    .orbit-rings, .orbit-center {
        display: none;
    }
    .orbit-card {
        position: relative;
        top: auto; left: auto; right: auto; bottom: auto;
        width: 100%;
        animation: none;
    }
}

/* Modern Alternating Timeline Section */
.modern-timeline {
    position: relative;
    max-width: 1000px;
    margin: 100px auto 0;
    padding: 20px 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 6px;
    background: rgba(255, 255, 255, 0.03);
    transform: translateX(-50%);
    border-radius: 6px;
    overflow: hidden;
}

.timeline-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to bottom, var(--accent-emerald), var(--accent-cyan));
    box-shadow: 0 0 15px var(--accent-emerald), 0 0 30px var(--accent-cyan);
    height: 0%;
    transition: height 0.1s ease-out;
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 80px;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 64px;
    background: rgba(15, 23, 42, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-icon {
    width: 24px;
    height: 24px;
    color: rgba(255, 255, 255, 0.25);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Active State for Timeline Node & Content */
.timeline-item.active .timeline-dot {
    border-color: var(--accent-emerald);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(6, 182, 212, 0.15));
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.4), inset 0 0 10px rgba(16, 185, 129, 0.2);
}

.timeline-item.active .timeline-icon {
    color: #fff;
    filter: drop-shadow(0 0 8px var(--accent-emerald));
    transform: scale(1.1);
}

.timeline-content {
    width: 44%;
    padding: 40px !important;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.01) !important;
    border: 1px solid rgba(255, 255, 255, 0.03) !important;
    border-radius: 24px;
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item.active .timeline-content {
    border-color: rgba(16, 185, 129, 0.2) !important;
    background: rgba(255, 255, 255, 0.03) !important;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 35px rgba(16, 185, 129, 0.06);
}

.timeline-content:hover {
    transform: translateY(-6px);
    border-color: rgba(6, 182, 212, 0.3) !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), 0 0 35px rgba(6, 182, 212, 0.12) !important;
}

.timeline-item.right {
    flex-direction: row-reverse;
}

.timeline-step {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item.active .timeline-step {
    color: var(--accent-emerald);
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--text-main);
    position: relative;
    z-index: 1;
}

.timeline-content p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Giant background decorative number */
.timeline-number {
    position: absolute;
    font-family: var(--font-heading);
    font-size: 9rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(255, 255, 255, 0.02);
    pointer-events: none;
    user-select: none;
    bottom: -20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.timeline-item.left .timeline-number {
    left: 30px;
}

.timeline-item.right .timeline-number {
    right: 30px;
}

.timeline-item.active .timeline-number {
    color: rgba(16, 185, 129, 0.04);
}

@media (max-width: 800px) {
    .modern-timeline {
        margin-top: 60px;
    }
    .timeline-line {
        left: 30px;
        transform: none;
    }
    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 70px;
        margin-bottom: 50px;
    }
    .timeline-item.right {
        flex-direction: column;
    }
    .timeline-dot {
        left: 30px;
        transform: translateX(-50%);
        width: 50px;
        height: 50px;
    }
    .timeline-icon {
        width: 20px;
        height: 20px;
    }
    .timeline-content {
        width: 100%;
        padding: 35px 24px !important;
    }
    .timeline-item.left .timeline-number,
    .timeline-item.right .timeline-number {
        right: 20px;
        left: auto !important;
        font-size: 7rem;
        bottom: -15px;
    }
}

/* Über Marvin Trops & Team Section */
.margin-bottom-large {
    margin-bottom: 80px;
}

.about-portrait {
    width: 100%;
    max-width: 450px;
    height: 550px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.6), 0 0 40px rgba(16,185,129,0.15);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.team-card {
    text-align: center;
    padding: 85px 24px 32px !important;
    position: relative;
    margin-top: 60px; /* Space for the avatar overlapping top */
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    border-color: rgba(16, 185, 129, 0.4);
}

.team-avatar-wrapper {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    padding: 6px;
    background: #020617; /* To cut out the card border */
}

.team-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(16, 185, 129, 0.5);
}

.team-card h3 {
    font-size: 1.25rem;
    color: var(--text-main);
    margin-bottom: 12px;
}

.team-role {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-emerald);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

@media (max-width: 900px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 80px 24px;
    }
}
@media (max-width: 600px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
    .about-portrait {
        height: 400px;
    }
}

/* FAQ Accordion Section */
.faq-accordion {
    max-width: 800px;
    margin: 50px auto 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-accordion-item {
    padding: 0 !important;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-accordion-item:hover {
    border-color: rgba(16, 185, 129, 0.4);
}

.faq-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
}

.faq-accordion-header h3 {
    font-size: 1.15rem;
    color: var(--text-main);
    margin: 0;
    font-weight: 600;
}

.faq-icon {
    color: var(--accent-emerald);
    transition: transform 0.3s ease;
    display: flex;
}

.faq-accordion-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-accordion-content {
    padding: 0 32px 24px;
}

.faq-accordion-content p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* -------------------------------------------------------------------------- */
/* BAFA Section */
/* -------------------------------------------------------------------------- */
.bafa-section-container {
    display: flex;
    align-items: center;
    gap: 80px;
}

@media (max-width: 1000px) {
    .bafa-section-container {
        flex-direction: column;
        gap: 60px;
    }
}

.bafa-content {
    flex: 1;
}

.trust-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.trust-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.trust-list li strong {
    color: #fff;
    display: block;
    margin-bottom: 4px;
}

.trust-list svg {
    color: var(--accent-emerald);
    flex-shrink: 0;
    margin-top: 2px;
}

.bafa-certificate-wrapper {
    flex: 0 0 450px;
    position: relative;
    display: flex;
    justify-content: center;
}

@media (max-width: 1000px) {
    .bafa-certificate-wrapper {
        flex: 1;
        width: 100%;
    }
}

.bafa-certificate {
    background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px; /* Sharp corners for documents */
    padding: 40px;
    width: 100%;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,255,255,0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.bafa-certificate::before {
    content: '';
    position: absolute;
    top: 10px; left: 10px; right: 10px; bottom: 10px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 4px;
    pointer-events: none;
}

.certificate-header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 20px;
}

.eagle-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
}

.cert-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: 4px;
    color: #fff;
    line-height: 1;
}

.cert-subtitle {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 8px;
}

.certificate-body {
    text-align: center;
    padding-bottom: 20px;
}

.cert-status {
    color: var(--accent-emerald);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.certificate-body h3 {
    font-size: 1.3rem;
    line-height: 1.4;
    margin-bottom: 40px;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
}

.gold-seal-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto;
}

.gold-seal {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #FCD34D, #F59E0B, #B45309);
    border-radius: 50%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.2);
    border: 2px dashed rgba(255,255,255,0.5);
}

.gold-seal::before {
    content: '';
    position: absolute;
    inset: 4px;
    border: 1px solid rgba(255,255,255,0.6);
    border-radius: 50%;
}

.gold-seal::after {
    content: '80%';
    color: #020617;
    font-size: 2rem;
    font-weight: 800;
}

.gold-seal-ribbon {
    position: absolute;
    bottom: -15px;
    width: 30px;
    height: 50px;
    background: #B45309;
    z-index: 1;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 80%, 0 100%);
}

.gold-seal-ribbon.left {
    left: 20px;
    transform: rotate(15deg);
}

.gold-seal-ribbon.right {
    right: 20px;
    transform: rotate(-15deg);
}

.certificate-footer {
    text-align: center;
    margin-top: 30px;
}

.cert-signature-line {
    width: 150px;
    height: 1px;
    background: rgba(255,255,255,0.3);
    margin: 0 auto 10px;
}

.cert-signature-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
}

.bafa-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    background: radial-gradient(circle, rgba(16,185,129,0.15) 0%, transparent 60%);
    z-index: -1;
    filter: blur(40px);
}

/* --------------------------
   MEGA FOOTER
--------------------------- */
.mega-footer {
    background-color: #0f172a;
    position: relative;
    width: 100%;
    margin-top: 100px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Pre-Footer CTA */
.pre-footer-cta {
    position: relative;
    padding: 0;
    margin-top: 100px;
    margin-bottom: 40px; /* Space between CTA card and Footer card */
    z-index: 10;
}

.cta-box {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px; /* Wider container for more breathing room */
    width: 95%;
    height: 420px;
    margin: 0 auto;
    padding: 0;
    text-align: center;
    background: #0f172a;
    border-radius: 24px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5), 0 0 40px rgba(16,185,129,0.05);
    position: relative;
    overflow: hidden; /* Contains the floating animations */
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 720px; /* Allows text to stretch wider so it doesn't wrap awkwardly */
    padding: 0 40px; /* Buffer from the tracks */
}

.cta-content h2 {
    font-size: 2.5rem; /* Adjusted for perfect fit */
    margin-bottom: 16px; /* Tighter spacing */
    line-height: 1.25;
}

.cta-content p {
    color: var(--text-muted);
    font-size: 1.15rem;
    line-height: 1.6;
    max-width: 550px;
    margin: 0 auto 32px; /* Tighter spacing to button */
}

/* CTA Floating Animations (Marquee Style) */
.floating-track {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 220px; /* Slightly narrower tracks to give text more room */
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
    opacity: 0.5; /* Lowers overall opacity so text pops */
    /* Strong fade at the top and bottom of the box */
    mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
}

.track-left {
    left: 20px;
}

/* Gradient overlay fading into the center background */
.track-left::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent 0%, #0f172a 100%);
    z-index: 2;
}

.track-right {
    right: 20px;
}

/* Gradient overlay fading into the center background */
.track-right::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to left, transparent 0%, #0f172a 100%);
    z-index: 2;
}

.track-right .floating-bubble {
    flex-direction: row-reverse;
}

.track-right .bubble-text {
    text-align: right;
}

.marquee-content {
    display: flex;
    flex-direction: column;
    animation: scrollVertical 15s linear infinite; /* Faster! */
}

.marquee-content.reverse {
    animation: scrollVerticalReverse 15s linear infinite; /* Faster! */
}

.floating-bubble {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.03); /* Subtle container background back */
    border: 1px solid rgba(255, 255, 255, 0.05); /* Subtle border */
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 24px;
    width: 100%;
}

.bubble-icon {
    width: 32px;
    height: 32px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-emerald);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bubble-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.bubble-text strong {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.2;
}

.bubble-text span {
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-top: 2px;
}

@keyframes scrollVertical {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

@keyframes scrollVerticalReverse {
    0% { transform: translateY(-50%); }
    100% { transform: translateY(0); }
}

@media (max-width: 900px) {
    .cta-box {
        flex-direction: column;
        padding: 60px 20px;
    }
    .cta-content {
        padding: 0;
    }
    .floating-track {
        display: none;
    }
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Footer Main */
.footer-main {
    padding: 80px 0 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
}

.footer-brand p {
    color: var(--text-muted);
    line-height: 1.6;
    margin: 20px 0;
    font-size: 0.95rem;
    max-width: 300px;
}

.footer-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-main);
}

.footer-socials {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent-emerald);
    color: #fff;
    border-color: var(--accent-emerald);
    transform: translateY(-3px);
}

.footer-nav-col h4 {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 24px;
    font-weight: 600;
}

.footer-nav-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-col ul li {
    margin-bottom: 12px;
}

.footer-nav-col ul li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-nav-col ul li a:hover {
    color: var(--accent-emerald);
}

/* Footer Bottom */
.footer-bottom {
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: transparent;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom-content {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* -------------------------------------------------------------------------- */
/* BAFA Modal CSS */
/* -------------------------------------------------------------------------- */
.modal {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(2, 6, 23, 0.85);
    z-index: 9999;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: #0f172a;
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 16px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5), 0 0 40px rgba(16,185,129,0.1);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    text-align: center;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}

.close-modal:hover {
    color: #fff;
}

.bafa-step {
    display: none;
}

.bafa-step.active {
    display: block;
    animation: fadeInStep 0.4s ease forwards;
}

@keyframes fadeInStep {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.bafa-step h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #fff;
}

.bafa-step p {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.5;
}

.bafa-btn-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.bafa-btn-group button {
    width: 100%;
    justify-content: center;
    padding: 18px 24px;
    font-size: 1.1rem;
}

.bafa-select {
    width: 100%;
    padding: 16px 20px;
    background: rgba(2, 6, 23, 0.8);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
    font-size: 1.1rem;
    margin-bottom: 25px;
    outline: none;
    transition: border-color 0.2s;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23FFFFFF%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat, repeat;
    background-position: right .7em top 50%, 0 0;
    background-size: .65em auto, 100%;
}

.bafa-select:focus {
    border-color: var(--accent-emerald);
}

.bafa-select option {
    background: #0f172a;
    color: #fff;
}

.result-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.result-icon.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-emerald);
}

.result-icon.error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.bafa-percentage-highlight {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent-emerald);
    margin: 15px 0;
    text-shadow: 0 0 30px rgba(16,185,129,0.4);
}

body.modal-open {
    overflow: hidden;
}

/* Pulsing Prominent Button */
.pulse-btn {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    50% { transform: scale(1.02); box-shadow: 0 0 0 15px rgba(16, 185, 129, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Infinite scroller styles for many more case studies */
.trust-marquee-section {
    margin-top: 100px;
    padding-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    position: relative;
    width: 100%;
}

.trust-marquee-header {
    text-align: center;
    margin-bottom: 50px;
}

.trust-marquee-header h3 {
    font-size: 2.2rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
}

.trust-marquee-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.marquee-container {
    display: flex;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow: hidden;
    user-select: none;
    gap: 32px;
    position: relative;
    padding: 24px 0;
}

/* Gradient fade at edges */
.marquee-container::before,
.marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 200px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-deep) 0%, transparent 100%);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-deep) 0%, transparent 100%);
}

.trust-marquee-content {
    flex-shrink: 0;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-around;
    min-width: 100%;
    gap: 32px;
    animation: scrollMarquee 40s linear infinite;
}

.trust-marquee-item {
    width: 360px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.trust-marquee-item:hover {
    transform: scale(1.03);
}

.marquee-label {
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-emerald);
    margin-top: 14px;
    display: block;
    font-family: var(--font-heading);
}

@keyframes scrollMarquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

@media (max-width: 768px) {
    .trust-marquee-header h3 {
        font-size: 1.8rem;
    }
    .trust-marquee-item {
        width: 280px;
    }
    .marquee-container::before,
    .marquee-container::after {
        width: 100px;
    }
}

/* Hamburger & Mobile Nav — Hidden on Desktop */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(2, 6, 23, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 9998;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 40px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.mobile-nav.open {
    display: flex;
    opacity: 1;
    pointer-events: all;
}
.mobile-nav-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.8rem;
    cursor: pointer;
    transition: color 0.2s;
}
.mobile-nav-close:hover {
    color: #fff;
}
.mobile-nav-link {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.2s;
}
.mobile-nav-link:hover {
    color: var(--accent-emerald);
}

/* ==========================================================================
   COMPREHENSIVE MOBILE STYLES — Desktop stays 100% untouched
   ========================================================================== */

@media (max-width: 768px) {

    /* ---- Hamburger visible ---- */
    .hamburger {
        display: flex;
    }
    .nav-action {
        display: none;
    }

    /* ---- Global ---- */
    .container {
        padding: 0 16px;
    }
    .section {
        padding: 60px 0;
    }
    .section-header {
        margin: 0 auto 40px;
    }
    .section-header h2 {
        font-size: 1.8rem;
    }
    .section-header p {
        font-size: 1rem;
    }

    /* ---- Navbar ---- */
    .nav-container {
        height: 64px;
    }
    .nav-links {
        display: none;
    }
    .nav-action .btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    /* ---- Hero ---- */
    .hero {
        padding-top: 120px;
        padding-bottom: 60px;
        min-height: auto;
    }
    .hero::before {
        width: 100%;
        opacity: 0.35;
    }
    .hero::after {
        width: 100%;
        background: linear-gradient(180deg, rgba(2, 6, 23, 0.85) 0%, rgba(2, 6, 23, 0.9) 100%) !important;
    }
    .hero-split {
        flex-direction: column;
        text-align: center;
    }
    .hero-content {
        max-width: 100%;
    }
    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 20px;
    }
    .hero-subtext {
        font-size: 1.05rem;
        margin-bottom: 28px;
        max-width: 100%;
    }
    .hero-buttons {
        align-items: center;
    }
    .btn-large {
        padding: 14px 20px;
        font-size: 0.9rem;
        width: 100%;
        text-align: center;
        white-space: nowrap;
    }
    .btn {
        white-space: nowrap;
    }
    .social-proof-badge {
        justify-content: center;
        font-size: 0.8rem;
        flex-wrap: nowrap;
        white-space: nowrap;
        gap: 8px;
    }
    .social-proof-badge .stars {
        font-size: 0.9rem;
        letter-spacing: 1px;
        flex-shrink: 0;
    }

    /* ---- Trust Bar ---- */
    .hero-trust-bar {
        margin-top: -10px;
        padding: 12px 0;
    }
    :root {
        --trust-bar-width: 500px;
    }

    /* ---- Comparison Section ---- */
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .comparison-card {
        padding: 28px 20px;
    }
    .comparison-list li {
        font-size: 0.95rem;
        gap: 12px;
        margin-bottom: 18px;
    }
    .card-badge {
        left: 20px;
        font-size: 0.75rem;
        padding: 5px 12px;
    }

    /* ---- Orbit / Leistungen ---- */
    .orbit-container {
        height: auto;
        flex-direction: column;
        gap: 20px;
        margin-top: 30px;
    }
    .orbit-rings, .orbit-center {
        display: none;
    }
    .orbit-card {
        position: relative;
        top: auto; left: auto; right: auto; bottom: auto;
        width: 100%;
        height: auto;
        animation: none !important;
        padding: 24px !important;
    }
    .orbit-card h3 {
        font-size: 1.1rem;
    }
    .orbit-card p {
        font-size: 0.85rem;
    }

    /* ---- Case Studies ---- */
    .studies-container {
        gap: 24px;
        margin-top: 30px;
    }
    .study-content {
        grid-template-columns: 1fr !important;
    }
    .study-text {
        padding: 24px 16px;
    }
    .study-results-headline {
        font-size: 1.3rem;
        margin-bottom: 16px;
    }
    .study-image-wrapper {
        padding: 16px 12px;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }
    .study-solar .study-text {
        order: unset;
    }
    .study-solar .study-image-wrapper {
        order: unset;
        border-right: none;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }
    .before-after {
        gap: 20px;
    }
    .ba-col ul li {
        font-size: 0.9rem;
    }
    .browser-header {
        height: 30px;
        padding: 0 10px;
    }
    .browser-dots .dot {
        width: 8px;
        height: 8px;
    }
    .browser-address {
        font-size: 0.6rem;
    }

    /* ---- Trust Marquee (... und viele mehr) ---- */
    .trust-marquee-section {
        margin-top: 50px;
        padding-top: 40px;
    }
    .trust-marquee-header {
        margin-bottom: 30px;
    }
    .trust-marquee-header h3 {
        font-size: 1.5rem;
    }
    .trust-marquee-header p {
        font-size: 0.95rem;
    }
    .trust-marquee-item {
        width: 240px;
    }
    .marquee-container {
        gap: 20px;
    }
    .marquee-container::before,
    .marquee-container::after {
        width: 60px;
    }
    .marquee-label {
        font-size: 0.8rem;
        margin-top: 10px;
    }

    /* ---- Guarantee Section ---- */
    .split-layout {
        flex-direction: column;
        gap: 40px;
    }
    .split-text h2 {
        font-size: 1.8rem;
    }
    .split-text > p {
        font-size: 1rem;
        margin-bottom: 24px;
    }
    .feature-list li {
        gap: 12px;
        margin-bottom: 20px;
    }
    .feature-list strong {
        font-size: 1rem;
    }
    .feature-list p {
        font-size: 0.9rem;
    }
    .founder-image {
        height: 400px;
    }
    .guarantee-badge {
        width: 160px;
        height: 190px;
        bottom: -25px;
        right: -15px;
    }

    /* ---- Timeline / Ablauf ---- */
    .modern-timeline {
        margin-top: 40px;
    }
    .timeline-line {
        left: 24px;
        transform: none;
    }
    .timeline-item {
        flex-direction: column !important;
        align-items: flex-start;
        padding-left: 60px;
        margin-bottom: 40px;
    }
    .timeline-dot {
        left: 24px;
        transform: translateX(-50%);
        width: 44px;
        height: 44px;
    }
    .timeline-icon {
        width: 18px;
        height: 18px;
    }
    .timeline-content {
        width: 100%;
        padding: 24px 20px !important;
    }
    .timeline-content h3 {
        font-size: 1.2rem;
    }
    .timeline-content p {
        font-size: 0.95rem;
    }
    .timeline-number {
        font-size: 5rem !important;
        right: 10px !important;
        left: auto !important;
        bottom: -10px !important;
    }

    /* ---- Über Uns / Team ---- */
    .ueber-uns {
        background-attachment: scroll !important;
    }
    .about-portrait {
        max-width: 100%;
        height: 350px;
    }
    .margin-bottom-large {
        margin-bottom: 40px;
    }
    .team-grid {
        grid-template-columns: 1fr 1fr;
        gap: 60px 16px;
    }
    .team-card {
        padding: 70px 16px 24px !important;
        margin-top: 50px;
    }
    .team-avatar-wrapper {
        width: 100px;
        height: 100px;
        top: -50px;
    }
    .team-card h3 {
        font-size: 1.05rem;
    }
    .team-role {
        font-size: 0.75rem;
        padding: 4px 12px;
    }

    /* ---- BAFA Section ---- */
    .bafa-section-container {
        flex-direction: column;
        gap: 40px;
    }
    .bafa-content h2 {
        font-size: 1.6rem !important;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    .bafa-certificate-wrapper {
        flex: 1;
        width: 100%;
    }
    .bafa-certificate {
        padding: 28px 20px;
    }
    .cert-title {
        font-size: 2rem;
        letter-spacing: 2px;
    }
    .certificate-body h3 {
        font-size: 1.1rem;
        margin-bottom: 24px;
    }
    .gold-seal-container {
        width: 100px;
        height: 100px;
    }
    .gold-seal {
        width: 80px;
        height: 80px;
    }
    .gold-seal::after {
        font-size: 1.6rem;
    }
    .gold-seal-ribbon {
        width: 24px;
        height: 40px;
    }
    .gold-seal-ribbon.left {
        left: 15px;
    }
    .gold-seal-ribbon.right {
        right: 15px;
    }

    /* ---- FAQ Section ---- */
    .faq-accordion {
        margin-top: 30px;
    }
    .faq-accordion-header {
        padding: 18px 16px;
    }
    .faq-accordion-header h3 {
        font-size: 1rem;
    }
    .faq-accordion-content {
        padding: 0 16px 18px;
    }
    .faq-accordion-content p {
        font-size: 0.9rem;
    }

    /* ---- Pre-Footer CTA ---- */
    .pre-footer-cta {
        margin-top: 40px;
        margin-bottom: 24px;
    }
    .cta-box {
        height: auto;
        padding: 48px 16px;
        border-radius: 16px;
    }
    .cta-content {
        padding: 0;
    }
    .cta-content h2 {
        font-size: 1.7rem;
    }
    .cta-content p {
        font-size: 1rem;
    }
    .floating-track {
        display: none;
    }

    /* ---- Mega Footer ---- */
    .mega-footer {
        margin-top: 40px;
    }
    .footer-main {
        padding: 40px 0 30px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .footer-brand p {
        max-width: 100%;
    }
    .footer-bottom-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    /* ---- Glass Card global adjustments ---- */
    .glass-card {
        padding: 28px 20px;
        border-radius: 16px;
    }

    /* ---- Stats Grid ---- */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin: 24px 0;
    }
    .stat-box {
        padding: 20px;
    }
    .stat-number {
        font-size: 2.2rem;
    }

    /* ---- BAFA Modal ---- */
    .modal-content {
        padding: 28px 20px;
        width: 95%;
    }
    .bafa-step h3 {
        font-size: 1.25rem;
    }
    .bafa-step p {
        font-size: 1rem;
    }
    .bafa-percentage-highlight {
        font-size: 2.5rem;
    }
}

/* Extra small devices (< 400px) */
@media (max-width: 400px) {
    .hero h1 {
        font-size: 1.7rem;
    }
    .hero-subtext {
        font-size: 0.95rem;
    }
    .study-results-headline {
        font-size: 1.15rem;
    }
    .team-grid {
        grid-template-columns: 1fr;
        gap: 70px 0;
    }
    .cta-content h2 {
        font-size: 1.4rem;
    }
    .split-text h2 {
        font-size: 1.5rem;
    }
    .trust-marquee-item {
        width: 200px;
    }
}

