/* =========================================================================
   KFZ LANDING PAGE STYLES - kfz_styles.css
   Optimiert: 2025-10-31
   ========================================================================= */

/* 1. Global Resets & Variables */
:root {
    /* KFZ Hauptfarbe (Blau) - FRAME COLOR / HAUPTFARBE KFZ-LPs */
    --main-color-kfz: #0047AB; 
    --frame-color-insurance: #0047AB; 
    
    /* Akzentfarben */
    --cta-color: #FF6600; /* Orange für Nebenzwecke (z.B. Vergleichs-CTA-Icon) */
    --gold-color: #CC9933; /* NEUE FARBE: Gold für TOP Versicherungsmakler (Bond-Bezug) */
    
    /* Hintergrund- und Textfarben */
    --text-color: #333; 
    --bg-light: #f4f4f9; 
    --bg-white: #ffffff;
    --text-light: #f0f0f0; 
    
    /* Font für Hervorhebung */
    --highlight-font: "Georgia", serif; 
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: var(--bg-light);
    color: var(--text-color);
    padding: 10px; /* Platz für den äußeren Rahmen */
}

img {
    max-width: 100%;
    height: auto;
    display: block; 
}

a {
    color: var(--main-color-kfz);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--gold-color); /* Statt Orange nun Gold bei Mouseover */
    text-decoration: underline;
}

/* 2. Layout Container und Rahmen (Blue Frame) */
.lp-container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--bg-white);
    padding: 20px;
    border: 5px solid var(--frame-color-insurance); /* Blauer Rahmen für Versicherungen */
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 3. Header und Branding */
header {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--bg-light);
}

.logo {
    width: 250px; 
    margin: 0 auto 10px;
}

h1.h1-link-cta {
    font-size: 2.2em;
    color: var(--main-color-kfz);
    margin: 10px 0 5px;
    line-height: 1.2;
}

/* Slogan und Telefonnummer - GOLD-DESIGN */
.slogan {
    color: var(--gold-color); 
    font-weight: 900; 
    font-size: 1.1em; 
    font-family: var(--highlight-font); 
    line-height: 1.4;
    margin-bottom: 15px; 
    text-shadow: none; /* Umriss entfernt */
}

.phone-number a {
    font-size: 1.8em;
    font-weight: 900;
    font-family: var(--highlight-font); 
    color: var(--gold-color); 
    line-height: 1;
    text-decoration: none; 
    text-shadow: none; 
}
.phone-number a:hover {
    color: var(--main-color-kfz); /* Bei Hover: Wechsel zur Hauptfarbe Blau */
    text-shadow: none;
}

/* 4. Sektionen und allgemeine Typografie */
.content-section {
    padding: 40px 0;
    border-bottom: 1px solid var(--bg-light);
}

.content-section:last-of-type {
    border-bottom: none;
}

.content-section h2 {
    font-size: 1.8em;
    color: var(--main-color-kfz);
    text-align: center;
    margin-bottom: 30px;
}

.content-section h3 {
    font-size: 1.3em;
    color: var(--gold-color); /* H3-ÜBERSCHRIFTEN AUF GOLD */
    margin-bottom: 15px;
}
.content-dark {
    background-color: var(--bg-light);
    padding: 40px 20px;
    border-radius: 6px;
    border: none;
    margin: 20px 0;
}

.text-center {
    text-align: center;
}

/* 5. !__ Benutzerdefinierte Hervorhebung (!__ TEXT __!) __! */
span.highlight-orange, 
.content-section p > span.highlight-orange,
.top-makler-highlight-strong {
    font-weight: bold;
    color: var(--gold-color); /* Orange-Highlight wird zu Gold-Highlight */
}

/* Formatierung für !__ Wichtige Textpassagen (wie GÜNSTIG / SCHNELL / GUT) __! */
.usp-item p span, 
.error-item p span,
.faq-section p span,
.hero-section h2 span {
    font-family: var(--highlight-font); 
    font-weight: bold;
    color: var(--cta-color); /* Orange für Hervorhebungs-Worte */
    font-size: 1.1em;
    padding: 0 2px;
}

.usp-item h3,
.hero-section h2 {
    font-family: var(--highlight-font);
    font-weight: 900;
}

.hero-section h2 span.highlight-gold-makler { 
    color: var(--gold-color); /* Innenfarbe Gold für "TOP Versicherungsmakler" im Hero */
    font-weight: 900; 
    font-family: var(--highlight-font); 
    font-size: 1.1em; 
    text-shadow: none; 
}


/* 6. Hero Sektion */
.hero-section {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, var(--main-color-kfz) 0%, #1e90ff 100%);
    color: var(--text-light);
    border-radius: 6px;
    margin-bottom: 30px;
}

.hero-section h2 {
    color: var(--text-light);
    font-size: 2em;
    margin-bottom: 30px;
    line-height: 1.3;
}

.hero-sublink-beweis {
    margin-top: -20px; 
    margin-bottom: 20px;
    padding: 0;
    line-height: 1; 
    font-size: 1.1em;
    text-align: center;
}

