/* ===========================
   Anexia Energy – Global Styles
   =========================== */

:root {
    --green: #00c853;
    --green-dark: #009624;
    --blue: #0091ea;
    --blue-dark: #0064b7;
    --yellow: #ffab00;
    --yellow-dark: #c67c00;
    --dark: #0a1628;
    --dark-card: #111d33;
    --dark-surface: #162240;
    --gray-100: #f4f6fa;
    --gray-200: #e2e6ee;
    --gray-300: #c0c7d6;
    --gray-400: #8892a7;
    --gray-500: #5a6478;
    --white: #ffffff;
    --gradient-main: linear-gradient(135deg, #00c853 0%, #0091ea 100%);
    --gradient-hero: linear-gradient(160deg, #0a1628 0%, #112240 40%, #0a2e1f 100%);
    --gradient-card: linear-gradient(145deg, #111d33 0%, #162240 100%);
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 24px rgba(0,0,0,0.12);
    --shadow-lg: 0 12px 48px rgba(0,0,0,0.2);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===========================
   Light Mode
   =========================== */

[data-theme="light"] {
    --dark: #f5f7fa;
    --dark-card: #ffffff;
    --dark-surface: #f0f2f5;
    --gray-100: #1a1a2e;
    --gray-200: #2d2d44;
    --gray-300: #4a4a6a;
    --gray-400: #5a6478;
    --gray-500: #8892a7;
    --white: #0a1628;
    --gradient-hero: linear-gradient(160deg, #e8f5e9 0%, #e3f2fd 40%, #f1f8e9 100%);
    --gradient-card: linear-gradient(145deg, #ffffff 0%, #f8f9fb 100%);
    --shadow: 0 4px 24px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 48px rgba(0,0,0,0.08);
}

[data-theme="light"] body {
    color: #3a3a5c;
}

[data-theme="light"] .navbar.scrolled {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

[data-theme="light"] .logo-text {
    color: #0a1628;
}

[data-theme="light"] .nav-links a {
    color: #5a6478;
}

[data-theme="light"] .nav-links a:hover,
[data-theme="light"] .nav-links a.active {
    color: #0a1628;
}

[data-theme="light"] .nav-links a.active {
    background: rgba(0,0,0,0.05);
}

[data-theme="light"] .nav-toggle span {
    background: #0a1628;
}

[data-theme="light"] .hero h1 {
    color: #0a1628;
}

[data-theme="light"] .hero-subtitle {
    color: #5a6478;
}

[data-theme="light"] .hero-orb-1 {
    background: rgba(0, 200, 83, 0.12);
}

[data-theme="light"] .hero-orb-2 {
    background: rgba(0, 145, 234, 0.1);
}

[data-theme="light"] .hero-orb-3 {
    background: rgba(0, 200, 83, 0.06);
}

[data-theme="light"] .btn-outline {
    color: #0a1628;
    border-color: rgba(0,0,0,0.2);
}

[data-theme="light"] .btn-outline:hover {
    border-color: var(--green);
    color: var(--green);
}

[data-theme="light"] .stat-card {
    background: #ffffff;
    border-color: rgba(0,0,0,0.06);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

[data-theme="light"] .stats::before {
    background: linear-gradient(90deg, transparent, rgba(0,200,83,0.2), rgba(0,145,234,0.2), transparent);
}

[data-theme="light"] .portfolio-card {
    background: #ffffff;
    border-color: rgba(0,0,0,0.06);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

[data-theme="light"] .portfolio-card h3 {
    color: #0a1628;
}

[data-theme="light"] .section-header h2 {
    color: #0a1628;
}

[data-theme="light"] .about-card {
    background: #ffffff;
    border-color: rgba(0,0,0,0.06);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

[data-theme="light"] .about-card h4,
[data-theme="light"] .about-content h2 {
    color: #0a1628;
}

[data-theme="light"] .ansatz-highlight {
    background: linear-gradient(145deg, rgba(0,200,83,0.06) 0%, rgba(0,145,234,0.04) 100%);
    border-color: rgba(0,200,83,0.2);
}

[data-theme="light"] .ansatz-highlight h3 {
    color: #0a1628;
}

[data-theme="light"] .cta-section {
    background: linear-gradient(180deg, #f5f7fa 0%, #e8f0f8 100%);
}

[data-theme="light"] .cta-title {
    color: #0a1628;
}

[data-theme="light"] .footer {
    background: linear-gradient(180deg, #1a1a2e 0%, #0f0f1e 100%);
    border-top-color: rgba(255,255,255,0.06);
}

[data-theme="light"] .footer .logo-text {
    color: #ffffff;
}

[data-theme="light"] .footer-brand p,
[data-theme="light"] .footer-links li,
[data-theme="light"] .footer-copyright {
    color: #8892a7;
}

[data-theme="light"] .footer-links h4 {
    color: #ffffff;
}

[data-theme="light"] .footer-links a:hover,
[data-theme="light"] .footer-copyright a:hover {
    color: var(--green);
}

[data-theme="light"] .footer-copyright a {
    color: #a0a8b8;
}

[data-theme="light"] .footer-meta {
    border-top-color: rgba(255,255,255,0.06);
}

[data-theme="light"] .footer-meta-left a {
    color: #8892a7;
}

[data-theme="light"] .footer-membership {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.06);
    color: #c0c7d6;
}

/* Inner pages light mode */
[data-theme="light"] .page-hero {
    background: linear-gradient(160deg, #e8f5e9 0%, #e3f2fd 40%, #f1f8e9 100%);
}

[data-theme="light"] .page-hero h1 {
    color: #0a1628;
}

[data-theme="light"] .kraftwerk-info h2 {
    color: #0a1628;
}

[data-theme="light"] .kraftwerk-image {
    background: #ffffff;
    border-color: rgba(0,0,0,0.08);
    box-shadow: 0 8px 40px rgba(0,0,0,0.08);
}

[data-theme="light"] .spec-item {
    background: #ffffff;
    border-color: rgba(0,0,0,0.06);
}

[data-theme="light"] .spec-label {
    color: #8892a7;
}

[data-theme="light"] .spec-value {
    color: #0a1628;
}

[data-theme="light"] .trust-card {
    background: #ffffff;
    border-color: rgba(0,0,0,0.06);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

[data-theme="light"] .trust-card h3 {
    color: #0a1628;
}

[data-theme="light"] .process-section {
    background: linear-gradient(180deg, #f5f7fa 0%, #e8f0f8 50%, #f5f7fa 100%);
}

[data-theme="light"] .process-step h3 {
    color: #0a1628;
}

[data-theme="light"] .kontakt-info h2 {
    color: #0a1628;
}

[data-theme="light"] .kontakt-form-wrapper {
    background: #ffffff;
    border-color: rgba(0,0,0,0.08);
    box-shadow: 0 8px 40px rgba(0,0,0,0.06);
}

[data-theme="light"] .kontakt-form-wrapper h3 {
    color: #0a1628;
}

[data-theme="light"] .form-group label {
    color: #3a3a5c;
}

[data-theme="light"] .form-group input,
[data-theme="light"] .form-group select,
[data-theme="light"] .form-group textarea {
    border-color: rgba(0,0,0,0.12);
    background: #f8f9fb;
    color: #0a1628;
}

[data-theme="light"] .form-group input::placeholder,
[data-theme="light"] .form-group textarea::placeholder {
    color: #b0b8c8;
}

[data-theme="light"] .form-group select option {
    background: #ffffff;
    color: #0a1628;
}

[data-theme="light"] .captcha-question {
    background: rgba(0,200,83,0.08);
    color: #0a1628;
}

[data-theme="light"] .captcha-row input[type="number"] {
    border-color: rgba(0,0,0,0.12);
    background: #f8f9fb;
    color: #0a1628;
}

[data-theme="light"] .captcha-refresh {
    border-color: rgba(0,0,0,0.12);
    background: #f8f9fb;
    color: #5a6478;
}

[data-theme="light"] .impressum-block {
    background: #ffffff;
    border-color: rgba(0,0,0,0.06);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

[data-theme="light"] .impressum-block h2 {
    color: #0a1628;
    border-bottom-color: rgba(0,0,0,0.08);
}

[data-theme="light"] .impressum-block p {
    color: #3a3a5c;
}

[data-theme="light"] .impressum-list li {
    color: #3a3a5c;
    border-bottom-color: rgba(0,0,0,0.04);
}

[data-theme="light"] .kraftwerk-section:nth-child(even) {
    background: linear-gradient(180deg, #f5f7fa 0%, #e8f0f8 50%, #f5f7fa 100%);
}

[data-theme="light"] .ansatz-section {
    background: linear-gradient(180deg, #f5f7fa 0%, #e8f0f8 100%);
}

[data-theme="light"] .about {
    background: linear-gradient(180deg, #f5f7fa 0%, #e8f0f8 100%);
}

[data-theme="light"] .form-success h3 {
    color: #0a1628;
}

/* Mobile nav light mode */
[data-theme="light"] .nav-links {
    background: rgba(255, 255, 255, 0.98);
}

@media (min-width: 769px) {
    [data-theme="light"] .nav-links {
        background: transparent;
    }
}

/* Theme toggle button */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.06);
    color: var(--gray-300);
    cursor: pointer;
    transition: var(--transition);
    margin-left: 8px;
    flex-shrink: 0;
}

.theme-toggle:hover {
    border-color: var(--green);
    color: var(--green);
    background: rgba(0,200,83,0.08);
}

[data-theme="light"] .theme-toggle {
    border-color: rgba(0,0,0,0.12);
    background: rgba(0,0,0,0.04);
    color: #5a6478;
}

[data-theme="light"] .theme-toggle:hover {
    border-color: var(--green);
    color: var(--green);
    background: rgba(0,200,83,0.08);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
    display: none;
}

.theme-toggle .icon-moon {
    display: block;
}

[data-theme="light"] .theme-toggle .icon-moon {
    display: none;
}

[data-theme="light"] .theme-toggle .icon-sun {
    display: block;
}

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--dark);
    color: var(--gray-200);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

ul { list-style: none; }

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

/* ===========================
   Buttons
   =========================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--gradient-main);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(0, 200, 83, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 200, 83, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.25);
}

.btn-outline:hover {
    border-color: var(--green);
    color: var(--green);
    transform: translateY(-2px);
}

/* ===========================
   Navigation
   =========================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 22, 40, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

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

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

.logo-text {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--white);
    letter-spacing: 0.5px;
}

.logo-energy {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

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

.nav-links a {
    padding: 8px 18px;
    border-radius: 50px;
    color: var(--gray-300);
    font-weight: 500;
    font-size: 0.9rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
}

.nav-links a.active {
    background: rgba(255,255,255,0.08);
}

.nav-cta {
    background: var(--gradient-main) !important;
    color: var(--white) !important;
    font-weight: 600 !important;
}

.nav-cta:hover {
    box-shadow: 0 4px 20px rgba(0, 200, 83, 0.3);
}

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

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===========================
   Hero
   =========================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    z-index: 0;
}

/* Floating gradient orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    filter: blur(60px);
}

.hero-orb-1 {
    width: 500px;
    height: 500px;
    background: rgba(0, 200, 83, 0.18);
    top: -5%;
    left: -8%;
    animation: orbFloat1 12s ease-in-out infinite;
}

.hero-orb-2 {
    width: 450px;
    height: 450px;
    background: rgba(0, 145, 234, 0.15);
    bottom: -10%;
    right: -5%;
    animation: orbFloat2 14s ease-in-out infinite;
}

.hero-orb-3 {
    width: 300px;
    height: 300px;
    background: rgba(0, 200, 83, 0.1);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: orbFloat3 10s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0%   { transform: translate(0, 0) scale(1); }
    25%  { transform: translate(60px, 40px) scale(1.1); }
    50%  { transform: translate(30px, 80px) scale(0.95); }
    75%  { transform: translate(-30px, 30px) scale(1.05); }
    100% { transform: translate(0, 0) scale(1); }
}

@keyframes orbFloat2 {
    0%   { transform: translate(0, 0) scale(1); }
    25%  { transform: translate(-50px, -30px) scale(1.05); }
    50%  { transform: translate(-20px, -70px) scale(1.1); }
    75%  { transform: translate(30px, -40px) scale(0.95); }
    100% { transform: translate(0, 0) scale(1); }
}

@keyframes orbFloat3 {
    0%   { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    33%  { transform: translate(-30%, -60%) scale(1.2); opacity: 1; }
    66%  { transform: translate(-70%, -40%) scale(0.9); opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 120px 24px 80px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    background: rgba(0,200,83,0.12);
    border: 1px solid rgba(0,200,83,0.25);
    color: var(--green);
    font-weight: 500;
    font-size: 0.85rem;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 24px;
}

.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--gray-400);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--gray-400);
    font-size: 0.8rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ===========================
   Stats
   =========================== */

.stats {
    padding: 80px 0;
    background: var(--dark);
    position: relative;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,200,83,0.3), rgba(0,145,234,0.3), transparent);
}

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

.stat-card {
    text-align: center;
    padding: 36px 24px;
    border-radius: var(--radius-lg);
    background: var(--gradient-card);
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
}

.stat-card:hover {
    border-color: rgba(0,200,83,0.15);
    transform: translateY(-3px);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    color: var(--gray-400);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ===========================
   Section Header
   =========================== */

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

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    background: rgba(0,200,83,0.1);
    color: var(--green);
    font-weight: 500;
    font-size: 0.82rem;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.section-header p {
    color: var(--gray-400);
    max-width: 560px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ===========================
   Portfolio
   =========================== */

.portfolio {
    padding: 100px 0;
    background: var(--dark);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.portfolio-card {
    display: flex;
    flex-direction: column;
    padding: 0;
    border-radius: var(--radius-lg);
    background: var(--gradient-card);
    border: 1px solid rgba(255,255,255,0.06);
    transition: var(--transition);
    cursor: pointer;
    overflow: hidden;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card-water:hover {
    border-color: rgba(0,145,234,0.3);
    box-shadow: 0 12px 48px rgba(0,145,234,0.15);
}

.card-solar:hover {
    border-color: rgba(255,171,0,0.3);
    box-shadow: 0 12px 48px rgba(255,171,0,0.15);
}

.card-contact:hover {
    border-color: rgba(0,200,83,0.3);
    box-shadow: 0 12px 48px rgba(0,200,83,0.15);
}

.card-icon {
    margin-bottom: 20px;
}

.portfolio-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.portfolio-card p {
    color: var(--gray-400);
    flex: 1;
    line-height: 1.7;
    margin-bottom: 20px;
}

.card-link {
    font-weight: 600;
    font-size: 0.9rem;
}

.card-water .card-link { color: var(--blue); }
.card-solar .card-link { color: var(--yellow); }
.card-contact .card-link { color: var(--green); }

/* Portfolio Cards with Images */
.card-image {
    overflow: hidden;
    aspect-ratio: 16/9;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-card:hover .card-image img {
    transform: scale(1.05);
}

.card-body {
    padding: 24px 28px 28px;
}

.card-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 0.3px;
}

.card-badge.water {
    background: rgba(0,145,234,0.12);
    color: var(--blue);
}

.card-badge.solar {
    background: rgba(255,171,0,0.12);
    color: var(--yellow);
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--dark) 0%, #0d1f30 100%);
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,200,83,0.4), transparent);
}

.cta-container {
    text-align: center;
}

.cta-title {
    color: var(--white);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-text {
    color: var(--gray-400);
    max-width: 540px;
    margin: 0 auto 36px;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ===========================
   Ansatz Section
   =========================== */

.ansatz-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--dark) 0%, #0d1f30 100%);
}

.ansatz-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.ansatz-highlight {
    padding: 40px 36px;
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, rgba(0,200,83,0.08) 0%, rgba(0,145,234,0.06) 100%);
    border: 1px solid rgba(0,200,83,0.15);
    display: flex;
    gap: 24px;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

.ansatz-highlight::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,200,83,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.ansatz-highlight-icon {
    flex-shrink: 0;
}

.ansatz-highlight h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
    line-height: 1.4;
}

.ansatz-highlight p {
    color: var(--gray-400);
    line-height: 1.8;
    font-size: 0.95rem;
}

.ansatz-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ===========================
   About
   =========================== */

.about {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--dark) 0%, #0d1f30 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-content .section-tag {
    display: inline-block;
    margin-bottom: 16px;
}

.about-content h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.3;
}

.about-content p {
    color: var(--gray-400);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-content .btn {
    margin-top: 12px;
}

.about-visual {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-card {
    padding: 22px 24px;
    border-radius: var(--radius);
    background: var(--gradient-card);
    border: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    gap: 18px;
    transition: var(--transition);
}

.about-card:hover {
    border-color: rgba(0,200,83,0.2);
    transform: translateX(6px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.about-card-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.about-card h4 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 4px;
}

.about-card p {
    color: var(--gray-400);
    font-size: 0.88rem;
    margin: 0;
}

/* ===========================
   Footer
   =========================== */

.footer {
    padding: 72px 0 0;
    background: linear-gradient(180deg, #070f1c 0%, #040a14 100%);
    border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 56px;
    padding-bottom: 48px;
}

.footer-brand p {
    color: var(--gray-400);
    margin-top: 18px;
    font-size: 0.88rem;
    line-height: 1.7;
}

.footer-links h4 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 18px;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.footer-links li {
    margin-bottom: 10px;
    color: var(--gray-400);
    font-size: 0.88rem;
}

.footer-links a {
    transition: color 0.2s ease;
}

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

.footer-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    gap: 24px;
    flex-wrap: wrap;
}

.footer-meta-left {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.footer-meta-left a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-400);
    font-size: 0.82rem;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-meta-left a:hover {
    color: var(--green);
}

.footer-membership {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px 6px 8px;
    border-radius: 8px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    color: var(--gray-300);
    font-size: 0.82rem;
    font-weight: 500;
    transition: all 0.2s;
}

.footer-membership:hover {
    border-color: rgba(0,145,234,0.25);
    background: rgba(0,145,234,0.06);
    color: var(--white);
}

.footer-membership img {
    border-radius: 4px;
}

.footer-copyright {
    color: var(--gray-500);
    font-size: 0.78rem;
}

.footer-copyright a {
    color: var(--gray-400);
    transition: color 0.2s;
}

.footer-copyright a:hover {
    color: var(--green);
}

/* ===========================
   Inner Page Hero (reusable)
   =========================== */

.page-hero {
    padding: 160px 0 80px;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,200,83,0.08) 0%, transparent 70%);
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,145,234,0.06) 0%, transparent 70%);
}

.page-hero .section-tag {
    margin-bottom: 16px;
}

.page-hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.page-hero p {
    color: var(--gray-400);
    max-width: 600px;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* ===========================
   Kraftwerk Detail Cards
   =========================== */

.kraftwerk-section {
    padding: 100px 0;
}

.kraftwerk-section:nth-child(even) {
    background: linear-gradient(180deg, var(--dark) 0%, #0d1f30 50%, var(--dark) 100%);
}

.kraftwerk-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.kraftwerk-grid.reverse {
    direction: rtl;
}

.kraftwerk-grid.reverse > * {
    direction: ltr;
}

.kraftwerk-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--gradient-card);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 8px 40px rgba(0,0,0,0.2);
}

.kraftwerk-image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--gray-400);
    font-size: 0.9rem;
}

.kraftwerk-image-placeholder svg {
    opacity: 0.4;
}

.kraftwerk-info h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.kraftwerk-info p {
    color: var(--gray-400);
    line-height: 1.8;
    margin-bottom: 24px;
}

.kraftwerk-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.spec-item {
    padding: 18px 22px;
    border-radius: var(--radius);
    background: var(--gradient-card);
    border: 1px solid rgba(255,255,255,0.06);
    transition: var(--transition);
}

.spec-item:hover {
    border-color: rgba(255,255,255,0.12);
}

.spec-label {
    display: block;
    color: var(--gray-400);
    font-size: 0.78rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.spec-value {
    display: block;
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
}

.spec-value.water { color: var(--blue); }
.spec-value.solar { color: var(--yellow); }

/* ===========================
   Persona Section (Ich bin...)
   =========================== */

.persona-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--dark) 0%, #0d1f30 100%);
}

[data-theme="light"] .persona-section {
    background: linear-gradient(180deg, #f5f7fa 0%, #e8f0f8 100%);
}

.persona-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.persona-card {
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    background: var(--gradient-card);
    border: 1px solid rgba(255,255,255,0.06);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

[data-theme="light"] .persona-card {
    background: #ffffff;
    border-color: rgba(0,0,0,0.06);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.persona-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

[data-theme="light"] .persona-card:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.persona-highlight {
    border-color: rgba(0,200,83,0.2);
    background: linear-gradient(145deg, rgba(0,200,83,0.04) 0%, #111d33 50%, #162240 100%);
    position: relative;
}

[data-theme="light"] .persona-highlight {
    border-color: rgba(0,200,83,0.25);
    background: linear-gradient(145deg, rgba(0,200,83,0.04) 0%, #ffffff 50%, #f8f9fb 100%);
}

.persona-highlight:hover {
    border-color: rgba(0,200,83,0.4);
    box-shadow: 0 12px 40px rgba(0,200,83,0.12);
}

.persona-icon {
    margin-bottom: 16px;
}

.persona-label {
    font-size: 0.78rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-400);
    margin-bottom: 4px;
}

.persona-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

[data-theme="light"] .persona-card h3 {
    color: #0a1628;
}

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

.persona-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--gray-300);
    font-size: 0.88rem;
    line-height: 1.5;
}

[data-theme="light"] .persona-benefits li {
    color: #4a4a6a;
}

.persona-benefits li svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.persona-benefits li > span {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.persona-benefits li strong {
    display: block;
    color: var(--white);
    font-weight: 600;
    font-size: 0.92rem;
    line-height: 1.4;
}

[data-theme="light"] .persona-benefits li strong {
    color: #0a1628;
}

.persona-card .btn {
    align-self: flex-start;
}

@media (max-width: 968px) {
    .persona-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

/* ===========================
   Kontakt / Form
   =========================== */

.kontakt-section {
    padding: 100px 0 120px;
}

.kontakt-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: start;
}

.kontakt-info h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.kontakt-info > p {
    color: var(--gray-400);
    line-height: 1.8;
    margin-bottom: 32px;
}

.kontakt-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.kontakt-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.kontakt-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.kontakt-feature-icon.green {
    background: rgba(0,200,83,0.12);
    color: var(--green);
}

.kontakt-feature-icon.blue {
    background: rgba(0,145,234,0.12);
    color: var(--blue);
}

.kontakt-feature-icon.yellow {
    background: rgba(255,171,0,0.12);
    color: var(--yellow);
}

.kontakt-feature h4 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.kontakt-feature p {
    color: var(--gray-400);
    font-size: 0.88rem;
    line-height: 1.6;
}

/* Form */

.kontakt-form-wrapper {
    padding: 44px;
    border-radius: var(--radius-lg);
    background: var(--gradient-card);
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 8px 40px rgba(0,0,0,0.15);
}

.kontakt-form-wrapper h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 24px;
}

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

.form-group label {
    display: block;
    color: var(--gray-300);
    font-weight: 500;
    font-size: 0.88rem;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.04);
    color: var(--white);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-500);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--green);
    background: rgba(0,200,83,0.04);
    box-shadow: 0 0 0 3px rgba(0,200,83,0.1);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%238892a7' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
}

.form-group select option {
    background: var(--dark-card);
    color: var(--white);
}

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

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

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

.captcha-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.captcha-question {
    padding: 10px 16px;
    border-radius: var(--radius);
    background: rgba(0,200,83,0.08);
    border: 1px solid rgba(0,200,83,0.2);
    color: var(--white);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 1px;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.captcha-row input[type="number"] {
    width: 80px;
    padding: 10px 12px;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.04);
    color: var(--white);
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 600;
    text-align: center;
    -moz-appearance: textfield;
}

.captcha-row input[type="number"]::-webkit-inner-spin-button,
.captcha-row input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.captcha-row input[type="number"]:focus {
    outline: none;
    border-color: var(--green);
    background: rgba(0,200,83,0.04);
    box-shadow: 0 0 0 3px rgba(0,200,83,0.1);
}

.captcha-refresh {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.04);
    color: var(--gray-400);
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.captcha-refresh:hover {
    border-color: var(--green);
    color: var(--green);
    background: rgba(0,200,83,0.06);
}

.form-submit {
    margin-top: 8px;
}

.form-submit .btn {
    width: 100%;
    justify-content: center;
    padding: 16px 32px;
    font-size: 1rem;
}

.form-success {
    display: none;
    text-align: center;
    padding: 48px 20px;
}

.form-success.show {
    display: block;
}

.form-success svg {
    margin: 0 auto 16px;
}

.form-success h3 {
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.form-success p {
    color: var(--gray-400);
}

/* ===========================
   Trust Section (Verkaufen page)
   =========================== */

.trust-section {
    padding: 100px 0;
    background: var(--dark);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.trust-card {
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    background: var(--gradient-card);
    border: 1px solid rgba(255,255,255,0.06);
    transition: var(--transition);
    text-align: center;
}

.trust-card:hover {
    border-color: rgba(0,200,83,0.2);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.trust-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.trust-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.trust-card p {
    color: var(--gray-400);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ===========================
   Process Section
   =========================== */

.process-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--dark) 0%, #0d1f30 50%, var(--dark) 100%);
}

.process-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.process-step {
    flex: 1;
    max-width: 300px;
    text-align: center;
    padding: 0 24px;
}

.process-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-main);
    color: var(--white);
    font-weight: 800;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 20px rgba(0,200,83,0.3);
}

.process-step h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.process-step p {
    color: var(--gray-400);
    font-size: 0.9rem;
    line-height: 1.7;
}

.process-connector {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--green), var(--blue));
    margin-top: 28px;
    flex-shrink: 0;
    opacity: 0.4;
}

/* Kraftwerk image with actual photos */
.kraftwerk-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.kraftwerk-image:hover img {
    transform: scale(1.04);
}

/* ===========================
   Impressum Page
   =========================== */

.impressum-section {
    padding: 80px 0 100px;
    background: var(--dark);
}

.impressum-content {
    max-width: 720px;
    margin: 0 auto;
}

.impressum-block {
    padding: 32px 36px;
    margin-bottom: 16px;
    border-radius: var(--radius-lg);
    background: var(--gradient-card);
    border: 1px solid rgba(255,255,255,0.06);
    transition: var(--transition);
}

.impressum-block:hover {
    border-color: rgba(0,200,83,0.15);
}

.impressum-block h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.impressum-block h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--green);
    margin-bottom: 10px;
    letter-spacing: 0.2px;
}

.impressum-block p {
    color: var(--gray-300);
    line-height: 1.8;
    font-size: 0.95rem;
}

.impressum-block p + p {
    margin-top: 12px;
}

.impressum-list {
    list-style: none;
    padding: 0;
}

.impressum-list li {
    color: var(--gray-300);
    font-size: 0.95rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    display: flex;
    align-items: center;
    gap: 10px;
}

.impressum-list li:last-child {
    border-bottom: none;
}

.impressum-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gradient-main);
    flex-shrink: 0;
}

