@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 100;
    src: url('../fonts/roboto-v30-latin-100.woff2') format('woff2'),
        /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
        url('../fonts/roboto-v30-latin-100.ttf') format('truetype');
    /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* roboto-300 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/roboto-v30-latin-300.woff2') format('woff2'),
        /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
        url('../fonts/roboto-v30-latin-300.ttf') format('truetype');
    /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* roboto-regular - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v30-latin-regular.woff2') format('woff2'),
        /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
        url('../fonts/roboto-v30-latin-regular.ttf') format('truetype');
    /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* roboto-500 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/roboto-v30-latin-500.woff2') format('woff2'),
        /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
        url('../fonts/roboto-v30-latin-500.ttf') format('truetype');
    /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* roboto-700 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v30-latin-700.woff2') format('woff2'),
        /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
        url('../fonts/roboto-v30-latin-700.ttf') format('truetype');
    /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* bebas-neue-regular - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Bebas Neue';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/bebas-neue-v14-latin-regular.woff2') format('woff2'),
        /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
        url('../fonts/bebas-neue-v14-latin-regular.ttf') format('truetype');
    /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

:root {
    --bg-dark: #0d0d0d;
    --bg-card: #161616;
    --bg-gray: #666666;
    --bg-gray-rgb: 102, 102, 102;
    --bg-darker: #070707;
    --primary: #FFE600;
    --primary-rgb: 255, 230, 0;
    --primary-hover: #e6ce00;
    --text-white: #ffffff;
    --text-gray: #999999;
    --text-dark-gray: #333333;
    --border-color: rgba(255, 230, 0, 0.1);
    --border-glow: rgba(255, 230, 0, 0.25);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --font-heading: 'Bebas Neue', sans-serif;
    --font-body: 'Roboto', sans-serif;
    --small: 768px;
    --medium: 992px;
    --large: 1200px;
    --xlarge: 1400px;
}


/* Global Reset & Base */
body {
    /* background-color: var(--bg-dark); */
    color: var(--text-dark-gray);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-hover);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
.display-font {
    color: #000000;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

h1 {
    font-size: 2.2rem;
}


h2 {
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 40px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--primary);
    transform: skewX(-20deg);
}

h2.text-center::after {
    left: 50%;
    transform: translateX(-50%) skewX(-20deg);
}

h6 {
    font-family: var(--font-heading);
    font-size: 2.9rem;
    line-height: 1;
    color: var(--text-gray);
    font-weight: 400;
    margin-bottom: 0;
}

p {
    color: var(--text-dark-gray);
}

button:focus,
button:active {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
    /* Some browsers like Firefox use box-shadow */
}

/* Layout Sections */
section {
    padding: 50px 0;
    position: relative;
}

@media (max-width: 768px) {
    #philosophy {
        padding-bottom: 0 !important;
    }

    section {
        padding: 25px 0;
    }
}



.navsocial {
    height: 25px;
    width: auto;
    margin-left: 45px;
}

@media (max-width: 768px) {
    .navsocial {
        margin-left: 0;
    }
}

#home {
    padding: 0 !important;
}

#car img {
    width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    word-break: break-all;
}

.navbar-brand img {
    height: 90px;
    width: auto;
}

@media (max-width: 768px) {
    .navbar-brand img {
        height: 50px;
    }
}

/* Header & Navbar */
/* .custom-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #333333;
    border-bottom: 1px solid var(--border-color);
    padding: 5px 0;
    backdrop-filter: blur(10px);
}

.custom-navbar {
    position: absolute;
    top: 100vh;
    top: 100svh;
}

.custom-navbar.sticky-nav {
    position: fixed;
    top: 0;
} */
/* 1. Base state: Absolute positioning */
.custom-navbar {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 900;
    background-color: #333333;
    border-bottom: 1px solid transparent;
    padding: 5px 0;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.custom-navbar.sticky-nav {
    position: fixed;
    background-color: #333333;
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

@media (min-width: 992px) {
    .navbar-expand-lg {
        flex-wrap: nowrap;
        justify-content: flex-start;
    }
}


#about,
#contact,
#error,
#impress {
    padding-top: 180px;
}

@media (max-width: 768px) {

    #about,
    #contact,
    #error,
    #impress {
        padding-top: 100px;
    }
}

