/* ============================================================================
 * Component: camp-theme-osterferien (0.327.0) — the spring look of /feriencamp/osterferien/ (activity 14553) and
 * «Die Osterwoche».
 * Motif: the Wednesday Eiersuche — five painted Easter eggs (the dotted pastel eggs of the owner's hero image), each
 * holding a real frame of the page's Easter-camp video and standing in a tuft of grass; in the hero drifting yellow and
 * green leaves (the confetti of the owner's image) above a grass edge. Pastels, lilac and grass are decoration only
 * (variables below); every action stays ROBBO green.
 * ========================================================================= */
.rc-camp-landing[data-activity-id="14553"],
.rc-os {
    --os-cream: #FFF9EA;
    --os-cream-2: #FBFAEC;
    --os-meadow: #EDF6E0;
    --os-grass: #C4E3A6;
    --os-grass-2: #8CC46A;
    --os-leaf-yellow: #F2CC3D;
    --os-leaf-green: #5DB563;
    --os-lilac: #F1EBFB;
    --os-lilac-ink: #6A4BB0;
    --os-egg-yellow: #F7DB6A;
    --os-egg-mint: #BDE4C4;
    --os-egg-peach: #F8C6AC;
    --os-egg-lilac: #D8CAF2;
    --os-egg-sky: #BCE2F2;
    /* One tuft of grass blades on a base strip (60 × 30), used as a mask so the colour stays a variable. */
    --os-grass-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='30'%3E%3Cpath d='M0 30 4 14 8 30ZM6 30 12 5 16 30ZM14 30 20 16 24 30ZM20 30 27 2 31 30ZM29 30 34 12 38 30ZM36 30 42 7 46 30ZM44 30 49 15 53 30ZM51 30 56 4 60 30ZM0 30V25H60V30Z'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------- hero --- */
.rc-camp-landing[data-activity-id="14553"] .rc-comp-hero {
    background: linear-gradient(180deg, var(--os-cream) 0%, var(--os-cream-2) 55%, var(--os-meadow) 100%) !important;
}
.rc-camp-landing[data-activity-id="14553"] .rc-comp-hero-confetti { display: none; }
.rc-camp-landing[data-activity-id="14553"] .rc-comp-hero-eyebrow {
    background: var(--robbo-white) !important;
    border: 1px solid color-mix(in srgb, var(--os-lilac-ink) 26%, transparent) !important;
    color: var(--os-lilac-ink) !important;
}
/* Drifting leaves like the confetti of the owner's picture: two layers (yellow, green), drawn as masks. */
.rc-camp-landing[data-activity-id="14553"] .rc-comp-hero-bg::before,
.rc-camp-landing[data-activity-id="14553"] .rc-comp-hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 360px;
    pointer-events: none;
    -webkit-mask-repeat: repeat;
    mask-repeat: repeat;
}
.rc-camp-landing[data-activity-id="14553"] .rc-comp-hero-bg::before {
    background: var(--os-leaf-yellow);
    opacity: 0.75;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320'%3E%3Cg%3E%3Cpath d='M0 7C4 0 16 0 20 7 16 14 4 14 0 7Z' transform='translate(40 60) rotate(28)'/%3E%3Cpath d='M0 5C3 0 11 0 14 5 11 10 3 10 0 5Z' transform='translate(230 30) rotate(-40)'/%3E%3Cpath d='M0 7C4 0 16 0 20 7 16 14 4 14 0 7Z' transform='translate(250 220) rotate(64)'/%3E%3Cpath d='M0 5C3 0 11 0 14 5 11 10 3 10 0 5Z' transform='translate(110 250) rotate(12)'/%3E%3C/g%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320'%3E%3Cg%3E%3Cpath d='M0 7C4 0 16 0 20 7 16 14 4 14 0 7Z' transform='translate(40 60) rotate(28)'/%3E%3Cpath d='M0 5C3 0 11 0 14 5 11 10 3 10 0 5Z' transform='translate(230 30) rotate(-40)'/%3E%3Cpath d='M0 7C4 0 16 0 20 7 16 14 4 14 0 7Z' transform='translate(250 220) rotate(64)'/%3E%3Cpath d='M0 5C3 0 11 0 14 5 11 10 3 10 0 5Z' transform='translate(110 250) rotate(12)'/%3E%3C/g%3E%3C/svg%3E");
    -webkit-mask-size: 320px 320px;
    mask-size: 320px 320px;
    animation: rc-os-leaves 64s linear infinite;
}
.rc-camp-landing[data-activity-id="14553"] .rc-comp-hero-bg::after {
    background: var(--os-leaf-green);
    opacity: 0.6;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='280'%3E%3Cg%3E%3Cpath d='M0 7C4 0 16 0 20 7 16 14 4 14 0 7Z' transform='translate(90 110) rotate(-22)'/%3E%3Cpath d='M0 5C3 0 11 0 14 5 11 10 3 10 0 5Z' transform='translate(220 200) rotate(48)'/%3E%3Cpath d='M0 5C3 0 11 0 14 5 11 10 3 10 0 5Z' transform='translate(30 240) rotate(-70)'/%3E%3C/g%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='280'%3E%3Cg%3E%3Cpath d='M0 7C4 0 16 0 20 7 16 14 4 14 0 7Z' transform='translate(90 110) rotate(-22)'/%3E%3Cpath d='M0 5C3 0 11 0 14 5 11 10 3 10 0 5Z' transform='translate(220 200) rotate(48)'/%3E%3Cpath d='M0 5C3 0 11 0 14 5 11 10 3 10 0 5Z' transform='translate(30 240) rotate(-70)'/%3E%3C/g%3E%3C/svg%3E");
    -webkit-mask-size: 280px 280px;
    mask-size: 280px 280px;
    animation: rc-os-leaves2 76s linear infinite;
}
/* One tile across, two tiles down per loop: a slow diagonal drift that repeats seamlessly. */
@keyframes rc-os-leaves  { from { -webkit-mask-position: 0 0; mask-position: 0 0; } to { -webkit-mask-position: 320px 640px; mask-position: 320px 640px; } }
@keyframes rc-os-leaves2 { from { -webkit-mask-position: 40px 0; mask-position: 40px 0; } to { -webkit-mask-position: -240px 560px; mask-position: -240px 560px; } }
/* The lawn edge at the bottom of the hero. */
.rc-camp-landing[data-activity-id="14553"] .rc-comp-hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 28px;
    z-index: 0;
    pointer-events: none;
    background: var(--os-grass);
    -webkit-mask-image: var(--os-grass-mask);
    mask-image: var(--os-grass-mask);
    -webkit-mask-size: 60px 28px;
    mask-size: 60px 28px;
    -webkit-mask-repeat: repeat-x;
    mask-repeat: repeat-x;
    -webkit-mask-position: left bottom;
    mask-position: left bottom;
}
/* The owner's picture is square: on phones it would push the h1 below the first screen. */
@media (max-width: 767px) {
    .rc-camp-landing[data-activity-id="14553"] .rc-comp-hero-media--illustration { max-width: 250px; }
}
/* Desktop: the leaves fly around the picture, not over the text. */
@media (min-width: 768px) {
    .rc-camp-landing[data-activity-id="14553"] .rc-comp-hero-bg::before,
    .rc-camp-landing[data-activity-id="14553"] .rc-comp-hero-bg::after { left: 50%; height: auto; bottom: 28px; }
}

