/* ========================================
   FAMILY PAGE
   Page-specific styles only.

   Global typography, buttons, image breaks,
   testimonials and shared layout utilities are inherited
   from prof-bubbles-2026.css.
   ======================================== */


/* ========================================
   01. FAMILY HERO
   ======================================== */

#slides.slide-family {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

/* Curve into intro */

.hero-curve svg path {
    fill: #ffffff;
}


/* ========================================
   02. FAMILY INTRO
   ======================================== */

#family-intro {
    background: #ffffff;
    padding: 140px 0 120px;
}

#family-intro .pb-section-header {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

#family-intro .pb-kicker {
    margin-bottom: 18px;

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.22em;

    color: var(--pb-blue);
}

#family-intro .pb-section-heading {
    max-width: 820px;
    margin: 0 auto;

    font-family: var(--pb-font-body);
    font-size: clamp(34px, 3.8vw, 56px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.045em;

    color: #12202A;
}

#family-intro .pb-section-divider {
    margin: 24px auto 36px;
}

#family-intro .pb-lead,
#family-intro .pb-section-header p:not(.pb-lead):not(.pb-final) {
    max-width: 780px;
    margin: 0 auto 22px;

    font-size: clamp(19px, 1.55vw, 24px);
    font-weight: 400;
    line-height: 1.55;
    letter-spacing: -0.015em;

    color: #66727A;
}

#family-intro .pb-final {
    max-width: 780px;
    margin: 8px auto 0;

    font-size: clamp(18px, 1.35vw, 22px);
    font-weight: 500;
    line-height: 1.55;

    color: var(--pb-blue);
}


/* ========================================
   03. FAMILY FORMAT CARDS
   ======================================== */

#family-intro .show-door-row {
    display: flex;
    align-items: stretch;

    margin-top: 90px;
}

#family-intro .show-door-row > div {
    display: flex;
}

#family-intro .show-door {
    display: flex;
    flex-direction: column;

    width: 100%;
    overflow: hidden;

    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 18px 48px rgba(8,19,29,0.12);

    transition:
        transform 0.45s ease,
        box-shadow 0.45s ease;
}

#family-intro .show-door:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 60px rgba(8,19,29,0.16);
}

#family-intro .show-door-img,
#family-intro .show-door-img-alchemy {
    display: block;

    width: 100%;
    aspect-ratio: 4 / 4.15;

    object-fit: cover;
    object-position: center center;
}

#family-intro .show-door h3 {
    margin: 26px 28px 12px;

    text-align: center;

    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;

    color: #12202A;
}

#family-intro .show-meta {
    margin: 0 28px 18px;

    text-align: center;

    font-size: 15px;
    font-weight: 700;
    line-height: 1.55;

    color: var(--pb-blue);
}

#family-intro .show-benefit {
    margin: 0 28px 32px;

    text-align: center;

    font-size: 17px;
    line-height: 1.65;

    color: #5F6C75;
}


/* ========================================
   04. FAMILY QUOTE IMAGE BREAK
   ======================================== */

/* Base image-break structure.
   Move to global CSS if used by several pages. */

.pb-image-break {
    position: relative;
    height: 520px;
    overflow: hidden;
}

.pb-image-break-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.pb-family-quote-break {
    background-image: url("../img/pictures/prof-bubbles_family_quote.jpg");
    background-size: cover;
    background-position: 60% center;
    background-repeat: no-repeat;
}

.pb-family-quote-break .pb-image-break-overlay {
    background: linear-gradient(
        90deg,
        rgba(8,19,29,0.86) 0%,
        rgba(8,19,29,0.68) 38%,
        rgba(8,19,29,0.32) 68%,
        rgba(8,19,29,0.12) 100%
    );
}


/* ========================================
   05. FAMILY VIDEOS
   ======================================== */

#family-videos {
    background: var(--pb-soft-white);
    padding: 110px 0 120px;
}

#family-videos .pb-section-header {
    max-width: 900px;
    margin: 0 auto 72px;
    text-align: center;
}

#family-videos .pb-section-heading {
    max-width: 820px;
    margin: 0 auto;

    font-family: var(--pb-font-body);
    font-size: clamp(34px, 3.8vw, 56px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.045em;

    color: #12202A;
}

.family-video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 56px;
}

.family-video-item .pb-kicker {
    margin-bottom: 18px;
}

.family-video-title {
    margin: 0 0 28px;

    font-size: clamp(28px, 2.4vw, 42px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.04em;

    color: #12202A;
}

#family-videos .pb-video-container {
    position: relative;

    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;

    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(8, 19, 29, 0.18);
}

