/* -----------------------------------------------Fonts */
@font-face {
    font-family: 'Oswald';
    src: url('./fonts/Oswald/Oswald-VariableFont_wght.ttf') format('truetype-variations');
    font-weight: 200 700;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('./fonts/Plus_Jakarta_Sans/PlusJakartaSans-VariableFont_wght.ttf') format('truetype-variations');
    font-weight: 200 800;
}

/* -----------------------------------------------Reset */
*,
*::before,
*::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

/*----------*----------*----------*----------*---------- General Styles */
:root {
    font-size: 62.5%;

    /* Family */
    --font-family-title: "Oswald", sans-serif;
    --font-family-content: "Plus Jakarta Sans", sans-serif;
}

body {
    background-color: white;
    font-family: var(--font-family-content);
    line-height: 1.6;
    outline: none;
}

a {
    text-decoration: none;
}

li {
    list-style: none;
}

/* ----------------------------------------------------header */
.header {
    background-color: white;
    padding: 0.2rem 2rem;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 25;
    gap: 3rem;
    width: 100%;
    /* position: fixed; */
}

.header_logo {
    font-size: 2rem;
    margin-right: 2rem;
}

.header_logo img {
    left: 0;
    top: 0;
    width: 13rem;
    object-fit: cover;
}

.header_nav {
    display: flex;
    gap: 5rem;
    font-size: 1.4rem;
    justify-content: center;
    align-items: center;
    padding-top: 1.3rem;
    font-weight: bold;
}

.header_nav-link {
    color: #959ba1;
}

.header_nav li:first-child {
    border-bottom: 1.5px solid #0e84aa;
}

.header_nav li:last-child {
    background-color: #0e84aa;
    color: #f9fafb;
    border: 8px solid #0e84aa;
    border-radius: 16px;
}

.header_toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: #0e84aa;
    cursor: pointer;
    padding: 0.5rem;
    margin-left: auto;
}

.header_nav-close {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: #0e84aa;
    cursor: pointer;
    padding: 0.5rem;
    margin-left: auto;
}

/* ---------------------------------------------Impressum */
.impressum_info {
    display: flex;
    flex-direction: column;
    padding: 2rem 5rem;
    gap: 1rem;
}

.impressum_info h1 {
    font-size: 3.5rem;
}

.impressum_info h2 {
    font-size: 2.5rem;
    font-weight: bold;
}

.impressum_info h4 {
    font-size: 1.8rem;
}

.impressum_info p {
    font-size: 1.3rem;
    color: #959ba1;
}

.impressum_kontakt {
    display: flex;
    flex-direction: column;
    padding: 0 5rem;
    gap: 1rem;
}

.impressum_kontakt h4 {
    font-size: 1.8rem;
}

.impressum_kontakt p {
    font-size: 1.3rem;
    color: #959ba1;
}

.impressum_steuer {
    display: flex;
    flex-direction: column;
    padding: 1rem 5rem;
    gap: 1rem;
}

.impressum_steuer h4 {
    font-size: 1.8rem;
}

.impressum_steuer p {
    font-size: 1.3rem;
    color: #959ba1;
}

.impressum_steuer-hinweis {
    display: flex;
    flex-direction: column;
    padding: 0 5rem;
    gap: 1rem;
}

.impressum_steuer-hinweis h6 {
    font-size: 1.4rem;
}

.impressum_steuer-hinweis p {
    font-size: 1.3rem;
    color: #959ba1;
}

.impressum_inhalt {
    display: flex;
    flex-direction: column;
    padding: 1.3rem 5rem;
    gap: 1rem;
}

.impressum_inhalt h4 {
    font-size: 1.8rem;
}

.impressum_inhalt p {
    font-size: 1.3rem;
    color: #959ba1;
}

.impressum_streit {
    display: flex;
    flex-direction: column;
    padding: 1rem 5rem;
    gap: 1rem;
}

.impressum_streit h6 {
    font-size: 1.4rem;
}

.impressum_streit h4 {
    font-size: 1.7rem;
}

.impressum_streit p {
    font-size: 1.3rem;
    color: #959ba1;
}

/* ------------------------------------------footer */
.footer_copy-rights {
    max-width: 1280px;
    margin: 0 3rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    border-radius: 10px;
    padding: 2rem 3rem;
    background-color: #0e84aa;
    position: sticky;
    bottom: 0;
    z-index: 5;
    font-size: 1.3rem;
    color: #959ba1;
    margin-top: 5rem;
}

.footer_copy-rights p {
    margin: 0;
    color: #959ba1;
}

.footer_copy-rights p a {
    color: #959ba1;
}

.footer_copy-rights_date {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: #959ba1;
}

.footer_copy-rights_date1,
.footer_copy-rights_date2 {
    font-weight: 700;
}

/* ----------------------------------------------Responsive Design */
/* --------------- Large phones / small tablets (max-width: 768px) */
@media screen and (max-width: 768px) {
    .header {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
        padding: 1rem 1.5rem;
        position: relative;
        /* position: fixed; */
    }

    .header_logo {
        margin-right: 0;
    }

    .header_toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .header_nav {
        position: fixed;
        top: 0;
        right: 0;
        transform: translateX(100%);
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background-color: white;
        flex-direction: column;
        gap: 2rem;
        padding: 6rem 2rem 2rem;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: flex-start;
        transition: transform 0.35s ease;
        z-index: 20;
        box-shadow: -6px 0 20px rgba(0, 0, 0, 0.15);
    }

    .header_nav-close {
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        font-size: 2rem;
        color: #0e84aa;
        cursor: pointer;
        padding: 0.5rem;
    }

    .header_nav.active {
        transform: translateX(0);
    }

    .header_overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.35s ease, visibility 0.35s ease;
        z-index: 15;
    }

    .header_overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .footer_copy-rights {
        margin: 4rem 2rem 0;
        justify-content: center;
        text-align: center;
    }

    .impressum_info,
    .impressum_kontakt,
    .impressum_steuer,
    .impressum_steuer-hinweis,
    .impressum_inhalt,
    .impressum_streit {
        padding: 1rem 5rem;
    }

    .impressum_info h1 {
        font-size: 2.6rem;
    }

    .impressum_info h2 {
        font-size: 1.9rem;
    }

    .impressum_info h4,
    .impressum_kontakt h4,
    .impressum_steuer h4,
    .impressum_inhalt h4,
    .impressum_streit h4 {
        font-size: 1.4rem;
    }

    .impressum_steuer-hinweis h6,
    .impressum_streit h6 {
        font-size: 1.2rem;
    }
}