/* ------------------------------------------------------ the section --- */
.rc-os {
    position: relative;
    padding: 48px 16px 56px;
    background: linear-gradient(180deg, var(--os-meadow) 0%, var(--os-cream) 18%, var(--robbo-white) 62%);
    font-family: 'ProximaNova', 'Proxima Nova', 'Noto Sans', sans-serif;
    color: var(--robbo-coal);
}
.rc-os *, .rc-os *::before, .rc-os *::after { box-sizing: border-box; }
.rc-os-wrap { max-width: 1180px; margin: 0 auto; }
.rc-os-head { max-width: 800px; margin: 0 auto 36px; text-align: center; }
.rc-os-eyebrow {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--robbo-white);
    border: 1px solid color-mix(in srgb, var(--os-lilac-ink) 26%, transparent);
    font-size: var(--robbo-fs-badge);
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--os-lilac-ink);
}
.rc-os-h2 {
    margin: 12px 0 12px;
    font-family: 'Plakkaat', sans-serif;
    font-weight: 500;
    font-size: 28px;
    line-height: 1.2;
    color: var(--robbo-black);
}
.rc-os-lead { margin: 0 0 10px; font-size: var(--robbo-fs-base); line-height: 1.6; text-wrap: pretty; }
.rc-os-lead:last-child { margin-bottom: 0; }

.rc-os-h3 {
    margin: 0 0 8px;
    font-size: var(--robbo-fs-lg);
    font-weight: 800;
    line-height: 1.3;
    color: var(--robbo-black);
}
.rc-os-p { margin: 6px 0 0; font-size: var(--robbo-fs-md); line-height: 1.5; color: var(--robbo-coal); text-wrap: pretty; }

