/* ===== CSS Custom Properties ===== */
:root {
    /* Colors */
    --primary-green: #22c55e;
    --dark-green: #16a34a;
    --light-green: #dcfce7;
    --accent-blue: #3b82f6;
    --dark-blue: #1e40af;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-900: #111827;
    
    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    --font-weight-normal: 400;
    --font-weight-medium: 600;
    --font-weight-bold: 700;
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 5rem 0;
    --border-radius: 12px;
    --border-radius-sm: 6px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

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

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

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--white);
    font-weight: var(--font-weight-normal);
}

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

a {
    color: var(--primary-green);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--dark-green);
}

/* ===== Header & Navigation ===== */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(34, 197, 94, 0.1);
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-max-width);
    margin: 0 auto;
    height: 80px;
    padding: 0 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-dark);
}

.logo-icon {
    font-size: 1.8rem;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-dark);
    font-weight: var(--font-weight-medium);
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-green);
    transition: width 0.3s ease;
}

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

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

/* ===== Hero Section ===== */
.hero {
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
}

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

.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: var(--font-weight-bold);
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

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

.slogan {
    font-size: 1.4rem;
    font-weight: var(--font-weight-medium);
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.hashtags {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.hashtag {
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
    font-weight: var(--font-weight-medium);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.hashtag.green {
    background: var(--light-green);
    color: var(--dark-green);
}

.hashtag.digital {
    background: #dbeafe;
    color: var(--dark-blue);
}

.hashtag.everyone {
    background: #fed7aa;
    color: #ea580c;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Profile Image in Hero */
.profile-image-container {
    position: relative;
    max-width: 300px;
    margin: 0 auto;
}

.profile-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    border: 4px solid var(--white);
    box-shadow: 0 20px 40px rgba(34, 197, 94, 0.2);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.profile-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(34, 197, 94, 0.3);
}

.image-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-green), var(--accent-blue));
    opacity: 0.8;
    animation: pulse 3s ease-in-out infinite;
    z-index: 1;
}

.image-decoration::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60%;
    height: 60%;
    background: var(--white);
    transform: translate(-50%, -50%);
}

.image-decoration::after {
    content: '🌱';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    z-index: 3;
}

@keyframes pulse {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.8; }
    50% { transform: scale(1.1) rotate(180deg); opacity: 1; }
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: var(--border-radius);
    font-weight: var(--font-weight-medium);
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary-green);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

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

.btn-outline {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--gray-100);
}

.btn-outline:hover {
    background: var(--gray-100);
    color: var(--text-dark);
}

/* ===== Sections ===== */
.section {
    padding: var(--section-padding);
}

.section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: var(--font-weight-bold);
    color: var(--text-dark);
    margin-bottom: 3rem;
    text-align: center;
}

/* ===== About Section ===== */
#about {
    background: var(--white);
}

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

.about-text p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.stat {
    text-align: center;
    padding: 2rem;
    border-radius: var(--border-radius);
    background: var(--gray-50);
    transition: all 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.stat-label {
    font-weight: var(--font-weight-medium);
    color: var(--text-dark);
    font-size: 1.1rem;
}

/* ===== Values Section ===== */
.values-section {
    background: var(--gray-50);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    transition: all 0.3s ease;
}

.value-card.green::before {
    background: var(--primary-green);
}

.value-card.digital::before {
    background: var(--accent-blue);
}

.value-card.everyone::before {
    background: #ea580c;
}

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

.value-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
}

.value-card.green .value-icon {
    background: var(--primary-green);
}

.value-card.digital .value-icon {
    background: var(--accent-blue);
}

.value-card.everyone .value-icon {
    background: #ea580c;
}

.value-card h3 {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.value-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== Contact Section ===== */
.contact-section {
    background: var(--white);
    text-align: center;
}

.contact-section h2 {
    margin-bottom: 1rem;
}

.contact-section > .container > p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

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

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-3px);
}

.btn:hover {
    background-color: #cce0ff;
    text-decoration: none;
}

/* ===== Content Sections ===== */
.section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.section:last-of-type {
    border-bottom: none;
}

.section h2 {
    font-size: 1.8rem;
    color: #003366;
    margin-bottom: 1rem;
}

/* ===== Footer ===== */
footer {
    background-color: #003366;
    color: #cce0ff;
    text-align: center;
    padding: 1.25rem 1rem;
    font-size: 0.9rem;
}

footer a {
    color: #cce0ff;
}

footer a:hover {
    color: #fff;
}

/* ===== Page Content (Impressum / Datenschutz) ===== */
.page-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

.page-content h1 {
    font-size: 2rem;
    color: #003366;
    margin-bottom: 1.5rem;
}

.page-content h2 {
    font-size: 1.3rem;
    color: #003366;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.page-content p,
.page-content address {
    margin-bottom: 0.75rem;
    font-style: normal;
}

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

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.3rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 0.5rem;
}

.footer-slogan {
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .profile-image-container {
        max-width: 250px;
    }
    
    .image-decoration {
        width: 60px;
        height: 60px;
        top: -15px;
        right: -15px;
    }
    
    .image-decoration::after {
        font-size: 1.2rem;
    }
    
    .hashtags {
        justify-content: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
    
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 4rem 0 2rem;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .slogan {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .profile-image-container {
        max-width: 200px;
    }
    
    .image-decoration {
        width: 50px;
        height: 50px;
        top: -10px;
        right: -10px;
    }
    
    .image-decoration::after {
        font-size: 1rem;
    }
    
    .value-card {
        padding: 2rem 1.5rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    nav {
        padding: 0 1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
}
