/* Design system: Vertrauen & Modernität (Clean, Blau, Hellgrün-Akzent) */
:root {
    --color-bg: #f1f5f9;
    --color-surface: #ffffff;
    --color-text: #475569;
    --color-text-muted: #64748b;
    --color-heading: #1e3a5f;
    --color-trust-blue: #2563eb;
    --color-trust-blue-dark: #1e40af;
    --color-accent-green: #15803d;
    --color-accent-green-soft: #ecfdf5;
    --color-border: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(30, 58, 95, 0.06);
    --shadow-md: 0 4px 24px rgba(30, 58, 95, 0.08);
    --radius-lg: 16px;
    --space-section: clamp(2.5rem, 5vw, 3.75rem);
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --leading-body: 1.65;
    --leading-tight: 1.25;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    line-height: var(--leading-body);
    color: var(--color-text);
    background: var(--color-bg);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: clamp(1.25rem, 4vw, 2.5rem);
}

/* Header — hell, seriös, blauer Akzent */
header {
    background: var(--color-surface);
    color: var(--color-heading);
    padding: clamp(2rem, 4vw, 2.75rem);
    border-radius: var(--radius-lg);
    margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
    border-bottom: 4px solid var(--color-trust-blue);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(1.25rem, 3vw, 2.5rem);
    max-width: 56rem;
    margin: 0 auto;
}

.header-logo {
    height: clamp(7.5rem, 14vw, 10.5rem);
    width: auto;
    flex-shrink: 0;
    object-fit: contain;
}

.header-text {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.header-text h1 {
    margin-bottom: 0.35rem;
}

.header-text .subtitle {
    margin: 0;
    max-width: none;
    text-align: left;
}

h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-heading);
    letter-spacing: -0.02em;
    line-height: var(--leading-tight);
}

.subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    font-weight: 400;
    color: var(--color-text-muted);
    margin: 0;
    line-height: var(--leading-body);
    text-align: inherit;
}

/* Sections — viel Weißraum, ruhige Flächen */
section {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-section);
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
    box-shadow: var(--shadow-sm);
    color: var(--color-text);
}

section * {
    color: inherit;
}

section h2,
section h3,
section h4 {
    color: var(--color-heading) !important;
    letter-spacing: -0.02em;
}

section h2 {
    font-weight: 600;
    line-height: var(--leading-tight);
    margin-bottom: 1rem;
}

section p,
section li {
    color: var(--color-text) !important;
}

/* Intro Highlight / Landing Hero */
.intro-highlight,
.landing-hero {
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.04) 0%, var(--color-surface) 100%);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-trust-blue);
}

.intro-highlight::before,
.landing-hero::before {
    display: none;
}

.intro-content {
    text-align: center;
}

.intro-highlight h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-heading);
    margin-bottom: 1rem;
}

.intro-promise {
    font-size: 1em;
    color: var(--color-text);
    line-height: var(--leading-body);
    margin-bottom: 2rem;
}

/* Hero Leasing Rückgabe: kompakt + Icon-Kacheln */
section.landing-hero {
    padding: clamp(0.95rem, 2.2vw, 1.35rem) clamp(0.85rem, 2.8vw, 1.35rem) !important;
}

section.landing-hero .intro-content {
    max-width: 36rem;
    margin: 0 auto;
}

section.landing-hero h2 {
    font-size: clamp(1.3rem, 3.8vw, 1.75rem);
    font-weight: 600;
    color: var(--color-heading);
    margin-bottom: 0.4rem;
    line-height: var(--leading-tight);
}

@media (min-width: 769px) {
    section.landing-hero h2 {
        font-size: clamp(1.45rem, 2.5vw, 1.85rem);
    }
}

section.landing-hero .intro-promise {
    margin-bottom: 0.85rem;
    font-size: clamp(0.86rem, 2vw, 0.94rem);
    line-height: 1.55;
}

section.landing-hero .expertise-badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
    justify-items: stretch;
    gap: 0.65rem;
    width: min(27rem, 100%);
    margin: 0 auto;
}

section.landing-hero .badge-link {
    display: flex;
    min-width: 0;
    height: 100%;
    align-self: stretch;
}

section.landing-hero .badge {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    min-width: 0;
    min-height: clamp(6.25rem, 18vw, 7.25rem);
    padding: 0.85rem 0.5rem 0.75rem;
    border-radius: 12px;
    box-sizing: border-box;
}

section.landing-hero .badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    flex-shrink: 0;
    border-radius: 10px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--color-trust-blue);
}

section.landing-hero .badge-icon svg {
    width: 1.35rem;
    height: 1.35rem;
}

section.landing-hero .badge-text {
    flex: 0 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 2.55em;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-wrap: balance;
    hyphens: auto;
}

.expertise-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.badge-link {
    text-decoration: none;
    display: block;
}

.badge-link:hover {
    text-decoration: none;
}

.badge {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    text-align: center;
    min-width: 140px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.badge-link:hover .badge {
    border-color: var(--color-trust-blue);
    box-shadow: var(--shadow-sm);
}

.badge-number {
    display: block;
    font-size: 2.2em;
    font-weight: 700;
    color: var(--color-trust-blue);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.badge-text {
    display: block;
    font-size: 0.95em;
    color: var(--color-heading);
    font-weight: 600;
}

/* FAQ Leasing Rückgabe */
.faq-list {
    margin-top: 0.5rem;
}

.faq-item {
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--color-border);
}

.faq-item:last-child {
    border-bottom: none;
}

section .faq-question {
    font-weight: 600;
    color: var(--color-heading) !important;
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

section .faq-answer {
    margin-bottom: 0 !important;
    color: var(--color-text) !important;
}

/* Hervorgehobene Service-Karte (Leasing Rückgabe) — gleiche Akzentfarbe wie Produkt/Preis */
.card-featured {
    border: 2px solid var(--color-trust-blue) !important;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.12);
    background: #eff6ff;
}

.card-link:hover .card-featured {
    border-color: var(--color-trust-blue-dark) !important;
}

/* Vergleichstabelle Vorteile — eigenes Farbset (Schiefer / Violett / Teal), klar von Produkt-Blau getrennt */
.compare-intro {
    margin-bottom: 1.5rem;
    max-width: 48rem;
}

.compare-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 0.5rem;
}