.custom-navbar.scrolled {
    padding: 5px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.nav-link {
    color: var(--text-white) !important;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 400;
    text-transform: uppercase;
    padding: 0px 15px !important;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15px;
    right: 15px;
    height: 1px;
    background-color: var(--primary);
    transform: scaleX(0);
    transition: var(--transition);
}

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

/* Branding SVG Logo */
.brand-logo-svg {
    height: 60px;
    width: auto;
    transition: var(--transition);
}

.brand-logo-svg:hover {
    transform: scale(1.03);
}

/* Custom Buttons */
.btn-yellow {
    background-color: var(--primary);
    color: var(--bg-darker) !important;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    padding: 12px 30px;
    border-radius: 0;
    border: 1px solid var(--primary);
    transform: skewX(-10deg);
    transition: var(--transition);
}

.btn-yellow span {
    display: inline-block;
    transform: skewX(10deg);
}

.btn-yellow:hover {
    background-color: transparent;
    color: var(--primary) !important;
    box-shadow: 0 0 15px var(--border-glow);
}

.btn-outline-yellow {
    background-color: transparent;
    color: var(--primary) !important;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    padding: 12px 30px;
    border-radius: 0;
    border: 2px solid var(--primary);
    transform: skewX(-10deg);
    transition: var(--transition);
}

.btn-outline-yellow span {
    display: inline-block;
    transform: skewX(10deg);
}

.btn-outline-yellow:hover {
    background-color: var(--primary);
    color: var(--bg-darker) !important;
}

/* Hero Carousel / Slider */
.hero-slider-section {
    padding: 0;
    height: 100vh;
    min-height: 550px;
    position: relative;
    background-color: var(--bg-darker);
}

.hero-slide {
    height: 100vh;
    min-height: 550px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(13, 13, 13, 1) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 2%;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

.hero-title span {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-gray);
    margin-bottom: 35px;
    max-width: 650px;
}

/* Modern Card Layouts */
.premium-card {
    background-color: var(--bg-gray);
    color: var(--text-white);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 4px;
    position: relative;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-top: 3px solid var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.premium-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-glow);
    box-shadow: 0 10px 30px rgba(255, 230, 0, 0.05);
}

.premium-card:hover::before {
    transform: scaleX(1);
}

.premium-card p {
    color: var(--text-white);
}

.premium-card h3 {
    margin-bottom: 26px;
    font-size: 2rem;
}


.card-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--primary);
    font-weight: 700;
    /* position: absolute; */
    /* top: 20px;
    right: 30px;
    line-height: 1; */
    line-height: 1;
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

/* Alternating Grid (Leistungen) */
.service-row {
    align-items: center;
    margin-bottom: 80px;
}

.service-row:last-child {
    margin-bottom: 0;
}

/* .service-image-container {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
} */
@media (min-width: 992px) {
    .edge-image-col {
        /* Berechnet den genauen Abstand vom Container-Rand zum Bildschirmrand */
        margin-right: calc((100vw - 100%) / -2);
        width: calc(50% + (100vw - 100%) / 2) !important;
    }

    .edge-image-col img {
        height: 100% !important;
        min-height: 450px;
        /* Optionale Mindesthöhe, damit das Bild gut wirkt */
    }
}

.about-image-wrapper {
    max-width: 100vw;
    overflow: hidden;
}

.service-image {
    width: 100%;
    transition: var(--transition);
}

.service-row:hover .service-image {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .service-image-container {
        img {
            width: 100%;
            height: auto;
        }
    }
}

