/* ---- CI FARBEN ---- */
:root {
    --color-primary: #004d9a; /* Dunkelblau (wie Schrift/Truck) */
    --color-accent: #ffc72a; /* Leuchtendes Gelb/Gold (wie Kisten/CTA) */
    --color-text: #333333;
    --color-background: #ffffff;
    --color-light-bg: #f5f5f5; /* Leicht gebrochenes Weiß */
}

/* ---- GRUNDSTYLING & TYPOGRAFIE ---- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Open Sans', sans-serif; /* Fließtext */
    color: var(--color-text);
    background-color: var(--color-background);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
}

/* ---- ÜBERSCHRIFTEN (Poppins) ---- */
h1, h2, h3 {
    font-family: 'Poppins', sans-serif;
    color: var(--color-primary);
    line-height: 1.2;
    margin-bottom: 15px;
}

h1 {
    font-size: 2.5em;
    font-weight: 700;
}

h2 {
    font-size: 2em;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
}

/* ---- CTA BUTTONS (Gelb) ---- */
.cta-button {
    display: inline-block;
    background-color: var(--color-accent);
    color: var(--color-primary); /* Kontrastreicher Text auf Gelb */
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.1em;
    padding: 15px 30px;
    border-radius: 8px; /* Abgerundete Ecken */
    text-decoration: none;
    transition: background-color 0.3s, transform 0.2s;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    background-color: #ffb800; /* Dunklerer Gelb-Ton beim Hover */
    transform: translateY(-2px);
}

/* ---------------------------------------------------- */
/* ---- 1. STICKY HEADER (NAV BAR) - WEISS ---- */
/* ---------------------------------------------------- */
.main-header {
    background-color: var(--color-background); /* HINTERGRUND auf Weiß */
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Leichter Schatten für Abgrenzung */
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

/* Logo Bereich */
.logo-box a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.4em;
    color: var(--color-primary); /* TEXT auf Dunkelblau ändern */
}

/* Navigations-Links */
.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-text); /* LINKS auf dunkle Textfarbe ändern */
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--color-accent); /* Hover bleibt Gelb */
}

/* Kontakt CTA (Telefonnummer) */
.contact-info {
    font-family: 'Poppins', sans-serif;
}

.phone-cta {
    text-decoration: none;
    color: var(--color-primary); /* Nummer auf Dunkelblau ändern, da Hintergrund weiß ist */
    font-weight: 700;
    font-size: 1.1em;
    display: flex;
    align-items: center;
    padding: 5px 10px;
    border: 2px solid var(--color-accent); /* Gelber Rahmen als Akzent */
    border-radius: 5px;
}

.phone-icon {
    font-size: 1.2em;
    margin-right: 5px;
    color: var(--color-accent); /* Icon bleibt Gelb */
}

