/* =============================================
   Systemchen – Landingpage CSS
   Farben: Naturnahe Töne (Grün, Braun, Creme)
   ============================================= */

:root {
    --green-dark: #2d5016;
    --green: #4a7c23;
    --green-light: #7ab648;
    --brown: #6b4226;
    --brown-light: #a67c52;
    --cream: #faf6ee;
    --cream-dark: #f0e8d8;
    --text: #2c2c2c;
    --text-light: #5a5a5a;
    --white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
    --radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--cream);
    line-height: 1.7;
}

h1, h2, h3, h4 {
    font-family: 'Lora', Georgia, serif;
    font-weight: 600;
    line-height: 1.3;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 246, 238, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--cream-dark);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.8rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: 'Lora', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--green-dark);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--green);
}

.nav-btn {
    background: var(--green);
    color: var(--white) !important;
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    transition: background 0.2s !important;
}

.nav-btn:hover {
    background: var(--green-dark) !important;
}

/* Hero */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(45, 80, 22, 0.5) 0%,
        rgba(45, 80, 22, 0.7) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    padding: 2rem;
    max-width: 700px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.hero-desc {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.8;
}

.hero-btn {
    display: inline-block;
    padding: 0.9rem 2.5rem;
    background: var(--green-light);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-btn:hover {
    background: var(--white);
    color: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Sections */
.section {
    padding: 5rem 2rem;
}

.section-alt {
    background: var(--cream-dark);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.section h2 {
    font-size: 2.2rem;
    color: var(--green-dark);
    margin-bottom: 1rem;
    text-align: center;
}

.section-intro {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* Two-column layout */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
}

.col-text p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.col-text ul {
    list-style: none;
    padding: 0;
}

.col-text ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 1.05rem;
}

.col-text ul li::before {
    content: '🌱';
    position: absolute;
    left: 0;
}

/* Gallery */
.section-gallery {
    background: var(--white);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.gallery img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.3s;
    box-shadow: 0 4px 15px var(--shadow);
}

.gallery img:hover {
    transform: scale(1.03);
}

/* Module Cards */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.module-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: 0 4px 15px var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.module-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.module-active {
    border: 2px solid var(--green-light);
}

.module-level {
    display: inline-block;
    background: var(--cream-dark);
    color: var(--brown);
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.module-card h3 {
    font-size: 1.4rem;
    color: var(--green-dark);
    margin-bottom: 0.8rem;
}

.module-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.module-card img {
    margin-top: 1rem;
    border: 1px solid var(--cream-dark);
}

.module-status {
    display: inline-block;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
}

.status-active {
    background: var(--green-light);
    color: var(--white);
}

.status-coming {
    background: var(--cream-dark);
    color: var(--brown-light);
}

/* Video Grid */
.section-video {
    background: var(--green-dark);
    color: var(--white);
}

.section-video h2 {
    color: var(--white);
}

.video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.video-grid video {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Country Cards */
.country-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.country-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: 0 4px 15px var(--shadow);
    text-align: center;
}

.country-flag {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.country-card h3 {
    color: var(--green-dark);
    margin-bottom: 0.3rem;
}

.country-card h4 {
    color: var(--brown-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    font-weight: 400;
    font-style: italic;
}

.country-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    text-align: left;
    margin-bottom: 0.5rem;
}

.sachunterricht-note {
    margin-top: 2rem;
    background: var(--white);
    border-left: 4px solid var(--green);
    padding: 1.5rem 2rem;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.sachunterricht-note p {
    color: var(--text);
}

/* Footer */
.footer {
    background: var(--green-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 3rem 2rem 1.5rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-logo {
    font-family: 'Lora', serif;
    font-size: 1.3rem;
    color: var(--white);
}

.footer-brand p {
    margin-top: 0.3rem;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    font-size: 0.85rem;
    opacity: 0.6;
}

/* Responsive */
@media (max-width: 900px) {
    .two-col {
        grid-template-columns: 1fr;
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .modules-grid {
        grid-template-columns: 1fr;
    }

    .country-grid {
        grid-template-columns: 1fr;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 600px) {
    .nav-links a:not(.nav-btn) {
        display: none;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .gallery {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 3rem 1.2rem;
    }

    .section h2 {
        font-size: 1.7rem;
    }
}
