/* ============================================================================
 * Component: birthday-partyraum (0.312.0)
 * .rc-bpr — the club's party room: photo + party video laid over it like a phone, the LEGO-coloured stripes of the
 *           room's own wall behind both, fact tiles styled as bricks.
 * .rc-bps — one real party in five photos; scroll-snap strip on phones, staggered row on desktop.
 * Brick colours are decorative (the wall in the photos), not brand colours.
 * ========================================================================= */

.rc-bpr,
.rc-bps {
    --bpr-red: #E1463A;
    --bpr-yellow: #F6C343;
    --bpr-blue: #2F6FD0;
    --bpr-cream: #FFFBF5;
    color: var(--robbo-coal);
    font-family: 'ProximaNova', 'Proxima Nova', 'Noto Sans', sans-serif;
}
.rc-bpr *, .rc-bpr *::before, .rc-bpr *::after,
.rc-bps *, .rc-bps *::before, .rc-bps *::after { box-sizing: border-box; }

/* ---------------------------------------------------------------- room -- */
.rc-bpr {
    position: relative;
    overflow: hidden;
    padding: 56px 16px 64px;
    background: var(--bpr-cream);
}
.rc-bpr-wrap {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "copy" "stage" "facts" "actions";
    gap: 28px;
}
.rc-bpr-copy { grid-area: copy; }
.rc-bpr-stage { grid-area: stage; }
.rc-bpr-facts { grid-area: facts; }
.rc-bpr-actions { grid-area: actions; }

.rc-bpr-eyebrow {
    display: inline-block;
    margin: 0 0 16px;
    padding: 6px 14px;
    border-radius: 999px;
    background: #E6F9F0;
    font-family: 'Plakkaat', 'ProximaNova', sans-serif;
    font-size: var(--robbo-fs-badge);
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--robbo-green-dark);
}
.rc-bpr-h2 {
    margin: 0 0 16px;
    font-family: 'ProximaNova', sans-serif;
    font-weight: 800;
    font-size: 32px;
    line-height: 1.08;
    letter-spacing: -0.02em;
    text-wrap: balance;
}
.rc-bpr-lead {
    margin: 0;
    max-width: 540px;
    font-size: var(--robbo-fs-lg);
    line-height: 1.6;
}
.rc-bpr-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    max-width: 540px;
    margin: 22px 0 0;
}
.rc-bpr-stat {
    padding: 12px 12px 11px;
    border-radius: 14px;
    background: var(--robbo-white);
    box-shadow: 0 1px 0 var(--robbo-line), 0 8px 20px color-mix(in srgb, var(--robbo-coal) 6%, transparent);
}
.rc-bpr-stat dt {
    margin: 0 0 2px;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--robbo-green-dark);
    font-variant-numeric: tabular-nums;
    white-space: nowrap; /* «28 m²» must not break at 320 px */
}
.rc-bpr-stat dd { margin: 0; font-size: var(--robbo-fs-md); line-height: 1.35; overflow-wrap: normal; hyphens: manual; }
@media (max-width: 359px) {
    .rc-bpr-stats { gap: 8px; }
    .rc-bpr-stat { padding: 11px 9px 10px; }
}

/* Stage: photo, phone video, wall stripes. */
.rc-bpr-stage {
    position: relative;
    margin: 4px 0 92px;
}
.rc-bpr-bricks {
    position: absolute;
    z-index: 0;
    left: -16px;
    bottom: -34px;
    width: 74%;
    height: 68px;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-rows: 1fr 1fr;
}
.rc-bpr-bricks i { display: block; border-radius: 3px; }
.rc-bpr-bricks i:nth-child(1) { grid-column: 1 / 3; grid-row: 1; background: var(--bpr-red); }
.rc-bpr-bricks i:nth-child(2) { grid-column: 3 / 6; grid-row: 1; background: var(--robbo-green); }
.rc-bpr-bricks i:nth-child(3) { grid-column: 1 / 4; grid-row: 2; background: var(--bpr-blue); }
.rc-bpr-bricks i:nth-child(4) { grid-column: 4 / 5; grid-row: 2; background: var(--bpr-yellow); }
.rc-bpr-bricks i:nth-child(5) { grid-column: 5 / 7; grid-row: 2; background: var(--robbo-green); }

