/* --- Base Styles & Variables --- */
:root {
    --primary-highlight: #8c2947;
    --primary-highlight-hover: #7a233d;
    --primary-contrast: #22223b;
    --primary-contrast-light: #4a4e69;
    --background-1: #f2f2f2;
    --background-2: #f1f0ea;
    --background-white: #FFFFFF;
    --text-dark: #22223b;
    --text-light: #FFFFFF;
    --text-secondary: #555;
    --text-muted: #6c757d;
    --border-color: #e0e0e0;
    --font-heading: 'Manrope', sans-serif;
    --font-body: 'Public Sans', sans-serif;
    --dark-green: #00B050;
    --light-blue-bg: #e7f5ff;
    --light-blue-border: #aed9f9;
}

/* --- Global & Base Styles --- */
*, *::before, *::after { box-sizing: border-box; }
html {
    scroll-behavior: smooth;
    /* This is the fix: Adds padding for the sticky header during scroll events */
    scroll-padding-top: 100px;
}
body {
    margin: 0; padding: 0; width: 100%;
    font-family: var(--font-body);
    background-color: var(--background-white);
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}
body.loaded {
    opacity: 1;
}
.container {
    width: 100%; max-width: 1140px;
    margin: 0 auto; padding: 0 20px;
}
/* NEW container for text-heavy content */
.container-narrow {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--primary-contrast);
    margin: 0; font-weight: 700;
    -webkit-hyphens: auto;
    hyphens: auto;
    word-wrap: break-word;
}
p, .body-text, dd, li {
    font-family: var(--font-body);
    font-size: 17px; line-height: 1.7;
    color: var(--primary-contrast-light);
    letter-spacing: 0.2px;
}
a { text-decoration: none; color: inherit; }

/* Links inside text content should be styled */
.container-narrow a {
    text-decoration: underline;
    color: var(--primary-highlight);
    font-weight: 600;
}
.container-narrow a:hover {
    text-decoration: none;
}
section { padding: 80px 0; position: relative; overflow: hidden; }
.section-header { text-align: center; margin-bottom: 60px; }
.unified-section-title { font-size: 34px; }
.section-subtitle {
    font-size: 18px; max-width: 700px;
    margin: 16px auto 0;
}
.container-narrow h3 { font-size: 24px; margin-top: 40px; margin-bottom: 16px; }
.container-narrow p, .container-narrow li { margin-bottom: 16px; }

/* --- Animation --- */
.fade-in-section {
    opacity: 0; transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in-section.is-visible {
    opacity: 1; transform: translateY(0);
}

/* --- Button Style --- */
.btn-primary {
    display: inline-flex; flex-direction: column; align-items: center;
    background: var(--primary-highlight);
    color: var(--text-light) !important;
    font-family: var(--font-body); font-weight: 700; font-size: 16px;
    padding: 14px 36px; border-radius: 12px;
    border: none; cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center; line-height: 1.2;
}
.hero-cta-container #hero-cta-button {
    border: 2px solid rgba(186, 104, 129, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}
.hero-cta-container #hero-cta-button:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}
.btn-primary:hover {
    background: var(--primary-highlight-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(140, 41, 71, 0.3);
}
.btn-primary .subtext {
    font-size: 12px; font-weight: 400;
    margin-top: 4px; opacity: 0.9;
}

/* --- Header --- */
/* Make the header sticky */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000; /* Ensures header stays on top of other content */
}

.site-header {
    background-color: var(--background-white);
    border-bottom: 1px solid var(--background-1);
    padding: 21px 0; /* Increased padding by ~30% from 16px */
    box-shadow: 0 2px 4px rgba(0,0,0,0.05); /* Optional: adds a subtle shadow */
}

.site-header .nav-link {
    color: var(--primary-contrast);
    font-weight: 600;
    transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
    padding: 8px 16px;
    border-radius: 8px;
}
.site-header .nav-link:hover {
    color: var(--primary-highlight);
}
.site-header .nav-link.active {
    color: var(--primary-highlight);
    background-color: var(--background-2);
}
/* New class to highlight the calculator link */
.site-header .highlight-link {
    background-color: var(--primary-highlight);
    color: var(--text-light);
    border-radius: 8px;
}
.site-header .highlight-link:hover {
    background-color: var(--primary-highlight-hover);
    color: var(--text-light);
}


/* --- Subpage Hero --- */
.subpage-hero {
    background-color: var(--background-1);
    padding: 60px 0;
    text-align: center;
}
.subpage-hero h1 {
    font-size: 40px;
    max-width: 25ch;
    margin-left: auto;
    margin-right: auto;
}
.subpage-hero p {
    font-size: 18px;
    max-width: 65ch;
    margin-top: 16px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Common Component Styles --- */
.entitlement-box {
    background-color: var(--background-white);
    border-radius: 16px;
    padding: 32px;
    border: 1px solid var(--border-color);
}
.entitlement-box ul {
    list-style: none; padding: 0; margin: 0;
}
.entitlement-box li {
    display: flex; align-items: flex-start;
    gap: 16px; margin-bottom: 16px;
}
.entitlement-box li:last-child { margin-bottom: 0; }
.entitlement-box .icon {
    width: 24px; height: 24px;
    flex-shrink: 0; margin-top: 5px;
}
.entitlement-box.yes .icon { color: var(--dark-green); }
.entitlement-box.no .icon { color: var(--primary-highlight); }

.formula-box {
    background-color: var(--background-2);
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--primary-contrast);
    border-left: 4px solid var(--primary-highlight);
    margin-top: 24px;
    margin-bottom: 24px;
}

.timeline {
    position: relative;
    max-width: 600px;
    margin: 40px auto 0;
}
.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--primary-highlight);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    opacity: 0.2;
}
.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}
.timeline-item.left { left: 0; }
.timeline-item.right { left: 50%; }
.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: white;
    border: 4px solid var(--primary-highlight);
    top: 20px;
    border-radius: 50%;
    z-index: 1;
}
.timeline-item.right::after { left: -10px; }
.timeline-item .content {
    padding: 15px 20px;
    background-color: white;
    position: relative;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}
