/* --- DATEI: styles.css (KOMPLETT & REPARIERT) --- */

/* --- VARIABLEN & DESIGN SYSTEM --- */
:root {
    --primary-color: #0F2C44; /* Hanse-Blau */
    --primary-light: #1e3a52;
    --secondary-bg: #F1F5F9; 
    --accent-color: #D4AF37;   /* Unikat-Gold */
    --text-color: #334155;
    --white: #ffffff;
    --whatsapp-green: #25D366;
    --border-radius: 6px;
    --container-width: 1200px;
    --header-height: 70px;
    
    /* Hero Typografie */
    --fs-eyebrow: 14px;
    --fs-h1: clamp(34px, 4vw, 48px);
    --fs-lead: clamp(16px, 1.4vw, 18px);
    --fs-btn: 16px;
    --lh-h1: 1.1;
    --lh-lead: 1.6;
}

/* --- LOKALE FONTS (DSGVO-konform & CLS-optimiert) --- */

/* Inter Light (300) */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('fonts/inter-v20-latin-300.woff2') format('woff2');
    size-adjust: 100%;
    ascent-override: 90%;
    descent-override: 22%;
    line-gap-override: 0%;
}

/* Inter Regular (400) */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/inter-v20-latin-regular.woff2') format('woff2');
    size-adjust: 100%;
    ascent-override: 90%;
    descent-override: 22%;
    line-gap-override: 0%;
}

/* Inter SemiBold (600) */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('fonts/inter-v20-latin-600.woff2') format('woff2');
    size-adjust: 100%;
    ascent-override: 90%;
    descent-override: 22%;
    line-gap-override: 0%;
}

/* Inter Bold (700) */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/inter-v20-latin-700.woff2') format('woff2');
    size-adjust: 100%;
    ascent-override: 90%;
    descent-override: 22%;
    line-gap-override: 0%;
}

/* --- BASIS SETUP --- */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', sans-serif; color: var(--text-color); line-height: 1.6; background: var(--white); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { color: var(--primary-color); font-weight: 700; margin-bottom: 1rem; line-height: 1.2; }
h1 { min-height: 120px; } /* CLS-Fix: Reserviert Platz für H1 */
p { margin-bottom: 1rem; }
a { text-decoration: none; color: inherit; transition: 0.3s; cursor: pointer; }
ul { list-style: none; padding: 0; margin: 0; } 
img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }

/* --- UTILITIES & LAYOUT --- */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.section { padding: 80px 0; }
.bg-light { background: var(--secondary-bg); }
.bg-dark { background: var(--primary-color); color: var(--white); }
.bg-dark h2, .bg-dark p, .bg-dark li { color: var(--white); }
.bg-white { background: var(--white); }

/* Grids */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(450px, 1fr)); gap: 60px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }

