/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1e3a5f;
    --primary-dark: #152b47;
    --accent: #4da6ff;
    --accent-light: #7bbfff;
    --accent-glow: rgba(77, 166, 255, 0.15);
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --green: #10b981;
    --green-light: #d1fae5;
    --orange: #f59e0b;
    --purple: #8b5cf6;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Sora', 'Inter', sans-serif;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--gray-800);
    line-height: 1.7;
    background: var(--white);
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; }

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover { color: var(--primary); }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    line-height: 1.25;
    font-weight: 700;
}

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

/* ===== REVEAL ANIMATION ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition);
    background: transparent;
}
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    padding: 10px 0;
    box-shadow: var(--shadow-md);
}
.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--white);
    transition: color var(--transition);
}
.navbar.scrolled .navbar-brand { color: var(--primary); }
.brand-icon {
    font-size: 1.6rem;
    line-height: 1;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}
.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    transition: color var(--transition);
}
.navbar.scrolled .nav-links a { color: var(--gray-600); }
.nav-links a:hover { color: var(--accent); }
.nav-cta {
    background: var(--accent) !important;
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600 !important;
    transition: background var(--transition), transform var(--transition) !important;
}
.nav-cta:hover {
    background: var(--accent-light) !important;
    transform: translateY(-1px);
}
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition);
}
.navbar.scrolled .hamburger span { background: var(--primary); }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}
.btn-primary {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}
.btn-primary:hover {
    background: #3d96ef;
    border-color: #3d96ef;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(77,166,255,0.35);
}
.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
    color: var(--white);
}
.btn-white {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}
.btn-white:hover {
    background: var(--gray-100);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 80px;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: url('../images/hero.png') center/cover no-repeat;
    z-index: -2;
}
.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30,58,95,0.75) 0%, rgba(0,0,0,0.6) 100%);
}
.hero-bg::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--white), transparent);
    z-index: 1;
}
.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}
.hero-badge {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(77,166,255,0.15);
    border: 1px solid rgba(77,166,255,0.3);
    border-radius: 50px;
    color: var(--accent-light);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}
.hero h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}
.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,0.8);
    max-width: 680px;
    margin: 0 auto 36px;
    line-height: 1.8;
}
.hero-subtitle strong { color: var(--accent-light); }
.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}
.hero-stat {
    text-align: center;
}
.hero-stat-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-light);
    margin-bottom: 4px;
}
.hero-stat-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 2;
}
.hero-scroll-indicator span {
    display: block;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid rgba(255,255,255,0.4);
    border-bottom: 2px solid rgba(255,255,255,0.4);
    transform: rotate(45deg);
    margin: 0 auto;
    animation: scrollBounce 2s infinite;
}
@keyframes scrollBounce {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50% { transform: rotate(45deg) translateY(8px); }
}

/* ===== SECTION COMMON ===== */
section {
    padding: 100px 0;
}
.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 60px;
}
.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}
.section-label-light { color: var(--accent-light); }
.section-header h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    margin-bottom: 16px;
}
.section-header p {
    color: var(--gray-500);
    font-size: 1.05rem;
}

/* ===== SOLAR FACTS ===== */
.solar-facts {
    background: var(--gray-50);
}
.facts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.fact-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition), box-shadow var(--transition);
}
.fact-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}
.fact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    color: var(--accent);
}
.fact-icon svg { width: 100%; height: 100%; }
.fact-value {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
    margin-bottom: 4px;
}
.fact-unit {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}
.fact-desc {
    font-size: 0.9rem;
    color: var(--gray-500);
}

/* ===== FÖRDERUNG ===== */
.foerderung {
    background: var(--white);
}
.foerderung-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-bottom: 60px;
}
.foerderung-card {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 36px;
    border: 1px solid var(--gray-200);
    transition: transform var(--transition), box-shadow var(--transition);
}
.foerderung-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.foerderung-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.foerderung-icon svg { width: 28px; height: 28px; }
.fc-green { background: var(--green-light); color: var(--green); }
.fc-blue { background: rgba(77,166,255,0.12); color: var(--accent); }
.fc-purple { background: rgba(139,92,246,0.1); color: var(--purple); }
.fc-orange { background: rgba(245,158,11,0.1); color: var(--orange); }
.foerderung-card h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}
.foerderung-amount {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 14px;
}
.foerderung-card p {
    font-size: 0.92rem;
    color: var(--gray-600);
    margin-bottom: 16px;
}
.foerderung-details {
    list-style: none;
    font-size: 0.85rem;
    color: var(--gray-500);
}
.foerderung-details li {
    padding: 4px 0 4px 20px;
    position: relative;
}
.foerderung-details li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.5;
}

