/* ========================================
   CLARITY v2 - Styles
   ======================================== */

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

:root {
    /* Farbpalette */
    --primary-gold: #FED792;
    --primary-gold-dark: #E8C480;
    --primary-blue: #82C6ED;
    --primary-blue-dark: #6BB3DF;
    --dark: #0a0a0a;
    --dark-soft: #1a1a1a;
    --dark-card: #141414;
    --light: #ffffff;
    --gray: #f5f5f5;
    --gray-medium: #a0a0a0;
    --text: #ffffff;
    --text-muted: #b0b0b0;

    /* Schriftarten */
    --font-primary: 'Prometo', 'Helvetica Neue', Arial, sans-serif;
    --font-secondary: 'Futura', 'Helvetica Neue', Arial, sans-serif;

    /* Spacing */
    --section-padding: 100px;
    --container-max: 1200px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--dark);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   Typography
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 500;
    line-height: 1.2;
    color: var(--light);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   Container
   ======================================== */

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

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

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    padding: 15px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img,
.logo-img {
    height: 90px;
    width: auto;
    border-radius: 8px;
    object-fit: cover;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-gold), var(--primary-blue));
    transition: width var(--transition-normal);
}

.nav-links a:hover {
    color: var(--primary-gold);
}

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

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.burger-menu span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--light);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

.burger-menu.is-open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.burger-menu.is-open span:nth-child(2) {
    opacity: 0;
}

.burger-menu.is-open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

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

.btn {
    display: inline-block;
    padding: 16px 32px;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-blue) 100%);
    color: var(--dark);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(130, 198, 237, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--light);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    border-color: var(--primary-gold);
    color: var(--primary-gold);
}

.btn-white {
    background: var(--light);
    color: var(--dark);
}

.btn-white:hover {
    background: var(--primary-gold);
}

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

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.grid-animation {
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(130, 198, 237, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(130, 198, 237, 0.03) 1px, transparent 1px);
    background-size: 100px 100px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: perspective(500px) rotateX(60deg) translateY(0); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(100px); }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 0%, var(--dark) 100%);
}

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

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(48px, 10vw, 96px);
    font-weight: 300;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-title .gradient-text {
    font-weight: 500;
}

.hero-subtitle {
    font-size: clamp(18px, 3vw, 24px);
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 48px;
    line-height: 1.6;
}

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

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 64px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-primary);
    font-size: 48px;
    font-weight: 300;
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

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

.section-header h2 {
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 16px;
}

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

/* ========================================
   Features Section
   ======================================== */

.features {
    padding: var(--section-padding) 0;
    background: var(--dark);
}

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

.feature-card {
    background: var(--dark-card);
    padding: 40px 32px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(130, 198, 237, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 120px;
    height: 80px;
    margin-bottom: 24px;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

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

/* ========================================
   How It Works Section
   ======================================== */

.how-it-works {
    padding: var(--section-padding) 0;
    background: var(--dark-soft);
}

.steps {
    display: flex;
    flex-direction: column;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.step {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    padding: 32px 0;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-primary);
    font-size: 24px;
    font-weight: 500;
    color: var(--dark);
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.step-content p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.7;
}

.step-line {
    width: 2px;
    height: 32px;
    background: linear-gradient(to bottom, var(--primary-gold), var(--primary-blue));
    margin-left: 29px;
}

/* ========================================
   Development Status Section
   ======================================== */

.development-status {
    padding: var(--section-padding) 0;
    background: var(--dark);
}

.development-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.development-text {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 48px;
    line-height: 1.6;
}

.funding-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 64px;
    flex-wrap: wrap;
}

.funding-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    background: var(--light);
    border-radius: 12px;
    min-width: 250px;
    min-height: 120px;
}

.funding-logo img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
}

.logo-placeholder {
    /* Logos in Farbe anzeigen */
}

/* ========================================
   CTA Section
   ======================================== */

