/* ==========================================================================
   Self-Hosted Web Fonts (GDPR Compliant)
   ========================================================================== */

/* inter-regular */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/inter-v20-latin-400.woff2') format('woff2');
}
/* inter-600 */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/inter-v20-latin-600.woff2') format('woff2');
}
/* inter-700 */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/inter-v20-latin-700.woff2') format('woff2');
}

/* montserrat-800 */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('../fonts/montserrat-v31-latin-800.woff2') format('woff2');
}
/* montserrat-900 */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url('../fonts/montserrat-v31-latin-900.woff2') format('woff2');
}

/* nothing-you-could-do-regular */
@font-face {
    font-family: 'Nothing You Could Do';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/nothing-you-could-do-v21-latin-400.woff2') format('woff2');
}

:root {
    --fs-display: clamp(2.2rem, 5vw, 3rem);
    --fs-h1: clamp(1.8rem, 4vw, 2.2rem);
    --fs-h2: clamp(1.3rem, 3vw, 1.5rem);
    --fs-body: 1rem;
    --fs-small: 0.85rem;

    --fw-bold: 700;
    --fw-medium: 600;
    --fw-regular: 400;
    --color-primary-dark: #0f172a;
    --color-bg-darker: #ffffff;
    --color-bg-lighter: #f8fafc;
    --color-primary-blue: #3E6398;
    --color-accent-blue: #5c84be;
    --color-text-light: #334155;
    --color-text-dark: #0f172a;
    --transition-speed: 0.3s;
    --font-main: 'Inter', sans-serif;
    --color-bg-alt: #f1f5f9;
    --bg-blend-color: rgba(62, 99, 152, 0.45);
    --bg-blend-mode: luminosity;

    /* Background Image Opacity and Filter settings */
    --bg-image-filter: opacity(28%) saturate(1.1) contrast(1.05);

    /* Dot Pattern Settings */
    --dot-color: rgba(62, 99, 152, 0.05);
    --dot-size: 1.2px;
    --dot-spacing: 26px;
    --dot-pattern: radial-gradient(var(--dot-color) var(--dot-size), transparent var(--dot-size));

    /* Card background colors for transparency (easily maintainable) */
    --card-bg-light: rgba(255, 255, 255, 0.85);
    --card-bg-dark: rgba(0, 0, 0, 0.85);

    /* Section Background Images (easily maintainable) */
    --bg-image-about: url('../pics/1.jpeg');
    --bg-image-leistungen: url('../pics/8.jpeg');
    --bg-image-adr: url('../pics/6.jpeg');
    --bg-image-kontakt: url('../pics/9.jpeg');

    /* Hero Video Darkening (easily adjust opacity here) */
    --hero-video-darkening: rgba(15, 23, 42, 0.38);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    font-family: var(--font-main);
    color: var(--color-text-light);
    background-color: var(--color-bg-darker);
    background-image: none;
    scroll-behavior: smooth;

    /* Normal Scrolling */
    overflow-x: hidden;
}

.scroll-container {
    width: 100%;
}

.scroll-section {
    min-height: auto;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 5.5rem 0 4.5rem 0;
    scroll-margin-top: 110px; /* Verhindert das Verdecken der Sektionstitel durch das fixierte Menü */
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

#ueber-uns {
    padding-bottom: 0.5rem;
}

#meilensteine {
    padding-top: 1.5rem;
}

h1,
h2,
h3,
h4 {
    font-family: 'Inter', sans-serif;
    font-weight: var(--fw-bold);
    margin-bottom: 1rem;
    line-height: 1.2;
    color: var(--color-text-dark);
    letter-spacing: -0.02em;
}

h1 {
    font-size: var(--fs-display);
}

h2 {
    font-size: var(--fs-h1);
    color: var(--color-text-dark);
}

p {
    font-size: var(--fs-body);
    line-height: 1.7;
    color: #475569;
    margin-bottom: 1rem;
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    z-index: 2;
    position: relative;
}

/* Boxed Content Sections */
/* Die .section-content-box nutzt nun die volle Breite der .container-Klasse (1400px), 
   sodass sie exakt bÃ¼ndig mit dem Logo in der Navigation ist. */

/* Typography & Utilities */
.text-content {
    max-width: 1000px;
}

.text-content p {
    text-align: justify;
}

.divider {
    height: 2px;
    width: 50px;
    background-color: var(--color-primary-blue);
    margin-bottom: 2rem;
    border-radius: 1px;
}

.btn-primary {
    display: inline-block;
    background-color: var(--color-primary-blue);
    color: #fff;
    padding: 1.1rem 2.2rem;
    border-radius: 6px;
    font-size: var(--fs-body);
    font-weight: var(--fw-bold);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    transition: background-color var(--transition-speed), transform var(--transition-speed), box-shadow var(--transition-speed);
    cursor: pointer;
    border: none;
}

.btn-primary:hover {
    background-color: var(--color-accent-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(62, 99, 152, 0.25);
}

.w-100 {
    width: 100%;
}

.mt-4 {
    margin-top: 2rem;
}

/* Navigation */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all var(--transition-speed) ease;
    padding: 1.5rem 0;
    background: transparent;
    border-bottom: none;
}

#navbar.scrolled {
    padding: 1.2rem 0;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.nav-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all var(--transition-speed) ease;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 0;
}

#navbar.scrolled .nav-container {
    background: transparent;
    box-shadow: none;
    border: none;
}

.logo {
    height: 50px;
    transition: transform var(--transition-speed);
}

.nav-links {
    display: flex;
    align-items: center;
    flex-grow: 1;
    justify-content: space-between;
    margin-left: 3rem;
    flex-wrap: nowrap;
}

.nav-links li {
    display: flex;
    align-items: center;
}

.nav-links a {
    color: #000000;
    font-weight: var(--fw-medium);
    font-size: var(--fs-small);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.5rem 0.7rem;
    border-radius: 6px;
    background: transparent;
    white-space: nowrap;
    transition: all var(--transition-speed) ease;
}

.nav-links a:hover:not(.nav-cta),
.nav-links a.active:not(.nav-cta) {
    color: var(--color-primary-blue) !important;
    background-color: rgba(62, 99, 152, 0.08) !important;
}

.nav-cta {
    background: var(--color-primary-blue) !important;
    color: #fff !important;
    padding: 0.6rem 1.2rem !important;
    border-radius: 6px !important; /* Abgerundete Ecken an die restlichen Buttons angepasst (zuvor 99px) */
    box-shadow: 0 4px 15px rgba(62, 99, 152, 0.2);
    margin-left: 0.5rem;
}

.nav-cta:hover {
    background: var(--color-accent-blue) !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(62, 99, 152, 0.3);
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: #000000;
    cursor: pointer;
    transition: color var(--transition-speed) ease;
}

.dark-bg {
    background-color: #ffffff;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.dark-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)),
        url('../img/LKW-CG.png');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    filter: blur(3px);
    transform: scale(1.03);
    z-index: -1;

    pointer-events: none;
}

