/* ==========================================
   BESONDERES.CSS (Impressum & Datenschutz)
   ========================================== */

/* ------------------------------------------
   1. Responsive Overlay-Steuerung
   ------------------------------------------ */
#Handy_overlay {
    display: none;
}

#PC_Overlay {
    display: block;
}

@media (max-width: 700px) {
    #Handy_overlay {
        display: block;
    }

    #PC_Overlay {
        display: none;
    }
}

/* ------------------------------------------
   2. Hauptnavigation (PC) - Startseite-Link
   ------------------------------------------ */
.nav-links-table a {
    position: relative;
    display: inline-block;
    padding-bottom: 4px;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Strich-Effekt: Aus der Mitte nach außen */
.nav-links-table a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: clamp(0.1rem, 0.18vw, 0.4rem);
    background-color: rgb(255, 127, 0); /* Orange */
    transform: translateX(-50%);
    transition: width 0.3s ease-in-out;
}

.nav-links-table a:hover::after {
    width: 100%;
}

/* ------------------------------------------
   3. Inhaltsbereich für Textseiten (> 700px)
   ------------------------------------------ */
@media (min-width: 701px) {
    .text-content {
        width: 85%;
        margin-left: 10%;
        margin-top: 3%;
        margin-bottom: 8%;
        line-height: 1.6;
    }

    .text-title {
        color: rgb(255, 127, 0); /* Orange Überschrift */
        font-size: clamp(1.5rem, 2.2vw, 3rem);
        margin-bottom: 2rem;
        font-weight: bold;
    }

    .text-content h2 {
        color: rgb(50, 59, 147); /* Blau für Unterüberschriften */
        font-size: 1.2rem;
        margin-top: 1.8rem;
        margin-bottom: 0.5rem;
    }

    .text-content p {
        font-size: clamp(0.95rem, 1.2vw, 1.1rem);
        color: rgb(50, 50, 50);
        margin-bottom: 1rem;
    }
}