/**
 * Smoco Essentials V2 — Component widgets.
 *
 * 1:1 portierte Styles aus design/components-mockup.css:
 *   01 About Mission · 02 Our People · 03 Support Center
 *   04 Featured Testimonial · 05 Testimonials Grid
 *
 * Selektoren bleiben identisch (.cmp-*), damit das Rendering exakt der
 * Vorlage entspricht. Brand-Tokens werden mit Fallbacks aufgelöst.
 */

/* ── 01 · About Mission ───────────────────────────────────────── */

.cmp-about-mission {
    --cmp-gallery-radius: 16px;
    padding: 80px 64px;
    color: var(--cmp-body);
}

.cmp-about-mission__inner {
    max-width: 1120px;
    margin: 0 auto;
}

.cmp-about-mission__eyebrow {
    display: block;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--cmp-section-accent);
}

.cmp-about-mission__title {
    max-width: 18ch;
    margin: 0 0 20px;
    font-size: clamp(2rem, 4vw, 2.25rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--cmp-section-heading);
}

.cmp-about-mission__lead {
    max-width: 62ch;
    margin: 0;
    font-size: 18px;
    line-height: 1.65;
    color: var(--cmp-section-body);
}

.cmp-about-mission__header {
    margin-bottom: 64px;
}

.cmp-about-mission__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px;
    align-items: start;
}

.cmp-about-mission__mission h3 {
    margin: 0 0 16px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--cmp-heading);
}

.cmp-about-mission__mission p {
    margin: 0;
    font-size: 16px;
    line-height: 1.65;
    color: var(--cmp-body);
}

.cmp-about-mission__mission p + p {
    margin-top: 16px;
}

.cmp-about-mission__stats {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--cmp-border);
}

.cmp-about-mission__stats-label {
    margin: 0 0 24px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--cmp-muted);
}

.cmp-about-mission__stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin: 0;
}

.cmp-about-mission__stat {
    padding: 24px 0;
    border-top: 1px solid var(--cmp-border);
}

.cmp-about-mission__stat:nth-child(-n + 2) {
    border-top: none;
    padding-top: 0;
}

.cmp-about-mission__stat:nth-child(odd) {
    padding-right: 24px;
}

.cmp-about-mission__stat:nth-child(even) {
    padding-left: 24px;
    border-left: 1px solid var(--cmp-border);
}

.cmp-about-mission__stat-value {
    display: block;
    margin: 0 0 8px;
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--cmp-heading);
}

.cmp-about-mission__stat-label {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: var(--cmp-body);
}

.cmp-about-mission__gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: start;
}

.cmp-about-mission__gallery-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cmp-about-mission__gallery-col--left {
    padding-top: 56px;
}

.cmp-about-mission__img {
    margin: 0;
    border-radius: var(--cmp-gallery-radius);
    overflow: hidden;
}

.cmp-about-mission__img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cmp-about-mission__img--a img { aspect-ratio: 4 / 5; }
.cmp-about-mission__img--b img { aspect-ratio: 16 / 11; }
.cmp-about-mission__img--c img { aspect-ratio: 16 / 10; }
.cmp-about-mission__img--d img { aspect-ratio: 4 / 5; }

@media (max-width: 1000px) {
    .cmp-about-mission { padding: 64px 24px; }
    .cmp-about-mission__title { max-width: none; }
    .cmp-about-mission__header { margin-bottom: 48px; }
    .cmp-about-mission__body { grid-template-columns: 1fr; gap: 0; }
    .cmp-about-mission__stats { display: none; }

    .cmp-about-mission__gallery {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        margin-top: 48px;
        padding: 28px 0 36px;
    }

    .cmp-about-mission__gallery-col { display: contents; }
    .cmp-about-mission__gallery-col--left { padding-top: 0; }

    .cmp-about-mission__img {
        min-width: 0;
        margin-top: 0;
        border-radius: 20px;
        box-shadow: 0 20px 40px rgba(16, 24, 40, 0.12);
    }

    .cmp-about-mission__img--a img { aspect-ratio: 4 / 5; }
    .cmp-about-mission__img--b img { aspect-ratio: 4 / 5; }
    .cmp-about-mission__img--c img { aspect-ratio: 4 / 5; }
    .cmp-about-mission__img--d img { aspect-ratio: 4 / 5; }
}

@media (max-width: 768px) {
    .cmp-about-mission__gallery { gap: 10px; padding: 20px 0 28px; }
}

@media (max-width: 640px) {
    .cmp-about-mission { padding: 48px 20px; }
    .cmp-about-mission__lead { font-size: 16px; }
    .cmp-about-mission__gallery { gap: 8px; }
}