.timeline-item .content h4 {
    font-size: 18px;
    color: var(--primary-highlight);
}
@media (max-width: 768px) {
    .timeline::after { left: 10px; }
    .timeline-item { width: 100%; padding-left: 40px; padding-right: 15px; }
    .timeline-item.left, .timeline-item.right { left: 0; }
    .timeline-item.right::after, .timeline-item.left::after { left: 1px; }
}

/* --- Sticky CTA --- */
.sticky-cta {
    position: fixed; bottom: 0; left: 0; width: 100%;
    background: rgba(255, 255, 255, 0.5);
    padding: 10px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 99;
    backdrop-filter: blur(8px);
    opacity: 0; visibility: hidden;
    transform: translateY(100%);
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out, transform 0.3s ease-in-out, position 0s;
}
.sticky-cta.is-visible {
    opacity: 1; visibility: visible;
    transform: translateY(0);
}
.sticky-cta.docked-above-footer {
    position: absolute;
    bottom: var(--footer-height, 75px); /* Fallback value */
}
.sticky-cta-content {
    display: flex; justify-content: center; align-items: center;
    max-width: 1140px; margin: 0 auto; padding: 0 20px;
}
.sticky-cta .btn-primary {
    width: auto; flex-shrink: 0;
    padding: 12px 24px; font-size: 16px;
    border: 2px solid rgba(186, 104, 129, 1);
}

/* --- Footer --- */
.site-footer {
    background-color: var(--primary-contrast);
    color: var(--text-light);
    padding: 40px 0;
    font-size: 15px;
}
.site-footer a {
    color: var(--text-light);
    text-decoration: none;
    transition: opacity 0.2s ease-in-out;
}
.site-footer a:hover {
    opacity: 0.8;
}

/* --- Impressum Modal --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(34, 34, 59, 0.6);
    z-index: 1100; /* Increased to be above the header */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.modal-content {
    background: var(--background-white);
    padding: 30px 40px;
    border-radius: 16px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}
.modal-overlay.active .modal-content {
    transform: translateY(0);
}
.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    font-weight: bold;
    color: var(--primary-contrast-light);
    cursor: pointer;
    line-height: 1;
}
.modal-content h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    margin-bottom: 20px;
}
.modal-content p, .modal-content li {
    font-size: 14px;
    line-height: 1.6;
    color: var(--primary-contrast-light);
}
.modal-content h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    margin-top: 20px;
    margin-bottom: 10px;
}

/* --- Cookie Banner Responsive Styles --- */
@media (min-width: 768px) {
    #cookie-consent-banner .container {
        flex-direction: row;
        align-items: center;
    }
    #cookie-consent-banner .container > div:last-child {
        width: auto;
    }
    #cookie-accept-btn, #cookie-reject-btn {
        flex-grow: 0;
    }
}

/* --- Contact Options Styles --- */
.contact-option-card {
    background-color: var(--background-white);
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(34, 34, 59, 0.08);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-option-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(34, 34, 59, 0.12);
}

.contact-option-header {
    padding: 32px 32px 24px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.contact-option-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--primary-highlight);
    color: var(--text-light);
    margin-bottom: 20px;
}

.contact-option-icon svg {
    width: 32px;
    height: 32px;
}

.contact-option-header h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.contact-option-header p {
    font-size: 16px;
    margin: 0;
    line-height: 1.6;
}

.calendly-container {
    padding: 24px 32px 32px;
    text-align: center;
}

.contact-info-card {
    background-color: var(--background-white);
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--primary-highlight);
    color: var(--text-light);
    margin-bottom: 20px;
}

.contact-icon svg {
    width: 28px;
    height: 28px;
}

.contact-info-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.contact-info-card p {
    font-size: 16px;
    margin: 0;
}