#ueber-uns::before {
    background-image: var(--bg-image-about);
    background-color: var(--bg-blend-color);
    background-blend-mode: var(--bg-blend-mode);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    filter: var(--bg-image-filter);
    transform: none;
}

#ueber-uns::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to bottom, var(--color-bg-darker) 0%, transparent 15%, transparent 85%, var(--color-bg-alt) 100%),
        var(--dot-pattern);
    background-size: auto, var(--dot-spacing) var(--dot-spacing);
    z-index: 1;
    pointer-events: none;
}


.bg-shape {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, var(--color-primary-blue) 0%, transparent 70%);
    opacity: 0.05;
    z-index: 0;
}

.shape-1 {
    width: 600px;
    height: 600px;
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 800px;
    height: 800px;
    bottom: -200px;
    left: -200px;
}

/* Hero Section */
#hero {
    position: relative;
    background-color: var(--color-bg-darker);
    background-image: none;
    padding: 0;
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    min-height: 100svh; /* Video füllt immer den gesamten Bildschirm */
}

.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
    filter: brightness(1.02) contrast(1.04) saturate(1.0); /* Helligkeit erhöht für ein strahlenderes, klares Bild */
    /* Verhindert helle Ränder an den Bildschirmkanten und schneidet Wasserzeichen ab */
    transform: scale(1.08);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        /* 1. Weißer Verlauf oben für die Lesbarkeit der dunklen Navigation */
        linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.4) 15%, transparent 45%),
        /* 2. Einstellbare Abdunklung für das Video (zur besseren Lesbarkeit des Textes) */
        linear-gradient(0deg, var(--hero-video-darkening), var(--hero-video-darkening)),
        /* 3. Corporate Blue Verlauf von unten für einen harmonischen Übergang in die weiße Sektion */
        linear-gradient(0deg, rgba(62, 99, 152, 0.18) 0%, transparent 60%),
        /* 4. Feine horizontale Kino-Scanlines für eine edle Videotextur */
        linear-gradient(rgba(255, 255, 255, 0.03) 50%, rgba(15, 23, 42, 0.04) 50%);
    background-size: 100% 100%, 100% 100%, 100% 100%, 100% 4px;
    z-index: 1;
}

/* Hero Branding Content */
.hero-brand-wrapper {
    position: absolute;
    top: 43%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    pointer-events: none;
    width: 100%;
}

.hero-brand-content {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Typography Title Group */
.hero-title-group {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 0.5rem;
    width: 100%;
}

.hero-script-word {
    display: inline-block;
    position: relative;
    top: 0;
    left: -0.4rem;
    font-family: 'Nothing You Could Do', cursive;
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    color: #ffffff;
    z-index: 3;
    transform: rotate(-10deg);
    margin-bottom: 0.15rem;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    opacity: 0;
    animation: heroScriptFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

.hero-main-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(3.2rem, 10vw, 7rem);
    font-weight: 900;
    line-height: 0.85;
    margin: 0;
    color: #ffffff;
    letter-spacing: -0.01em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
    opacity: 0;
    animation: heroTitleFadeIn 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
}

.hero-sub-title-blue {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.05rem, 6.35vw, 4.45rem);
    font-weight: 900;
    line-height: 0.95;
    margin: 0;
    color: #5c84be; /* corporate accent blue */
    letter-spacing: -0.01em;
    text-transform: uppercase;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
    opacity: 0;
    animation: heroTitleFadeIn 1.4s cubic-bezier(0.16, 1, 0.3, 1) 1s forwards;
}

.hero-divider {
    height: 1.5px;
    width: 100%;
    max-width: 580px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.2) 60%, rgba(255, 255, 255, 0) 100%);
    margin: 1.8rem 0;
    transform: scaleX(0);
    transform-origin: left center;
    animation: heroDividerGrow 1.5s cubic-bezier(0.16, 1, 0.3, 1) 1.2s forwards;
}

.hero-tagline {
    font-family: var(--font-main);
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 600;
    color: #ffffff;
    line-height: 1.5;
    margin-bottom: 3.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
    opacity: 0;
    transform: translateY(15px);
    animation: heroContentFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 1.4s forwards;
}

/* Responsive features row */
.hero-features-row {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    margin-top: 1rem;
    opacity: 0;
    transform: translateY(20px);
    animation: heroContentFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 1.6s forwards;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    flex: 1 1 0px;
    padding: 0 1.2rem;
    border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-feature-icon {
    color: #ffffff;
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    margin-right: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
}

.hero-feature-text {
    display: flex;
    flex-direction: column;
}

.hero-feature-text .line-primary {
    color: #ffffff;
    font-size: clamp(0.7rem, 1.5vw, 0.85rem);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-feature-text .line-secondary {
    color: rgba(255, 255, 255, 0.7);
    font-size: clamp(0.65rem, 1.3vw, 0.8rem);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: 1px;
}

/* Animations */
@keyframes heroScriptFadeIn {
    from {
        opacity: 0;
        transform: rotate(-15deg) scale(0.85);
    }
    to {
        opacity: 1;
        transform: rotate(-10deg) scale(1);
    }
}

@keyframes heroTitleFadeIn {
    from {
        opacity: 0;
        filter: blur(8px);
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0);
    }
}

@keyframes heroDividerGrow {
    to {
        transform: scaleX(1);
    }
}

@keyframes heroContentFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Media Queries for Hero section */
@media (max-width: 992px) {
    .hero-features-row {
        flex-wrap: wrap;
        gap: 1.5rem 0;
    }
    .hero-feature-item {
        flex: 0 0 50%;
        padding: 0 1rem;
    }
}

@media (max-width: 576px) {
    .hero-brand-wrapper {
        top: 46%;
    }
    .hero-divider {
        margin: 1.5rem 0;
    }
    .hero-tagline {
        margin-bottom: 2.2rem;
    }
    .hero-features-row {
        gap: 1.2rem 0;
    }
    .hero-feature-item {
        flex: 0 0 100%;
        padding: 0 0.5rem;
        border-left: 2px solid rgba(255, 255, 255, 0.25);
    }
    .hero-script-word {
        top: 0;
        left: -0.2rem;
        margin-bottom: 0.05rem;
    }
}


/* Scroll Indicator */
.scroll-indicator-container {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: auto;
}

.scroll-indicator-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.scroll-indicator-wrapper:hover {
    opacity: 1;
}

.scroll-indicator-wrapper:hover .scroll-indicator-line {
    background-color: rgba(255, 255, 255, 0.4);
}

.scroll-text {
    font-size: 0.75rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
}

.scroll-indicator-line {
    width: 2px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    position: relative;
    display: block;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.scroll-indicator-line:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.scroll-indicator-dot {
    width: 2px;
    height: 20px;
    background-color: #ffffff;
    position: absolute;
    top: -20px;
    left: 0;
    animation: scrollLineAnim 2s infinite cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes scrollLineAnim {
    0% {
        top: -20px;
        height: 0;
    }

    30% {
        top: 0;
        height: 20px;
    }

    60% {
        top: 30px;
        height: 20px;
    }

    100% {
        top: 50px;
        height: 0;
    }
}

.text-left {
    text-align: left;
}


/* Philosophie area */
.quote-box {
    background-color: #ffffff;
    padding: 3rem;
    border-left: 4px solid var(--color-primary-blue);
    border-radius: 0 8px 8px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-left: 4px solid var(--color-primary-blue);
    position: relative;
    overflow: hidden;
}

.quote-icon {
    position: absolute;
    font-size: 8rem;
    color: rgba(112, 161, 224, 0.05);
    top: -10px;
    right: 20px;
    z-index: 0;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #ffffff;
    padding: 3rem 2.5rem;
    border-radius: 0;
    border: 1px solid rgba(15, 23, 42, 0.05);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.service-card p {
    flex-grow: 1;
    color: #475569;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -10px rgba(112, 161, 224, 0.15);
    border-color: rgba(112, 161, 224, 0.3);
}

.service-icon {
    font-size: 1.8rem;
    color: var(--color-primary-blue);
    background: rgba(112, 161, 224, 0.08);
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.8rem;
    transition: all 0.3s ease;
}



#leistungen {
    position: relative;
    background: transparent;
}

#leistungen::before {
    content: "";
    position: absolute;
    top: -44px;
    right: 0;
    bottom: -44px;
    left: 0;
    background-image: var(--bg-image-leistungen);
    background-color: var(--bg-blend-color);
    background-blend-mode: var(--bg-blend-mode);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    filter: var(--bg-image-filter);
    transform: none;
    pointer-events: none;
    z-index: 0;
}

#leistungen::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to bottom, var(--color-bg-alt) 0%, transparent 15%, transparent 85%, var(--color-bg-alt) 100%),
        var(--dot-pattern);
    background-size: auto, var(--dot-spacing) var(--dot-spacing);
    z-index: 1;
    pointer-events: none;
}

#leistungen .container {
    position: relative;
    z-index: 2;
}

