h1 {
    font-size: 61px;
    font-weight: 700;
    margin-bottom: 24px;
    padding-bottom: 16px;
    color: #2A3647;
    flex-shrink: 0;
}

h2 {
    font-size: 27px;
    font-weight: 700;
    color: #2A3647;
    margin-bottom: 16px;
}

h3 {
    font-size: 18px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 12px;
}

.page {
    justify-content: center;
    position: relative;
    /* max-width: 1920px; */
    width: 100%;
    height: 100vh;
    display: flex;
    background-color: #F6F7F8;
}

.header {
    padding-left: 0;
    padding-right: 0;
}

.main {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    flex: 1;
    height: 100%;
    overflow-y: auto;
}

.content {
    width: 100%;
    padding: 80px;
}

.section {
    margin-bottom: 24px;
}

ul li,
.section p {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 10px;
    text-align: justify;
    color: #333;
}

.section p a {
    color: #29ABE2;
    text-decoration: none;
    font-weight: bold;
}

.undertext a {
    color: #29ABE2;
    text-decoration: none;
    font-weight: bold;
}

.font-strong {
    font-weight: 700;
}

@media (max-width: 900px) {
    main {
        margin-top: 0;
    }
}

@media (max-width: 800px) {
    .sidebar__logo-image {
        width: 60px;
    }

    .sidebar__text {
        display: none;
    }
}

@media (max-width: 750px) {
    .header__wrapper {
        padding-left: 40px;
        padding-right: 40px;
    }

    .header__burger-menu {
        right: 40px;
    }
    
    h1 {
        font-size: 40px;
    }

    .page-content-section {
        padding: 40px;
    }
}

@media (max-width: 655px) {
    .header__title {
        display: none;
    }

    .header__logo {
        display: block;
    }

    .header__help {
        display: none;
    }

    .sidebar {
        position: fixed;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        justify-content: space-between;
        align-items: center;
        max-width: none;
        width: 100%;
        height: 80px;
        padding: 0;
        background-color: #2A3647;
        z-index: 1000;
    }

    .sidebar__logo,
    .sidebar__legal {
        display: none;
    }

    .sidebar__menu {
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        padding-left: 14px;
        padding-right: 14px;
    }

    .sidebar__item {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        height: 76px;
        width: 80px;
        padding: 0;
        gap: 6px;
    }

    .sidebar__icon {
        height: 24px;
    }

    .sidebar__text {
        display: block;
        font-size: 14px;
    }

    .page-content-section {
        padding-bottom: 120px;
    }
}

@media (max-width: 500px) {
    .header__wrapper {
        padding-left: 30px;
        padding-right: 30px;
    }

    .header__burger-menu {
        right: 30px;
    }

    .page-content-section {
        padding-left: 30px;
        padding-right: 30px;
        padding-bottom: 110px;
    }
}

@media (max-width: 400px) {
    .header__wrapper {
        padding-left: 20px;
        padding-right: 20px;
    }

    .header__burger-menu {
        right: 20px;
    }

    .page-content-section {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 420px) {
    h1 {
        font-size: 34px;
    }

    ul {
        padding-left: 16px;
    }
}
/* ==== FINALE LÖSUNG FÜR EXTERNE ANSICHT ==== */

/* 1. Versteckt den weißen Streifen, indem der Seitenhintergrund dunkel wird */
body{
    margin: 0;
}


/* 2. Deaktiviert die Hauptlinks und das Logo in der Sidebar */
body.external-view .sidebar__menu a,
body.external-view .sidebar__logo a {
    pointer-events: none !important;
    cursor: default !important;
    opacity: 0.4 !important;
    background: transparent !important;
    border: none !important;
}

/* 3. Entfernt alle Hover- und Aktiv-Effekte von den Sidebar-Containern */
body.external-view .sidebar__item:hover,
body.external-view .sidebar__item.active-menu {
    background: transparent !important;
    border: none !important;
}

/* ----- HEADER ----- */

/* 4. Versteckt NUR das Fragezeichen. Der User-Kreis (Burger-Menü-Trigger) bleibt sichtbar! */
body.external-view .header__help {
    display: none !important;
}

/* 5. Burger-Menü: Versteckt die nicht erlaubten Links */
body.external-view .header__burger-menu a {
    display: none !important;
}

/* 6. Burger-Menü: Macht die erlaubten Links wieder sichtbar */
body.external-view .header__burger-menu a[href*="legal_notice.html"],
body.external-view .header__burger-menu a[href*="privacy_policy.html"],
body.external-view .header__burger-menu a[onclick="logOut()"] {
    display: block !important;
}