/* --- Globale Stile & Variablen --- */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Montserrat:wght@400;700&display=swap');

:root {
    --primary-color: #447dc0; /* Angepasste Hauptfarbe (Türkisblau) */
    --primary-color2: #e7393a; /* Angepasste Hauptfarbe (Türkisblau) */
    --primary-color3: #f4953a; /* Angepasste Hauptfarbe (Türkisblau) */
    --primary-color4: #a9c930; /* Angepasste Hauptfarbe (Türkisblau) */
    --primary-color5: #16ac7c; /* Angepasste Hauptfarbe (Türkisblau) */         
    --primary-color6: #6a4997; /* Angepasste Hauptfarbe (Türkisblau) */                
    --secondary-color: #f5f5f5; /* Heller Hintergrund aus Beispiel */
    --dark-color: #3e4f59;    /* Dunkler Text aus Beispiel */
    --light-color: #fff;
    --grey-color: #777; /* Etwas dunkleres Grau */
    --border-color: #eee; /* Heller Rand */
    --transition-speed: 0.3s;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.12);
}

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

body {
    font-family: 'Lato', sans-serif; /* Schriftart aus Beispiel */
    font-size: 14px; /* Etwas größer als im Beispiel */
    line-height: 1.7;
    color: var(--dark-color);
    background-color: var(--light-color);
    overflow-x: hidden; /* Verhindert horizontales Scrollen */
    -webkit-font-smoothing: antialiased; /* Verbessertes Font-Rendering */
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color var(--transition-speed) ease;
}

a:hover {
    text-decoration: none;
    outline: 0;
    color: var(--dark-color);
}

ul {
    list-style: none;
    padding-left: 0; /* Eigene Listen verwenden keine Standard-Einrückung */
}

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

.container {
    max-width: 1140px; /* Breiterer Container, ähnlich Bootstrap */
    margin: 0 auto;
    padding: 0 15px;
    position: relative; /* Für absolute Positionierung innen */
}

/* --- Allgemeine Section Styles --- */
.section {
    padding: 100px 0;
    position: relative;
    overflow: hidden; /* Wichtig für Animationen und Hintergründe */
}

#features {
    background-color: var(--secondary-color); /* Heller Hintergrund für Features */
    /* Padding ist bereits durch .section gesetzt */
}

/* --- Typografie --- */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif; /* Schriftart aus Beispiel */
    font-weight: 700;
    color: var(--dark-color);
    margin-top: 0;
    margin-bottom: 0.5rem; /* Standard Bootstrap Margin */
}

.h-light { font-weight: 400; }

p {
    line-height: 24px; /* Angepasst */
    margin-bottom: 1rem;
}

/* --- Titel Styling (Angelehnt an 'with-square') --- */
.section-title {
    font-size: 2rem; /* Angepasst */
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
    text-transform: uppercase;
}

.hero-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100; /* Hinter den Overlay und Inhalt legen */
    transform: translateX(-50%) translateY(-50%);
    background-size: cover;
    object-fit: cover; /* Sorgt dafür, dass das Video den Bereich abdeckt, ohne verzerrt zu werden */
  }

.section-title::before { /* Quadrat-Element */
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background-color: var(--primary-color);
}

.section-title::after {
    display: none; /* Alten Strich entfernen */
}

/* Titel linksbündig (für Sektionen wie About) */
.title-left {
    text-align: left;
}
.title-left::before {
    left: 0;
    transform: translateX(0);
}

