:root {
    --color-primary: #f3c623;

    --color-dark: #202833;
    --color-text: #202833;
    --color-muted: #68737e;

    --color-light: #f5f5f5;
    --color-white: #ffffff;
    --color-border: #dddddd;

    --footer-bg: #223247;

    --content-width: 1200px;
}


/* =========================================================
   RESET
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    font-family: "Ubuntu", sans-serif;

    color: var(--color-text);
    background: var(--color-white);

    line-height: 1.6;
}

img {
    display: block;

    max-width: 100%;
}

a {
    color: inherit;

    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}


/* =========================================================
   TEXT SELECTION
========================================================= */

*::selection {
    background-color: var(--color-primary);

    color: var(--color-dark);
}

*::-moz-selection {
    background-color: var(--color-primary);

    color: var(--color-dark);
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: relative;

    z-index: 1000;

    width: 100%;

    background: #ffffff;

    border-bottom:
        1px solid
        rgba(0, 0, 0, 0.08);
}

@media (min-width: 801px) {

    .site-header {
        position: sticky;
        top: 0;

        box-shadow:
            0 2px 8px
            rgba(0, 0, 0, 0.08);
    }

}

.site-header-inner {
    display: grid;

    grid-template-columns:
        1fr
        auto
        1fr;

    align-items: center;

    gap: 40px;

    width: min(
        calc(100% - 64px),
        1380px
    );

    min-height: 100px;

    margin: 0 auto;
}


/* =========================================================
   HEADER BRAND
========================================================= */

.site-header-brand {
    display: flex;

    align-items: center;

    gap: 17px;

    justify-self: start;

    min-width: 0;
}

.site-header-logo {
    flex: 0 0 auto;

    width: 84px;
    height: auto;
}

.site-header-brand-name {
    color: var(--color-dark);

    font-size: 1rem;
    font-weight: 500;

    white-space: nowrap;
}


/* =========================================================
   NAVIGATION
========================================================= */

.site-navigation {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 38px;

    justify-self: center;
}

.site-navigation a {
    position: relative;

    padding: 37px 0;

    color: var(--color-dark);

    font-size: 1rem;
    font-weight: 500;

    white-space: nowrap;

    transition:
        color 0.25s ease;
}

.site-navigation a:hover,
.site-navigation a.active {
    color: var(--color-primary);
}

.site-navigation a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 27px;

    width: 100%;
    height: 2px;

    background: var(--color-primary);

    transform: scaleX(0);
    transform-origin: center;

    transition:
        transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-navigation a:hover::after,
.site-navigation a.active::after {
    transform: scaleX(1);
}


/* =========================================================
   HEADER RIGHT
========================================================= */

.site-header-right {
    display: flex;

    align-items: center;
    justify-content: flex-end;

    justify-self: end;
}


/* =========================================================
   HEADER RESPONSIVE
========================================================= */

@media (max-width: 1000px) {

    .site-header-inner {
        grid-template-columns:
            auto
            1fr
            auto;

        gap: 25px;
    }

    .site-navigation {
        gap: 24px;
    }

    .site-header-brand-name {
        display: none;
    }

}


@media (max-width: 800px) {

    .site-header-inner {
        grid-template-columns:
            1fr
            auto;

        row-gap: 14px;

        min-height: auto;

        padding: 18px 0;
    }

    .site-header-brand {
        grid-column: 1;
    }

    .site-header-right {
        grid-column: 2;
    }

    .site-navigation {
        grid-column: 1 / -1;
        grid-row: 2;

        width: 100%;

        justify-content: center;

        gap: 22px;
    }

    .site-navigation a {
        padding: 8px 0;
    }

    .site-navigation a::after {
        bottom: 0;
    }

}


@media (max-width: 520px) {

    .site-header-inner {
        width:
            calc(100% - 28px);
    }

    .site-header-logo {
        width: 68px;
    }

    .site-navigation {
        gap: 14px;
    }

    .site-navigation a {
        font-size: 0.82rem;
    }
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    width: 100%;

    margin-top: 120px;

    background: var(--footer-bg);

    color: #ffffff;
}


/* =========================================================
   FOOTER INNER
========================================================= */

.footer-inner {
    width: min(
        calc(100% - 80px),
        1450px
    );

    margin: 0 auto;
}