/* Subsidy Table */
.foerderung-table-wrap {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--gray-200);
}
.foerderung-table-wrap h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}
.table-subtitle {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin-bottom: 24px;
}
.table-responsive {
    overflow-x: auto;
    margin-bottom: 16px;
}
.foerderung-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.foerderung-table thead {
    background: var(--primary);
}
.foerderung-table th {
    color: var(--white);
    font-weight: 600;
    padding: 14px 16px;
    text-align: left;
    white-space: nowrap;
}
.foerderung-table th:first-child { border-radius: var(--radius-sm) 0 0 0; }
.foerderung-table th:last-child { border-radius: 0 var(--radius-sm) 0 0; }
.foerderung-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--gray-200);
    white-space: nowrap;
}
.foerderung-table tbody tr:hover { background: rgba(77,166,255,0.04); }
.foerderung-table td.highlight {
    font-weight: 700;
    color: var(--green);
}
.foerderung-table td.effective {
    font-weight: 700;
    color: var(--primary);
}
.table-note {
    font-size: 0.8rem;
    color: var(--gray-400);
    font-style: italic;
}

/* ===== ARTIKEL ===== */
.artikel {
    background: var(--gray-50);
}
.artikel-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
    align-items: start;
}
.artikel-topic {
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--gray-200);
}
.artikel-topic:last-of-type {
    border-bottom: none;
}
.artikel-topic-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}
.artikel-topic-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: rgba(77,166,255,0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}
.artikel-topic-icon svg { width: 30px; height: 30px; }
.artikel-topic-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.artikel-topic h3 {
    font-size: 1.3rem;
    margin-top: 4px;
}
.artikel-topic p {
    font-size: 1rem;
    color: var(--gray-700);
    margin-bottom: 16px;
    line-height: 1.8;
}

/* Drop cap */
.drop-cap::first-letter {
    float: left;
    font-family: var(--font-heading);
    font-size: 3.8rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 0.8;
    padding: 6px 12px 0 0;
}

/* Side quote */
.artikel-quote {
    margin: 28px 0;
    padding: 24px 28px;
    background: var(--white);
    border-left: 4px solid var(--accent);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    box-shadow: var(--shadow-sm);
}
.artikel-quote blockquote {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--primary);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 8px;
}
.artikel-quote cite {
    font-size: 0.8rem;
    color: var(--gray-400);
    font-style: normal;
}

/* Key fact box */
.artikel-keyfact {
    margin: 28px 0;
    padding: 24px 28px;
    background: linear-gradient(135deg, rgba(77,166,255,0.06), rgba(77,166,255,0.12));
    border-radius: var(--radius-md);
    border: 1px solid rgba(77,166,255,0.2);
}
.keyfact-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.artikel-keyfact p {
    font-size: 0.95rem;
    color: var(--primary);
    margin-bottom: 0;
}

/* Artikel CTA */
.artikel-cta {
    text-align: center;
    padding: 48px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}
.artikel-cta h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}
.artikel-cta p {
    color: var(--gray-500);
    margin-bottom: 24px;
}

/* Sidebar */
.artikel-sidebar {
    position: sticky;
    top: 100px;
}
.sidebar-toc, .sidebar-box {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-md);
    margin-bottom: 24px;
}
.sidebar-toc h4, .sidebar-box h4 {
    font-size: 0.95rem;
    margin-bottom: 16px;
    color: var(--primary);
}
.sidebar-toc ul {
    list-style: none;
}
.sidebar-toc li {
    margin-bottom: 10px;
}
.sidebar-toc a {
    font-size: 0.88rem;
    color: var(--gray-600);
    display: block;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}
.sidebar-toc a:hover {
    background: var(--accent-glow);
    color: var(--accent);
}
.sidebar-checklist {
    list-style: none;
}
.sidebar-checklist li {
    font-size: 0.85rem;
    color: var(--gray-700);
    padding: 8px 0 8px 28px;
    position: relative;
    border-bottom: 1px solid var(--gray-100);
}
.sidebar-checklist li:last-child { border-bottom: none; }
.sidebar-checklist li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
    font-size: 0.9rem;
}

/* ===== VORTEILE ===== */
.vorteile {
    background: var(--white);
}
.vorteile-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}
.vorteil-card {
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.vorteil-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    opacity: 0;
    transition: opacity var(--transition);
}
.vorteil-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
}
.vorteil-card:hover::before { opacity: 1; }
.vorteil-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    opacity: 0.2;
    margin-bottom: 12px;
}
.vorteil-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}
.vorteil-card p {
    font-size: 0.92rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ===== RECHNER PREVIEW ===== */
.rechner {
    background: linear-gradient(135deg, var(--primary) 0%, #0d2137 100%);
    color: var(--white);
}
.rechner-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.rechner-info h2 {
    color: var(--white);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    margin-bottom: 16px;
}
.rechner-info > p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 32px;
}
.rechner-savings {
    margin-bottom: 32px;
}
.saving-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.saving-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}
.saving-value {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-light);
}
.highlight-saving {
    border-bottom: none;
    background: rgba(77,166,255,0.1);
    margin: 0 -16px;
    padding: 16px;
    border-radius: var(--radius-md);
}
.highlight-saving .saving-value {
    font-size: 1.5rem;
    color: var(--green);
}

