@import url('https://fonts.cdnfonts.com/css/avenir');

/* global definitions */
:root {
    /* Scrollbar */
/*     --scrollbar-track-bg-color: #0f6d22;
    --scrollbar-track-inset-shadow: #9b9b9b;
    --scrollbar-thumb-base-color: #0f6d22;
    --scrollbar-thumb-glow-color: #90be78; */

    /* Buttons */
    --btn-yellow-bg-color: #fcbf00;
    --btn-yellow-text-color: #1D1D1B;
    --btn-black-bg-color: #1D1D1B;
    --btn-black-text-color: #fcbf00;
    --btn-black-text-hover-color: #FFE676;
    --btn-white-bg-color: #dedede;
    --btn-white-text-color: #3b3b3b;
    --btn-white-border-color: #000000;
    --btn-white-bg-hover-color: #FFE676;
    --btn-white-text-hover-color: #000000;

    --btn-top-bg-color: #fcbf00;
    --btn-top-text-color: #1D1D1B;

    /* Quick Links */
    --ql-text-color: #c5c6c7;
    --ql-text-hover-color: #FFE676;

    /* Header */
    --header-bg-color: #1D1D1B;
    --header-text-color: #fcbf00;
    --header-text-hover-color: #FFE676;

    /* Nav */
    --nav-text-color: #c5c6c7;
    --nav-text-hover-color: #FFE676;
    --menu-symbol-color: #c5c6c7;
    --menu-top-bg-color: #282825;  /* 159d31, 18b437, 1cca3e */

    /* Footer */
    --footer-bg-color: #263238;
    --footer-text-color: #f5f7fa;
    --footer-text-hover-color: #FFE676;

    /* Contact Box */
    --cb-bg-color: #0f6d22;
    --cb-text-color: #f5f7fa;

    /* Detailpage */
    --det-page-bg-color: #d3d3d3;
    --det-page-text-color: #3b3b3b;

    /* Links in text */
    --text-link-color: #997300;
    --text-link-hover-color: #fcbf00;

    /* Overlay & Popups */
    --overlay-bg-color: #000000c0;
    --popup-border-color: #fcbf00;
}

/* Global definnitions */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Avenir';

    /* border: 1px solid red; */
}

html {
    font-size: 10px;
    overflow-x: hidden;
}

body {
    margin: 0;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
}

.block {
    display: block;
}

