/* =========================
   1. VARIABLEN & GRUNDEINSTELLUNGEN
========================= */
:root {
    /* Markenfarben */
    --brand-petrol: #0F2F40;
    --brand-copper: #6D4C33;
    --brand-cream: #F2EFE9;
    --brand-grey: #9C948B;

    --primary-color: var(--brand-copper);
    --primary-hover: #8a6246;
    --dark-bg: var(--brand-petrol);
    --footer-bg: #0b222e;
    --light-bg: var(--brand-cream);
    --text-color: var(--brand-petrol);
    --text-light: var(--brand-grey);
    --white: #ffffff;
    --border-radius: 12px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);

    /* Typografie */
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Barlow', sans-serif;
}

* { 
    box-sizing: border-box; 
}

html { 
    scroll-behavior: smooth; 
    font-size: 16px; 
}

body {
    font-family: var(--font-body);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

/* =========================
   2. TYPOGRAFIE & LAYOUT-BASIS
========================= */
h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--dark-bg);
    margin-top: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}
h1, h2 {
    color: var(--brand-petrol) !important;
}



h1 { font-size: 4rem; line-height: 1.1; margin-bottom: 1.5rem; }
h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
h3 { font-size: 1.4rem; margin-bottom: 0.75rem; }

section { 
    padding: 100px 0; 
}

.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 20px; 
    margin-top: 35px;
}

.text-center { 
    text-align: center; 
}

.sub-headline {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.lead { 
    font-size: 1.25rem; 
    font-weight: 500; 
    color: var(--dark-bg); 
    margin-bottom: 1.5rem; 
}

/* =========================
   3. HEADER & NAVIGATION
========================= */
header {
    background-color: var(--white);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between; /* Logo links, Nav rechts */
    align-items: center;
    max-width: 1200px; /* Gleiche Breite wie der restliche Content */
    margin: 0 auto;
    padding: 10px 20px;
}

.about-image img { 
    max-width: 160px; 
    height: auto; 
    display: block; 
}

nav { 
    display: flex; 
    align-items: center; 
    gap: 25px; 
    margin-left: auto;
}

nav a {
    margin-left: 0 !important;
    color: var(--dark-bg);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    position: relative;
    transition: color 0.3s;
}

nav a:not(.nav-btn)::after {
    content: '';
    position: absolute;
    bottom: -5px; 
    left: 0;
    width: 0; 
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s;
}

nav a:not(.nav-btn):hover::after { 
    width: 100%; 
}

.nav-btn {
    background: var(--primary-color);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 4px;
}

.nav-btn:hover { 
    background: var(--primary-hover); 
    transform: translateY(-2px); 
}

/* =========================
   4. HERO SEKTION
========================= */
#hero {
    background-image: url('https://images.unsplash.com/photo-1571068316344-75bc76f77890?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    height: 90vh;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(rgba(114, 114, 114, 0.4), rgba(15, 47, 64, 0.4)), /* Dein aktuelles Blau-Overlay */
        linear-gradient(to bottom, transparent 85%, #ffffff 99%);
    z-index: 1;
}

.hero-content { 
    width: 100%; 
    z-index: 2; 
    position: relative;
}

.hero-content h1 { 
    color: var(--white); 
    text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.39); 
}

.hero-content p {
    font-size: 1.4rem;
    text-shadow: 1px 1px 10px rgba(0,0,0,0.5);
}

.hero-buttons {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Container für die Pfeile */
.scroll-arrow-container {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

/* Die einzelnen Pfeile */
.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 3px solid var(--white); /* Farbe der Pfeile */
    border-bottom: 3px solid var(--white);
    transform: rotate(45deg);
    margin: -10px;
    animation: scroll-fade 2s infinite;
}

/* Zeitversetzung für den Wellen-Effekt */
.scroll-arrow:nth-child(2) {
    animation-delay: 0.2s;
}

.scroll-arrow:nth-child(3) {
    animation-delay: 0.4s;
}

/* Die Animation: Einblenden, Bewegen, Ausblenden */
@keyframes scroll-fade {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-10px, -10px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(45deg) translate(10px, 10px);
    }
}

/* =========================
   5. BUTTONS & KONTAKT-LINKS
========================= */
.btn {
    display: inline-block;
    padding: 18px 36px;
    font-family: var(--font-heading);
    font-size: 16px;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.3s;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary { 
    background: var(--primary-color); 
    color: var(--white); 
    border: 2px solid var(--primary-color); 
}

.btn-primary:hover { 
    background: transparent; 
    color: var(--white); 
    border-color: var(--white); 
}

.btn-outline { 
    background: transparent; 
    color: var(--white); 
    border: 2px solid var(--white); 
}

.btn-outline:hover { 
    background: var(--white); 
    color: var(--dark-bg); 
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 35px;
    margin-bottom: 35px;
}

.buttons a {
    padding: 15px 30px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    font-family: var(--font-heading);
    transition: 0.3s;
    text-decoration: none;
}

.whatsapp { 
    background-color: #25D366 !important; 
    color: white !important; 
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.email { 
    background-color: var(--primary-color) !important; 
    color: white !important; 
    box-shadow: 0 4px 14px rgba(109, 76, 51, 0.3);
}

.whatsapp:hover, .email:hover { 
    transform: translateY(-3px) scale(1.05); 
    opacity: 0.9;
}

/* =========================
   6. SERVICES & PREISE & REVIEWS (GRID)
========================= */
.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.price-card {
    background: var(--white);
    border: 2px solid #eee;
    border-radius: var(--border-radius);
    padding: 50px 35px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; 
    gap: 20px; 
    transition: all 0.3s ease;
    min-height: 320px;
}

.price-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
}

.price-card h3 {
    color: var(--brand-petrol);
    margin-bottom: 15px;
}

.price-card p {
    color: #000000 !important;
    opacity: 1; 
}

.price-card .price {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-family: var(--font-heading);
    margin: 20px 0;
}

/* Spezifisch für die Service-Sektion mit Bild */
#services {
    background: 
        /* 1. Ebene: Übergang von oben (Dunkelblau) nach unten (transparent) */
        linear-gradient(to bottom, var(--brand-petrol) 0%, transparent 20%),
        /* 2. Ebene: Dein kräftiges Petrol-Overlay */
        linear-gradient(rgba(159, 159, 159, 0.429), rgba(15, 47, 64, 0.8)),
        /* 3. Ebene: Das Werkstatt-Bild */
        url("bilder/service.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Optional: Erzeugt einen coolen Parallax-Effekt */
    padding: 100px 0;
    color: var(--white);
}
#services h2 {
    color: var(--brand-petrol) !important; /* Setzt die Farbe auf dein Braun/Kupfer */
    
    /* Falls du den Text-Schatten behalten oder anpassen willst: */
    text-shadow: 2px 2px 1px rgba(0, 0, 0, 0.3), 
                 2px 2px 25px rgba(0, 0, 0, 0.2); 
}
#services h2, #services .text-center > p { 
    color: var(--white); 
    /* Beide Schatten kombiniert: erst der harte Akzent, dann das weiche Glühen */
    text-shadow: 1px 1px 4px rgba(4, 4, 4, 0.14), 
                 2px 2px 4px rgba(8, 8, 8, 0.292); 
}
#services p, #services .text-center > p { color: var(--white); text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.27); }