/* ------------------------------------------------- five Easter eggs --- */
.rc-os-week { text-align: center; }
.rc-os-sub { max-width: 720px; margin: 0 auto 28px; font-size: var(--robbo-fs-md); line-height: 1.55; color: var(--robbo-coal); text-wrap: pretty; }
.rc-os-eggs {
    list-style: none;
    margin: 0 -16px;
    padding: 6px 16px 10px;
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}
.rc-os-egg {
    --egg: var(--os-egg-yellow);
    --tilt: -3deg;
    flex: 0 0 236px;
    margin: 0;
    padding: 0 6px;
    scroll-snap-align: start;
    text-align: center;
}
.rc-os-egg--mint  { --egg: var(--os-egg-mint);  --tilt: 2.5deg; }
.rc-os-egg--peach { --egg: var(--os-egg-peach); --tilt: -1.5deg; }
.rc-os-egg--lilac { --egg: var(--os-egg-lilac); --tilt: 3deg; }
.rc-os-egg--sky   { --egg: var(--os-egg-sky);   --tilt: -2deg; }

/* A painted egg: pastel shell with white dots, the photo as an egg-shaped window. */
.rc-os-shell {
    position: relative;
    width: 150px;
    aspect-ratio: 172 / 220;
    margin: 0 auto 22px;
    padding: 7px;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    background-color: var(--egg);
    background-image: radial-gradient(circle, color-mix(in srgb, var(--robbo-white) 88%, transparent) 2.4px, transparent 3px);
    background-size: 15px 15px;
    background-position: 3px 4px;
    box-shadow: 0 16px 22px -14px color-mix(in srgb, var(--robbo-coal) 45%, transparent);
    transform: rotate(var(--tilt));
    transition: transform 0.35s cubic-bezier(.34, 1.56, .64, 1);
}
.rc-os-shell .rc-os-photo,
.rc-os-shell img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none;
    object-fit: cover;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
}
/* The egg stands in a tuft of grass. */
.rc-os-shell::after {
    content: '';
    position: absolute;
    left: -22px;
    right: -22px;
    bottom: -12px;
    height: 30px;
    z-index: 2;
    pointer-events: none;
    background: var(--os-grass-2);
    -webkit-mask-image: var(--os-grass-mask);
    mask-image: var(--os-grass-mask);
    -webkit-mask-size: 60px 30px;
    mask-size: 60px 30px;
    -webkit-mask-repeat: repeat-x;
    mask-repeat: repeat-x;
    -webkit-mask-position: center bottom;
    mask-position: center bottom;
}
.rc-os-egg:hover .rc-os-shell { transform: rotate(0deg) translateY(-4px); }
.rc-os-day {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--os-lilac);
    font-size: var(--robbo-fs-badge);
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--os-lilac-ink);
}
.rc-os-t {
    margin: 8px 0 0;
    font-size: var(--robbo-fs-lg);
    font-weight: 800;
    line-height: 1.3;
    color: var(--robbo-black);
}
.rc-os-egg .rc-os-p { margin-top: 6px; }
.rc-os-credit { margin: 18px auto 0; max-width: 720px; font-size: var(--robbo-fs-md); line-height: 1.5; color: var(--robbo-coal); }

/* ------------------------------------------------ the day, in order --- */
.rc-os-daycard {
    margin: 44px auto 0;
    padding: 22px 16px 20px;
    border: 1px solid var(--robbo-line);
    border-radius: 20px;
    background: var(--robbo-white);
    box-shadow: 0 12px 32px color-mix(in srgb, var(--robbo-coal) 7%, transparent);
}
.rc-os-daycard > .rc-os-h3 { margin-bottom: 16px; text-align: center; }
.rc-os-steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
/* Phones: time | tile | text, a dashed line runs through the tiles. */
.rc-os-steps::before {
    content: '';
    position: absolute;
    top: 16px;
    bottom: 16px;
    left: calc(52px + 10px + 15px);
    border-left: 2px dashed var(--robbo-line);
}
.rc-os-step {
    position: relative;
    display: grid;
    grid-template-columns: 52px 32px minmax(0, 1fr);
    column-gap: 10px;
    align-items: start;
    margin: 0;
}
.rc-os-time {
    padding-top: 6px;
    font-size: var(--robbo-fs-base);
    font-weight: 800;
    line-height: 1.2;
    text-align: right;
    color: var(--robbo-green-dark);
    font-variant-numeric: tabular-nums;
}
.rc-os-tile {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: var(--robbo-grey-light);
    color: var(--robbo-green-dark);
    box-shadow: 0 0 0 5px var(--robbo-white);
}
.rc-os-tile .rc-os-ico { width: 18px; height: 18px; }
.rc-os-step-body { min-width: 0; padding-top: 5px; }
.rc-os-step-t { display: block; font-size: var(--robbo-fs-base); font-weight: 800; line-height: 1.3; color: var(--robbo-black); hyphens: auto; }
.rc-os-step .rc-os-p { margin-top: 3px; }