/* ===========================
   Mobile Responsive
   =========================== */

@media (max-width: 968px) {
    .impressum-content {
        max-width: 100%;
    }

    .impressum-block {
        padding: 28px 24px;
    }

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

    .portfolio-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

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

    .kraftwerk-grid,
    .kraftwerk-grid.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }

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

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

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .ansatz-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

    .process-grid {
        flex-direction: column;
        align-items: center;
    }

    .process-connector {
        width: 2px;
        height: 40px;
        margin: 0;
    }

    .process-step {
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(10, 22, 40, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 8px;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }

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

    .nav-links a {
        display: block;
        padding: 14px 20px;
        font-size: 1rem;
    }

    .hero-content {
        padding: 100px 20px 60px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .stat-card {
        padding: 24px 16px;
    }

    .stat-number {
        font-size: 2rem;
    }

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

    .kontakt-form-wrapper {
        padding: 28px 22px;
    }

    .kraftwerk-specs {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

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

    .btn {
        padding: 12px 28px;
    }

    .hero-scroll {
        display: none;
    }

    .impressum-block {
        padding: 24px 20px;
    }

    .impressum-block h2 {
        font-size: 1.3rem;
    }

    .page-hero {
        padding: 130px 0 60px;
    }

    .page-hero h1 {
        font-size: 1.8rem;
    }
}
