:root {
    --primary-color: #f5f5f5;
    --secondary-color: #e7e7e7;
    --accent-color: #db2524;
    --text-color: #0A0A0A;
    --muted-text: rgb(53, 53, 53);
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    background-color: var(--primary-color);
    color: var(--text-color);
    width: 100vw;
    min-height: 100vh;
    overflow-x: hidden;
    scroll-behavior: smooth;
    position: relative;
}

.cta {
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 10px 20px;
    padding-left: 30px;
    padding-right: 30px;
    font-size: 1.2rem;
    text-decoration: none;
    transition: .2s;
    cursor: pointer;
    width: fit-content;
    border-radius: 5px;
    white-space: nowrap;
}

.cta:hover {
    opacity: 0.8;
}


/*==================== HEADER ====================*/
header {
    background: var(--primary-color);
    position: fixed;
    color: var(--text-color);
    padding: 0px;
    padding-left: 30px;
    padding-right: 30px;
    text-align: center;
    height: 80px;
    z-index: 3;
    max-width: 100vw;
    right: 0;
    left: 0;
    transition: .2s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

header h1 {
    white-space: nowrap;
}

header h1 a {
    color: var(--text-color);
    text-decoration: none;
}

header .small-heading {
    font-size: 1.4rem;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1500px;
    transition: .2s;
}

header nav ul {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
}

header nav ul,
header nav ul li {
    margin: 0;
    list-style: none;
}

header nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    padding: 10px 15px;
    transition: background-color 0.3s ease;
    white-space: nowrap;
    font-weight: 500;
}

header nav ul li a:hover {
    color: var(--accent-color);
}

.toggle-btn {
    height: 30px;
    width: 30px;
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    transition: .2s;
    gap: 7px;
}

.toggle-btn-bar {
    width: 100%;
    height: 3px;
    background-color: var(--text-color);
    display: none;
    transition: .2s;
}

#bar-one.active {
    width: 17px;
    margin-left: 0px;
}

#bar-two.active {
    width: 17px;
    margin-left: 13px;
}

#bar-three.active {
    width: 17px;
    margin-left: 23px;
}

@media (max-width: 1080px) {

    header {
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    header,
    .header-container {
        height: 60px;
    }

    .toggle-btn,
    .toggle-btn-bar {
        display: flex;
    }

    header nav {
        position: absolute;
        top: 60px;
        left: 100vw;
        background-color: var(--primary-color);
        height: calc(100vh - 60px);
        width: 100vw;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: .2s;
    }

    .header-menu.active {
        transform: translate(-100vw, 0);
    }

    header nav ul {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        padding: 0;
        transform: translateY(-50px);
    }

    header nav ul li a {
        font-size: 1.4rem;
    }
}

@media (max-width: 550px) {

    header {
        min-height: 60px;
        max-height: 60px;
    }

    header h1 {
        font-size: 1.6rem;


    }

    .header-menu {
        top: 60px;
        height: calc(100vh - 60px);
    }
}

@media (max-width: 400px) {

    header {
        padding-left: 10px;
        padding-right: 20px;

    }

    header .small-heading {
        font-size: 1rem;
    }

    header h1 {
        font-size: 1.2rem;
    }

    .toggle-btn-bar {
        height: 2px;
    }
}

/*==================== INHALT ====================*/

section {
    padding: 20px;
    padding-top: 100px;
    padding-bottom: 70px;
    max-width: 1500px;
    text-align: left;
}

section h1,
h2,
h3 {
    color: var(--text-color);
}

section h1 {
    margin-bottom: 20px;
}

h2 {
    margin-top: 25px;
    margin-bottom: 10px;
}

h3 {
    margin-top: 15px;
    margin-bottom: 8px;
}

p {
    margin-bottom: 12px;
    color: var(--muted-text);
}

ul {
    margin-bottom: 12px;
}


@media (max-width: 400px) {

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.2rem;
    }

    h3 {
        font-size: 1rem;
    }
}


/*==================== FOOTER ====================*/

footer {
    background-color: var(--text-color);
    color: var(--primary-color);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

footer ul {
    padding: 0;
}

footer li {
    color: white;
}

footer a {
    color: white;
    text-decoration: none;
    margin-bottom: 10px;
}

footer a:hover {
    color: var(--accent-color);
}

footer ul {
    display: flex;
    flex-direction: row;
}

footer ul li {
    list-style: none;
    margin: 0 10px;
}