#services .sub-headline { color: var(--brand-cream); }

/* Strich unter Titel in Service-Karten */
#services .price-card h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--brand-copper);
    margin: 10px auto 0;
}

/* Spezifisch für Kundenstimmen */
#reviews {
    background-color: var(--brand-cream);
}

#reviews .price-card {
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* =========================
   7. ÜBER MICH (ABOUT)
========================= */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
}

.about-text { 
    text-align: left; 
}

.about-imagelogo img { 
    max-width: 100%; 
    border-radius: var(--border-radius); 
    box-shadow: 30px 30px 0px var(--brand-cream);
    transition: 0.5s ease;
}

.about-imagelogo img:hover {
    transform: scale(1.02);
}


/* =========================
   PARTNER SEKTION
========================= */
#partners {
    background-color: var(--white);
    padding: 100px 0;
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 50px;
    align-items: center;
}

.partner-item {
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease;
}

.partner-item:hover {
    transform: translateY(-5px);
}

/* Container für das Logo-Bild */
.partner-item .logo-wrapper {
    height: 90px;         /* Festgelegte Höhe für alle Logo-Bereiche */
    display: flex;         /* Ermöglicht Zentrierung */
    align-items: center;   /* Zentriert das Logo vertikal */
    justify-content: center; /* Zentriert das Logo horizontal */
    margin-bottom: 40px;   /* Abstand zur Überschrift */
}

.partner-item img {
    max-height: 80px;      /* Begrenzt die Höhe der Logos innerhalb des Rahmens */
    max-width: 180px;      /* Begrenzt die Breite */
    width: auto;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.partner-item h3 {
    color: var(--brand-petrol);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.partner-item p {
    font-size: 0.95rem;
    color: var(--text-color);
}

/* =========================
   8. FOOTER & MAP
========================= */
footer {
    background-color: var(--footer-bg);
    color: var(--brand-grey);
}

.footer-map {
    width: 100%;
    line-height: 0;
    filter: grayscale(0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
    justify-items: center;
}

.footer-col h3 { 
    color: var(--white); 
    border-bottom: 2px solid var(--primary-color); 
    padding-bottom: 10px; 
    margin-bottom: 25px;
    width: fit-content;
}

.footer-col p {
    margin-bottom: 10px;
}

.copyright, .Impressum {
    text-align: center;
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.9rem;
}

.Impressum { 
    display: flex; 
    justify-content: center; 
    gap: 30px; 
}

.Impressum a {
    color: var(--brand-grey) !important;
    text-decoration: none;
    transition: 0.3s;
}

.Impressum a:hover { 
    color: var(--white) !important; 
}

/* =========================
   9. MOBILE ANPASSUNGEN
========================= */
@media (max-width: 768px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2rem; }
    
    section { padding: 60px 0; }

    .about-grid { 
        grid-template-columns: 1fr; 
        gap: 40px;
        text-align: center; 
    }

    .about-text { text-align: center; }

    nav { display: none; } /* Navigation für Mobile ausblenden (Burger-Menü empfohlen) */

    .hero-buttons, .buttons { 
        flex-direction: column; 
        align-items: center;
    }
    
    .btn, .buttons a {
        width: 100%;
        max-width: 300px;
    }

    .about-imagelogo img {
        box-shadow: 15px 15px 0px var(--brand-cream);
    }
}