.rc-bpr-photo {
    position: relative;
    z-index: 1;
    margin: 0;
    aspect-ratio: 4 / 3;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 18px 40px color-mix(in srgb, var(--robbo-coal) 16%, transparent);
}
.rc-bpr-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rc-bpr-tag {
    position: absolute;
    left: 14px;
    top: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 13px 7px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    font-size: var(--robbo-fs-md);
    font-weight: 700;
    line-height: 1.2;
    box-shadow: 0 4px 14px color-mix(in srgb, var(--robbo-black) 12%, transparent);
}
.rc-bpr-tag::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 3px;
    background: var(--bpr-red);
}

.rc-bpr-video {
    position: absolute;
    z-index: 2;
    right: 10px;
    bottom: -76px;
    width: 42%;
    max-width: 220px;
    aspect-ratio: 9 / 16;
    margin: 0;
    border: 5px solid var(--robbo-white);
    border-radius: 24px;
    overflow: hidden;
    background: var(--robbo-black);
    box-shadow: 0 26px 50px color-mix(in srgb, var(--robbo-black) 30%, transparent);
    transform: rotate(2.5deg);
    transition: transform 0.35s ease;
}
.rc-bpr-video-el { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--robbo-black); }
.rc-bpr-play {
    position: absolute;
    z-index: 3;
    inset: 0;
    margin: auto;
    width: 62px;
    height: 62px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--robbo-green);
    color: var(--robbo-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 24px color-mix(in srgb, var(--robbo-green) 45%, transparent);
    transition: transform 0.2s ease, background 0.2s ease;
}
.rc-bpr-play svg { width: 26px; height: 26px; margin-left: 3px; }
.rc-bpr-play::after {
    content: "";
    position: absolute;
    inset: -9px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.85);
    animation: rc-bpr-pulse 2.4s ease-out infinite;
}
.rc-bpr-play:hover { background: var(--robbo-green-dark); transform: scale(1.06); }
.rc-bpr-play:focus-visible { outline: 3px solid var(--robbo-white); outline-offset: 4px; }
@keyframes rc-bpr-pulse {
    0% { transform: scale(0.85); opacity: 1; }
    80%, 100% { transform: scale(1.35); opacity: 0; }
}
.rc-bpr-vcap {
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap; /* the duration takes its own row when label + duration are wider than the phone (≤ 375 px) */
    gap: 6px 8px;
    padding: 40px 12px 12px;
    background: linear-gradient(to top, color-mix(in srgb, var(--robbo-black) 80%, transparent), color-mix(in srgb, var(--robbo-black) 0%, transparent));
    color: var(--robbo-white);
    pointer-events: none;
}
.rc-bpr-vcap strong { font-size: var(--robbo-fs-md); font-weight: 700; line-height: 1.2; }
.rc-bpr-vcap span {
    flex: 0 0 auto;
    margin-left: auto; /* stays right when there is no label (1030) */
    padding: 2px 7px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.22);
    font-size: var(--robbo-fs-xs);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.rc-bpr-video.is-playing { transform: rotate(0deg); }
.rc-bpr-video.is-playing .rc-bpr-play,
.rc-bpr-video.is-playing .rc-bpr-vcap { display: none; }

/* Facts as bricks, then the CTAs. */
.rc-bpr-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.rc-bpr-fact {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 18px 16px;
    border-radius: 18px;
    background: var(--robbo-white);
    box-shadow: 0 1px 0 var(--robbo-line), 0 10px 26px color-mix(in srgb, var(--robbo-coal) 6%, transparent);
}
.rc-bpr-brick {
    position: relative;
    flex: 0 0 48px;
    width: 48px;
    height: 42px;
    margin-top: 8px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--robbo-white);
    box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.14);
}
.rc-bpr-brick::before,
.rc-bpr-brick::after {
    content: "";
    position: absolute;
    top: -7px;
    width: 14px;
    height: 9px;
    border-radius: 4px 4px 2px 2px;
    background: inherit;
    box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.12);
}
.rc-bpr-brick::before { left: 8px; }
.rc-bpr-brick::after { right: 8px; }
.rc-bpr-brick svg { width: 22px; height: 22px; }
.rc-bpr-brick--red { background: var(--bpr-red); }
.rc-bpr-brick--yellow { background: var(--bpr-yellow); color: var(--robbo-coal); }
.rc-bpr-brick--blue { background: var(--bpr-blue); }
.rc-bpr-brick--green { background: var(--robbo-green); }
.rc-bpr-fact-txt { font-size: var(--robbo-fs-md); line-height: 1.55; }
.rc-bpr-fact-txt strong { display: block; margin-bottom: 2px; font-size: var(--robbo-fs-base); font-weight: 700; }