/* ── 02 · Our People ─────────────────────────────────────────── */

.cmp-our-people {
    --cmp-gallery-radius: 20px;
    --cmp-section-x: 64px;
    padding: 80px var(--cmp-section-x);
    color: var(--cmp-body);
    overflow: hidden;
}

.cmp-our-people__inner {
    max-width: 1120px;
    margin: 0 auto;
}

.cmp-our-people__top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

.cmp-our-people__content {
    align-self: center;
    padding-right: 16px;
}

.cmp-our-people__title {
    margin: 0 0 20px;
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--cmp-section-heading);
}

.cmp-our-people__content p {
    margin: 0;
    font-size: 18px;
    line-height: 1.65;
}

.cmp-our-people__content p + p {
    margin-top: 20px;
    font-size: 16px;
    color: var(--cmp-body-light);
}

.cmp-our-people__img {
    margin: 0;
    border-radius: var(--cmp-gallery-radius);
    overflow: hidden;
}

.cmp-our-people__img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cmp-our-people__img--sofa img { aspect-ratio: 16 / 10; }

.cmp-our-people__collage {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 5.5fr) minmax(0, 2.5fr);
    gap: 24px;
    align-items: start;
    margin-top: 24px;
}

.cmp-our-people__img--beach {
    margin-left: calc(-1 * var(--cmp-section-x));
    margin-top: clamp(72px, 10vw, 120px);
}

.cmp-our-people__img--beach img { aspect-ratio: 3 / 4; }
.cmp-our-people__img--meeting { margin-top: 0; }
.cmp-our-people__img--meeting img { aspect-ratio: 16 / 10; }
.cmp-our-people__img--volleyball { margin-top: 0; }
.cmp-our-people__img--volleyball img { aspect-ratio: 4 / 3; }

@media (max-width: 1000px) {
    .cmp-our-people {
        --cmp-section-x: 24px;
        padding: 64px var(--cmp-section-x);
    }

    .cmp-our-people__inner {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
        gap: 20px;
    }

    .cmp-our-people__top,
    .cmp-our-people__collage { display: contents; }

    .cmp-our-people__content {
        grid-column: 1 / -1;
        grid-row: 1;
        padding-right: 0;
        margin-bottom: 12px;
        align-self: start;
    }

    .cmp-our-people__content p { font-size: 16px; }
    .cmp-our-people__content p + p { font-size: 15px; }

    .cmp-our-people__img--beach {
        grid-column: 1;
        grid-row: 2;
        margin-left: 0;
        margin-top: 0;
    }

    .cmp-our-people__img--beach img { aspect-ratio: 16 / 11; }

    .cmp-our-people__img--sofa {
        grid-column: 2;
        grid-row: 2 / 4;
    }

    .cmp-our-people__img--sofa img {
        aspect-ratio: 4 / 5;
        min-height: 100%;
    }

    .cmp-our-people__img--meeting {
        grid-column: 1;
        grid-row: 3;
        margin-top: 0;
    }

    .cmp-our-people__img--meeting img { aspect-ratio: 16 / 11; }

    .cmp-our-people__img--volleyball {
        grid-column: 2;
        grid-row: 3;
        align-self: end;
        margin-top: 0;
    }

    .cmp-our-people__img--volleyball img { aspect-ratio: 1; }
}

@media (max-width: 768px) {
    .cmp-our-people { padding: 48px 20px; }
    .cmp-our-people__inner { gap: 16px; }
    .cmp-our-people__content { margin-bottom: 8px; }
    .cmp-our-people__img--volleyball { display: none; }

    .cmp-our-people__img--beach { grid-column: 1; grid-row: 2; }
    .cmp-our-people__img--beach img { aspect-ratio: 3 / 4; }

    .cmp-our-people__img--sofa { grid-column: 2; grid-row: 2; }
    .cmp-our-people__img--sofa img { aspect-ratio: 1; min-height: auto; }

    .cmp-our-people__img--meeting { grid-column: 1 / -1; grid-row: 3; }
    .cmp-our-people__img--meeting img { aspect-ratio: 16 / 9; }
}

/* ── 03 · Support Center ─────────────────────────────────────── */

.cmp-support-center {
    position: relative;
    min-height: 560px;
    color: #fff;
    overflow: hidden;
}

.cmp-support-center__bg {
    position: absolute;
    inset: 0;
    background: center / cover no-repeat;
}

.cmp-support-center__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(0, 63, 125, 0.88) 0%,
        rgba(0, 63, 125, 0.62) 45%,
        rgba(0, 63, 125, 0.32) 100%
    );
}