/* .service-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid transparent;
    transition: var(--transition);
}

.service-row:hover .service-image-container::after {
    border-color: var(--primary);
    box-shadow: inset 0 0 20px rgba(255, 230, 0, 0.2);
} */

/* Team Section */
.team-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.team-image-wrapper {
    overflow: hidden;
    position: relative;
}

.team-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: var(--transition);
}

.team-card:hover .team-image {
    transform: scale(1.05) rotate(1deg);
}

.team-info {
    padding: 20px;
    background-color: var(--bg-card);
    border-top: 2px solid var(--border-color);
    transition: var(--transition);
}

.team-card:hover .team-info {
    border-top-color: var(--primary);
}

.team-name {
    font-size: 1.35rem;
    margin-bottom: 5px;
}

.team-title {
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
}

/* Split Column Testimonials and Car Image Section */
#testimonials h1 {
    color: var(--primary);
}

#testimonials p,
.review-text-content {
    color: var(--text-white);
}

.split-image-col {
    position: relative;
}

.split-image-col::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.95) 100%); */
}

/* .testimonials-section {
    position: relative;
}

.testimonials-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.95) 100%);
} */

@media (max-width: 991.98px) {
    .split-image-col::before {
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.95) 100%);
    }
}

/* Custom Reviews Slider */
.reviews-slider-container {
    position: relative;
    width: 100%;
}

.reviews-viewport {
    overflow: hidden;
    width: 100%;
}

.reviews-track {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
}

.review-slide {
    flex: 0 0 100%;
    width: 100%;
    box-sizing: border-box;
}

.review-btn {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 0;
    position: relative;
}

.review-btn:hover:not(.disabled) {
    background-color: var(--primary);
    color: var(--bg-darker);
    box-shadow: 0 0 12px var(--border-glow);
}

.review-btn.disabled,
.review-btn[disabled] {
    opacity: 0.3;
    border-color: var(--text-gray);
    color: var(--text-gray);
    cursor: not-allowed;
}

/* Footer & Opening Hours */
.footer-section {
    background-color: #2b2b2b;
    /* border-top: 1px solid var(--border-color); */
    padding-top: 60px;
    padding-bottom: 60px;
    color: var(--text-white);
}

.footer-section p {
    color: var(--text-white);
}

.footer-section a {
    color: var(--text-white);
}

.footer-section a:hover {
    color: var(--primary);
}

.footer-heading {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--text-white);
    position: relative;
}

.footer-logo-box img {
    max-height: 100px;
    width: auto;
}

.footer-heading::after {
    /* content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary); */
}

.footer-logo-box {
    margin-bottom: 30px;
}

.opening-hours-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.opening-hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.opening-hours-list li:last-child {
    border-bottom: none;
}

.opening-hours-list .day {
    font-weight: 500;
}

.opening-hours-list .time {
    color: var(--primary);
}