.section-subtitle {
    text-align: center;
    font-size: 1rem; /* Angepasst */
    color: var(--grey-color);
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

.color-primary {
    color: var(--primary-color) !important;
}

.btn {
    padding: 14px 28px;
    font-size: 12px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    /* overflow: hidden; <-- Kann weg, wenn ::before weg ist */
    position: relative; /* Bleibt ok */
    display: inline-block;
    /* WICHTIG: Transition für die Eigenschaften anpassen, die sich ändern */
    transition: color var(--transition-speed) ease,
                background-color var(--transition-speed) ease,
                border-color var(--transition-speed) ease;
    border: 1px solid transparent;
    border-radius: 3px;
    cursor: pointer;
    text-align: center;
    /* z-index nicht nötig */
}

/* KEINE ::before Regeln mehr hier! Alles was mit .btn::before zu tun hat, löschen oder auskommentieren */

.btn-primary {
    color: var(--light-color);              /* Text: Weiß */
    border-color: var(--primary-color);     /* Rand: Türkis */
    background-color: var(--primary-color); /* Hintergrund: Türkis */
}

.btn-primary:hover {
    color: var(--primary-color);            /* Text: Türkis */
    background-color: var(--light-color);   /* Hintergrund: Weiß */
    border-color: var(--primary-color);     /* Rand: Bleibt Türkis (oder anpassen falls gewünscht) */
}

.btn-secondary {
    color: var(--dark-color);              /* Text: Dunkel */
    border-color: var(--dark-color);       /* Rand: Dunkel */
    background-color: var(--light-color);  /* Hintergrund: Weiß */
}

.btn-secondary:hover {
    color: var(--light-color);             /* Text: Weiß */
    background-color: var(--dark-color);   /* Hintergrund: Dunkel */
    border-color: var(--dark-color);       /* Rand: Bleibt Dunkel (oder anpassen falls gewünscht) */
}

/* --- Preloader --- */
.preloader {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.preloader.loaded {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    /* Übernommen und Farbe angepasst */
    border: 2px solid rgba(204, 204, 204, 0.5);
    border-left-color: var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1.15s linear infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

/* --- Header / Navigation --- */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0); 
    box-shadow: none;
    padding: 25px 0;
    z-index: 1000;
    transition: top 0.3s ease, background-color 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

#header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 15px 0;
}

#header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    text-transform: uppercase;
}

#header:not(.scrolled) .logo {
     color: var(--light-color);
}

.logo .color-primary {
    color: var(--primary-color);
}

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

.nav-links li {
    margin-left: 35px;
}

.nav-links a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--dark-color);
    text-transform: uppercase;
    font-size: 13px;
    padding: 5px 0;
    position: relative;
    transition: color var(--transition-speed) ease;
}

#header:not(.scrolled) .nav-links a {
    color: var(--light-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-speed) ease;
}

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

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--dark-color);
    cursor: pointer;
}

#header:not(.scrolled) .menu-toggle {
    color: var(--light-color);
}

/* --- Hero Section --- */
#hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-color);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    animation: zoomInOut 25s infinite alternate ease-in-out;
}

@keyframes zoomInOut {
    0% { transform: scale(1); }
    100% { transform: scale(1.15); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    animation: fadeInDown 1s ease-out 0.3s backwards;
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--light-color);
}

.hero-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 25px;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 35px;
    font-weight: 300;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Services Section --- */
/* Service Grid sollte bereits korrekt sein */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-item {
    background-color: var(--light-color);
    padding: 40px 30px;
    text-align: center;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease, border-color var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    transition: transform var(--transition-speed) ease;
}

.service-item:hover .service-icon {
    transform: scale(1.1);
}

.service-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 700;
    text-transform: uppercase;
}

.service-item p {
    color: var(--grey-color);
    font-size: 0.95rem;
}

.service-item-highlight {
    background-color: var(--primary-color);
    color: var(--light-color);
    border-color: var(--primary-color);
    transform: scale(1.03);
}

.service-item-highlight .service-icon,
.service-item-highlight h3,
.service-item-highlight p {
    color: var(--light-color);
}

.service-item-highlight:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 10px 30px rgba(0, 192, 226, 0.4);
}

/* --- Unsere Trucks Section - KORRIGIERT --- */
#trucks {
    background-color: var(--secondary-color);
    /* Padding via .section */
}

.trucks-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr; /* Verhältnis beibehalten */
    gap: 50px; /* Etwas weniger Abstand */
    align-items: start; /* Oben ausrichten, um Überlappung zu vermeiden */
}

.trucks-gallery {
    position: relative;
    /* Kein transform mehr hier, Grid übernimmt Positionierung */
    /* Animation kann bleiben, wenn gewünscht */
    animation: fadeInRightTruck 1s ease-out forwards;
    opacity: 0;
}

.trucks-gallery .section-title {
    text-align: left;
    margin-bottom: 30px;
}
.trucks-gallery .section-title::before {
    left: 0;
    transform: translateX(0);
}

.truck-slider {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow);
    min-height: 400px; /* Höhe angepasst */
    background-color: #e0e0e0;
}

.truck-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    z-index: 1;
}

.truck-slide.active {
    opacity: 1;
    z-index: 2;
}