.compare-table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.compare-table thead tr {
    border-bottom: 2px solid var(--color-border);
}

.compare-th-feature {
    width: 40%;
    text-align: left;
    padding: 1rem 0.75rem 1rem 0;
    font-weight: 600;
    color: var(--color-heading);
    vertical-align: bottom;
}

.compare-th-lg,
.compare-th-other,
.compare-th-le {
    width: 20%;
    text-align: center;
    padding: 1rem 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    vertical-align: bottom;
}

.compare-th-lg {
    color: #475569;
    background: linear-gradient(180deg, #f1f5f9 0%, rgba(241, 245, 249, 0.35) 100%);
    border-radius: 10px 10px 0 0;
}

.compare-th-other {
    color: #5b21b6;
    background: linear-gradient(180deg, #f5f3ff 0%, rgba(245, 243, 255, 0.4) 100%);
    border-radius: 10px 10px 0 0;
}

.compare-th-le {
    color: #0f766e;
    background: linear-gradient(180deg, #ecfdf5 0%, rgba(236, 253, 245, 0.5) 100%);
    border-radius: 10px 10px 0 0;
}

.compare-table tbody tr {
    border-bottom: 1px solid var(--color-border);
}

.compare-table tbody tr:hover {
    background: rgba(13, 148, 136, 0.06);
}

.compare-feature {
    text-align: left;
    font-weight: 500;
    color: var(--color-text) !important;
    padding: 0.85rem 0.75rem 0.85rem 0;
    vertical-align: middle;
    line-height: 1.4;
}

.compare-cell {
    text-align: center;
    vertical-align: middle;
    padding: 0.65rem 0.35rem;
}

.cmp-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 0.95rem;
    line-height: 1;
    font-weight: 700;
}

/* Nein: dunkles Häkchen auf pastellfarbenem Kreis (bessere Lesbarkeit als Weiß auf Hellblau) */
.cmp-x-lg {
    background: #e2e8f0;
    color: #334155;
}

.cmp-x-other {
    background: #ede9fe;
    color: #5b21b6;
}

.cmp-check {
    color: #fff;
}

.cmp-check-other {
    background: #7c3aed;
}

.cmp-check-le {
    background: #0d9488;
}

/* Produkte Sektion — Pakete */
.product-category-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-trust-blue) !important;
    margin: -0.5rem 0 0.75rem;
    text-transform: none;
}

.product-intro {
    color: var(--color-text);
    max-width: 42rem;
    margin-bottom: 2rem;
    line-height: var(--leading-body);
}

.product-packages {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1rem, 2.5vw, 1.5rem);
    align-items: stretch;
    margin-bottom: 2.5rem;
}

.product-package {
    display: flex;
    flex-direction: column;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: clamp(1.25rem, 3vw, 1.75rem);
    box-shadow: var(--shadow-sm);
    min-height: 100%;
}

.product-package--featured {
    border: 2px solid var(--color-trust-blue);
    box-shadow: var(--shadow-md);
    background: linear-gradient(180deg, #eff6ff 0%, var(--color-surface) 42%);
}

.product-package-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.product-package-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.35rem 0.6rem;
    border-radius: 6px;
}

.product-package-badge--popular {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid rgba(146, 64, 14, 0.2);
}

.product-package-badge--expert {
    background: var(--color-accent-green-soft);
    color: var(--color-accent-green);
    border: 1px solid rgba(21, 128, 61, 0.25);
}

.product-package-title {
    margin: 0 0 0.75rem;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-heading) !important;
    letter-spacing: -0.02em;
}

.product-package-desc {
    margin: 0 0 1.25rem;
    font-size: 0.95rem;
    color: var(--color-text);
    line-height: var(--leading-body);
    flex-grow: 0;
}

.product-package-price {
    margin: 0;
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--color-trust-blue-dark) !important;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.product-package-tax {
    margin: 0.35rem 0 1.25rem;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.product-package-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    flex-grow: 1;
}

.product-package-list li {
    position: relative;
    padding-left: 1.35rem;
    margin-bottom: 0.6rem;
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--color-text) !important;
}

.product-package-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-trust-blue);
    font-weight: 700;
}

