/* Landing Page Styles - Codex Origins */
/* Spirituell + Wissenschaftlich Design */

:root {
    --cosmic-dark: #0a0a1a;
    --cosmic-purple: #1a1a3e;
    --cosmic-blue: #1e3a5f;
    --accent-gold: #d4af37;
    --accent-purple: #8b5cf6;
    --accent-cyan: #06b6d4;
    --text-light: #e2e8f0;
    --text-muted: #94a3b8;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Landing Page Body */
.landing-page {
    background: var(--cosmic-dark);
    color: var(--text-light);
    font-family: var(--font-body);
    overflow-x: hidden;
}

/* Header / Navigation */
.landing-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 26, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.landing-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-light);
}

.logo-icon {
    font-size: 2rem;
    color: var(--accent-gold);
}

.logo-icon-svg {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.logo-icon-svg-small {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-gold);
}

.nav-cta {
    background: linear-gradient(135deg, var(--accent-gold), #b8941f);
    color: var(--cosmic-dark) !important;
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    font-weight: 500;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--text-light);
    transition: all 0.3s;
}

.mobile-menu {
    display: none;
    background: var(--cosmic-purple);
    padding: 1rem 2rem;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu a {
    display: block;
    padding: 0.75rem 0;
    color: var(--text-light);
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 6rem 2rem 4rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, var(--cosmic-purple) 0%, var(--cosmic-dark) 70%);
}

.stars {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(2px 2px at 20px 30px, white, transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 90px 40px, white, transparent),
        radial-gradient(2px 2px at 160px 120px, rgba(255,255,255,0.9), transparent),
        radial-gradient(1px 1px at 230px 80px, white, transparent),
        radial-gradient(2px 2px at 300px 150px, rgba(255,255,255,0.7), transparent),
        radial-gradient(1px 1px at 50px 180px, white, transparent),
        radial-gradient(2px 2px at 120px 220px, rgba(255,255,255,0.8), transparent);
    background-size: 350px 350px;
    animation: twinkle 8s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.cosmic-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    animation: pulse 6s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
}

.hero-title {
    font-family: var(--font-display);
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.title-accent {
    display: block;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-gold), #f4d03f, var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-glow {
    background: linear-gradient(135deg, var(--accent-gold), #b8941f);
    color: var(--cosmic-dark);
    box-shadow: 0 4px 30px rgba(212, 175, 55, 0.3);
}

.btn-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(212, 175, 55, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--text-light);
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator span::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--accent-gold);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0%, 100% { top: 8px; opacity: 1; }
    50% { top: 18px; opacity: 0.5; }
}

/* Sections */
.section {
    padding: 6rem 2rem;
}

.section-dark {
    background: var(--cosmic-dark);
}

.section-light {
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
    color: var(--cosmic-dark);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header.dark h2 {
    color: var(--cosmic-dark);
}

.section-header.dark .section-tag {
    color: var(--accent-purple);
    border-color: var(--accent-purple);
}

.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--text-light);
}

/* Intro Grid */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.intro-text .lead {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.intro-text p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.intro-text strong {
    color: var(--accent-gold);
}

/* Cosmic Circle Animation */
.intro-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cosmic-circle {
    position: relative;
    width: 300px;
    height: 300px;
}

.orbit {
    position: absolute;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.orbit-1 { width: 100px; height: 100px; }
.orbit-2 { width: 180px; height: 180px; }
.orbit-3 { width: 260px; height: 260px; }

.planet {
    position: absolute;
    border-radius: 50%;
    top: 50%;
    left: 50%;
}

.planet-sun {
    width: 30px;
    height: 30px;
    background: radial-gradient(circle, #f4d03f, #d4af37);
    box-shadow: 0 0 30px rgba(244, 208, 63, 0.5);
    transform: translate(-50%, -50%);
}

.planet-moon {
    width: 12px;
    height: 12px;
    background: #c0c0c0;
    transform: translate(-50%, -50%);
    animation: orbit-moon 8s linear infinite;
}

.planet-venus {
    width: 10px;
    height: 10px;
    background: #e8b4b8;
    transform: translate(-50%, -50%);
    animation: orbit-venus 12s linear infinite;
}

@keyframes orbit-moon {
    from { transform: translate(-50%, -50%) rotate(0deg) translateX(50px) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg) translateX(50px) rotate(-360deg); }
}

@keyframes orbit-venus {
    from { transform: translate(-50%, -50%) rotate(0deg) translateX(90px) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg) translateX(90px) rotate(-360deg); }
}

/* Pillars Grid */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pillar-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-cyan));
}

.pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.pillar-card.featured {
    background: linear-gradient(135deg, var(--cosmic-purple), var(--cosmic-dark));
    color: var(--text-light);
}

.pillar-card.featured::before {
    background: linear-gradient(90deg, var(--accent-gold), #f4d03f);
}

.pillar-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: rgba(139, 92, 246, 0.2);
    line-height: 1;
    margin-bottom: 1rem;
}

.pillar-card.featured .pillar-number {
    color: rgba(212, 175, 55, 0.3);
}

.pillar-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--cosmic-dark);
}

.pillar-card.featured h3 {
    color: var(--accent-gold);
}

.pillar-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.pillar-card.featured p {
    color: var(--text-muted);
}

.pillar-features {
    list-style: none;
    padding: 0;
}

.pillar-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.pillar-card.featured .pillar-features li {
    color: var(--text-muted);
}

.pillar-features li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--accent-purple);
}

.pillar-card.featured .pillar-features li::before {
    color: var(--accent-gold);
}

/* Science Grid */
.science-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto 3rem;
}

.science-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    transition: all 0.3s;
}

.science-card:hover {
    background: rgba(255,255,255,0.05);
    border-color: var(--accent-gold);
    transform: translateY(-3px);
}

.science-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--accent-cyan);
}

.science-card h4 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.science-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Tech Details */
.tech-details {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.tech-details h4 {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.tech-tags span {
    background: rgba(139, 92, 246, 0.15);
    color: var(--accent-purple);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

/* CTA Section */
.section-cta {
    background: linear-gradient(135deg, var(--cosmic-purple) 0%, var(--cosmic-dark) 100%);
    text-align: center;
    padding: 8rem 2rem;
    position: relative;
    overflow: hidden;
}

.section-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.1) 0%, transparent 60%);
}

.cta-content {
    position: relative;
    z-index: 10;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    color: var(--text-light);
}

.cta-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Footer */
.landing-footer {
    background: var(--cosmic-dark);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 3rem 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--text-light);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.footer-copy {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Legal Page */
.legal-page {
    padding-top: 8rem;
    min-height: 100vh;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 3rem;
    text-align: center;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.legal-section p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-section ul {
    color: var(--text-muted);
    margin-left: 1.5rem;
    line-height: 2;
}

.legal-section a {
    color: var(--accent-gold);
}

.back-link {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive */
@media (max-width: 1024px) {
    .pillars-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .intro-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .intro-visual {
        order: -1;
    }

    .science-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding-top: 5rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .section {
        padding: 4rem 1.5rem;
    }

    .construction-banner .container {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Construction Banner - "Im Aufbau" */
.construction-banner {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(212, 175, 55, 0.15) 100%);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    padding: 0.75rem 0;
    position: relative;
    z-index: 999;
    margin-top: 70px;
}

.construction-banner .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.construction-icon {
    font-size: 1.25rem;
    color: var(--accent-gold);
    animation: spin 10s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.construction-text {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Notice Banner for Impressum */
.notice-banner {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(212, 175, 55, 0.1) 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.notice-banner .notice-icon {
    font-size: 1.5rem;
    color: var(--accent-gold);
    flex-shrink: 0;
}

.notice-banner p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Emphasized text */
.legal-section em {
    color: var(--accent-purple);
    font-style: normal;
}

/* Cookie Notice (Info-only, DSGVO-konform für technisch notwendige Cookies) */
.cookie-notice {
    position: fixed;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    background: rgba(10, 10, 26, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    padding: 0.875rem 1.25rem;
    max-width: calc(100% - 2rem);
    width: auto;
    animation: noticeSlideUp 0.4s ease-out;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

@keyframes noticeSlideUp {
    from {
        transform: translateX(-50%) translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

.cookie-notice-content {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.cookie-notice-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.cookie-notice-content p {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.4;
    margin: 0;
}

.cookie-notice-content a {
    color: var(--accent-gold);
    text-decoration: none;
    white-space: nowrap;
}

.cookie-notice-content a:hover {
    text-decoration: underline;
}

.cookie-notice-close {
    background: none;
    border: none;
    color: #64748b;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    margin-left: 0.5rem;
    flex-shrink: 0;
    transition: color 0.2s;
}

.cookie-notice-close:hover {
    color: var(--accent-gold);
}

/* Mobile Cookie Notice */
@media (max-width: 640px) {
    .cookie-notice {
        bottom: 0.75rem;
        padding: 0.75rem 1rem;
    }

    .cookie-notice-content p {
        font-size: 0.8rem;
    }
}
