/* ==========================================================================
   HINWEIS: Diese Datei ist nach der Reihenfolge der HTML-Struktur sortiert
   (Header -> Hero -> Hauptinhalt-Bausteine -> Footer). Ganz am ENDE dieser
   Datei (Abschnitt 16) liegen CSS-Klassen, die in index.html/startseite.html
   nicht verwendet werden und vermutlich gelöscht werden können -> suche nach
   "VERMUTLICH NICHT MEHR BENÖTIGTE CSS-KLASSEN".
   ========================================================================== */


/* ==========================================================================
   0. RESET & GLOBALE GRUNDEINSTELLUNGEN
   ========================================================================== */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    /* 100% DSGVO-sicherer & moderner System-Schriftarten-Stack */
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #2d3748; /* Weicheres, zeitgemäßes Dunkelgrau statt hartem Schwarz */
    background-color: #FCFAF8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    margin-bottom: 15px;
}

ul, ol {
    padding-left: 1.2rem;
    list-style-position: outside;
}

ol li::marker {
    font-weight: bold; /* Macht nur die Zahlen fett */
}

li {
    line-height: 1.5;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
}

.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
    background-color: #ffffff;
    box-sizing: border-box;
}

/* Trennlinie nur beim eigentlichen Inhaltsbereich (Weiß-zu-Beige-Übergang) -
   NICHT bei Nav/Footer, damit deren Füllfarbe randlos bis zur echten
   Kante reicht, exakt wie beim Hero-Foto.
   Nur der eigentliche Inhaltsbereich bekommt oben/unten Innenabstand,
   damit Kind-Elemente mit eigenem margin nicht nach außen "durchbrechen" */
main.features-wrapper > .container {
    border-left: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
    padding-top: 0;
    padding-bottom: 40px;
}


/* ==========================================================================
   1. HEADER: NAVIGATION
   ========================================================================== */

.main-navigation {
    background-color: transparent;
    position: relative;
    z-index: 100;
}

.nav-container {
    position: relative;
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 0;
}

.nav-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 20px;
}

/* --- LOGO + TELEFON IM HEADER --- */
.brand-name {
    display: flex;
    align-items: center;
    text-decoration: none;
    white-space: nowrap;
    margin-right: auto;
}

.brand-logo {
    height: 52px;
    width: auto;
    display: block;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #033a66;
    text-decoration: none;
    white-space: nowrap;
    margin-left: auto;
}

/* Mobiles Burger-Menü */
.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    cursor: pointer;
    padding: 10px;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
    display: block;
    background: #033a66;
    height: 2px;
    width: 25px;
    position: relative;
    transition: all 0.2s;
}

.nav-toggle-label span::before { content: ''; top: -8px; position: absolute; }
.nav-toggle-label span::after { content: ''; top: 8px; position: absolute; }

.nav-menu {
    list-style: none;
    display: flex;
    width: auto;
    justify-content: center;
}

.nav-menu li a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 8px 16px;
    color: #033a66;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    background-color: transparent;
    text-decoration: underline;
    text-underline-offset: 5px;
    color: #0056b3;
}

header {
    background-color: #FCFAF8;
}

/* --- Responsive: Navigation (Smartphone/Tablet) --- */
@media (max-width: 768px) {
    .nav-inner {
        justify-content: space-between;
        padding: 14px 15px;
    }
    .brand-logo {
        height: 36px;
    }
    .nav-toggle-label {
        display: block;
    }
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #ffffff;
        box-shadow: 0 10px 15px rgba(0,0,0,0.05);
        padding: 15px 0;
        border-top: 1px solid #edf2f7;
    }
    .nav-menu li {
        text-align: center;
    }
    .nav-menu li a {
        padding: 14px;
        font-size: 0.9rem;
        color: #1a202c;
    }
    .nav-menu li a:hover,
    .nav-menu li a.active {
        color: #0056b3;
    }
    .nav-toggle:checked ~ .nav-menu {
        display: flex;
    }
    .header-phone {
        display: none;
    }
    body {
        font-size: 15px;
    }
}


/* ==========================================================================
   2. HEADER: HERO-FOTO
   ========================================================================== */

.hero-photo {
    position: relative;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    aspect-ratio: 3.5 / 1;
    overflow: hidden;
}

.hero-photo-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: #033a66;
    opacity: 0.55;
}

.hero-text {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    padding: 0 20px;
}

.hero-text-boxed {
    width: fit-content;
    max-width: calc(100% - 40px);
    margin: 0 auto;
    padding: 24px 40px;
    background-color: rgba(3, 58, 102, 0.55);
}