.product-package-pill {
    display: inline-block;
    background: var(--color-trust-blue);
    color: #fff !important;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.2rem 0.45rem;
    border-radius: 4px;
    margin-right: 0.35rem;
    vertical-align: middle;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.product-package-note {
    margin: 0 0 1.5rem;
    font-size: 0.88rem;
    color: var(--color-text-muted);
    line-height: 1.55;
    flex-grow: 1;
}

.product-package-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    min-height: 48px;
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none !important;
    text-align: center;
    border: 2px solid var(--color-trust-blue);
    color: var(--color-trust-blue) !important;
    background: var(--color-surface);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.product-package-btn:hover {
    background: #eff6ff;
    color: var(--color-trust-blue-dark) !important;
    border-color: var(--color-trust-blue-dark);
}

.product-package-btn--primary {
    background: var(--color-trust-blue);
    color: #fff !important;
    border-color: var(--color-trust-blue);
}

.product-package-btn--primary:hover {
    background: var(--color-trust-blue-dark);
    border-color: var(--color-trust-blue-dark);
    color: #fff !important;
}

/* Zweites Produkt: Leasingrückgabe Vorab-Check */
.product-category-label--sub {
    margin-top: 2.75rem;
    margin-bottom: 1rem;
}

.product-vorabcheck {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: clamp(1.35rem, 3vw, 2rem);
    margin-bottom: 2rem;
    max-width: 52rem;
    box-shadow: var(--shadow-sm);
}

.product-vorabcheck .product-package-title {
    margin-bottom: 0.85rem;
}

.product-package-list--tight li {
    margin-bottom: 0.45rem;
}

.product-vorabcheck-hint {
    font-weight: 400;
    color: var(--color-text-muted);
    font-size: 0.92em;
}

.product-vorabcheck-detail-link {
    margin: 0.35rem 0 1rem;
    font-size: 0.92rem;
    line-height: 1.45;
}

.product-vorabcheck-detail-link a {
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.product-vorabcheck-detail-link a:hover {
    text-decoration-thickness: 2px;
}

.product-vorabcheck-block {
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}

.product-vorabcheck-subtitle {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-heading) !important;
    margin: 0 0 0.65rem;
    line-height: var(--leading-tight);
}

.product-vorabcheck-block p {
    margin-bottom: 0.85rem;
    color: var(--color-text);
    line-height: var(--leading-body);
}

.product-vorabcheck-benefits-intro {
    margin-bottom: 0.35rem;
    margin-top: 0.25rem;
}

.product-vorabcheck-footer {
    margin-bottom: 0 !important;
    margin-top: 0.75rem;
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: var(--leading-body);
}

.product-vorabcheck-cta {
    margin-top: 2rem;
    align-self: flex-start;
}

.product-leistungen {
    margin-bottom: 0;
    padding-top: 0.5rem;
    border-top: 1px solid var(--color-border);
}

.product-leistungen h4 {
    color: var(--color-heading) !important;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.product-leistungen p {
    margin-bottom: 0.85rem;
    max-width: 52rem;
}

@media (max-width: 900px) {
    .product-packages {
        grid-template-columns: 1fr;
        max-width: 26rem;
        margin-left: auto;
        margin-right: auto;
    }

    .product-vorabcheck-cta {
        align-self: stretch;
        justify-content: center;
    }
}

h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    color: var(--color-heading);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    line-height: var(--leading-tight);
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

h3 {
    font-size: 1.5em;
    font-weight: 600;
    color: var(--color-heading);
    margin: 1.25em 0 0.5em;
    letter-spacing: -0.02em;
}

h4 {
    font-size: 1.25em;
    font-weight: 600;
    color: var(--color-heading);
    margin: 1em 0 0.5em;
}

p {
    margin-bottom: 1em;
    font-size: 1em;
    color: var(--color-text);
}

/* Grid Layouts */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

@media (max-width: 1024px) and (min-width: 769px) {
    .feature-with-image > div:last-child {
        flex: 0 0 45%;
        max-width: 45%;
    }
    
    .feature-with-image > div:first-child {
        flex: 1;
        min-width: 0;
    }
    
    .feature-layout {
        gap: 1.5rem;
    }
}

@media (max-width: 900px) and (min-width: 769px) {
    .feature-with-image {
        gap: 1.5rem;
    }
    
    .feature-with-image > div:last-child {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
    }

    .header-text {
        text-align: center;
        width: 100%;
    }

    .header-text .subtitle {
        text-align: center;
    }

    h1 {
        font-size: 2rem;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .feature-with-image {
        flex-direction: column !important;
        gap: 1.5rem;
    }
    
    .feature-with-image > div:last-child {
        flex: none !important;
        width: 100% !important;
        max-width: 100% !important;
        min-height: 250px;
        order: 2;
    }
    
    .feature-with-image > div:first-child {
        order: 1;
        width: 100%;
        min-width: 0;
        overflow-wrap: break-word;
    }
    
    .feature-layout {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
    
    .feature-text {
        grid-column: 1 !important;
        grid-row: 1 !important;
    }
    
    .feature-image {
        grid-column: 1 !important;
        grid-row: 2 !important;
        min-height: 250px !important;
    }
    
    .services-vertical {
        grid-column: 1 !important;
        grid-row: 3 !important;
        min-height: auto !important;
    }
}

@media (max-width: 480px) {
    .feature-with-image {
        gap: 1rem;
    }
    
    .feature-with-image > div:last-child {
        min-height: 200px;
    }
    
    .intro-highlight h2 {
        font-size: 1.85rem;
    }

    section.landing-hero h2 {
        font-size: 1.35rem;
    }

    .intro-promise {
        font-size: 1.1em;
    }

    section.landing-hero .intro-promise {
        font-size: 0.88rem;
    }

    .expertise-badges {
        gap: 1rem;
    }

    section.landing-hero .expertise-badges {
        gap: 0.5rem;
        width: 100%;
    }

    .badge {
        min-width: 120px;
        padding: 1rem 1.5rem;
    }

    section.landing-hero .badge {
        min-height: 6rem;
        padding: 0.65rem 0.35rem 0.6rem;
    }

    .badge-number {
        font-size: 1.8em;
    }

    section.landing-hero .badge-icon {
        width: 2.5rem;
        height: 2.5rem;
    }

    section.landing-hero .badge-icon svg {
        width: 1.2rem;
        height: 1.2rem;
    }

    section.landing-hero .badge-text {
        font-size: 0.72rem;
        min-height: 2.45em;
    }
}

/* Cards */
.card-link {
    text-decoration: none;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-link:hover {
    transform: translateY(-3px);
    text-decoration: none;
}

.card {
    background: var(--color-surface);
    padding: clamp(1.5rem, 3vw, 2rem);
    border-radius: 12px;
    border: 1px solid var(--color-border);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.card-link:hover .card {
    border-color: var(--color-trust-blue);
    box-shadow: var(--shadow-md);
}

.card p {
    color: var(--color-text) !important;
}

section .card h4,
section .card p {
    color: var(--color-text) !important;
}

.card h3 {
    margin-top: 0;
    color: var(--color-heading) !important;
}

.card h4 {
    margin-top: 0;
    color: var(--color-trust-blue) !important;
}

/* Image Card */
.image-card {
    background-size: cover;
    background-position: center;
    padding: 2rem;
    border-radius: 0.35em;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
    text-align: center;
}

@media (max-width: 768px) {
    .stats {
        grid-template-columns: 1fr;
    }
}

.stat-number {
    font-size: clamp(2.25rem, 5vw, 3em);
    font-weight: 700;
    color: var(--color-trust-blue);
    display: block;
    letter-spacing: -0.03em;
    line-height: 1;
}

.stat-label {
    font-size: 1.2em;
    font-weight: 600;
    color: var(--color-heading);
    display: block;
    margin-top: 0.5em;
}

.stat-description {
    font-size: 0.9em;
    color: var(--color-text-muted);
    margin-top: 0.5em;
}

/* Quote */
.quote {
    background: var(--color-bg);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    font-style: italic;
    border-radius: 12px;
    color: var(--color-text);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-trust-blue);
}

.quote-author {
    font-style: normal;
    margin-top: 1rem;
    color: var(--color-text-muted);
    font-size: 0.9em;
}

/* CTA-Bereich: Kacheln einheitlich in Blautönen (kein Grün) */
#unabhaengige-expertise {
    --cta-tile-bg: #eff6ff;
    --cta-tile-border: rgba(37, 99, 235, 0.2);
    --cta-tile-highlight-bg: #e8f0fe;
    --cta-tile-highlight-border: rgba(30, 64, 175, 0.22);
}

/* Unabhängige Expertise: „Ihr Vorteil in Kürze“ weniger vertikal, ohne andere .grid-2/.card zu ändern */
#unabhaengige-expertise .feature-text h2 {
    margin-bottom: 0.5rem;
}

#unabhaengige-expertise .feature-text h2 + p {
    margin-bottom: 0.85rem;
}

#unabhaengige-expertise .feature-text h3 {
    margin: 0 0 0.45rem;
    font-size: 1.05rem;
    font-weight: 700;
}

#unabhaengige-expertise .feature-text .grid-2 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.6rem 0.75rem;
    margin: 0 0 0.65rem;
}