#leistungen .section-header h2 {
    color: var(--color-text-dark);
}

#leistungen .section-header .divider {
    background: linear-gradient(90deg, var(--color-primary-blue) 0%, var(--color-accent-blue) 100%);
}

#leistungen .section-intro {
    color: var(--color-text-light);
}

#leistungen .service-card {
    background: #ffffff;
    border: 1px solid rgba(62, 99, 152, 0.1);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

#leistungen .service-card:hover {
    box-shadow: 0 18px 40px rgba(62, 99, 152, 0.08);
    border-color: var(--color-accent-blue);
}

.read-more {
    font-weight: var(--fw-bold);
    color: var(--color-primary-blue);
    display: inline-block;
    margin-top: 1rem;
    text-transform: uppercase;
    font-size: var(--fs-small);
    letter-spacing: 1px;
}

.read-more i {
    transition: transform 0.3s;
}

.read-more:hover i {
    transform: translateX(5px);
}

/* Timeline */
.timeline-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.timeline {
    --timeline-progress: 18%;
    position: relative;
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 2.25rem 0.5rem 1rem;
    align-items: stretch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}

.timeline::-webkit-scrollbar {
    display: none;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 0.95rem;
    left: 0.5rem;
    right: 0.5rem;
    height: 1px;
    background: linear-gradient(90deg, rgba(62, 99, 152, 0.08) 0%, rgba(62, 99, 152, 0.28) 18%, rgba(62, 99, 152, 0.28) 82%, rgba(62, 99, 152, 0.08) 100%);
    z-index: 0;
}

.timeline::after {
    content: "";
    position: absolute;
    top: 0.95rem;
    left: 0.5rem;
    width: min(var(--timeline-progress), calc(100% - 1rem));
    height: 1px;
    background: linear-gradient(90deg, rgba(112, 161, 224, 0.2) 0%, rgba(62, 99, 152, 0.92) 100%);
    z-index: 1;
}

.timeline-item {
    flex: 0 0 calc((100% - 4rem) / 3);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 0;
    scroll-snap-align: center;
    position: relative;
    z-index: 2;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.timeline-item::before {
    content: none;
}

.timeline-marker {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0 0 0 1.8rem;
    min-height: 6.2rem;
    justify-content: flex-start;
    z-index: 3;
}

.timeline-marker::before {
    content: "";
    position: absolute;
    left: 0.45rem;
    top: 0.5rem;
    width: 0.9rem;
    height: 0.9rem;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid var(--color-primary-blue);
    box-shadow: 0 0 0 8px rgba(62, 99, 152, 0.16);
    transform: translate(-50%, -50%);
    transition: transform 0.35s ease, box-shadow 0.35s ease, background-color 0.35s ease;
}

.timeline-index {
    display: none;
    align-items: center;
    width: fit-content;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    background: rgba(62, 99, 152, 0.08);
    color: var(--color-primary-blue);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    font-weight: var(--fw-bold);
}

.timeline-year {
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    line-height: 0.95;
    font-weight: var(--fw-bold);
    color: var(--color-text-dark);
    letter-spacing: -0.04em;
    text-transform: uppercase;
}

.timeline-phase {
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #64748b;
    font-weight: var(--fw-bold);
}

.timeline-content {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding: 1.6rem 1.6rem 1.7rem;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.045);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, background-color 0.35s ease;
    min-height: 14.5rem;
}

.timeline-content h3 {
    margin-bottom: 0;
    font-size: 1.2rem;
}

.timeline-content p {
    margin-bottom: 0;
    color: #475569;
}

/* Fleet */
.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.fleet-image-container {
    width: 100%;
    height: 180px; /* fixed height for consistent card sizing */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8fafc; /* clean light-blue/grey background */
    margin-bottom: 1.5rem;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(62, 99, 152, 0.05);
}

.fleet-image {
    max-width: 95%;
    max-height: 90%;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.fleet-card:hover .fleet-image {
    transform: scale(1.06); /* smooth zoom on card hover */
}

.fleet-image-container .badge-new {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #ef4444;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    z-index: 2;
    letter-spacing: 0.5px;
}

.fleet-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 0;
    border: 1px solid rgba(62, 99, 152, 0.1);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03);
    transition: all 0.4s ease;
}

.fleet-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(62, 99, 152, 0.08);
    border-color: var(--color-accent-blue);
}

.fleet-card-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1rem;
}

.fleet-icon {
    font-size: var(--fs-h1);
    color: var(--color-primary-blue);
}

