/* Layout-Reset (CMS-Container) */
html[location=website] #wrapperall div#mainblock {
    padding-bottom: 0px;
}

html[location=website] #wrapperall div#mainblock > main[role=main] > div.lb6,
html[location=website] #wrapperall div#mainblock > main[role=main] div.lb9 {
    max-width: none;
}

html[location=website] .subside header[role=banner] {
    padding-top: 0px !important;
}

:root {
    --luxury-dark: #1a1a1a;
    --luxury-light: #fafafa;
    --luxury-grey: #555;
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ====== Typografie ====== */
.section-luxury {
    padding: clamp(4rem, 10vw, 8rem) 0;
}

.headline-xl {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.headline-lg {
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.text-elegant {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--luxury-grey);
    font-weight: 300;
}

.label-small {
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--bs-primary);
}

.accent-line {
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, var(--bs-primary), transparent);
}

.accent-line-h {
    width: 60px;
    height: 1px;
    background: var(--bs-primary);
}

/* ====== Page Header / Hero ====== */
.page-header {
    background: var(--luxury-dark);
    padding: clamp(9.5rem, 16.5vw, 13.5rem) 0 clamp(2.5rem, 6.5vw, 4.5rem);
    text-align: center;
    position: relative;
    overflow: hidden;
}

@media (max-width: 1000px) {
    .page-header {
        padding-top: 175px !important;
        padding-bottom: 2rem !important;
    }
}

.page-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
            135deg,
            rgba(26, 26, 26, 0.8) 0%,
            rgba(26, 26, 26, 0.6) 50%,
            rgba(26, 26, 26, 0.7) 100%
    );
    pointer-events: none;
    z-index: 1;
}

.page-header-content {
    position: relative;
    z-index: 2;
}

/* ====== Service Cards (cms1-Muster) ====== */
.service-card {
    position: relative;
    padding: 2.5rem;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    height: 100%;
    transition: all 0.4s var(--transition-smooth);
}

.service-card:hover {
    border-color: var(--bs-primary);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.service-card .service-number {
    font-size: 3.5rem;
    font-weight: 200;
    color: rgba(0, 0, 0, 0.06);
    line-height: 1;
    margin-bottom: 1.5rem;
    transition: color 0.4s var(--transition-smooth);
}

.service-card:hover .service-number {
    color: var(--bs-primary);
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--luxury-dark);
    text-decoration: none;
    transition: gap 0.3s ease;
}

.service-card-link:hover {
    gap: 1rem;
    color: var(--bs-primary);
}

/* ====== Bento Cards (Vorteile-Kacheln) ====== */
.bento-card {
    background: var(--luxury-light);
    padding: 2.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.bento-number {
    font-size: 4rem;
    font-weight: 100;
    color: var(--bs-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.bento-title {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

.bento-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--luxury-grey);
    flex-grow: 1;
}

/* ====== Split Layout (Bild + Text) ====== */
.split-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 60vh;
}

@media (max-width: 991px) {
    .split-content {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .split-content > .split-text {
        order: 1;
    }

    .split-content > .split-image {
        order: 2;
    }
}

.split-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2rem, 5vw, 5rem);
}

.split-image {
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.split-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ====== CTA Buttons ====== */
.btn-luxury {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 2.5rem;
    background: var(--luxury-dark);
    color: #fff;
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: all 0.4s var(--transition-smooth);
    border: none;
}

.btn-luxury:hover {
    background: var(--bs-primary);
    color: #fff;
    gap: 1.5rem;
}

.btn-luxury-outline {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: transparent;
    color: var(--luxury-dark);
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: 1px solid var(--luxury-dark);
    transition: all 0.4s var(--transition-smooth);
}

.btn-luxury-outline:hover {
    background: var(--luxury-dark);
    color: #fff;
}

.btn-luxury-primary {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 2.5rem;
    background: var(--bs-primary);
    color: #fff;
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: all 0.4s var(--transition-smooth);
    border: none;
}

.btn-luxury-primary:hover {
    background: var(--luxury-dark);
    color: #fff;
    gap: 1.5rem;
}

.btn-luxury-invert {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 2.5rem;
    background: var(--bs-primary);
    color: #fff;
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: all 0.4s var(--transition-smooth);
    border: none;
}

.btn-luxury-invert:hover {
    background: #fff;
    color: var(--bs-primary);
    gap: 1.5rem;
}

/* ====== Dark Section ====== */
.section-dark {
    background: var(--luxury-dark);
    color: #fff;
}

.section-dark .text-elegant {
    color: rgba(255, 255, 255, 0.6);
}

.section-dark .label-small {
    color: var(--bs-primary);
}

/* ====== Stat Cards (Über uns) ====== */
.stat-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.stat-value {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 200;
    line-height: 1;
    color: var(--bs-primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--luxury-grey);
}

/* ====== Trust Badge (auf dunklem Grund) ====== */
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
}

/* ====== Timeline (Über uns / Historie) ====== */
.timeline-item {
    position: relative;
    padding-left: 3rem;
    padding-bottom: 2rem;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
}

.timeline-item:last-child {
    padding-bottom: 0;
    border-left-color: transparent;
}

.timeline-year {
    position: absolute;
    left: -0.75rem;
    top: 0;
    width: 1.5rem;
    height: 1.5rem;
    background: var(--bs-primary);
    border-radius: 50%;
}

.timeline-year::after {
    content: attr(data-year);
    position: absolute;
    left: 2.5rem;
    top: 0;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--bs-primary);
    font-weight: 500;
    white-space: nowrap;
}

/* ====== Team Cards ====== */
.team-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.team-card-image {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--luxury-light);
}

.team-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card-content {
    padding: 2rem;
}

.team-card-name {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 0.25rem;
}

.team-card-role {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--bs-primary);
    margin-bottom: 1rem;
}

.team-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    margin-bottom: 3rem;
}

@media (max-width: 991px) {
    .team-featured {
        grid-template-columns: 1fr;
    }
}

.team-featured-image {
    position: relative;
    min-height: 450px;
    overflow: hidden;
    background: var(--luxury-light);
}

.team-featured-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-featured-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2rem, 4vw, 4rem);
}

/* ====== FAQ Accordion ====== */
.faq-section {
    margin-bottom: 3rem;
}

.faq-section-title {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.faq-item {
    border: 1px solid rgba(0, 0, 0, 0.06);
    margin-bottom: 1rem;
    background: #fff;
    transition: all 0.3s var(--transition-smooth);
}

.faq-item:hover {
    border-color: var(--bs-primary);
}

.faq-item summary {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 400;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Pro';
    font-weight: 300;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
    color: var(--bs-primary);
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item summary:hover {
    color: var(--bs-primary);
}

.faq-item[open] summary::after {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 2rem 1.5rem;
}

/* ====== CTA Box (zwei nebeneinander) ====== */
.cta-box {
    background: var(--luxury-light);
    padding: 3rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
}