#unabhaengige-expertise .feature-text .grid-2 .card {
    padding: 0.7rem 0.85rem;
    border-radius: 10px;
    min-height: 0;
    height: auto;
    background: var(--cta-tile-bg);
    border: 1px solid var(--cta-tile-border);
    box-shadow: none;
}

#unabhaengige-expertise .feature-text .grid-2 .card:hover {
    border-color: var(--color-trust-blue);
    box-shadow: 0 1px 6px rgba(37, 99, 235, 0.1);
}

#unabhaengige-expertise .feature-text .grid-2 .card h4 {
    margin: 0 0 0.2rem;
    font-size: 0.92rem;
    line-height: 1.25;
}

#unabhaengige-expertise .feature-text .grid-2 .card p {
    font-size: 0.8125rem !important;
    line-height: 1.38 !important;
    margin: 0 !important;
}

#unabhaengige-expertise .feature-text .quote {
    margin: 0.5rem 0 0;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    line-height: 1.45;
    background: var(--cta-tile-bg);
    border: 1px solid var(--cta-tile-border);
    border-left: 4px solid var(--color-trust-blue);
}

#unabhaengige-expertise .feature-text .quote-author {
    margin-top: 0.45rem;
    font-size: 0.8125rem;
}

@media (max-width: 1100px) {
    #unabhaengige-expertise .feature-text .grid-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    #unabhaengige-expertise .feature-text .grid-2 {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

#unabhaengige-expertise .service-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 10px;
    background: linear-gradient(145deg, rgba(37, 99, 235, 0.14), rgba(37, 99, 235, 0.05));
    color: var(--color-trust-blue);
}

#unabhaengige-expertise .service-icon svg {
    width: 1.375rem;
    height: 1.375rem;
}

#unabhaengige-expertise .services-vertical .service-box {
    background: var(--cta-tile-bg);
    border: 1px solid var(--cta-tile-border);
}

#unabhaengige-expertise .services-vertical .service-box:hover {
    border-color: var(--color-trust-blue);
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.1);
}

#unabhaengige-expertise .highlight {
    background: var(--cta-tile-highlight-bg);
    border: 1px solid var(--cta-tile-highlight-border);
    border-left: 4px solid var(--color-trust-blue);
}

/* Benefits List */
ul {
    list-style: none;
    padding-left: 0;
}

ul li {
    padding-left: 1.5em;
    margin-bottom: 0.75em;
    position: relative;
    color: var(--color-text);
}

ul li:before {
    content: "✓";
    color: var(--color-accent-green);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Links */
a {
    color: var(--color-trust-blue);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--color-trust-blue-dark);
    text-decoration: underline;
}

/* Footer */
footer {
    text-align: center;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    margin-top: 2rem;
    color: var(--color-text-muted);
    font-size: 0.9em;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

/* Highlight boxes */
.highlight {
    background: var(--color-accent-green-soft);
    border: 1px solid rgba(21, 128, 61, 0.2);
    border-left: 4px solid var(--color-accent-green);
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin: 2rem 0;
}

.highlight h3 {
    margin-top: 0;
}

/* Feature with image */
.feature-with-image {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: flex-start;
    width: 100%;
}

.feature-with-image > div:first-child {
    flex: 1;
    min-width: 0;
    overflow-wrap: break-word;
}

.feature-with-image > div:last-child {
    flex: 0 0 40%;
    min-width: 0;
    max-width: 40%;
}

.feature-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
    min-height: 400px;
}

.feature-text {
    grid-column: 1 / -1;
    grid-row: 1;
}