.fleet-description {
    font-size: var(--fs-small);
    color: var(--color-text-light);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.fleet-subline {
    font-size: var(--fs-small);
    color: var(--color-text-light);
    margin-bottom: 0;
}

.fleet-meta {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.fleet-meta li {
    font-size: var(--fs-small);
    display: flex;
    justify-content: space-between;
    text-align: right;
    align-items: baseline;
    gap: 1rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    padding-bottom: 0.5rem;
}

.fleet-meta li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.fleet-meta span {
    font-weight: var(--fw-bold);
    color: var(--color-text-dark);
    min-width: 120px;
    text-align: left;
    flex-shrink: 0;
}

.fleet-note {
    margin-top: 2.5rem;
    font-size: var(--fs-body);
    color: var(--color-text-light);
    max-width: 900px;
}


/* Floating containers */
.floating-left {
    position: fixed;
    left: 2rem;
    bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    z-index: 1500;
}

.floating-right {
    position: fixed;
    right: 2rem;
    bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    z-index: 1500;
}

.contact-fab {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 20px;
    background: linear-gradient(135deg, #70a1e0, #3E6398);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 18px 45px rgba(62, 99, 152, 0.45);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.contact-fab::after {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: inherit;
    border: 2px solid rgba(62, 99, 152, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: fab-pulse 2.6s infinite;
}

.contact-fab:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 55px rgba(62, 99, 152, 0.55);
}

#back-to-top {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: none;
    outline: none;
    background: var(--color-bg-lighter);
    color: var(--color-primary-blue);
}

#back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.contact-fab:hover::after {
    opacity: 1;
}

@keyframes fab-pulse {
    0% {
        transform: scale(0.85);
        opacity: 0.5;
    }

    70% {
        transform: scale(1.15);
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

/* ADR Flex */
.flex-img-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.adr-badge {
    background: var(--color-bg-lighter);
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 4rem;
    color: #FFA500;
    box-shadow: 0 0 40px rgba(255, 165, 0, 0.1);
    border: 2px dashed #FFA500;
}

.adr-image {
    max-width: 400px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.3));
    transition: transform var(--transition-speed);
}

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

/* Kontakt & Footer combined section */
.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.2fr 1.4fr;
    gap: 3rem;
    align-items: stretch;
}

.contact-info-card {
    height: 100%;
    position: relative;
    padding: 2.5rem;
    background-color: var(--card-bg-light);
    background-image: var(--glass-noise);
    border: 1px solid rgba(62, 99, 152, 0.12);
    border-left: 6px solid var(--color-primary-blue);
    border-radius: 0;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.05);
    overflow: hidden;
    color: var(--color-text-dark);
}

.contact-info-card .section-header h2 {
    color: var(--color-text-dark) !important;
}

.contact-info-card .section-header .divider {
    background: linear-gradient(90deg, var(--color-primary-blue) 0%, var(--color-accent-blue) 100%) !important;
}

.contact-info-card h3 {
    color: var(--color-text-dark) !important;
}

.contact-info-card .contact-list li,
.contact-info-card .contact-list a {
    color: var(--color-text-light) !important;
}

.contact-info-card .contact-list i {
    color: var(--color-primary-blue) !important;
}

.contact-info-card .contact-list a:hover {
    color: var(--color-primary-blue) !important;
    text-decoration: underline;
}

.contact-info-card .doc-link {
    background-color: rgba(62, 99, 152, 0.06) !important;
    border: 1px solid rgba(62, 99, 152, 0.12) !important;
    color: var(--color-primary-blue) !important;
}

.contact-info-card .doc-link:hover {
    background-color: var(--color-primary-blue) !important;
    color: #ffffff !important;
}

.contact-list li {
    font-size: var(--fs-body);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #475569;
}

.contact-list i {
    color: var(--color-primary-blue);
    font-size: 1.5rem;
    width: 30px;
}

.contact-list a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

.contact-list a:hover {
    color: var(--color-primary-blue);
}

.doc-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(112, 161, 224, 0.1);
    border-radius: 4px;
    margin-right: 1rem;
    transition: all 0.3s;
    color: var(--color-primary-blue);
    font-weight: var(--fw-medium);
}

.doc-link:hover {
    background-color: var(--color-primary-blue);
    color: #fff;
}

.contact-form {
    background-color: #ffffff;
    padding: 2.5rem;
    border-radius: 0;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.06);
    height: 100%;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background-color: #f8fafc;
    background-image: none;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    color: #0f172a;
    font-family: var(--font-main);
    transition: all 0.3s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(15, 23, 42, 0.4);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-primary-blue);
    outline: none;
    background-color: #ffffff;
}

.footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem 0;
    background-color: #f1f5f9;
    border-top: 1px solid #e2e8f0;
    text-align: center;
    color: #475569;
}

.footer-three-cols {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
}

.footer-col {
    display: flex;
    align-items: center;
}

.footer-col-left {
    justify-content: flex-start;
    color: #64748b;
    font-size: var(--fs-small);
}

.footer-col-center {
    justify-content: center;
    gap: 0.6rem;
    color: #64748b;
    font-size: var(--fs-small);
}

.footer-col-right {
    justify-content: flex-end;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: #64748b;
    transition: color 0.3s;
    font-size: var(--fs-small);
}

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

.footer-credit-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo {
    height: 38px; /* larger logo size */
    width: auto;
    display: block;
    transition: opacity 0.3s ease;
    opacity: 0.85;
}

.footer-credit-link:hover .footer-logo {
    opacity: 1;
}

@media (max-width: 768px) {
    .footer-three-cols {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.2rem;
    }
    .footer-col {
        justify-content: center;
    }
}

/* Animations */
.fade-up {
    opacity: 1;
    transform: none;
    transition: none;
}