.hero-text h1 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: #ffffff;
}

.hero-text p {
    font-size: 0.9rem;
    color: #e2e8f0;
    margin: 0;
}

/* Steuert den bedingten Zeilenumbruch in der Hero-Überschrift */
@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }
}

@media (min-width: 769px) {
    .desktop-only {
        display: inline;
    }
}

/* --- Responsive: Hero-Foto (Smartphone/Tablet) --- */
@media (max-width: 768px) {
    .hero-photo {
        height: 190px;
    }
    .hero-text h1 {
        font-size: 1.15rem;
    }
    .hero-text p {
        font-size: 0.8rem;
    }
}


/* ==========================================================================
   3. MAIN: GRUNDGERÜST & TÜV-LEISTE
   ========================================================================== */

.features-wrapper {
    padding: 0;
}

.tuv-strip {
    width: calc(100% + 40px);
    margin-left: -20px;
    margin-right: -20px;
    margin-bottom: 40px;
    box-sizing: border-box;
    background-color: #F3EFEC;
    padding: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}


/* ==========================================================================
   4. MAIN: EINLEITENDE TEXTBLÖCKE (zentriert, z. B. Startseiten-Intro)
   ========================================================================== */

.section-header {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    margin-bottom: 15px;
    color: #1a202c;
}

.gutachter-text {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.0rem;
    color: #4a5568;
}

.text-block {
    max-width: 900px; /* Perfekte Breite zum Lesen */
    padding: 0 15px;
    margin: 0 auto;
    box-sizing: border-box;
    text-align: center;
    font-size: 1.0rem;
    color: #4a5568;
    margin-bottom: 50px;
}

.text-block h2 {
    max-width: 900px;
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    margin-bottom: 15px;
    color: #1a202c;
}

.text-block h3 {
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    margin-bottom: 15px;
    color: #1a202c;
}


/* ==========================================================================
   5. MAIN: FEATURE-GRID (3 Boxen: Auto / Boot / Wohnmobil — Startseite)
   ========================================================================== */

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
    margin-top: -20px;
}

/* Die Hauptboxen (Kfz, Boot, Wohnmobil) */
.feature-box {
    background: #ffffff;
    padding: 25px;
    border: 1.0px solid #E6E6E6; /* Identischer, feiner grauer Rahmen */
    border-radius: 8px;         /* Behält deine 14px abgerundeten Ecken bei */
    box-shadow: 0 1px 4px rgba(0,0,0,0.05); /* Exakt der dezente Schatten des Formulars */
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

/* Hover-Effekt: Box hebt sich sanft und der Rahmen reagiert leicht */
.feature-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 3px 8px rgba(0,0,0,0.06); /* Sanfterer, moderner Hover-Schatten */
    border-color: #b0b0b0; /* Rahmen wird beim Drüberfahren dezent dunkler */
}

/* Der Bild-Container innerhalb der Box */
.image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 8px; /* Die Fotos behalten ihren feinen inneren Radius */
    margin-bottom: 20px;
}

.feature-box h3 {
    margin-bottom: 12px;
    font-size: 1.35rem;
    font-weight: 600;
}

.feature-box h3 a {
    color: #2d3748;
    text-decoration: none;
}

.feature-box h3 a:hover {
    color: #2d3748;
    text-decoration: none;
}

/* --- Responsive: Feature-Grid (Smartphone/Tablet) --- */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}


/* ==========================================================================
   6. MAIN: TEXT-BLÖCKE MIT LISTEN (linksbündig, z. B. Unterseiten wie index.html)
   ========================================================================== */

.text-block-links {
    max-width: 900px; /* Perfekte Breite zum Lesen */
    padding: 0 15px;
    margin: 0 auto;
    box-sizing: border-box;
    text-align: left;
    font-size: 1.0rem;
    color: #4a5568;
    margin-bottom: 50px;
}

.text-block-links h3 {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    margin-top: 1em;
    margin-bottom: 0.2em;
}

.gutachter-liste {
    margin-top: 20px;
    margin-bottom: 20px;
}

.responsive-img {
    width: 100%;          /* Nutzt den verfügbaren Platz optimal aus */
    max-width: 860px;     /* Begrenzt die maximale Breite auf 800 Pixel */
    height: auto;         /* Passt die Höhe automatisch proportional an */
    display: block;       /* Wichtig für die Zentrierung und Abstände */

    /* Zentrierung, Abstand & Rundung */
    margin-inline: auto;  /* Zentriert das Bild horizontal */
    margin-bottom: 30px;  /* Erzeugt exakt 30px Abstand nach unten */
    border-radius: 8px;  /* Moderne, abgerundete Ecken */
}