/* --- Responsive Styles --- */
@media (max-width: 992px) {
    section { padding: 60px 0; }
    .btn-primary { width: 100%; max-width: 416px; }
    .subpage-hero { padding: 40px 0; }
    .subpage-hero h1 { font-size: 32px; }
}
@media (max-width: 768px) {
    .unified-section-title { font-size: 28px; }
    .subpage-hero h1, .subpage-hero p { text-align: center; }
    .section-header { text-align: center; }
    .sticky-cta .btn-primary { width: 100%; }
    .site-footer .container {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    /* FIX: Reposition modal on mobile for better usability */
    .modal-overlay {
        align-items: flex-start; /* Aligns modal to the top */
        padding: 10vh 20px;     /* Adds space from the top and bottom edge */
    }
}

/*
==============================================
  PAGE-SPECIFIC STYLES: HOMEPAGE (index.html)
==============================================
*/

/* --- Decorative Blobs --- */
.blob1 {
    position: absolute; z-index: -1; opacity: 0.5;
    filter: blur(80px); pointer-events: none;
    width: 400px; height: 400px; top: -100px; left: -150px;
    background: radial-gradient(circle, rgba(34,34,59,0.1) 0%, rgba(34,34,59,0) 70%);
}

/* --- Hero Section --- */
.hero {
    background: var(--background-1);
    padding-top: 40px; padding-bottom: 0;
    display: flex; align-items: flex-end;
}
.hero .container { display: flex; align-items: flex-end; gap: 60px; }
.hero-content, .hero-image-container { flex: 1; }
.hero-content {
    display: flex; flex-direction: column;
    justify-content: center; padding-bottom: 40px;
}
.hero-content h1 { font-size: 48px; line-height: 1.2; margin-bottom: 16px; max-width: 16ch; }
.hero-content .subheading { font-size: 18px; color: var(--text-dark); margin-bottom: 30px; }
.hero-cta-container { margin-top: 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 40px; }
.guarantee-bar { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; font-size: 16px; font-weight: 600; color: var(--text-secondary); }
.guarantee-bar span { display: flex; align-items: center; gap: 8px; }
.guarantee-bar .icon-check { width: 20px; height: 20px; color: var(--dark-green); }
.hero-image-container { position: relative; display: flex; align-items: flex-end; justify-content: center; }
.hero-image-container img { width: 80%; height: auto; max-height: 600px; object-fit: cover; display: block; }

/* --- Quote Section --- */
.quote-section { background-color: var(--primary-contrast); color: var(--text-light); padding: 10px 0; }
.quote-section .container-narrow { text-align: center; }
.quote-section p { font-size: 18px; line-height: 1.6; font-style: italic; color: var(--text-light); margin: 0; }
.quote-section .quote-author { display: block; font-style: normal; font-weight: 600; margin-top: 8px; font-size: 15px; opacity: 1; color: var(--text-light); }

/* --- How It Works Section --- */
.how-it-works { background-color: var(--background-2); }
.how-it-works .section-header { margin-bottom: 80px; }
.how-it-works .section-title-line::after {
    content: ''; position: absolute; bottom: -15px; left: 50%;
    transform: translateX(-50%); width: 60px; height: 4px;
    background-color: var(--primary-highlight); border-radius: 2px;
}
.steps-container { position: relative; display: flex; justify-content: space-between; gap: 30px; align-items: stretch; }
.step-card {
    background: var(--background-white); padding: 40px 30px 30px; border-radius: 16px;
    box-shadow: 0 8px 25px rgba(34, 34, 59, 0.08);
    flex: 1; display: flex; flex-direction: column; z-index: 2;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    align-items: center; text-align: center; position: relative;
}
.step-card:hover { transform: translateY(-8px); box-shadow: 0 12px 30px rgba(34, 34, 59, 0.12); }
.step-badge {
    background-color: var(--primary-highlight); color: var(--text-light);
    font-family: var(--font-heading); font-size: 20px; font-weight: 800;
    width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    position: absolute; top: -20px; left: 50%; transform: translateX(-50%);
    box-shadow: 0 4px 10px rgba(140, 41, 71, 0.3);
    z-index: 3; border: 3px solid var(--background-2);
}
.step-icon { height: 60px; width: 60px; margin-bottom: 20px; color: var(--primary-contrast); }
.step-card h3 { font-size: 22px; margin-bottom: 10px; }
.step-card p { font-size: 16px; }
.step-arrow { position: absolute; top: 100px; z-index: 1; display: none; width: 12%; opacity: 0.5; }
.arrow1 { left: 29%; }
.arrow2 { left: 62%; }

/* Scroll-in animation for steps */
@keyframes stepSlideIn {
    100% { opacity: 0; transform: translateX(60px); }
    100% { opacity: 1; transform: translateX(0); }
}
.steps-container .step-card {
    opacity: 0;
    transform: translateX(60px);
}
.steps-container .step-card.step-visible {
    animation: stepSlideIn 1s ease-out forwards;
}
.steps-container .step-card.step-visible:nth-child(1) { animation-delay: 0s; }
.steps-container .step-card.step-visible:nth-child(2) { animation-delay: 0.3s; }
.steps-container .step-card.step-visible:nth-child(3) { animation-delay: 0.55s; }

/* --- About Us Section --- */
.about-section { background-color: var(--background-white); padding: 100px 0;}
.about-section .section-title { font-size: 42px; text-align: center; margin-bottom: 24px; }
.about-section .section-intro { max-width: 720px; margin: 0 auto 60px auto; text-align: center; font-size: 18px; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.feature-card {
    background-color: var(--background-1); padding: 32px; border-radius: 16px;
    text-align: center; transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover { transform: translateY(-8px); box-shadow: 0 12px 30px rgba(34, 34, 59, 0.08); }
.feature-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 64px; height: 64px; border-radius: 50%;
    background-color: var(--primary-highlight); color: var(--text-light); margin-bottom: 24px;
}
.feature-icon svg { width: 32px; height: 32px; }
.feature-card h3 { font-size: 22px; margin-bottom: 12px; }
.feature-card p { font-size: 16px; line-height: 1.6; }
.about-section::before {
    content: ''; position: absolute; top: -15%; left: -10%;
    width: 500px; height: 500px; background-color: var(--background-2);
    border-radius: 47% 53% 70% 30% / 30% 43% 57% 70%;
    opacity: 0.6; z-index: 0; transform: rotate(20deg);
}
.about-section .container { position: relative; z-index: 1; }

/* --- No Risk Section (Pricing) --- */
.no-risk {
    background: var(--background-white);
}
.no-risk .container {
    display: flex;
    align-items: center;
    gap: 60px;
}
.no-risk-content {
   flex: 1.2;
}
.no-risk-visual {
   flex: 0.8;
   display: flex;
   justify-content: center;
   align-items: center;
}
.no-risk-content .unified-section-title {
    margin-bottom: 10px;
}
.no-risk-content h3 {
    font-size: 24px;
    margin-bottom: 30px;
    font-weight: 600;
    color: var(--text-muted);
}
.fee-explanation-box {
    background-color: var(--background-1);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}
.fee-explanation-box h4 {
    font-size: 22px;
    margin-bottom: 15px;
}
.fee-explanation-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.fee-explanation-box li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.6;
    gap: 12px;
}
.fee-explanation-box li:last-child {
    margin-bottom: 0;
}
.fee-explanation-box .icon {
    color: var(--primary-highlight);
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    margin-top: 2px;
}
.fee-explanation-box .example-text {
    font-size: 15px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    line-height: 1.6;
}
.no-risk-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}
.no-risk-list li {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-contrast);
    gap: 15px;
}
.no-risk-list .icon {
    color: var(--primary-highlight);
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}
.no-risk-visual img {
    width: 100%;
    max-width: 250px;
    height: auto;
}