.feature-image {
    grid-column: 1;
    grid-row: 2;
}

.services-vertical {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    height: 100%;
    min-height: 400px;
}


.feature-image {
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    min-height: 400px;
    height: 100%;
}

/* Services vertical layout */
.services-vertical {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    margin: 0;
    height: 100%;
    min-height: 400px;
}

.service-box {
    background: var(--color-surface);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-box:hover {
    border-color: var(--color-trust-blue);
    box-shadow: var(--shadow-sm);
}

.service-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-content {
    flex: 1;
}

.service-box h4 {
    color: var(--color-heading);
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.service-box p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: var(--leading-body);
}

/* Icon features */
.icon-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.icon-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    flex-direction: row;
}

.icon-chevron {
    background: var(--color-trust-blue);
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}

.icon-chevron::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-top: 8px solid var(--color-trust-blue);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
}

.icon-chevron svg {
    color: white;
    width: 32px;
    height: 32px;
}

.icon-content {
    flex: 1;
}

.icon-content h4 {
    color: var(--color-heading);
    margin: 0 0 0.5rem 0;
    font-size: 1.1em;
}

.icon-content p {
    color: var(--color-text);
    margin: 0;
    font-size: 0.95em;
    line-height: var(--leading-body);
}

/* Professionelle Fahrzeugrückgabe: Leistungskarten + Icons */
#fahrzeugrueckgabe .fzg-return-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#fahrzeugrueckgabe .fzg-return-card {
    display: flex;
    align-items: flex-start;
    gap: 1.15rem;
    padding: 1.2rem 1.35rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#fahrzeugrueckgabe .fzg-return-card:hover {
    border-color: var(--color-trust-blue);
    box-shadow: var(--shadow-md);
}

#fahrzeugrueckgabe .fzg-return-card__icon {
    flex-shrink: 0;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 10px;
    background: linear-gradient(145deg, rgba(37, 99, 235, 0.16), rgba(37, 99, 235, 0.05));
    color: var(--color-trust-blue);
    display: flex;
    align-items: center;
    justify-content: center;
}

#fahrzeugrueckgabe .fzg-return-card__icon--savings {
    background: linear-gradient(145deg, rgba(21, 128, 61, 0.14), rgba(21, 128, 61, 0.05));
    color: var(--color-accent-green);
}

#fahrzeugrueckgabe .fzg-return-card__icon svg {
    width: 1.625rem;
    height: 1.625rem;
}

#fahrzeugrueckgabe .fzg-return-card__body {
    flex: 1;
    min-width: 0;
}

#fahrzeugrueckgabe .fzg-return-card__title {
    margin: 0 0 0.35rem 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-heading);
    letter-spacing: -0.02em;
}

#fahrzeugrueckgabe .fzg-return-card__kicker {
    margin: 0 0 0.5rem 0;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--color-trust-blue);
    line-height: 1.35;
}

#fahrzeugrueckgabe .fzg-return-card__stat {
    margin: 0 0 0.5rem 0;
    font-size: 1.05rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--color-heading);
    line-height: 1.4;
}

#fahrzeugrueckgabe .fzg-return-card__stat-sep {
    color: var(--color-text-muted);
    font-weight: 500;
}

#fahrzeugrueckgabe .fzg-return-card__euro {
    color: var(--color-trust-blue);
}

#fahrzeugrueckgabe .fzg-return-card__text {
    margin: 0;
    font-size: 0.95rem;
    line-height: var(--leading-body);
    color: var(--color-text);
}

#fahrzeugrueckgabe .fzg-return-card__text strong {
    font-weight: 600;
    color: var(--color-heading);
}

/* Fixed Contact Button */
a.fixed-contact-btn:visited {
    color: #fff !important;
}

.fixed-contact-btn {
    position: fixed;
    right: max(12px, env(safe-area-inset-right));
    top: 50%;
    transform: translateY(-50%);
    background: var(--color-trust-blue);
    color: #fff;
    padding: 14px 10px;
    min-height: 120px;
    border-radius: 12px 0 0 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875em;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    box-shadow: var(--shadow-md);
    transition: background 0.2s ease, transform 0.2s ease;
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
}

.fixed-contact-btn:hover {
    background: var(--color-trust-blue-dark);
    color: #fff !important;
    text-decoration: none;
}

@media (max-width: 768px) {
    .fixed-contact-btn {
        font-size: 0.8em;
        padding: 12px 8px;
        min-height: 100px;
        right: max(8px, env(safe-area-inset-right));
    }
}

/* Contact Form Styles */
.contact-form-container {
    background: var(--color-bg);
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin-top: 2rem;
    border: 1px solid var(--color-border);
}

.contact-form-container h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: var(--color-heading);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-heading);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.85rem 1rem;
    min-height: 48px;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--color-surface);
    color: var(--color-heading);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-trust-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-muted);
}

/* Checkbox/Radio in .form-group: nicht mit width:100% / min-height der Textfelder überschreiben */
.form-group input[type="checkbox"],
.form-group input[type="radio"] {
    width: auto;
    max-width: none;
    padding: 0;
    min-height: unset;
    border-radius: 4px;
    flex-shrink: 0;
    align-self: flex-start;
    accent-color: var(--color-trust-blue);
}

.form-group input[type="checkbox"] {
    width: 1.375rem;
    height: 1.375rem;
    min-width: 1.375rem;
    min-height: 1.375rem;
    margin-top: 0.2em;
}

@media (max-width: 768px) {
    .form-group input[type="checkbox"] {
        width: 1.5rem;
        height: 1.5rem;
        min-width: 1.5rem;
        min-height: 1.5rem;
    }
}

/* Datenschutz-Zustimmung: groß genug zum Antippen, saubere Zeile neben Fließtext */
.form-group.form-group--consent label.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem 1rem;
    font-weight: 400;
    cursor: pointer;
    margin-bottom: 0;
    line-height: var(--leading-body);
    color: var(--color-heading);
}