.truck-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.truck-slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: var(--light-color);
    padding: 15px 20px;
    text-align: center;
    font-size: 0.9rem;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    margin-bottom: 0;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--light-color);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 3;
    transition: background-color var(--transition-speed) ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider-btn:hover {
    background-color: var(--primary-color);
}

.slider-btn.prev {
    left: 15px;
}

.slider-btn.next {
    right: 15px;
}

.trucks-features {
    /* Kein transform mehr hier */
    animation: fadeInLeftTruck 1s ease-out forwards;
    opacity: 0;
    animation-delay: 0.2s;
}

.trucks-features .section-title {
    text-align: left;
    margin-bottom: 30px;
}
.trucks-features .section-title::before {
    left: 0;
    transform: translateX(0);
}

.features-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 30px;
}

.features-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    font-size: 1rem;
}

.features-list i {
    color: var(--primary-color);
    margin-right: 12px;
    margin-top: 4px;
    font-size: 1.1rem;
}

/* Korrigierte Animationen ohne transform */
@keyframes fadeInLeftTruck {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInRightTruck {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* --- About Us Section --- */
#about {
    background-color: var(--light-color);
    position: relative;
}

.section-overlap {
    padding-bottom: 120px;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start; /* Oben ausrichten */
}

.about-image {
    position: relative;
    /* Overlap entfernt für einfacheres Layout */
    /* transform: translateX(-30px); */
    animation: slideInLeftAbout 1s ease-out forwards;
    opacity: 0;
}

.about-image img {
    border-radius: 10px;
    box-shadow: var(--shadow-hover);
    /* max-width: 110%; */ /* Nicht größer als 100% */
}

.about-content {
    /* Overlap entfernt */
    /* transform: translateX(30px); */
    animation: slideInRightAbout 1s ease-out forwards;
    opacity: 0;
    animation-delay: 0.2s;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.about-content .section-title::before {
    left: 0;
    transform: translateX(0);
}

.about-content p {
    margin-bottom: 20px;
    color: var(--grey-color);
}

/* Korrigierte Animationen ohne transform */
@keyframes slideInLeftAbout {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRightAbout {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}


/* --- Features Section (Why Choose Us) --- */
/* Keine Änderungen hier nötig, Hintergrund sollte volle Breite sein */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-item {
    text-align: center;
    padding: 35px 25px;
    border-radius: 5px;
    background-color: var(--light-color);
    border: 1px solid var(--border-color);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-block;
    transition: transform var(--transition-speed) ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.15);
}

.feature-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.feature-item p {
    color: var(--grey-color);
    font-size: 0.9rem;
}

/* --- Statistics Section --- */
.stats-section {
    background-color: var(--dark-color);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    color: var(--light-color);
    padding: 100px 0;
}

.stats-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 1;
}

.stats-section .container {
    position: relative;
    z-index: 2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

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

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.8);
}


/* --- Contact Section - KORRIGIERT --- */


.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    margin-top: 60px;
    background-color: var(--secondary-color);
    padding: 50px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-info h3, .contact-form h3 {
    font-size: 1.4rem;
    margin-bottom: 30px;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 10px;
    text-transform: uppercase;
}

.contact-info h3::before, .contact-form h3::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.contact-info p {
    margin-bottom: 18px;
    color: var(--grey-color);
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.contact-info p i {
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.contact-info a {
    color: var(--grey-color);
    transition: color var(--transition-speed) ease;
}

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

.social-icons {
    margin-top: 35px;
}

.social-icons a {
    display: inline-block;
    width: 38px;
    height: 38px;
    line-height: 38px;
    text-align: center;
    border-radius: 50%;
    background-color: var(--light-color);
    color: var(--primary-color);
    margin-right: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all var(--transition-speed) ease;
    font-size: 1rem;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 192, 226, 0.4);
}

/* Korrigiertes Formular Grid */
.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Zwei Spalten */
    gap: 20px 25px; /* Reihen- und Spaltenabstand */
    align-items: start;
}

.contact-form h3 {
    grid-column: 1 / -1; /* Titel über volle Breite */
}

.contact-form .form-group {
    margin-bottom: 0; /* Entferne alten margin, gap regelt Abstand */
    position: relative;
}

.form-group.full-width {
    grid-column: 1 / -1; /* Volle Breite für Textarea etc. */
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid var(--border-color);
    border-radius: 3px;
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    transition: border-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    background-color: var(--light-color);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 192, 226, 0.15);
}

.contact-form label {
   display: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #aaa;
    font-style: italic;
}

