/* Farbpalette: Türkis (#00C4B5) und Schwarz (#111111) */
:root {
    --primary-color: #00C4B5;
    --primary-dark: #009B8F;
    --black: #111111;
    --dark-gray: #222222;
    --light-gray: #f4f4f4;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* --- BILD-OPTIMIERUNG (SCHÄRFE & KONTRAST) --- */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    transform: translateZ(0);
}

.hero picture img, .service-card picture img {
    filter: contrast(1.08) saturate(1.05);
}
/* -------------------------------------------------- */

body {
    background-color: var(--white);
    color: var(--black);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Sorgt dafür, dass der Footer immer unten bleibt */
}

h1, h2, h3, h4 { color: var(--black); }
.text-turq { color: var(--primary-color); }
.bg-black { background-color: var(--black); color: var(--white); }
.bg-turq { background-color: var(--primary-color); color: var(--black); }
.bg-light { background-color: var(--light-gray); }

/* Header & Navigation */
header {
    background-color: var(--black);
    color: var(--white);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.logo-img { height: 40px; width: auto; }
.logo-text { font-size: 1.5rem; font-weight: bold; color: var(--primary-color); }

.main-nav { display: flex; gap: 15px; }
.main-nav a { color: var(--white); text-decoration: none; font-weight: bold; transition: color 0.3s; }
.main-nav a:hover { color: var(--primary-color); }

.header-phone { font-size: 1.2rem; font-weight: bold; color: var(--white); text-decoration: none; }
.header-phone span { color: var(--primary-color); }

/* Hero Section */
.hero {
    position: relative;
    text-align: center;
    color: var(--white);
    background-color: var(--black);
    overflow: hidden;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero picture img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    z-index: 0;
}
.hero-content {
    position: relative;
    z-index: 1;
    width: 90%;
    max-width: 800px;
}
.hero h1 { font-size: 2.5rem; margin-bottom: 1rem; color: var(--white); text-shadow: 2px 2px 4px rgba(0,0,0,0.8); }
.hero p { font-size: 1.2rem; text-shadow: 1px 1px 3px rgba(0,0,0,0.8); }

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--black);
    padding: 15px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    font-size: 1.2rem;
    margin-top: 20px;
    transition: background 0.3s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}
.btn:hover { background-color: var(--primary-dark); color: var(--white); }
/* --- ZURÜCK-BUTTON (Dezenteres Design) --- */
.btn-back {
    display: inline-block;
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    font-size: 1rem;
    transition: background 0.3s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.btn-back:hover {
    background-color: var(--black);
    color: var(--primary-color);
}

/* Sections */
section { padding: 4rem 5%; flex-grow: 1; }
.section-title { text-align: center; font-size: 2rem; margin-bottom: 2rem; }

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.service-card {
    background: var(--light-gray);
    border-top: 4px solid var(--primary-color);
    padding: 20px;
    text-align: center;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    color: var(--black);
}
.service-card picture {
    margin-bottom: 15px;
    height: 200px;
    overflow: hidden;
    border-radius: 5px;
}
.service-card picture img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.3s ease;
}
.service-card:hover picture img { transform: scale(1.05); }
.service-card h3 { margin-bottom: 10px; color: var(--black); }

/* SEO Text Content */
.seo-content { max-width: 900px; margin: 0 auto; }
.seo-content p { margin-bottom: 15px; }
.seo-content h3 { margin-top: 30px; margin-bottom: 15px; color: var(--primary-color); }
.seo-content ul { margin-bottom: 15px; padding-left: 20px; }
.seo-content li { margin-bottom: 5px; }

/* FAQ Akkordeon */
.faq-container { max-width: 800px; margin: 0 auto; }
details {
    background-color: var(--white);
    margin-bottom: 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
summary {
    padding: 15px 20px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    list-style: none;
    position: relative;
    outline: none;
}
summary::-webkit-details-marker { display: none; }
summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: normal;
}
details[open] summary::after { content: '−'; }
details p { padding: 0 20px 20px 20px; color: #444; }

/* Hersteller */
.brands-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}
.brand-item {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: bold;
    border: 1px solid var(--primary-color);
}

/* Formular */
form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
input, textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--light-gray);
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}
input:focus, textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}
button[type="submit"] {
    border: none;
    cursor: pointer;
    width: 100%;
}

/* Danke-Seite Extra */
.thank-you-section {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem 5%;
}
.thank-you-section h1 { font-size: 2.5rem; margin-bottom: 1rem; }
.thank-you-section p { font-size: 1.2rem; max-width: 600px; margin-bottom: 2rem; }