/* ---------------------------------------------------- */
/* ---- MEDIA QUERIES (Mobile Optimierung für Header) ---- */
/* ---------------------------------------------------- */
@media (max-width: 900px) {
    /* Header Mobile Anpassungen */
    .header-container {
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links {
        display: none;
    }

    .logo-box {
        margin-bottom: 10px;
        flex-grow: 1;
        justify-content: center;
        text-align: center;
    }

    .contact-info {
        order: 3;
        width: 100%;
        margin-top: 10px;
    }

    .phone-cta {
        justify-content: center;
        font-size: 1em;
        border: none; /* Auf Mobilgeräten Rahmen entfernen, um Platz zu sparen */
    }

    /* ... der Rest der Media Query bleibt gleich ... */
}
/* ---------------------------------------------------- */
/* ---- 2. HERO SEKTION (Ohne Logo) ---- */
/* ---------------------------------------------------- */
.hero {
    background-color: var(--color-primary);
    color: var(--color-background);
    padding: 80px 0;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 0 40px;

}

.hero-content {
    flex: 2;
    /* Angepasst: Nimmt jetzt 70% des Platzes ein, wenn das Bild 30% einnimmt */
    flex-basis: 70%;
    max-width: 70%; /* Stellt sicher, dass es nicht überläuft */
}

.hero h1 {
    color: var(--color-accent);
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
    font-weight: 300;
}

.hero-image {
    flex: 1; /* Nimmt den restlichen Platz ein, wird aber durch flex-basis gesteuert */
    text-align: right;
    flex-basis: 30%; /* Setzt die Breite des Bildcontainers auf 30% */
    max-width: 30%; /* Stellt sicher, dass es nicht überläuft */

}

.hero-image img {
    max-width: 100%; /* Das Bild soll maximal die Breite seines Containers einnehmen */
    height: auto;
    display: block; /* Entfernt zusätzlichen Platz unter dem Bild */
    border-radius: 10px;
    border: 5px solid var(--color-accent);
}

/* ---------------------------------------------------- */
/* ---- 3. TRUST SEKTION / VORTEILE ---- */
/* ---------------------------------------------------- */
.trust-section {
    background-color: var(--color-light-bg);
    padding: 60px 0;
}

.advantages {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    text-align: center;
}

.advantage-item {
    background-color: var(--color-background);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    flex: 1;
    border: 2px solid var(--color-accent);
}

.advantage-item h3 {
    color: var(--color-primary);
    font-size: 1.3em;
}

.icon {
    display: block;
    font-size: 2.5em;
    margin-bottom: 15px;
}


/* ---------------------------------------------------- */
/* ---- 4. SPEZIALLEISTUNGEN ---- */
/* ---------------------------------------------------- */
.services-section {
    padding: 60px 0;
    background-color: var(--color-background);
}

.services-section h2 {
    margin-bottom: 10px;
}

.services-section .subtext {
    text-align: center;
    margin-bottom: 50px;
    font-style: italic;
    color: #666;
}

.service-categories {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    text-align: left;
    margin-bottom: 40px;
}

.category {
    flex: 1;
    padding: 20px;
    border-top: 5px solid var(--color-accent);
    background-color: var(--color-light-bg);
    border-radius: 5px;
}

.category h3 {
    font-size: 1.2em;
    color: var(--color-primary);
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 8px;
    margin-bottom: 15px;
    font-weight: 700;
}

.category ul {
    list-style: none;
    padding: 0;
}

.category li {
    padding: 5px 0;
    font-size: 1.0em;
}

.bullet {
    color: var(--color-accent);
    margin-right: 8px;
    font-weight: 700;
}

.service-cta {
    text-align: center;
    margin-top: 20px;
}

/* ---------------------------------------------------- */
/* ---- 5. ÜBER UNS / GESCHICHTE ---- */
/* ---------------------------------------------------- */
.about-section {
    background-color: var(--color-background);
    padding: 80px 0 60px 0;
}

.about-section h2 {
    margin-bottom: 50px;
}

.about-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.about-image {
    flex: 0 0 250px;
    text-align: center;
}

.manager-photo {
    width: 100%;
    height: auto;
    border-radius: 50%;
    border: 5px solid var(--color-accent);
    object-fit: cover;
    margin-bottom: 10px;
}

.manager-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--color-primary);
    line-height: 1.4;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 1.6em;
    color: var(--color-accent);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 15px;
}

.final-message {
    font-weight: 600;
    margin-top: 25px;
    color: var(--color-primary);
}


/* ---------------------------------------------------- */
/* ---- 6. KONTAKT / FORMULAR ---- */
/* ---------------------------------------------------- */
.contact-form-section {
    padding: 60px 0;
}

.contact-form-section .subtext {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.1em;
}

.contact-form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--color-light-bg);
    padding: 40px;
    border-radius: 10px;
    border: 5px solid var(--color-accent);
}

.form-group {
    flex: 1 1 calc(50% - 10px);
}

.form-group.full-width {
    flex: 1 1 100%;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--color-primary);
    font-family: 'Poppins', sans-serif;
}

input[type="text"],
input[type="email"],
input[type="date"],
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1em;
}