.form-group.form-group--consent .consent-checkbox-hit {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.75rem;
    min-height: 2.75rem;
    margin: -0.35rem 0 -0.35rem -0.25rem;
}

.form-group.form-group--consent .consent-checkbox-hit .consent-checkbox {
    width: 1.375rem;
    height: 1.375rem;
    min-width: 1.375rem;
    min-height: 1.375rem;
    margin-top: 0;
}

@media (max-width: 768px) {
    .form-group.form-group--consent .consent-checkbox-hit .consent-checkbox {
        width: 1.5rem;
        height: 1.5rem;
        min-width: 1.5rem;
        min-height: 1.5rem;
    }
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.submit-btn {
    background: var(--color-trust-blue);
    color: #fff;
    padding: 0.95rem 2rem;
    min-height: 48px;
    border: none;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    display: block;
    margin: 2rem auto 0;
    width: 100%;
    max-width: 22rem;
}

.submit-btn:hover {
    background: var(--color-trust-blue-dark);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* <a class="submit-btn">: ohne eigene Hover-Farbe überschreibt das globale a:hover die Schrift (fast unsichtbar auf Blau) */
a.submit-btn,
a.submit-btn:visited {
    color: #fff !important;
    text-decoration: none !important;
}

a.submit-btn:hover,
a.submit-btn:focus,
a.submit-btn:active {
    color: #fff !important;
    text-decoration: none !important;
}

.required {
    color: #ff6b6b;
}

/* Consent Popup */
.consent-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.consent-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.consent-popup {
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    max-width: 520px;
    width: 100%;
    padding: 2rem;
    position: relative;
    z-index: 9999;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.consent-overlay.is-visible .consent-popup {
    transform: scale(1);
}

.consent-popup h3 {
    color: var(--color-heading);
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.consent-popup p {
    color: var(--color-text);
    font-size: 0.95rem;
    line-height: var(--leading-body);
    margin-bottom: 1.25rem;
}

.consent-popup a {
    color: var(--color-trust-blue);
    text-decoration: underline;
}

.consent-popup a:hover {
    color: var(--color-trust-blue-dark);
}

.consent-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.consent-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    font-family: inherit;
}

.consent-btn-accept {
    background: var(--color-trust-blue);
    color: #fff;
    min-height: 44px;
    padding: 0.75rem 1.5rem;
}

.consent-btn-accept:hover {
    transform: translateY(-1px);
    background: var(--color-trust-blue-dark);
    box-shadow: var(--shadow-sm);
}

.consent-btn-decline {
    background: var(--color-surface);
    color: var(--color-text);
    border: 1px solid var(--color-border);
    min-height: 44px;
}

.consent-btn-decline:hover {
    border-color: var(--color-trust-blue);
    color: var(--color-heading);
}

/* ---------- Unterseiten: Kontakt, Danke, Datenschutz ---------- */
.main-content {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: var(--space-section);
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}

.main-content:has(.success-icon) {
    text-align: center;
}

.back-to-home {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
    max-width: 100%;
    background: var(--color-trust-blue);
    color: #fff;
    padding: 0.75rem 1.5rem;
    min-height: 44px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s ease, transform 0.2s ease;
    border: 1px solid transparent;
    margin: 0 auto 1.5rem;
}

.back-to-home:hover {
    background: var(--color-trust-blue-dark);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

.back-to-home::before {
    content: "←";
    font-size: 1.2em;
}

main.container > .back-to-home:last-child {
    margin-top: 2rem;
    margin-bottom: 0;
}

.main-content h2,
.main-content h3,
.main-content h4,
.main-content h5 {
    color: var(--color-heading) !important;
}

.main-content h3 {
    margin-bottom: 1rem;
}

.main-content p,
.main-content li {
    color: var(--color-text);
}

.main-content a {
    color: var(--color-trust-blue);
    text-decoration: underline;
}

.main-content a:hover {
    color: var(--color-trust-blue-dark);
}

/* Primär-Buttons in Unterseiten-Inhalten: nicht von .main-content a überschreiben */
.main-content a.submit-btn,
.main-content a.submit-btn:visited {
    color: #fff !important;
    text-decoration: none !important;
}

.main-content a.submit-btn:hover,
.main-content a.submit-btn:focus {
    color: #fff !important;
    text-decoration: none !important;
}

/* Datenschutz: Aufzählungslisten (ohne globales Häkchen) — body.page-legal */
.page-legal .main-content ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin: 0.5rem 0 1rem 1.25rem;
}

.page-legal .main-content ul li {
    padding-left: 0.15em;
    margin-bottom: 0.5rem;
}

.page-legal .main-content ul li::before {
    content: none !important;
    display: none !important;
}

.address-block {
    margin: 0.5rem 0 1rem;
    padding-left: 0.25rem;
}

/* Kontakt */
.intro-text {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--color-text);
    line-height: var(--leading-body);
}

.form-section {
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.5rem;
}

.radio-option {
    display: flex;
    align-items: flex-start;
    padding: 1rem;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.radio-option:hover {
    border-color: var(--color-trust-blue);
    background: #eff6ff;
}

.radio-option input[type="checkbox"],
.radio-option input[type="radio"] {
    margin-right: 1rem;
    margin-top: 0.35rem;
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    cursor: pointer;
    accent-color: var(--color-trust-blue);
}

.gutachten-radio-fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

.gutachten-radio-legend {
    font-weight: 600;
    color: var(--color-heading);
    font-size: 1rem;
    padding: 0;
    margin-bottom: 0.35rem;
    line-height: var(--leading-body);
}

.radio-option.selected {
    border-color: var(--color-accent-green);
    background: var(--color-accent-green-soft);
}

.option-title {
    font-weight: 600;
    color: var(--color-heading);
    margin-bottom: 0.3rem;
    font-size: 1.05rem;
}

.optional-label {
    font-weight: 500;
    color: var(--color-text-muted);
    font-size: 0.9em;
}

.intro-text--tight {
    margin-top: -0.35rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.contact-product-price {
    font-weight: 700;
    color: var(--color-trust-blue);
    white-space: nowrap;
}

.contact-product-tax-note {
    margin-top: 0.75rem;
    margin-bottom: 0;
    font-size: 0.85rem;
}

.option-description {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: var(--leading-body);
}

.conditional-fields {
    display: none;
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: var(--color-bg);
    border-radius: 10px;
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-trust-blue);
}

.conditional-fields.active {
    display: block;
}

.form-subpanel {
    background: var(--color-bg);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid var(--color-border);
}

.booking-teaser {
    background: var(--color-accent-green-soft);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(21, 128, 61, 0.2);
    border-left: 4px solid var(--color-accent-green);
    text-align: left;
}

.booking-teaser h5 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--color-heading) !important;
}

.booking-teaser p {
    margin-bottom: 1rem;
    color: var(--color-text) !important;
}

.btn-calendly {
    display: inline-block;
    background: var(--color-trust-blue);
    color: #fff !important;
    padding: 0.75rem 1.5rem;
    min-height: 44px;
    line-height: 1.3;
    border-radius: 10px;
    text-decoration: none !important;
    font-weight: 600;
    transition: background 0.2s ease, transform 0.2s ease;
}

.btn-calendly:hover {
    background: var(--color-trust-blue-dark);
    color: #fff !important;
    transform: translateY(-1px);
}

.muted-caption {
    color: var(--color-text-muted);
}

.file-upload {
    position: relative;
    display: inline-block;
    width: 100%;
}

.file-upload input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-upload-label {
    display: block;
    padding: 1rem;
    background: var(--color-bg);
    border: 1px dashed var(--color-border);
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.file-upload-label:hover {
    background: #eff6ff;
    border-color: var(--color-trust-blue);
}

.submit-button {
    background: var(--color-trust-blue);
    color: #fff;
    padding: 0.95rem 2rem;
    min-height: 48px;
    border: none;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    display: block;
    margin: 2rem auto 0;
    width: 100%;
    max-width: 22rem;
}

.submit-button:hover {
    background: var(--color-trust-blue-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.info-box {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    text-align: left;
}

.info-box h3 {
    margin-bottom: 0.5rem;
    color: var(--color-heading) !important;
}

.main-content:has(.success-icon) .info-box {
    text-align: left;
}

/* Danke */
.success-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
    animation: dankeScaleIn 0.5s ease-out;
}

@keyframes dankeScaleIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.08);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.thank-you-text {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    color: var(--color-text);
    line-height: var(--leading-body);
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.next-steps {
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin: 2rem 0;
    text-align: left;
    border: 1px solid var(--color-border);
}

.next-steps h3 {
    text-align: center;
    margin-bottom: 1rem;
}

.next-steps ul {
    list-style: none;
    padding: 0;
    max-width: 38rem;
    margin: 0 auto;
}

.next-steps ul li {
    padding: 1rem;
    margin-bottom: 1rem;
    background: var(--color-surface);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-accent-green);
}

.next-steps ul li::before {
    content: none !important;
    display: none !important;
}

.next-steps li strong {
    color: var(--color-heading);
    display: block;
    margin-bottom: 0.35rem;
}

.button-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.75rem;
    min-height: 48px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.button-primary {
    background: var(--color-trust-blue);
    color: #fff !important;
    border: none;
}

.button-primary:hover {
    background: var(--color-trust-blue-dark);
    color: #fff !important;
    text-decoration: none !important;
}

.button-secondary {
    background: var(--color-surface);
    color: var(--color-heading) !important;
    border: 2px solid var(--color-trust-blue);
}

.button-secondary:hover {
    background: #eff6ff;
    color: var(--color-trust-blue-dark) !important;
    text-decoration: none !important;
}

.contact-info {
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    padding: 1.5rem 2rem;
    margin: 2rem auto;
    max-width: 36rem;
    text-align: left;
    border: 1px solid var(--color-border);
}

.contact-info h4 {
    color: var(--color-heading);
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.contact-info a {
    color: var(--color-trust-blue);
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    text-decoration: underline;
    color: var(--color-trust-blue-dark);
}

@media (max-width: 768px) {
    .main-content {
        padding: 1.5rem;
    }

    .back-to-home {
        margin: 1rem auto;
        width: fit-content;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .button-group {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }
}

/* Index: Kurzsektion Vorabbehebung */
#vorabbehebung .defect-prep-intro {
    max-width: 48rem;
    margin-bottom: 1.5rem;
    line-height: var(--leading-body);
}

.defect-prep-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1rem, 2vw, 1.5rem);
    margin-bottom: 1.5rem;
}

.defect-prep-item {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 1.25rem 1.35rem;
    box-shadow: var(--shadow-sm);
}

.defect-prep-item h3 {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
    font-weight: 700;
}

.defect-prep-item p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.55;
}