/* --- Comparison Section --- */
.comparison-section { background-color: var(--background-1); }
.comparison-header { text-align: center; margin-bottom: 60px; }
.comparison-header h2 { font-size: 34px; margin-bottom: 12px; }
.comparison-header p { font-size: 18px; max-width: 600px; margin: 0 auto; }
.comparison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; }
.comparison-card {
    background-color: var(--background-white); border-radius: 16px; padding: 40px;
    box-shadow: 0 8px 25px rgba(34, 34, 59, 0.05); border: 1px solid #e0e0e0;
    display: flex; flex-direction: column;
}
.comparison-card.highlight { border-top: 4px solid var(--primary-highlight); }
.comparison-card h3 { font-size: 24px; margin-bottom: 24px; }
.feature-list { list-style: none; padding: 0; margin: 0; flex-grow: 1; }
.feature-list li { display: flex; align-items: flex-start; margin-bottom: 20px; font-size: 16px; line-height: 1.6; }
.feature-list .icon { flex-shrink: 0; width: 24px; height: 24px; margin-right: 16px; color: var(--primary-highlight); }
.comparison-card:not(.highlight) .feature-list .icon { color: var(--primary-contrast-light); }
.card-tip { margin-top: 32px; padding-top: 24px; border-top: 1px solid #f0f0f0; }
.card-tip p { font-size: 15px; font-weight: 600; color: var(--primary-contrast); }
.card-tip p span { font-weight: 400; color: var(--primary-contrast-light); }
.cta-container { text-align: center; margin-top: 60px; }
.cta-button {
    display: inline-block; background-color: var(--primary-highlight); color: var(--text-light) !important;
    font-family: var(--font-heading); font-size: 18px; font-weight: 700;
    padding: 16px 32px; border-radius: 8px; text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.cta-button:hover { background-color: var(--primary-highlight-hover); transform: translateY(-2px); }
.cta-subtitle { margin-top: 12px; font-size: 15px; color: var(--primary-contrast-light); }

/* --- FAQ Section --- */
.faq { background-color: var(--background-2); }
.accordion { text-align: left; }
.faq-item {
    background: var(--background-white); border: 1px solid var(--border-color);
    border-radius: 12px; margin-bottom: 10px;
    transition: box-shadow 0.3s ease;
}
.faq-item:hover { box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.faq-question {
    width: 100%; background: transparent; border: none; padding: 20px;
    font-size: 18px; font-weight: 600; text-align: left; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    color: var(--primary-contrast); font-family: var(--font-body);
}
.faq-icon {
    transition: transform 0.3s ease; color: var(--primary-contrast);
    flex-shrink: 0; margin-left: 16px;
}
.faq-item.active .faq-icon { transform: rotate(45deg); color: var(--primary-highlight); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.faq-answer p {
    padding: 0 20px 20px; /* Vertical padding on the paragraph */
    margin: 0;
}
.faq-answer a { color: var(--primary-highlight); text-decoration: underline; font-weight: 600; }

/* --- Responsive Styles for Homepage --- */
@media (min-width: 993px) {
    .how-it-works .steps-container::before {
        content: ""; position: absolute; top: 120px; left: 8%; right: 8%;
        height: 3px; background: #d3d3d3; opacity: 0.4; z-index: 0; border-radius: 999px;
    }
    .how-it-works .step-card { z-index: 2; }
    .step-arrow { display: block; }
}
@media (max-width: 992px) {
    .hero { padding-top: 10px; padding-bottom: 40px; }
    .hero .container { flex-direction: column; align-items: center; text-align: center; gap: 20px; }
    .hero-content { order: 2; padding-bottom: 0; }
    .hero-cta-container { align-items: center; }
    .hero-cta-container { margin-top: 12px; gap: 28px; }
    .hero-cta-container .guarantee-bar { order: 1; }
    .hero-cta-container #hero-cta-button { order: 2; }
    .guarantee-bar { text-align: left; align-items: flex-start; }
    .hero-image-container { order: 1; margin: 0 auto; margin-top: 0; max-width: 420px; width: 100%; align-items: center; justify-content: center; }
    .hero-image-container img { object-fit: contain; max-height: 300px; width: 90%; border-radius: 12px; margin: 0 auto; }
    .hero-content h1 { max-width: none; }
    .steps-container { flex-direction: column; align-items: center; }
    .features-grid { grid-template-columns: 1fr; gap: 24px; }
    .about-section .section-title { font-size: 36px; }
    .about-section .section-intro { margin-bottom: 40px; }
    .about-section::before { width: 350px; height: 350px; top: -5%; }
    .no-risk .container {
        flex-direction: column;
        gap: 40px;
    }
    .no-risk-visual {
        order: -1;
        margin-bottom: 20px;
    }
    .no-risk-visual img {
       max-width: 200px;
    }
    .comparison-grid { grid-template-columns: 1fr; gap: 30px; }
    .feature-list { flex-grow: 0; }
}
@media (max-width: 768px) {
    .hero-content h1 { font-size: 32px; }
    .hero-content .subheading { display: none; }
    .quote-section p { font-size: 16px; }
    .unified-section-title, .about-section .section-title, .comparison-header h2 { font-size: 28px; }
    .no-risk-content h3 { font-size: 22px; }
    .feature-card { padding: 24px; }
    .comparison-card { padding: 30px; }
    .faq-question, .feature-card p, p { font-size: 16px; }
}

/*
==============================================
  PAGE-SPECIFIC STYLES: KOSTEN (kosten.html)
==============================================
*/
.cost-card {
    background-color: var(--background-white);
    border-radius: 16px;
    padding: 32px;
    border: 1px solid var(--border-color);
    margin-bottom: 24px;
}
.cost-card h3 {
   font-size: 24px;
   margin-bottom: 24px;
}
.cost-card ul {
   list-style: none;
   padding: 0;
   margin: 0;
}
.cost-card li {
   display: flex;
   align-items: flex-start;
   margin-bottom: 20px;
   gap: 16px;
}
.cost-card li:last-child {
   margin-bottom: 0;
}
.cost-card .icon {
   color: var(--primary-contrast);
   width: 24px;
   height: 24px;
   flex-shrink: 0;
   margin-top: 4px;
   opacity: 0.7;
}
.cost-comparison-grid {
   display: grid;
   grid-template-columns: 1fr;
   gap: 40px;
   align-items: stretch;
}
@media (min-width: 768px) {
   .cost-comparison-grid {
        grid-template-columns: 1fr 1fr;
   }
}
.comparison-box {
    background-color: var(--background-white);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 8px 25px rgba(34, 34, 59, 0.08);
    display: flex;
    flex-direction: column;
}
.comparison-box .box-header {
   text-align: center;
   margin-bottom: 24px;
}
.comparison-box .box-header .icon-display {
   width: 56px;
   height: 56px;
   margin: 0 auto 16px;
   display: flex;
   align-items: center;
   justify-content: center;
}
.comparison-box .box-header .icon-display svg {
   width: 100%;
   height: 100%;
}
.comparison-box h4 {
   font-size: 22px;
   margin-bottom: 8px;
}
.comparison-box .price-tag {
   font-size: 28px;
   font-weight: 800;
   color: var(--primary-contrast);
}
.comparison-box .price-tag span {
   font-size: 16px;
   font-weight: 400;
   color: var(--primary-contrast-light);
   display: block;
}
.comparison-box.highlight {
   border: 2px solid var(--primary-highlight);
}
.comparison-box.highlight h4 {
   color: var(--primary-highlight);
}
.comparison-box .feature-list {
   flex-grow: 1; /* Pushes footer content down */
}
.comparison-box li {
   display: flex;
   align-items: flex-start;
   margin-bottom: 16px;
   gap: 12px;
}
.comparison-box li .icon {
   width: 22px;
   height: 22px;
   flex-shrink: 0;
   margin-top: 5px;
}

/*
==============================================
  PAGE-SPECIFIC STYLES: SCHUTZ (schutz.html)
==============================================
*/
.example-box {
    background-color: var(--background-2);
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 4px solid var(--primary-highlight);
}
.example-box p {
    margin: 0;
    font-style: italic;
}

/*
==============================================
  PAGE-SPECIFIC STYLES: ABLAUF (ablauf.html)
==============================================
*/
.step-container {
    position: relative;
    padding-left: 60px; /* Space for the number */
    margin-bottom: 48px;
}
.step-number {
    position: absolute;
    left: 0;
    top: -5px;
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-highlight);
    opacity: 0.2;
}
.step-container h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--primary-contrast);
}
.step-container ul {
    list-style: none;
    padding-left: 0;
}
.step-container li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
}
.step-container li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--primary-highlight);
    font-weight: bold;
    font-size: 18px;
}