.cmp-support-center__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    min-height: 560px;
    padding: 64px;
    text-align: center;
}

.cmp-support-center__header { max-width: 42ch; }

.cmp-support-center__title {
    margin: 0 0 16px;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.cmp-support-center__lead {
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88);
}

.cmp-support-center__cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
    max-width: 960px;
    align-items: stretch;
    text-align: left;
}

.cmp-support-center__card {
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.cmp-support-center__card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.cmp-support-center__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--cmp-support-accent);
}

.cmp-support-center__icon svg {
    width: 100%;
    height: 100%;
}

.cmp-support-center__icon i {
    font-size: 22px;
    line-height: 1;
}

.cmp-support-center__card h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

.cmp-support-center__card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 1000px) {
    .cmp-support-center__inner {
        min-height: auto;
        padding: 56px 40px;
        gap: 36px;
    }

    .cmp-support-center__cards {
        grid-template-columns: 1fr;
        max-width: min(100%, 520px);
    }
}

@media (max-width: 768px) {
    .cmp-support-center { min-height: auto; }
    .cmp-support-center__inner { padding: 48px 24px; gap: 32px; }
    .cmp-support-center__lead { font-size: 16px; }
    .cmp-support-center__cards { max-width: none; gap: 16px; }
    .cmp-support-center__card { padding: 20px; }
}

/* ── 04 · Featured Testimonial ───────────────────────────────── */

.cmp-featured-testimonial {
    --cmp-photo-width: min(260px, 28vw);
    --cmp-photo-overlap: calc(var(--cmp-photo-width) * 0.625);
    --cmp-photo-inset: clamp(24px, 4vw, 48px);
    --cmp-photo-gap: 40px;
    --cmp-text-max: 36ch;
    padding: 80px 64px;
    background: var(--cmp-section-bg);
}

.cmp-featured-testimonial__inner {
    max-width: 1120px;
    margin: 0 auto;
}

.cmp-featured-testimonial__panel {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    padding: 40px 0;
}

.cmp-featured-testimonial__photo {
    position: relative;
    z-index: 2;
    grid-area: 1 / 1;
    justify-self: start;
    align-self: center;
    width: var(--cmp-photo-width);
    margin: 0 0 0 var(--cmp-photo-inset);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.2);
}

.cmp-featured-testimonial__photo img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.cmp-featured-testimonial__quote {
    position: relative;
    grid-area: 1 / 1;
    width: 100%;
    margin: 0;
    padding: 48px 64px 48px calc(var(--cmp-photo-inset) + var(--cmp-photo-width) + var(--cmp-photo-gap));
    background: var(--cmp-panel-bg);
    color: #fff;
}

.cmp-featured-testimonial__mark {
    position: absolute;
    top: 28px;
    left: calc(var(--cmp-photo-inset) + var(--cmp-photo-width) + var(--cmp-photo-gap));
    width: 48px;
    height: 48px;
    color: rgba(148, 163, 184, 0.28);
    pointer-events: none;
}

.cmp-featured-testimonial__quote p {
    position: relative;
    z-index: 1;
    max-width: var(--cmp-text-max);
    margin: 0;
    font-size: 20px;
    line-height: 1.65;
}

.cmp-featured-testimonial__author {
    position: relative;
    z-index: 1;
    max-width: var(--cmp-text-max);
    margin-top: 28px;
}

.cmp-featured-testimonial__author cite {
    display: block;
    font-style: normal;
    font-size: 15px;
    font-weight: 600;
}

.cmp-featured-testimonial__author span {
    display: block;
    margin-top: 4px;
    font-size: 14px;
    color: #94a3b8;
}

@media (max-width: 1000px) {
    .cmp-featured-testimonial {
        --cmp-photo-width: min(300px, 82vw);
        --cmp-photo-overlap: calc(var(--cmp-photo-width) * 0.625);
        --cmp-photo-inset: 0px;
        padding: 64px 24px 56px;
    }

    .cmp-featured-testimonial__panel {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding: 0;
    }

    .cmp-featured-testimonial__photo {
        grid-area: auto;
        justify-self: center;
        margin: 0 auto calc(var(--cmp-photo-overlap) * -1);
    }

    .cmp-featured-testimonial__quote {
        grid-area: auto;
        padding: calc(var(--cmp-photo-overlap) + 40px) 32px 40px;
    }

    .cmp-featured-testimonial__mark {
        top: calc(var(--cmp-photo-overlap) + 16px);
        left: 24px;
    }

    .cmp-featured-testimonial__quote p,
    .cmp-featured-testimonial__author { max-width: none; }
    .cmp-featured-testimonial__quote p { font-size: 18px; }
}