.defect-prep-footnote {
    max-width: 48rem;
    margin: -0.35rem 0 1.35rem;
    line-height: 1.45;
    color: var(--color-text-muted);
}

.defect-prep-footnote small {
    font-size: 0.84rem;
}

.defect-prep-lead {
    max-width: 48rem;
    margin-bottom: 1.25rem;
    line-height: var(--leading-body);
}

.defect-prep-cta {
    text-align: center;
    margin: 0.5rem 0 0;
}

@media (max-width: 768px) {
    .defect-prep-grid {
        grid-template-columns: 1fr;
    }
}

/* Unterseite Vorabbehebung / Aufbereitung */
.detail-aufbereitung > p:first-of-type {
    margin-top: 0;
}

.detail-aufbereitung > .detail-block:first-of-type {
    margin-top: 1.5rem;
    padding-top: 0;
    border-top: none;
}

.detail-block {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.detail-block > p {
    max-width: 52rem;
    margin-bottom: 1rem;
}

.detail-benefit-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1rem, 2vw, 1.25rem);
    margin-top: 1.25rem;
}

.detail-benefit-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 1.25rem;
}

.detail-benefit-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
}

.detail-benefit-card p {
    margin: 0;
    font-size: 0.95rem;
    line-height: var(--leading-body);
}