.copyright-box {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 60px;
    padding-top: 30px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

/* --- Akkordeon Text-Animationen --- */
.toggle-text,
.toggle-image {
    /* Ermöglicht die flüssige Animation von Höhe, Abstand und Sichtbarkeit */
    transition: max-height 0.5s ease-in-out,
        margin-top 0.5s ease-in-out,
        opacity 0.5s ease-in-out;
}

/* Zustand: Geschlossen */
.toggle-text.opacity-0,
.toggle-image.opacity-0 {
    max-height: 0 !important;
    margin-top: 0 !important;
    opacity: 0 !important;
    pointer-events: none;
    /* Verhindert Interaktionen im geschlossenen Zustand */
}

/* Zustand: Geöffnet */
.toggle-text.opacity-100,
.toggle-image.opacity-100 {
    opacity: 1 !important;
}


/* --- Plus/Minus SVG-Animation (Vertikale Linie) --- */
.stroke-vertical {
    /* Setzt den Dreh- und Skalierungspunkt genau in die Mitte der Linie */
    transform-origin: center;
    transition: transform 0.3s ease-in-out;
}

/* Wenn geöffnet (.scale-y-0 wird vom JS gesetzt), wird die vertikale Linie unsichtbar skaliert */
.stroke-vertical.scale-y-0 {
    transform: scaleY(0);
}


/* --- Hilfsklassen (Falls nicht global in Bootstrap definiert) --- */
.cursor-pointer {
    cursor: pointer;
}

.transition-transform {
    transition: transform 0.3s ease-in-out;
}

.service-line {
    background: var(--bg-gray);
    opacity: 1;
    height: 1px;
}

.service-number {
    color: #000000;
    font-family: var(--font-heading);
}

/* -------------------------------------------
   BASIS-STYLING (TEAM)
------------------------------------------- */

.team-col .team-col-img-inner {
    position: relative;
    text-align: center;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Bild-Styling */
.team-col .team-col-img-inner img {
    height: auto;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

/* Overlay-Container (Standard: nach unten ausgeblendet) */
.team-col .team-col-img-inner .overlay {
    transition: 300ms ease-in-out;
    background-color: rgba(var(--bg-gray-rgb), .8);
    position: absolute;
    height: 120px;
    left: 0;
    bottom: -120px;
    right: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #ffffff;
}

/* Name innerhalb des Overlays */
.team-col .team-col-img-inner .overlay .name {
    font-size: 18px;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(30px);
    transition: 250ms 320ms linear;
}

/* Trennlinie innerhalb des Overlays */
.team-col .team-col-img-inner .overlay .line {
    width: 0px;
    max-width: 104px;
    height: 1px;
    background: var(--primary);
    margin: 10px 12px;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    transition: 250ms 320ms linear;
}

/* Titel innerhalb des Overlays */
.team-col .team-col-img-inner .overlay .title {
    opacity: 0;
    transform: translateY(-30px);
    transition: 250ms 320ms linear;
    font-size: 16px;
}

/* -------------------------------------------
   HOVER-EFFEKTE (Desktop)
------------------------------------------- */

.team-col .team-col-img-inner:hover .overlay {
    bottom: 0px;
}

.team-col .team-col-img-inner:hover .overlay .name {
    opacity: 1;
    transform: translateY(0);
}

.team-col .team-col-img-inner:hover .overlay .line {
    width: 104px;
}

.team-col .team-col-img-inner:hover .overlay .title {
    opacity: 1;
    transform: translateY(0);
}


.page-template-soon .navbar,
.page-template-soon .footer-section {
    display: none !important;
}

/* -------------------------------------------
   MOBILE ANPASSUNGEN 
   (Nutze hier den Wert deiner --small Variable, z.B. 768px)
------------------------------------------- */

@media screen and (max-width: --small) {
    .team-col .team-col-img-inner .overlay {
        bottom: 0px;
    }

    .team-col .team-col-img-inner .overlay .name {
        opacity: 1;
        transform: translateY(0);
    }

    .team-col .team-col-img-inner .overlay .line {
        width: 104px;
    }

    .team-col .team-col-img-inner .overlay .title {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar-toggler i {
    color: var(--primary);
}

/* Responsive Overrides */
@media (max-width: --medium) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    h2 {
        font-size: 2rem;
    }
}


/* --- New Fullscreen Slide-In Offcanvas Styles --- */

/* Custom background color matching your header */
.bg-dark-custom {
    background-color: #333333 !important;
}

@media (max-width: 991.98px) {

    /* Force the offcanvas container to fill 100% of the screen width */
    .offcanvas.offcanvas-start {
        width: 100% !important;
        border-right: none !important;
        transform: translateX(-100%);
        /* Slides in left-to-right */
        transition: transform 0.4s ease-in-out;
    }

    /* Vertical centering container alignment inside the drawer */
    .offcanvas-body {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 70vh;
        /* Keeps text within central focal boundaries */
    }

    /* Stack list items cleanly in mobile grid view */
    .offcanvas-body .navbar-nav {
        flex-direction: column;
        width: 100%;
        text-align: center;
        /* gap: 2rem !important; */
        /* Larger step spacing for touchscreen tabs */
    }

    /* Scale link text for fullscreen presentation */
    .offcanvas-body .nav-link {
        font-size: 1.75rem !important;
        padding: 5px 0 !important;
        display: inline-block;
    }

    /* Reposition link underline animations for mobile layouts */
    .nav-link::after {
        left: 0;
        right: 0;
    }

    .custom-navbar .offcanvas.offcanvas-start {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        height: 100vh !important;
        /* Explicitly forces full height */
        width: 100vw !important;
        /* Explicitly forces full width */
        z-index: 1050 !important;
        /* Elevates it above the main header bar elements */
    }

    /* Clear any inherited paddings from the wrapper body */
    .offcanvas-body {
        padding-top: 0 !important;
        padding-bottom: 50px !important;
        /* Visual cushion at the bottom */
    }
}

#scroll-to-top {
    background-color: rgba(56, 56, 56, .7);
    right: 0px;
    bottom: 80px;
    text-decoration: none;
    position: fixed;
    overflow: hidden;
    width: 38px;
    height: 38px;
    cursor: pointer;
    outline: 0;
    z-index: 999;
    text-align: center;
    border-radius: 0;
}

#scroll-to-top:before {
    font-family: 'FontAwesome';
    width: 100%;
    line-height: 38px;
    font-size: 28px;
    content: "\f106";
    color: var(--primary);
}

.social-mobile::before {
    content: "";
    height: 20px;
    top: 50%;
    transform: translate(0, -50%);
    width: 1px;
    background-color: #ffffff;
    position: absolute;
    margin-left: 15px;
}

@media (max-width: 768px) {
    .social-mobile::before {
        display: none !important;
    }
}


#impress a {
    font-weight: 600 !important;
    color: var(--text-dark-gray) !important;
}

#impress a:hover {
    color: var(--primary) !important;
}