/* -------------------------------- Phones (max-width: 480px) */
@media screen and (max-width: 480px) {
    .header_logo img {
        width: 10rem;
    }

    .header_nav {
        gap: 1.5rem;
        font-size: 1.5rem;
    }

    .header_nav li:last-child {
        border-width: 6px;
    }

    .footer_copy-rights {
        margin: 3rem 1.5rem 0;
        padding: 1.5rem 2rem;
        font-size: 1.2rem;
    }

    .impressum_info,
    .impressum_kontakt,
    .impressum_steuer,
    .impressum_steuer-hinweis,
    .impressum_inhalt,
    .impressum_streit {
        padding: 1rem 4rem;
    }

    .impressum_info h1 {
        font-size: 2.1rem;
    }

    .impressum_info h2 {
        font-size: 1.6rem;
    }

    .impressum_info h4,
    .impressum_kontakt h4,
    .impressum_steuer h4,
    .impressum_inhalt h4,
    .impressum_streit h4 {
        font-size: 1.2rem;
    }

    .impressum_steuer-hinweis h6,
    .impressum_streit h6 {
        font-size: 1.05rem;
    }

    .impressum_info p,
    .impressum_kontakt p,
    .impressum_steuer p,
    .impressum_steuer-hinweis p,
    .impressum_inhalt p,
    .impressum_streit p {
        font-size: 1rem;
    }
}

/* -----------------------------------------(max-width: 380px) */
@media screen and (max-width: 380px) {
    .header {
        padding: 0.2rem 2rem;
        gap: 1.5rem;
    }

    .header_logo {
        font-size: 1.4rem;
        margin-right: 1rem;
    }

    .header_logo img {
        width: 9rem;
    }

    .header_nav {
        font-size: 1.1rem;
        gap: 2rem;
    }

    .header_nav li:last-child {
        border: 5px solid #0e84aa;
        border-radius: 12px;
    }

    .header_toggle,
    .header_nav-close {
        font-size: 1.6rem;
    }

    .footer_copy-rights {
        margin: 0 3rem;
        padding: 2rem 3rem;
        font-size: 1.1rem;
        gap: 0.8rem;
    }

    .footer_copy-rights_date {
        gap: 0.5rem;
    }

    .impressum_info,
    .impressum_kontakt,
    .impressum_steuer,
    .impressum_steuer-hinweis,
    .impressum_inhalt,
    .impressum_streit {
        padding: 1rem 4rem;
    }

    .impressum_info h1 {
        font-size: 1.8rem;
    }

    .impressum_info h2 {
        font-size: 1.4rem;
    }

    .impressum_info h4,
    .impressum_kontakt h4,
    .impressum_steuer h4,
    .impressum_inhalt h4,
    .impressum_streit h4 {
        font-size: 1.1rem;
    }

    .impressum_steuer-hinweis h6,
    .impressum_streit h6 {
        font-size: 1rem;
    }

    .impressum_info p,
    .impressum_kontakt p,
    .impressum_steuer p,
    .impressum_steuer-hinweis p,
    .impressum_inhalt p,
    .impressum_streit p {
        font-size: 0.95rem;
    }
}

/* ---------------------------------------- (max-width: 300px) */
@media screen and (max-width: 300px) {
    .header {
        padding: 0.2rem 2rem;
        gap: 1rem;
    }

    .header_logo {
        font-size: 1.2rem;
        margin-right: 0.8rem;
    }

    .header_logo img {
        width: 7rem;
    }

    .header_nav {
        font-size: 1rem;
        gap: 1.5rem;
    }

    .header_nav li:last-child {
        border: 4px solid #0e84aa;
        border-radius: 10px;
    }

    .header_toggle,
    .header_nav-close {
        font-size: 1.4rem;
    }

    .footer_copy-rights {
        margin: 0 3rem;
        padding: 2rem 3rem;
        font-size: 1rem;
        gap: 0.6rem;
    }

    .footer_copy-rights_date {
        gap: 0.4rem;
    }

    .impressum_info,
    .impressum_kontakt,
    .impressum_steuer,
    .impressum_steuer-hinweis,
    .impressum_inhalt,
    .impressum_streit {
        padding: 1rem 4rem;
    }

    .impressum_info h1 {
        font-size: 1.5rem;
    }

    .impressum_info h2 {
        font-size: 1.2rem;
    }

    .impressum_info h4,
    .impressum_kontakt h4,
    .impressum_steuer h4,
    .impressum_inhalt h4,
    .impressum_streit h4 {
        font-size: 1rem;
    }

    .impressum_steuer-hinweis h6,
    .impressum_streit h6 {
        font-size: 0.9rem;
    }

    .impressum_info p,
    .impressum_kontakt p,
    .impressum_steuer p,
    .impressum_steuer-hinweis p,
    .impressum_inhalt p,
    .impressum_streit p {
        font-size: 0.85rem;
    }
}