/* weblab-schule.de – Basis-Styles
   Passend zum Look der übrigen Weblab-Seiten (helle Flächen, dezente
   Blau-Akzente, abgerundete Karten). */

:root {
    --color-bg: #f8fafc;
    --color-bg-alt: #eef2ff;
    --color-surface: #ffffff;
    --color-border: #e2e8f0;
    --color-text: #1e293b;
    --color-text-muted: #64748b;
    --color-text-faint: #94a3b8;
    --color-primary: #2563eb;
    --color-primary-hover: #1d4ed8;
    --radius: 12px;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 6px 16px rgba(37, 99, 235, 0.18);
    --max-width: 1100px;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: linear-gradient(135deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
    color: var(--color-text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

a {
    color: var(--color-primary);
    text-decoration: none;
}

/* ---------- Header ---------- */

.site-header {
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 32px;
    padding: 1rem 1.5rem;
    position: relative;
}

/* Menü ist vorbereitet, aber standardmäßig leer ($nav_links) */

.site-nav ul {
    list-style: none;
    display: flex;
    gap: 1.75rem;
    margin: 0;
    padding: 0;
}

.site-nav a {
    color: var(--color-text);
    font-weight: 600;
    font-size: 0.95rem;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 2px;
    width: 20px;
    margin: 0 auto;
    background: var(--color-text);
}

@media (max-width: 640px) {
    .nav-toggle {
        display: flex;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-surface);
        border-bottom: 1px solid var(--color-border);
        box-shadow: var(--shadow);
    }

    .site-nav.is-open {
        display: block;
    }

    .site-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 0.5rem 1.5rem 1rem;
    }

    .site-nav li {
        padding: 0.6rem 0;
        border-bottom: 1px solid var(--color-border);
    }

    .site-nav li:last-child {
        border-bottom: none;
    }
}

/* ---------- Großes, zentriertes Logo ---------- */

.logo-showcase {
    padding: 6rem 0 3rem;
    display: flex;
    justify-content: center;
}

.showcase-logo {
    display: block;
    width: 100%;
    max-width: 360px;
    height: auto;
    margin: 0 auto;
}

@media (max-width: 640px) {
    .logo-showcase {
        padding: 3.5rem 0 2rem;
    }

    .showcase-logo {
        max-width: 240px;
    }
}

/* ---------- Hero (vorbereitet, aktuell inaktiv) ---------- */

.hero {
    padding: 1rem 0 5rem;
}

.hero-inner {
    text-align: center;
    max-width: 700px;
}

.hero-eyebrow {
    color: var(--color-primary);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin: 0 0 0.75rem;
}

.hero-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin: 0 0 1rem;
}

.hero-subtitle {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0 0 2rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.15s ease, transform 0.15s ease;
}

.btn-primary {
    background: var(--color-primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--color-primary-hover);
    transform: translateY(-1px);
}

/* ---------- Features (vorbereitet, aktuell ungenutzt) ---------- */

.features {
    padding: 1rem 0 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}

.feature-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1.75rem 1.5rem;
    box-shadow: var(--shadow);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

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

.feature-icon {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.feature-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
}

.feature-card p {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

/* ---------- Footer ---------- */

.site-footer {
    margin-top: auto;
    border-top: 1px solid var(--color-border);
    padding: 2rem 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-faint);
    font-size: 0.85rem;
    text-align: center;
}