/* CTA-Button innerhalb der Textblöcke ("Melden Sie sich bei uns") */
.cta-container {
    display: flex;        /* Aktiviert die Flexbox für die Ausrichtung */
    justify-content: center; /* Zentriert den Button immer exakt in der Mitte */
    width: 100%;          /* Nutzt die volle Breite der Webseite */
    margin-top: 30px;
    margin-bottom: 36px;  /* Abstand nach unten zum nächsten Element */
}

.cta-button {
    /* Layout innerhalb des Buttons */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;                    /* Abstand zwischen Icon und Text */
    padding: 16px 32px;           /* Großzügige, gut klickbare Fläche */

    /* Design & Farben (Seriöses KFZ-Blau) */
    background-color: #033a66;    /* Dunkles, vertrauenswürdiges Blau */
    color: #ffffff;               /* Reinweißer Text für besten Kontrast */
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 1.1rem;
    font-weight: 600;             /* Leicht fett für optimale Lesbarkeit */
    text-decoration: none;        /* Entfernt den Unterstrich des Links */

    /* Form ohne Schatten */
    border-radius: 8px;           /* Seriöse, leicht abgerundete Ecken */

    /* Flüssige Animation */
    transition: all 0.25s ease-in-out;
    cursor: pointer;
}

/* Hover-Effekt (Beim Darüberfahren mit der Maus) */
.cta-button:hover {
    background-color: #28a745;    /* Dynamisches Signal-Orange (KFZ-Branche) */
    transform: translateY(-2px);   /* Minimales Anheben für Interaktivität */
}

/* Klick-Effekt (Wenn der Button gedrückt wird) */
.cta-button:active {
    transform: translateY(0);
}

/* Icon-Größe im Button */
.cta-icon {
    font-size: 1.2rem;
}


/* ==========================================================================
   7. MAIN: RUNDE KONTAKT-BUTTONS (Telefon / WhatsApp / Mail)
   ========================================================================== */

/* Zentriert die gesamte Button-Leiste */
.kontakt-leiste {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 30px;
    gap: 30px; /* Sicherer Abstand für das Smartphone */
}

/* Der Link-Container um das Bild herum */
.button-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background-color: transparent !important; /* Zwingt eventuelle Hintergründe auf transparent */
    border-radius: 50%;
    overflow: hidden; /* Schneidet alles ab, was über den Kreis hinausragt */
    transition: transform 0.2s ease;
}

/* Das Bild selbst – hier schneiden wir die eckigen Kanten ab */
.runder-button {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%; /* ZWINGT AUCH DAS BILD SELBST, KREISROUND ZU SEIN */
    background-color: transparent !important; /* Verhindert eine weiße Box um das Icon */
}

/* Hover-Effekt für Desktop-Nutzer */
.button-link:hover {
    transform: scale(1.1);
}

/* --- Responsive: Kontakt-Leiste (Desktop) --- */
@media (min-width: 768px) {
    .kontakt-leiste {
        gap: 20px;
    }
}


/* ==========================================================================
   8. MAIN: KFZ-SCHADENSRECHNER (Unterseite, z. B. index.html)
   ========================================================================== */

/* Perfekte Zentrierung auf allen Bildschirmen und Abstand nach unten */
.rechner-wrapper {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    padding: 40px 15px !important;
    box-sizing: border-box !important;
    background-color: transparent !important;
    margin-bottom: 60px !important; /* Abstand zum nächsten Element */
}

/* Hauptbox des Rechners */
.kfz-schadensrechner {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    padding: 30px !important;
    border-radius: 8px !important;
    width: 100% !important;
    max-width: 900px !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    box-sizing: border-box !important;
}

/* Header-Layout */
.rechner-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 20px !important;
    margin-bottom: 25px !important;
    border-bottom: 2px solid #f1f5f9 !important;
    padding-bottom: 20px !important;
}

