/* === INFO PAGE (Impressum / Datenschutz / About) === */

body.info-body {
    align-items: flex-start;
    justify-content: center;
    padding: 2rem 1rem;
    min-height: 100vh;
    overflow-y: auto;
}

.info-card {
    min-width: 0;
    width: 100%;
    max-width: 860px;
    padding-bottom: 2.5rem;
}

/* --- Navigation --- */
.info-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    border-bottom: 3px solid #1a1a1a;
    background: #fff;
}

.info-nav-link {
    font-family: 'Arial Black', Impact, Arial, sans-serif;
    font-size: 0.85rem;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.65rem 1.25rem;
    color: #1a1a1a;
    border-right: 2px solid #e0e0e0;
    transition: background 0.12s, color 0.12s;
    white-space: nowrap;
}

.info-nav-link:last-child {
    border-right: none;
}

.info-nav-link:hover {
    background: #f5f5f5;
    color: #e2001a;
}

.info-nav-link.active {
    background: #e2001a;
    color: #fff;
}

.info-nav-home {
    background: #1a1a1a;
    color: #fff;
    border-right: 3px solid #1a1a1a;
}

.info-nav-home:hover {
    background: #e2001a;
    color: #fff;
}

/* --- Content area --- */
.info-content {
    padding: 0 2rem;
}

/* --- Sections (hidden by default, shown when .active) --- */
.info-section {
    display: none;
}

.info-section.active {
    display: block;
}

.info-section h1 {
    font-family: 'Arial Black', Impact, sans-serif;
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -1px;
    color: #1a1a1a;
    text-transform: uppercase;
    border-bottom: 4px solid #e2001a;
    padding-bottom: 0.4rem;
    margin-top: 1.5rem;
    margin-left: 0;
    margin-right: 0;
}

/* --- Text content --- */
.info-text {
    font-family: Arial, sans-serif;
    font-size: 0.92rem;
    color: #333;
    line-height: 1.7;
    margin-top: 1.25rem;
}

.info-text h2 {
    font-family: 'Arial Black', Impact, Arial, sans-serif;
    font-size: 1.05rem;
    font-weight: 900;
    color: #1a1a1a;
    text-transform: uppercase;
    margin-top: 1.5rem;
    margin-bottom: 0.4rem;
    border-left: 4px solid #e2001a;
    padding-left: 0.6rem;
}

.info-text h3 {
    font-family: Arial, sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-top: 1.25rem;
    margin-bottom: 0.35rem;
}

.info-text h4 {
    font-family: Arial, sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #555;
    margin-top: 1rem;
    margin-bottom: 0.25rem;
}

.info-text p {
    margin-bottom: 0.75rem;
}

.info-text ul {
    margin: 0.5rem 0 0.75rem 1.5rem;
}

.info-text ul li {
    margin-bottom: 0.25rem;
}

.info-text a {
    color: #e2001a;
    text-decoration: none;
}

.info-text a:hover {
    text-decoration: underline;
}

/* --- Footer link on main page --- */
.info-footer-link {
    text-align: center;
    margin: 1.25rem 2rem 0;
    padding-top: 0.75rem;
    border-top: 1px solid #e0e0e0;
}

.info-footer-link a {
    font-family: Arial, sans-serif;
    font-size: 0.8rem;
    color: #888;
    text-decoration: none;
    letter-spacing: 0.3px;
}

.info-footer-link a:hover {
    color: #e2001a;
    text-decoration: underline;
}

/* --- Mobile --- */
@media (max-width: 768px) {
    /* Überschreibt overflow: hidden aus style1.css (dort nur für Hauptseite gedacht) */
    html, body {
        height: auto !important;
        overflow: auto !important;
    }

    body.info-body {
        padding: 0;
        align-items: flex-start;
        justify-content: flex-start;
        min-height: 100dvh;
    }

    .info-card {
        min-width: 100vw;
        max-width: 100vw;
        height: auto !important;
        overflow: visible !important;
        border: none;
        box-shadow: none;
        padding-bottom: 2rem;
    }

    .info-content {
        padding: 0 0.875rem;
    }

    .info-nav-link {
        font-size: 0.78rem;
        padding: 0.55rem 0.85rem;
    }

    .info-section h1 {
        font-size: 1.4rem;
        margin-top: 1.25rem;
    }

    .info-text {
        font-size: 0.88rem;
    }

    .info-footer-link {
        margin: 1rem 0.875rem 0;
    }
}