.contact-form button {
    width: auto;
    cursor: pointer;
    grid-column: 1 / -1; /* Button volle Breite */
    justify-self: start;
    margin-top: 10px; /* Kleiner Abstand nach oben */
}

.form-status {
    margin-top: 0; /* Kein extra Abstand nötig */
    font-weight: 600;
    grid-column: 1 / -1; /* Status volle Breite */
    min-height: 1.5em; /* Platzhalter für Statusmeldung */
}

/* --- Footer --- */
#footer {
    background-color: var(--dark-color);
    color: rgba(255, 255, 255, 0.7);
    padding: 40px 0 20px 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
}

.footer-content p {
    margin-bottom: 10px;
    width: 100%;
}

.footer-links {
     width: 100%;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    margin: 0 10px;
    transition: color var(--transition-speed) ease;
    text-transform: uppercase;
}

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

#scroll-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--light-color);
    border: none;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    z-index: 999;
}

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

#scroll-to-top:hover {
    background-color: var(--dark-color);
    transform: translateY(-3px);
}

/* --- Scroll Animations --- */
.section.animated {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsiveness --- */
@media (min-width: 768px) {
    .footer-content p,
    .footer-links {
        width: auto;
    }
}

@media (max-width: 992px) {
    .container { max-width: 960px; }
    .section { padding: 80px 0; }
    .section-title { font-size: 1.8rem; }
    .hero-content h1 { font-size: 2.8rem; }
    .hero-content h2 { font-size: 1.8rem; }

    .trucks-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .trucks-gallery {
        /* Kein transform mehr nötig */
        animation: fadeInDown 1s ease-out forwards;
        max-width: 80%;
        margin: 0 auto;
    }
    .trucks-features {
        /* Kein transform mehr nötig */
        animation: fadeInUp 1s ease-out forwards;
        text-align: center;
    }
     .trucks-features .section-title {
        text-align: center;
    }
    .trucks-features .section-title::before {
        left: 50%;
        transform: translateX(-50%);
    }
    .features-list li { justify-content: center; }
    .trucks-features .btn { margin: 20px auto 0; }

    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .about-image {
        /* transform: translateX(0); */ /* Nicht mehr nötig */
        max-width: 70%;
        margin: 0 auto 30px auto;
        animation: fadeInDown 1s ease-out forwards;
    }
    .about-content {
        /* transform: translateX(0); */ /* Nicht mehr nötig */
        animation: fadeInUp 1s ease-out forwards;
    }
    .about-content .section-title { text-align: center; }
    .about-content .section-title::before { left: 50%; transform: translateX(-50%); }

    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .contact-wrapper { grid-template-columns: 1fr; padding: 40px; }
    .contact-info { margin-bottom: 40px; text-align: center; }
    .contact-info h3::before, .contact-form h3::before { left: 50%; transform: translateX(-50%); }
    .contact-form { grid-template-columns: 1fr; } /* Single column form */
    .contact-form button { justify-self: center; }

    @keyframes fadeInUp {
        from { opacity: 0; transform: translateY(30px); }
        to { opacity: 1; transform: translateY(0); }
    }
}

@media (max-width: 768px) {
    .container { max-width: 720px; }
    body { font-size: 13px; }
    #header nav {
        padding: 0 10px;
    }
    .menu-toggle {
        display: block;
        z-index: 1001;
        position: relative;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--dark-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.5s ease-in-out;
        box-shadow: -5px 0 15px rgba(0,0,0,0.2);
        padding-top: 60px;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 20px 0;
    }

    .nav-links a {
        color: var(--light-color);
        font-size: 1.1rem;
    }
    .nav-links a:hover, .nav-links a.active {
        color: var(--primary-color);
    }
    .nav-links a::after { background-color: var(--primary-color); }

    .hero-content h1 { font-size: 2.2rem; }
    .hero-content h2 { font-size: 1.5rem; }
    .hero-content p { font-size: 1rem; }
    .service-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-number { font-size: 2.8rem; }
    .stat-label { font-size: 0.8rem; }
    .contact-wrapper { padding: 30px; }
    .footer-content { padding: 0 15px; }
    #scroll-to-top { width: 35px; height: 35px; font-size: 1rem; bottom: 20px; right: 20px; }
}