/* =========================================================
   FOOTER MAIN
========================================================= */

.footer-main {
    display: grid;

    grid-template-columns:
        minmax(330px, 1fr)
        minmax(430px, 1.15fr)
        minmax(300px, 1fr);

    align-items: center;

    gap: 55px;

    min-height: 145px;

    padding: 38px 0 34px;
}


/* =========================================================
   FOOTER COMPANY
========================================================= */

.footer-company {
    display: flex;

    align-items: center;

    gap: 24px;

    min-width: 0;
}

.footer-logo {
    flex: 0 0 auto;

    width: 62px;
    height: auto;

    filter:
        brightness(0)
        invert(1);
}

.footer-address {
    display: flex;

    flex-direction: column;

    gap: 1px;

    min-width: 0;
}

.footer-address p {
    margin: 0;

    color:
        rgba(255, 255, 255, 0.78);

    font-size: 14px;
    font-weight: 400;

    line-height: 1.6;
}


/* Firmenname hervorgehoben */

.footer-address .footer-company-name {
    color: #ffffff;

    font-weight: 700;
}


/* Straße und Ort bewusst normal */

.footer-address p:not(.footer-company-name) {
    color:
        rgba(255, 255, 255, 0.78);

    font-weight: 400;
}


/* =========================================================
   FOOTER CENTER
========================================================= */

.footer-center {
    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;
}

.footer-accent-line {
    display: block;

    width: 56px;
    height: 2px;

    margin-bottom: 14px;

    background: var(--color-primary);
}


/* Hauptaussage */

.footer-claim {
    margin: 0;

    color: #ffffff;

    font-size: 13px;
    font-weight: 700;

    line-height: 1.4;

    letter-spacing: 0.22em;

    white-space: nowrap;
}


/* Zweite, ruhigere Aussage */

.footer-subclaim {
    margin: 6px 0 0;

    color: var(--color-primary);

    font-size: 9px;
    font-weight: 600;

    line-height: 1.4;

    letter-spacing: 0.17em;

    white-space: nowrap;
}


/* =========================================================
   FOOTER LINKS
========================================================= */

.footer-links {
    display: flex;

    align-items: center;
    justify-content: flex-end;

    gap: 30px;
}

.footer-links a {
    position: relative;

    padding: 0;
    border: 0;

    background: transparent;

    color:
        rgba(255, 255, 255, 0.88);

    font-family: inherit;
    font-size: 14px;
    font-weight: 600;

    line-height: inherit;

    white-space: nowrap;

    cursor: pointer;

    transition:
        color 0.2s ease;
}

.footer-links a:hover,
.footer-links a.active {
    color: var(--color-primary);
}

.footer-links a::after {
    content: "";

    position: absolute;

    right: 0;
    bottom: -6px;
    left: 0;

    width: 0;
    height: 1px;

    margin: 0 auto;

    background: var(--color-primary);

    transition:
        width 0.2s ease;
}

.footer-links a:hover::after,
.footer-links a.active::after {
    width: 100%;
}


/* =========================================================
   FOOTER BOTTOM
========================================================= */

.footer-bottom {
    padding: 11px 0 13px;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
    margin: 0;

    color:
        rgba(255, 255, 255, 0.58);

    text-align: center;

    font-size: 10px;
    font-weight: 500;

    line-height: 1.4;

    letter-spacing: 0.04em;
}