.rc-bpr-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.rc-bpr-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 26px;
    border-radius: 999px;
    background: var(--robbo-green);
    color: var(--robbo-white) !important;
    font-size: var(--robbo-fs-base);
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 10px 22px color-mix(in srgb, var(--robbo-green) 28%, transparent);
    transition: background 0.2s ease, transform 0.2s ease;
}
.rc-bpr-btn span { transition: transform 0.2s ease; }
.rc-bpr-btn:hover { background: var(--robbo-green-dark); transform: translateY(-1px); }
.rc-bpr-btn:hover span { transform: translateX(3px); }
.rc-bpr-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    border: 0;
    background: none;
    color: var(--robbo-coal);
    font-family: 'ProximaNova', sans-serif;
    font-size: var(--robbo-fs-base);
    font-weight: 700;
    cursor: pointer;
}
.rc-bpr-link-ico {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--robbo-white);
    color: var(--robbo-green);
    box-shadow: 0 4px 12px color-mix(in srgb, var(--robbo-coal) 14%, transparent);
    transition: transform 0.2s ease;
}
.rc-bpr-link-ico svg { width: 15px; height: 15px; margin-left: 2px; }
.rc-bpr-link:hover { color: var(--robbo-green-dark); }
.rc-bpr-link:hover .rc-bpr-link-ico { transform: scale(1.08); }

@media (min-width: 600px) {
    .rc-bpr-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rc-bpr-video { width: 200px; max-width: none; right: 22px; }
    .rc-bpr-stage { margin-bottom: 110px; }
}
@media (min-width: 1024px) {
    .rc-bpr { padding: 88px 32px 96px; }
    .rc-bpr-wrap {
        grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
        grid-template-areas: "copy stage" "actions stage" "facts facts";
        column-gap: 64px;
        row-gap: 28px;
        align-items: start;
    }
    .rc-bpr-copy { align-self: end; }
    .rc-bpr-actions { align-self: start; }
    .rc-bpr-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 12px; }
    .rc-bpr-h2 { font-size: 44px; }
    .rc-bpr-stage { align-self: center; margin: 0; padding-bottom: 84px; }
    .rc-bpr-photo { width: calc(100% - 118px); }
    .rc-bpr-video { width: 236px; right: 0; bottom: 0; transform: rotate(3deg); }
    .rc-bpr-bricks { left: -28px; bottom: 0; width: 62%; height: 94px; }
}

/* --------------------------------------------------------------- story -- */
.rc-bps {
    overflow: hidden;
    padding: 64px 0 56px;
    background: var(--robbo-white);
}
.rc-bps-wrap { max-width: 1180px; margin: 0 auto; }
.rc-bps-head { max-width: 760px; margin: 0 auto 26px; padding: 0 16px; text-align: center; }
.rc-bps-eyebrow {
    display: inline-block;
    margin: 0 0 14px;
    padding: 6px 14px;
    border-radius: 999px;
    background: #E6F9F0;
    font-family: 'Plakkaat', 'ProximaNova', sans-serif;
    font-size: var(--robbo-fs-badge);
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--robbo-green-dark);
}
.rc-bps-h2 {
    margin: 0 0 12px;
    font-family: 'ProximaNova', sans-serif;
    font-weight: 800;
    font-size: 30px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-wrap: balance;
}
.rc-bps-sub { margin: 0; font-size: var(--robbo-fs-base); line-height: 1.6; opacity: 0.85; }