.fade-up.visible {
    opacity: 1;
    transform: none;
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.check-list {
    list-style: none;
    padding: 0;
}

.check-list li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.check-list i {
    color: var(--color-primary-blue);
}



.fleet-image-container {
    position: relative;
    width: 100%;
    margin-bottom: 1rem;
    overflow: hidden;
    border-radius: 8px;
}

.fleet-image-container .fleet-image {
    margin-bottom: 0;
}

.fleet-image {
    width: 100%;
    height: 200px;
    object-fit: contain;
    background-color: #ffffff;
    padding: 0.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: transform var(--transition-speed) ease;
}

.fleet-image-container:hover .fleet-image {
    transform: scale(1.05);
}

.badge-new {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #e12828;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: var(--fw-bold);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    letter-spacing: 0.8px;
    box-shadow: 0 4px 10px rgba(225, 40, 40, 0.4);
    z-index: 5;
    text-transform: uppercase;
}

/* Responsive Media Queries */
/* --- CLEAN RESPONSIVE LAYER --- */

@media (max-width: 1200px) {

    /* Navigation Overhaul */
    #navbar {
        padding: 0.8rem 0;
    }

    .nav-container {
        width: 92%;
        padding: 0.6rem 1.2rem;
        border-radius: 20px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .logo {
        height: 35px;
        /* Scaled down for mobile */
        width: auto;
    }

    .logo-link {
        position: relative;
        z-index: 2001;
    }

    .mobile-menu-toggle {
        display: block;
        color: inherit;
        font-size: 1.5rem;
        padding: 0.5rem;
        position: relative;
        z-index: 2001;
    }

    .nav-links.active+.mobile-menu-toggle {
        color: var(--color-text-dark) !important;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 3rem 2rem;
        border-radius: 0;
        box-shadow: none;
        margin-left: 0;
        z-index: 2000;
        gap: 1.2rem;
        overflow-y: auto;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0;
    }

    .nav-links li:not(:last-child)::after {
        display: none;
    }

    .nav-links a {
        display: inline-block;
        width: auto;
        text-align: center;
        padding: 0.6rem 1.8rem;
        font-size: 1.3rem;
        border-bottom: none;
        color: var(--color-text-dark) !important;
    }

    .nav-links a:hover:not(.nav-cta),
    .nav-links a.active:not(.nav-cta) {
        color: var(--color-primary-blue) !important;
        background-color: rgba(62, 99, 152, 0.08) !important;
    }

    .nav-cta {
        margin-left: 0 !important;
        margin-top: 1rem;
        width: auto !important;
        display: inline-block !important;
        text-align: center !important;
        padding: 0.8rem 2.2rem !important;
        color: #ffffff !important;
    }

    /* Grid Adjustments */
    .two-columns,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .flex-img-content {
        margin-top: 2rem;
    }

    /* Hero Section Mobile Center */
    .hero-content {
        justify-content: center;
        padding: 0 1.5rem;
        align-items: center;
        padding-bottom: 0;
    }

    .hero-box {
        position: relative;
        bottom: auto;
        left: auto;
        width: 100%;
        background: rgba(255, 255, 255, 0.45);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border-radius: 12px;
        padding: 2.5rem 1.5rem;
        margin: 0 auto;
        align-items: center;
        text-align: center;
    }

    .hero-box * {
        text-align: center;
    }

    .hero-text {
        text-align: center;
    }

    .hero-actions {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .btn-primary {
        white-space: normal;
        /* Textumbruch erlauben */
        text-align: center;
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
        /* Leicht verkleinern fÃ¼r extrem lange Texte */
        line-height: 1.4;
    }

    /* Section Spacing */
    .scroll-section {
        padding: 5rem 0 3rem 0;
        min-height: auto;
    }

    #hero.scroll-section {
        min-height: 100svh;
        /* Volle HÃ¶he auch mobil */
        padding: 0;
        /* Padding entfernen fÃ¼r perfekte Zentrierung */
        display: flex;
        align-items: center;
    }

    .hero-slogan-floating {
        font-size: 2.4rem;
        letter-spacing: 6px;
    }

    .hero-slogan-container {
        top: 18%;
    }
}

@media (max-width: 768px) {
    .video-bg {
        object-position: 18% center;
        transform: scale(1.02);
    }

    /* Service & Fleet Grids */
    .services-grid,
    .fleet-grid {
        grid-template-columns: 1fr;
    }

    /* Timeline Optimization */
    .timeline-item {
        flex: 0 0 85%;
    }

    .hero-slogan-floating {
        font-size: 1.8rem;
        letter-spacing: 4px;
    }

    .hero-slogan-container {
        top: 18%;
    }

    /* Contact & Footer Stacking */
    #kontakt.scroll-section {
        display: block;
        /* Flex-Zentrierung aufheben fÃ¼r sauberen Fluss */
        padding-top: 6rem;
    }

    .contact-grid {
        display: flex;
        flex-direction: column;
        gap: 3rem;
    }

    .footer {
        position: static;
        width: 100%;
        padding: 4rem 0 6rem 0;
        background-color: #f1f5f9;
        border-top: 1px solid #e2e8f0;
        margin-top: 4rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-links {
        display: flex;
        justify-content: center;
        gap: 2rem;
    }

    .footer-links a {
        margin-left: 0 !important;
        font-size: 0.9rem;
    }

    /* Floating Buttons positioning */
    .floating-left,
    .floating-right {
        bottom: 1rem;
    }

    .floating-left {
        left: 1rem;
    }

    .floating-right {
        right: 1rem;
    }

    .contact-fab {
        width: 54px;
        height: 54px;
        border-radius: 16px;
    }
}

@media (max-width: 480px) {
    .video-bg {
        object-position: 14% center;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-box {
        padding: 2rem 1rem;
    }

    .floating-left {
        flex-direction: row;
    }
}

.text-center {
    text-align: center;
}

/* About Us & Philosophy Styling */
.align-start {
    align-items: stretch;
}

.about-content h3 {
    font-size: var(--fs-h2);
    color: var(--color-primary-blue);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.about-content p {
    font-size: var(--fs-body);
    color: #475569;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.highlight-text {
    font-size: var(--fs-body) !important;
    font-weight: var(--fw-medium);
    color: var(--color-text-dark) !important;
    border-left: 4px solid var(--color-primary-blue);
    margin-top: 2rem;
    background: rgba(112, 161, 224, 0.05);
    padding: 1.5rem 2rem;
    border-radius: 0 8px 8px 0;
}

.philosophy-box {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 2.5rem;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    border-radius: 0;
}

.philosophy-header h3.en-slogan {
    font-size: var(--fs-h2);
    text-transform: uppercase;
    color: var(--color-primary-blue);
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.philosophy-header h4 {
    font-size: var(--fs-body);
    font-weight: var(--fw-regular);
    color: #475569;
    line-height: 1.5;
    margin-bottom: 2rem;
}

.custom-list {
    list-style: none;
    padding: 0;
    flex-grow: 1;
}

.custom-list li {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
    color: #475569;
    line-height: 1.6;
}

.list-icon {
    background: rgba(112, 161, 224, 0.1);
    color: var(--color-primary-blue);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.custom-list li:hover .list-icon {
    transform: scale(1.1);
    background: var(--color-primary-blue);
    color: #fff;
}

.list-text {
    font-size: var(--fs-body);
    line-height: 1.6;
    color: var(--color-text-light);
}

.list-text strong {
    color: var(--color-text-dark);
    font-weight: var(--fw-bold);
}

.quote-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    font-size: var(--fs-body);
    color: var(--color-text-dark);
    font-weight: var(--fw-bold);
    text-align: center;
}

#ueber-uns .two-columns {
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    gap: clamp(2rem, 4vw, 4.5rem);
    align-items: stretch;
}

#ueber-uns {
    background: transparent;
}

#ueber-uns .container {
    z-index: 2;
}

#ueber-uns.scroll-section {
    padding-top: 8rem;
    padding-bottom: 5rem;
}

#ueber-uns .about-intro-card {
    max-width: 100%;
}

#ueber-uns .about-header {
    margin-bottom: 1.15rem;
}

#ueber-uns .about-header h2 {
    color: var(--color-text-dark);
}

#ueber-uns .about-header .divider {
    margin-bottom: 0;
    background: linear-gradient(90deg, var(--color-primary-blue) 0%, var(--color-accent-blue) 100%);
}

#ueber-uns .about-copy-flow {
    display: grid;
    gap: 0.85rem;
}

#ueber-uns .about-title {
    font-size: clamp(1.35rem, 1.85vw, 1.65rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--color-primary-blue);
    margin-bottom: 0.15rem;
    max-width: 32ch;
    text-wrap: balance;
}

