@font-face {
    font-family: "Lausitz Sans";
    src: url("../fonts/LausitzSans/LausitzSans-Regular.ttf")
        format("truetype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Lausitz Sans";
    src: url("../fonts/LausitzSans/LausitzSans-Semibold.ttf")
        format("truetype");
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: "Lausitz Sans";
    src: url("../fonts/LausitzSans/LausitzSans-Italic.ttf")
        format("truetype");
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: "Lausitz Sans";
    src: url("../fonts/LausitzSans/LausitzSans-SemiboldItalic.ttf")
        format("truetype");
    font-weight: 600;
    font-style: italic;
}

@font-face {
    font-family: "Kalam";
    src: url("../fonts/kalam/Kalam-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Kalam";
    src: url("../fonts/kalam/Kalam-Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Kalam";
    src: url("../fonts/kalam/Kalam-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --lg-dark: #01090E;
    --lg-dark-navy: #020D15;
    --lg-navy: #072136;

    --lg-blue: #008EF0;
    --lg-blue-light: #259DFF;
    --lg-blue-soft: #609ACD;

    --lg-silver: #F1F3F4;
    --lg-silver-mid: #BFC3C7;
    --lg-silver-dark: #747A80;

    --lg-blue-deep: #006CC7;

    --lg-bg-gradient:
        linear-gradient(
            110deg,
            #01090E 0%,
            #020D15 55%,
            #072136 100%
        );
}

* {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;

    min-height: 100vh;

    font-family: "Lausitz Sans", Arial, sans-serif;

    background: var(--lg-dark);

    color: var(--lg-silver);
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}


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

.site-header {
    position: relative;

    min-height: 200px;

    overflow: hidden;
}

/* =========================================
   HEADER – SILBERNER TRENNER
========================================= */

.site-header::after {
    content: "";
    position: absolute;

    left: 0;
    bottom: 0;

    width: 100%;
    height: 1px;

    background: linear-gradient(
        90deg,
        rgba(116, 122, 128, 0.35) 0%,
        rgba(191, 195, 199, 0.75) 18%,
        #F1F3F4 50%,
        rgba(191, 195, 199, 0.75) 82%,
        rgba(116, 122, 128, 0.35) 100%
    );

    z-index: 10;
    pointer-events: none;
}

/*======================================= */


.site-header-background {
    position: absolute;
    inset: 0;

    background:
        url("../images/header_BG.png")
        center center / cover
        no-repeat;

    z-index: 0;
}

.site-header-inner {
    position: relative;
    z-index: 1;

    width: min(1500px, 88%);
    min-height: 200px;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 60px;
}

.site-logo {
    width: clamp(220px, 27vw, 430px);
}

.main-navigation {
    display: flex;
    align-items: center;

    gap: 32px;
}

.nav-link {
    position: relative;

    padding: 12px 0;

    font-size: 0.82rem;
    font-weight: 400;

    letter-spacing: 0.12em;
    text-transform: uppercase;

    color: var(--lg-silver-mid);

    transition:
        color 0.25s ease;
}

.nav-link::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 4px;

    width: 0;
    height: 1px;

    background: var(--lg-blue-light);

    transform: translateX(-50%);

    transition:
        width 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--lg-silver);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}


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

.site-footer {
    padding: 24px 6%;

    background: #00070B;

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

.site-footer-inner {
    width: min(1500px, 100%);
    margin: 0 auto;
}

.site-footer p {
    margin: 0;

    font-size: 0.8rem;

    letter-spacing: 0.06em;
}

/* ==================================
Nav Haltepunkte
================================= */

/* =================================================
   SCROLL HALTEPUNKTE
================================================= */

:root {
    --header-offset: 120px;
}


/* Standard */

#leistungen,
#referenzen,
#kontakt {
    scroll-margin-top: var(--header-offset);
}


/* Fahrzeuge – steht momentan etwas zu hoch */

#fahrzeuge {
    scroll-margin-top: 140px;
}


/* Über uns – steht momentan etwas zu niedrig */

#ueber-uns {
    scroll-margin-top: 0;
}


/* =================================================
   MOBILE NAVIGATION / HAMBURGER
================================================= */

.lg-menu-toggle {
    display: none;

    position: relative;

    width: 46px;
    height: 46px;

    padding: 0;

    background: transparent;

    border: 1px solid rgba(255,255,255,0.22);

    cursor: pointer;

    z-index: 10001;
}


/* Hamburger-Linien */

