/* ============================================
   INDEX / STARTSEITE
   ============================================ */

/* --- HEADER --- */

header {
    background: white;
    border-bottom: 2px solid var(--border-color);
    padding: 15px 30px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    gap: 20px;
}

.header-content h1 {
    color: #000000;
    margin: 0;
    font-size: 24px;
    flex: 1;
    text-align: center;
}

.header-logo {
    height: 50px;
    width: auto;
    flex-shrink: 0;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

#authStatus {
    font-size: 13px;
    color: var(--text-dark);
}

/* --- MAIN / HERO --- */

.hero-main {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.hero-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 40px;
    text-align: center;
}

.hero-card h2 {
    color: var(--primary-color);
    margin: 0 0 10px 0;
    font-size: 28px;
}

.hero-card > p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 30px 0;
}

/* --- NAV GRID --- */

.nav-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.nav-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-decoration: none;
    transition: box-shadow 0.2s, transform 0.1s;
}

.nav-tile:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.nav-tile-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.nav-tile h3 {
    color: var(--primary-color);
    margin: 0 0 8px 0;
    font-size: 18px;
}

.nav-tile p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
    text-align: center;
}

/* --- FOOTER --- */

footer {
    text-align: center;
    padding: 30px 20px;
    border-top: 1px solid var(--border-color);
    margin-top: 40px;
}

footer p {
    margin: 0;
    color: var(--text-muted);
    font-size: 13px;
}

.footer-links {
    margin-top: 8px;
    font-size: 12px;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
}

.footer-link:hover {
    text-decoration: underline;
}

.footer-separator {
    color: var(--border-color);
    margin: 0 6px;
}

/* --- RESPONSIVE --- */

@media screen and (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
        justify-content: center;
    }

    .header-content h1 {
        order: -1;
        flex-basis: 100%;
        margin-bottom: 10px;
    }

    .hero-card {
        padding: 25px 15px;
    }

    .nav-grid {
        grid-template-columns: 1fr;
    }
}