/* --- BUTTONS --- */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 28px; border-radius: var(--border-radius); font-weight: 600; font-size: 1rem; border: 2px solid transparent; transition: all 0.3s; cursor: pointer; text-align: center;}
.btn-primary { 
    background: var(--primary-color); 
    color: var(--white); 
    box-shadow: 0 4px 15px rgba(15, 44, 68, 0.1);
}
.btn-primary:hover { 
    background: var(--primary-light); 
    transform: translateY(-3px); 
    box-shadow: 0 8px 25px rgba(15, 44, 68, 0.25);
}
.btn-outline { border-color: var(--primary-color); color: var(--primary-color); background: transparent; }
.btn-outline:hover { background: var(--primary-color); color: var(--white); }
.btn-accent { background: var(--accent-color); color: #fff; }
.btn-accent:hover { background: #b5952f; transform: translateY(-2px); }
.btn-sm { padding: 8px 16px; font-size: 0.9rem; }

/* Google Button Icon Spacing */
.btn-google .google-icon,
.btn-google i,
.btn-google svg,
.btn-outline i {
    margin-right: 8px;
}

/* --- TOP BAR --- */
.top-bar { 
    background: #f1f5f9; 
    border-bottom: 1px solid #e2e8f0; 
    padding: 2px 0; 
    font-size: 0.8rem; 
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-contact { display: flex; align-items: center; }
.top-contact span { margin-right: 20px; }
.top-bar .contact-link,
.top-bar .top-link-accent {
    color: var(--primary-color);
}
.top-bar .contact-link:hover,
.top-bar .top-link-accent:hover {
    color: var(--accent-color);
}
.wa-link { color: var(--whatsapp-green); font-weight: 600; margin-left: 10px; display: inline-flex; align-items: center; gap: 5px; }
.top-links { display: flex; gap: 20px; align-items: center; }
.top-links a { transition: 0.3s; display: flex; align-items: center; gap: 6px; }
.schaden-btn { background: #dc2626; color: white !important; padding: 4px 12px; border-radius: 4px; font-weight: 600; transition: 0.3s; }
.schaden-btn:hover { background: #b91c1c; }

/* --- HEADER & NAVIGATION --- */
header { 
    background: var(--white); padding: 0; border-bottom: 1px solid #e2e8f0; 
    position: sticky; top: 0; z-index: 1000; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05); 
    height: var(--header-height); 
}
.nav-container { display: flex; justify-content: space-between; align-items: center; height: 100%; }
.logo-group { display: flex; align-items: center; gap: 15px; }
.logo-main { height: 40px; width: auto; }
.logo-partner { height: 48px; width: auto; opacity: 0.9; border-left: 1px solid #ccc; padding-left: 15px; }
.nav-menu { display: flex; gap: 5px; align-items: center; height: 100%; }
.nav-item { position: relative; height: 100%; display: flex; align-items: center; }
.nav-link { 
    padding: 0 15px; 
    font-weight: 500; 
    font-size: 0.95rem; 
    color: var(--text-color); 
    height: 100%; 
    display: flex; 
    align-items: center; 
    transition: all 0.3s ease; 
    position: relative;
}
.nav-link:hover { 
    color: var(--accent-color); 
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15px;
    right: 15px;
    height: 2px;
    background: var(--accent-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.nav-link:hover::after {
    transform: scaleX(1);
}
.dropdown-menu { position: absolute; top: 100%; left: 0; background: var(--white); min-width: 280px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); border-top: 2px solid var(--accent-color); display: none; flex-direction: column; padding: 10px 0; border-radius: 0 0 6px 6px; }
.nav-item:hover .dropdown-menu { display: flex; animation: fadeIn 0.2s ease-out; }
.dropdown-link { padding: 12px 20px; font-size: 0.9rem; color: var(--text-color); border-bottom: 1px solid #f1f5f9; }
.dropdown-link:hover { background: #f1f5f9; color: var(--primary-color); padding-left: 25px; }
.burger-menu { display: none; font-size: 1.5rem; color: var(--primary-color); cursor: pointer; }

/* --- EPIC 3: HERO DISPATCHER (B2B-First mit Sidebar) --- */
.hero-dispatcher {
    min-height: 85vh;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden; /* Verhindert Überlauf */
    padding-bottom: 0; /* Kein Padding unten */
    margin-bottom: 0; /* Kein Margin unten */
}

.hero-main-wrapper {
    display: flex;
    flex: 1;
    position: relative;
    min-height: 0;
    overflow: hidden; /* Verhindert Überlauf */
}

/* Hauptbereich: Gewerbe (Full Width mit Platz für Sidebar) */
.hero-col-b2b-full {
    flex: 1;
    background-image: url('img/hero-rostock-bg.webp');
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 60px;
    position: relative;
}

/* OVERLAY - Hart fixiert auf 100% */
.hero-col-b2b-full::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 44, 68, 0.95) 0%, rgba(10, 31, 46, 0.97) 50%, rgba(5, 21, 34, 0.98) 100%);
    z-index: 1;
}

/* Content über dem Overlay */
.hero-col-b2b-full .hero-col-content {
    position: relative;
    z-index: 2;
}

/* Sidebar: Privat (Dezent, kompakt, professionell) */
.hero-sidebar-privat {
    width: 320px;
    background: white;
    border-left: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    padding: 40px 30px;
    box-shadow: -8px 0 20px rgba(0, 0, 0, 0.08); /* Klarere Trennung */
}

.sidebar-content {
    width: 100%;
}

.sidebar-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.sidebar-icon i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.sidebar-content h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    line-height: 1.3;
}

.sidebar-content p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 20px;
}

.btn-sidebar {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--primary-color);
    color: white;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-sidebar:hover {
    background: var(--primary-light);
    transform: translateX(3px);
}

.btn-sidebar i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.btn-sidebar:hover i {
    transform: translateX(3px);
}

.hero-col-content {
    max-width: 600px;
    width: 100%;
}

.hero-label {
    display: inline-block;
    font-size: var(--fs-eyebrow);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
    opacity: 0.8;
}

.hero-col-b2b-full h1 {
    font-size: var(--fs-h1);
    line-height: var(--lh-h1);
    margin-bottom: 20px;
    min-height: 120px;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); /* Verbesserte Lesbarkeit */
}

.hero-makler-rolle {
    font-size: var(--fs-lead);
    line-height: var(--lh-lead);
}

.hero-col-b2b h1,
.hero-col-privat h3 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    min-height: 120px; /* CLS-Fix */
}

.hero-col-b2b h1 {
    color: white;
}

.hero-col-privat h3 {
    color: var(--primary-color);
}

.hero-subline {
    font-size: var(--fs-lead);
    line-height: var(--lh-lead);
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn-hero {
    padding: 16px 32px;
    font-size: var(--fs-btn);
    font-weight: 700;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-outline-white {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-white:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 44, 68, 0.2);
}

/* Hero Trust Bar entfernt - wird durch globale Trust-Bar ersetzt */

/* --- NEUE GLOBALE TRUST BAR --- */
.hero-trust-bar {
    background: linear-gradient(135deg, rgba(15, 44, 68, 0.98) 0%, rgba(10, 31, 46, 0.98) 100%);
    color: white;
    padding: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-top: -2px; /* Minimal überlappen für nahtlosen Übergang */
    position: relative;
    z-index: 10; /* Über dem Hero */
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 500;
}

.hero-trust-item i {
    color: var(--accent-color);
    font-size: 1.3rem;
}

.hero-trust-item span {
    white-space: nowrap;
}

/* Mobile Anpassung für Trust Bar */
@media (max-width: 900px) {
    .hero-trust-bar {
        gap: 25px;
        padding: 15px 20px;
    }
    
    .hero-trust-item {
        font-size: 0.85rem;
        flex: 1 1 calc(50% - 25px);
        min-width: 150px;
    }
    
    .hero-trust-item i {
        font-size: 1.1rem;
    }
    
    /* KZA-Daten prominent hervorheben auf Mobile */
    .hero-trust-item:first-child {
        flex: 1 1 100%;
        justify-content: center;
        font-size: 0.9rem;
    }
}

@media (max-width: 640px) {
    .hero-trust-bar {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }
    
    .hero-trust-item {
        width: 100%;
        justify-content: center;
    }
}

/* --- CONTACT BAR (Immediate Access) --- */
.contact-bar {
    background: linear-gradient(135deg, #0F2C44 0%, #1e3a52 100%);
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 15px 0;
}

.contact-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-bar-label {
    font-weight: 700;
    color: white;
    font-size: 1rem;
}

.contact-bar-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-bar-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.contact-bar-link:hover {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 44, 68, 0.15);
}

.contact-bar-urgent {
    background: #fee2e2;
    border-color: #ef4444;
    color: #dc2626;
}

.contact-bar-urgent:hover {
    background: #ef4444;
    border-color: #dc2626;
    color: white;
}

/* --- PROZESS-MODUL (Trust & Reason to Believe) --- */
.process-section {
    background: #f8fafc;
    padding: 80px 0 60px;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
    justify-content: center;
}

.process-step {
    text-align: center;
    position: relative;
    padding: 30px 20px;
    background: white;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(15, 44, 68, 0.1);
    border-color: var(--accent-color);
}

.process-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e3a52 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 8px 20px rgba(15, 44, 68, 0.2);
}

.process-number {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.process-step h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.process-step p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Mobile Anpassung für 6-Spalten-Grid */
@media (max-width: 1024px) {
    .process-section [style*="grid-template-columns: repeat(6, 1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .process-section .process-step[style*="grid-column: span 2"],
    .process-section .process-step[style*="grid-column: 2 / span 2"],
    .process-section .process-step[style*="grid-column: 4 / span 2"] {
        grid-column: span 1 !important;
    }
}

@media (max-width: 640px) {
    .process-section [style*="grid-template-columns: repeat(6, 1fr)"] {
        grid-template-columns: 1fr !important;
    }
    
    .process-section .process-step[style*="grid-column"] {
        grid-column: 1 / -1 !important;
    }
    
    .process-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
}

/* --- STATISCHE REVIEWS --- */
.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.review-static-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-static-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
}

.review-stars-static {
    color: #fbbf24;
    font-size: 1.2rem;
    margin-bottom: 15px;
    display: flex;
    gap: 3px;
}

.review-text-static {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 20px;
    font-style: italic;
}

.review-author-static {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding-top: 15px;
    border-top: 1px solid #f1f5f9;
}

.review-author-static strong {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.95rem;
}

.review-author-static span {
    color: #64748b;
    font-size: 0.85rem;
}

/* --- MOBILE ANPASSUNGEN --- */
@media (max-width: 900px) {
    .hero-main-wrapper {
        flex-direction: column;
    }
    
    /* Gewerbe: Volle Breite, dominanter Bereich */
    .hero-col-b2b-full {
        min-height: 60vh;
        padding: 60px 30px;
    }
    
    .hero-col-b2b-full h1 {
        font-size: 2rem;
        min-height: 100px;
    }
    
    /* Sidebar wird zur kompakten Box unten */
    .hero-sidebar-privat {
        width: 100%;
        border-left: none;
        border-top: 1px solid #e2e8f0;
        padding: 30px 20px;
        box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.05);
    }
    
.sidebar-content h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    line-height: 1.3;
    font-weight: 700; /* Explizit als H3 formatiert */
}

.sidebar-content p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Ghost/Outline Button für Sidebar - dezenter als Hauptbutton */
.btn-sidebar {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-sidebar:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(3px);
}
}