#ueber-uns .about-lead {
    font-size: 1.04rem;
    line-height: 1.72;
    color: var(--color-text-dark);
    max-width: 52ch;
    margin-bottom: 0;
}

#ueber-uns .about-body {
    max-width: 60ch;
    margin-bottom: 0;
    color: var(--color-text-light);
}

#ueber-uns .highlight-text {
    position: relative;
    margin-top: 1.25rem;
    padding: 1.05rem 0 0 0;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    border-left: none !important;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: var(--color-text-light) !important;
    font-size: 1rem !important;
    font-weight: var(--fw-medium);
    line-height: 1.7;
    max-width: 56ch;
}



#ueber-uns .about-values-card {
    height: 100%;
    position: relative;
    padding: 2.5rem 2.15rem;
    background-color: var(--card-bg-light);
    background-image: var(--glass-noise);
    border: 1px solid rgba(62, 99, 152, 0.12);
    border-radius: 0;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.05);
    overflow: hidden;
}

#ueber-uns .about-intro-card {
    height: 100%;
    position: relative;
    padding: 2.5rem 2.15rem;
    background-color: var(--card-bg-light);
    background-image: var(--glass-noise);
    border: 1px solid rgba(62, 99, 152, 0.12);
    border-left: 6px solid var(--color-primary-blue);
    border-radius: 0;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.05);
    overflow: hidden;
    color: var(--color-text-dark);
}

/* Subtle glowing background circle */
#ueber-uns .about-intro-card::before {
    content: "";
    position: absolute;
    top: -150px;
    right: -150px;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(62, 99, 152, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

#ueber-uns .about-intro-card .about-header,
#ueber-uns .about-intro-card .about-copy-flow {
    position: relative;
    z-index: 1;
}

#ueber-uns .about-intro-card .about-header h2 {
    color: var(--color-text-dark);
}

#ueber-uns .about-intro-card .about-header .divider {
    background: linear-gradient(90deg, var(--color-primary-blue) 0%, var(--color-accent-blue) 100%);
}

#ueber-uns .about-intro-card .about-title {
    color: var(--color-primary-blue);
}

#ueber-uns .about-intro-card .about-lead {
    color: var(--color-text-dark);
}

#ueber-uns .about-intro-card .about-body {
    color: var(--color-text-light);
}



#ueber-uns .quote-icon {
    display: none;
}

#ueber-uns .philosophy-header {
    display: grid;
    gap: 0.7rem;
    padding-bottom: 1.15rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

#ueber-uns .philosophy-header h3.en-slogan {
    font-size: 0.78rem;
    line-height: 1.4;
    letter-spacing: 0.24em;
    margin-bottom: 0;
    color: var(--color-primary-blue);
}

#ueber-uns .philosophy-header h4 {
    font-size: clamp(1.08rem, 1.75vw, 1.28rem);
    line-height: 1.48;
    color: var(--color-text-dark);
    margin-bottom: 0;
    max-width: 28ch;
}

#ueber-uns .custom-list {
    margin-top: 1.15rem !important;
    display: grid;
    gap: 0;
}

#ueber-uns .custom-list li {
    gap: 1rem;
    margin-bottom: 0;
    padding: 0.9rem 0;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}

#ueber-uns .custom-list li:first-child {
    border-top: none;
    padding-top: 0;
}

#ueber-uns .list-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(62, 99, 152, 0.06);
    color: var(--color-primary-blue);
    box-shadow: inset 0 0 0 1px rgba(62, 99, 152, 0.1);
    transition: none; /* Hover-Übergänge für diese Sektion deaktivieren */
}

#ueber-uns .custom-list li:hover .list-icon {
    transform: none;
    background: rgba(62, 99, 152, 0.06);
    color: var(--color-primary-blue);
}

#ueber-uns .list-copy {
    display: grid;
    gap: 0.18rem;
    flex: 1;
}

#ueber-uns .list-heading {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.4;
    font-weight: var(--fw-bold);
    color: var(--color-text-dark);
}

#ueber-uns .list-text {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.62;
    color: var(--color-text-light);
}

#ueber-uns .quote-footer {
    margin-top: 1.25rem;
    padding-top: 1.05rem;
    text-align: left;
    color: var(--color-text-dark);
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

#ueber-uns .quote-footer em {
    font-style: normal;
}

#ueber-uns .bg-shape {
    display: none;
}

#kontakt {
    background: transparent;
}

#kontakt::before {
    background-image: var(--bg-image-kontakt);
    background-color: var(--bg-blend-color);
    background-blend-mode: var(--bg-blend-mode);
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    filter: var(--bg-image-filter);
    transform: none;
}

#kontakt::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to bottom, var(--color-bg-alt) 0%, transparent 15%, transparent 80%, var(--color-bg-lighter) 100%),
        var(--dot-pattern);
    background-size: auto, var(--dot-spacing) var(--dot-spacing);
    z-index: 1;
    pointer-events: none;
}

#kontakt .container {
    position: relative;
    z-index: 2;
}

#kontakt .section-header h2,
#kontakt h3 {
    color: var(--color-text-dark);
}

#kontakt .contact-list li,
#kontakt .contact-list a {
    color: var(--color-text-light);
}

#kontakt .section-header .divider {
    background: linear-gradient(90deg, var(--color-primary-blue) 0%, var(--color-accent-blue) 100%);
}

#kontakt .contact-list i {
    color: var(--color-primary-blue);
}

#kontakt .contact-list a:hover {
    color: var(--color-primary-blue);
}

#kontakt .doc-link {
    background-color: rgba(62, 99, 152, 0.06);
    border: 1px solid rgba(62, 99, 152, 0.12);
    color: var(--color-primary-blue);
}

#kontakt .doc-link:hover {
    background-color: var(--color-primary-blue);
    color: #ffffff;
}

#kontakt .doc-links-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

#kontakt .doc-links-container .doc-link {
    margin-right: 0;
}

.contact-section-box {
    padding-bottom: 11rem;
}

@media (max-width: 768px) {
    .contact-section-box {
        padding-bottom: 4rem;
    }
}

@media (max-width: 576px) {
    #kontakt .doc-links-container {
        flex-direction: column;
    }
    #kontakt .doc-links-container .doc-link {
        display: block;
        text-align: left;
    }
}

#kontakt .contact-form {
    background: #ffffff;
    border: 1px solid rgba(62, 99, 152, 0.12);
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

#kontakt .footer {
    background: #f8fafc;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    color: var(--color-text-light);
}

#kontakt .footer-links a {
    color: var(--color-text-light);
}

#kontakt .footer-links a:hover {
    color: var(--color-primary-blue);
}

@media (max-width: 1200px) {
    #ueber-uns .two-columns {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    #ueber-uns .about-intro-card {
        max-width: none;
        padding: 1.8rem 1.35rem;
    }

    #ueber-uns .about-title {
        max-width: none;
    }

    #ueber-uns .philosophy-header h4 {
        max-width: none;
    }
}