.risk-card {
    background-color: var(--background-white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
}
.risk-card .icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 24px;
    color: var(--primary-highlight);
}
.risk-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

/*
==============================================
  PAGE-SPECIFIC STYLES: RECHNER (rechner.html)
==============================================
*/
.rechner-body {
    background-color: var(--background-1);
}

#rechner-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 40px 1rem;
}

/* --- Hero Section --- */
.rechner-hero-section {
    position: relative;
    text-align: center;
    padding: 100px 20px;
    color: white;
    background: url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?q=80&w=2670&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D') no-repeat center center/cover;
}
.rechner-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}
.rechner-hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}
.rechner-hero-content h1 {
    font-family: 'Manrope', sans-serif;
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
    color: #FFFFFF;
}
.rechner-hero-content p.hero-subheading {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.7;
    color: #FFFFFF;
}
.rechner-hero-cta {
    display: inline-block;
    padding: 16px 32px;
    background-color: var(--primary-highlight);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease;
}
.rechner-hero-cta:hover {
    background-color: #6d1f35;
}

/* --- Calculator Flow & Timeline --- */
.question-block {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    position: relative;
    padding: 20px 0;
}
.question-block.active {
    display: block;
}
.question-block.visible {
    opacity: 1;
    transform: translateY(0);
}
.timeline-connector {
    position: absolute;
    left: 15px;
    top: 0;
    width: 2px;
    height: 100%;
    background-color: var(--primary-highlight);
    z-index: 1;
}
.timeline-marker {
    position: absolute;
    left: 16px;
    top: 54px;
    width: 8px;
    height: 8px;
    background-color: var(--primary-highlight);
    border-radius: 50%;
    z-index: 2;
    transform: translateX(-50%);
}
.question-block.answered .timeline-marker {
     background-color: var(--dark-green);
}
.question-block.answered .timeline-connector {
    background-color: var(--dark-green);
}