.lg-menu-toggle span {
    position: absolute;

    left: 11px;

    width: 24px;
    height: 1px;

    background: var(--lg-silver);

    transition:
        transform .3s ease,
        opacity .3s ease,
        background .3s ease;
}


.lg-menu-toggle span:nth-child(1) {
    top: 14px;
}


.lg-menu-toggle span:nth-child(2) {
    top: 22px;
}


.lg-menu-toggle span:nth-child(3) {
    top: 30px;
}


/* Hover */

.lg-menu-toggle:hover {
    border-color: rgba(0,142,240,0.65);
}


.lg-menu-toggle:hover span {
    background: var(--lg-blue);
}


/* =================================================
   HAMBURGER – AKTIV
================================================= */

.lg-menu-toggle.active span:nth-child(1) {
    transform:
        translateY(8px)
        rotate(45deg);
}


.lg-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}


.lg-menu-toggle.active span:nth-child(3) {
    transform:
        translateY(-8px)
        rotate(-45deg);
}


/* =================================================
   MOBILE MENÜ
================================================= */

/* =================================================
   MOBILE NAVIGATION / HAMBURGER
================================================= */

.lg-menu-toggle {
    display: none;

    position: relative;

    width: 46px;
    height: 46px;

    padding: 0;

    background: transparent;

    border: 1px solid rgba(255,255,255,0.22);

    cursor: pointer;

    z-index: 10001;
}


/* Hamburger-Linien */

.lg-menu-toggle span {
    position: absolute;

    left: 11px;

    width: 24px;
    height: 1px;

    background: var(--lg-silver);

    transition:
        transform .3s ease,
        opacity .3s ease,
        background .3s ease;
}


.lg-menu-toggle span:nth-child(1) {
    top: 14px;
}


.lg-menu-toggle span:nth-child(2) {
    top: 22px;
}


.lg-menu-toggle span:nth-child(3) {
    top: 30px;
}


/* Hover */

.lg-menu-toggle:hover {
    border-color: rgba(0,142,240,0.65);
}


.lg-menu-toggle:hover span {
    background: var(--lg-blue);
}


/* =================================================
   HAMBURGER – AKTIV
================================================= */

.lg-menu-toggle.active span:nth-child(1) {
    transform:
        translateY(8px)
        rotate(45deg);
}


.lg-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}


.lg-menu-toggle.active span:nth-child(3) {
    transform:
        translateY(-8px)
        rotate(-45deg);
}


/* =================================================
   MOBILE MENÜ
================================================= */

.lg-mobile-menu {
    display: none !important;

    position: fixed;

    top: 170px;
    left: 0;
    right: 0;
    bottom: 0;

    width: 100%;

    box-sizing: border-box;

    padding: 28px 26px 40px;

    background-color: #01090E;

    background-image:
        linear-gradient(
            135deg,
            rgba(1, 9, 14, 1),
            rgba(2, 13, 21, 1),
            rgba(7, 33, 54, 1)
        );

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

    overflow-y: auto;

    z-index: 9999999;

    isolation: isolate;
}


/* =================================================
   MENÜ GEÖFFNET
================================================= */

.lg-mobile-menu.active {
    display: flex !important;

    flex-direction: column;
}


/* =================================================
   LICHTLINIE
================================================= */

.lg-mobile-menu::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(0, 142, 240, 0.9),
            transparent
        );

    pointer-events: none;
}


/* =================================================
   MENÜ-LINKS
================================================= */

.lg-mobile-menu a {
    position: relative;

    display: block;

    padding: 15px 0;

    color: var(--lg-silver);

    font-family: inherit;

    font-size: 0.85rem;

    font-weight: 600;

    letter-spacing: 0.14em;

    text-decoration: none;

    z-index: 2;

    transition:
        color 0.25s ease,
        padding-left 0.25s ease;
}


.lg-mobile-menu a:hover {
    color: var(--lg-blue);

    padding-left: 8px;
}


/* =================================================
   TRENNLINIE
================================================= */

.lg-mobile-menu-divider {
    width: 120px;

    height: 1px;

    margin: 14px 0;

    background:
        linear-gradient(
            90deg,
            rgba(255,255,255,0.20),
            rgba(0,142,240,0.75),
            transparent
        );
}


/* =================================================
   MOBILE
================================================= */

@media (max-width: 900px) {

    .main-navigation {
        display: none;
    }


    .lg-menu-toggle {
        display: block;
    }

}


/* =================================================
   DESKTOP
================================================= */

@media (min-width: 901px) {

    .lg-menu-toggle {
        display: none !important;
    }


    .lg-mobile-menu {
        display: none !important;
    }

}