@media (max-width: 768px) {
    #ueber-uns.scroll-section {
        padding-top: 5rem;
        padding-bottom: 3rem;
    }

    #ueber-uns .about-values-card {
        padding: 1.8rem 1.35rem;
        border-radius: 0;
    }

    #ueber-uns .about-title {
        font-size: clamp(1.6rem, 6vw, 1.95rem);
    }

    #ueber-uns .about-lead,
    #ueber-uns .highlight-text {
        font-size: 1rem !important;
    }


}

/* Timeline Item Hover Effects */
.timeline-item {
    flex: 0 0 calc((100% - 4rem) / 3);
    opacity: 1;
}

.timeline-item:hover .timeline-content {
    transform: translateY(-3px);
    border-color: rgba(62, 99, 152, 0.22);
    box-shadow: 0 18px 36px rgba(62, 99, 152, 0.09);
}

.timeline-item:hover .timeline-marker::before {
    transform: translate(-50%, -50%) scale(1.08);
    box-shadow: 0 0 0 10px rgba(62, 99, 152, 0.16);
}

.section-intro {
    font-size: var(--fs-body);
    color: #475569;
    max-width: 800px;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

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

.align-start {
    align-items: flex-start;
}

#meilensteine,
#fuhrpark,
#subfraechter {
    position: relative;
    background: #f7fafd;
    overflow: hidden;
}

#meilensteine::before,
#fuhrpark::before,
#subfraechter::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: -48px;
    left: 0;
    background-image:
        linear-gradient(180deg, rgba(248, 250, 252, 0.96) 0%, rgba(243, 247, 251, 0.94) 26%, rgba(237, 243, 249, 0.92) 100%),
        url('../img/LKW-CG.png');
    background-size: cover;
    background-position: center 34%;
    background-repeat: no-repeat;
    opacity: 0.72;
    filter: saturate(0.72) contrast(0.92);
    transform: scale(1.01);
    pointer-events: none;
    z-index: 0;
}

#meilensteine::after,
#fuhrpark::after,
#subfraechter::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: -48px;
    left: 0;
    background-image: radial-gradient(rgba(112, 161, 224, 0.09) 1.2px, transparent 1.2px);
    background-size: 24px 24px;
    opacity: 0.55;
    pointer-events: none;
    z-index: 0;
}

#meilensteine .container,
#fuhrpark .container,
#subfraechter .container {
    position: relative;
    z-index: 1;
}

#meilensteine.scroll-section,
#fuhrpark.scroll-section,
#subfraechter.scroll-section {
    min-height: auto;
    padding: 5.5rem 0 4.5rem 0;
    background: #f1f5f9;
}

#meilensteine::before,
#meilensteine::after,
#fuhrpark::before,
#fuhrpark::after,
#subfraechter::before,
#subfraechter::after {
    display: none !important;
}

#adr {
    position: relative;
    background: transparent;
    overflow: hidden;
}

#adr::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--bg-image-adr);
    background-color: var(--bg-blend-color);
    background-blend-mode: var(--bg-blend-mode);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    filter: var(--bg-image-filter);
    transform: none;
    pointer-events: none;
    z-index: 0;
}

#adr::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to bottom, var(--color-bg-alt) 0%, transparent 15%, transparent 85%, var(--color-bg-alt) 100%),
        var(--dot-pattern);
    background-size: auto, var(--dot-spacing) var(--dot-spacing);
    z-index: 1;
    pointer-events: none;
}

#adr .container {
    position: relative;
    z-index: 2;
}

#adr .two-columns {
    align-items: stretch;
}

.adr-info-card,
.adr-img-card {
    height: 100%;
    position: relative;
    padding: 2.5rem 2.15rem;
    background-color: var(--card-bg-light);
    background-image: var(--glass-noise);
    border: 1px solid rgba(62, 99, 152, 0.12);
    border-radius: 0;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.05);
    overflow: hidden;
}

.adr-img-card {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--card-bg-dark);
    background-image: var(--glass-noise);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.adr-img-card img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.1));
}

#adr .section-header h2 {
    color: var(--color-text-dark);
}

#adr p,
#adr .check-list li {
    color: var(--color-text-light);
}

#adr .check-list li i {
    color: var(--color-primary-blue);
}

#adr .section-header .divider {
    background: linear-gradient(90deg, var(--color-primary-blue) 0%, var(--color-accent-blue) 100%);
}

