/* Lokale Schriftarten */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('/fonts/inter-latin-300.woff2') format('woff2'),
         url('/fonts/inter-latin-300.woff') format('woff');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/inter-latin-400.woff2') format('woff2'),
         url('/fonts/inter-latin-400.woff') format('woff');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/fonts/inter-latin-600.woff2') format('woff2'),
         url('/fonts/inter-latin-600.woff') format('woff');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/fonts/inter-latin-700.woff2') format('woff2'),
         url('/fonts/inter-latin-700.woff') format('woff');
}

:root {
    --primary-blue: #1e3a8a;
    --light-blue: #3b82f6;
    --accent-blue: #60a5fa;
    --accent-red: #dc2626;
    --dark-gray: #1f2937;
    --medium-gray: #6b7280;
    --light-gray: #f3f4f6;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-3d: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    
    /* Default (Blue) Theme Colors */
    --primary-color: #1e3a8a;
    --light-color: #3b82f6;
    --accent-color: #60a5fa;
}

/* Green Theme */
[data-theme="green"] {
    --primary-color: #166534;
    --light-color: #16a34a;
    --accent-color: #4ade80;
    
    /* Override the blue variables for consistency */
    --primary-blue: #166534;
    --light-blue: #16a34a;
    --accent-blue: #4ade80;
}

/* Dark Green Theme */
[data-theme="darkgreen"] {
    --primary-color: #14532d;
    --light-color: #166534;
    --accent-color: #16a34a;
    
    /* Override the blue variables for consistency */
    --primary-blue: #14532d;
    --light-blue: #166534;
    --accent-blue: #16a34a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

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

/* Logo */
.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
    font-weight: 700;
    color: var(--dark-gray);
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.logo:hover {
    color: var(--primary-blue);
    transform: translateY(-2px);
}

.logo-main {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-letter {
    display: inline-block;
    transition: transform 0.3s ease;
}

.logo:hover .logo-letter:nth-child(odd) {
    transform: rotate(-5deg) translateY(-2px);
}

.logo:hover .logo-letter:nth-child(even) {
    transform: rotate(5deg) translateY(-2px);
}

.logo-sub {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--primary-blue);
    margin-top: 0.25rem;
    font-weight: 600;
}

.logo-year,
.logo-location {
    color: var(--primary-blue);
}

.logo-dot {
    color: var(--accent-red);
    font-weight: 700;
}

.logo-divider {
    width: 2px;
    height: 20px;
    background: var(--accent-red);
    opacity: 0.8;
    margin: 0 0.25rem;
}

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--dark-gray);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-blue);
    background: rgba(30, 58, 138, 0.05);
    transform: translateY(-2px);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    gap: 3px;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--dark-gray);
    transition: all 0.3s ease;
}

/* Hero Logo Mobile */
.hero-logo-mobile {
    display: none;
}

.mobile-logo {
    display: block;
    width: 120px;
    height: auto;
    margin: 0 auto 2rem;
    opacity: 0.8;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

/* Hero Section */
.hero-modern {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #f8f9fa;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at top, 
        rgba(255, 255, 255, 0.9) 0%, 
        rgba(248, 249, 250, 0.92) 100%
    );
}

.hero-bg-logo {
    position: absolute;
    top: 45%;
    right: 5%;
    transform: translateY(-50%);
    width: 40%;
    max-width: 500px;
    opacity: 0.15;
    filter: contrast(1.3);
}

.hero-content-modern {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 2rem;
}

.hero-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-statement {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.1);
}

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

.hero-description {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--medium-gray);
    max-width: 600px;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.6s forwards;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 1.25rem 3rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.3);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

/* Split Section */
.section-split {
    padding: 8rem 2rem;
    background: white;
}

.split-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.split-content {
    padding: 0 1rem;
}

.content-inner {
    max-width: 600px;
}

.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.split-container h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
}

.lead-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--medium-gray);
    margin-bottom: 3rem;
}

/* Stats */
.stats-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.1);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--medium-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Image Stack */
.split-visual {
    position: relative;
    height: 600px;
}

.image-stack {
    position: relative;
    width: 100%;
    height: 100%;
}

.stack-item {
    position: absolute;
    background: var(--light-gray);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.5s ease;
}

.stack-1 {
    width: 70%;
    height: 70%;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    z-index: 3;
    box-shadow: var(--shadow-3d);
}

.stack-2 {
    width: 60%;
    height: 60%;
    bottom: 10%;
    right: 10%;
    background: var(--light-gray);
    z-index: 2;
    box-shadow: var(--shadow-xl);
}

.stack-3 {
    width: 50%;
    height: 50%;
    bottom: 0;
    right: 0;
    background: linear-gradient(135deg, var(--accent-blue), var(--light-blue));
    opacity: 0.5;
    z-index: 1;
    box-shadow: var(--shadow-lg);
}

/* Activities Section */
.section-activities {
    padding: 8rem 0;
    background: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--dark-gray);
    margin-top: 1rem;
}

.activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.activity-card {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.activity-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-3d);
}