/* House graphic */
.rechner-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 340px;
}
.house-graphic {
    position: relative;
    width: 220px;
}
.house-roof {
    width: 0;
    height: 0;
    border-left: 130px solid transparent;
    border-right: 130px solid transparent;
    border-bottom: 80px solid var(--accent);
    margin: 0 auto;
    position: relative;
    filter: drop-shadow(0 -4px 8px rgba(77,166,255,0.3));
}
.solar-panel {
    position: absolute;
    width: 28px;
    height: 16px;
    background: #1a365d;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 2px;
}
.sp-1 { bottom: 12px; left: 52px; }
.sp-2 { bottom: 12px; left: 84px; }
.sp-3 { bottom: 12px; left: 116px; }
.sp-4 { bottom: 32px; left: 68px; }
.sp-5 { bottom: 32px; left: 100px; }
.sp-6 { bottom: 52px; left: 84px; }
.house-body {
    width: 200px;
    height: 130px;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
    margin: 0 auto;
    position: relative;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px 0;
}
.house-window {
    width: 40px;
    height: 40px;
    background: rgba(77,166,255,0.3);
    border: 2px solid rgba(255,255,255,0.25);
    border-radius: 3px;
}
.house-door {
    width: 36px;
    height: 56px;
    background: rgba(77,166,255,0.2);
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 3px 3px 0 0;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
.sun-rays {
    position: absolute;
    top: -30px;
    right: -40px;
}
.ray {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--orange), transparent);
    margin-bottom: 12px;
    border-radius: 2px;
    animation: rayPulse 3s infinite ease-in-out;
}
.ray:nth-child(2) { width: 45px; animation-delay: 0.5s; transform: rotate(-15deg); }
.ray:nth-child(3) { width: 30px; animation-delay: 1s; transform: rotate(-30deg); }
@keyframes rayPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}
.rechner-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--green);
    border-radius: var(--radius-lg);
    padding: 20px 28px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(16,185,129,0.3);
}
.badge-amount {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
}
.badge-label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.85);
}

/* ===== FAQ ===== */
.faq {
    background: var(--white);
}
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    transition: box-shadow var(--transition);
}
.faq-item:hover {
    box-shadow: var(--shadow-md);
}
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    text-align: left;
    gap: 16px;
    transition: background var(--transition);
}
.faq-question:hover { background: var(--gray-50); }
.faq-chevron {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--accent);
    transition: transform var(--transition);
}
.faq-item.active .faq-chevron {
    transform: rotate(180deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.active .faq-answer {
    max-height: 400px;
}
.faq-answer p {
    padding: 0 24px 20px;
    font-size: 0.92rem;
    color: var(--gray-600);
    line-height: 1.8;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, #0d2137 50%, #1a365d 100%);
    text-align: center;
}
.cta-content h2 {
    color: var(--white);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    margin-bottom: 16px;
}
.cta-content p {
    color: rgba(255,255,255,0.75);
    font-size: 1.05rem;
    max-width: 640px;
    margin: 0 auto 32px;
}
.cta-features {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}
.cta-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
}
.cta-feature svg {
    width: 20px;
    height: 20px;
    color: var(--green);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--gray-900);
    padding: 60px 0 0;
    color: var(--gray-400);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}
.footer-logo:hover { color: var(--accent-light); }
.footer-brand p {
    font-size: 0.88rem;
    line-height: 1.7;
}
.footer-links h4 {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 16px;
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    font-size: 0.85rem;
    color: var(--gray-400);
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--accent-light); }
.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* ===== RESPONSIVE: 1024px ===== */
@media (max-width: 1024px) {
    .facts-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    .foerderung-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .artikel-layout {
        grid-template-columns: 1fr;
    }
    .artikel-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .vorteile-grid {
        gap: 20px;
    }
    .rechner-layout {
        gap: 40px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

/* ===== RESPONSIVE: 768px ===== */
@media (max-width: 768px) {
    section { padding: 70px 0; }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px 24px;
        box-shadow: var(--shadow-lg);
        gap: 4px;
    }
    .nav-links.active { display: flex; }
    .nav-links a {
        color: var(--gray-700) !important;
        padding: 10px 0;
        display: block;
    }
    .nav-cta {
        text-align: center;
        margin-top: 8px;
    }
    .hamburger { display: flex; }

    .hero { min-height: auto; padding: 140px 0 100px; }
    .hero-stats { gap: 24px; }

    .facts-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .fact-card {
        padding: 28px 24px;
    }
    .fact-value { font-size: 2.2rem; }

    .foerderung-grid {
        grid-template-columns: 1fr;
    }
    .foerderung-table-wrap {
        padding: 24px 16px;
    }

    .artikel-sidebar {
        grid-template-columns: 1fr;
    }
    .artikel-topic-header {
        flex-direction: column;
        gap: 12px;
    }
    .drop-cap::first-letter {
        font-size: 3rem;
    }
    .artikel-cta {
        padding: 32px 24px;
    }

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

    .rechner-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .rechner-visual {
        min-height: 280px;
    }

    .cta-features {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}


/* === Mobile Logo Size === */
@media (max-width: 768px) {
  .logo img, .nav-logo img, .navbar-brand img, .nav-brand img, .navbar__logo img {
    height: 36px !important;
  }
}