body {
    font-family: Arial, sans-serif;
    background-color: #EEEEEE;
}

.goverlay {
    background: rgba(0, 0, 0, 0.8) !important;
}

.hero {
    height: 60vh;
    background: url('/assets/images/home/Industriefotografie_Dachser.jpg') center/cover no-repeat;
}

.glow-heading {
    color: #004C93;
    font-weight: 700;

    font-size: clamp(1.8rem, 5vw, 3rem); /* ← MAGIC ✨ */

    text-align: center;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.9),
    0 0 20px rgba(255, 255, 255, 0.9);

    letter-spacing: 1px;
}

.transition {
    transition: all 0.3s ease;
    font-size: 1.6rem;
    font-weight: 500;
}

#navbar {
    background-color: rgba(255, 255, 255, 0.9) !important;
    height: 90px;
}

.nav-link-custom {
    position: relative;
    color: #004C93;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
}

.nav-link-custom::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 2px;
    background-color: #004C93;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.nav-link-custom:hover::after {
    transform: scaleX(1);
}

#navbar.scrolled {
    padding: 0.5rem !important;
    background-color: rgba(255, 255, 255, 0.9) !important;
    height: 100px;
}

#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: none;
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #004C93;
    --bs-btn-border-color: #8798C5;
    --bs-btn-hover-color: #004C93;
    --bs-btn-hover-bg: #8798C5;
    --bs-btn-hover-border-color: #8798C5;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #004C93;
    --bs-btn-active-border-color: #004C93;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #004C93;
    --bs-btn-disabled-border-color: #004C93;
}

.equal-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 8px;
}

.equal-img-gallery {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 8px;
}

#navbar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    height: 90px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
}

.desktop-nav {
    display: flex;
    gap: 30px;
}

.desktop-nav a {
    position: relative;
    color: #004C93;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
}

.desktop-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: #004C93;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.desktop-nav a:hover::after {
    transform: scaleX(1);
}

.burger {
    width: 30px;
    height: 22px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.burger span {
    display: block;
    height: 3px;
    width: 100%;
    background: #004C93;
    transition: all 0.3s ease;
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(9px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-9px);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100vh;

    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(14px);

    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);

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

    transition: right 0.4s ease;
    z-index: 1050;
}

.mobile-menu.active {
    right: 0;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
}

.mobile-nav a {
    font-size: 1.6rem;
    color: #004C93;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mobile-nav a:hover {
    transform: scale(1.08);
}

.mobile-menu::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;

    background: rgba(0, 0, 0, 0.3);

    opacity: 0;
    pointer-events: none;

    transition: opacity 0.3s ease;
}

.mobile-menu.active::before {
    opacity: 1;
    pointer-events: none;
}

body.menu-open {
    overflow: hidden;
}

.mobile-menu.active::before {
    left: 0;
}

@media (min-width: 992px) {

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

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

@media (max-width: 991px) {

    .desktop-nav {
        display: none;
    }

    .burger {
        display: flex;
    }
}