.footer-opening-hours p:last-child {
    margin-bottom: 0 !important;
}






/* FORM */

/* Container für das Input-Feld */

/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

.contact-styled .nf-field {
    position: relative;
    width: 100%;
    margin-bottom: 25px;
}

.contact-styled .nf-field-container {
    margin-bottom: 0 !important;
}

/* Input-Feld mit nur unterem Rahmen */

.contact-styled .nf-field-element input:not([type="checkbox"]),
.contact-styled .nf-field-element textarea,
.nf-field-element select {
    width: 100%;
    padding: 10px 0 10px 0;
    font-size: 16px;
    border: none !important;
    background: transparent !important;
    outline: none !important;
    transition: border-color 0.3s ease;
    position: relative;
    appearance: none !important;
    /* Entfernt die Standard-Grafik */
    -webkit-appearance: none !important;
    /* Für Webkit-basierte Browser wie Safari */
    -moz-appearance: none !important;
    /* Für Firefox */
    --tw-text-opacity: 1 !important;
    color: rgb(51 58 80 / var(--tw-text-opacity, 1)) !important;
}

.contact-styled select {
    /* background-color: #C1CAE5 !important; */
    /* border-bottom: 1px solid #333A50 !important; */
}

/* Label-Positionierung */

.contact-styled .nf-field-label label {
    /* background: white !important; */
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
    pointer-events: none;
    font-size: 16px;
    color: #333A50 !important;
    z-index: 100;
    display: flex;
    /* height: 20px; */
}

.checkbox-wrap label {
    transition: none !important;
    transform: none !important;
    top: 0 !important;
}

.checkbox-wrap .nf-field-label label.nf-checked-label:before,
.checkbox-wrap .nf-field-label label.nf-checked-label:after {
    transition: none !important;
}

