/* ============================================================================
 * /summer-city-camps-wien/ — guide page (v0.267.0).
 * Kopf with key numbers, Steckbrief <dl>, cards, two tables that turn into one
 * card per row on phones, Hinweis, CTA. Components (camp cards, reviews, FAQ,
 * forms) bring their own CSS.
 * ========================================================================= */

.rc-scc {
    font-family: 'ProximaNova', 'Proxima Nova', 'Noto Sans', sans-serif;
    color: var(--robbo-coal);
}
.rc-scc-head *,
.rc-scc-head *::before,
.rc-scc-head *::after,
.rc-scc-sec *,
.rc-scc-sec *::before,
.rc-scc-sec *::after,
.rc-scc-cta * { box-sizing: border-box; }

.rc-scc-wrap { max-width: 1080px; margin: 0 auto; }

.rc-scc-sr {
    position: absolute;
    width: 1px; height: 1px;
    margin: -1px; padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.rc-scc-eyebrow {
    display: table;
    margin: 0 auto;
    font-size: var(--robbo-fs-badge);
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--robbo-green-dark);
    background: var(--robbo-grey-light);
    padding: 4px 12px;
    border-radius: 999px;
}

/* --- 1. Kopf ----------------------------------------------------------------- */
/* Phones/tablets: one column, the key numbers right under the H1 (the answer
   first) and the "not the organiser" note above the fold; the copy wrapper
   dissolves (display: contents) so its children can be ordered around the
   tiles. Desktop: copy left, tiles right. */
.rc-scc-head { padding: 32px 16px 8px; }
.rc-scc-head-grid {
    display: flex;
    flex-direction: column;
}
.rc-scc-head-copy { display: contents; text-align: center; }
.rc-scc-head .rc-scc-eyebrow { order: 1; margin: 0 auto; }
.rc-scc-head .rc-scc-h1 { order: 2; text-align: center; }
.rc-scc-head .rc-scc-tiles { order: 3; margin: 4px 0 20px; }
.rc-scc-head .rc-scc-note { order: 4; }
.rc-scc-head .rc-scc-lead { order: 5; text-align: center; }
.rc-scc-head .rc-scc-btns { order: 6; }
.rc-scc-h1 {
    font-family: 'ProximaNova', 'Proxima Nova', 'Noto Sans', sans-serif;
    font-weight: 800;
    font-size: 30px;
    line-height: 1.15;
    color: var(--robbo-black);
    margin: 12px 0 12px;
    overflow-wrap: anywhere;
}
.rc-scc-lead {
    font-size: var(--robbo-fs-base);
    line-height: 1.55;
    margin: 0 auto 14px;
    max-width: 680px;
}
.rc-scc-note {
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
    text-align: left;
    font-size: var(--robbo-fs-md);
    line-height: 1.45;
    background: var(--robbo-grey-light);
    border-radius: 14px;
    padding: 10px 14px;
    margin: 0 auto 18px;
    max-width: 680px;
}
.rc-scc-note svg { flex: 0 0 18px; margin-top: 1px; color: var(--robbo-green-dark); }
.rc-scc-note a { color: var(--robbo-green-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.rc-scc-note a:hover { color: var(--robbo-coal); }
.rc-scc-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}
.rc-scc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 13px 24px;
    border-radius: 999px;
    font-size: var(--robbo-fs-base);
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.rc-scc-btn--primary { background: var(--robbo-green); color: var(--robbo-white); }
.rc-scc-btn--primary:hover { background: var(--robbo-green-dark); color: var(--robbo-white); }
.rc-scc-btn--ghost { color: var(--robbo-green-dark); border: 2px solid var(--robbo-green); background: var(--robbo-white); }
.rc-scc-btn--ghost:hover { border-color: var(--robbo-green-dark); color: var(--robbo-green-dark); }

.rc-scc-tiles {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.rc-scc-tile {
    margin: 0;
    background: var(--robbo-white);
    border: 1px solid var(--robbo-line);
    border-radius: 18px;
    padding: 16px 14px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .05);
}
.rc-scc-tile strong {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--robbo-green-dark);
}
.rc-scc-tile span {
    font-size: var(--robbo-fs-md);
    line-height: 1.35;
    overflow-wrap: anywhere;
}

/* --- Sections ---------------------------------------------------------------- */
.rc-scc-sec { padding: 36px 16px 8px; }
.rc-scc-sec--last { padding-bottom: 8px; }
.rc-scc-h2 {
    font-family: 'Plakkaat', sans-serif;
    font-weight: 500;
    font-size: 26px;
    line-height: 1.2;
    color: var(--robbo-black);
    text-align: center;
    margin: 12px 0 10px;
}
.rc-scc-h3 {
    font-family: 'ProximaNova', 'Proxima Nova', 'Noto Sans', sans-serif;
    font-size: var(--robbo-fs-lg);
    font-weight: 800;
    line-height: 1.3;
    color: var(--robbo-black);
    margin: 0;
}
.rc-scc-sub {
    font-size: var(--robbo-fs-base);
    line-height: 1.6;
    text-align: center;
    max-width: 720px;
    margin: 0 auto 22px;
}
.rc-scc-source {
    font-size: var(--robbo-fs-md);
    line-height: 1.5;
    text-align: center;
    max-width: 780px;
    margin: 14px auto 0;
}
.rc-scc-source a { color: var(--robbo-green-dark); text-decoration: underline; }