.hero-sublink-beweis a {
    color: var(--text-light) !important; 
    text-decoration: none;
    transition: color 0.2s;
    display: inline-block;
    padding: 2px 0;
}

.hero-sublink-beweis a:hover {
    color: var(--text-color) !important; /* Schwarz für Mouseover */
    text-decoration: underline;
}

.hero-text-cta {
    color: var(--text-light) !important;
    text-decoration: underline !important;
}
.hero-text-cta:hover {
    color: var(--cta-color) !important;
}

.cta-subtext {
    margin-top: 20px;
    font-size: 0.95em;
    line-height: 1.4;
}

/* Rechner-Hero */
.calculator-hero {
    background: var(--bg-white);
    color: var(--text-color);
    padding-bottom: 20px;
}

.calculator-hero h2 {
    color: var(--main-color-kfz);
}

.calculator-embed {
    border: 3px solid var(--main-color-kfz);
    border-radius: 8px;
    min-height: 600px;
    margin-bottom: 30px;
    background-color: var(--bg-light);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 7. CTA Buttons */
.cta-button {
    display: inline-block;
    padding: 15px 30px;
    margin: 10px;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 1.1em;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

/* PRIMARY CTA: Gold/Weiß (Normal) -> Weiß/Gold (Hover) */
.primary-cta {
    background-color: var(--gold-color);
    color: var(--bg-white); 
    border: 2px solid var(--gold-color); 
}

.primary-cta:hover {
    background-color: var(--bg-white); 
    color: var(--gold-color); 
    border: 2px solid var(--gold-color); 
    transform: translateY(-2px);
    text-decoration: none;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

/* SECONDARY CTA: Blau/Weiß (Normal) -> Weiß/Blau (Hover) */
.secondary-cta {
    background-color: var(--bg-white);
    color: var(--main-color-kfz);
    border: 2px solid var(--main-color-kfz);
}

.secondary-cta:hover {
    background-color: var(--main-color-kfz);
    color: var(--bg-white);
    transform: translateY(-2px);
    text-decoration: none;
}


/* 8. USP und Error Sektionen (Grid) */
.usp-list, .error-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: center;
}

.usp-item, .error-item {
    background-color: var(--bg-white);
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.content-dark .error-item {
    background-color: var(--bg-light);
    border: 1px dashed var(--main-color-kfz);
}


/* 9. Info Boxen und Tiefenkontent */
.info-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    padding: 40px 20px;
    border-bottom: 1px solid var(--bg-light);
}

.info-box img {
    flex: 1 1 300px;
    border-radius: 6px;
    object-fit: cover;
}

.info-box p {
    flex: 2 1 400px;
    padding: 10px;
    font-size: 1.1em;
    line-height: 1.7;
}

.info-box h2 {
    width: 100%;
    text-align: left;
    margin-bottom: 20px;
}

/* Tiefenkontent (FAQs/Details) - GLOBALE DEFINITION VERSCHOBEN */
.faq-section {
    padding: 40px 20px;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

details {
    margin-bottom: 10px;
    border: 1px solid var(--main-color-kfz);
    border-radius: 4px;
    background-color: var(--bg-white);
}

summary {
    font-weight: bold;
    padding: 15px;
    cursor: pointer;
    color: var(--main-color-kfz);
    font-size: 1.1em;
    background-color: var(--bg-light);
    border-radius: 44px;
    list-style: none;
    user-select: none;
    transition: background-color 0.2s;
}

details[open] summary {
    background-color: #dbe4ff;
    border-bottom: 1px solid var(--main-color-kfz);
}

details p {
    padding: 15px;
    margin: 0;
    border-top: none;
}

/* Ergänzung für Listen und Absätze innerhalb der FAQ-Details (von HTML verschoben) */
.faq-list details p, .faq-list details ul {
    padding: 5px 0 0 20px;
    line-height: 1.7;
}
.faq-list details ul {
    list-style: disc;
    margin-left: 20px;
}


/* 10. Footer */
footer {
    text-align: center;
    padding: 30px 0 10px;
    border-top: 2px solid var(--bg-light);
    margin-top: 20px;
    font-size: 0.9em;
    color: #666;
}

.footer-ctas {
    margin-bottom: 20px;
}

.footer-cta {
    padding: 10px 20px;
    font-size: 1em;
    background-color: var(--main-color-kfz);
    color: var(--bg-white);
    border-radius: 4px;
    box-shadow: none;
    border: 2px solid var(--main-color-kfz);
}
.footer-cta:hover {
    background-color: #1e90ff;
    color: var(--bg-white);
    transform: none;
}

.footer-info {
    font-size: 0.85em;
    margin-bottom: 15px;
    padding: 0 10px;
}

footer p a {
    color: var(--main-color-kfz);
    margin: 0 5px;
}

/* 11. Floating CTAs (Mobile & Desktop) */
.floating-ctas {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 1000;
}

.floating-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: var(--bg-white);
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s;
    font-size: 0.8em;
    padding: 5px;
    line-height: 1.1;
}

.floating-cta:hover {
    transform: scale(1.05);
    color: var(--bg-white);
    text-decoration: none;
}

.floating-cta .icon {
    font-size: 1.5em;
    margin-bottom: 2px;
}

.floating-cta .text {
    font-weight: bold;
    text-transform: uppercase;
}

.cta-call {
    background-color: #38C700; 
}

.cta-whatsapp {
    background-color: #25D366; 
}

.cta-compare {
    background-color: var(--cta-color); 
}

/* 12. Responsive Design / Mobile Optimierung */
@media (max-width: 768px) {
    body {
        padding: 5px;
    }
    .lp-container {
        padding: 10px;
        border-width: 3px;
    }
    h1.h1-link-cta {
        font-size: 1.6em;
    }
    .hero-section h2 {
        font-size: 1.5em;
    }
    .usp-list, .error-list {
        grid-template-columns: 1fr;
    }
    
    .info-box {
        flex-direction: column;
        text-align: center;
    }
    .info-box img {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    .info-box p {
        flex: 1 1 100%;
    }
    .info-box h2 {
        text-align: center;
    }
    
    .cta-button {
        padding: 12px 20px;
        font-size: 1em;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    
    /* Mobile Floating CTAs: Korrigierte Anordnung */
    .floating-ctas {
        flex-direction: column; /* Vertikal stapeln */
        right: 5px;
        top: 50%;
        bottom: auto;
        transform: translateY(-50%);
        gap: 8px;
    }
    .floating-cta {
        width: 50px;
        height: 50px;
    }
    .floating-cta .icon {
        font-size: 1.3em;
    }
    .floating-cta .text {
        /* Text auf Mobilgeräten ausblenden, um Platz zu sparen */
        display: none; 
    }
}
/* =========================================================================
   BILD-STYLING FÜR EXPERTEN-SEKTION (HINTERGRUNDBILDER)
   ========================================================================= */

.expert-header-bg {
    /* Hintergrund: Urkundenbild ohne dunkle Überlagerung */
    background: url('images/urkunde_topmakler_2000_1_1.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: scroll; 
    padding: 30px 20px;
    margin-bottom: 30px; 
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.expert-header-bg h2 {
    color: var(--main-color-kfz); 
    margin-bottom: 15px;
    /* Optional: Hintergrund für Text hinzufügen, falls das Bild zu hell ist */
    background-color: rgba(255, 255, 255, 0.85); 
    padding: 5px 10px;
    display: inline-block;
    border-radius: 4px;
}

.expert-header-bg p {
    color: var(--text-color); 
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 0;
    /* Hintergrund für Text hinzufügen, um Kontrast zu gewährleisten */
    background-color: rgba(255, 255, 255, 0.85); 
    padding: 10px 15px;
    border-radius: 4px;
}

.expert-header-bg .highlight-orange {
    color: var(--gold-color); 
}
/* --- NEUE SEKTION: KFZ DOWNLOADS STYLING --- */

.download-section {
    padding-top: 20px;
    padding-bottom: 30px;
    background-color: var(--bg-light); /* Hellgrauer Hintergrund zur Abgrenzung */
    border-top: 4px solid var(--frame-color-insurance); /* Oberen blauen Rahmen hinzufügen */
}

.download-header {
    margin-bottom: 20px;
    padding: 0 15px; /* Innenabstand für Text auf kleineren Bildschirmen */
}

.download-title {
    color: var(--main-color-kfz);
    border-bottom: 2px solid var(--main-color-kfz);
    padding-bottom: 5px;
    font-size: 1.8em;
    text-align: center;
}

.download-intro {
    font-size: 1em;
    text-align: center;
    margin-top: 10px;
}

.download-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 0 15px; /* Innenabstand für die Grid-Elemente */
}

.download-item {
    flex: 1 1 300px; /* Bietet eine Basisbreite für 3-spaltiges Layout auf Desktops */
    max-width: 350px; /* Begrenzt die maximale Breite des Einzel-Items */
    padding: 15px;
    border: 1px solid var(--frame-color-insurance);
    border-radius: 8px;
    background-color: white; /* Weißer Hintergrund für die Boxen */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.download-item-title {
    color: var(--main-color-kfz);
    font-size: 1.1em;
    margin-top: 0;
    line-height: 1.3;
}

.download-item p {
    margin-top: 10px;
    font-size: 0.9em;
    color: var(--text-color);
    line-height: 1.4;
    min-height: 55px; /* Stellt sicher, dass alle Boxen gleiche Höhe haben, auch wenn der Text kürzer ist */
}

.download-link {
    display: block;
    margin-top: 15px;
    padding: 10px 8px;
    text-align: center;
    background-color: var(--main-color-kfz);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.2s;
}

.download-link:hover {
    background-color: #003380; /* Dunklere Hover-Farbe */
}

/* Responsive Anpassungen für kleine Bildschirme */
@media (max-width: 768px) {
    .download-item {
        flex-basis: 100%; /* Auf Mobilgeräten volle Breite */
        max-width: 100%;
    }
}