.rc-bps-track {
    list-style: none;
    margin: 0;
    padding: 12px 16px 20px;
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.rc-bps-track::-webkit-scrollbar { display: none; }
.rc-bps-step { flex: 0 0 76%; margin: 0; scroll-snap-align: start; }
.rc-bps-fig { position: relative; margin: 0 0 30px; }
.rc-bps-img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 14px 30px color-mix(in srgb, var(--robbo-coal) 14%, transparent);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.rc-bps-num {
    position: absolute;
    left: 14px;
    bottom: -20px;
    width: 52px;
    height: 44px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--robbo-green);
    color: var(--robbo-white);
    font-family: 'Plakkaat', 'ProximaNova', sans-serif;
    font-size: 20px;
    letter-spacing: 0.04em;
    box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.14), 0 8px 18px color-mix(in srgb, var(--robbo-black) 18%, transparent);
}
.rc-bps-num::before,
.rc-bps-num::after {
    content: "";
    position: absolute;
    top: -7px;
    width: 14px;
    height: 9px;
    border-radius: 4px 4px 2px 2px;
    background: inherit;
    box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.12);
}
.rc-bps-num::before { left: 9px; }
.rc-bps-num::after { right: 9px; }
.rc-bps-step:nth-child(4n+1) .rc-bps-num { background: var(--bpr-red); }
.rc-bps-step:nth-child(4n+2) .rc-bps-num { background: var(--bpr-yellow); color: var(--robbo-coal); }
.rc-bps-step:nth-child(4n+3) .rc-bps-num { background: var(--bpr-blue); }
.rc-bps-step:nth-child(4n+4) .rc-bps-num { background: var(--robbo-green); }
.rc-bps-h3 { margin: 0 0 6px; font-size: var(--robbo-fs-lg); font-weight: 700; line-height: 1.25; }
.rc-bps-txt { margin: 0; font-size: var(--robbo-fs-md); line-height: 1.55; }
.rc-bps-hint { margin: 4px 0 0; padding: 0 16px; font-size: var(--robbo-fs-md); font-weight: 600; opacity: 0.7; }

/* Steps rise in one after another once the strip is in view (JS adds .rc-js / .is-in). */
.rc-bps.rc-js .rc-bps-step { opacity: 0; transform: translateY(18px); }
.rc-bps.rc-js.is-in .rc-bps-step {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
    transition-delay: calc(var(--i, 0) * 90ms);
}

@media (min-width: 1024px) {
    .rc-bps { padding: 88px 32px 104px; }
    .rc-bps-head { padding: 0; margin: 0 auto 48px; }
    .rc-bps-h2 { font-size: 40px; }
    .rc-bps-track {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 24px;
        padding: 0;
        overflow: visible;
    }
    .rc-bps-step:nth-child(even) { margin-top: 44px; }
    .rc-bps-step:hover .rc-bps-img { transform: translateY(-4px) rotate(-0.6deg); box-shadow: 0 22px 40px color-mix(in srgb, var(--robbo-coal) 20%, transparent); }
    .rc-bps-hint { display: none; }
}

/* Rundgang (kind 'tour', 0.315.0): landscape room photos — a wider strip on phones, two large over three small on desktop. */
.rc-bps--tour .rc-bps-step { flex-basis: 84%; }
.rc-bps--tour .rc-bps-img { aspect-ratio: 4 / 3; }
@media (min-width: 1024px) {
    .rc-bps--tour .rc-bps-track { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 36px 24px; }
    .rc-bps--tour .rc-bps-step { grid-column: span 2; }
    .rc-bps--tour .rc-bps-step:nth-child(-n+2) { grid-column: span 3; }
    .rc-bps--tour .rc-bps-step:nth-child(even) { margin-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .rc-bpr-play::after { animation: none; }
    .rc-bpr-video, .rc-bps-img, .rc-bpr-btn, .rc-bpr-play { transition: none; }
    .rc-bps.rc-js .rc-bps-step { opacity: 1; transform: none; }
}

/* ------------------------------------------------ page rhythm (0.313.0) --
 * A Standort page with a Partyraum (<main class="rc-bp rc-bp--partyraum">) alternates white / cream from top to
 * bottom: hero · Partyraum (cream) · story · Pakete + Einladung (cream) · Anreise · Eltern-Stimmen (cream) · form · FAQ.
 */
.rc-bp--partyraum .rc-comp-pakete,
.rc-bp--partyraum .rc-fe-mc,
.rc-bp--partyraum .rc-comp-reviews { background: #FFFBF5; }
.rc-bp--partyraum .rc-fe-mc { margin-top: 0; margin-bottom: 0; padding-top: 8px; padding-bottom: 72px; }