@media (max-width: 480px) {
     .container { max-width: 100%; padding: 0 10px; }
    .section { padding: 60px 0; }
    .section-title { font-size: 1.6rem; }
    .section-subtitle { font-size: 0.9rem; }
    .hero-content h1 { font-size: 1.8rem; }
    .hero-content h2 { font-size: 1.3rem; }
    .btn { padding: 12px 22px; font-size: 0.9rem;}
    .stats-grid { grid-template-columns: 1fr; }
    .stat-item { margin-bottom: 25px; }
    .contact-wrapper { padding: 25px; }
    .contact-info p, .contact-form input, .contact-form textarea { font-size: 0.9rem; }
    .footer-content p, .footer-links a { font-size: 0.8rem; }
    .trucks-gallery { max-width: 95%; }
    .about-image { max-width: 85%; }
}



.video-section {
    position: relative; /* Wichtig für absolute Positionierung des Videos/Overlays */
    overflow: hidden; /* Verhindert, dass Inhalte überlappen */
    min-height: 70vh; /* Mindesthöhe der Sektion, anpassbar */
    display: flex; /* Zentriert den Overlay-Inhalt vertikal/horizontal */
    align-items: center;
    justify-content: center;
    padding: 4rem 0; /* Vertikaler Innenabstand, anpassbar */
    color: #ffffff; /* Standard-Textfarbe für Kontrast */
}

.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Sorgt dafür, dass das Video den Bereich füllt, ohne das Seitenverhältnis zu verzerren */
    z-index: -1; /* Platziert das Video hinter dem Overlay */
    filter: brightness(0.7); /* Optional: Video etwas abdunkeln */
}

.video-overlay-content {
    position: relative; /* Bleibt im normalen Fluss, aber über dem Video (wegen z-index) */
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.6); /* Schwarzer Hintergrund mit 60% Deckkraft - HIER TRANSPARENZ ANPASSEN (0.0 bis 1.0) */
    padding: 3rem 2rem; /* Innenabstand des Overlays */
    border-radius: 8px; /* Optional: Abgerundete Ecken für das Overlay */
    max-width: 900px; /* Maximale Breite des Inhaltsbereichs im Overlay */
    margin: 0 auto; /* Zentriert den Container horizontal, falls .container nicht schon dafür sorgt */
}

/* Spezifische Anpassungen für Text im Video-Overlay */
.video-overlay-content .section-title {
    margin-bottom: 1rem;
    /* Farbe wird durch .color-primary gesetzt oder hier anpassen */
}