.timeline-nav {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.timeline-control {
    width: 58px;
    height: 58px;
    border: 1px solid rgba(62, 99, 152, 0.18);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--color-primary-blue);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    font-size: 1.2rem;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.timeline-control:hover {
    color: #ffffff;
    background: var(--color-primary-blue);
    border-color: var(--color-primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(62, 99, 152, 0.18);
}

.timeline-wrapper.at-start .timeline-control[data-direction="prev"],
.timeline-wrapper.at-end .timeline-control[data-direction="next"] {
    opacity: 0.35;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

@media (max-width: 1100px) {
    .timeline-item {
        flex: 0 0 calc((100% - 2rem) / 2) !important;
    }

    .timeline-content {
        min-height: 15.5rem;
    }
}

@media (max-width: 768px) {
    .timeline-wrapper {
        gap: 1.25rem;
    }

    .timeline {
        display: grid;
        gap: 1.5rem;
        overflow: visible;
        padding: 0.5rem 0 0.5rem 0.25rem;
        scroll-snap-type: none;
    }

    .timeline::before,
    .timeline::after {
        top: 0;
        bottom: 0;
        left: 1rem;
        right: auto;
        width: 1px;
        height: auto;
        transform: none;
    }

    .timeline::after {
        width: 1px;
        height: min(var(--timeline-progress), 100%);
    }

    .timeline-item {
        flex: none !important;
        min-height: auto;
        gap: 1rem;
        opacity: 1;
        padding-left: 0.85rem;
    }

    .timeline-marker {
        padding-left: 2rem;
        min-height: auto;
    }

    .timeline-marker::before {
        left: 0.15rem;
        top: 0.5rem;
    }

    .timeline-content {
        min-height: auto;
    }

    .timeline-nav {
        display: none;
    }

    .timeline-item.timeline-item-active .timeline-content,
    .timeline-item:hover .timeline-content {
        transform: none;
    }
}

/* --- MODAL SYSTEM --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    /* Softer dark slate-blue overlay */
    backdrop-filter: blur(10px);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-container {
    background: #ffffff;
    width: 100%;
    max-width: 900px;
    max-height: 85vh;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-header {
    padding: 1.5rem 2.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
}

.modal-title {
    font-size: 1.5rem;
    color: var(--color-primary-blue);
    margin: 0;
    font-weight: var(--fw-bold);
}

.modal-close {
    background: transparent;
    border: none;
    color: #475569;
    font-size: 1.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.05);
}

.modal-body {
    padding: 2.5rem;
    overflow-y: auto;
    color: #475569;
    line-height: 1.7;
}

.modal-body h1,
.modal-body h2 {
    color: #0f172a;
    margin-top: 2rem;
}

.modal-body p {
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .modal-overlay {
        padding: 1rem;
    }

    .modal-body {
        padding: 1.5rem;
    }

    .modal-header {
        padding: 1rem 1.5rem;
    }
}

.form-status {
    margin-top: 1rem;
    font-size: 0.9rem;
    text-align: center;
    border-radius: 8px;
    padding: 0;
    transition: all 0.3s ease;
}

.form-status.success {
    color: #4ade80;
    padding: 0.8rem;
    background: rgba(74, 222, 128, 0.1);
}

.form-status.error {
    color: #f87171;
    padding: 0.8rem;
    background: rgba(248, 113, 113, 0.1);
}

/* ==========================================================================
   Split-Design & Clean Backgrounds (Option 3)
   ========================================================================== */

/* Hintergrundbilder entfernen für ein ruhiges, edles und lesbares Design */
#ueber-uns::before,
#leistungen::before,
#adr::before,
#kontakt::before {
    background-image: none !important;
}

/* Split-Design: Über uns LKW-Bild Spalte */
.about-image-column {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 580px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(62, 99, 152, 0.08);
}

.about-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-image-wrapper:hover .about-image {
    transform: scale(1.04);
}

.about-image-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.5rem 1.1rem;
    border-radius: 6px;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Philosophie & Werte als horizontales Grid */
.about-values-section {
    width: 100%;
    position: relative;
    z-index: 2;
}

.about-values-header {
    margin-bottom: 2.5rem;
}

.about-values-header .en-slogan {
    display: block;
    font-size: 0.85rem;
    color: var(--color-primary-blue);
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.about-values-header .values-title {
    font-size: var(--fs-h1);
    color: var(--color-text-dark);
    margin-bottom: 0.75rem;
}

.about-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 0;
}

.value-card {
    background: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    border: 1px solid rgba(62, 99, 152, 0.08);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.02);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.value-card:hover {
    transform: translateY(-5px);
    border-color: rgba(62, 99, 152, 0.3);
    box-shadow: 0 20px 40px rgba(62, 99, 152, 0.08);
}

.value-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: rgba(62, 99, 152, 0.08);
    color: var(--color-primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    transition: background 0.3s ease, color 0.3s ease;
}

.value-card:hover .value-icon {
    background: var(--color-primary-blue);
    color: #ffffff;
}

.value-card h4 {
    font-size: 1.15rem;
    color: var(--color-text-dark);
    margin-bottom: 0.75rem;
}

.value-card p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 0;
    line-height: 1.6;
    flex-grow: 1;
}

/* Philosophie-Zitat im Header */
.philosophy-quote {
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    font-style: italic;
    color: var(--color-primary-blue);
    font-weight: 500;
    margin: 0.5rem 0 1.25rem 0;
    line-height: 1.5;
    max-width: 55ch;
}

/* Responsive Anpassungen für das Split- & Grid-Design */
@media (max-width: 992px) {
    .about-values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about-image-wrapper {
        margin-top: 1rem;
    }
}

/* Collage-Design: Leistungen */
.services-image-column {
    display: flex;
    justify-content: center;
    align-items: center;
}

.services-collage {
    display: grid;
    gap: 1rem;
    width: 100%;
    max-width: 580px;
}

.services-collage-main,
.services-collage-bottom {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(62, 99, 152, 0.08);
    aspect-ratio: 16 / 10;
}

.services-collage-sub {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.services-collage-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(62, 99, 152, 0.08);
    aspect-ratio: 1 / 1;
}

.collage-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.services-collage-main:hover .collage-img,
.services-collage-item:hover .collage-img,
.services-collage-bottom:hover .collage-img {
    transform: scale(1.05);
}

.services-grid-split {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (max-width: 992px) {
    .services-grid-split {
        grid-template-columns: 1fr;
    }
    
    .services-collage {
        margin-bottom: 2rem;
    }
}

/* Split-Design: Kontakt */
.contact-image-column {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 380px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(62, 99, 152, 0.08);
}

.contact-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center; /* Verschiebt den Fokus nach rechts, um die LKW-Front komplett anzuzeigen */
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-image-wrapper:hover .contact-image {
    transform: scale(1.04);
}

.contact-image-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.5rem 1.1rem;
    border-radius: 6px;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1200px) {
    .contact-image-wrapper {
        min-height: 280px;
    }
}

/* Badge-Design für die Leistungs-Bilder */
.services-image-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.45rem 0.9rem;
    border-radius: 6px;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 2;
    pointer-events: none;
    transition: background 0.3s ease;
}

/* --- CAREER SECTION & DETAILS LAYOUT --- */
.career-detail-grid {
    display: grid;
    grid-template-columns: 4fr 6fr;
    gap: 3rem;
    align-items: start;
    margin-top: 3rem;
}

@media (max-width: 992px) {
    .career-detail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.career-summary-col {
    position: sticky;
    top: 100px;
}

@media (max-width: 992px) {
    .career-summary-col {
        position: static;
    }
}

.career-header-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(62, 99, 152, 0.12);
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.04);
    padding: 2.5rem;
}

.career-badge-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
}

.career-type-badge,
.career-loc-badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.35rem 0.8rem;
    border-radius: 99px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.career-type-badge {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.career-loc-badge {
    background: rgba(62, 99, 152, 0.08);
    color: var(--color-primary-blue);
}

.career-header-card h3 {
    font-size: 1.6rem;
    color: var(--color-primary-blue);
    margin-bottom: 0.5rem;
}

.career-locations {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.career-locations i {
    color: var(--color-primary-blue);
    margin-right: 0.3rem;
}

.career-text {
    font-size: 0.95rem;
    line-height: 1.65;
    color: #475569;
    margin-bottom: 1rem;
}

.career-salary-card {
    background: var(--color-bg-lighter);
    border-left: 4px solid var(--color-primary-blue);
    padding: 1.2rem 1.5rem;
    border-radius: 0 12px 12px 0;
    margin-top: 1.5rem;
}

.career-salary-card h4 {
    margin-bottom: 0.4rem;
    font-size: 1rem;
    color: var(--color-primary-blue);
}

.career-salary-card p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #334155;
}

/* Right column details */
.career-info-block {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(62, 99, 152, 0.08);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.02);
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.career-info-block h4 {
    font-size: 1.2rem;
    color: var(--color-primary-blue);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.career-info-block h4 i {
    font-size: 1.1rem;
    color: var(--color-primary-blue);
}

.custom-list-career {
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-list-career li {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: #475569;
}

.custom-list-career li i {
    color: #10b981;
    margin-top: 0.25rem;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .career-header-card {
        padding: 1.5rem;
        border-radius: 16px;
    }
    
    .career-info-block {
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .career-detail-grid {
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .career-badge-container {
        gap: 0.4rem;
    }
}