.rechner-header-text { flex: 1 !important; }
.kfz-schadensrechner .rechner-title { font-size: 24px !important; font-weight: 700 !important; color: #0f172a !important; margin: 0 0 6px 0 !important; }
.kfz-schadensrechner .rechner-subtitle { font-size: 14px !important; color: #475569 !important; margin: 0 !important; line-height: 1.5 !important; }
.rechner-logo-box { width: 150px !important; height: 61px !important; flex-shrink: 0 !important; }
.rechner-logo { width: 100% !important; height: 100% !important; object-fit: contain !important; }

/* 2-Spalten-Grid für Desktop */
.calc-grid {
    display: flex !important;
    gap: 25px !important;
    width: 100% !important;
}
.calc-col { flex: 1 !important; width: 100% !important; }
.kfz-schadensrechner .calc-group { margin-bottom: 25px !important; }

/* Kategorien-Titel */
.kfz-schadensrechner .calc-label {
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    display: block !important;
    margin-bottom: 12px !important;
    color: #64748b !important;
}

/* Klickbare Zeilen für die Optionen */
.kfz-schadensrechner .calc-item {
    display: flex !important;
    align-items: center !important;
    margin-bottom: 12px !important;
    cursor: pointer !important;
    font-size: 15px !important;
    color: #1e293b !important;
    padding: 14px 16px !important;
    border-radius: 6px !important;
    background-color: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    transition: all 0.2s ease !important;
    line-height: 1.4 !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

.kfz-schadensrechner .calc-item:hover {
    background-color: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
}

/* Checkbox-Größe und Abstand */
.kfz-schadensrechner .calc-item input[type="checkbox"] {
    margin: 0 16px 0 0 !important;
    width: 20px !important;
    height: 20px !important;
    flex-shrink: 0 !important;
    cursor: pointer !important;
}

/* Berechnen-Button */
.kfz-schadensrechner .calc-btn {
    background-color: #033a66 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 16px !important;
    font-size: 16px !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    width: 100% !important;
    font-weight: 600 !important;
    margin-top: 10px !important;
    box-shadow: 0 2px 6px rgba(3, 58, 102, 0.12) !important;
}
.kfz-schadensrechner .calc-btn:hover { background-color: #022644 !important; }

/* Ergebnisse */
.kfz-schadensrechner .calc-result { margin-top: 25px !important; padding: 20px !important; border-radius: 6px !important; font-size: 15px !important; line-height: 1.6 !important; }
.kfz-schadensrechner .calc-result.warnung { background-color: #fff7ed !important; color: #c2410c !important; border: 1px solid #fed7aa !important; }
.kfz-schadensrechner .calc-result.bagatell { background-color: #f0fdf4 !important; color: #166534 !important; border: 1px solid #bbf7d0 !important; }
.kfz-schadensrechner .calc-result.gutachter { background-color: #fef2f2 !important; color: #991b1b !important; border: 1px solid #fee2e2 !important; }
.kfz-schadensrechner .calc-disclaimer { font-size: 12px !important; margin-top: 15px !important; padding-top: 15px !important; border-top: 1px solid rgba(0,0,0,0.06) !important; opacity: 0.9 !important; }

/* Standard-Stil für die Copyright-Zeile (Desktop) */
.kfz-schadensrechner .rechner-copyright {
    font-size: 11px !important;
    line-height: 1.2 !important;
    color: #94a3b8 !important;
    text-align: center !important;
    margin-top: 25px !important;
    border-top: 1px solid #f1f5f9 !important;
    padding-top: 12px !important;
    letter-spacing: 0.02em !important;
}

/* --- Responsive: KFZ-Schadensrechner (Smartphone/Tablet) --- */
@media screen and (max-width: 768px) {
    .calc-grid {
        flex-direction: column !important;
        gap: 0 !important;
    }
    .kfz-schadensrechner {
        padding: 20px 15px !important;
        border-radius: 8px !important;
    }
    .rechner-header {
        flex-direction: column-reverse !important;
        text-align: center !important;
        gap: 15px !important;
        padding-bottom: 15px !important;
    }
    .kfz-schadensrechner .rechner-title {
        font-size: 20px !important;
    }
    .kfz-schadensrechner .calc-item {
        font-size: 14px !important;
        padding: 14px 12px !important;
        margin-bottom: 10px !important;
    }

    /* Erzwingt die kleine, graue Formatierung des Copyrights auf Smartphones */
    .kfz-schadensrechner .rechner-copyright {
        font-size: 10px !important;
        line-height: 1.2 !important;
        color: #94a3b8 !important;
        text-align: center !important;
        margin-top: 20px !important;
        padding-top: 10px !important;
        display: block !important;
        border-top: 1px solid #f1f5f9 !important;
    }
}


/* ==========================================================================
   9. MAIN: 3-SCHRITTE-PROZESS ("Der schnelle Weg zum Gutachten")
   ========================================================================== */

/* 1. Die äußere Sektion / der Hintergrund */
.process-section {
    padding: 20px 20px !important;
    background-color: #ffffff !important; /* Heller, neutraler Hintergrund */
    text-align: center !important;
    font-family: sans-serif !important;   /* Nutzt die Standardschrift deiner Webseite */
    margin-bottom: 20px !important;       /* Schiebt nachfolgende Elemente sauber nach unten weg */
}

/* Hauptüberschrift ("So läuft es ab") */
.section-title {
    font-size: 1.35rem !important;
    margin-bottom: 10px !important;
    color: #1a202c !important;
    font-weight: 500 !important;
}

/* Unterüberschrift ("In 3 einfachen Schritten...") */
.section-subtitle {
    font-size: 1.0rem !important;
    color: #1a202c !important;
    margin-bottom: 40px !important;
}

/* 2. Flexbox-Container (Verteilt den Platz elastisch auf dem Desktop) */
.process-steps {
    display: flex !important;
    flex-direction: row !important;        /* Auf dem Desktop nebeneinander */
    justify-content: center !important;    /* Zentriert die Boxengruppe auf der Seite */
    gap: 25px !important;                  /* Abstand zwischen den Karten */
    max-width: 900px !important;
    margin: 0 auto !important;
}

/* 3. Die einzelnen Schritt-Karten */
.process-step {
    flex: 1;
    background: #ffffff;
    padding: 30px 20px;
    border: 1.5px solid #E6E6E6;
    border-radius: 8px;
    overflow: visible;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    text-align: center;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* 4. Die Zahl als runder Akzent */
.process-step-number {
    background: #033a66;
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    border-radius: 50%;
    color: #ffffff;
    font-weight: bold;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
    flex-shrink: 0;
}

/* Die realen Verbindungslinien zwischen den Boxen (Desktop-Zentrierung) */
.process-step:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -25px;
    width: 25px;
    height: 1px;
    background: #E6E6E6;
    z-index: 10;
}

/* Schritt-Überschrift (h4) */
.process-step h4 {
    font-size: 1.2rem;
    margin: 0 0 10px 0;
    color: #222;
    font-weight: 600;
}

/* Beschreibungstext innerhalb der Karte */
.process-step p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
    margin: 0;
}

/* --- Responsive: 3-Schritte-Prozess (Smartphone/Tablet) --- */
@media (max-width: 992px) {
    .process-steps {
        flex-direction: column !important;
        gap: 45px !important;
        margin-top: 30px !important;
    }

    .process-step {
        width: 100% !important;
        border: 1.5px solid #dcdcdc;
        border-radius: 8px;
    }

    .process-step:not(:last-child)::before {
        display: none;
    }

    .process-step:not(:last-child)::after {
        content: "";
        position: absolute;
        bottom: -46px;
        left: 50%;
        transform: translateX(-50%);
        width: 1px;
        height: 45px;
        background: #dcdcdc;
        z-index: 10;
    }
}


/* ==========================================================================
   10. MAIN: FAQ-AKKORDEON
   ========================================================================== */

.faq-section {
    background-color: transparent;
    padding: 60px 0;
}
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}
.faq-main-title {
    text-align: center;
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    margin-bottom: 15px;
    color: #1a202c;
}

/* Jede einzelne Akkordeon-Box */
.faq-item {
    background: #ffffff;
    border: 1px solid #eef2f5;
    border-radius: 8px; /* Schöne abgerundete Ecken passend zu den Kacheln */
    margin-bottom: 16px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    overflow: hidden; /* Verhindert, dass die Rundungen ecken */
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
    border-color: #aaaaaa;
}

/* Der klickbare Titel-Balken */
.faq-item summary {
    padding: 15px 15px;
    font-size: 1.0rem;
    font-weight: 600;
    color: #1a2b49;
    cursor: pointer;
    list-style: none; /* Versteckt den Standard-Pfeil */
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.faq-item summary::-webkit-details-marker { display: none; } /* Safari */

/* Plus-Indikator */
.faq-item summary::after {
    content: '+';
    font-size: 24px;
    color: #2196F3;
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
    color: #555555;
}
.faq-item[open] {
    border-color: #2196F3;
}

/* Der Antwort-Textbereich */
.faq-item .faq-answer {
    padding: 0 25px 22px 25px;
    border-top: 1px solid #f5f8fa;
    background-color: #fafbfc;
}
.faq-item .faq-answer p {
    margin: 12px 0 0 0;
    color: #5a6b82;
    line-height: 1.6;
    font-size: 16px;
}


/* ==========================================================================
   11. MAIN: GOOGLE-BEWERTUNGEN
   ========================================================================== */

.google-bewertungen {
    width: 100%;
    max-width: 1010px;
    margin: 0 auto;
    box-sizing: border-box; /* Verhindert Layout-Probleme durch spätere Paddings */
}


/* ==========================================================================
   12. MAIN: ÜBER-MICH-BEREICH (E-E-A-T)
   ========================================================================== */

.about-section {
    padding: 30px 20px !important;
    background-color: #ffffff !important;
    margin-bottom: 20px !important; /* Gleicher Abstand zum nachfolgenden Formular */
}

/* Der Hauptcontainer ohne Rahmen und Schatten */
.about-container {
    max-width: 1000px !important;
    margin: 0 auto !important;
    background: #ffffff !important;
    padding: 10px !important; /* Padding reduziert, da kein Rahmen mehr da ist */
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 40px !important;
    box-sizing: border-box !important;
}

/* Bild-Bereich */
.about-image {
    flex: 1 !important;
    max-width: 320px !important;
    min-width: 260px !important;
}

.about-profile-img {
    width: 100% !important;
    height: auto !important;
    border-radius: 8px !important; /* Behält die weiche Rundung passend zu den Boxen */
    border: none !important;
    box-shadow: none !important;
    display: block !important;
}

/* Text-Bereich */
.about-content {
    flex: 2 !important;
    text-align: left !important;
}

.about-subtitle {
    font-size: 0.85rem !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    color: #033a66 !important; /* Layout-Blau */
    font-weight: 600 !important;
    display: block !important;
    margin-bottom: 5px !important;
}

.about-content h2 {
    font-size: 1.5rem !important;
    color: #1a202c !important;
    margin: 0 0 15px 0 !important;
    font-weight: 600 !important;
}

.about-content p {
    font-size: 0.95rem !important;
    color: #555 !important;
    line-height: 1.6 !important;
    margin: 0 0 15px 0 !important;
}

.about-content p:last-child {
    margin-bottom: 0 !important;
}

/* --- Responsive: Über-mich-Bereich (Smartphone/Tablet) --- */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column !important; /* Auf Smartphones Bild über dem Text stapeln */
        padding: 10px 0 !important;
        gap: 25px !important;
    }

    .about-image {
        max-width: 240px !important; /* Bild mobil etwas kompakter machen */
        margin: 0 auto !important;
    }

    .about-content {
        text-align: center !important; /* Text mobil für bessere Lesbarkeit zentrieren */
    }
}


/* ==========================================================================
   13. MAIN: KONTAKTFORMULAR
   ========================================================================== */

/* Äußerer Container mit Rahmen und Schatten */
.contact-container {
    width: 100%;
    max-width: 600px;
    margin: 40px auto;
    padding: 30px 20px;
    background-color: #ffffff;
    border: 1px solid #E6E6E6; /* Erhöhte, sichtbare graue Umrandung */
    border-radius: 8px;         /* Erhöhte Eckenrundung für weichen Stil */
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #333333;
    box-sizing: border-box;    /* Verhindert das Ausbrechen auf Mobilgeräten */
}

.contact-container h2 {
    font-weight: 600;
    color: #111111;
    margin-bottom: 25px;
    font-size: 1.4rem;
}

/* Formular-Gruppen */
.light-form .form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.light-form label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #555555;
    margin-bottom: 6px;
}

/* Eingabefelder (100% Breite & Schutz vor iOS-Zoom) */
.light-form input[type="text"],
.light-form input[type="email"],
.light-form textarea {
    width: 100%;
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    color: #333333;
    padding: 12px;
    font-size: 16px;           /* Verhindert das automatische Heranzoomen bei iPhones */
    border-radius: 8px;
    transition: all 0.2s ease-in-out;
    box-sizing: border-box;
}

/* Fokus-Effekt (Blau des Headers) */
.light-form input:focus,
.light-form textarea:focus {
    outline: none;
    border-color: #0056b3;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.15);
}

/* DSGVO Checkbox Bereich (Absolut ausbruchsicher auf Handys) */
.light-form .checkbox-group {
    flex-direction: row !important;
    align-items: flex-start;
    gap: 12px;
    margin-top: 20px;
}

.light-form .checkbox-group input[type="checkbox"] {
    margin-top: 2px;
    width: 18px;
    height: 18px;
    min-width: 18px;           /* Verhindert das Zusammendrücken auf Smartphones */
    min-height: 18px;
    accent-color: #0056b3;
}

.light-form .checkbox-group label {
    font-size: 0.8rem;
    color: #666666;
    line-height: 1.5;
    margin: 0;
}

.light-form .checkbox-group a {
    color: #0056b3;
    text-decoration: underline;
}

/* Absende-Button */
.light-form .submit-btn {
    background-color: #033a66;
    color: #ffffff;
    border: none;
    padding: 14px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-top: 10px;
    width: 100%;
    box-sizing: border-box;
}

.light-form .submit-btn:hover {
    background-color: #5cb85c;
}

/* --- Responsive: Kontaktformular (sehr kleine Smartphones) --- */
@media (max-width: 480px) {
    .contact-container {
        padding: 20px 15px;
        margin: 20px auto;
        border-radius: 6px;
    }

    .contact-container h2 {
        font-size: 1.25rem;
        margin-bottom: 20px;
    }
}


/* ==========================================================================
   14. FOOTER
   ========================================================================== */

.footer-wrapper {
    background-color: transparent;
    color: #4a5568;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    background-color: #f8f9fa;
    border-top: 1px solid #e2e8f0;
    border-left: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
    padding: 60px 40px 40px;
}

.footer-col h4 {
    color: #1a202c;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    margin-bottom: 18px;
}

.footer-col ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.footer-col ul li {
    margin: 0 0 12px 0;
    font-size: 0.9rem;
}

.footer-col a {
    color: #4a5568;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: #033a66;
    text-decoration: underline;
}

.footer-address {
    color: #718096;
    line-height: 1.5;
}

/* Firmen-Spalte */
.footer-brand-name {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: #033a66;
    letter-spacing: -0.3px;
}

.footer-brand-role {
    display: block;
    font-size: 0.78rem;
    color: #5a7794;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 3px 0 16px 0;
}

.footer-brand p {
    font-size: 0.88rem;
    line-height: 1.65;
    color: #4a5568;
    max-width: 320px;
}

.footer-hours {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #4a5568;
}

/* QR-Code-Spalte (nur Desktop mit Maus, siehe Media Query unten) */
.qr-code-desktop-only {
    display: none;
}

.qr-code-desktop-only img {
    margin: 8px 0;
}

.qr-code-desktop-only p {
    font-size: 13px;
    color: #666;
    margin: 0;
}

@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
    .qr-code-desktop-only {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Untere Leiste mit Copyright & rechtlichen Links */
.footer-bottom {
    background-color: transparent;
}

.footer-bottom-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #eef1f4;
    border-top: 1px solid #e2e8f0;
    border-left: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
    padding: 18px 20px;
    gap: 8px;
}

.footer-bottom .copyright {
    margin: 0;
    font-size: 0.8rem;
    color: #718096;
}

.footer-bottom .footer-links a {
    color: #4a5568;
    text-decoration: none;
    margin: 0 12px;
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.footer-bottom .footer-links a:hover {
    color: #033a66;
    text-decoration: underline;
}

/* --- Responsive: Footer (Tablet) --- */
@media (max-width: 900px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 35px 25px;
    }
    .footer-brand {
        grid-column: 1 / -1;
    }
    .footer-brand p {
        max-width: 100%;
    }
}

/* --- Responsive: Footer (Smartphone) --- */
@media (max-width: 560px) {
    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 45px 20px 30px;
        gap: 30px;
    }
    .footer-brand p {
        margin: 0 auto;
    }
    .footer-bottom .footer-links a {
        margin: 0 10px;
    }
}


/* ==========================================================================
   15. HUB-SEITEN (weitere Unterseiten mit geteiltem Hero-Layout Bild/Text)
   ------------------------------------------------------------------------
   HINWEIS: Diese Regeln lagen im Original versehentlich VERSCHACHTELT in der
   mobilen @media (max-width: 768px)-Klammer aus Abschnitt 1 und griffen
   dadurch nur unterhalb von 768px. Das war mit hoher Wahrscheinlichkeit ein
   Fehler (fehlende schließende Klammer weiter oben). Hier als eigenständiger,
   uneingeschränkt geltender Block wiederhergestellt.
   ========================================================================== */

.hero .hero-split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.hero .hero-text {
    flex: 1 1 420px;
}

.hero .hero-image {
    flex: 1 1 320px;
    text-align: center;
}

.hero .hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}


/* ==========================================================================
   16. BREADCRUMB (Orts-Unterseiten der Hubs, z. B. /kfz-gutachter/potsdam)
   ========================================================================== */
.breadcrumb.container {
    padding-top: 12px;
    padding-bottom: 12px;
    font-size: 0.8rem;
    border-bottom: 1px solid #e2e8f0;
}

@media (max-width: 768px) {
    .breadcrumb.container {
        padding-top: 10px;
        padding-bottom: 10px;
        font-size: 0.75rem;
    }
}

.breadcrumb a {
    color: #033a66;
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb .breadcrumb-sep {
    color: #94a3b8;
    margin: 0 6px;
}

.breadcrumb .breadcrumb-current {
    color: #64748b;
}

/* Teaser-Link auf den Hub-Seiten, der auf die ausführliche Orts-Unterseite verweist */
.region-teaser-link {
    display: inline-block;
    margin-top: 6px;
    font-weight: 600;
    color: #0056b3;
    text-decoration: none;
}

.region-teaser-link:hover {
    text-decoration: underline;
}

.region-teaser-link::after {
    content: " →";
}

/* ==========================================================================
   17. RECHTLICHE SEITEN (Impressum, Datenschutz)
   ========================================================================== */
.legal-content {
    margin-top: 40px;
}

.legal-content h2 {
    margin-top: 1.6em;
    margin-bottom: 0.4em;
}

.legal-content h2:first-of-type {
    margin-top: 0;
}

.legal-content p {
    margin-top: 0;
    margin-bottom: 1em;
}

.legal-content a {
    color: #0056b3;
}

/* ==========================================================================
   18. COOKIE-CONSENT
   ========================================================================== */
.cookie-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(2px);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    overflow-y: auto;
}
.cookie-overlay.hidden {
    display: none;
}

.cookie-modal {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 480px;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    padding: 32px 30px 26px;
    animation: cookiePopIn 0.25s ease;
    margin: auto;
}
@keyframes cookiePopIn {
    from { transform: scale(0.96); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

.cookie-logo-row {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}
.cookie-logo-row img {
    height: 46px;
}

.cookie-modal h2 {
    margin: 0 0 10px;
    font-size: 1.05rem;
    text-align: center;
    color: #1a202c;
}
.cookie-modal p.cookie-desc {
    margin: 0 0 20px;
    font-size: 0.85rem;
    color: #555555;
    line-height: 1.55;
    text-align: center;
}
.cookie-modal p.cookie-desc a {
    color: #0056b3;
    text-decoration: underline;
    font-weight: 600;
}

.cookie-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.cookie-btn {
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    width: 100%;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.cookie-btn.primary {
    background-color: #033a66;
    color: #ffffff;
}
.cookie-btn.primary:hover { background-color: #5cb85c; }

.cookie-btn.secondary {
    background-color: #ffffff;
    color: #033a66;
    border: 1.5px solid #033a66;
}
.cookie-btn.secondary:hover { background-color: #f0f4f8; }

.cookie-btn.tertiary {
    background-color: #f4f6f8;
    color: #414d5e;
    border: 1.5px solid #d7dee6;
}
.cookie-btn.tertiary:hover { background-color: #e9edf1; border-color: #c2ccd6; }

.cookie-settings {
    margin-top: 18px;
    border-top: 1px solid #e2e8f0;
    padding-top: 16px;
    display: none;
}
.cookie-settings.open {
    display: block;
}

.cookie-category {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}
.cookie-category:last-child { border-bottom: none; }
.cookie-category-text h4 {
    margin: 0 0 3px;
    font-size: 0.85rem;
    color: #1a202c;
}
.cookie-category-text p {
    margin: 0;
    font-size: 0.76rem;
    color: #5a6b82;
    line-height: 1.45;
}

.cookie-switch {
    position: relative;
    width: 42px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}
.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.cookie-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #cbd5e1;
    border-radius: 999px;
    transition: 0.2s;
}
.cookie-slider::before {
    content: "";
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    top: 3px;
    background-color: #fff;
    border-radius: 50%;
    transition: 0.2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.cookie-switch input:checked + .cookie-slider { background-color: #033a66; }
.cookie-switch input:checked + .cookie-slider::before { transform: translateX(18px); }
.cookie-switch input:disabled + .cookie-slider { background-color: #a9c3d6; cursor: not-allowed; opacity: 0.8; }

.cookie-settings-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}

.cookie-reopen {
    position: fixed;
    bottom: 16px;
    left: 16px;
    background: #033a66;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 9990;
    display: none;
    align-items: center;
    justify-content: center;
}
.cookie-reopen.visible {
    display: flex;
}

body.cookie-modal-open {
    overflow: hidden;
}

@media (max-width: 560px) {
    .cookie-overlay { padding: 14px; }
    .cookie-modal {
        max-width: 100%;
        width: 100%;
        border-radius: 14px;
        max-height: calc(100vh - 28px);
        padding: 26px 20px 22px;
    }
}


