/* ============================================================
   1. GRUNDKONFIGURATION & LAYOUT
   ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    overflow-x: hidden;
    width: 100%;
}

section {
    padding: 60px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    text-transform: uppercase;
    color: rgb(13, 26, 54);
}

/* ============================================================
   2. NAVIGATION (DESKTOP)
   ============================================================ */
.navbar {
    background-color: rgb(13, 26, 54);
    height: 80px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
}

.logo img {
    height: 35px;
    max-width: 100%;
    object-fit: contain;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: rgb(250, 250, 248);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: 0.3s;
    text-transform: uppercase;
}

.nav-links a:hover {
    color: #ff4d4d;
}

/* Burger Button (PC versteckt) */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle .bar {
    width: 30px;
    height: 3px;
    background-color: rgb(251, 250, 250);
    box-shadow: 0 0 2px rgba(0,0,0,0.5);
    transition: 0.4s;
}

/* ============================================================
   3. HERO & INHALT
   ============================================================ */
.hero {
    position: relative;
    width: 100%;
    height: 90vh;
    min-height: 400px;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
    .hero svg {
        position: absolute;
        /* Position auf der Motorhaube für Desktop */
        top: 25%; 
        left: 50.5%; 
        transform: translate(-50%, -50%);
        width: 350px; /* Größe Desktop */
        height: auto;
        z-index: 10;
        filter: drop-shadow(0px 2px 5px rgba(0,0,0,0.7));
    }

    /* --- MOBILE OPTIMIERUNG (HANDY) --- */
    @media (max-width: 768px) {
        .hero svg {
            /* Auf dem Handy ist das Bild schmaler, 
               daher passen wir Größe und Position an */
            width: 100px important;   /* Kleineres Logo für kleine Bildschirme */
            top: 26%;     /* Leicht verschobene Höhe für die Perspektive */
            left: 51%;    /* Zentrierung korrigiert */
        }

        .hero-text h1 {
            font-size: 1.2rem; /* Textgröße für Handy anpassen */
            padding: 0 10px;
        }
    }

    /* --- ANIMATIONS LOGIK (UNVERÄNDERT) --- */
@keyframes drawLogo {
    0% { 
        stroke-dashoffset: 40000; 
        fill-opacity: 0; 
    }
    /* Phase 1: Linien werden gezeichnet */
    30% { 
        stroke-dashoffset: 0; 
        fill-opacity: 0; 
    }
    /* Phase 2: Logo füllt sich mit Farbe */
    45% { 
        stroke-dashoffset: 0; 
        fill-opacity: 1; 
    }
    /* Phase 3: Logo bleibt kurz voll sichtbar */
    60% { 
        stroke-dashoffset: 0; 
        fill-opacity: 1; 
    }
    /* Phase 4: Farbe verschwindet wieder */
    75% { 
        stroke-dashoffset: 0; 
        fill-opacity: 0; 
    }
    /* Phase 5: Linien "ziehen" sich zum Endpunkt hin weg */
    100% { 
        stroke-dashoffset: -40000; 
        fill-opacity: 0; 
    }
}

.fil0, .fil1, .fil2, .fil3 { 
    /* Höhere Stroke-Width für einen deutlicheren Zeichen-Effekt */
    stroke-width: 45px; 
    stroke-dasharray: 40000; 
    /* Startposition */
    stroke-dashoffset: 40000; 
    /* 6-7 Sekunden wirken meist edler als 5 */
    animation: drawLogo 9s ease-in-out infinite;
}

/* Farben aus deinem Original-Code */
.fil0 { stroke: #27416B; fill: #FEFEFE; }
.fil1 { stroke: #FEFEFE; fill: #27416B; }
.fil2 { stroke: #FEFEFE; fill: #CE312F; }
.fil3 { stroke: #FEFEFE; fill: #27416B; }

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: 250px;
    transform: translate(-50%, -50%);
    width: 80%;
    text-align: center;
    color: white;
}

.hero-text h1 {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    font-weight: 300;
    text-transform: uppercase;
    text-shadow: 2px 2px 15px rgba(0,0,0,0.7);
    font-family: Arial, sans-serif;
    margin-bottom: 50px;
    margin: 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: rgb(252, 252, 251);
    padding: 40px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
}

/* Kontakt */
.kontakt-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.content-box {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.map-container {
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
}

.contact-actions {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.whatsapp-btn, .route-btn {
    padding: 12px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    color: white;
    transition: 0.3s;
}

.whatsapp-btn { background-color: #25D366; }
.route-btn { background-color: rgb(13, 26, 54); }

.whatsapp-btn:hover, .route-btn:hover { background-color: #ff4d4d; }

.qr-img {
    width: 90px;
    height: 90px;
    margin-top: 10px;
    border: 1px solid #ddd;
    padding: 5px;
    background: white;
}
.qr-text { font-size: 10px; color: #666; margin-top: 5px; }


/* Galerie */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-item {
    border-radius: 8px;
    height: 250px;
    overflow: hidden;
    background: #000;
}

.gallery-item img, .gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================================
   4. RESPONSIVE DESIGN (MOBIL)
   ============================================================ */
@media (max-width: 768px) {
    
    /* Burger Button anzeigen und nach rechts schieben */
    .menu-toggle { 
        display: flex;
        outline: none;
        border: none; 
        order: 3; /* Platziert ihn ganz rechts im Container */
        background-color: rgb(13, 26, 54);
        position: relative;
        z-index: 1001;
        
    }

    /* Burger-Animation zum X (Korrekt berechnet auf 8px) */
    .menu-toggle.is-open .bar:nth-child(1) { 
        transform: translateY(8px) rotate(45deg); 
    }
    .menu-toggle.is-open .bar:nth-child(2) { 
        opacity: 0; 
    }
    .menu-toggle.is-open .bar:nth-child(3) { 
        transform: translateY(-8px) rotate(-45deg); 
    }

    /* Mobile Menü Liste */
    .nav-links {
        display: flex; /* Versteckt, wenn nicht aktiv */
        position: fixed;
        right: -100%;
        top: 80px;
        flex-direction: column;
        background-color: rgb(131, 141, 164);
        width: 100%;
        height: calc(100vh - 80px);
        transition: 0.3s ease-in-out;
        text-align: center;
        padding-top: 50px;
        z-index: 999;
    }

    /* Wenn Menü geöffnet ist */
    .nav-links.active { 
        display: flex; 
        right: 0; 
    }

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

    /* Layout Anpassungen für Mobile */
    .about-layout, 
    .kontakt-container { 
        grid-template-columns: 1fr; 
        text-align: center;
    }

    .map-container { 
        height: 300px; 
    }

    .qr-container { 
        display: none; 
    }

    .contact-actions { 
        flex-direction: column; 
        gap: 10px;
    }
}

/* Querformat am Handy */
@media (max-height: 500px) and (orientation: landscape) {
    .hero { height: 100vh; }
    .nav-links { 
        overflow-y: auto; 
        padding-top: 20px; 
    }
}
       /* Über mich - Design ohne Rahmen */
        .about-section {
            background-color: #fafdfa;
        }
        
        .about-wrapper {
            display: flex;
            align-items: center;
            gap: 50px;
            max-width: 1100px;
            margin: 0 auto;
        }

        .about-image-container {
            flex: 1;
        }

        .about-image-container img {
            width: 100%;
            height: auto;
            border-radius: 15px;
            display: block;
            box-shadow: 0 10px 25px rgba(0,0,0,0.1); /* Dezenter Schatten statt Rahmen */
        }

        .about-text {
            flex: 1.2;
        }

        .about-text h2 {
            font-size: 2.2rem;
            color: #0d1a36;
            margin-bottom: 25px;
            position: relative;
        }

        .about-text h2::after {
            content: "";
            display: block;
            width: 60px;
            height: 3px;
            background: #0d1a36;
            margin-top: 10px;
        }

        .about-text p {
            line-height: 1.8;
            font-size: 1.1rem;
            color: #444;
            margin-bottom: 15px;
        }

        /* Design für klickbare Service-Karten */
        .service-link { text-decoration: none; color: inherit; display: block; transition: transform 0.3s; }
        .service-link:hover { transform: translateY(-5px); }
        .service-card { 
            background: #fff; border: 1px solid #ddd; border-radius: 12px; 
            padding: 25px; text-align: center; height: 100%; transition: all 0.3s;
        }
        .service-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.1); border-color: #0d1a36; }
        .service-icon-img { width: 100%; max-width: 250px; height: 180px; object-fit: contain; margin-bottom: 20px; border-radius: 8px; }

        /* Slider Styling */
        .comparison-slider { position: relative; height: 300px; overflow: hidden; border-radius: 10px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
        .image-before { position: absolute; top: 0; left: 0; height: 100%; width: 50%; border-right: 3px solid white; z-index: 2; background-size: cover; background-position: center; }
        .image-after { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; }
        .slider-input { position: absolute; inset: 0; opacity: 0; z-index: 10; cursor: ew-resize; width: 100%; }

        @media (max-width: 900px) {
            .about-wrapper { flex-direction: column; gap: 40px; }
            .about-image-container { max-width: 400px; margin: 0 auto; }
            .about-text { text-align: center; }
            .about-text h2::after { margin: 10px auto; }
            .hero-text h1 { font-size: 1.6rem; }
            .comparison-grid, .services-grid { grid-template-columns: 1fr !important; }
            .kontakt-container { flex-direction: column; }
        }
        /* Verhindert horizontales Scrollen auf Mobile */
body {
    overflow-x: hidden;
    width: 100%;
}
/* ============================================================
   Style  (Pricelist)
   ============================================================ */
        .price-page-wrapper {
            padding: 40px 5%;
            max-width: 1000px;
            margin: 0 auto;
        }
        .price-intro {
            text-align: center;
            margin-bottom: 50px;
        }
        .service-section {
            background: white;
            margin-bottom: 40px;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            border: 1px solid #eee;
        }
        .section-header {
            background-color: rgb(13, 26, 54);
            color: white;
            padding: 18px 25px;
            margin: 0;
            font-size: 1.3rem;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        .price-table {
            width: 100%;
            border-collapse: collapse;
        }
        .price-table tr {
            border-bottom: 1px solid #f1f1f1;
            transition: background 0.2s;
        }
        .price-table tr:hover { background-color: #fafafa; }
        .price-table td {
            padding: 18px 25px;
            vertical-align: middle;
        }
        .service-name {
            font-weight: 600;
            color: #222;
        }
        .service-desc {
            display: block;
            font-size: 0.85rem;
            color: #666;
            font-weight: normal;
            margin-top: 5px;
            line-height: 1.4;
        }
        .surcharge-note {
            display: block;
            font-size: 0.8rem;
            color: #444;
            font-weight: bold;
            margin-top: 3px;
        }
        .service-price {
            text-align: right;
            font-weight: 800;
            color: rgb(205, 41, 39);
            white-space: nowrap;
            font-size: 1.1rem;
        }
        @media (max-width: 600px) {
            .price-table td { padding: 15px; }
            .service-price { font-size: 1rem; }
        }
/* Zentriertes Layout für "Über mich" */
.content-box-centered {
    max-width: 950px;
    margin: 0 auto;
    text-align: center;
    background: white;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
}

.about-text-normal {
    max-width: 800px;
    margin: 0 auto;
    text-align: left; /* Hier wird der Text ganz normal linksbündig */
    line-height: 1.8;
    color: #444;
}

.about-image-large {
    text-align: center; /* Hält das Bild mittig */
    margin-bottom: 30px;
}

.about-image-large img {
    width: 100%;
    max-width: 650px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}


.name-highlight {
    font-weight: bold;
    font-size: 1.4rem;
    color: rgb(13, 26, 54);
    margin-bottom: 20px;
}

.final-statement {
    font-style: italic;
    font-weight: 600;
    margin-top: 20px;
    color: #0d1a36;
}

/* Anpassung für mobile Geräte */
@media (max-width: 768px) {
    .content-box-centered {
        padding: 30px 20px;
    }
}
/* --- Footer Links (Impressum & Datenschutz) --- */

/* Standardfarbe auf Weiß setzen */
.footer-legal a {
    color: rgb(249, 249, 251); /* Das Weiß/Hellgrau aus Ihrem Footer */
    text-decoration: none;
    transition: color 0.3s; /* Weicher Übergang */
}

/* Hover-Effekt auf Rot setzen */
.footer-legal a:hover {
    color: rgb(205, 41, 39); /* Das Rot aus Ihrem Hauptmenü */
}
.footer-legal p {
    font-weight: normal !important; 
}