/* Standard Hero (Unterseiten) */
.hero { padding: 80px 0; background: var(--secondary-bg); min-height: 400px; display: flex; align-items: center; }
.hero h1 { font-size: 2.8rem; margin-bottom: 20px; letter-spacing: -0.5px; }
.hero .subline { font-size: 1.15rem; color: #475569; max-width: 650px; margin-bottom: 30px; }

/* --- COMPONENTS --- */
.section-title { text-align: center; margin-bottom: 50px; font-size: 2.2rem; position: relative; }
.section-title::after { content: ''; display: block; width: 60px; height: 3px; background: var(--accent-color); margin: 15px auto 0; }

.card { background: var(--white); padding: 35px; border-radius: 8px; border: 1px solid #e2e8f0; transition: 0.3s; height: 100%; display: flex; flex-direction: column; }
.card:hover { border-color: var(--accent-color); box-shadow: 0 10px 30px rgba(0,0,0,0.08); transform: translateY(-5px); }
.card-icon { width: 50px; height: 50px; background: #e0f2fe; color: var(--primary-color); display: flex; align-items: center; justify-content: center; border-radius: 8px; font-size: 1.3rem; margin-bottom: 20px; }
.card h3 { font-size: 1.25rem; margin-bottom: 15px; }
/* Links für Karten */
a.card-link { text-decoration: none; color: inherit; display: block; height: 100%; }
a.card-link:hover .card { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); border-color: var(--accent-color); }

/* FIX: Listen */
.card ul, .case-study-box ul { list-style: none !important; padding-left: 0; margin-top: 15px; }
.card li, .case-study-box li { position: relative; padding-left: 30px; margin-bottom: 12px; line-height: 1.5; display: block; }
.card li i, .case-study-box li i { position: absolute; left: 0; top: 4px; color: var(--accent-color); width: 20px; }
.card li strong { color: var(--primary-color); font-weight: 700; }
.card-btn { margin-top: auto; padding: 10px 0; color: var(--primary-color); font-weight: 600; display: flex; align-items: center; gap: 8px; font-size: 0.95rem; transition: 0.3s; }
.card:hover .card-btn { color: var(--accent-color); }
.card-btn i { transition: transform 0.3s; }
.card:hover .card-btn i { transform: translateX(5px); }

.cta-banner { padding: 60px 0; text-align: center; background-color: var(--primary-color); color: white; border-radius: 0; }
.cta-banner h2 { color: white; margin-bottom: 15px; }
.cta-banner p { color: #cbd5e1; max-width: 700px; margin: 0 auto 30px; }

/* FAQ */
details { background: var(--white); border: 1px solid #e2e8f0; border-radius: 8px; padding: 20px; margin-bottom: 15px; cursor: pointer; transition: 0.3s; }
details[open] { border-color: var(--accent-color); }
summary { font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; color: var(--primary-color); }
summary::after { content: '+'; font-size: 1.5rem; color: var(--accent-color); }
details[open] summary::after { content: '-'; }
details p { margin-top: 15px; color: var(--text-color); border-top: 1px solid #f1f5f9; padding-top: 15px; margin-bottom: 0; }

/* REVIEWS */
.review-card { background: var(--white); padding: 25px; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.06); border: 1px solid #f1f5f9; height: 100%; display: flex; flex-direction: column; transition: transform 0.3s; text-decoration: none; }
.review-card:hover { transform: translateY(-5px); border-color: var(--accent-color); }
.review-header { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; }
.avatar { width: 45px; height: 45px; border-radius: 50%; background: var(--primary-color); color: white; display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.review-meta { display: flex; flex-direction: column; }
.review-name { font-weight: 700; color: var(--primary-color); font-size: 0.95rem; }
.review-time { font-size: 0.8rem; color: #64748b; }
.review-stars { display: flex; gap: 2px; margin-bottom: 15px; color: #fbbf24; font-size: 0.9rem;}
.review-text { font-size: 0.95rem; color: var(--text-color); line-height: 1.5; flex-grow: 1; margin-bottom: 20px; font-style: normal; }
.review-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 15px; border-top: 1px solid #f1f5f9; font-size: 0.8rem; color: #64748b; }
.google-icon { width: 18px; height: 18px; background: conic-gradient(from -45deg, #ea4335 110deg, #4285f4 90deg 180deg, #34a853 180deg 270deg, #fbbc05 270deg) 50% 50% / 100% 100% no-repeat; border-radius: 50%; }

/* --- DATENSCHUTZ STYLING --- */
.privacy-block {
    margin-bottom: 40px;
}

.privacy-kv {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px 16px;
    margin: 14px 0 20px;
}

.privacy-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid #e2e8f0;
}

.privacy-row:last-child {
    border-bottom: 0;
}

.privacy-row .k {
    font-weight: 700;
    color: var(--primary-color);
}

.privacy-row .v {
    color: var(--text-color);
}

.privacy-links {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

.privacy-links li {
    padding: 8px 0;
}

.privacy-links a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 600;
}

@media (max-width: 640px) {
    .privacy-row {
        grid-template-columns: 1fr;
        gap: 6px;
    }
}

/* --- FOOTER --- */
footer { background: #020617; color: #cbd5e1; padding: 60px 0 20px; font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer h4 { color: var(--white); margin-bottom: 20px; border-bottom: 2px solid var(--accent-color); display: inline-block; padding-bottom: 5px; }
.footer ul li { margin-bottom: 10px; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.whatsapp-float { position: fixed; width: 60px; height: 60px; bottom: 30px; right: 30px; background-color: var(--whatsapp-green); color: #FFF; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; box-shadow: 2px 2px 3px #999; z-index: 2000; transition: 0.3s; }
.whatsapp-float:hover { transform: scale(1.1); }

/* --- BÜRO BILD ZOOM --- */
.buero-bild-wrapper { width: 100%; height: 400px; border-radius: 8px; overflow: hidden; box-shadow: 0 15px 40px rgba(0,0,0,0.1); }
img.buero-bild-fix { width: 100% !important; height: 100% !important; object-fit: cover !important; transform: scale(1.8); object-position: center 15% !important; }

/* --- KONTAKTFORMULAR --- */
.contact-form-wrapper { background: #f8fafc; padding: 40px; border-radius: 12px; border: 1px solid #e2e8f0; max-width: 800px; margin: 0 auto; }
.form-group { margin-bottom: 20px; text-align: left; }
.form-label { display: block; font-weight: 600; margin-bottom: 8px; color: var(--primary-color); }
.form-input, .form-select, .form-textarea { width: 100%; padding: 12px; border: 1px solid #cbd5e1; border-radius: 6px; font-family: 'Inter', sans-serif; font-size: 1rem; }
.form-textarea { resize: vertical; min-height: 120px; }
.checkbox-group { display: flex; gap: 10px; align-items: start; font-size: 0.85rem; color: #64748b; }
.checkbox-group a { text-decoration: underline; }
.form-honeypot { display: none !important; }

/* --- NEU: CASE STUDY & KARRIERE --- */
.case-study-box { background: #f0f9ff; border-left: 5px solid var(--accent-color); padding: 25px; border-radius: 0 8px 8px 0; margin-top: 30px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.case-study-title { font-weight: 800; color: var(--primary-color); text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px; margin-bottom: 10px; display: block; }
.case-fact { display: flex; justify-content: space-between; border-bottom: 1px solid #cbd5e1; padding: 8px 0; font-size: 0.95rem; }
.case-fact:last-child { border-bottom: none; }
.case-value { font-weight: 700; color: var(--primary-color); }
.career-badge { display: inline-block; background: rgba(255,255,255,0.1); color: var(--accent-color); padding: 5px 10px; border-radius: 4px; font-size: 0.85rem; margin-top: 15px; text-decoration: none !important; border: 1px solid rgba(212, 175, 55, 0.3); transition: 0.3s; }
.career-badge:hover { background: var(--accent-color); color: white; }

/* --- MOBILE TWEAKS --- */
@media (max-width: 900px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    
    /* Mobile Navigation mit CSS-Fallback */
    .nav-menu { 
        display: none; 
        position: absolute; 
        top: var(--header-height); 
        left: 0; 
        right: 0; 
        background: white; 
        flex-direction: column; 
        align-items: flex-start; 
        padding: 20px; 
        box-shadow: 0 5px 10px rgba(0,0,0,0.1); 
        height: auto; 
        max-height: calc(100vh - var(--header-height));
        overflow-y: auto;
    }
    .nav-menu.active { display: flex; }
    
    /* Fallback: Wenn JS nicht lädt, zeige Menü bei :focus-within */
    .nav-container:focus-within .nav-menu { display: flex; }
    
    .nav-item { width: 100%; display: block; height: auto; }
    .nav-link { 
        padding: 15px 0; 
        border-bottom: 1px solid #eee; 
        width: 100%; 
        display: block; 
    }
    
    /* Dropdown auf Mobile: Click-to-expand */
    .dropdown-menu { 
        position: static; 
        box-shadow: none; 
        border-top: none; 
        padding-left: 20px; 
        display: none; 
        background: #f8fafc;
    }
    .nav-item.open .dropdown-menu { display: flex; }
    
    .burger-menu { display: block; }
    .hero h1 { font-size: 2.2rem; }
    .top-links { display: none; }
    .team-img-gf { height: 400px !important; }
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
#header-placeholder { display: contents; }

/* --- TEAM GRID STYLES (Final & Clean) --- */
.team-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
    transition: transform 0.2s, box-shadow 0.2s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}

.team-img {
    width: 100%;
    height: 350px !important;
    object-fit: cover !important;
    /* Fokus auf das Gesicht setzen, damit Köpfe nicht abgeschnitten werden */
    object-position: center 20%; 
    border-bottom: 1px solid #f1f5f9;
    display: block;
}

.team-info {
    padding: 25px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.team-info h4 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
}

.team-role {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.team-focus {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 15px;
    font-style: italic;
    min-height: 20px; 
}

/* E-Mail Button Style */
a.team-mail {
    display: inline-block;
    margin-top: auto; /* Schiebt den Button immer nach unten */
    color: #334155;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 8px 12px;
    background: #f8fafc;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s;
}

a.team-mail:hover {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

a.team-mail i {
    margin-right: 6px;
}
/* Spezieller Fix für die Geschäftsführung: Mehr Höhe = weniger Zoom */
.grid-2 .team-card .team-img {
    height: 500px !important; 
    object-position: center 15%; /* Verhindert, dass oben zu viel Kopf abgeschnitten wird */
}

/* Mobil-Optimierung: In der Einspalten-Ansicht wieder normale Höhe */
@media (max-width: 900px) {
    .grid-2 .team-card .team-img {
        height: 350px !important;
    }
}
/* --- SPEZIAL-REGEL: Geschäftsführung "rauszoomen" --- */
/* Durch mehr Höhe wird das Bild weniger stark beschnitten */
.team-img-gf {
    height: 550px !important; /* 100px mehr als der Standard */
    object-position: center 30% !important; /* Fokus etwas tiefer setzen */
}
/* --- FINALES DESIGN: VORTEILE & NUTZEN --- */

/* Der Hintergrund ist entscheidend für den Layering-Effekt */
.uk-bg-subtle { 
    background-color: #f8fafc !important; /* Sehr helles Grau-Blau */
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

#vorteile .vorteile-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    align-items: stretch;
}

#vorteile .vorteile-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 40px 30px;
    /* Weicher Schatten für Tiefe */
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    border: none; 
    display: flex;
    flex-direction: column;
    min-height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#vorteile .vorteile-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.15);
}

#vorteile .vorteile-icon {
    width: 80px; /* Größer für mehr Präsenz */
    height: 80px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1); 
    display: grid;
    place-items: center;
    margin: 0 auto 25px;
}

#vorteile .vorteile-icon i {
    font-size: 32px;
    color: #D4AF37;
}

#vorteile .vorteile-title {
    text-align: center;
    margin-bottom: 25px;
    font-size: 22px;
    color: #0F2C44;
}

/* Optimierter Listen-Fluss: Text steht bündig */
#vorteile .vorteile-list li {
    display: grid !important;
    grid-template-columns: 30px 1fr; /* Feste Spalte für das Häkchen */
    gap: 10px;
    align-items: start;
    margin-bottom: 15px;
    line-height: 1.5;
}

#vorteile .vorteile-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1); 
    color: #10b981; /* Klassisches Grün für Erfolg */
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 14px;
}

/* Responsive Anpassungen */
@media (max-width: 980px) {
    #vorteile .vorteile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    #vorteile .vorteile-grid { grid-template-columns: 1fr; gap: 20px; }
    #vorteile .vorteile-card { padding: 25px; }
}

@media (prefers-reduced-motion: reduce) {
    #vorteile .vorteile-card { transition: none; }
    #vorteile .vorteile-card:hover { transform: none; }
}
/* --- ZUSATZ-STYLES FÜR LEAD-BOX & FORM --- */
.uk-lead-box {
    background: #0F2C44; /* Hanse-Blau */
    border-radius: 22px;
    padding: 50px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
}

.uk-lead-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.uk-lead-form-side {
    background: #ffffff;
    padding: 35px;
    border-radius: 16px;
}

.uk-form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-family: inherit;
}

@media (max-width: 850px) {
    .uk-lead-grid { grid-template-columns: 1fr; gap: 30px; }
    .uk-lead-box { padding: 30px; }
}
/* --- FOOTER & TRUST SIGNALE --- */
.footer-section {
    background: #020617; /* Dunkles Blau/Schwarz */
    color: #cbd5e1;      /* Helles Grau */
    padding: 60px 0 20px;
    font-size: 0.95rem;
    border-top: 4px solid var(--accent-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1.4fr; /* Mitte etwas schmaler */
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: inline-block;
}

/* Footer Logo Fix */
.footer-logo img {
    height: auto;
    max-width: 160px;
    width: auto;
}

.contact-list li, .footer-links li {
    margin-bottom: 10px;
    display: flex; align-items: flex-start; gap: 10px;
}
.contact-list i { color: var(--accent-color); margin-top: 4px; }
.footer-links a:hover { color: white; text-decoration: underline; }

/* Karriere Button im Footer */
.career-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.1);
    color: var(--accent-color);
    padding: 6px 12px;
    border-radius: 4px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    font-size: 0.85rem;
    text-decoration: none;
    transition: 0.3s;
}
.career-badge:hover { background: var(--accent-color); color: white; }

/* --- TRUST BOX DESIGN (Final & Clean) --- */
.trust-col {
    background: rgba(255,255,255,0.03);
    padding: 25px 30px; /* Wieder etwas mehr Platz an den Seiten */
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.trust-primary {
    display: flex; 
    gap: 25px; /* Etwas mehr Abstand zwischen ISO und Google */
    align-items: center;
    margin-bottom: 20px; 
    padding-bottom: 20px; 
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.iso-badge { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    font-size: 0.85rem; 
    line-height: 1.3; 
}
.iso-badge img { 
    width: 48px; /* Optimale Größe */
    height: auto; 
    border-radius: 2px; 
    border: 1px solid white; 
}
.iso-badge strong { color: white; }

.google-badge { 
    text-decoration: none; 
    color: #cbd5e1; 
    font-size: 0.85rem; 
    display: flex; 
    flex-direction: column; 
}
.google-badge .stars { 
    color: #fbbf24; 
    letter-spacing: 2px; 
    margin-bottom: 4px; 
    font-size: 0.9rem; 
}
.google-badge:hover span { text-decoration: underline; color: white; }

.trust-secondary { 
    display: flex; 
    flex-direction: column; 
    align-items: flex-start; 
    gap: 6px; 
    font-size: 0.8rem; 
    opacity: 0.8; 
}
.vema-logo {
    width: 130px; /* Wieder etwas präsenter, damit es nicht verloren wirkt */
    height: auto;
    filter: brightness(0) invert(1);
    opacity: 0.95;
    margin-bottom: 2px;
}

.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.85rem; color: #64748b; }

/* Mobile Optimierung */
@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .trust-primary { flex-direction: column; align-items: flex-start; }
}
/* --- NEUE ELEMENTE (Feature Listen & Lead Magnet) --- */

/* 1. Schicke Feature-Liste mit Icons (statt <ul>) */
.feature-list { display: flex; flex-direction: column; gap: 25px; }
.feature-item { display: flex; gap: 15px; align-items: flex-start; }
.feature-icon {
    width: 50px; height: 50px; flex-shrink: 0;
    background: white; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--accent-color); font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); border: 1px solid #f1f5f9;
}
.feature-content strong { display: block; color: var(--primary-color); margin-bottom: 4px; font-size: 1rem; }
.feature-content p { margin: 0; font-size: 0.9rem; color: #64748b; line-height: 1.5; }

/* 2. Farbige Vorteils-Box (Rechts) */
.benefit-box {
    background: var(--primary-color); color: white;
    padding: 40px; border-radius: 12px;
    box-shadow: 0 10px 30px rgba(15, 44, 68, 0.2);
    position: relative; overflow: hidden;
}
.benefit-box h3 { color: white; border-bottom: 1px solid rgba(255,255,255,0.2); padding-bottom: 15px; margin-bottom: 20px; }
.benefit-box ul { list-style: none; padding: 0; }
.benefit-box li { position: relative; padding-left: 25px; margin-bottom: 12px; color: rgba(255,255,255,0.9); }
.benefit-box li i { position: absolute; left: 0; top: 4px; color: var(--accent-color); }

/* 3. Lead Magnet (Download Sektion) */
.lead-section { background: linear-gradient(135deg, #0F2C44 0%, #1e3a52 100%); color: white; padding: 60px 0; }
.lead-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 50px; align-items: center; }
.lead-check { background: rgba(212, 175, 55, 0.2); color: var(--accent-color); width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; margin-right: 10px; font-size: 0.8rem; }
.lead-form-box { background: white; padding: 30px; border-radius: 8px; color: var(--text-color); }
.lead-input { width: 100%; padding: 12px; margin-bottom: 15px; border: 1px solid #cbd5e1; border-radius: 6px; font-size: 0.95rem; }

/* Mobile Anpassung */
@media (max-width: 900px) {
    .lead-grid { grid-template-columns: 1fr; }
}
/* --- HEADER CLEANUP --- */

/* 1. Top Bar (WEISS) */
.top-bar {
    background-color: #f1f5f9; /* Helles Grau */
    color: var(--primary-color);
    font-size: 0.8rem;
    padding: 2px 0;
    border-bottom: 1px solid #e2e8f0;
}
.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}
.top-contact {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-right: auto;
}
.top-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
}
.contact-link, .top-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
    display: flex; align-items: center; gap: 6px;
}
.contact-link:hover, .top-link:hover { color: var(--accent-color); }
.whatsapp-link:hover { color: #25D366; } /* WhatsApp Grün bei Hover */

/* Kleiner roter Button oben für Schaden */
.btn-signal-small {
    background: #ef4444;
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    text-decoration: none;
    font-weight: 600;
    display: flex; align-items: center; gap: 5px;
}
.btn-signal-small:hover { background: #dc2626; }


/* 2. Haupt Header (Weiß) */
.site-header {
    background: white;
    padding: 15px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 3. LOGO STEUERUNG (Wichtig!) */
.logo-group {
    display: flex;
    align-items: center;
    gap: 25px; /* Abstand zwischen Unikat und Vema */
}
.logo-main {
    height: 55px; /* Fixe Höhe für Unikat */
    width: auto;
    display: block;
}
.logo-cert {
    height: 35px; /* VEMA deutlich kleiner */
    width: auto;
    opacity: 0.8; /* Etwas dezenter */
    filter: grayscale(100%); /* Optional: Grau machen, damit es nicht ablenkt? Wenn nicht gewünscht, Zeile löschen */
    transition: 0.3s;
}
.logo-cert:hover {
    filter: none;
    opacity: 1;
}

/* 4. Navigation */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 25px;
}
.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 1rem;
    padding: 10px 0;
    display: flex; align-items: center; gap: 5px;
}
.nav-link:hover { color: var(--primary-color); }
.dropdown-icon { font-size: 0.75rem; opacity: 0.5; margin-top: 2px; }

/* Kundenportal Button im Menü */
.btn-sm {
    padding: 8px 18px;
    font-size: 0.9rem;
}

/* Dropdown Logik */
.nav-item { position: relative; }
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%; left: 0;
    background: white;
    min-width: 240px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 10px 0;
    z-index: 999;
}
.nav-item:hover .dropdown-menu { display: block; }
.dropdown-link {
    display: block;
    padding: 8px 20px;
    text-decoration: none;
    color: #475569;
    font-size: 0.95rem;
}
.dropdown-link:hover {
    background: #f8fafc;
    color: var(--primary-color);
    padding-left: 25px; /* Kleiner Slide-Effekt */
    transition: 0.2s;
}

/* Mobile Anpassung */
@media (max-width: 1024px) {
    .nav-menu { display: none; } /* Burger Menü Logik benötigt JS */
    .burger-menu { display: block; font-size: 1.5rem; color: var(--primary-color); cursor: pointer; }
    .top-bar { display: none; } /* Optional: Topbar auf Handy ausblenden um Platz zu sparen */
}
/* --- VERGLEICHS-GRAFIK (Kompakt & Zentriert) --- */
.comparison-wrapper {
    display: flex;
    align-items: stretch;
    justify-content: center; /* Hält alles schön in der Mitte */
    gap: 15px; /* Etwas weniger Abstand als vorher */
    margin: 40px auto;
    flex-wrap: wrap;
    max-width: 900px; /* WICHTIG: Begrenzt die Gesamtbreite */
}

.compare-card {
    flex: 1;
    min-width: 280px; /* Passt auch auf schmalere Handys */
    max-width: 400px; /* WICHTIG: Die Karten werden nicht breiter als 400px */
    width: 100%; /* Sicherheit für Mobile */
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    position: relative;
    border-top: 5px solid #ccc; 
    transition: transform 0.3s ease;
}

.compare-card:hover { transform: translateY(-5px); }

/* Linke Karte: Das Problem (Gehalt) */
.compare-card.bad {
    border-top-color: #ef4444; /* Rot */
    background: linear-gradient(to bottom, #fff, #fff5f5);
}

/* Rechte Karte: Die Lösung (bKV) */
.compare-card.good {
    border-top-color: #10b981; /* Grün */
    background: linear-gradient(to bottom, #fff, #f0fdf4);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.15); /* Leichter grüner Glow */
}

.compare-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.compare-value {
    font-size: 1.8rem; /* Etwas kleiner, wirkt eleganter */
    font-weight: 800;
    margin: 10px 0;
    display: block;
}

.compare-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem; /* Pfeil etwas dezenter */
    color: #cbd5e1;
    padding: 0 5px;
}

/* Mobile Anpassung */
@media (max-width: 768px) {
    .compare-arrow { transform: rotate(90deg); margin: 10px 0; }
}
/* --- RISK GRID (andsafe Style) --- */
/* Risk Grid: Mobile-first, dann 2 Spalten Tablet, dann 3 Spalten Desktop */
.risk-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
}

/* Tablet: 2 Spalten */
@media (min-width: 768px) {
    .risk-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Desktop: 3 Spalten (ergibt 3+2 Layout bei 5 Karten) */
@media (min-width: 1100px) {
    .risk-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
    
    /* Erste 3 Karten: Jeweils 2 Spalten breit */
    .risk-grid .risk-card:nth-child(1) {
        grid-column: 1 / span 2;
    }
    .risk-grid .risk-card:nth-child(2) {
        grid-column: 3 / span 2;
    }
    .risk-grid .risk-card:nth-child(3) {
        grid-column: 5 / span 2;
    }
    
    /* Letzte 2 Karten: Zentriert, jeweils 2 Spalten breit */
    .risk-grid .risk-card:nth-child(4) {
        grid-column: 2 / span 2;
    }
    .risk-grid .risk-card:nth-child(5) {
        grid-column: 4 / span 2;
    }
}

.risk-card {
    background: white;
    padding: 22px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 220px;
}

.risk-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-color: var(--primary-color);
}

.risk-icon-small {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.risk-card h4 {
    margin: 10px 0 0;
    font-size: 1.05rem;
    line-height: 1.25;
    color: var(--primary-color);
    word-break: normal;
    overflow-wrap: anywhere;
    hyphens: auto;
}

.risk-card p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.55;
    margin-top: 10px;
    margin-bottom: 0;
    flex: 1;
}
/* --- BREADCRUMBS --- */
.breadcrumbs {
    background: #f8fafc;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.9rem;
}
.breadcrumbs-list {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.breadcrumbs-list li {
    display: flex;
    align-items: center;
    gap: 8px;
}
.breadcrumbs-list a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s;
}
.breadcrumbs-list a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}
.breadcrumbs-separator {
    color: #cbd5e1;
    font-size: 0.75rem;
}
.breadcrumbs-current {
    color: var(--primary-color);
    font-weight: 600;
}

/* --- RELATED LINKS BOX --- */
.related-links {
    background: #f0f9ff;
    border-left: 4px solid var(--accent-color);
    padding: 25px;
    border-radius: 0 8px 8px 0;
    margin: 40px 0;
}
.related-links h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.related-links h3 i {
    color: var(--accent-color);
}
.related-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 15px;
}
.related-link-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: white;
    border-radius: 6px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s;
    border: 1px solid #e2e8f0;
}
.related-link-item:hover {
    border-color: var(--accent-color);
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.related-link-item i {
    color: var(--accent-color);
    font-size: 1.1rem;
}

/* --- ACCESSIBILITY BOOSTER (Barrierefreiheit) --- */

/* 1. Fokus-Indikator (Für Tastatur-Nutzer sichtbar machen) */
/* Damit man sieht, wo man hintabbt */
:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 3px;
}

/* 2. "Skip to Content" Link (Für Screenreader essentiell) */
/* Dieser Link ist unsichtbar, bis man TAB drückt. Er erlaubt Blinden, das Menü zu überspringen. */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    z-index: 2000;
    transition: top 0.3s;
}
.skip-link:focus {
    top: 0;
}

/* 3. Reduzierte Bewegung (Für Menschen mit Schwindel/Epilepsie) */
/* Wenn der Nutzer im Betriebssystem "Bewegung reduzieren" eingestellt hat, schalten wir Animationen ab */
@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* 4. Kontrast-Verbesserung für Gold auf Weiß */
/* Wenn Text sehr klein ist, ist Gold schwer lesbar. Wir dunkeln es hier minimal ab für Texte */
p .accent-text, li .accent-text {
    color: #b5952f; /* Etwas dunkleres Gold für bessere Lesbarkeit auf Weiß */
}

/* 5. Schriftgrößen-Sicherheit */
/* Verhindert, dass Texte auf Handys zu klein werden */
html {
    -webkit-text-size-adjust: 100%;
}

/* --- LEAD FORM STYLES (Professionell) --- */
.form-group-small {
    margin-bottom: 12px;
}

.lead-input {
    width: 100%;
    padding: 12px 15px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.lead-input:focus {
    outline: none;
    border-color: var(--accent-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.lead-input::placeholder {
    color: #64748b;
}

/* Checkbox Styling für Lead-Forms */
.form-group-small input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--accent-color);
}

.form-group-small label {
    cursor: pointer;
    line-height: 1.4;
}

/* --- COOKIE CONSENT BANNER --- */
#cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-top: 3px solid var(--accent-color);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 25px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.cookie-banner-text {
    flex: 1;
}

.cookie-banner-text p {
    margin: 0;
    color: var(--text-color);
    line-height: 1.5;
}

.cookie-banner-text p:first-child {
    margin-bottom: 5px;
}

.cookie-banner-text strong {
    color: var(--primary-color);
    font-size: 1.05rem;
}

.cookie-banner-text a {
    color: var(--primary-color);
    text-decoration: underline;
}

.cookie-banner-text a:hover {
    color: var(--accent-color);
}

.cookie-banner-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.cookie-btn-primary {
    background: var(--accent-color);
    color: white;
}

.cookie-btn-primary:hover {
    background: #b5952f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.cookie-btn-secondary {
    background: #f1f5f9;
    color: var(--text-color);
    border: 1px solid #e2e8f0;
}

.cookie-btn-secondary:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
}

/* Mobile Anpassung */
@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        padding: 20px 15px;
    }
    
    .cookie-banner-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-btn {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-banner-text {
        text-align: center;
    }
}

/* --- ON-SCROLL ANIMATIONS (Premium Fade-In-Up) --- */

/* Startzustand: Unsichtbar und leicht nach unten versetzt */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Endzustand: Sichtbar und an der richtigen Position */
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggering-Effekt: La-Ola-Welle für nebeneinander stehende Elemente */
.process-step:nth-child(1) { transition-delay: 0s; }
.process-step:nth-child(2) { transition-delay: 0.1s; }
.process-step:nth-child(3) { transition-delay: 0.2s; }
.process-step:nth-child(4) { transition-delay: 0.3s; }

.review-static-card:nth-child(1) { transition-delay: 0s; }
.review-static-card:nth-child(2) { transition-delay: 0.1s; }
.review-static-card:nth-child(3) { transition-delay: 0.2s; }

.risk-card:nth-child(1) { transition-delay: 0s; }
.risk-card:nth-child(2) { transition-delay: 0.1s; }
.risk-card:nth-child(3) { transition-delay: 0.2s; }
.risk-card:nth-child(4) { transition-delay: 0.3s; }

/* Respektiere Nutzer-Präferenzen: Keine Animationen bei prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* --- FAQ STYLES (Card-Style wie Logistik-Seite) --- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  cursor: pointer;
  transition: border-color 0.3s;
}

.faq-item[open] {
  border-color: var(--accent-color);
}

.faq-item > summary {
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--primary-color);
  cursor: pointer;
  padding: 0;
}

.faq-item > summary::-webkit-details-marker {
  display: none;
}

.faq-item > summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--accent-color);
  flex-shrink: 0;
  margin-left: 16px;
}

details:not([open]).faq-item > summary::after {
  content: '+' !important;
}

details[open].faq-item > summary::after {
  content: '-' !important;
}

.faq-item > summary:hover {
  color: var(--accent-color);
}

.faq-answer p {
  margin-top: 15px;
  color: var(--text-color);
  border-top: 1px solid #f1f5f9;
  padding-top: 15px;
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* "Weitere Fragen" Toggle */
.faq-more-toggle {
  background: transparent;
  border: none;
  padding: 0;
  margin-bottom: 0;
  cursor: pointer;
}

.faq-more-toggle > summary.faq-more-summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--accent-color);
  padding: 14px 0;
  cursor: pointer;
}

.faq-more-toggle > summary.faq-more-summary::-webkit-details-marker {
  display: none;
}

.faq-more-toggle > summary.faq-more-summary::after {
  content: '+';
  font-size: 1.1rem;
  font-weight: 700;
  margin-left: 8px;
}

.faq-more-toggle[open] > summary.faq-more-summary::after {
  content: '–';
}

.faq-more-content {
  padding-top: 4px;
}