.question-card {
    padding: 32px;
    margin-left: 40px;
    background-color: var(--background-white);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
}
.question-card h2,
.question-card h3 {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 22px;
    margin-bottom: 24px;
    line-height: 1.3;
}
.question-card p {
    font-size: 16px;
    margin-top: -16px;
    margin-bottom: 24px;
    color: #495057;
    line-height: 1.6;
}
.options-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.option-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    text-align: left;
    padding: 20px;
    background-color: var(--background-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 17px;
    font-weight: 600;
    color: var(--text-dark);
}
.option-btn:hover {
    border-color: var(--primary-highlight);
    background-color: #fdf5f7;
}
.option-btn:active {
    transform: scale(0.98);
}
.option-btn.selected {
    border-color: var(--light-blue-border);
    background-color: var(--light-blue-bg);
    color: #22223b;
    box-shadow: 0 0 0 2px var(--light-blue-border);
}
.question-block.answered .option-btn:not(.selected) {
    display: none;
}
.question-block.answered .option-btn.selected {
    background-color: var(--background-1);
    border-color: var(--border-color);
    color: var(--text-dark);
    box-shadow: none;
    cursor: default;
}
.back-btn-container {
    margin-top: 24px;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}
.back-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 0;
}
.back-btn:hover {
    color: var(--text-dark);
}

/* --- Result & Contact Form --- */
#result-quote {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-highlight);
    margin: 24px 0;
    text-align: center;
}
.disclaimer {
    background-color: #e9ecef;
    padding: 24px;
    border-radius: 8px;
    text-align: left;
}
.disclaimer p {
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
}
.result-actions-container {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.cta-btn {
    width: 100%;
    padding: 20px;
    background-color: var(--primary-highlight);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s ease;
}
.cta-btn:hover {
    background-color: #6d1f35;
}
.bottom-spacer {
    height: 50vh;
}

.result-explanation-text {
    text-align: center;
    font-size: 17px !important;
    line-height: 1.6 !important;
    margin: 0 auto 24px auto !important;
    max-width: 45ch;
    color: var(--primary-contrast-light) !important;
}

.lawyer-profiles-container {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}
.lawyer-profile {
    text-align: center;
    max-width: 150px;
}
.lawyer-profile img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 12px;
    border: 3px solid var(--background-1);
}
.lawyer-name {
    font-weight: 700;
    font-size: 16px;
    color: var(--text-dark);
}
.lawyer-title {
    font-size: 14px;
    color: var(--text-muted);
}