/* --- 2. Steckbrief ------------------------------------------------------------ */
.rc-scc-dl {
    margin: 0;
    background: var(--robbo-white);
    border: 1px solid var(--robbo-line);
    border-radius: 20px;
    overflow: hidden;
}
.rc-scc-dl-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    padding: 14px 18px;
    border-top: 1px solid var(--robbo-line);
}
.rc-scc-dl-row:first-child { border-top: 0; }
.rc-scc-dl dt {
    font-size: var(--robbo-fs-badge);
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: var(--robbo-green-dark);
}
.rc-scc-dl dd {
    margin: 0;
    font-size: var(--robbo-fs-base);
    font-weight: 600;
    line-height: 1.5;
    color: var(--robbo-black);
    overflow-wrap: anywhere;
}
.rc-scc-dl dd small {
    display: block;
    margin-top: 2px;
    font-size: var(--robbo-fs-md);
    font-weight: 400;
    color: var(--robbo-coal);
}

/* --- Cards (summer, situations) ---------------------------------------------- */
.rc-scc-grid3,
.rc-scc-sit {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
}
.rc-scc-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: var(--robbo-white);
    border: 1px solid var(--robbo-line);
    border-radius: 18px;
    padding: 18px;
    min-width: 0;
    transition: box-shadow .2s ease, border-color .2s ease;
}
.rc-scc-card:hover { border-color: var(--robbo-green); box-shadow: 0 8px 22px rgba(0, 0, 0, .06); }
.rc-scc-card p,
.rc-scc-list li {
    margin: 0;
    font-size: var(--robbo-fs-md);
    line-height: 1.55;
    overflow-wrap: anywhere;
}
.rc-scc-card .rc-scc-big {
    font-size: var(--robbo-fs-lg);
    font-weight: 700;
    color: var(--robbo-green-dark);
}
.rc-scc-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.rc-scc-more {
    margin-top: auto;
    padding-top: 4px;
    font-size: var(--robbo-fs-md);
    font-weight: 700;
    color: var(--robbo-green-dark);
    text-decoration: none;
}
.rc-scc-more:hover { text-decoration: underline; }

.rc-scc-callout {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
    background: var(--robbo-grey-light);
    border-radius: 18px;
    padding: 20px 18px;
}
.rc-scc-callout p {
    margin: 0;
    font-size: var(--robbo-fs-base);
    line-height: 1.55;
    max-width: 720px;
}

/* --- Tables (comparison, themes) ---------------------------------------------- */
.rc-scc-tablewrap {
    background: var(--robbo-white);
    border: 1px solid var(--robbo-line);
    border-radius: 18px;
    overflow: hidden;
}
.rc-scc-table {
    width: 100%;
    margin: 0;
    border: 0;
    border-collapse: collapse;
    font-size: var(--robbo-fs-md);
    line-height: 1.5;
}
/* The theme draws a full grid on every table cell — reset, then draw ours. */
.rc-scc-table tr,
.rc-scc-table th,
.rc-scc-table td { border: 0; }
.rc-scc-table thead th {
    background: var(--robbo-grey-light);
    font-size: var(--robbo-fs-badge);
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-align: left;
    padding: 12px 16px;
    color: var(--robbo-coal);
}
.rc-scc-table tbody th,
.rc-scc-table td {
    text-align: left;
    vertical-align: top;
    padding: 13px 16px;
    border-top: 1px solid var(--robbo-line);
    overflow-wrap: anywhere;
}
.rc-scc-table tbody th {
    font-weight: 800;
    color: var(--robbo-black);
}
.rc-scc-table tbody th a {
    color: var(--robbo-black);
    text-decoration: underline;
    text-decoration-color: var(--robbo-line);
    text-underline-offset: 4px;
}
.rc-scc-table tbody th a:hover { color: var(--robbo-green-dark); text-decoration-color: currentColor; }
.rc-scc-cmp td:last-child { background: var(--robbo-grey-light); }
@supports (background: color-mix(in srgb, red 10%, white)) {
    .rc-scc-cmp td:last-child { background: color-mix(in srgb, var(--robbo-green) 5%, var(--robbo-white)); }
}

/* --- Hinweis ------------------------------------------------------------------ */
.rc-scc-hinweis {
    margin: 0 auto;
    max-width: 860px;
    font-size: var(--robbo-fs-md);
    line-height: 1.55;
    background: var(--robbo-grey-light);
    border-radius: 16px;
    padding: 16px 18px;
}