@media (max-width: 768px) {
    .cmp-featured-testimonial {
        --cmp-photo-width: min(280px, 84vw);
        padding: 48px 20px 40px;
    }

    .cmp-featured-testimonial__quote {
        padding: calc(var(--cmp-photo-overlap) + 32px) 24px 32px;
    }
}

/* ── 05 · Testimonials Grid ──────────────────────────────────── */

.cmp-testimonials-grid {
    --cmp-columns: 3;
    padding: 80px 64px;
    background: var(--cmp-section-bg);
    color: var(--cmp-body);
}

.cmp-testimonials-grid__inner {
    max-width: 1120px;
    margin: 0 auto;
}

.cmp-testimonials-grid__header {
    max-width: 40ch;
    margin: 0 auto 56px;
    text-align: center;
}

.cmp-testimonials-grid__eyebrow {
    display: block;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--cmp-section-accent);
}

.cmp-testimonials-grid__title {
    margin: 0;
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--cmp-section-heading);
}

.cmp-testimonials-grid__cards {
    columns: var(--cmp-columns, 3);
    column-gap: 32px;
}

/* Wrapper — zuverlässiger Zeilenabstand in CSS-Columns (Masonry) */
.cmp-testimonials-grid__item {
    break-inside: avoid;
    display: inline-block;
    width: 100%;
    margin-bottom: 32px;
    vertical-align: top;
}

.cmp-testimonials-grid__card {
    margin: 0;
    padding: 32px;
    border-radius: 16px;
    background: var(--cmp-card-bg);
    box-sizing: border-box;
}

.cmp-testimonials-grid__card blockquote {
    margin: 0;
}

.cmp-testimonials-grid__card blockquote p {
    margin: 0;
    font-size: 16px;
    line-height: 1.65;
    color: var(--cmp-body);
}

.cmp-testimonials-grid__card figcaption {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
}

.cmp-testimonials-grid__card figcaption img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.cmp-testimonials-grid__card figcaption span {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.cmp-testimonials-grid__card figcaption strong {
    font-size: 14px;
    font-weight: 600;
    color: var(--cmp-heading);
}

.cmp-testimonials-grid__card figcaption em {
    font-style: normal;
    font-size: 14px;
    color: var(--cmp-muted);
}

@media (max-width: 1000px) {
    .cmp-testimonials-grid { padding: 64px 24px; }
    .cmp-testimonials-grid__header { margin-bottom: 40px; }
    .cmp-testimonials-grid__cards { columns: 2; column-gap: 24px; }
    .cmp-testimonials-grid__item { margin-bottom: 24px; }
    .cmp-testimonials-grid__card { padding: 28px; }
}

@media (max-width: 768px) {
    .cmp-testimonials-grid { padding: 48px 20px; }
    .cmp-testimonials-grid__cards { columns: 1; }
    .cmp-testimonials-grid__item { margin-bottom: 20px; }
    .cmp-testimonials-grid__card { padding: 24px; }
}

/* ── 07 · CTA Band ───────────────────────────────────────────── */

.cmp-cta-band {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    color: #fff;
    text-align: center;
    padding: clamp(56px, 8vw, 88px) 32px;
    background: linear-gradient(135deg, var(--regal, #003f7d) 0%, var(--regal-deep, #002952) 100%);
    --sev-btn-outline-border: rgba(255, 255, 255, 0.5);
    --sev-btn-outline-color: #fff;
    --sev-btn-outline-border-hover: #fff;
    --sev-btn-outline-bg-hover: rgba(255, 255, 255, 0.08);
    --sev-btn-outline-color-hover: #fff;
}

.cmp-cta-band__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--regal, #003f7d) 0%, var(--regal-deep, #002952) 100%);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.cmp-cta-band--photo .cmp-cta-band__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 63, 125, 0.82) 0%,
        rgba(0, 41, 82, 0.88) 100%
    );
}

.cmp-cta-band__inner {
    position: relative;
    z-index: 1;
    max-width: 560px;
    margin: 0 auto;
}

.cmp-cta-band__title {
    margin: 0 0 14px;
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: #fff;
}

.cmp-cta-band__text {
    margin: 0 0 32px;
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.9;
    color: #fff;
}

.cmp-cta-band__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

@media (max-width: 767px) {
    .cmp-cta-band {
        padding-left: 20px;
        padding-right: 20px;
    }

    .cmp-cta-band__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cmp-cta-band__actions .sev-btn {
        width: 100%;
    }
}
