/* ===================================
   BauZukunft - Unique Styles
   =================================== */

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

:root {
    /* Brand Colors */
    --primary-green: #0A6847;
    --secondary-green: #7ABA78;
    --accent-green: #4CAF50;
    --light-green: #E8F5E9;
    
    --brown-dark: #5D4037;
    --brown-medium: #8D6E63;
    --brown-light: #EFEBE9;
    
    --neutral-900: #1A1A1A;
    --neutral-800: #2D2D2D;
    --neutral-700: #404040;
    --neutral-600: #666666;
    --neutral-400: #999999;
    --neutral-300: #CCCCCC;
    --neutral-200: #E5E5E5;
    --neutral-100: #F5F5F5;
    --white: #FFFFFF;
    
    /* Typography */
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --container-width: 1280px;
    --section-padding: 120px;
    --grid-gap: 32px;
    
    /* Effects */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--neutral-800);
    line-height: 1.7;
    font-size: 16px;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--neutral-900);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.5rem; }

p {
    line-height: 1.8;
    color: var(--neutral-700);
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
    color: var(--white);
    box-shadow: 0 4px 16px rgba(10, 104, 71, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(10, 104, 71, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-green);
    border-color: var(--primary-green);
}

.btn-secondary:hover {
    background: var(--primary-green);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--neutral-800);
    border-color: var(--neutral-300);
}

.btn-outline:hover {
    border-color: var(--primary-green);
    color: var(--primary-green);
}

/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    height: 48px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-display);
    font-weight: 500;
    color: var(--neutral-700);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-green);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary-green);
}

.nav-cta {
    padding: 12px 24px;
    background: var(--primary-green);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.nav-cta:hover {
    background: var(--accent-green);
    transform: translateY(-2px);
}

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

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: var(--neutral-800);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section */
.hero-section {
    margin-top: 88px;
    min-height: calc(100vh - 88px);
    position: relative;
    display: flex;
    align-items: center;
    padding: 80px 0;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--light-green) 0%, var(--white) 50%, var(--brown-light) 100%);
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(122, 186, 120, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
}

.hero-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--white);
    color: var(--primary-green);
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}

.hero-title {
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--neutral-900), var(--neutral-700));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-brown {
    color: var(--brown-dark);
    -webkit-text-fill-color: var(--brown-dark);
}

.text-green {
    color: var(--primary-green);
    -webkit-text-fill-color: var(--primary-green);
}

.hero-description {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 32px;
    color: var(--neutral-700);
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

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

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-green);
}

.stat-label {
    font-size: 13px;
    color: var(--neutral-600);
    line-height: 1.4;
}

.hero-visual {
    position: relative;
    height: 600px;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.visual-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 240px;
}

.card-efficiency {
    top: 40px;
    left: -40px;
    animation: float 3s ease-in-out infinite;
}

.card-savings {
    bottom: 60px;
    right: -20px;
    animation: float 3s ease-in-out infinite 1.5s;
}

.card-icon {
    font-size: 36px;
    line-height: 1;
}

.card-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.card-text strong {
    font-family: var(--font-display);
    font-size: 16px;
    color: var(--neutral-900);
}

.card-text span {
    font-size: 13px;
    color: var(--neutral-600);
}

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

/* Sections */
.insights-section,
.tech-preview-section,
.regulatory-section,
.trust-section {
    padding: var(--section-padding) 0;
}

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

.section-header.centered {
    text-align: center;
}

.section-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--light-green);
    color: var(--primary-green);
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-badge.light {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.section-subtitle {
    font-size: 18px;
    color: var(--neutral-600);
    margin-top: 16px;
}

/* Insights Grid */
.insights-grid {
    display: grid;
    gap: 48px;
}

.insight-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.insight-card:nth-child(even) {
    direction: rtl;
}

.insight-card:nth-child(even) > * {
    direction: ltr;
}

.insight-image {
    width: 100%;
    height: 400px;
}

.insight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.insight-content {
    padding: 48px;
}

.insight-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 24px;
}

.insight-icon.brown {
    background: var(--brown-light);
}

.insight-icon.green {
    background: var(--light-green);
}

.insight-content h3 {
    margin-bottom: 16px;
}

.insight-content p {
    margin-bottom: 24px;
}

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

.insight-list li {
    padding-left: 28px;
    position: relative;
    color: var(--neutral-700);
}

.insight-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: 700;
}

/* Tech Grid */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--grid-gap);
    margin-bottom: 48px;
}

.tech-card {
    background: var(--white);
    border: 2px solid var(--neutral-200);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tech-card:hover {
    border-color: var(--primary-green);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.tech-icon {
    font-size: 48px;
    line-height: 1;
}

.tech-card h3 {
    font-size: 20px;
}

.tech-card p {
    flex-grow: 1;
    font-size: 15px;
}

.tech-impact {
    display: inline-block;
    padding: 8px 16px;
    background: var(--light-green);
    color: var(--primary-green);
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    border-radius: 50px;
}

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

/* Regulatory Section */
.regulatory-section {
    background: var(--neutral-100);
}

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

.timeline {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 32px;
}

.timeline-item {
    display: flex;
    gap: 24px;
    position: relative;
    padding-bottom: 32px;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 36px;
    top: 48px;
    bottom: 0;
    width: 2px;
    background: var(--neutral-300);
}

.timeline-item:last-child::after {
    display: none;
}

.timeline-year {
    min-width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-green);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    border-radius: 50%;
    flex-shrink: 0;
}

.timeline-content strong {
    display: block;
    font-family: var(--font-display);
    font-size: 18px;
    color: var(--neutral-900);
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 15px;
}

.regulatory-visual {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.regulatory-visual img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.funding-box {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: var(--shadow-md);
}

.funding-box h4 {
    margin-bottom: 16px;
    color: var(--primary-green);
}

.funding-box ul {
    list-style: none;
    margin-bottom: 24px;
}

.funding-box li {
    padding: 12px 0;
    border-bottom: 1px solid var(--neutral-200);
    font-size: 15px;
}

.funding-box li:last-child {
    border-bottom: none;
}

/* Application Section */
.application-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
    color: var(--white);
}

.application-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 64px;
    align-items: start;
}