/* --- NEW/MODIFIED STYLES FOR BLUEPRINT --- */

/* Pre-Calculator Trust Section */
.pre-calculator-trust {
    background-color: var(--background-2);
    padding: 60px 0;
}
.pre-calculator-trust .section-header {
    font-size: 28px;
    margin-bottom: 40px;
}
.trust-points-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 960px;
    margin: 0 auto;
}
.trust-point {
    text-align: center;
    background-color: var(--background-white);
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.trust-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--primary-highlight);
    color: var(--text-light);
    margin-bottom: 20px;
}
.trust-icon svg {
    width: 28px;
    height: 28px;
}
.trust-point h3 {
    font-size: 20px;
    margin-bottom: 12px;
}
.trust-point p {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

/* Lawyer Bio Text */
.lawyer-bio {
    font-size: 13px;
    line-height: 1.5;
    margin-top: 8px;
    font-style: italic;
    color: var(--text-muted);
}

/* --- NEW FAQ CAROUSEL STYLES --- */
.faq-carousel-wrapper {
    position: relative;
}
.faq-carousel-overflow-container {
    overflow: hidden;
}
.faq-carousel-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.faq-carousel-slide {
    flex: 0 0 100%;
    box-sizing: border-box;
    padding: 10px;
}
.faq-carousel-slide h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
}
.faq-carousel-slide p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--primary-contrast-light);
    margin: 0; /* Override default p margins */
}
.carousel-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}
.carousel-btn {
    background-color: var(--background-1);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
}
.carousel-btn:hover {
    background-color: var(--background-2);
    border-color: var(--text-muted);
}
.carousel-btn svg {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
}
.carousel-dots {
    display: flex;
    gap: 8px;
}
.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--border-color);
    transition: background-color 0.3s ease;
}
.carousel-dot.active {
    background-color: var(--primary-highlight);
}


/* --- Mobile Adjustments for Rechner --- */
@media (max-width: 992px) {
    .trust-points-container {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 640px) {
    .rechner-hero-content h1 {
        font-size: 32px;
    }
    .rechner-hero-content p {
        font-size: 16px;
    }
    .question-card {
        padding-left: 24px;
        padding-right: 24px;
        margin-left: 30px;
    }
    .question-card h2, .question-card h3 {
        font-size: 20px;
    }
    .option-btn {
        padding: 16px;
        font-size: 16px;
    }
    #result-quote {
        font-size: 3.5rem;
    }
    .pre-calculator-trust {
        padding: 40px 0;
    }
    .pre-calculator-trust .section-header {
        font-size: 24px;
    }
}

/*
==============================================
  MODAL / POPUP STYLES
==============================================
*/
body.modal-open {
    overflow: hidden;
}

/* NEW: Specific fix for the booking modal overlay */
#booking-modal {
    z-index: 1200; /* Ensures it is always on top */
}

#booking-modal .bg-white {
    height: 700px; /* Constant height to prevent jumping */
}

/* Hide the default radio button */
.custom-radio input[type="radio"] {
    display: none;
}

/* Style the label to look like a button */
.custom-radio label {
    transition: all 0.2s ease-in-out;
    border-width: 2px; /* Sharper border */
}

/* Style for the selected state */
.custom-radio input[type="radio"]:checked + label {
    border-color: #8b2845; /* Brand color for selection */
    background-color: #f8e9ed; /* Light tint of brand color */
    box-shadow: 0 0 0 2px #8b2845;
}

/* Funnel step visibility */
.funnel-step {
    display: none; /* Hide all steps by default */
}
.funnel-step.active {
    display: block; /* Show only the active step */
}

/* Funnel step content alignment */
.funnel-step-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically center content */
}

/* --- NEW ZURÜCK BUTTON STYLES --- */
#funnel-navigation {
    display: flex;
    justify-content: flex-start; /* Align button to the left */
    background-color: transparent;
    border-top: 1px solid #e5e7eb; /* Subtle separator */
}
#funnel-navigation .back-btn {
    background-color: transparent;
    border: none;
    color: #4b5563; /* gray-600 */
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    padding: 0;
    cursor: pointer;
    transition: color 0.2s ease-in-out;
}
#funnel-navigation .back-btn:hover {
    color: #111827; /* gray-900 */
}
#funnel-navigation .back-btn svg {
    margin-right: 0.5rem;
}

/* --- Modal Contact Options Styles --- */
.modal-contact-option {
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.modal-contact-option:hover {
    background-color: #f3f4f6;
    border-color: #d1d5db;
    transform: translateY(-2px);
}

.modal-contact-header {
    text-align: center;
    margin-bottom: 20px;
}

.modal-contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #8b2845;
    color: white;
    margin-bottom: 12px;
}

.modal-contact-icon svg {
    width: 24px;
    height: 24px;
}

.modal-contact-header h4 {
    font-size: 18px;
    margin-bottom: 6px;
    font-weight: 700;
}