.text-left {
    text-align: left;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-justify {
    text-align: justify;
}

.text-bold {
    font-weight: bold;
}

.flex_center {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.display-none {
    display: none!important;
}

button {
    border: none;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    text-transform: capitalize;
    display: inline-block;
    cursor: pointer;
}

.btn-yellow {
    background-color: var(--btn-yellow-bg-color);
    color: var(--btn-yellow-text-color);
}

.btn-white {
    background-color: var(--btn-white-bg-color);
    color: var(--btn-white-text-color);
    /* border: 2px solid var(--btn-white-border-color); */
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
    transition: all 400ms ease-in-out;

    & a { text-decoration: none;}
}

.btn-white:hover {
    background-color: var(--btn-white-bg-hover-color);
    color: var(--btn-white-text-hover-color);
}

.btn-top {
    position: fixed;
    background-color: var(--btn-top-bg-color);
    border: 1px solid var(--btn-top-text-color);
    border-radius: 50%;
    opacity: 0;
    z-index: 100;
    transition: all 500ms;
    color: var(--btn-top-text-color);
    text-decoration: none !important;

}

.btn-top-active {
    opacity: 0.85;
    transform: translateY(0);
}

.det-page {
    display: block;
    width: 100%;
    background-color: var(--det-page-bg-color);
    color: var(--det-page-text-color);
}

article {
    display: flex;
    width: 100%;

    & a { text-decoration: none; }

    & .article-text {
        flex: 0 1 auto;
        display: block;

        h1 {
            display: block;
            width: 100%;
        }

        h2 {
            display: block;
            width: 100%;
        }

        p {
            display: block;
            width: 100%;

            a {
                color: var(--text-link-color);
                text-decoration: none;
            }

            a:hover {
                color: var(--text-link-hover-color);
            }
        }

        ul {
            width: 100%;
            list-style-type: circle;

            li {
                width: 100%;
            }
        }

    }

    & .article-image {
        flex: 0 0 auto;
        overflow: hidden;
        box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;

        & img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: var(--overlay-bg-color);
    transition: opacity 500ms ease-in-out;
    visibility: hidden;
    opacity: 0;
    z-index: -2;
    overflow: hidden;
}

.overlay:target {
    visibility: visible;
    opacity: 1;
    z-index: 10;
}

/* Developement definitions */
.dev {
    width: 100svw;
    min-height: 100svh;
    background-color: aqua;
    border: 2px solid blue;
}

.dev h2 {
    font-size: 30px;
    font-weight: bold;
    text-transform: capitalize;
}

.dev .container {
    border: 2px solid red;
}

/* Scrollbar design */
/* ::-webkit-scrollbar {
    width: 20px;
}

::-webkit-scrollbar-track {
    background-color: var(--scrollbar-track-bg-color);
    box-shadow: inset 0 0 5px var(--scrollbar-track-inset-shadow);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(40deg, var(--scrollbar-thumb-base-color) 0%, var(--scrollbar-thumb-glow-color) 62%, var(--scrollbar-thumb-base-color) 100%);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(40deg, var(--scrollbar-thumb-glow-color) 0%, var(--scrollbar-thumb-base-color) 62%, var(--scrollbar-thumb-glow-color) 100%);
} */

/* Header definitions */
header {
    margin: 0;
    padding: 0;
    background-color: var(--header-bg-color);
    color: var(--header-text-color);
}

/* Footer definitions */
footer {
    margin: 0;
    padding: 0;
    background-color: var(--footer-bg-color);
    color: var(--footer-text-color);

    & .foot-struc {
        width: 100%;
        display: flex;

        & .foot-logos {
            display: flex;

            & .foot-logo {

                & a {
                    text-decoration: none;
                    cursor: pointer;

                    & img {
                        width: 100%;
                        height: auto;
                    }
                }
            }

            & .foot-comp {
                display: flex;
                flex-direction: row;
                justify-content: space-around;
                align-items: flex-start;

                & .foot-kfz-mb {
                    & img {
                        width: 100%;
                        height: auto;
                    }
                }

                & .foot-karosserie {
                    & img {
                        width: 100%;
                        height: auto;
                    }
                }

                & .foot-pickerl {
                    & img {
                        width: 100%;
                        height: auto;
                    }
                }
            }
        }

        & .foot-blk {
            display: flex;
            flex-direction: column;

            & input {
                display: none;
            }

            & label {
                text-transform: capitalize;
            }

            & .foot-blk-content {
                display: flex;
                flex-direction: column;

                & a {
                    text-decoration: none;
                    color: var(--footer-text-color);
                }

                & a:hover {
                    color: var(--footer-text-hover-color);
                }
            }
        }
    }

    & .foot-soc {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;

        & a {
            text-decoration: none;
            color: var(--footer-text-color);
        }

        & a:hover {
            color: var(--footer-text-hover-color);
        }
    }

    & .foot-end {
        width: 100%;
        text-align: center;
        color: var(--footer-text-color);
        position: relative;
    }

    & .foot-end::before {
        content:" ";
        display: block;
        height: 2px;
        position: absolute;
        top: 50%;
        left: 0;
        background: var(--footer-text-color);
    }

    & .foot-end::after {
        content:" ";
        display: block;
        height: 2px;
        position: absolute;
        top: 50%;
        right: 0;
        background: var(--footer-text-color);
    }
}

/* Navigation definitions */
nav {
    position: relative;
    display: flex;
    justify-content: space-between;

    & .menu-toggle {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        opacity: 0;
    }

    & .header-logo {
        display: flex;
        flex-direction: row;
        align-items: center;

        & .header-logo-link {
            flex: 0 0 auto;
            & img {
                width: 100%;
                height: auto;
                /* width: auto;
                height: 100%; */
            }
        }

        & .header-comp {
            flex: 0 0 auto;
            display: flex;
            flex-direction: row;
            align-items: center;

            & .header-p57a {
                flex: 0 0 auto;
            }

            & .header-kfz {
                flex: 0 0 auto;
            }

            & .header-kar {
                flex: 0 0 auto;
            }
        }
    }

    & ul {
        display: flex;

        & li {
            display: inline-block;
            list-style-type: none;
            flex: 0 0 auto;

            & .nav-link {
                display: inline-block;
                text-decoration: none;
                text-transform: uppercase;
                color: var(--nav-text-color);
            }

            & .nav-link:hover {
                text-decoration: none;
                text-transform: uppercase;
                color: var(--nav-text-hover-color);
            }
        }
    }

    & .menu-button {
        position: relative;
        border: 2px solid var(--menu-symbol-color);

        & .menu-open {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            transition: opacity 400ms ease-in-out;
        }

        & .menu-close {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            opacity: 0;
            transition: opacity 400ms ease-in-out;
        }
    }
}

/* Contact Box definitions */
.contact-box {
    display: flex;
    z-index: 100;

    & h2 {
        text-transform: uppercase;
    }

    & .contact-buttons {
        display: flex;
        flex-direction: row;
    }
}

/* Quick Links */
.quick-links {
    display: flex;
    flex-direction: column;
    background-image: url(../images/textures/bg_ripple.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border: 2px solid black;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    transition: all 300ms ease-in-out;

    & .quick-link {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;

        .ql-icon {
            color: var(--ql-text-color);
        }

        .ql-link {
            text-decoration: none;
            color: var(--ql-text-color);
        }
    }

    & .quick-link:hover {
        & .ql-icon {
            color: var(--ql-text-hover-color);
        }

        & .ql-link {
            color: var(--ql-text-hover-color);
        }
    }
}

/* Section definitions */
section {
    margin: 0;
    padding: 0;
    width: 100%;
    display: block;

    & h1 {
        width: 100%;
        text-align: center;
        text-transform: uppercase;
    }
}

@media screen and (min-width: 1200px) {
    .btn-white {
        padding: 1rem 2.5rem;
        font-size: 2.5rem;
        border-radius: 1.25rem;
    }

    .btn-top {
        bottom: 50px;
        right: 80px;
        padding: 2px;
        font-size: 5rem;
        transform: translateY(calc(100% + 80px));
    }

    .det-page {
        padding: 5rem 0;
    }

    .quick-links {
        position: fixed;
        top: 40svh;
        right: -220px;
        padding: 2rem;
        gap: 1.5rem;

        & .quick-link {
            display: flex;
            flex-direction: row;
            gap: 2rem;

            & .ql-icon {
                font-size: 2rem;
            }

            & .ql-link {
                font-size: 2rem;
            }
        }
    }

    .quick-links:hover {
        right: 0;
    }

    footer {
        padding: 5rem 2rem;

        & .foot-struc {
            flex-direction: row;
            justify-content: space-between;
            align-items: flex-start;

            & .foot-logos {
                flex-direction: column;
                align-items: center;
                gap: 2rem;

                & .foot-logo {
                    width: 400px;
                }

                & .foot-comp {
                    width: 400px;
                    padding: 2rem 0;

                    & .foot-kfz-mb {
                        height: 70px;
                        width: 120px;
                    }

                    & .foot-karosserie {
                        height: 70px;
                        width: 70px;
                    }

                    & .foot-pickerl {
                        height: 70px;
                        width: 51px;
                    }
                }
            }

            & .foot-blk {
                padding-top: 4rem;
                gap: 1rem;

                & label {
                    font-size: 2.5rem;
                }

                & .foot-blk-content {
                    gap: 0.7rem;
                    /* margin-left: 1rem; */

                    & a {
                        font-size: 2rem;
                    }

                    & .extra-space {
                        padding: 2rem 0;
                    }
                }
            }
        }

        & .foot-soc {
            padding-top: 5rem;
            gap: 2rem;

            & a {
                font-size: 2rem;
            }
        }

        & .foot-end {
            padding: 1.6rem 0;
            font-size: 1.6rem;
        }

        & .foot-end::before {
            width: calc(50vw - 200px);
        }

        & .foot-end::after {
            width: calc(50vw - 200px);
        }
    }

    nav {
        padding: 0 2.2rem;
        flex-direction: column;

        & .menu-toggle {
            display: none;
        }

        & .header-logo {
            align-items: center;
            justify-content: space-around;
            gap: 4rem;
            padding: 2rem;

            & .header-logo-link {
                width: 550px;
            }
        }

        & .header-comp {
            gap: 0.5rem;

            & .header-p57a {
                height: 50px;
                width: 51px;
            }

            & .header-kfz {
                height: 50px;
                width: 120px;
            }

            & .header-kar {
                height: 50px;
                width: 70px;
            }
        }

        & ul {
            flex-direction: row;
            align-items: center;
            justify-content: center;
            gap: 3rem;
            width: 100%;

            & li {
                display: inline-block;

                & .nav-link {
                    display: inline-block;
                    padding: 2rem;
                    font-size: 2.2rem;
                }
            }
        }

        .menu-button {
            display: none;
        }
    }

    .contact-box {
        position: absolute;
        top: 1.5rem;
        right: 50%;
        flex-direction: column;
        margin: 1.5rem 0;
        transform: translateX(620px);

        & h2 {
            display: none;
        }

        & .contact-buttons {
            display: none;
        }

        & .contact-icons {
            position: fixed;
            top: 50svh;
            right: 0;
            display: flex;
            flex-direction: column;
            transform: translateY(-50%);

            & .contact-icons-link {
                font-size: 2rem;
                padding: 2rem;
            }
        }
    }

    article {
        padding: 3rem;
        flex-direction: row;
        align-content: center;
        justify-content: space-between;
        gap: 5rem;

        & .article-text {
            h1 {
                padding: 2.5rem 1rem;
                font-size: 2.5rem;
            }

            h2 {
                padding: 2.2rem 1rem;
                font-size: 2.2rem;
            }

            p {
                padding: 1rem;
                font-size: 2rem;
            }

            ul {
                margin-left: 3rem;
                padding: 2rem 1rem;

                li {
                    padding: 0.5rem;
                    font-size: 2rem;
                }
            }
        }

        & .article-image {
            width: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            border-radius: 2rem;
            width: 300px;
            height: 400px;

            & img {
                border-radius: 2rem;
            }
        }
    }
}

@media screen and (min-width: 992px) and (max-width: 1200px) {
    .btn-white {
        padding: 1rem 2.5rem;
        font-size: 2.5rem;
        border-radius: 1.25rem;
    }

    .btn-top {
        bottom: 50px;
        right: 80px;
        padding: 2px;
        font-size: 5rem;
        transform: translateY(calc(100% + 80px));
    }

    .det-page {
        padding: 3rem 0;
    }

    .quick-links {
        position: fixed;
        top: 40svh;
        right: -220px;
        padding: 2rem;
        gap: 1.5rem;

        & .quick-link {
            display: flex;
            flex-direction: row;
            gap: 2rem;

            & .ql-icon {
                font-size: 2rem;
            }

            & .ql-link {
                font-size: 2rem;
            }
        }
    }

    .quick-links:hover {
        right: 0;
    }

    footer {
        padding: 5rem 5rem 8rem 5rem;

        & .foot-struc {
            flex-direction: row;
            justify-content: space-around;
            align-items: flex-start;
            flex-wrap: wrap;

            & .foot-logos {
                flex-direction: row;
                align-items: center;
                justify-content: space-between;
                gap: 1.5rem;
                width: 90svw;
                padding-bottom: 2rem;

                .foot-logo {
                    width: 500px;
                }

                .foot-comp {
                    width: 400px;
                    padding: 2rem 0;

                    & .foot-kfz-mb {
                        height: 70px;
                        width: 120px;
                    }

                    & .foot-karosserie {
                        height: 70px;
                        width: 70px;
                    }

                    & .foot-pickerl {
                        height: 70px;
                        width: 51px;
                    }
                }
            }

            & .foot-blk {
                padding-top: 2rem 2rem;
                gap: 1rem;
                width: 25svw;

                & label {
                    font-size: 2.5rem;
                }

                & .foot-blk-content {
                    gap: 0.7rem;
                    /* margin-left: 1rem; */

                    & a {
                        font-size: 2rem;
                    }

                    & .extra-space {
                        padding: 1.6rem 0;
                    }
                }
            }
        }

        & .foot-soc {
            padding-top: 5rem;
            gap: 2rem;

            & a {
                font-size: 2rem;
            }
        }

        & .foot-end {
            padding: 1.6rem 0;
            font-size: 1.6rem;
        }

        & .foot-end::before {
            width: calc(50vw - 200px);
        }

        & .foot-end::after {
            width: calc(50vw - 200px);
        }
    }

    nav {
        flex-direction: column;

        & .menu-toggle {
            display: none;
        }

        & .header-logo {
            align-items: center;
            justify-content: space-around;
            gap: 4rem;
            padding: 2rem;

            & .header-logo-link {
                width: 500px;
            }
        }

        & .header-comp {
            gap: 3rem;

            & .header-p57a {
                height: 60px;
                width: 44px;
            }

            & .header-kfz {
                height: 60px;
                width: 102px;
            }

            & .header-kar {
                height: 60px;
                width: 60px;
            }
        }

        & ul {
            flex-direction: row;
            justify-content: center;
            align-items: center;
            width: 100%;

            & li {
                display: inline-block;

                & a {
                    padding: 1.6rem 2rem;
                    font-size: 1.9rem;
                }
            }
        }

        & .menu-button {
            display: none;
        }
    }

    .contact-box {
        display: none;
    }

    article {
        padding: 2rem;
        flex-direction: row;
        align-content: center;
        justify-content: space-between;
        gap: 3rem;

        & .article-text {
            & h1 {
                padding: 2.5rem 0;
                font-size: 2.2rem;
            }

            & h2 {
                padding: 2.2rem 0;
                font-size: 2rem;
            }

            & p {
                padding: 1rem;
                font-size: 1.8rem;
            }

            & ul {
                margin-left: 3rem;
                padding: 2rem 0;

                & li {
                    padding: 0.5rem;
                    font-size: 1.8rem;
                }
            }
        }

        & .article-image {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            border-radius: 3rem;
            width: 300px;
            height: 400px;

            & img {
                border-radius: 2rem;
            }
        }
    }
}

@media screen and (min-width: 768px) and (max-width: 992px) {
    .btn-white {
        padding: 1.1rem 2.2rem;
        font-size: 2.2rem;
        border-radius: 0.9rem;

    }

    .btn-top {
        bottom: 10px;
        right: 10px;
        padding: 2px;
        font-size: 5rem;
        transform: translateY(calc(100% + 10px));
    }

    .det-page {
        padding: 2.5rem 0;
    }

    footer {
        padding: 5rem 5rem 8rem 5rem;

        & .foot-struc {
            flex-direction: row;
            justify-content: space-around;
            align-items: flex-start;
            flex-wrap: wrap;

            & .foot-logos {
                flex-direction: column;
                align-items: center;
                gap: 1.5rem;
                width: 90svw;
                padding-bottom: 2rem;

                & .foot-logo {
                    width: 500px;
                }

                & .foot-comp {
                    width: 400px;
                    padding: 2.5rem 0;

                    & .foot-kfz-mb {
                        height: 70px;
                        width: 120px;
                    }

                    & .foot-karosserie {
                        height: 70px;
                        width: 70px;
                    }

                    & .foot-pickerl {
                        height: 70px;
                        width: 51px;
                    }
                }
            }

            & .foot-blk {
                padding-top: 2rem 2rem;
                gap: 1rem;
                width: 25svw;

                & label {
                    font-size: 2.2rem;
                }

                & .foot-blk-content {
                    gap: 0.7rem;
                    /* margin-left: 1rem; */

                    & a {
                        font-size: 1.6rem;
                    }

                    & .extra-space {
                        padding: 1.6rem 0;
                    }
                }
            }
        }

        & .foot-soc {
            padding-top: 5rem;
            gap: 2rem;

            & a {
                font-size: 2rem;
            }
        }

        & .foot-end {
            padding: 1.6rem 0;
            font-size: 1.6rem;
        }

        & .foot-end::before {
            width: calc(50vw - 200px);
        }

        & .foot-end::after {
            width: calc(50vw - 200px);
        }
    }

    nav {
        padding: 0 5rem;
        align-items: center;

        & .menu-toggle {
            display: block;
            right: 5rem;
            height: 60px;
            width: 60px;
            z-index: 10;
        }

        & .header-logo {
            align-items: center;
            justify-content: space-around;
            gap: 4rem;
            padding: 1rem;

            & .header-logo-link {
                width: 380px;
            }
        }

        & .header-comp {
            display: none;

            & .header-kar { display: none; }
            & .header-kfz { display: none; }
            & .header-p57a { display: none; }
        }

        & ul {
            background-color: var(--menu-top-bg-color);
            position: absolute;
            top: 107px;
            right: 0px;
            flex-direction: column;
            justify-content: flex-end;
            align-items: flex-end;
            transition: transform 500ms ease-in-out;
            transform: translateX(101%);
            box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px;
            z-index: 100;

            & li {
                display: inline-block;

                & a {
                    padding: 1.5rem 2rem 1.5rem 5rem;
                    font-size: 2.4rem;
                }
            }
        }

        & .menu-button {
            display: block;
            padding: 2px;
            border-radius: 5px;
            height: 60px;
            width: 60px;

            & .menu-open {
                font-size: 4.4rem;
            }

            & .menu-close {
                font-size: 4.9rem;
            }

            & .menu-toggle:checked ul {
                transform: translateX(0);
            }
        }

        & .menu-toggle:checked ~ ul {
            transform: translateX(0%);
        }

        & .menu-toggle:checked ~ .menu-button .menu-open {
            opacity: 0;
        }

        & .menu-toggle:checked ~ .menu-button .menu-close {
            opacity: 1;
        }
    }

    .contact-box {
        position: fixed;
        bottom: 0;
        left: 50%;
        width: 80svw;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        padding: 1.5rem 0;
        background-image: url(../images/textures/bg_ripple.jpg);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
        transform: translateX(-50%);
        box-shadow: rgb(38, 57, 77) 0px 20px 30px 10px;

        & h2 {
            display: inline;
            font-size: 2rem;
            color: var(--cb-text-color);
        }

        & .contact-icons {
            display: none;
        }

        & .contact-buttons {
            gap: 2rem;

            & button {
                font-size: 1.8rem;
                font-weight: bold;
                padding: 0.7rem 4rem;
            }
        }
    }

    article {
        padding: 2rem;
        flex-direction: row;
        align-content: center;
        justify-content: space-between;
        gap: 3rem;

        & .article-text {
            & h1 {
                padding: 2.5rem 0;
                font-size: 1.8rem;
            }

            & h2 {
                padding: 1.4rem 0;
                font-size: 2rem;
            }

            & p {
                padding: 1rem;
                font-size: 1.6rem;
            }

            & ul {
                margin-left: 3rem;
                padding: 1.6rem 0;

                & li {
                    padding: 0.35rem;
                    font-size: 1.6rem;
                }
            }
        }

        & .article-image {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            border-radius: 2rem;
            width: 280px;
            height: 340px;

            & img {
                border-radius: 2rem;
            }
        }
    }

    .quick-links {
        display: none;
    }
}

@media screen and (min-width: 480px) and (max-width: 768px) {
    .btn-white {
        padding: 0.8rem 1.6rem;
        font-size: 1.6rem;
        border-radius: 0.8rem;
    }

    .btn-top {
        bottom: 10px;
        right: 25px;
        padding: 2px;
        font-size: 4.5rem;
        transform: translateY(calc(100% + 10px));
    }

    .det-page {
        padding: 2rem 0;
    }

    footer {
        padding: 2rem 2rem 14rem 2rem;

        & .foot-struc {
            flex-direction: column;
            justify-content: space-between;
            align-items: flex-start;
            width: 100%;

            & .foot-logos {
                flex-direction: column;
                align-items: center;
                gap: 1.4rem;
                width: 100%;
                padding-bottom: 2rem;

                & .foot-logo {
                    width: 85svw;
                }

                & .foot-comp {
                    width: 85svw;
                    padding: 1rem 0;

                    & .foot-kfz-mb {
                        height: 70px;
                        width: 120px;
                    }

                    & .foot-karosserie {
                        height: 70px;
                        width: 70px;
                    }

                    & .foot-pickerl {
                        height: 70px;
                        width: 51px;
                    }
                }
            }

            & .foot-blk {
                width: 100%;
                padding: 1rem 6rem;
                gap: 1rem;

                & label {
                    width: 100%;
                    position: relative;
                    font-size: 2rem;
                    transition: all 500ms;
                }

                & label:after {
                    position: absolute;
                    top: 50%;
                    right: 0;
                    content: '+';
                    transform: translateY(-50%);
                    transition: all 300ms;
                }

                & .foot-blk-content {
                    gap: 0.7rem;
                    /* margin-left: 1rem; */
                    max-height: 0;
                    overflow: hidden;
                    transition: all 500ms;

                    & a {
                        font-size: 1.4rem;
                    }

                    & .extra-space {
                        padding: 1.4rem 0;
                    }
                }

                & .foot-blk-toggle:checked ~ label:after {
                    transform: translateY(-50%) rotate(45deg);
                }

                & .foot-blk-toggle:checked ~ .foot-blk-content {
                    max-height: 100svh;
                }
            }
        }

        & .foot-soc {
            padding-top: 5rem;
            gap: 1.6rem;

            & a {
                font-size: 2rem;
            }
        }

        & .foot-end {
            padding: 1rem 0;
            font-size: 1rem;
        }

        & .foot-end::before {
            width: calc(50vw - 120px);
        }

        & .foot-end::after {
            width: calc(50vw - 120px);
        }
    }

    nav {
        padding: 1rem 2rem;
        align-items: center;

        & .menu-toggle {
            display: block;
            right: 2rem;
            height: 50px;
            width: 50px;
            z-index: 10;
        }

        & .header-logo {
            align-items: center;
            justify-content: space-around;
            gap: 4rem;
            padding: 1rem;

            & .header-logo-link {
                width: 250px;
            }
        }

        & .header-comp {
            display: none;
        }

        & ul {
            background-color: var(--menu-top-bg-color);
            position: absolute;
            top: 97px;
            right: 0px;
            flex-direction: column;
            justify-content: flex-end;
            align-items: flex-end;
            border-bottom-left-radius: 1rem;
            transition: transform 500ms ease-in-out;
            transform: translateX(101%);
            box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px;
            z-index: 200;

            & li {
                display: inline-block;

                & a {
                    padding: 1rem 1.5rem 1rem 5rem;
                    font-size: 1.8rem;
                }
            }
        }

        & .menu-button {
            display: block;
            padding: 2px;
            border-radius: 5px;
            height: 50px;
            width: 50px;

            & .menu-open {
                font-size: 3rem;
            }

            & .menu-close {
                font-size: 3.3rem;
            }
        }

        & .menu-toggle:checked ~ ul {
            transform: translateX(0%);
        }

        & .menu-toggle:checked ~ .menu-button .menu-open {
            opacity: 0;
        }

        & .menu-toggle:checked ~ .menu-button .menu-close {
            opacity: 1;
        }
    }

    .contact-box {
        position: fixed;
        bottom: 0;
        left: 50%;
        width: 95svw;
        flex-direction: column;
        align-items: center;
        padding: 1.5rem 2.5rem;
        background-image: url(../images/textures/bg_ripple.jpg);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
        transform: translateX(-50%);
        gap: 1.5rem;
        box-shadow: rgb(38, 57, 77) 0px 20px 30px 10px;

        & h2 {
            display: inline;
            font-size: 2rem;
            color: var(--cb-text-color);
        }

        & .contact-icons {
            display: none;
        }

        & .contact-buttons {
            gap: 2rem;

            & button {
                font-size: 1.8rem;
                font-weight: bold;
                padding: 0.7rem 4rem;
            }
        }
    }

    article {
        padding: 2rem;
        flex-direction: row;
        align-content: center;
        justify-content: space-between;
        gap: 3rem;

        & .article-text {
            & h1 {
                padding: 1.5rem 0;
                font-size: 1.7rem;
            }

            & h2 {
                padding: 1.1rem 0;
                font-size: 1.5rem;
            }

            & p {
                padding: 0.7rem;
                font-size: 1.4rem;
            }

            & ul {
                margin-left: 3rem;
                padding: 0.7rem 0;

                & li {
                    padding: 0.2rem;
                    font-size: 1.4rem;
                }
            }
        }

        & .article-image {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            border-radius: 2rem;
            width: 150px;
            height: 200px;

            & img {
                border-radius: 2rem;
            }
        }
    }

    .quick-links {
        display: none;
    }
}

@media screen and (max-width: 480px) {
    .btn-white {
        padding: 0.8rem 1.6rem;
        font-size: 1.6rem;
        border-radius: 0.8rem;
    }

    .btn-top {
        bottom: 10px;
        right: 25px;
        padding: 2px;
        font-size: 4.5rem;
        transform: translateY(calc(100% + 10px));
    }

    .det-page {
        padding: 2rem 0;
    }

    footer {
        padding: 2rem 2rem 13rem 2rem;

        & .foot-struc {
            flex-direction: column;
            justify-content: space-between;
            align-items: flex-start;
            width: 100%;

            & .foot-logos {
                flex-direction: column;
                align-items: center;
                gap: 1.8rem;
                width: 100%;
                padding-bottom: 2rem;

                & .foot-logo {
                    width: 100%;
                }

                & .foot-comp {
                    width: 100%;

                    & .foot-kfz-mb {
                        height: 70px;
                        width: 120px;
                    }

                    & .foot-karosserie {
                        height: 70px;
                        width: 70px;
                    }

                    & .foot-pickerl {
                        height: 70px;
                        width: 51px;
                    }
                }
            }

            & .foot-blk {
                width: 100%;
                padding: 1rem 4rem;
                gap: 1rem;

                & label {
                    width: 100%;
                    position: relative;
                    font-size: 2rem;
                    transition: all 500ms;
                }

                & label:after {
                    position: absolute;
                    top: 50%;
                    right: 0;
                    content: '+';
                    transform: translateY(-50%);
                    transition: all 300ms;
                }

                & .foot-blk-content {
                    gap: 0.7rem;
                    /* margin-left: 1rem; */
                    max-height: 0;
                    overflow: hidden;
                    transition: all 500ms;

                    & a {
                        font-size: 1.4rem;
                    }

                    & .extra-space {
                        padding: 1.4rem 0;
                    }
                }

                & .foot-blk-toggle:checked ~ label:after {
                    transform: translateY(-50%) rotate(45deg);
                }

                & .foot-blk-toggle:checked ~ .foot-blk-content {
                    max-height: 100svh;
                }
            }
        }

        & .foot-soc {
            padding-top: 5rem;
            gap: 1.6rem;

            & a {
                font-size: 2rem;
            }
        }

        & .foot-end {
            padding: 1rem 0;
            font-size: 1rem;
        }

        & .foot-end::before {
            width: calc(50vw - 120px);
        }

        & .foot-end::after {
            width: calc(50vw - 120px);
        }
    }

    nav {
        padding: 1rem 1.8rem;
        align-items: center;

        & .menu-toggle {
            display: block;
            right: 1.8rem;
            height: 40px;
            width: 40px;
            z-index: 10;
        }

        & .header-logo {
            align-items: center;
            justify-content: space-around;
            gap: 4rem;
            padding: 1rem;

            & .header-logo-link {
                width: 200px;
            }
        }

        & .header-comp {
            display: none;

            & .header-p57a { display: none; }
            & .header-kfz { display: none; }
            & .header-kar { display: none; }
        }

        & ul {
            background-color: var(--menu-top-bg-color);
            position: absolute;
            top: 80px;
            left: 0;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            width: 100%;
            max-height: 0;
            transition: max-height 500ms ease-in-out;
            box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px;
            overflow: hidden;
            z-index: 200;

            & li {
                display: inline-block;

                & a {
                    padding: 1.4rem 0 1.4rem 1.8rem;
                    font-size: 1.8rem;
                }
            }
        }

        & .menu-button {
            display: block;
            padding: 2px;
            border-radius: 5px;
            height: 40px;
            width: 40px;

            & .menu-open {
                font-size: 3rem;
            }

            & .menu-close {
                font-size: 3.3rem;
            }
        }

        & .menu-toggle:checked ~ ul {
            max-height: 100svh;
        }

        & .menu-toggle:checked ~ .menu-button .menu-open {
            opacity: 0;
        }

        & .menu-toggle:checked ~ .menu-button .menu-close {
            opacity: 1;
        }
    }

    .contact-box {
        position: fixed;
        bottom: 0;
        left: 50%;
        width: 95svw;
        flex-direction: column;
        align-items: center;
        padding: 1.5rem 2.5rem;
        background-image: url(../images/textures/bg_ripple.jpg);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
        transform: translateX(-50%);
        gap: 1.5rem;
        box-shadow: rgb(38, 57, 77) 0px 20px 30px 10px;
        z-index: 100;

        & h2 {
            display: inline;
            font-size: 1.5rem;
            color: var(--cb-text-color);
        }

        & .contact-icons {
            display: none;
        }

        & .contact-buttons {
            & a {
                & button {
                    font-size: 1.8rem;
                    font-weight: bold;
                    padding: 0.7rem 4rem;
                }
            }
        }
    }

    article {
        padding: 1rem;
        flex-direction: column;
        align-content: center;
        justify-content: space-between;
        gap: 3rem;

        & .article-text {
            &  h1 {
                padding: 2.5rem 0;
                font-size: 1.8rem;
            }

            & h2 {
                padding: 1.4rem 0;
                font-size: 2rem;
            }

            & p {
                padding: 1rem 1.5rem;
                font-size: 1.6rem;
            }

            & ul {
                margin-left: 2rem;
                padding: 1.6rem 0;

                & li {
                    padding: 0.35rem 1rem;
                    width: calc(100dvw - 3.5rem);
                    font-size: 1.6rem;
                }
            }
        }

        & .article-image {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            border-radius: 2rem;
            width: 100%;
            height: 280px;

            & img {
                border-radius: 2rem;
            }
        }
    }

    .quick-links {
        display: none;
    }
}