.application-intro h2 {
    color: var(--white);
    margin-bottom: 16px;
}

.application-intro p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.process-step {
    display: flex;
    align-items: center;
    gap: 20px;
}

.step-number {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid var(--white);
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    flex-shrink: 0;
}

.step-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.step-text strong {
    font-family: var(--font-display);
    color: var(--white);
}

.step-text span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

/* Unique Form */
.unique-form {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-lg);
}

.form-progress {
    margin-bottom: 40px;
}

.progress-bar {
    height: 6px;
    background: var(--neutral-200);
    border-radius: 50px;
    overflow: hidden;
    margin-bottom: 12px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-green));
    border-radius: 50px;
    transition: width 0.4s ease;
    width: 33.33%;
}

.progress-text {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--neutral-600);
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeInUp 0.4s ease;
}

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

.form-step h3 {
    margin-bottom: 32px;
    color: var(--neutral-900);
}

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

.form-group label {
    display: block;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 14px;
    color: var(--neutral-800);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--neutral-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 15px;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(10, 104, 71, 0.1);
}

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

/* Radio Grid */
.radio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.radio-card {
    cursor: pointer;
}

.radio-card input {
    display: none;
}

.radio-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 2px solid var(--neutral-200);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.radio-card input:checked + .radio-content {
    border-color: var(--primary-green);
    background: var(--light-green);
}

.radio-content:hover {
    border-color: var(--primary-green);
}

.radio-icon {
    font-size: 24px;
    line-height: 1;
}

.radio-label {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 15px;
    color: var(--neutral-800);
}

/* Checkbox Grid */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.checkbox-card {
    cursor: pointer;
}

.checkbox-card input {
    display: none;
}

.checkbox-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 2px solid var(--neutral-200);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.checkbox-card input:checked + .checkbox-content {
    border-color: var(--primary-green);
    background: var(--light-green);
}

.checkbox-content:hover {
    border-color: var(--primary-green);
}

.checkbox-icon {
    font-size: 24px;
    line-height: 1;
}

.checkbox-label {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 15px;
    color: var(--neutral-800);
}

.checkbox-single {
    margin-top: 24px;
}

.checkbox-label-inline {
    display: flex;
    align-items: start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.6;
}

.checkbox-label-inline input {
    width: auto;
    margin-top: 4px;
    cursor: pointer;
}

.checkbox-label-inline a {
    color: var(--primary-green);
    text-decoration: underline;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.form-actions .btn {
    flex: 1;
}

.form-next,
.form-prev {
    width: auto;
}

/* Form Success */
.form-success {
    text-align: center;
    padding: 48px 24px;
}

.success-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-green);
    color: var(--primary-green);
    font-size: 48px;
    border-radius: 50%;
    margin: 0 auto 24px;
}

.form-success h3 {
    color: var(--neutral-900);
    margin-bottom: 16px;
}

.form-success p {
    margin-bottom: 32px;
    color: var(--neutral-700);
}

/* Trust Section */
.trust-section {
    background: var(--neutral-100);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--grid-gap);
}

.trust-item {
    text-align: center;
    padding: 32px;
}

.trust-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.trust-item h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.trust-item p {
    font-size: 15px;
}

/* Footer */
.main-footer {
    background: var(--neutral-900);
    color: var(--neutral-300);
    padding: 80px 0 32px;
}

.footer-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

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

.footer-logo {
    height: 40px;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
}

.footer-description {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 24px;
    color: var(--neutral-400);
}

.footer-contact p {
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-column h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 16px;
}

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

.footer-links a {
    color: var(--neutral-400);
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--neutral-800);
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: var(--neutral-500);
    margin-bottom: 8px;
}

.footer-disclaimer {
    font-size: 12px;
    color: var(--neutral-600);
    max-width: 800px;
    margin: 16px auto 0;
}

/* Responsive Design */
@media (max-width: 968px) {
    :root {
        --section-padding: 80px;
        --grid-gap: 24px;
    }
    
    .nav-menu {
        position: fixed;
        top: 88px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 88px);
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 32px 24px;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .hero-visual {
        height: 400px;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .insight-card {
        grid-template-columns: 1fr;
    }
    
    .insight-card:nth-child(even) {
        direction: ltr;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .regulatory-content {
        grid-template-columns: 1fr;
    }
    
    .application-wrapper {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    
    .footer-column:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .card-efficiency,
    .card-savings {
        position: static;
        margin-top: 16px;
    }
    
    .radio-grid,
    .checkbox-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .unique-form {
        padding: 32px 24px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