textarea {
    resize: vertical;
}

.submit-button {
    width: 100%;
    margin-top: 10px;
}

/* ---------------------------------------------------- */
/* ---- 7. FOOTER ---- */
/* ---------------------------------------------------- */
footer {
    background-color: var(--color-primary);
    color: #ffffff;
    padding: 20px 0;
    font-size: 0.9em;
}

footer .container {
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-info {
    padding-left: 20px;
}

.footer-nav {
    padding-right: 20px;
}

.footer-nav a {
    color: #ffffff;
    text-decoration: none;
    margin-left: 15px;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: var(--color-accent);
}


/* ---------------------------------------------------- */
/* ---- MEDIA QUERIES (Mobile Optimierung) ---- */
/* ---------------------------------------------------- */
@media (max-width: 900px) {

    /* --- Header Mobile Anpassungen --- */
    .header-container {
        /* Zurück zur Flex-Anordnung, um Telefonnummer links und Menü rechts zu steuern */
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
        padding: 0 15px;
    }

    .logo-box {
        /* Logo behält seine Position in der Mitte oder links */
        flex-grow: 1;
        justify-content: flex-start;
        margin-bottom: 0;
        text-align: left;
    }

    .logo-box a {
        /* Logo auf Mobilgeräten etwas kleiner */
        gap: 5px;
    }

    .logo-img {
        height: 30px;
    }

    .logo-text {
        font-size: 1.1em;
    }

    .nav-links {
        /* Desktop-Navigation auf Mobile verstecken */
        display: none;
    }

    /* Mobile Toggle Area für Telefon und Menü-Icon */
    .contact-info {
        display: flex;
        align-items: center;
        order: 3; /* Sorgt dafür, dass es rechts positioniert wird */
        width: auto;
        margin-top: 0;
    }

    .phone-cta {
        /* Telefonnummer Links */
        justify-content: flex-start;
        font-size: 0.9em;
        font-weight: 600;
        padding: 0;
        border: none;
        color: var(--color-primary); /* Textfarbe wie im weißen Header */
        /* Die Telefonnummer selbst wird jetzt links der Nav platziert */
        display: block;
    }

    .phone-icon {
        margin-right: 2px;
    }

    .hamburger-icon {
        /* Hamburger Icon rechts platzieren */
        display: block;
        background: none;
        border: none;
        font-size: 1.5em;
        cursor: pointer;
        color: var(--color-primary);
        margin-left: 15px; /* Abstand zur Telefonnummer */
        order: 4;
    }

    /* --- Hero Sektion Mobile --- */
    @media (max-width: 900px) {

        /* ... (Code für den Header bleibt hier unverändert) ... */

        /* --- Hero Sektion Mobile --- */
        .hero .container {
            flex-direction: column;
            text-align: center;
            padding: 40px 20px;
        }

        .hero-content {
            flex-basis: 100%;
            max-width: 100%;
            order: 2;
        }

        .hero-image {
            /* WICHTIG: Das Hero-Bild (LKW) auf Mobile ausblenden */
            display: none;

            /* Die folgenden Eigenschaften sind nun nicht mehr nötig,
               aber lassen Sie sie für den Fall, dass Sie es später
               doch wieder einblenden wollen, können sie hier gelöscht werden */
            /* order: 1;
            margin-bottom: 0;
            flex-basis: 0;
            max-width: 0; */
        }

    /* ... (Restliche Sektionen wie gehabt für Mobile) ... */
    .advantages, .service-categories, .about-content, .form-group, footer .container {
        flex-direction: column;
        text-align: center;
    }

    .about-text {
        text-align: left; /* Beibehaltung der Lesbarkeit für längere Texte */
    }

    .footer-nav {
        margin-top: 10px;
        padding-right: 0;
    }
    .footer-info {
        padding-left: 0;
    }
    .footer-nav a {
        margin: 0 5px;
    }
}

/* Verstecken des Hamburger-Icons auf Desktop */
.hamburger-icon {
    display: none;
}