/* Impressum Styles */

/* Impressum */

.impressum-body {
    margin: 0;
    line-height: normal;
    background-color: var(--bg-color) !important;
    font-size: 16px;
}

/* --- NAVBAR & BUTTONS (Impressum Overrides) --- */
.impressum-body .header {
    background-color: var(--header-bg);
    /* Passe hier die Hintergrundfarbe der Navbar an */
    border-bottom: 4px solid var(--text-color);
    /* Passe hier die Linienfarbe an */
    line-height: 1.5;
    /* Stellt sicher, dass die Höhe genauso ist wie in index.html */
}

/* Hintergrundfarbe für das ausgeklappte Mobile-Menü */
@media (max-width: 1200px) {
    .impressum-body .nav-links {
        background-color: var(--header-bg);
        border-bottom: 4px solid var(--text-color);
    }
}


.impressum-body .burger-line {
    background-color: var(--text-color);
    /* Farbe des Burger-Menüs (Mobil) */
}

.impressum-body #current-date {
    color: var(--text-color);
    /* Farbe des Datums */
}

img.back-wortmarke {
    width: 64%;
    /* 80% * 0.8 = 64% */
    max-width: 560px;
    height: auto;
    margin: 150px auto 0;
    z-index: 1001;
    cursor: pointer;
    display: block;
    transition: opacity 0.3s ease;
}

/* Scroll & Menu Logo Swap (Versteckt großes Logo, zeigt Navbar Logo beim Scrollen) */
body.scrolled .main-logo,
body.menu-open .main-logo {
    opacity: 0;
    pointer-events: none;
}

body.scrolled .nav-logo,
body.menu-open .nav-logo {
    opacity: 1;
    pointer-events: auto;
}

/*Impressum-Content*/
.impressum-content {
    margin-top: 180px;
    width: 80%;
    margin: 120px auto 120px;
    position: relative;
    display: block;
    text-align: left;
}

@media (min-width: 1024px) {
    .impressum-content {
        width: 50%;
    }
}

.impressum-content .header-line {
    border: none;
    height: 5px;
    background-color: var(--text-color);
    width: 100%;
    min-width: 250px;
    max-width: 500px;
    position: relative;
    margin: 0;
}

.impressum-content .section-line {
    border: none;
    height: 8px;
    background-color: var(--text-color);
    width: 100%;
    position: relative;
    margin: 60px 0px 100px 0;
}

.impressum-section h1 {
    font-family: var(--font-main);
    font-size: 2rem;
    color: var(--text-color);
    font-weight: 700;
    margin-bottom: 15px;
}

.impressum-text h3 {
    font-family: var(--font-main);
    font-size: 1.333rem;
    color: var(--text-color);
    font-weight: 700;
    margin-bottom: 5px;
    margin-top: 30px;
    text-decoration: underline;
}

.impressum-haftung h3 {
    margin-bottom: 30px;
    margin-top: 40px;
}

.datenschutz-text h3 {
    font-family: var(--font-main);
    font-size: 1.333rem;
    color: var(--text-color);
    font-weight: 700;
    margin-bottom: 30px;
    margin-top: 40px;
    text-decoration: underline;
}

.impressum-text h4 {
    font-family: var(--font-main);
    font-size: 1.133rem;
    color: var(--text-color);
    font-weight: 700;
    margin-bottom: 10px;
    margin-top: 30px;
}

.datenschutz-text h4 {
    font-family: var(--font-main);
    font-size: 1.2rem;
    color: var(--text-color);
    font-weight: 700;
    margin-bottom: 10px;
    margin-top: 30px;
}

.impressum-text p {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 1.067rem;
    color: var(--text-color);
    margin: 0;
    line-height: 1.6;
}

.impressum-haftung p {
    text-align: justify;
}

.datenschutz-text p {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 1.067rem;
    color: var(--text-color);
    margin: 0;
    line-height: 1.6;
    text-align: justify;
}

.datenschutz-ul {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 1.067rem;
    color: var(--text-color);
    margin-top: 10px;
    margin-bottom: 10px;
    line-height: 1.6;
}


.impressum-section a {
    color: var(--text-color);
    text-decoration: none;
}

/* Impressum Styles Ende */