.modal-contact-header p {
    font-size: 14px;
    margin: 0;
    color: #6b7280;
}

/* --- Rechner Contact Options Styles --- */
.rechner-contact-option {
    background-color: var(--background-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.rechner-contact-option:hover {
    background-color: #f9fafb;
    border-color: #d1d5db;
    transform: translateY(-2px);
}

.rechner-contact-header {
    text-align: center;
    margin-bottom: 16px;
}

.rechner-contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--primary-highlight);
    color: var(--text-light);
    margin-bottom: 12px;
}

.rechner-contact-icon svg {
    width: 24px;
    height: 24px;
}

.rechner-contact-header h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.rechner-contact-header p {
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
}

/* --- MOBILE OPTIMIZATIONS FOR MODAL --- */
@media (max-width: 640px) {
    /* NEW: Ensure the booking modal is positioned correctly on mobile */
    #booking-modal {
        align-items: flex-start;
        padding-top: 3rem; /* Pushes the modal down to clear the header */
    }
    
    .funnel-question, .funnel-message-title {
        font-size: 18px;
    }
    #booking-modal .bg-white {
        /* UPDATED: Use the dynamically calculated viewport height from JS to solve issues with mobile URL bars. Fallback to 90vh. */
        height: calc(var(--vh, 1vh) * 90);
        max-height: calc(var(--vh, 1vh) * 90);
    }
    .funnel-step-content {
        justify-content: flex-start; /* Align content to top on mobile */
        padding-top: 1rem;
    }
    #booking-modal .p-6 { /* Reduce padding on mobile */
        padding: 1rem;
    }
     #booking-modal .sm\:p-8 {
        padding: 1.5rem;
    }
    #booking-modal h2, #booking-modal h3 { /* Reduce heading sizes */
        font-size: 1.5rem;
    }
    #booking-modal p {
        font-size: 1rem;
    }
    #booking-modal .w-16 { /* Reduce icon container size */
        width: 3rem;
        height: 3rem;
    }
     #booking-modal .w-9 {
        width: 1.75rem;
        height: 1.75rem;
    }
    #booking-modal .custom-radio label { /* Reduce button padding */
        padding: 1rem;
        font-size: 1rem;
    }
    #booking-modal .w-24.h-24 { /* Reduce Calendly image size */
        width: 4rem;
        height: 4rem;
    
    }
}


/*
==============================================
  FINAL FEEDBACK FIXES (SEPT 2025)
==============================================
*/

/* 1. Fix clipped Zurück icon */
.back-btn {
    padding: 12px 4px; /* Adds a bit of horizontal padding to prevent clipping */
}

/* 2. & 3. Adjust result buttons */
#scroll-to-calendly-btn {
    padding: 16px 20px; /* Reduced vertical padding */
}
#restart-button {
    justify-content: center; /* Center align text */
}

/* 4. Add padding to Experten box */
#step-trust .question-card h3 {
    margin-bottom: 32px; /* Increased space between title and photos */
}

/* 7. Widen expert quote */
.lawyer-profile {
    max-width: 240px; /* Increased width to allow for more natural text flow */
}

/* --- TRUSTPILOT SECTION STYLING --- */
.trustpilot-section {
    background-color: var(--background-1);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.trustpilot-section p {
    font-family: var(--font-body);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.trustpilot-section strong {
    color: var(--primary-contrast);
    font-weight: 600;
}

/* Trustpilot widget styling */
.trustpilot-widget {
    margin-top: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .trustpilot-section {
        padding: 1.5rem 0;
    }
    
    .trustpilot-section p {
        font-size: 0.875rem;
        padding: 0 1rem;
    }
}

/* --- END TRUSTPILOT SECTION STYLING --- */

/* --- "BEKANNT AUS" SECTION STYLING --- */
.bekannt-aus-section {
    padding: 25px 0; 
    background-color: var(--background-white);
    border-top: 1px solid var(--border-color);
}

.bekannt-aus-logos {
    gap: 24px 32px;
}

.bekannt-aus-marquee {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.bekannt-aus-track {
    display: flex;
    align-items: center;
    gap: 24px 32px;
    width: max-content;
}

@keyframes bekanntMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (min-width: 993px) {
    .bekannt-aus-marquee {
        mask-image: linear-gradient(90deg, transparent 0, black 10%, black 90%, transparent 100%);
        -webkit-mask-image: linear-gradient(90deg, transparent 0, black 10%, black 90%, transparent 100%);
    }
    .bekannt-aus-track {
        animation: bekanntMarquee 40s linear infinite;
    }
}

@media (max-width: 992px) {
    .bekannt-aus-marquee {
        overflow: hidden;
    }
    .bekannt-aus-track {
        flex-wrap: nowrap;
        animation: bekanntMarquee 40s linear infinite;
    }
}

.logo-item {
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-item img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.75;
    transition: filter 0.3s ease, opacity 0.3s ease, transform 0.2s ease;
}

.logo-item img:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: translateY(-1px);
}

/* Hide some logos on small screens */
@media (max-width: 768px) {
    .logo--hide-sm {
        display: none !important;
    }
}

/* --- END "BEKANNT AUS" SECTION STYLING --- */