/* Rechtliche Seiten (Impressum, Datenschutz) Extra */
.legal-content { max-width: 800px; margin: 40px auto; padding: 0 20px; flex-grow: 1; }
.legal-content h1, .legal-content h2, .legal-content h3 { color: var(--primary-color); margin-top: 30px; margin-bottom: 15px; }

/* Footer */
footer {
    background-color: var(--black);
    color: var(--white);
    text-align: center;
    padding: 2rem 5%;
    border-top: 3px solid var(--primary-color);
    margin-top: auto; /* Drückt den Footer immer nach unten */
}
footer a { color: var(--primary-color); text-decoration: none; }

/* Floating Icons */
/* Floating Icons */
.floating-icons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px; /* Etwas mehr Abstand, damit sie beim Pulsieren nicht zusammenstoßen */
    z-index: 10000;
}

/* Die pulsierende Animation definieren */
@keyframes pulse-animation {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.4);
    }
    50% {
        transform: scale(1.08); /* Wird etwas größer */
        box-shadow: 0 0 0 12px rgba(0, 0, 0, 0); /* Schatten verblasst nach außen */
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: var(--white);
    /* Animation aktivieren: 2 Sekunden Dauer, unendlich wiederholend */
    animation: pulse-animation 2s infinite ease-in-out; 
    transition: transform 0.3s;
}

/* Hover-Effekt (wenn der Kunde mit der Maus drüberfährt, hört das Pulsieren auf und der Button wird groß) */
.float-btn:hover {
    animation: none;
    transform: scale(1.15);
}

.float-call { 
    background-color: var(--primary-color); 
    color: var(--black); 
}

.float-wa { 
    background-color: #25D366; 
    /* WhatsApp Button pulsiert leicht zeitversetzt zum Telefon-Button (sieht natürlicher aus) */
    animation-delay: 1s; 
}

/* --- ALLE ANRUF-BUTTONS PULSIEREN LASSEN --- */

/* Wirkt auf den dicken Button im Banner (.btn) und die Nummer oben im Header (.header-phone) */
.btn[href^="tel:"], 
.header-phone {
    animation: pulse-animation 2.5s infinite ease-in-out; /* Leicht langsameres Pulsieren (2.5s) für die großen Elemente */
    display: inline-block; /* Zwingend nötig, damit Elemente skaliert werden können */
}

/* Hover-Effekt: Wenn die Maus drüberfährt, hört das Pulsieren auf */
.btn[href^="tel:"]:hover, 
.header-phone:hover {
    animation: none;
    transform: scale(1.05); /* Wird nur minimal größer beim Draufhalten */
}

/* --- MOBILE ADJUSTMENTS (Handy-Optimierung) --- */
@media (max-width: 768px) {
    /* Header & Navigation zentrieren */
    header { 
        flex-direction: column; 
        gap: 15px; 
        text-align: center; 
        padding: 15px 5%;
    }
    .main-nav { 
        flex-wrap: wrap; 
        justify-content: center; 
        gap: 10px; 
        margin: 5px 0 10px 0; 
    }

    /* --- HERO BEREICH FÜR HANDYS --- */
    .hero {
        min-height: 50vh; /* Nimmt auf dem Handy nicht den kompletten Bildschirm ein, damit man noch sieht, dass es unten weitergeht */
        padding: 40px 15px; /* Gibt dem Text etwas Luft an den Seiten */
    }
    .hero-content {
        width: 100%;
    }
	/* --- USP BADGE (100% vor Ort) --- */
.usp-badge {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--black);
    font-weight: bold;
    padding: 8px 20px;
    border-radius: 30px; /* Macht es zu einer schicken Pille */
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
    border: 2px solid var(--white); /* Weißer Rand lässt es edel wirken */
    animation: slideDown 0.8s ease-out; /* Kleine Einblend-Animation */
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
    .hero h1 { 
        font-size: 1.8rem; 
        line-height: 1.3; /* Zieht die Zeilen etwas schöner zusammen */
        margin-bottom: 15px; 
    }
    .hero p {
        font-size: 1.05rem; /* Etwas kleiner für bessere Lesbarkeit */
        margin-bottom: 25px;
    }
    .hero .btn {
        display: block; /* Macht den Button zum Block-Element */
        width: 100%; /* Button geht über die volle Breite für leichtes Anklicken */
        max-width: 320px; /* Begrenzt die Breite auf großen Handys/Tablets */
        margin: 0 auto; /* Zentriert den Button */
        padding: 15px 10px;
        font-size: 1.1rem;
    }
    
    /* Abstände der restlichen Sektionen auf dem Handy etwas verkleinern */
    section { 
        padding: 3rem 5%; 
    }
    .section-title { 
        font-size: 1.6rem; 
    }
}