.video-overlay-content p.lead { /* Styling für den Untertitel */
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.video-overlay-content p {
    margin-bottom: 2rem;
    line-height: 1.7;
}



/* Optional: Textschatten für bessere Lesbarkeit */
.video-overlay-content h2,
.video-overlay-content p {
   text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Optional: Klasse für zentrierten Text, falls benötigt */
.text-center {
    text-align: center;
}

/* Media Query für kleinere Bildschirme (optional) */
@media (max-width: 768px) {
    .video-section {
        min-height: 50vh; /* Geringere Höhe auf Mobilgeräten */
        padding: 3rem 0;
    }
    .video-overlay-content {
        padding: 2rem 1rem;
        max-width: 90%; /* Breiter auf kleineren Schirmen */
    }
    .video-overlay-content p.lead {
        font-size: 1.1rem;
    }
}



/* --- Section Color Cycling --- */
/* Definiere die lokale Farbe für jede Sektion */
#hero { --section-color: var(--primary-color); }
#services { --section-color: var(--primary-color2); }
#trucks { --section-color: var(--primary-color3); }
#video-showcase { --section-color: var(--primary-color4); }
#about { --section-color: var(--primary-color5); }
#features { --section-color: var(--primary-color6); }
/* #stats hat einen Hintergrund - wir setzen die Farbe trotzdem für interne Elemente */
#stats { --section-color: var(--primary-color); } /* Zyklus beginnt von vorn */
#contact { --section-color: var(--primary-color2); }

/* --- Anpassungen für Elemente, die die Sektionsfarbe nutzen sollen --- */

/* Titel-Quadrat */
.section-title::before {
    background-color: var(--section-color); /* Nutzt lokale Sektionsfarbe */
}

/* Text mit expliziter Primärfarbe */
.color-primary {
    color: var(--section-color) !important; /* Nutzt lokale Sektionsfarbe */
}

/* Service Icons & Highlight */
.service-icon {
    color: var(--section-color); /* Nutzt lokale Sektionsfarbe */
}
.service-item:hover {
    border-color: var(--section-color); /* Nutzt lokale Sektionsfarbe */
}
.service-item-highlight {
    background-color: var(--section-color); /* Nutzt lokale Sektionsfarbe */
    border-color: var(--section-color);     /* Nutzt lokale Sektionsfarbe */
    /* Textfarbe bleibt --light-color, was i.d.R. gut passt */
}
/* Optional: Dynamischer Schatten für Highlight-Hover (moderner Browser nötig) */
.service-item-highlight:hover {
    /* Statischer Schatten als Fallback */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    /* Dynamischer Schatten mit color-mix */
    box-shadow: 0 10px 30px color-mix(in srgb, var(--section-color) 40%, transparent);
}


/* Truck Features Liste Icons */
.features-list i {
    color: var(--section-color); /* Nutzt lokale Sektionsfarbe */
}

/* Truck Slider Button Hover */
.slider-btn:hover {
    background-color: var(--section-color); /* Nutzt lokale Sektionsfarbe */
}

/* Features Section Icons (wenn sie .color-primary haben, ist es schon abgedeckt) */
/* Falls *alle* Feature Icons die Farbe annehmen sollen: */
/* .feature-icon {
    color: var(--section-color);
} */
/* Falls nur die mit .color-primary (wie im HTML): Bleibt bei .color-primary Regel oben */


/* Statistics Section Icons */
.stat-icon {
    color: var(--section-color); /* Nutzt lokale Sektionsfarbe */
}

/* Contact Section Elemente */
.contact-info h3::before,
.contact-form h3::before {
    background-color: var(--section-color); /* Nutzt lokale Sektionsfarbe */
}
.contact-info p i {
    color: var(--section-color); /* Nutzt lokale Sektionsfarbe */
}
.contact-info a:hover {
    color: var(--section-color); /* Nutzt lokale Sektionsfarbe */
}
.social-icons a {
    /* Standardmäßig: Farbe ist primär, Hintergrund ist weiß */
    color: var(--section-color);
    background-color: var(--light-color);
    /* Optional: Dynamischer Schatten für Standardzustand */
    box-shadow: 0 2px 5px color-mix(in srgb, var(--section-color) 10%, transparent);
}
.social-icons a:hover {
    background-color: var(--section-color); /* Nutzt lokale Sektionsfarbe */
    color: var(--light-color); /* Weißer Text auf farbigem Grund */
    /* Optional: Dynamischer Schatten für Hover */
    box-shadow: 0 4px 10px color-mix(in srgb, var(--section-color) 40%, transparent);
}

/* Contact Form Fokus */
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--section-color); /* Nutzt lokale Sektionsfarbe */
    /* Optional: Dynamischer Fokus-Schatten */
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--section-color) 15%, transparent);
}

/* Primär-Button innerhalb einer Sektion */
/* WICHTIG: Diese Regel überschreibt den globalen .btn-primary Stil,
   wenn der Button *innerhalb* einer .section liegt */
.section .btn-primary {
    background-color: var(--section-color);
    border-color: var(--section-color);
    color: var(--light-color); /* Standard: Weißer Text */
}
.section .btn-primary:hover {
    background-color: var(--light-color);
    border-color: var(--section-color);
    color: var(--section-color); /* Text in Sektionsfarbe */
}

/* --- Kontrast-Anpassung für helle Primärfarben --- */
/* Beispiel: --primary-color4 (#a9c930 - Lime Green) ist sehr hell.
   Text und Buttons benötigen hier ggf. dunkle Farben. */
#video-showcase .btn-primary { /* Button in Sektion mit heller Farbe */
    color: var(--dark-color); /* Dunkler Text auf hellem Button */
}
#video-showcase .btn-primary:hover {
    background-color: var(--dark-color); /* Dunkler Hover-Hintergrund */
    border-color: var(--dark-color);
    color: var(--light-color); /* Heller Text auf dunklem Hover */
}

@media (max-width: 768px) {
    /* ... andere mobile Stile ... */

    .truck-slider {
        max-width: 95%; /* Mache die Galerie breiter, z.B. 95% oder sogar 100% */
        /* margin: 0 auto; bleibt normalerweise bestehen */
    }

    /* ... andere mobile Stile ... */
}

@media (max-width: 480px) {
    /* ... andere mobile Stile ... */

    .truck-slider {
        max-width: 100%; /* Auf sehr kleinen Screens ggf. volle Breite */
    }

    /* ... andere mobile Stile ... */
}