.card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.card-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.activity-card h3 {
    font-size: 1.5rem;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.activity-card p {
    color: var(--medium-gray);
    line-height: 1.6;
}

/* CTA Section */
.section-cta {
    padding: 8rem 0;
    background: white;
}

.cta-modern {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem;
    background: linear-gradient(135deg, #f8f9fa, white);
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.cta-modern h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.cta-modern p {
    font-size: 1.25rem;
    color: var(--medium-gray);
    margin-bottom: 3rem;
    line-height: 1.8;
}

/* Footer Preview */
.section-footer-preview {
    padding: 4rem 0;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.footer-preview-title {
    text-align: center;
    font-size: 2rem;
    color: var(--dark-gray);
    margin-bottom: 3rem;
    font-weight: 700;
}

.footer-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.footer-item h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-item p {
    color: var(--medium-gray);
    line-height: 1.6;
}

.social-icons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.social-icons a:hover {
    background: var(--primary-blue);
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(30, 58, 138, 0.25);
}

.social-icons a:hover svg {
    color: white;
}

.social-icons svg {
    color: var(--dark-gray);
    transition: color 0.3s ease;
}

/* Content Pages */
.page-header {
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
    padding: 8rem 0 4rem;
    margin-top: 80px;
}

.page-header h1 {
    color: var(--dark-gray);
    text-align: center;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
}

.content-page {
    padding: 4rem 0;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.content-wrapper h2 {
    color: var(--primary-blue);
    margin: 2rem 0 1rem;
    font-size: 1.8rem;
}

.content-wrapper h3 {
    color: var(--dark-gray);
    margin: 1.5rem 0 0.5rem;
    font-size: 1.4rem;
}

.content-wrapper p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.content-wrapper a {
    color: var(--light-blue);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.content-wrapper a:hover {
    color: var(--primary-blue);
    text-decoration: underline;
}

/* Footer */
footer {
    background: #111827;
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-info h3,
.footer-social h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.2rem;
}

.footer-info p {
    margin-bottom: 0.5rem;
    color: #e5e7eb;
    font-size: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--white);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.social-link:hover {
    background: var(--light-blue);
    transform: translateY(-4px);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.footer-links a {
    color: #e5e7eb;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 1rem;
}

.footer-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #9ca3af;
    font-size: 0.875rem;
}

/* Animationen */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .navbar .container {
        padding: 0.75rem 1rem;
    }
    
    .logo {
        font-size: 1rem;
    }
    
    .logo-main {
        gap: 0.25rem;
    }
    
    .logo-sub {
        font-size: 0.75rem;
    }
    
    .logo-divider {
        height: 16px;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    /* Hero Mobile */
    .hero-modern {
        position: relative;
    }
    
    /* Mobile Stack Elemente */
    .hero-overlay::before {
        content: '';
        position: absolute;
        top: 10%;
        right: -5%;
        width: 80px;
        height: 80px;
        background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
        border-radius: 12px;
        opacity: 0.1;
        transform: rotate(25deg);
    }
    
    .hero-overlay::after {
        content: '';
        position: absolute;
        bottom: 15%;
        left: -5%;
        width: 60px;
        height: 60px;
        background: var(--accent-blue);
        border-radius: 50%;
        opacity: 0.08;
    }
    
    .hero-statement {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .hero-description {
        font-size: 1rem;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-label {
        display: block;
        text-align: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    /* Hero Logo auf Desktop verstecken */
    .hero-bg-logo {
        display: none;
    }
    
    /* Hero Logo Mobile anzeigen */
    .hero-logo-mobile {
        display: block !important;
        text-align: center;
        margin: 2rem 0;
    }
    
    .mobile-logo {
        width: 150px !important;
        height: auto !important;
        opacity: 0.9 !important;
    }
    
    /* Split Section Mobile */
    .section-split {
        padding: 4rem 1rem;
    }
    
    .split-container {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
        position: relative;
        padding: 0;
    }
    
    /* Mobile Mini-Stacks für Split Section */
    .section-split {
        position: relative;
        overflow: hidden;
    }
    
    .section-split::before {
        content: '';
        position: absolute;
        top: 5%;
        right: -8%;
        width: 70px;
        height: 70px;
        background: linear-gradient(135deg, var(--accent-red), #ef4444);
        border-radius: 8px;
        opacity: 0.06;
        transform: rotate(15deg);
    }
    
    .section-split::after {
        content: '';
        position: absolute;
        bottom: 10%;
        left: -8%;
        width: 90px;
        height: 90px;
        background: var(--primary-blue);
        border-radius: 50%;
        opacity: 0.04;
    }
    
    .split-visual {
        display: none;
    }
    
    .content-inner {
        margin: 0 auto;
        position: relative;
        z-index: 1;
        padding: 0 1rem;
    }
    
    .stats-modern {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    /* Activities Mobile mit Stack Elements */
    .section-activities {
        position: relative;
    }
    
    .section-activities::before {
        content: '';
        position: absolute;
        top: 2%;
        left: 5%;
        width: 50px;
        height: 50px;
        background: linear-gradient(135deg, var(--light-blue), var(--accent-blue));
        border-radius: 50%;
        opacity: 0.05;
    }
    
    .activity-grid {
        grid-template-columns: 1fr;
        position: relative;
        z-index: 1;
    }
    
    .activity-card {
        padding: 2rem;
    }
    
    /* CTA Mobile */
    .cta-modern {
        padding: 2rem;
    }
    
    .cta-modern h2 {
        font-size: 2rem;
    }
    
    .cta-modern p {
        font-size: 1rem;
    }
    
    /* Footer Mobile */
    .footer-content {
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Extra kleine Bildschirme */
@media (max-width: 400px) {
    .hero-statement {
        font-size: 2rem;
    }
    
    .mobile-logo {
        width: 120px !important;
    }
    
    .section-split .stat-value {
        font-size: 1.5rem;
    }
    
    .section-split .stat-label {
        font-size: 0.6rem;
    }
}

/* Desktop: Logo Mobile verstecken */
@media (min-width: 769px) {
    .hero-logo-mobile {
        display: none !important;
    }
}