#family-videos .pb-video-container iframe {
    position: absolute;
    inset: 0;

    display: block;

    width: 100%;
    height: 100%;

    border: 0;
}

/* ========================================
   FAMILY QUOTE IMAGE BREAK 2
   ======================================== */

.pb-family-quote-break-2 {
    background-image: url("../img/pictures/prof-bubbles_kib_break.jpg");
    background-size: cover;
    background-position: center calc(50% + 60px);
    background-repeat: no-repeat;
}

.pb-family-quote-break-2 .pb-image-break-overlay {
    background: linear-gradient(
        90deg,
        rgba(8,19,29,0.90) 0%,
        rgba(8,19,29,0.72) 42%,
        rgba(8,19,29,0.38) 72%,
        rgba(8,19,29,0.12) 100%
    );
}

.pb-family-quote-break-2 .pb-image-break-content {
    max-width: 680px;
}

.pb-family-quote-break-2 blockquote {
    font-size: clamp(30px, 2.2vw, 44px);
    line-height: 1.2;
}

.pb-family-quote-break-2 cite {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: none;
    color: rgba(255,255,255,0.82);
}

/* ========================================
   06. FAMILY WHY IT WORKS
   ======================================== */

#family-why-it-works {
    background: var(--pb-soft-white);
    padding: 95px 0 100px;
}

#family-why-it-works .pb-section-header {
    max-width: 760px;
    margin: 0 auto 70px;
    text-align: center;
}

#family-why-it-works .pb-kicker {
    margin-bottom: 18px;
}

#family-why-it-works .pb-section-heading {
    max-width: 760px;
    margin: 0 auto;

    font-family: var(--pb-font-body);
    font-size: clamp(32px, 3vw, 48px);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.045em;

    color: #12202A;
}

#family-why-it-works .pb-divider {
    margin: 28px auto 0;
}

/* Reuses the Events proof-grid classes.
   Rename to a shared class later if this becomes permanent. */

#family-why-it-works .event-proof-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;

    max-width: 1400px;
    margin: 0 auto;
}

#family-why-it-works .event-proof-item {
    text-align: center;
}

#family-why-it-works .event-proof-icon {
    width: 52px;
    height: 52px;
    object-fit: contain;

    margin: 0 auto 22px;

    opacity: 0.75;
}

#family-why-it-works .event-proof-item h3 {
    margin: 0 0 14px;

    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;

    color: #12202A;
}

#family-why-it-works .event-proof-item p {
    margin: 0;

    font-size: 16px;
    line-height: 1.65;

    color: #5F6C75;
}

#family-why-it-works .event-proof-item:first-child .event-proof-icon {
    transform: scale(1.4);
}


/* ========================================
   07. RESPONSIVE
   ======================================== */

/* Tablet / small desktop */

@media (max-width: 1000px) {

    #family-why-it-works .event-proof-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 44px;
    }

}

/* Mobile */

@media (max-width: 900px) {

    #family-intro {
        padding: 120px 0 90px;
    }

    #family-intro .pb-section-heading {
        font-size: clamp(40px, 10vw, 58px);
    }

    #family-intro .pb-lead {
        font-size: 22px;
    }

    #family-intro .pb-section-header p:not(.pb-lead):not(.pb-final) {
        font-size: 20px;
    }

    #family-intro .pb-final {
        font-size: 21px;
    }

    #family-intro .show-door-row {
        margin-top: 58px;
    }

    #family-intro .show-door {
        margin-bottom: 34px;
    }

    #family-intro .show-door-img,
    #family-intro .show-door-img-alchemy {
        aspect-ratio: 4 / 3;
    }

    .pb-image-break {
        height: 420px;
    }

    #family-videos {
        padding: 85px 0 95px;
    }

    #family-videos .pb-section-header {
        margin-bottom: 55px;
    }

    .family-video-grid {
        grid-template-columns: 1fr;
        gap: 64px;
    }

}

/* Small mobile */

@media (max-width: 640px) {

    #family-why-it-works {
        padding: 75px 0 80px;
    }

    #family-why-it-works .event-proof-grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }






    /* Custom */
}
.hero-content-family .hero-title.hero-title-de {
    font-size: clamp(4.2rem, 4.2vw, 6.2rem);
    line-height: 0.95;
}
.hero-content-family .hero-title.hero-title-en {
    font-size: clamp(3.8rem, 4vw, 5.8rem);
    line-height: 0.95;
}
.hero-content-family .hero-subtitle {
    max-width: 540px;
}
.pb-family-quote-break blockquote {
    max-width: 700px;
     font-size: clamp(1.8rem, 2.2vw, 3rem);
    line-height: 1.15;
}
.pb-family-quote-break cite {
    text-transform: none;
    letter-spacing: normal;
}