.custom-checkbox .nf-field-label label {}

/* Wenn das Eingabefeld fokussiert wird oder Text enthalten ist */

.contact-styled .nf-field-element input:not(:-moz-placeholder-shown) {
    /* border-bottom-color: #007bff !important; */
    border-bottom: 1px solid var(--text-gray) !important;
}

.contact-styled .nf-field-element input:not(:-moz-placeholder) {
    /* border-bottom-color: #007bff !important; */
    border-bottom: 1px solid var(--text-gray) !important;
}

.contact-styled .nf-field-element input:focus,
.contact-styled .nf-field-element input:not(:placeholder-shown) {
    /* border-bottom-color: #007bff !important; */
    border-bottom: 1px solid var(--text-gray) !important;
}

.contact-styled .nf-field-element textarea:not(:-moz-placeholder-shown) {
    /* border-bottom-color: #007bff !important; */
    border-bottom: 1px solid var(--text-gray) !important;
}

.contact-styled .nf-field-element textarea:not(:-moz-placeholder) {
    /* border-bottom-color: #007bff !important; */
    border-bottom: 1px solid var(--text-gray) !important;
}

.contact-styled .nf-field-element textarea:focus,
.contact-styled .nf-field-element textarea:not(:placeholder-shown) {
    /* border-bottom-color: #007bff !important; */
    border-bottom: 1px solid var(--text-gray) !important;
}

.contact-styled .nf-field-element select:not(:-moz-placeholder-shown) {
    /* border-bottom-color: #007bff !important; */
    border-bottom: 1px solid var(--text-gray) !important;
}

.contact-styled .nf-field-element select:not(:-moz-placeholder) {
    /* border-bottom-color: #007bff !important; */
    border-bottom: 1px solid var(--text-gray) !important;
}

.contact-styled .nf-field-element select:focus,
.contact-styled .nf-field-element select:not(:placeholder-shown) {
    /* border-bottom-color: #007bff !important; */
    border-bottom: 1px solid var(--text-gray) !important;
}

.contact-styled .ninja-forms-req-symbol {
    --tw-text-opacity: 1 !important;
    color: rgb(51 58 80 / var(--tw-text-opacity, 1)) !important;
}

.contact-styled .nf-field-label label {
    --tw-text-opacity: 1 !important;
    color: rgb(51 58 80 / var(--tw-text-opacity, 1)) !important;
    font-weight: 400;
}

.contact-styled .nf-input-limit {
    display: none !important;
}

.contact-styled .nf-error {
    font-size: 11px !important;
}

.contact-styled .nf-error .nf-field-description {
    font-size: 16px !important;
}

.contact-styled .nf-error-msg {
    position: relative;
    top: -7px !important;
    color: #6F010F !important;
}

.contact-styled textarea {
    /* width: 100%; Volle Breite */
    height: unset !important;
    /* Höhe wie ein normales Input-Feld */
    /* padding: 10px; */
    /* border: 1px solid #ccc; */
    /* border-radius: 4px; */
    /* font-size: 14px; */
    /* resize: none; Verhindert das manuelle Vergrößern */
    field-sizing: content !important;
}

.contact-styled textarea.expanded {
    height: auto !important;
    /* Höhe wird automatisch angepasst, wenn es sich ausdehnt */
}

/* Wenn das Eingabefeld fokussiert oder Text enthält, Label nach oben verschieben
.contact-styled .nf-field-element input:focus + .nf-field-label label,
.contact-styled .nf-field-element input:not(:placeholder-shown) + .nf-field-label label,
.contact-styled .nf-field-element input.floating + .nf-field-label label {
  top: -10px;
  font-size: 12px;
  color: #007bff;
} */

.checkbox-container {
    padding-top: 25px;
}

.checkbox-container .field-wrap {
    flex-wrap: unset !important;
    text-align: left !important;
}