.detail-benefit-hint {
    font-weight: 400;
    color: var(--color-text-muted);
    font-size: 0.92em;
}

.footnote-ref {
    font-size: 0.7em;
    font-weight: 700;
    vertical-align: super;
    margin-left: 0.06em;
    line-height: 0;
}

.detail-ba-gallery {
    margin-top: 1.75rem;
}

.detail-ba-gallery figure {
    margin: 0;
}

.detail-ba-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(0.75rem, 2vw, 1.25rem);
    margin: 0 0 2rem;
    padding: 0;
}

.detail-ba-cell {
    margin: 0;
    text-align: center;
}

.detail-ba-cell img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--color-border);
    background: var(--color-bg);
}

.detail-ba-cell figcaption {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-text-muted);
}

.detail-checklist {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 0;
    max-width: 52rem;
}

.detail-checklist li {
    position: relative;
    padding-left: 1.35rem;
    margin-bottom: 0.65rem;
    line-height: 1.55;
    color: var(--color-text) !important;
}

.detail-checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-trust-blue);
    font-weight: 700;
}

/* Leistungsdarstellung (Unterseite Aufbereitung): Abschnitte statt reiner Liste */
.detail-leistungen-intro {
    max-width: 52rem;
    margin-bottom: 0.35rem;
}

.detail-leistungen {
    margin-top: 0.75rem;
}

.detail-leistungen > .detail-leistung {
    padding: 1.5rem 0;
    border-top: 1px solid var(--color-border);
}

.detail-leistungen > .detail-leistung:first-child {
    border-top: none;
    padding-top: 0;
}

.detail-leistung h3 {
    margin: 0 0 0.65rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-heading) !important;
    letter-spacing: -0.02em;
}

.detail-leistung--subservices h4 {
    margin: 1rem 0 0.4rem;
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--color-heading) !important;
    letter-spacing: -0.01em;
}

.detail-leistung--subservices h3 + h4 {
    margin-top: 0.35rem;
}

.detail-leistung p,
.detail-leistung-copy p {
    margin: 0 0 0.85rem;
    max-width: 52rem;
    line-height: var(--leading-body);
}

.detail-leistung p:last-child,
.detail-leistung-copy p:last-child {
    margin-bottom: 0;
}

.detail-leistung-list {
    margin: 0 0 0.85rem 1.25rem;
    padding: 0;
    max-width: 52rem;
    line-height: var(--leading-body);
}

.detail-leistung-list li {
    margin-bottom: 0.35rem;
}

.detail-leistung-list li:last-child {
    margin-bottom: 0;
}

.detail-leistung--media {
    display: grid;
    grid-template-columns: 1fr minmax(11rem, 1fr);
    gap: 1.25rem 1.75rem;
    align-items: start;
}

.detail-leistung-copy {
    min-width: 0;
}

.detail-leistung-figure {
    margin: 0;
}

.detail-leistung-figure img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    background: var(--color-bg);
}

.detail-leistungen-block .detail-footnote {
    margin-top: 2rem !important;
}

.detail-footnote {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-top: 1.25rem !important;
    margin-bottom: 0 !important;
}

.detail-cta-panel {
    margin-top: 2.5rem;
    padding: 1.75rem 1.5rem 1.65rem;
    text-align: center;
    border-radius: 14px;
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-trust-blue);
    background: linear-gradient(165deg, rgba(37, 99, 235, 0.07) 0%, var(--color-surface) 55%, var(--color-accent-green-soft) 100%);
    box-shadow: 0 10px 28px rgba(30, 58, 95, 0.08);
}

.detail-footnote--prominent {
    font-size: 1.0625rem !important;
    line-height: 1.55;
    color: var(--color-text) !important;
    max-width: 38rem;
    margin: 0 auto 0.25rem !important;
}

.detail-cta-footnotes {
    max-width: 38rem;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.detail-cta-footnotes--below-panel {
    margin-top: 1.15rem;
    margin-bottom: 0;
    padding-top: 0;
    max-width: none;
    width: 100%;
    box-sizing: border-box;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.detail-cta-footnotes .detail-cta-hint {
    margin: 0.5rem 0 0;
    color: var(--color-text-muted);
    line-height: 1.45;
}

.detail-cta-footnotes .detail-cta-hint:first-child {
    margin-top: 0;
}

.detail-cta-footnotes .detail-cta-hint small {
    font-size: 0.8125rem;
}

.detail-cta-footnotes--below-panel .detail-cta-hint small {
    font-size: 0.75rem;
    line-height: 1.42;
}

.detail-cta-panel .detail-cta-wrap {
    margin-top: 1.35rem;
    margin-bottom: 0 !important;
}

.detail-cta-btn.submit-btn {
    padding: 0.85rem 1.75rem;
    font-size: 1.05rem;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
}

.detail-cta-wrap {
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 0 !important;
}

@media (max-width: 900px) {
    .detail-benefit-cards {
        grid-template-columns: 1fr;
    }

    .detail-ba-row {
        grid-template-columns: 1fr;
    }

    .detail-ba-cell img {
        max-height: 320px;
    }

    .detail-leistung--media {
        grid-template-columns: 1fr;
    }

    .detail-leistung-figure img {
        max-height: 280px;
    }
}