.rc-os-camps {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--robbo-line);
}
.rc-os-camps-t { margin: 0; font-size: var(--robbo-fs-base); font-weight: 800; line-height: 1.4; color: var(--robbo-black); }
.rc-os-camp-list { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.rc-os-camp-list li { margin: 0; }
.rc-os-camp {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 8px;
    padding: 10px 14px;
    border: 1px solid var(--robbo-line);
    border-radius: 12px;
    background: var(--robbo-white);
    font-size: var(--robbo-fs-md);
    line-height: 1.3;
    color: var(--robbo-black) !important;
    text-decoration: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.rc-os-camp:hover, .rc-os-camp:focus-visible { border-color: var(--robbo-green); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06); transform: translateY(-1px); }
.rc-os-camp-n { font-weight: 800; }
.rc-os-camp-a { font-weight: 600; color: var(--robbo-coal); }
.rc-os-camp-go { margin-left: auto; font-weight: 800; color: var(--robbo-green-dark); }
.rc-os-camps > .rc-os-p { margin-top: 12px; }

/* ---------------------------------------------------- larger screens --- */
/* Narrowest phones: no icon tiles, so «Nachmittagsprogramm» fits in one line. */
@media (max-width: 374px) {
    .rc-os-steps::before { display: none; }
    .rc-os-step { grid-template-columns: 46px minmax(0, 1fr); }
    .rc-os-step .rc-os-tile { display: none; }
}
/* Phones: the camp name on one line, the age below it, the arrow on the right. */
@media (max-width: 719px) {
    .rc-os-camp { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 10px; row-gap: 2px; align-items: center; }
    .rc-os-camp-a { grid-row: 2; }
    .rc-os-camp-go { grid-column: 2; grid-row: 1 / span 2; }
}
@media (min-width: 720px) {
    .rc-os-eggs { margin: 0; padding: 6px 0 10px; flex-wrap: wrap; justify-content: center; overflow: visible; row-gap: 32px; }
    .rc-os-egg { flex: 0 0 216px; }
    .rc-os-daycard { padding: 28px 28px 24px; }
    .rc-os-camp-list { flex-direction: row; flex-wrap: wrap; }
    .rc-os-camp { display: inline-flex; border-radius: 999px; }
    .rc-os-camp-go { margin-left: 0; }
    /* Tablets and small laptops: the six stops in two rows of three. */
    .rc-os-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 20px; }
    .rc-os-steps::before { display: none; }
    .rc-os-step { display: flex; flex-direction: column; align-items: center; text-align: center; }
    .rc-os-time { padding: 0 0 10px; text-align: center; font-size: var(--robbo-fs-lg); }
    .rc-os-tile { width: 40px; height: 40px; border-radius: 12px; box-shadow: none; }
    .rc-os-tile .rc-os-ico { width: 20px; height: 20px; }
    .rc-os-step-body { padding-top: 12px; }
}
@media (min-width: 1024px) {
    .rc-os { padding: 64px 32px 72px; }
    .rc-os-h2 { font-size: 32px; }
    .rc-os-h3 { font-size: 20px; }
    .rc-os-eggs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
    .rc-os-egg { padding: 0; }
    .rc-os-shell { width: 168px; }
    .rc-os-daycard { max-width: 1180px; padding: 32px 32px 28px; border-radius: 24px; }
    .rc-os-camps { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; text-align: center; }
    .rc-os-camp-list { margin: 0; }
    .rc-os-camps > .rc-os-p { flex: 0 0 100%; margin-top: 2px; }
}

/* Wide screens: six stops in a row, the tiles on one dashed line. */
@media (min-width: 1200px) {
    .rc-os-steps { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
    .rc-os-steps::before { display: block; top: 52px; bottom: auto; left: 8%; right: 8%; border-left: 0; border-top: 2px dashed var(--robbo-line); }
    .rc-os-tile { box-shadow: 0 0 0 8px var(--robbo-white); }
}

@media (prefers-reduced-motion: reduce) {
    .rc-camp-landing[data-activity-id="14553"] .rc-comp-hero-bg::before,
    .rc-camp-landing[data-activity-id="14553"] .rc-comp-hero-bg::after { animation: none; }
    .rc-os-shell, .rc-os-camp { transition: none; }
    .rc-os-egg:hover .rc-os-shell { transform: rotate(var(--tilt)); }
    .rc-os-camp:hover, .rc-os-camp:focus-visible { transform: none; }
}