.checkbox-container .field-wrap .nf-field-element {
    width: 20px !important;
    padding-left: 6px;
}

.checkbox-container .field-wrap .nf-field-label {
    /* width: 0; */
    position: relative;
    width: 20px !important;
    height: 20px;
}

.checkbox-container .field-wrap .nf-field-label label {
    /* top: 20px; */
    width: 20px;
    height: 20px;
    position: absolute !important;
    top: 10;
    left: 0;
    margin-left: 0 !important;
}

.checkbox-container .field-wrap .nf-field-description {
    padding-left: calc(2% + 8px) !important;
}

.nf-error-field-errors {
    display: none;
}

.checkbox-container input {
    width: 24px !important;
    height: 24px !important;
    left: -2px;
    position: absolute;
}

.ninja-forms-field[type="checkbox"] {
    opacity: 0 !important;
}

.checkbox-wrap .nf-field-label label:before {
    content: "" !important;
    position: absolute;
    left: 0 !important;
    top: 0px !important;
    width: 20px;
    height: 20px;
    /* border: 2px solid #000; */
    /* border-radius: 4px; */
    /* border: 2px solid #000; */
    background: var(--text-gray);
    box-sizing: border-box;
    transition: none !important;
    visibility: visible !important;
    opacity: 1 !important;
    /* position: absolute !important;
  content: "" !important;
  left: 2px !important;
  top: 2px;
  display: inline-block;
  width: 15px;
  height: 15px;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg fill='%23000000' height='800px' width='800px' version='1.1' id='Capa_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 490 490' xml:space='preserve'%3E%3Cpolygon points='452.253 28.326 197.831 394.674 29.044 256.875 0 292.469 207.253 461.674 490 54.528'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat; */
}

.checkbox-wrap .nf-field-label label:after {
    content: "" !important;
    position: absolute !important;
    left: 5px !important;
    top: 5px !important;
    width: 6px !important;
    height: 12px !important;
    border: solid #fff !important;
    border-width: 0 2px 2px 0 !important;
    transform: rotate(45deg) !important;
    z-index: 20 !important;
    background: none !important;
    visibility: hidden !important;
}

.checkbox-wrap .nf-field-label label.nf-checked-label::after {
    visibility: visible !important;
    /* content: "";
  position: absolute !important;
  left: 5px !important;
  top: 5px !important;
  width: 6px;
  height: 12px;
  border: solid #000;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  z-index: 20;
  background: none !important; */
}

.checkbox-wrap .nf-field-label label:after {
    top: 3px !important;
    position: absolute !important;
    left: 7px !important;
    transition: none !important;
}

.checkbox-wrap .nf-field-label {
    width: 20px !important;
}

.checkbox-wrap .nf-field-element {
    position: absolute;
}

.floating {
    top: 5px !important;
    font-size: 11px !important;
}

.ninja-forms-field.custom-select {
    padding-left: 0 !important;
}

/* Optional: Verhindert, dass der Platzhalter im Input bleibt */

.contact-styled .nf-field-element input::-moz-placeholder {
    color: transparent !important;
}

.contact-styled .nf-field-element input::placeholder {
    color: transparent !important;
}

.contact-styled .nf-field-element::after {
    content: '' !important;
    width: 0 !important;
    height: 0 !important;
}

.contact-styled .nf-error.field-wrap .nf-field-element:after {
    content: '' !important;
    width: 0 !important;
    height: 0 !important;
}

.contact-styled .nf-form-content input[type=submit] {
    background-color: var(--text-gray) !important;
    color: #fff !important;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    padding-left: 4.5rem;
    padding-right: 4.5rem;
    text-transform: uppercase;
    font-size: 0.875rem;
    line-height: 1.25rem;
    cursor: pointer;
    height: unset !important;
}

.contact-styled .nf-form-content input[type=submit]:hover {
    background-color: var(--text-gray) !important;
}