.cta-section {
    padding: 120px 0;
    background: linear-gradient(135deg, rgba(254, 215, 146, 0.1) 0%, rgba(130, 198, 237, 0.1) 100%);
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(28px, 5vw, 42px);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

/* ========================================
   Contact Section
   ======================================== */

.contact {
    padding: var(--section-padding) 0;
    background: var(--dark-soft);
}

.contact-map-wrapper {
    width: 100%;
    margin-bottom: 32px;
}

.contact-info {
    margin-top: 48px;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 24px;
}

.contact-details {
    margin-bottom: 32px;
}

.contact-item {
    margin-bottom: 20px;
}

.contact-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.contact-item a,
.contact-item p {
    color: var(--light);
    text-decoration: none;
    font-size: 16px;
}

.contact-item a:hover {
    color: var(--primary-gold);
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 48px;
    height: 48px;
    background: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.social-links a:hover {
    border-color: var(--primary-blue);
    transform: translateY(-2px);
}

.social-links svg {
    width: 22px;
    height: 22px;
    fill: var(--light);
}

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

footer {
    padding: 40px 0;
    background: var(--dark);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-content p {
    font-size: 14px;
    color: var(--text-muted);
}

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

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: color var(--transition-fast);
}

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

/* ========================================
   Cookie Consent Banner
   ======================================== */

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: var(--dark-card);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.5);
    transform: translateY(100%);
    transition: transform var(--transition-slow);
}

.cookie-consent.visible {
    transform: translateY(0);
}

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

.cookie-consent-text h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.cookie-consent-text p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 4px;
}

.cookie-consent-link a {
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 13px;
}

.cookie-consent-link a:hover {
    color: var(--primary-gold);
}

.cookie-details {
    margin: 16px 0;
    padding: 16px;
    background: var(--dark);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.cookie-category {
    padding: 12px 0;
}

.cookie-category + .cookie-category {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cookie-category label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: var(--light);
    font-size: 15px;
}

.cookie-category label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-blue);
    cursor: pointer;
}

.cookie-category p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 4px 0 0 28px;
    line-height: 1.5;
}

.cookie-consent-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.btn-cookie {
    padding: 12px 24px;
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.btn-cookie-accept {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-blue) 100%);
    color: var(--dark);
}

.btn-cookie-reject {
    background: transparent;
    color: var(--light);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-cookie-settings {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-cookie:hover {
    transform: translateY(-1px);
}

.btn-cookie-reject:hover {
    border-color: var(--light);
}

.btn-cookie-settings:hover {
    border-color: var(--text-muted);
    color: var(--light);
}

/* Map Placeholder */

.map-placeholder {
    width: 100%;
    height: 450px;
    background: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-placeholder-content {
    text-align: center;
    color: var(--text-muted);
}

.map-placeholder-content svg {
    margin-bottom: 16px;
    color: var(--primary-blue);
}

.map-placeholder-content p {
    font-size: 15px;
    margin-bottom: 16px;
    max-width: 300px;
}

.btn-load-map {
    font-size: 13px;
    padding: 12px 24px;
}

/* ========================================
   Animations
   ======================================== */

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

/* ========================================
   Responsive Design
   ======================================== */

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

    .funding-logos {
        gap: 32px;
    }

    .funding-logo {
        min-width: 200px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--dark);
        flex-direction: column;
        justify-content: center;
        padding: 40px;
        transition: right var(--transition-normal);
        border-left: 1px solid rgba(255, 255, 255, 0.1);
    }

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

    .nav-links li {
        opacity: 0;
        transform: translateX(20px);
        transition: all var(--transition-normal);
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-links li:nth-child(1) { transition-delay: 0.1s; }
    .nav-links li:nth-child(2) { transition-delay: 0.15s; }
    .nav-links li:nth-child(3) { transition-delay: 0.2s; }
    .nav-links li:nth-child(4) { transition-delay: 0.25s; }
    .nav-links li:nth-child(5) { transition-delay: 0.3s; }

    .burger-menu {
        display: flex;
    }

    .hero-stats {
        gap: 32px;
    }

    .stat-number {
        font-size: 36px;
    }

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

    .steps {
        padding: 0;
    }

    .step {
        padding: 24px 0;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .cookie-consent-actions {
        flex-direction: column;
    }

    .cookie-consent-actions .btn-cookie {
        width: 100%;
        text-align: center;
    }

    .map-placeholder {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

}