/* --- CTA ------------------------------------------------------------------------ */
.rc-scc-cta {
    margin-top: 40px;
    padding: 52px 16px;
    text-align: center;
    background: linear-gradient(135deg, var(--robbo-green) 0%, var(--robbo-green-dark) 100%);
    font-family: 'ProximaNova', 'Proxima Nova', 'Noto Sans', sans-serif;
}
.rc-scc-cta-h2 {
    font-family: 'ProximaNova', 'Proxima Nova', 'Noto Sans', sans-serif;
    font-weight: 800;
    font-size: 28px;
    line-height: 1.2;
    color: var(--robbo-white);
    margin: 0 0 12px;
}
.rc-scc-cta-p {
    font-size: var(--robbo-fs-lg);
    line-height: 1.55;
    color: var(--robbo-white);
    margin: 0 auto 22px;
    max-width: 620px;
}
.rc-scc-cta-btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.rc-scc-btn--light { background: var(--robbo-white); color: var(--robbo-green-dark); }
.rc-scc-btn--light:hover { color: var(--robbo-coal); }
.rc-scc-btn--outline { color: var(--robbo-white); border: 2px solid var(--robbo-white); }
.rc-scc-btn--outline:hover { color: var(--robbo-white); text-decoration: underline; text-underline-offset: 3px; }

/* --- Phones: one card per table row --------------------------------------------- */
@media (max-width: 719px) {
    .rc-scc-tablewrap { background: transparent; border: 0; border-radius: 0; overflow: visible; }
    .rc-scc-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .rc-scc-table,
    .rc-scc-table tbody,
    .rc-scc-table tr,
    .rc-scc-table th,
    .rc-scc-table td { display: block; width: 100%; }
    .rc-scc-table tr {
        background: var(--robbo-white);
        border: 1px solid var(--robbo-line);
        border-radius: 16px;
        padding: 14px 16px;
        margin: 0 0 10px;
    }
    .rc-scc-table tbody th,
    .rc-scc-table td { border: 0; padding: 4px 0; background: transparent; }
    .rc-scc-table tbody th { font-size: var(--robbo-fs-lg); padding-bottom: 6px; }
    .rc-scc-cmp td:last-child { background: transparent; }
    .rc-scc-table td::before {
        content: attr(data-label);
        display: block;
        font-size: var(--robbo-fs-badge);
        font-weight: 700;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        color: var(--robbo-green-dark);
    }
    .rc-scc-cmp td + td { margin-top: 6px; }
    .rc-scc-btns .rc-scc-btn,
    .rc-scc-cta-btns .rc-scc-btn { width: 100%; }

    /* Themes: three short lines per camp instead of four labelled blocks. */
    .rc-scc-themes tr { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; padding: 12px 16px; }
    .rc-scc-themes tbody th { flex: 0 0 100%; padding-bottom: 4px; }
    .rc-scc-themes td { width: auto; }
    .rc-scc-themes td::before { content: none; }
    .rc-scc-themes td[data-label="Standorte"] { flex: 0 0 100%; order: 9; }
    .rc-scc-themes td[data-label="Preis"] { font-weight: 700; color: var(--robbo-green-dark); }
}

@media (min-width: 720px) {
    .rc-scc-lead { font-size: var(--robbo-fs-lg); }
    .rc-scc-themes thead th:nth-child(1) { width: 28%; }
    .rc-scc-themes thead th:nth-child(2) { width: 14%; }
    .rc-scc-themes thead th:nth-child(3) { width: 12%; }
    .rc-scc-themes thead th:nth-child(4) { width: 24%; }
    .rc-scc-dl-row { grid-template-columns: 180px minmax(0, 1fr); gap: 16px; padding: 16px 24px; }
    .rc-scc-grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .rc-scc-sit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rc-scc-tiles { gap: 12px; }
    .rc-scc-cmp thead th:nth-child(1) { width: 20%; }
    .rc-scc-cmp thead th:nth-child(2),
    .rc-scc-cmp thead th:nth-child(3) { width: 40%; }
    .rc-scc-callout { flex-direction: row; justify-content: space-between; text-align: left; padding: 20px 24px; }
    .rc-scc-callout .rc-scc-btn { flex: 0 0 auto; }
}

@media (min-width: 1024px) {
    .rc-scc-head { padding: 48px 32px 8px; }
    .rc-scc-head-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: center; }
    .rc-scc-head-copy { display: block; text-align: left; min-width: 0; }
    .rc-scc-head .rc-scc-eyebrow { margin: 0; }
    .rc-scc-head .rc-scc-h1,
    .rc-scc-head .rc-scc-lead { text-align: left; }
    .rc-scc-head .rc-scc-tiles { margin: 0; }
    .rc-scc-lead,
    .rc-scc-note { margin-left: 0; }
    .rc-scc-btns { justify-content: flex-start; }
    .rc-scc-h1 { font-size: 40px; }
    .rc-scc-tile { padding: 20px 16px; }
    .rc-scc-tile strong { font-size: 30px; }
    .rc-scc-sec { padding: 52px 32px 8px; }
    .rc-scc-h2 { font-size: 30px; }
    .rc-scc-sit { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .rc-scc-cta-h2 { font-size: 32px; }
}

@media print {
    .rc-scc-cta, .rc-scc-btns, .rc-scc .rc-camp-cards { display: none !important; }
}