.contact-styled .nf-form-fields-required {
    display: none;
}

.custom-button .nf-field {
    display: flex;
    justify-content: end;
    padding-top: 20px;
}

/* FORM */










/* Loader Haupt-Container */
#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0a0a0a;
    /* Tiefschwarz */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* Inhalt zentrieren */
.loader-content {
    text-align: center;
    width: 320px;
}

/* Wrapper für das Auto und den Strahl */
.car-paint-wrapper {
    position: relative;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.car-svg {
    width: 100%;
    height: auto;
    display: block;
}

/* Der gelbe Lackier-Effekt (Stroke-Dash) */
.car-paint-path {
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    animation: drawCar 2.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* Der leuchtende Lackier-Strahl, der das Auto abfährt */
.spray-beam {
    position: absolute;
    top: 5%;
    height: 90%;
    width: 3px;
    background: linear-gradient(to bottom, transparent, #ffd700, #ffea00, transparent);
    box-shadow: 0 0 12px #ffd700, 0 0 4px #ffd700;
    animation: moveBeam 2.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* Text im sportlichen Stil deines Logos */
.loader-text {
    color: #ffd700;
    font-family: 'Arial Black', 'Impact', sans-serif;
    font-size: 0.95rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-style: italic;
    /* Kursiv wie im Logo */
    animation: pulseText 1.2s ease-in-out infinite alternate;
}

/* --- ANIMATIONEN --- */

/* Lässt die gelbe Lackschicht von links nach rechts entstehen */
@keyframes drawCar {
    0% {
        stroke-dashoffset: 600;
    }

    50% {
        stroke-dashoffset: 0;
    }

    100% {
        stroke-dashoffset: -600;
    }
}

/* Bewegt den Lackierstrahl exakt synchron mit dem Lack-Effekt */
@keyframes moveBeam {
    0% {
        left: 5%;
        opacity: 0;
    }

    5% {
        opacity: 1;
    }

    45% {
        opacity: 1;
    }

    50% {
        left: 90%;
        opacity: 0;
    }

    55% {
        opacity: 0;
    }

    100% {
        left: 5%;
        opacity: 0;
    }
}

/* Pulsierender Text */
@keyframes pulseText {
    0% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

/* Loader ausblenden */
#page-loader.loaded {
    opacity: 0;
    visibility: hidden;
}

/* Styling der neuen Team-Buttons */
/* Team Buttons - Identisch mit Review Buttons */
.team-btn {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 0;
    position: relative;
}

/* Hover-Effekt (nur wenn nicht deaktiviert) */
.team-btn:hover:not(.disabled) {
    background-color: var(--primary);
    color: var(--bg-darker);
    box-shadow: 0 0 12px var(--border-glow);
}

/* Deaktivierter Zustand am Anfang und Ende des Karussells */
.team-btn.disabled,
.team-btn[disabled] {
    opacity: 0.3;
    border-color: var(--text-gray);
    color: var(--text-gray);
    cursor: not-allowed;
}


/* Container und Viewport für das Team */
.team-slider-container {
    position: relative;
    width: 100%;
}

@media (max-width: 767.98px) {
    .team-viewport {
        overflow: hidden;
        width: 100%;
    }

    /* Der Track nutzt die volle Breite ohne Padding-Fehler */
    .team-track {
        display: flex !important;
        flex-wrap: nowrap !important;
        transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
        width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Verwende 100% statt 100vw, um Berechnungsfehler zu vermeiden */
    .team-slide {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 0 !important;
        /* Entfernt das störende Bootstrap-Spalten-Padding */
        padding-right: 0 !important;
        box-sizing: border-box;
    }

    /* Das Bild füllt nun exakt die zentrierte Spalte aus */
    .team-slide img {
        width: 100% !important;
        height: auto !important;
        object-fit: cover;
    }
}