/* =========================================================
   FOOTER RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .footer-inner {
        width:
            calc(100% - 60px);
    }

    .footer-main {
        grid-template-columns:
            1fr
            1fr;

        gap: 30px;
    }

    .footer-center {
        grid-column: 1 / -1;
        grid-row: 1;

        margin-bottom: 5px;
    }

    .footer-company {
        grid-column: 1;
    }

    .footer-links {
        grid-column: 2;
    }

}


@media (max-width: 900px) {

    .footer-main {
        grid-template-columns: 1fr;

        gap: 28px;

        padding: 36px 0;

        text-align: center;
    }

    .footer-center,
    .footer-company,
    .footer-links {
        grid-column: auto;
        grid-row: auto;
    }

    .footer-company {
        justify-content: center;
    }

    .footer-links {
        justify-content: center;
    }

}


@media (max-width: 600px) {

    .footer-inner {
        width:
            calc(100% - 28px);
    }

    .footer-main {
        padding:
            32px 0
            28px;
    }

    .footer-company {
        flex-direction: column;

        gap: 12px;
    }

    .footer-logo {
        width: 58px;
    }

    .footer-address {
        align-items: center;
    }

    .footer-address p {
        font-size: 13px;

        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;

        gap:
            14px
            22px;
    }

    .footer-links a {
        font-size: 13px;
    }

    .footer-claim {
        font-size: 11px;

        letter-spacing: 0.16em;

        white-space: normal;
    }

    .footer-subclaim {
        font-size: 9px;

        letter-spacing: 0.14em;

        white-space: normal;
    }

}


@media (max-width: 420px) {

    .footer-links {
        flex-direction: column;

        gap: 8px;
    }

}


/* =========================================================
   COOKIE BANNER
========================================================= */

.cookie-banner {
    position: fixed;
    left: 50%;
    bottom: 24px;

    width: min(
        calc(100% - 32px),
        980px
    );

    z-index: 9999;

    transform:
        translateX(-50%);
}

.cookie-banner[hidden] {
    display: none !important;
}

.cookie-card {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 28px;

    padding: 28px 30px;

    border:
        1px solid
        rgba(32, 40, 51, 0.10);

    border-radius: 22px;

    background: #ffffff;

    color: #202833;

    box-shadow:
        0 20px 50px
        rgba(0, 0, 0, 0.12);
}

.cookie-content {
    flex: 1 1 auto;

    min-width: 0;
}

.cookie-kicker {
    display: inline-block;

    margin-bottom: 10px;

    color: #f3c623;

    font-size: 0.78rem;
    font-weight: 700;

    letter-spacing: 0.18em;
}

.cookie-title {
    margin:
        0
        0
        12px;

    color: #202833;

    font-size: 2rem;
    font-weight: 700;

    line-height: 1.2;
}

.cookie-text {
    max-width: 720px;

    margin: 0;

    color: #5f6b77;

    font-size: 1rem;

    line-height: 1.75;
}

.cookie-links {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 18px;

    margin-top: 16px;
}

.cookie-links a,
.cookie-link-button {
    padding: 0;

    border: none;

    background: none;

    color: #202833;

    font-size: 0.95rem;
    font-weight: 500;

    text-decoration: underline;
    text-underline-offset: 3px;

    cursor: pointer;

    transition:
        color 0.2s ease;
}

.cookie-links a:hover,
.cookie-link-button:hover {
    color: #f3c623;
}

.cookie-actions {
    display: flex;

    align-items: center;

    gap: 14px;

    flex: 0 0 auto;
}

.cookie-button {
    min-width: 170px;
    height: 54px;

    padding: 0 24px;

    border-radius: 999px;

    font-size: 0.95rem;
    font-weight: 700;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.cookie-button:hover {
    transform:
        translateY(-1px);
}

.cookie-button-primary {
    border:
        1px solid
        #f3c623;

    background: #f3c623;

    color: #202833;
}

.cookie-button-primary:hover {
    border-color: #e4b814;

    background: #e4b814;
}

.cookie-button-secondary {
    border:
        1px solid
        #d7dde3;

    background: #ffffff;

    color: #202833;
}

.cookie-button-secondary:hover {
    border-color: #202833;

    background: #fafafa;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .cookie-card {
        flex-direction: column;

        align-items: stretch;

        padding: 24px;
    }

    .cookie-actions {
        width: 100%;

        justify-content: flex-start;

        flex-wrap: wrap;
    }

    .cookie-button {
        flex: 1 1 220px;
    }

}


@media (max-width: 600px) {

    .cookie-banner {
        width:
            calc(100% - 20px);

        bottom: 14px;
    }

    .cookie-card {
        padding: 20px 18px;

        border-radius: 18px;
    }

    .cookie-title {
        font-size: 1.55rem;
    }

    .cookie-text {
        font-size: 0.95rem;

        line-height: 1.65;
    }

    .cookie-actions {
        flex-direction: column;

        align-items: stretch;
    }

    .cookie-button {
        width: 100%;

        min-width: 0;
    }

}