/* ===== base.css ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: #f5efe7;
    overflow-x: clip;
}

body {
    font-family: "DM Sans", sans-serif;
    background: #f5efe7;
    color: #14261d;
    line-height: 1.6;
    overflow-x: clip;
}

/* Subtle content settle — never cover the page (no white/dark veil flash). */
body.page-enter .navbar,
body.page-enter .footer,
body.page-enter .page-hero,
body.page-enter .page-main,
body.page-enter main > *:not(.hero),
body.page-enter .hero-content {
    animation: pageContentIn 0.28s ease;
}

@keyframes pageContentIn {
    from {
        opacity: 0.88;
    }

    to {
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.page-enter .navbar,
    body.page-enter .footer,
    body.page-enter .page-hero,
    body.page-enter .page-main,
    body.page-enter main > *:not(.hero),
    body.page-enter .hero-content {
        animation: none;
    }
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font: inherit;
}

:root {
    --scout-brown: #4e2b1a;
    --scout-brown-deep: #2c180f;
    --scout-orange: #d38a2d;
    --scout-orange-soft: #f7d7a3;
    --scout-forest: #173f2b;
    --scout-forest-dark: #0d2419;
    --scout-cream: #f7f1e8;
    --scout-tan: #e8dcc4;
    --scout-gray: #5f5349;
    --line: rgba(78, 43, 26, 0.14);
    --max-width: 1200px;
    --green: var(--scout-forest);
    --green-dark: var(--scout-forest-dark);
    --green-light: var(--scout-brown);
    --lime: var(--scout-orange-soft);
    --cream: var(--scout-cream);
    --gray: var(--scout-gray);
}

h2 {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(38px, 4.8vw, 62px);
    line-height: 0.98;
    letter-spacing: -2px;
    font-weight: 800;
    text-shadow: 0 6px 18px rgba(62, 39, 28, 0.04);
}

h2 span {
    color: var(--green-light);
}

.eyebrow {
    display: block;
    margin-bottom: 20px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2.5px;
    color: var(--green-light);
}

.eyebrow-white {
    color: var(--lime);
}

.large-text {
    font-size: clamp(20px, 2.1vw, 28px);
    line-height: 1.4;
    font-weight: 500;
}

.underlined-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 26px;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--green);
    font-weight: 800;
    color: var(--green);
    transition: color 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                gap 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.underlined-link:hover,
.underlined-link:focus-visible {
    color: var(--scout-orange);
    border-color: var(--scout-orange);
    gap: 14px; /* pijl schuift iets verder van de tekst weg */
}

.underlined-link span {
    font-size: 18px;
    display: inline-block;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.underlined-link:hover span,
.underlined-link:focus-visible span {
    transform: translate(3px, -2px);
}
/* ===== layout.css ===== */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 30;
    color: #fff;
    background: transparent;
    backdrop-filter: none;
}

body.home-page .nav-inner {
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

body.home-page .hero {
    margin-top: 0;
    min-height: 720px;
}

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 26px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.brand-name {
    display: flex;
    flex-direction: column;
    font-family: "Montserrat", sans-serif;
    line-height: 0.9;
}

.brand-name strong {
    font-size: 16px;
    letter-spacing: 1px;
}

.brand-name span {
    margin-top: 5px;
    font-size: 7px;
    letter-spacing: 2px;
    opacity: 0.8;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 14px;
    font-weight: 600;
}

.desktop-nav a {
    opacity: 0.8;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
    opacity: 1;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border: 1px solid rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.08);
    font-size: 13px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
    background: #fff;
    color: var(--green);
}

.mobile-menu-button {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.mobile-menu-button span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 6px auto;
    border-radius: 999px;
    background: #fff;
}

.badge-label {
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 800;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
}

.info-item {
    background: #fff;
    border: 1px solid var(--line);
    padding: 24px 22px;
}

.info-label {
    display: block;
    margin-bottom: 8px;
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 800;
    color: var(--green-light);
    text-transform: uppercase;
}

.info-item strong {
    font-size: 20px;
    font-family: "Montserrat", sans-serif;
    letter-spacing: -0.5px;
}

.branch-list {
    border-top: 1px solid var(--line);
}

.contact-card p {
    color: var(--gray);
}

.check-list {
    list-style: none;
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.check-list li {
    position: relative;
    padding-left: 26px;
    color: var(--gray);
}

.check-list li::before {
    position: absolute;
    left: 0;
    top: 0;
    color: var(--scout-orange);
    font-weight: 800;
}

.uniform-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.uniform-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 22px 18px;
}

.uniform-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--scout-orange), #b86714);
    color: #fff;
    font-size: 22px;
    margin-bottom: 16px;
}

.uniform-rules-card {
    padding: 28px 24px;
}

.uniform-rules {
    list-style: decimal;
    padding-left: 20px;
    display: grid;
    gap: 20px;
    color: var(--scout-brown);
}

.uniform-rules > li {
    padding-left: 8px;
}

.uniform-rules strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1.05rem;
    color: var(--scout-brown);
}

.uniform-rules p {
    color: var(--gray);
    line-height: 1.7;
}

.tak-list {
    margin-top: 12px;
    list-style: none;
    display: grid;
    gap: 8px;
    padding-left: 0;
    color: var(--scout-brown);
}

.tak-list li {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: baseline;
    font-weight: 600;
}

.tak-list span {
    color: var(--scout-brown);
}

.cta-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, rgba(211,138,45,0.14), rgba(78,43,26,0.04));
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 24px 22px;
}

.about-story {
    padding-top: 22px;
}

.about-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: end;
    border-radius: 32px;
    overflow: hidden;
    background-image: url('https://images.unsplash.com/photo-1529156069898-49953e39b3ac?auto=format&fit=crop&w=1800&q=80');
    background-size: cover;
    background-position: center;
    box-shadow: 0 28px 60px rgba(43, 24, 14, 0.12);
    border: 1px solid rgba(255,255,255,0.3);
    margin-bottom: 26px;
}

.about-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 110px;
    background: linear-gradient(180deg, rgba(23,20,18,0), rgba(23,20,18,0.38));
    pointer-events: none;
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(23, 20, 18, 0.12) 0%, rgba(23, 20, 18, 0.18) 58%, rgba(23, 20, 18, 0.24) 100%);
}

.about-hero-copy {
    position: relative;
    z-index: 1;
    width: min(760px, 92%);
    padding: 42px 36px 40px;
    color: #fff;
}

.about-hero-copy .eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 11px;
    letter-spacing: 2.4px;
    font-weight: 800;
    color: rgba(255,255,255,0.8);
}

.about-hero-copy h2 {
    margin-bottom: 14px;
    color: #fff;
    font-size: clamp(32px, 5vw, 62px);
}

.about-hero-copy p {
    max-width: 620px;
    color: rgba(255,255,255,0.82);
    font-size: 18px;
}

.story-scroller {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(300px, 1fr);
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding: 8px 6px 4px;
    margin-top: 6px;
    scrollbar-width: thin;
    scrollbar-color: rgba(78,43,26,0.4) transparent;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
}

.story-card {
    scroll-snap-align: start;
    min-height: 100%;
    background: rgba(255,255,255,0.88);
    border: 1px solid var(--line);
    border-radius: 26px;
    padding: 24px 22px;
    box-shadow: 0 18px 30px rgba(46, 26, 18, 0.05);
    backdrop-filter: blur(4px);
}

.story-card.is-feature {
    background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(247, 234, 212, 0.72));
}

.card-tag {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 800;
    color: var(--scout-brown);
}

.story-card h3 {
    margin: 10px 0 12px;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(24px, 2vw, 32px);
}

.story-card p {
    color: var(--gray);
    margin-bottom: 14px;
}

.story-card .quote {
    margin-top: 18px;
    padding-left: 16px;
    border-left: 3px solid var(--scout-orange);
    font-weight: 600;
    color: var(--scout-brown);
}

.footer {
    position: relative;
    z-index: 2;
    padding: 70px 5% 26px;
    background: #0d1a14;
    color: #fff;
}

.footer-main {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1fr;
    gap: 42px;
    align-items: start;
}

.footer-brand p {
    margin-top: 20px;
    color: #c5cec8;
    max-width: 320px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column > span {
    margin-bottom: 8px;
    color: #e4c48a;
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 800;
}

.footer-column a,
.footer-column p {
    color: #f0f3f1;
    font-size: 14px;
}

.footer-column a {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    width: fit-content;
}

.footer-column a:hover,
.footer-column a:focus-visible {
    color: #fff;
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 46px auto 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.14);
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: #b7c0ba;
    font-size: 11px;
}

/* Footer never uses scroll-reveal — that left it half-transparent ("wazig"). */
.footer .reveal-in,
.footer .reveal-fallback,
.footer-brand,
.footer-column,
.footer-bottom {
    animation: none !important;
    animation-timeline: auto !important;
    opacity: 1 !important;
    translate: none !important;
    scale: none !important;
    filter: none !important;
}

.contact-list,
.meta-list {
    list-style: none;
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.contact-list li,
.meta-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray);
    font-size: 15px;
    flex-wrap: wrap;
    padding: 10px 10px;
    border-radius: 10px;
    background: rgba(78, 43, 26, 0.02);
    line-height: 1.5;
}

.contact-list strong,
.meta-list strong {
    color: var(--scout-brown);
    font-weight: 800;
}

.contact-list strong {
    display: block;
}

.phone-number {
    display: block;
    color: #555;
    text-decoration: none;
}

a.phone-number:hover,
a.phone-number:focus-visible {
    color: var(--scout-green, #2f6b4d);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.role {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--scout-orange);
}

.team-card h3 {
    margin-bottom: 8px;
    font-size: 24px;
    font-family: "Montserrat", sans-serif;
}

.team-card p,
.info-tile p {
    color: var(--gray);
}

.info-tile strong {
    display: block;
    margin-bottom: 10px;
    font-family: "Montserrat", sans-serif;
    font-size: 24px;
    color: var(--scout-brown);
}

.page-cta {
    margin-top: 6px;
}
/* ===== components.css ===== */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 16px 22px;
    border-radius: 999px;
    border: 1px solid var(--scout-brown);
    font-weight: 700;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
    cursor: pointer;
}

.button span {
    font-size: 20px;
}

/*
 * Arrow icons via mask + SVG — same weight/look as the old Unicode arrows,
 * identical on Apple and Windows (no emoji / symbol-font fallbacks).
 */
.icon-arrow-external,
.icon-arrow-right,
.icon-arrow-left,
.icon-arrow-down,
.icon-arrow-up,
.icon-settings,
.icon-logout {
    display: inline-block;
    flex-shrink: 0;
    box-sizing: border-box;
    width: 1em;
    height: 1em;
    margin: 0;
    padding: 0;
    font-size: 1em !important;
    line-height: 0;
    vertical-align: -0.15em;
    background-color: currentColor;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.icon-arrow-external {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 11.5 L11.5 4.5'/%3E%3Cpath d='M6.2 4.5 H11.5 V9.8'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 11.5 L11.5 4.5'/%3E%3Cpath d='M6.2 4.5 H11.5 V9.8'/%3E%3C/svg%3E");
}

.icon-arrow-right {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8 H12.5'/%3E%3Cpath d='M8.5 4 L12.5 8 L8.5 12'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8 H12.5'/%3E%3Cpath d='M8.5 4 L12.5 8 L8.5 12'/%3E%3C/svg%3E");
}

.icon-arrow-left {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12.5 8 H3.5'/%3E%3Cpath d='M7.5 4 L3.5 8 L7.5 12'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12.5 8 H3.5'/%3E%3Cpath d='M7.5 4 L3.5 8 L7.5 12'/%3E%3C/svg%3E");
}

.icon-arrow-down {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 3.5 V12.5'/%3E%3Cpath d='M4 8.5 L8 12.5 L12 8.5'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 3.5 V12.5'/%3E%3Cpath d='M4 8.5 L8 12.5 L12 8.5'/%3E%3C/svg%3E");
}

.icon-arrow-up {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 12.5 V3.5'/%3E%3Cpath d='M4 7.5 L8 3.5 L12 7.5'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 12.5 V3.5'/%3E%3Cpath d='M4 7.5 L8 3.5 L12 7.5'/%3E%3C/svg%3E");
}

.icon-settings {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='8' r='2.2'/%3E%3Cpath d='M8 2.2v1.4M8 12.4v1.4M2.2 8h1.4M12.4 8h1.4M3.9 3.9l1 1M11.1 11.1l1 1M3.9 12.1l1-1M11.1 4.9l1-1'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='8' r='2.2'/%3E%3Cpath d='M8 2.2v1.4M8 12.4v1.4M2.2 8h1.4M12.4 8h1.4M3.9 3.9l1 1M11.1 11.1l1 1M3.9 12.1l1-1M11.1 4.9l1-1'/%3E%3C/svg%3E");
}

.icon-logout {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3.2 H4.2 A1.2 1.2 0 0 0 3 4.4 V11.6 A1.2 1.2 0 0 0 4.2 12.8 H7'/%3E%3Cpath d='M7 8 H13'/%3E%3Cpath d='M10.5 5.2 L13.3 8 L10.5 10.8'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3.2 H4.2 A1.2 1.2 0 0 0 3 4.4 V11.6 A1.2 1.2 0 0 0 4.2 12.8 H7'/%3E%3Cpath d='M7 8 H13'/%3E%3Cpath d='M10.5 5.2 L13.3 8 L10.5 10.8'/%3E%3C/svg%3E");
}

.button .icon-arrow-external,
.button .icon-arrow-right,
.button .icon-arrow-left,
.button .icon-arrow-down,
.button .icon-arrow-up {
    font-size: 18px !important;
    width: 1em;
    height: 1em;
    vertical-align: 0;
}

.button-icon.icon-arrow-down {
    width: 14px;
    height: 14px;
    font-size: 14px !important;
    background-color: currentColor;
}

.secondhand-scroll-button .icon-arrow-left,
.secondhand-scroll-button .icon-arrow-right {
    font-size: 16px !important;
}

.admin-reorder .icon-arrow-up,
.admin-reorder .icon-arrow-down {
    font-size: 14px !important;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
}

.button-secondary {
    background: rgba(211, 138, 45, 0.12);
    border-color: rgba(211, 138, 45, 0.48);
    color: var(--scout-brown);
    font-size: 13px;
}

.button-secondary:hover,
.button-secondary:focus-visible {
    background: rgba(211, 138, 45, 0.22);
    border-color: rgba(211, 138, 45, 0.72);
    color: var(--scout-orange);
}

.button-primary {
    background: linear-gradient(135deg, var(--scout-orange), #c1791a);
    border-color: var(--scout-orange);
    color: #fff;
    font-size: 13px;
    position: relative;
    overflow: hidden;
}

.button-primary:hover,
.button-primary:focus-visible {
    background: #c3731a;
}

.button-primary::before,
.button-ghost::before {
    content: "";
    position: absolute;
    inset: -40% auto -40% -30%;
    width: 38%;
    transform: skewX(-24deg) translateX(-180%);
    background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.42), rgba(255,255,255,0));
    transition: transform 0.7s ease;
}

.button-primary:hover::before,
.button-primary:focus-visible::before {
    transform: skewX(-24deg) translateX(360%);
}

.button-ghost {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.45);
    color: #fff;
    font-size: 13px;
    position: relative;
    overflow: hidden;
}

.button-ghost:hover,
.button-ghost:focus-visible {
    background: #fff;
    color: var(--green);
}

.button-ghost-dark {
    border-color: rgba(78, 43, 26, 0.18);
    background: rgba(78, 43, 26, 0.04);
    color: var(--scout-brown);
    font-size: 13px;
}

.button-ghost-dark:hover,
.button-ghost-dark:focus-visible {
    background: rgba(78, 43, 26, 0.09);
    border-color: rgba(78, 43, 26, 0.3);
}

.button-white {
    background: #fff;
    color: var(--green);
    box-shadow: 0 14px 28px rgba(0,0,0,0.15);
}

.button-transparent {
    border: 1px solid rgba(255,255,255,0.45);
    color: #fff;
    background: rgba(255,255,255,0.04);
}

.button-transparent:hover,
.button-transparent:focus-visible {
    background: #fff;
    color: var(--green);
}

.planning-download-card {
    display: grid;
    gap: 16px;
    background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255, 247, 237, 0.9));
    border: 1px solid rgba(205, 130, 38, 0.2);
    box-shadow: 0 18px 32px rgba(132, 86, 24, 0.08);
}

.document-resource-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    align-items: start;
}

.planning-download-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0;
    flex-wrap: wrap;
}

.planning-download-button {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    min-height: 64px;
    margin: 0;
    padding: 12px 14px 12px 12px;
    border: 1px solid rgba(211, 138, 45, 0.45);
    border-radius: 16px;
    background: linear-gradient(135deg, var(--scout-orange), #c1791a);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(193, 121, 26, 0.28);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.planning-download-button:hover,
.planning-download-button:focus-visible {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #c1791a, #a86614);
    box-shadow: 0 14px 28px rgba(168, 102, 20, 0.32);
}

.planning-download-button-icon {
    display: grid;
    place-items: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.planning-download-button-icon .icon-arrow-down {
    font-size: 18px;
}

.planning-download-button-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
    text-align: left;
}

.planning-download-button-copy strong {
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
}

.planning-download-button-copy span {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    opacity: 0.88;
    overflow-wrap: anywhere;
}

.branch-letters-list {
    display: grid;
    gap: 10px;
}

.planning-download-button--letter {
    min-height: 58px;
    border-color: rgba(78, 43, 26, 0.16);
    background: rgba(255, 255, 255, 0.82);
    color: var(--scout-brown, #4e2b1a);
    box-shadow: 0 8px 18px rgba(46, 26, 18, 0.08);
}

.planning-download-button--letter:hover,
.planning-download-button--letter:focus-visible {
    border-color: rgba(211, 138, 45, 0.55);
    background: #fff;
    color: var(--scout-brown, #4e2b1a);
    box-shadow: 0 12px 24px rgba(46, 26, 18, 0.12);
}

.planning-download-button--letter .planning-download-button-icon {
    background: rgba(211, 138, 45, 0.14);
    color: var(--scout-orange);
}

.planning-download-button--letter:hover .planning-download-button-icon,
.planning-download-button--letter:focus-visible .planning-download-button-icon {
    background: rgba(211, 138, 45, 0.22);
}

.planning-download-button--letter .planning-download-button-copy span {
    opacity: 0.72;
}

.download-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(211, 138, 45, 0.12);
    color: var(--scout-brown);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.download-button {
    align-self: flex-start;
    margin-top: 18px;
}

.document-action-button {
    max-width: 100%;
    min-height: 44px;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 13px;
    text-align: left;
}

.document-action-button > span:last-child {
    min-width: 0;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.document-action-button .button-icon {
    display: inline-grid;
    place-items: center;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.18);
    font-size: 0;
}

.button-ghost-dark.document-action-button {
    border-color: rgba(78, 43, 26, 0.22);
    background: rgba(78, 43, 26, 0.04);
    color: var(--scout-brown);
}

.button-ghost-dark.document-action-button:hover,
.button-ghost-dark.document-action-button:focus-visible {
    background: rgba(211, 138, 45, 0.12);
    border-color: rgba(211, 138, 45, 0.55);
    color: var(--scout-brown);
}

.button-ghost-dark.document-action-button .button-icon {
    background: rgba(255, 255, 255, 0.12);
}

.document-action-button:hover .button-icon,
.document-action-button:focus-visible .button-icon {
    background: rgba(255, 255, 255, 0.24);
}

.button-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    font-size: 18px;
    line-height: 1;
}

.info-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 22px 18px;
    box-shadow: 0 12px 22px rgba(31, 20, 14, 0.03);
}

.info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(211, 138, 45, 0.12);
    color: var(--scout-brown);
    font-weight: 800;
    margin-bottom: 14px;
}

.info-card h3,
.contact-card h3 {
    margin-bottom: 10px;
}

.registration-form {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(78, 43, 26, 0.12);
    border-radius: 24px;
    padding: 24px 22px;
    display: grid;
    gap: 18px;
    box-shadow: 0 12px 28px rgba(43, 24, 14, 0.07);
}

.field-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.field-group {
    display: grid;
    gap: 8px;
    font-weight: 700;
    color: var(--scout-brown);
}

.field-group span {
    font-size: 14px;
}

.registration-form input,
.registration-form select,
.registration-form textarea {
    width: 100%;
    border: 1px solid rgba(78, 43, 26, 0.18);
    border-radius: 12px;
    background: #fff;
    padding: 12px 14px;
    font: inherit;
    color: var(--scout-brown);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field-select {
    position: relative;
    display: block;
}

.field-select::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 16px;
    width: 10px;
    height: 10px;
    border-right: 2px solid rgba(78, 43, 26, 0.55);
    border-bottom: 2px solid rgba(78, 43, 26, 0.55);
    transform: translateY(-65%) rotate(45deg);
    pointer-events: none;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.registration-form .field-select select {
    appearance: none;
    -webkit-appearance: none;
    min-height: 50px;
    padding: 13px 44px 13px 16px;
    border-radius: 14px;
    background: #fffdf9;
    cursor: pointer;
    line-height: 1.3;
}

.registration-form .field-select select:hover {
    border-color: rgba(78, 43, 26, 0.3);
    background: #fff;
}

.registration-form .field-select select:invalid {
    color: rgba(78, 43, 26, 0.48);
}

.registration-form .field-select select option {
    color: var(--scout-brown);
    background: #fff;
}

.registration-form .field-select select option[disabled] {
    color: rgba(78, 43, 26, 0.45);
}

.registration-form .field-select:focus-within::after {
    border-color: #c1791a;
    transform: translateY(-35%) rotate(225deg);
}

.registration-form input:focus,
.registration-form select:focus,
.registration-form textarea:focus {
    outline: none;
    border-color: rgba(211, 138, 45, 0.8);
    box-shadow: 0 0 0 4px rgba(211, 138, 45, 0.12);
    background: #fff;
}

.registration-form textarea {
    resize: vertical;
    min-height: 120px;
}

.registration-form-slot {
    min-width: 0;
}

.registration-payment-card {
    position: relative;
    display: grid;
    overflow: hidden;
    gap: 20px;
    align-content: start;
    scroll-margin-top: 24px;
    border-color: rgba(47, 107, 77, 0.18);
    border-top: 5px solid #2f6b4d;
    background: linear-gradient(160deg, rgba(236, 246, 240, 0.98), rgba(255, 255, 255, 0.94));
    box-shadow: 0 14px 30px rgba(13, 36, 25, 0.1);
}

.registration-payment-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr);
    gap: 22px;
    align-items: start;
}

.registration-payment-action {
    display: grid;
    gap: 0;
    align-content: start;
    min-width: 0;
}

.registration-payment-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 18px 16px 16px;
    border: 1px solid rgba(47, 107, 77, 0.16);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 20px rgba(13, 36, 25, 0.06);
    text-align: center;
}

.registration-payment-qr-label {
    margin: 0;
    width: 100%;
    color: rgba(78, 43, 26, 0.58);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-align: center;
    text-transform: uppercase;
}

.registration-payment-qr-code {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 228px;
    height: 228px;
    max-width: 100%;
    margin-inline: auto;
    padding: 18px;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid rgba(47, 107, 77, 0.1);
    background: #fff;
}

.registration-payment-qr-code img,
.registration-payment-qr-code canvas,
.registration-payment-qr-code table {
    display: block;
    margin-inline: auto;
    width: 192px !important;
    height: 192px !important;
    max-width: 100%;
}

.registration-payment-qr-code table {
    border: 0;
    border-collapse: collapse;
}

.registration-payment-qr p {
    margin: 0 auto;
    max-width: 28ch;
    color: var(--scout-brown);
    font-size: 13px;
    line-height: 1.45;
    font-weight: 600;
    text-align: center;
}

.registration-payment-qr #registrationPaymentQrCaption {
    color: rgba(78, 43, 26, 0.78);
    font-weight: 500;
}

.payment-kicker {
    color: var(--scout-brown);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.payment-details {
    display: grid;
    gap: 10px;
    margin: 4px 0 0;
}

.payment-details div {
    display: grid;
    gap: 3px;
    padding: 11px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(78, 43, 26, 0.1);
}

.payment-details dt {
    color: var(--gray);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.payment-details dd {
    margin: 0;
    color: var(--scout-brown);
    font-weight: 800;
    overflow-wrap: anywhere;
}

.payment-note {
    margin-top: 2px;
    font-size: 13px;
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray);
    font-weight: 600;
}

.checkbox-row input {
    width: 18px;
    height: 18px;
    accent-color: var(--scout-orange);
}

.submit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.form-note {
    font-size: 13px;
    color: var(--gray);
}

.registration-status:not(:empty) {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
    padding: 11px 14px;
    border: 1px solid rgba(29, 109, 74, 0.24);
    border-radius: 10px;
    background: rgba(29, 109, 74, 0.08);
    color: #1d6d4a;
    font-weight: 800;
}

.registration-status:not(:empty)::before {
    content: "✓";
    font-size: 16px;
}

.story-card .quote {
    margin-top: 18px;
    padding-left: 16px;
    border-left: 3px solid var(--scout-orange);
    font-weight: 600;
    color: var(--scout-brown);
}

.branch-detail-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: stretch;
}

.branch-photo {
    border-radius: 28px;
    overflow: hidden;
    min-height: 360px;
    border: 1px solid var(--line);
    box-shadow: 0 22px 40px rgba(46, 26, 18, 0.08);
}

.branch-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    image-rendering: auto;
}

.contact-list,
.meta-list {
    list-style: none;
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.contact-list li,
.meta-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray);
    font-size: 15px;
    flex-wrap: wrap;
}

.contact-list li strong,
.meta-list li strong {
    color: var(--scout-brown);
    font-weight: 800;
}

.leader-grid,
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.team-card,
.info-tile {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 22px 18px;
}

.team-card .role {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--scout-orange);
}

.team-card h3 {
    margin-bottom: 8px;
    font-size: 24px;
    font-family: "Montserrat", sans-serif;
}

.team-card p,
.info-tile p {
    color: var(--gray);
}

.info-tile strong {
    display: block;
    margin-bottom: 10px;
    font-family: "Montserrat", sans-serif;
    font-size: 24px;
    color: var(--scout-brown);
}

.mobile-menu {
    display: none;
}

.mobile-menu.open {
    display: flex;
}

@media (max-width: 900px) {
    .admin-grid {
        grid-template-columns: 1fr;
    }

    .admin-topbar {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ===== home.css ===== */
.hero {
    position: relative;
    background-color: #0d2419;
    min-height: 760px;
    overflow: hidden;
    background-image: linear-gradient(
        90deg,
        rgba(13, 36, 25, 0.84) 0%,
        rgba(23, 63, 43, 0.62) 46%,
        rgba(23, 63, 43, 0.18) 100%
    ), url("../../assets/images/domein-w1600.jpg?v=20261020-93");
    background-image: linear-gradient(
        90deg,
        rgba(13, 36, 25, 0.84) 0%,
        rgba(23, 63, 43, 0.62) 46%,
        rgba(23, 63, 43, 0.18) 100%
    ),
    image-set(
        url("../../assets/images/domein-w1600.webp?v=20261020-93") type("image/webp"),
        url("../../assets/images/domein-w2400.webp?v=20261020-93") type("image/webp") 2x,
        url("../../assets/images/domein-w1600.jpg?v=20261020-93") type("image/jpeg"),
        url("../../assets/images/domein-w2400.jpg?v=20261020-93") type("image/jpeg") 2x
    );
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: #fff;
    --hero-shift-x: 0px;
    --hero-shift-y: 0px;
}

body.home-page .hero {
    min-height: 0;
    aspect-ratio: 3 / 2;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;

    background: linear-gradient(
        to bottom,
        rgba(245, 239, 231, 0) 42%,
        rgba(245, 239, 231, 0.02) 48%,
        rgba(245, 239, 231, 0.07) 55%,
        rgba(245, 239, 231, 0.30) 69%,
        rgba(245, 239, 231, 0.48) 76%,
        rgba(245, 239, 231, 0.66) 83%,
        rgba(245, 239, 231, 0.84) 91%,
        #f5efe7 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 170px 5% 80px;
    transform: translate3d(calc(var(--hero-shift-x) * 0.35), calc(var(--hero-shift-y) * 0.35), 0);
    /* zachtere deceleratie i.p.v. lineaire ease-out */
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-visual {
    position: absolute;
    right: clamp(30px, 7vw, 110px);
    top: 140px;
    width: min(36vw, 420px);
    height: 430px;
    pointer-events: none;
    z-index: 1;
    --move-x: 0px;
    --move-y: 0px;
    transform: translate3d(calc(var(--move-x) + var(--hero-shift-x) * 0.45), calc(var(--move-y) + var(--hero-shift-y) * 0.45), 0);
    animation: floatHero 12s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;
}

.animate {
    opacity: 0;
    transform: translateY(18px);
    /* iets langer + zachtere curve, minder "snap" bij inkomen */
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-in,
.reveal-fallback {
    transform-origin: center center;
}

.section-top.reveal-in,
.practical-heading.reveal-in,
.section-top.reveal-fallback,
.practical-heading.reveal-fallback {
    transform-origin: left center;
}

@supports (animation-timeline: view()) {
    .reveal-in {
        animation-name: home-reveal;
        animation-duration: auto;
        animation-timing-function: linear;
        animation-fill-mode: both;
        animation-timeline: view();
        animation-range: entry 0% cover 40%;
    }
}

@supports not (animation-timeline: view()) {
    .reveal-fallback {
        animation: home-reveal 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    }
}

@keyframes home-reveal {
    from {
        opacity: 0;
        translate: 0 16px;
        scale: 0.94;
    }

    to {
        opacity: 1;
        translate: 0 0;
        scale: 1;
    }
}

.hero h1 {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(42px, 6vw, 82px);
    line-height: 0.92;
    letter-spacing: -3px;
    font-weight: 800;
    max-width: 760px;
}

.hero h1 span {
    color: var(--lime);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.hero-line {
    width: 90px;
    height: 1px;
    background: rgba(255,255,255,0.3);
}

.section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 50px 5% 80px;
}

.section-top {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 48px;
    margin-bottom: 42px;
}

.section-top > p {
    max-width: 460px;
    color: var(--gray);
    font-size: 16px;
    line-height: 1.55;
}

.branch-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.branch {
    position: relative;
    display: flex;
    min-height: 238px;
    flex-direction: column;
    justify-content: flex-end;
    border: 1px solid rgba(78, 43, 26, 0.12);
    border-radius: 24px;
    background: linear-gradient(150deg, rgba(255,255,255,0.82), rgba(255,248,238,0.58));
    box-shadow: 0 12px 24px rgba(46, 26, 18, 0.04);
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    padding: 24px;
    color: inherit;
    overflow: hidden;
}

.branch::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(211,138,45,0.04), rgba(78,43,26,0));
    transform: skewX(-18deg) translateX(-120%);
    transition: transform 0.45s ease;
    z-index: 0;
}

.branch::after {
    content: "";
    position: absolute;
    right: -34px;
    top: -42px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--branch-accent, var(--scout-orange)) 16%, transparent);
    box-shadow: -168px 214px 0 -46px color-mix(in srgb, var(--branch-accent, var(--scout-orange)) 14%, transparent);
    pointer-events: none;
    transition: background 0.25s ease, box-shadow 0.25s ease;
}

.branch:hover,
.branch:focus-visible {
    background: #fff;
    background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.78));
    border-color: rgba(211, 138, 45, 0.42);
    transform: translateY(-5px);
    box-shadow: 0 20px 34px rgba(46, 26, 18, 0.1);
}

.branch-main,
.branch-main h3,
.branch-main span {
    position: relative;
    z-index: 1;
}

.branch-main {
    width: 100%;
}

.branch-main h3 {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(26px, 2.5vw, 34px);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.branch-age {
    display: block;
    margin-top: 10px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--gray);
}

.branch-kenteken {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1;
    display: grid;
    width: 92px;
    height: 92px;
    place-items: center;
    border-radius: 50%;
    background: color-mix(in srgb, var(--branch-accent) 10%, white);
    box-shadow: 0 10px 22px rgba(46, 26, 18, 0.08), inset 0 0 0 1px color-mix(in srgb, var(--branch-accent) 22%, transparent);
}

.branch-logo {
    display: block;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    object-fit: contain;
}

@media (max-width: 980px) {
    .branch-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .section-top {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    .section-top > p {
        max-width: 100%;
    }

    .branch-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .branch {
        min-height: 210px;
        padding: 22px;
    }
}

.home-page .planning .section-top {
    align-items: end;
    margin-bottom: 8px;
}

.home-page .planning .section-top > div {
    display: grid;
    gap: 8px;
}

.home-page .planning .section-top > div > p {
    margin: 0;
    max-width: 42ch;
    color: var(--gray);
    font-size: 15px;
    line-height: 1.5;
}

.agenda {
    display: grid;
    gap: 10px;
    border-top: none;
}

.agenda-item {
    display: block;
    padding: 14px 16px;
    border: 1px solid rgba(78, 43, 26, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.42);
    position: relative;
    overflow-anchor: none;
    scroll-margin-top: 24px;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.agenda-summary {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px 16px;
    align-items: center;
    cursor: pointer;
    list-style: none;
    padding-right: 34px;
}

.agenda-summary:has(.agenda-thumb) {
    grid-template-columns: auto minmax(0, 1fr) 84px;
}

.agenda-summary::-webkit-details-marker {
    display: none;
}

.agenda-summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 0;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 1.15em;
    height: 1.15em;
    color: var(--scout-orange);
    font-family: "Montserrat", sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    transform: translateY(-50%);
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
}

.agenda-item.is-open .agenda-summary::after {
    transform: translateY(-50%) rotate(45deg);
}

.agenda-item:hover,
.agenda-item:focus-within {
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(211, 138, 45, 0.28);
    box-shadow: 0 8px 22px rgba(28, 18, 12, 0.05);
}

.agenda-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: 0;
    width: 88px;
    aspect-ratio: 1;
    padding: 10px 8px;
    background: #fff;
    border: 1px solid rgba(78, 43, 26, 0.1);
    border-radius: 14px;
    box-sizing: border-box;
}

.agenda-date.is-range {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 88px;
    min-width: 88px;
    max-width: 88px;
    aspect-ratio: auto;
    min-height: 88px;
    padding: 10px 8px;
}

.agenda-date-part {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.agenda-date-sep {
    flex: 0 0 auto;
    width: 14px;
    height: 2px;
    border-radius: 999px;
    background: rgba(211, 138, 45, 0.7);
}

.agenda-date strong,
.agenda-date-part strong {
    display: block;
    font-family: "Montserrat", sans-serif;
    font-size: 26px;
    line-height: 0.9;
    color: var(--scout-brown);
}

.agenda-date.is-range .agenda-date-part {
    flex-direction: row;
    align-items: baseline;
    gap: 5px;
}

.agenda-date.is-range .agenda-date-part strong {
    font-size: 16px;
    letter-spacing: -0.02em;
    line-height: 1;
}

.agenda-date > span,
.agenda-date-part > span {
    margin-top: 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--scout-orange);
    text-transform: uppercase;
}

.agenda-date.is-range .agenda-date-part > span {
    margin-top: 0;
    font-size: 10px;
    letter-spacing: 0.8px;
}

.agenda-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    min-width: 0;
    overflow: hidden;
}

.agenda-body h3 {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(18px, 1.8vw, 24px);
    line-height: 1.2;
    color: var(--scout-brown);
    overflow-wrap: anywhere;
    word-break: break-word;
}

.agenda-thumb {
    display: block;
    overflow: hidden;
    width: 84px;
    aspect-ratio: 1;
    border-radius: 14px;
    background: rgba(78, 43, 26, 0.06);
    border: 1px solid rgba(78, 43, 26, 0.08);
    justify-self: end;
}

.agenda-thumb picture,
.news-thumb picture {
    display: block;
    width: 100%;
    height: 100%;
}

.agenda-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: rgba(78, 43, 26, 0.04);
}

.agenda-item.is-open .agenda-thumb {
    display: none;
}

.agenda-item.is-open .agenda-summary:has(.agenda-thumb) {
    grid-template-columns: 88px minmax(0, 1fr);
}

.agenda-details {
    display: grid;
    grid-template-rows: 0fr;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 0;
    overflow: hidden;
    color: var(--gray);
    opacity: 0;
    transition:
        grid-template-rows 0.28s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.22s ease;
}

.agenda-details-inner {
    display: grid;
    gap: 12px;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    padding-top: 0;
}

.agenda-item.is-open .agenda-details {
    grid-template-rows: 1fr;
    opacity: 1;
}

.agenda-item.is-open .agenda-details-inner {
    padding-top: 14px;
}

.agenda-details-inner p {
    margin: 0;
    max-width: 62ch;
    font-size: 15px;
    line-height: 1.65;
    white-space: pre-line;
}

.agenda-details-inner .agenda-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    color: var(--scout-orange);
    font-size: 13px;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.agenda-empty {
    margin: 0;
    max-width: 42ch;
    color: rgba(78, 43, 26, 0.72);
    font-size: 15px;
    line-height: 1.6;
}

.agenda-details-inner .responsive-full-link,
.agenda-details-inner picture {
    display: block;
    width: min(100%, 360px);
    max-width: 100%;
    height: auto;
    justify-self: start;
}

.agenda-details-inner img,
.agenda-details-inner picture img {
    display: block;
    width: 100%;
    max-width: 360px;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center;
    background: rgba(78, 43, 26, 0.04);
    border-radius: 14px;
    border: 1px solid rgba(78, 43, 26, 0.08);
}

.agenda-item.has-agenda-image.is-open .agenda-details-inner {
    grid-template-columns: minmax(0, 1fr) minmax(160px, 360px);
    align-items: start;
}

.agenda-item.has-agenda-image.is-open .agenda-details-inner .responsive-full-link,
.agenda-item.has-agenda-image.is-open .agenda-details-inner picture {
    grid-column: 2;
    grid-row: 1 / span 3;
    width: 100%;
    justify-self: stretch;
}

.agenda-item.has-agenda-image.is-open .agenda-details-inner img,
.agenda-item.has-agenda-image.is-open .agenda-details-inner picture img {
    grid-column: unset;
    grid-row: unset;
    width: 100%;
    max-width: none;
    height: auto;
    max-height: none;
    object-fit: contain;
}

.practical {
    padding-top: 60px;
}

.practical-heading {
    margin-bottom: 52px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.4);
    border-radius: 22px;
    overflow: hidden;
    overflow-anchor: none;
    scroll-margin-top: 24px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item[open] {
    border-color: rgba(78, 43, 26, 0.22);
    box-shadow: 0 16px 28px rgba(46, 26, 18, 0.04);
}

.faq-item summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    cursor: pointer;
    padding: 20px 22px;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(18px, 1.8vw, 22px);
    font-weight: 700;
    color: var(--scout-brown);
}

.faq-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.open-anim .faq-content {
    grid-template-rows: 1fr;
}

.faq-content-inner {
    overflow: hidden;
}

.faq-content-inner p {
    padding: 0 22px 20px;
    color: var(--gray);
    max-width: 780px;
}

.faq-content-inner a {
    color: var(--scout-brown);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.faq-content-inner a:hover,
.faq-content-inner a:focus-visible {
    color: var(--scout-orange);
}

.faq-item summary:hover {
    background: rgba(211,138,45,0.04);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 1.15em;
    height: 1.15em;
    color: var(--scout-brown);
    font-family: "Montserrat", sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.faq-item.open-anim summary::after {
    transform: rotate(135deg);
}

/* driftPattern zelf blijft linear — dat is bewust voor een constante drift, geen bob-gevoel */

/* ============ TABLET (≤1024px) ============ */
@media (max-width: 1024px) {

    .hero {
        min-height: 680px;
    }

    .hero-content {
        padding: 140px 6% 80px;
    }

    .hero h1 {
        max-width: 680px;
    }

    .hero-visual {
        width: min(30vw, 320px);
        height: 340px;
        top: 110px;
        right: 4%;
    }

    .branch {
        grid-template-columns: 1fr 90px 40px;
        gap: 16px;
        min-height: 100px;
    }

    .branch-logo {
        width: 68px;
        height: 68px;
        min-width: 68px;
    }
}

/* ============ MOBIEL (≤768px) ============ */
@media (max-width: 950px) {

    .nav-inner {
        padding: 18px 6%;
        min-height: 70px;

        border-bottom: 1px solid rgba(255,255,255,0.12);
    }

    .navbar .brand-logo {
        width: 48px;
        height: 48px;
    }

    /* Desktop navigatie verbergen */
    .desktop-nav,
    .nav-cta {
        display: none;
    }

}

@media (max-width: 768px) {

    html {
        scroll-padding-top: 72px;
    }

    body {
        overflow-x: clip;
    }


    /* ------------------------------------------------------
       NAVBAR
       ------------------------------------------------------ */

    .navbar {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
    }

    .nav-inner {
        min-height: 68px;
        padding: 10px 5%;
        border-bottom: 1px solid rgba(255,255,255,0.14);
    }

    .brand {
        min-width: 0;
    }

    .navbar .brand-logo {
        width: 44px;
        height: 44px;
    }

    /* ------------------------------------------------------
       HERO
       ------------------------------------------------------ */

    .hero {
        min-height: 620px;
        background-position: 62% center;
    }

    .hero::after {
        background: linear-gradient(
            to bottom,
            rgba(245,239,231,0) 42%,
            rgba(245,239,231,0.03) 50%,
            rgba(245,239,231,0.12) 60%,
            rgba(245,239,231,0.32) 72%,
            rgba(245,239,231,0.62) 86%,
            #f5efe7 100%
        );
    }

    .hero-content {
        width: 100%;
        max-width: none;
        padding: 130px 6% 105px;
        transform: none;
    }

    .hero h1 {
        font-size: clamp(40px, 11vw, 58px);
        line-height: 0.94;
        letter-spacing: -2px;
        max-width: 600px;
    }

    .hero h1 span {
        display: inline;
    }

    .hero-actions {
        width: 100%;
        max-width: 340px;
        flex-direction: column;
        gap: 10px;
        margin-top: 28px;
    }

    .hero-actions .button {
        width: 100%;
        min-height: 52px;
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }


    /* ------------------------------------------------------
       SECTIES
       ------------------------------------------------------ */

    .section {
        width: 100%;
        max-width: none;
        padding:
            52px
            6%
            68px;
    }

    .section-top {
        display: block;
        margin-bottom: 28px;
    }

    .section-top h2,
    .practical-heading h2 {
        font-size: clamp(30px, 8.5vw, 44px);
        line-height: 0.98;
        letter-spacing: -1.2px;
    }

    .section-top > p {
        margin-top: 12px;
        font-size: 14px;
        line-height: 1.55;
    }


    /* ------------------------------------------------------
       TAKKEN
       ------------------------------------------------------ */

    .branch-list {
        gap: 8px;
    }

    .branch {
        grid-template-columns: minmax(0, 1fr) 52px;
        grid-template-rows: 1fr auto;
        grid-template-areas:
            "main logo"
            "main arrow";

        min-height: 96px;

        padding: 15px 14px;

        border: 1px solid rgba(78,43,26,0.10);
        border-radius: 16px;

        background: rgba(255,255,255,0.62);

        box-shadow:
            0 4px 14px rgba(46,26,18,0.035);

        transition:
            transform 0.18s ease,
            box-shadow 0.18s ease;
    }

    .branch:active {
        transform: scale(0.985);
    }

    .branch:hover,
    .branch:focus-visible {
        transform: translateY(-1px);
        box-shadow:
            0 10px 24px rgba(46,26,18,0.07);
    }

    .branch::before {
        display: none;
    }

    .branch-main {
        grid-area: main;
        min-width: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .branch-main h3 {
        font-size: clamp(24px, 6.2vw, 28px);
        line-height: 1.1;
    }

    .branch-main span,
    .branch-age {
        margin-top: 8px;
        font-size: 15px;
        font-weight: 600;
        line-height: 1.4;
    }

    .branch-kenteken {
        grid-area: logo;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .branch-logo {
        width: 52px;
        height: 52px;
        min-width: 52px;
    }


    /* ------------------------------------------------------
       PLANNING
       ------------------------------------------------------ */

    .planning {
        padding-top: 34px;
    }

    .home-page .planning .section-top,
    .home-page .news .section-top {
        align-items: start;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 14px;
    }

    .home-page .planning .section-top > div > p,
    .home-page .news .section-top > p:not(.news-more),
    .home-page .news .section-top > div > p {
        max-width: none;
        font-size: 14px;
        line-height: 1.45;
    }

    .news-more a {
        white-space: normal;
        font-size: 12px;
    }

    .agenda,
    .news-list {
        gap: 8px;
    }

    .agenda-item,
    .news-item {
        padding: 12px;
        border-radius: 16px;
    }

    .agenda-summary {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 12px;
        padding-right: 28px;
    }

    .agenda-summary:has(.agenda-thumb) {
        grid-template-columns: auto minmax(0, 1fr) 56px;
    }

    .agenda-date {
        width: 64px;
        border-radius: 12px;
        padding: 8px 6px;
    }

    .agenda-date.is-range {
        width: 64px;
        min-width: 64px;
        max-width: 64px;
        min-height: 64px;
        gap: 3px;
        padding: 8px 6px;
    }

    .agenda-date strong,
    .agenda-date-part strong {
        font-size: 22px;
    }

    .agenda-date.is-range .agenda-date-part strong {
        font-size: 14px;
    }

    .agenda-date > span,
    .agenda-date-part > span {
        margin-top: 5px;
        font-size: 10px;
        letter-spacing: 1.2px;
    }

    .agenda-date.is-range .agenda-date-part > span {
        font-size: 9px;
    }

    .agenda-date-sep {
        width: 12px;
    }

    .agenda-body {
        min-width: 0;
        overflow: hidden;
    }

    .agenda-body h3,
    .news-copy h3 {
        font-size: clamp(16px, 4.4vw, 19px);
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .agenda-thumb,
    .news-thumb {
        width: 56px;
        border-radius: 12px;
    }

    .news-summary:has(.news-thumb) {
        grid-template-columns: 56px minmax(0, 1fr);
    }

    .news-teaser {
        font-size: 13px;
        -webkit-line-clamp: 2;
    }

    .agenda-item.is-open .agenda-summary:has(.agenda-thumb) {
        grid-template-columns: 64px minmax(0, 1fr);
    }

    .agenda-item.has-agenda-image.is-open .agenda-details-inner,
    .news-item.has-news-image.is-open .news-details-inner {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .agenda-item.has-agenda-image.is-open .agenda-details-inner .responsive-full-link,
    .agenda-item.has-agenda-image.is-open .agenda-details-inner picture {
        grid-column: auto;
        grid-row: auto;
        order: -1;
        width: min(100%, 360px);
        justify-self: start;
    }

    .agenda-item.has-agenda-image.is-open .agenda-details-inner img,
    .agenda-item.has-agenda-image.is-open .agenda-details-inner picture img {
        grid-column: auto;
        grid-row: auto;
        order: -1;
        width: 100%;
        max-width: 360px;
        max-height: none;
        height: auto;
        object-fit: contain;
    }

    .news-item.has-news-image.is-open .news-details-inner .news-media {
        grid-column: auto;
        grid-row: auto;
        order: -1;
        width: 100%;
        max-width: none;
        max-height: none;
        height: auto;
    }

    .news-item.has-news-image.is-open .news-details-inner .news-details-copy {
        order: 1;
        min-height: 0;
    }

    .news-item.has-news-image.is-open .news-details-copy .news-share-row {
        margin-top: 2px;
    }

    .agenda-details-inner p,
    .news-details-inner p,
    .news-details-copy > p {
        font-size: 14px;
        line-height: 1.55;
        max-width: none;
    }

    .news-media {
        width: 100%;
        max-width: none;
        border-radius: 14px;
    }


    /* ------------------------------------------------------
       FAQ
       ------------------------------------------------------ */

    .practical {
        padding-top: 36px;
    }

    .practical-heading {
        margin-bottom: 26px;
    }

    .faq-list {
        display: flex;
        flex-direction: column;
        gap: 9px;
    }

    .faq-item {
        border-radius: 17px;
        background: rgba(255,255,255,0.58);
    }

    .faq-item summary {
        min-height: 58px;
        padding: 16px;

        font-size: 16px;
        line-height: 1.3;

        gap: 14px;
    }

    .faq-item summary::after {
        font-size: 21px;
    }

    .faq-content-inner p {
        padding: 0 16px 18px;
        font-size: 14px;
        line-height: 1.55;
    }


    /* ------------------------------------------------------
       OVER ONS
       ------------------------------------------------------ */

    .page-over-ons {
        padding: 78px 6% 0;
    }

    .about-hero {
        min-height: 270px;
        border-radius: 20px;
        margin-bottom: 16px;
        background-position: center;
    }

    .about-hero-copy {
        width: 100%;
        padding: 28px 22px 26px;
    }

    .about-hero-copy h2 {
        font-size: clamp(30px, 8vw, 42px);
        line-height: 1;
        letter-spacing: -1px;
    }

    .about-hero-copy p {
        font-size: 14px;
        line-height: 1.5;
    }

    .story-scroller {
        display: grid;
        grid-auto-flow: row;
        grid-auto-columns: auto;
        gap: 10px;
        overflow: visible;
        padding: 0;
    }

    .story-card {
        padding: 20px 18px;
        border-radius: 18px;
    }

    .story-card h3 {
        font-size: 23px;
        line-height: 1.1;
    }

    .story-card p {
        font-size: 14px;
        line-height: 1.55;
    }


    /* ------------------------------------------------------
       CTA
       ------------------------------------------------------ */

    .cta-box {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;

        padding: 20px 18px;
        border-radius: 18px;
    }

    .cta-box .button {
        width: 100%;
        min-height: 50px;
    }


    /* ------------------------------------------------------
       SUBPAGINA'S
       ------------------------------------------------------ */

    .page-hero:empty {
        display: none;
    }

    .page-hero .hero-content {
        padding:
            100px
            6%
            72px;
    }

    .page-hero .hero-content h1.eyebrow {
        margin-bottom: 0;
        font-size: clamp(34px, 10vw, 52px);
        line-height: 0.98;
        letter-spacing: -1px;
    }

    .page-intro,
    .new-member-layout,
    .registration-layout,
    .branch-detail-layout {
        display: grid;
        grid-template-columns: 1fr;
    }

    .field-row {
        display: grid;
        grid-template-columns: 1fr;
    }

    .registration-form,
    .contact-card,
    .registration-layout .page-card,
    .branch-detail-layout .page-card {
        padding: 20px 17px;
        border-radius: 18px;
    }

    .registration-form .button,
    .contact-card .button,
    .registration-hero .hero-actions .button {
        width: 100%;
    }

    .checkbox-row {
        align-items: flex-start;
        gap: 10px;
    }

    .branch-detail-layout {
        gap: 14px;
    }

    .branch-photo {
        min-height: 220px;
        max-height: 320px;
        border-radius: 18px;
    }


    /* ------------------------------------------------------
       CONTACT / INFO
       ------------------------------------------------------ */

    .contact-list,
    .meta-list {
        gap: 8px;
        margin-top: 14px;
    }

    .contact-list li,
    .meta-list li {
        padding: 10px;
        gap: 8px;
        font-size: 14px;
        line-height: 1.45;
        border-radius: 10px;
    }

    .info-item {
        padding: 19px 17px;
    }

    .info-item strong {
        font-size: 19px;
    }


    /* ------------------------------------------------------
       FOOTER
       ------------------------------------------------------ */

    .footer {
        padding: 46px 6% 20px;
    }

    .footer-main {
        display: grid;
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-brand p {
        max-width: 400px;
        margin-top: 12px;
        font-size: 14px;
        line-height: 1.55;
    }

    .footer-column {
        gap: 7px;
    }

    .footer-column > span {
        margin-bottom: 5px;
    }

    .footer-column a,
    .footer-column p {
        font-size: 14px;
        line-height: 1.5;
        overflow-wrap: anywhere;
    }

    .footer-bottom {
        margin-top: 30px;
        padding-top: 16px;

        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;

        font-size: 11px;
        line-height: 1.4;
    }
}

/* ============ KLEIN MOBIEL (≤480px) ============ */
/* ==========================================================
   KLEINE TELEFOONS
   ========================================================== */

@media (max-width: 480px) {

    .nav-inner {
        padding-left: 5%;
        padding-right: 5%;
    }

    .navbar .brand-logo {
        width: 42px;
        height: 42px;
    }

    .mobile-menu-button {
        width: 42px;
        height: 42px;
    }

    .hero-content {
        padding:
            125px
            6%
            105px;
    }

    .hero h1 {
        font-size: clamp(38px, 11.5vw, 52px);
        letter-spacing: -1.7px;
    }

    .hero-actions {
        max-width: none;
        margin-top: 26px;
    }

    .hero-actions .button {
        min-height: 52px;
    }

    .section {
        padding:
            44px
            6%
            58px;
    }

    .section-top {
        margin-bottom: 23px;
    }

    .section-top h2,
    .practical-heading h2 {
        font-size: clamp(29px, 8.8vw, 39px);
    }

    .branch {
        grid-template-columns: minmax(0, 1fr) 48px;
        min-height: 94px;
        padding: 14px;
        border-radius: 16px;
        gap: 3px 8px;
    }

    .branch-logo {
        width: 48px;
        height: 48px;
        min-width: 48px;
    }

    .branch-main h3 {
        font-size: clamp(23px, 6vw, 26px);
    }

    .branch-main span,
    .branch-age {
        font-size: 15px;
    }

    .agenda-item,
    .news-item {
        padding: 11px;
        border-radius: 14px;
    }

    .agenda-summary {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 10px;
        padding-right: 26px;
    }

    .agenda-summary:has(.agenda-thumb),
    .news-summary:has(.news-thumb) {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .agenda-thumb,
    .news-thumb {
        display: none;
    }

    .agenda-date {
        width: 58px;
        padding: 7px 5px;
        border-radius: 11px;
    }

    .agenda-date.is-range {
        width: 58px;
        min-width: 58px;
        max-width: 58px;
        min-height: 58px;
        gap: 2px;
        padding: 7px 5px;
    }

    .agenda-date strong,
    .agenda-date-part strong {
        font-size: 20px;
    }

    .agenda-date.is-range .agenda-date-part strong {
        font-size: 13px;
    }

    .agenda-date > span,
    .agenda-date-part > span {
        margin-top: 4px;
        font-size: 9px;
        letter-spacing: 1px;
    }

    .agenda-date.is-range .agenda-date-part > span {
        font-size: 8px;
    }

    .agenda-date-sep {
        width: 10px;
    }

    .agenda-body h3,
    .news-copy h3 {
        font-size: 16px;
        line-height: 1.2;
    }

    .news-teaser {
        font-size: 12.5px;
        -webkit-line-clamp: 2;
    }

    .agenda-item.is-open .agenda-summary:has(.agenda-thumb) {
        grid-template-columns: 58px minmax(0, 1fr);
    }

    .agenda-item.has-agenda-image.is-open .agenda-details-inner img,
    .agenda-item.has-agenda-image.is-open .agenda-details-inner picture img {
        max-height: none;
        object-fit: contain;
        border-radius: 12px;
    }

    .news-item.has-news-image.is-open .news-details-inner .news-media {
        max-height: none;
        border-radius: 14px;
    }

    .news-carousel-overlay {
        padding: 24px 12px 12px;
    }

    .news-carousel-status {
        font-size: 10px;
    }

    .agenda-summary::after,
    .news-summary::after {
        font-size: 20px;
    }

    .faq-item summary {
        min-height: 54px;
        padding: 15px;
        font-size: 15px;
    }

    .faq-content-inner p {
        padding: 0 15px 16px;
        font-size: 13px;
    }

    .about-hero {
        min-height: 235px;
    }

    .about-hero-copy {
        padding: 22px 18px;
    }

    .about-hero-copy h2 {
        font-size: 30px;
    }

    .about-hero-copy p {
        font-size: 13px;
    }

    .story-card {
        padding: 18px 16px;
        border-radius: 17px;
    }

    .story-card h3 {
        font-size: 21px;
    }

    .story-card p {
        font-size: 13px;
    }

    .footer {
        padding-left: 6%;
        padding-right: 6%;
    }
}

/* ==========================================================
   ZEER KLEINE TELEFOONS
   ========================================================== */

@media (max-width: 360px) {

    .hero-content {
        padding-top: 115px;
        padding-bottom: 95px;
    }

    .hero h1 {
        font-size: 35px;
        letter-spacing: -1.4px;
    }

    .section {
        padding-left: 5%;
        padding-right: 5%;
    }

    .branch {
        grid-template-columns: minmax(0, 1fr) 44px;
        padding: 13px;
    }

    .branch-logo {
        width: 44px;
        height: 44px;
        min-width: 44px;
    }

    .branch-main h3 {
        font-size: clamp(22px, 6.4vw, 25px);
    }

    .branch-main span,
    .branch-age {
        font-size: 15px;
    }

    .agenda-item {
        padding: 11px;
    }

    .agenda-date {
        padding: 8px 10px;
    }

    .faq-item summary {
        font-size: 14px;
        padding: 14px;
    }
}

@media (hover: none) and (pointer: coarse) {

    .branch:hover,
    .agenda-item:hover {
        transform: none;
    }

    .branch:active {
        transform: scale(0.985);
    }

    .mobile-menu a,
    .button,
    .branch,
    .faq-item summary {
        -webkit-tap-highlight-color: transparent;
    }
}

/* ============ TOEGANKELIJKHEID ============ */
@media (prefers-reduced-motion: reduce) {
    .hero-pattern,
    .hero-visual,
    .badge-mid,
    .badge-bottom,
    .branch-logo,
    .reveal-in,
    .reveal-fallback {
        animation: none !important;
    }

    .animate,
    .hero-content,
    .branch,
    .agenda-item {
        transition: none !important;
    }
}

/* 1. smooth scrollen naar #takken, #planning, #praktisch i.p.v. instant jump */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px; /* houd rekening met sticky navbar-hoogte */
}

@media (prefers-reduced-motion: reduce) {

    .mobile-menu.open {
        animation: none;
    }

    .mobile-menu-button span,
    .mobile-menu-button,
    .branch,
    .agenda-item {
        transition: none;
    }
}

/* 2. subtiele underline-animatie op nav-links i.p.v. statische hover */
.desktop-nav a {
    position: relative;
}

.desktop-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: currentColor;
    transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.desktop-nav a:hover::after {
    width: 100%;
}

/* 3. agenda-datum krijgt lichte "tik"-animatie i.p.v. platte hover-shadow */
.agenda-date {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

/* Final branch-card layout */
.branch-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    border-top: 0;
}

.branches h2 {
    position: relative;
    width: fit-content;
}

.branch {
    display: flex;
    flex: 0 1 calc((100% - 32px) / 3);
    min-height: 268px;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0;
    padding: 26px;
    border: 1px solid rgba(78, 43, 26, 0.12);
    border-radius: 24px;
    background: #fff8f1;
    box-shadow: 0 14px 28px rgba(46, 26, 18, 0.06);
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.branch-bg-picture,
.branch > picture.branch-bg-picture {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
}

.branch-bg-picture img,
.branch-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 32%;
    opacity: 1;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.94) 40%, rgba(0, 0, 0, 0.2) 64%, transparent 78%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.94) 40%, rgba(0, 0, 0, 0.2) 64%, transparent 78%);
}

.branch-bg-picture[hidden],
.branch-bg[hidden] {
    display: none !important;
}

.responsive-full-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.news-media .responsive-full-link,
.secondhand-item-image .responsive-full-link,
.branch-photo .responsive-full-link {
    height: 100%;
}

.news-media picture,
.secondhand-item-image picture,
.branch-photo picture {
    display: block;
    width: 100%;
    height: 100%;
}

.news-media img,
.secondhand-item-image img,
.branch-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.branch-kapoenen {
    --branch-accent: #b6ce36;
}

.branch-welpen {
    --branch-accent: #4f9b70;
}

.branch-jongverkenners {
    --branch-accent: #d9953d;
}

.branch-verkenners {
    --branch-accent: #3f68ad;
}

.branch-jins {
    --branch-accent: #bd314d;
}

.branch::before {
    display: block;
}

.branch:focus-visible {
    outline: 3px solid rgba(211, 138, 45, 0.55);
    outline-offset: 4px;
}

.branch-main {
    display: block;
    width: 100%;
}

.branch-main h3 {
    font-size: clamp(26px, 2.5vw, 34px);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.branch-age {
    display: block;
    margin-top: 10px !important;
    font-size: 16px !important;
    font-weight: 600;
    line-height: 1.45;
}

.branch-kenteken {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1;
    display: grid;
    width: 92px;
    height: 92px;
    place-items: center;
    overflow: hidden;
    border-radius: 50%;
    background: color-mix(in srgb, var(--branch-accent) 14%, white);
    box-shadow: 0 8px 18px rgba(46, 26, 18, 0.14), inset 0 0 0 1px color-mix(in srgb, var(--branch-accent) 28%, transparent);
    transition: transform 0.25s ease, background 0.25s ease;
}

.branch-logo {
    width: 76px;
    height: 76px;
    min-width: 0;
    overflow: hidden;
    color: transparent;
    font-size: 0;
    transform-origin: center;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.branch-kapoenen .branch-logo {
    animation-name: branch-nar;
    animation-duration: 2.8s;
}

.branch-welpen .branch-logo {
    animation-name: branch-vlieger;
    animation-duration: 3.6s;
}

.branch-jongverkenners .branch-logo {
    animation-name: branch-rugzak;
    animation-duration: 1.9s;
}

.branch-verkenners .branch-logo {
    animation-name: branch-fiets;
    animation-duration: 1.5s;
}

.branch-jins .branch-logo {
    animation-name: branch-voeten;
    animation-duration: 1.7s;
}

@keyframes branch-nar {
    0%,
    100% { transform: rotate(-8deg); }
    50% { transform: rotate(8deg); }
}

@keyframes branch-vlieger {
    0%,
    100% { transform: translate(0, 0) rotate(-5deg); }
    50% { transform: translate(4px, -6px) rotate(6deg); }
}

@keyframes branch-rugzak {
    0%,
    100% { transform: translateY(0); }
    35% { transform: translateY(-5px); }
    55% { transform: translateY(-1px); }
}

@keyframes branch-fiets {
    0%,
    100% { transform: rotate(-4deg) translateY(0); }
    50% { transform: rotate(4deg) translateY(-2px); }
}

@keyframes branch-voeten {
    0%,
    100% { transform: translate(0, 0); }
    25% { transform: translate(-3px, -4px); }
    50% { transform: translate(0, 0); }
    75% { transform: translate(3px, -4px); }
}

.branch:hover .branch-kenteken,
.branch:focus-visible .branch-kenteken {
    background: #fff;
    transform: translateY(-4px) rotate(4deg);
}

.branch:hover,
.branch:focus-visible {
    border-color: color-mix(in srgb, var(--branch-accent) 55%, white);
}

.branch:hover::after,
.branch:focus-visible::after {
    background: color-mix(in srgb, var(--branch-accent) 26%, transparent);
    box-shadow: -168px 214px 0 -46px color-mix(in srgb, var(--branch-accent) 22%, transparent);
}

.branch-age {
    color: color-mix(in srgb, var(--branch-accent) 45%, var(--gray)) !important;
}

.planning {
    padding-top: 28px;
}

.branches {
    padding-bottom: 64px;
}

@media (max-width: 1100px) {
    .branches {
        padding-bottom: 32px;
    }

    .branch-list {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .branch-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .branch-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .branch {
        min-height: 152px;
        justify-content: center;
        padding: 20px 76px 20px 18px;
        border-radius: 20px;
        background: color-mix(in srgb, var(--branch-accent) 14%, #fff);
    }

    /* Leesbaarheid links; foto rechts blijft helder. */
    .branch::before {
        display: block;
        z-index: 1;
        background: linear-gradient(
            90deg,
            color-mix(in srgb, var(--branch-accent) 18%, rgba(255, 248, 241, 0.82)) 0%,
            color-mix(in srgb, var(--branch-accent) 10%, rgba(255, 248, 241, 0.42)) 34%,
            color-mix(in srgb, var(--branch-accent) 6%, transparent) 58%,
            transparent 78%
        );
        transform: none;
        skewX(0);
    }

    .branch-main {
        z-index: 2;
        padding-right: 8px;
        max-width: calc(100% - 64px);
    }

    .branch-bg-picture,
    .branch > picture.branch-bg-picture {
        z-index: 0;
    }

    .branch-bg-picture img,
    .branch-bg {
        object-position: center 30%;
        opacity: 1;
        -webkit-mask-image: linear-gradient(
            to right,
            rgba(0, 0, 0, 0.72) 0%,
            rgba(0, 0, 0, 0.9) 36%,
            #000 68%
        );
        mask-image: linear-gradient(
            to right,
            rgba(0, 0, 0, 0.72) 0%,
            rgba(0, 0, 0, 0.9) 36%,
            #000 68%
        );
    }

    .branch-main h3 {
        color: #2f1810;
        font-size: clamp(26px, 7vw, 30px);
        font-weight: 800;
        line-height: 1.12;
        letter-spacing: -0.02em;
        text-shadow:
            0 1px 0 rgba(255, 248, 241, 0.95),
            0 0 10px rgba(255, 248, 241, 0.75),
            0 0 18px rgba(255, 248, 241, 0.45);
    }

    .branch-age {
        margin-top: 8px !important;
        color: color-mix(in srgb, var(--branch-accent) 40%, #2f1810) !important;
        font-size: 16px !important;
        font-weight: 700 !important;
        line-height: 1.35;
        text-shadow:
            0 1px 0 rgba(255, 248, 241, 0.9),
            0 0 8px rgba(255, 248, 241, 0.65);
    }

    .branch-kenteken {
        z-index: 2;
        top: 50%;
        right: 14px;
        width: 64px;
        height: 64px;
        transform: translateY(-50%);
        background: color-mix(in srgb, var(--branch-accent) 22%, white);
        box-shadow:
            0 8px 18px rgba(46, 26, 18, 0.16),
            inset 0 0 0 1px color-mix(in srgb, var(--branch-accent) 36%, transparent);
    }

    .branch-logo {
        width: 52px;
        height: 52px;
    }

    .branch:hover .branch-kenteken,
    .branch:focus-visible .branch-kenteken {
        transform: translateY(-50%) rotate(3deg);
    }
}

@media (max-width: 360px) {
    .branch {
        min-height: 144px;
        padding: 18px 68px 18px 16px;
    }

    .branch-main {
        max-width: calc(100% - 56px);
    }

    .branch-main h3 {
        font-size: 25px;
    }

    .branch-age {
        font-size: 15px !important;
    }

    .branch-kenteken {
        right: 12px;
        width: 56px;
        height: 56px;
    }

    .branch-logo {
        width: 46px;
        height: 46px;
    }
}

.news {
    padding-top: 28px;
    padding-bottom: 72px;
}

.news + .planning {
    padding-top: 56px;
}

.news[hidden] {
    display: none;
}

.home-page .news .section-top {
    align-items: end;
    margin-bottom: 8px;
}

.home-page .news .section-top > div {
    display: grid;
    gap: 8px;
}

.home-page .news .section-top > p:not(.news-more) {
    margin: 0;
    max-width: 36ch;
    color: var(--gray);
    font-size: 15px;
    line-height: 1.5;
}

.news-list {
    display: grid;
    gap: 10px;
    border-top: none;
}

.news-item {
    display: block;
    padding: 14px 16px;
    border: 1px solid rgba(78, 43, 26, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.42);
    position: relative;
    overflow-anchor: none;
    scroll-margin-top: 24px;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.news-item:not(.is-static):hover,
.news-item:not(.is-static):focus-within {
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(211, 138, 45, 0.28);
    box-shadow: 0 8px 22px rgba(28, 18, 12, 0.05);
}

.news-summary {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px 16px;
    align-items: center;
    cursor: pointer;
    list-style: none;
    padding-right: 34px;
}

.news-summary:has(.news-thumb) {
    grid-template-columns: 84px minmax(0, 1fr);
}

.news-item.is-static .news-summary {
    cursor: default;
    padding-right: 0;
}

.news-summary::-webkit-details-marker {
    display: none;
}

.news-summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 0;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 1.15em;
    height: 1.15em;
    color: var(--scout-orange);
    font-family: "Montserrat", sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    transform: translateY(-50%);
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
}

.news-item.is-static .news-summary::after {
    content: none;
}

.news-item.is-open .news-summary::after {
    transform: translateY(-50%) rotate(45deg);
}

.news-thumb {
    display: block;
    overflow: hidden;
    width: 84px;
    aspect-ratio: 1;
    border-radius: 14px;
    background: rgba(78, 43, 26, 0.06);
    border: 1px solid rgba(78, 43, 26, 0.08);
}

.news-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-copy {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.news-date {
    color: var(--scout-orange);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.news-copy h3 {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(18px, 1.8vw, 24px);
    line-height: 1.2;
    color: var(--scout-brown);
}

.news-teaser {
    margin: 0;
    max-width: 52ch;
    color: var(--gray);
    font-size: 14px;
    line-height: 1.5;
    white-space: pre-line;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-item.is-open .news-teaser,
.news-item.is-open .news-thumb {
    display: none;
}

.news-item.is-open .news-summary:has(.news-thumb) {
    grid-template-columns: minmax(0, 1fr);
}

.news-details {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    opacity: 0;
    transition:
        grid-template-rows 0.32s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.24s ease;
}

.news-details-inner {
    min-height: 0;
    overflow: hidden;
    display: grid;
    gap: 14px;
    padding-top: 0;
}

.news-details-copy {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

.news-item.has-news-image.is-open .news-details-inner {
    grid-template-columns: minmax(0, 1.2fr) minmax(180px, 0.8fr);
    align-items: stretch;
}

.news-item.has-news-image.is-open .news-details-inner .news-details-copy {
    grid-column: 1;
    min-height: 100%;
}

.news-item.has-news-image.is-open .news-details-inner .news-media {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    width: 100%;
}

.news-item.has-news-image.is-open .news-details-copy .news-share-row {
    margin-top: auto;
}

.news-item.is-open .news-details {
    grid-template-rows: 1fr;
    opacity: 1;
}

.news-item.is-open .news-details-inner {
    padding-top: 14px;
}

.news-details-inner p,
.news-details-copy > p {
    margin: 0;
    max-width: 62ch;
    color: var(--gray);
    font-size: 15px;
    line-height: 1.65;
    white-space: pre-line;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    color: var(--scout-orange);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.news-link .icon-arrow-external,
.agenda-link .icon-arrow-external {
    opacity: 0.9;
}

.news-link:hover,
.news-link:focus-visible {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.news-share-row {
    display: grid;
    gap: 8px;
    margin-top: 2px;
    max-width: min(100%, 640px);
}

.news-share-caption {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: rgba(78, 43, 26, 0.55);
}

.news-share-box {
    display: flex;
    align-items: stretch;
    min-width: 0;
    border: 1px solid rgba(78, 43, 26, 0.14);
    border-radius: 12px;
    background: rgba(255, 252, 247, 0.95);
    overflow: hidden;
    transition:
        border-color 0.2s ease,
        background 0.2s ease;
}

.news-share-box.is-copied {
    border-color: rgba(46, 125, 50, 0.4);
    background: rgba(46, 125, 50, 0.08);
}

.news-share-url {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    padding: 10px 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--scout-brown, #4e2b1a);
    line-height: 1.35;
}

.news-share {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0 14px;
    border: 0;
    border-left: 1px solid rgba(78, 43, 26, 0.12);
    background: rgba(211, 138, 45, 0.12);
    color: var(--scout-brown, #4e2b1a);
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.news-share:hover,
.news-share:focus-visible {
    background: rgba(211, 138, 45, 0.22);
    color: var(--scout-orange);
}

.news-share.is-copied {
    background: rgba(46, 125, 50, 0.16);
    color: #2e7d32;
}

.news-share-label {
    white-space: nowrap;
}

.news-media {
    margin: 0;
    overflow: hidden;
    width: min(100%, 640px);
    border: 1px solid rgba(78, 43, 26, 0.1);
    border-radius: 18px;
    background: #1a1410;
    box-shadow: 0 10px 28px rgba(28, 18, 12, 0.08);
}

.news-media img {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center;
    user-select: none;
    -webkit-user-drag: none;
}

.news-carousel {
    position: relative;
    touch-action: pan-y;
}

.news-carousel-viewport {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 200px;
    aspect-ratio: 4 / 3;
    background: #1a1410;
    cursor: grab;
    touch-action: pan-y pinch-zoom;
    user-select: none;
    outline: none;
}

.news-carousel-viewport:focus-visible {
    box-shadow: inset 0 0 0 2px rgba(211, 138, 45, 0.85);
}

.news-carousel-viewport.is-dragging,
.news-carousel-viewport:active {
    cursor: grabbing;
}

.news-carousel-track {
    display: flex;
    align-items: stretch;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.news-carousel-slide {
    display: grid;
    flex: 0 0 100%;
    place-items: center;
    width: 100%;
    height: 100%;
    min-width: 0;
}

.news-carousel-slide img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    pointer-events: none;
}

.news-carousel-overlay {
    position: absolute;
    inset: auto 0 0;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    padding: 28px 14px 14px;
    background: linear-gradient(
        180deg,
        rgba(14, 10, 8, 0) 0%,
        rgba(14, 10, 8, 0.28) 45%,
        rgba(14, 10, 8, 0.55) 100%
    );
    pointer-events: none;
}

.news-carousel-dots {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    pointer-events: auto;
}

.news-carousel-dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.38);
    cursor: pointer;
    transition:
        width 0.28s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.28s ease,
        transform 0.28s ease;
}

.news-carousel-dot.is-active {
    width: 18px;
    background: #fff;
}

.news-carousel-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

.news-carousel-dot:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.news-carousel-status {
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 11px;
    font-weight: 650;
    letter-spacing: 0.12em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.news-carousel-status-sep {
    margin: 0 0.35em;
    opacity: 0.55;
}

.news-carousel-progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    height: 2px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.18);
    pointer-events: none;
}

.news-carousel-progress > span {
    display: block;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.92);
    transform-origin: left center;
}

.news-carousel-progress.is-running > span {
    animation: newsCarouselProgress var(--carousel-progress-ms, 5s) linear forwards;
}

@keyframes newsCarouselProgress {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .news-carousel-track,
    .news-carousel-dot {
        transition: none;
    }

    .news-carousel-progress,
    .news-carousel-progress.is-running > span {
        display: none;
        animation: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .news-summary::after,
    .news-details {
        transition: none;
    }
}

.news-more {
    margin: 0;
    flex: 0 0 auto;
}

.news-more[hidden] {
    display: none;
}

.news-more a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--scout-orange);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}

.news-more a:hover,
.news-more a:focus-visible {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.news-empty {
    display: grid;
    gap: 12px;
    justify-items: center;
    width: min(100%, 420px);
    margin: 0 auto;
    padding: 12px 8px;
    text-align: center;
}

.news-empty::before {
    content: "";
    width: 40px;
    height: 3px;
    border-radius: 999px;
    background: var(--scout-orange);
}

.news-empty h3 {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(1.2rem, 2.4vw, 1.55rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--scout-brown, #4e2b1a);
}

.news-empty p {
    margin: 0;
    max-width: 32ch;
    color: rgba(78, 43, 26, 0.64);
    font-size: 15.5px;
    line-height: 1.55;
}


@media (max-width: 800px) {
    .news-summary {
        padding-right: 28px;
    }

    .news-summary::after {
        right: 0;
    }
}
/* ===== pages.css ===== */
.page-shell {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0 0 100px;
    background-color: #0d2419;
    overflow: hidden;
}

/* Dark fallback on html only — body stays transparent so ::before photo shows. */
html:has(body.registration-page),
html:has(body.secondhand-page),
html:has(body.about-page),
html:has(body.uniform-page),
html:has(body.branch-page),
html:has(body.news-page),
html:has(body.error-page) {
    background: #0d2419;
}

body.registration-page,
body.secondhand-page,
body.about-page,
body.uniform-page,
body.branch-page,
body.news-page,
body.error-page {
    background: transparent;
}

body.registration-page::before,
body.secondhand-page::before,
body.about-page::before,
body.uniform-page::before,
body.branch-page::before,
body.news-page::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    /* Lock to large viewport so mobile URL-bar show/hide does not reflow cover. */
    width: 100%;
    height: 100vh;
    height: 100lvh;
    pointer-events: none;
    background-color: #0d2419;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)),
        url("/assets/images/domein2-w1600.jpg?v=20261020-93");
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)),
        image-set(url("/assets/images/domein2-w1600.webp?v=20261020-93") type("image/webp"), url("/assets/images/domein2-w1600.jpg?v=20261020-93") type("image/jpeg"));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

body.error-page::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-color: #0d2419;
    background-image:
        linear-gradient(
            115deg,
            rgba(13, 36, 25, 0.94) 0%,
            rgba(13, 36, 25, 0.78) 38%,
            rgba(13, 36, 25, 0.42) 72%,
            rgba(13, 36, 25, 0.28) 100%
        ),
        url("/assets/images/domein2-w1600.jpg?v=20261020-93");
    background-image:
        linear-gradient(
            115deg,
            rgba(13, 36, 25, 0.94) 0%,
            rgba(13, 36, 25, 0.78) 38%,
            rgba(13, 36, 25, 0.42) 72%,
            rgba(13, 36, 25, 0.28) 100%
        ),
        image-set(url("/assets/images/domein2-w1600.webp?v=20261020-93") type("image/webp"), url("/assets/images/domein2-w1600.jpg?v=20261020-93") type("image/jpeg"));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

body.secondhand-page::before {
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)),
        url("/assets/images/domein3-w1600.jpg?v=20261020-93");
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)),
        image-set(url("/assets/images/domein3-w1600.webp?v=20261020-93") type("image/webp"), url("/assets/images/domein3-w1600.jpg?v=20261020-93") type("image/jpeg"));
}

body.about-page::before {
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)),
        url("/assets/images/domein4-w1600.jpg?v=20261020-93");
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)),
        image-set(url("/assets/images/domein4-w1600.webp?v=20261020-93") type("image/webp"), url("/assets/images/domein4-w1600.jpg?v=20261020-93") type("image/jpeg"));
}

body.uniform-page::before {
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)),
        url("/assets/images/domein5-w1600.jpg?v=20261020-93");
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)),
        image-set(url("/assets/images/domein5-w1600.webp?v=20261020-93") type("image/webp"), url("/assets/images/domein5-w1600.jpg?v=20261020-93") type("image/jpeg"));
}

.registration-page .page-shell,
.secondhand-page .page-shell,
.about-page .page-shell,
.uniform-page .page-shell,
.branch-page .page-shell,
.news-page .page-shell {
    background: none;
    animation: none;
}

.branch-page .page-main {
    padding-bottom: 32px;
}

.error-page .page-shell {
    display: flex;
    flex-direction: column;
    background: none;
    animation: none;
    padding-bottom: 0;
    min-height: 100vh;
    min-height: 100dvh;
}

.error-page .footer {
    margin-top: auto;
}

.error-hero {
    position: relative;
    z-index: 1;
    display: grid;
    align-items: center;
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    padding:
        max(128px, calc(env(safe-area-inset-top, 0px) + 104px))
        5%
        56px;
}

.error-hero-content {
    width: min(640px, 100%);
    max-width: var(--max-width);
}

.error-hero h1,
.error-hero p,
.error-hero .hero-actions {
    animation: errorHeroIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.error-hero h1 {
    margin: 0 0 16px;
    color: #fff;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(44px, 7.2vw, 82px);
    font-weight: 800;
    line-height: 0.94;
    letter-spacing: -0.04em;
    text-wrap: balance;
    animation-delay: 0.04s;
}

.error-hero h1 span {
    color: var(--scout-orange-soft);
}

.error-hero p {
    margin: 0;
    max-width: 28ch;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(17px, 2vw, 21px);
    line-height: 1.45;
    text-wrap: pretty;
    animation-delay: 0.14s;
}

.error-hero .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
    animation-delay: 0.26s;
}

.error-hero .hero-actions .button {
    min-width: 196px;
}

@keyframes errorHeroIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .error-hero h1,
    .error-hero p,
    .error-hero .hero-actions {
        animation: none;
    }
}

@media (max-width: 700px) {
    .error-hero {
        padding-top: max(112px, calc(env(safe-area-inset-top, 0px) + 88px));
        padding-bottom: 40px;
    }

    .error-hero .hero-actions {
        width: 100%;
    }

    .error-hero .hero-actions .button {
        width: 100%;
        min-width: 0;
    }
}

.branch-page {
    --branch-accent: #d38a2d;
}

.branch-page.branch-kapoenen { --branch-accent: #b6ce36; }
.branch-page.branch-welpen { --branch-accent: #4f9b70; }
.branch-page.branch-jongverkenners { --branch-accent: #d9953d; }
.branch-page.branch-verkenners { --branch-accent: #3f68ad; }
.branch-page.branch-jins { --branch-accent: #bd314d; }

.branch-page .page-hero .hero-content {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 22px;
    align-items: center;
}

.branch-hero-mark {
    grid-row: 1 / span 3;
    display: grid;
    place-items: center;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--branch-accent) 24%, white);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.branch-hero-mark img {
    width: 74px;
    height: 74px;
    object-fit: contain;
}

.branch-page .page-hero .hero-content h1 {
    grid-column: 2;
    margin-bottom: 8px;
    color: var(--branch-accent);
}

.branch-page .page-hero .hero-content p {
    grid-column: 2;
    max-width: 62ch;
    margin-bottom: 0;
    line-height: 1.55;
}

.branch-hero-age {
    margin-bottom: 12px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

.branch-hero-age:empty {
    display: none;
}

.branch-page .page-card {
    background: rgba(255, 248, 240, 0.94);
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.branch-page .page-card h3 {
    color: #2b1810;
    font-family: "Montserrat", sans-serif;
    font-size: 1.35rem;
    letter-spacing: -0.4px;
}

.branch-page .document-resource-grid {
    grid-template-columns: minmax(0, 520px);
}

.branch-page .document-resource-grid:has(> :nth-child(2)) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.branch-page .planning-download-card {
    background: rgba(255, 248, 240, 0.94);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.branch-page .planning-download-card .document-action-button {
    margin-top: 0;
}

.branch-page .branch-letters-card {
    display: grid;
    gap: 16px;
}

@media (max-width: 760px) {
    .branch-page .page-hero .hero-content {
        grid-template-columns: 1fr;
        justify-items: start;
    }

    .branch-hero-mark {
        grid-row: auto;
        width: 76px;
        height: 76px;
        margin-bottom: 12px;
    }

    .branch-hero-mark img {
        width: 58px;
        height: 58px;
    }

    .branch-page .page-hero .hero-content h1,
    .branch-page .page-hero .hero-content p {
        grid-column: 1;
    }
}

.page-hero {
    position: relative;
    min-height: 200px;
    overflow: hidden;
    color: #fff;
    background: transparent;
}

.page-hero .hero-content {
    position: relative;
    z-index: 2; /* boven het patroon en de fade */
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 150px 5% 40px;
}

.page-hero .hero-content h1 {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(42px, 5vw, 72px);
    line-height: 0.95;
    letter-spacing: -2px;
    margin-bottom: 18px;
}

.page-hero .hero-content p {
    max-width: 690px;
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 28px;
}

.page-main {
    position: relative;
    z-index: 2;

    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    gap: 28px;
    padding: 0px 5% 0;

    background: transparent;
}

.page-over-ons {
    position: relative;
    z-index: 2;

    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    padding: 0px 5% 0;

    background: transparent;
}

.page-card {
    background: rgba(255,255,255,0.7);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 28px 24px;
}

.page-card h2,
.page-card h3 {
    margin-bottom: 14px;
}

.privacy-card {
    max-width: 920px;
    justify-self: center;
    width: 100%;
    background: #fff;
    padding: clamp(28px, 4.5vw, 56px);
    border-color: var(--line);
    box-shadow: 0 12px 32px rgba(43, 24, 14, 0.08);
}

.privacy-updated {
    margin: 0 0 18px;
    color: rgba(78, 43, 26, 0.55);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.privacy-card h2 {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
    color: var(--scout-brown);
    font-size: clamp(26px, 3vw, 34px);
    line-height: 1.12;
    letter-spacing: -1px;
}

.privacy-card h3 {
    margin: 0 0 8px;
    color: var(--scout-brown);
    font-family: "Montserrat", sans-serif;
    font-size: clamp(17px, 1.8vw, 20px);
    line-height: 1.25;
}

.privacy-card p,
.privacy-card li,
.privacy-card dd {
    max-width: 74ch;
    color: var(--gray);
}

.privacy-card p {
    margin-bottom: 16px;
}

.privacy-card .privacy-lead {
    margin-bottom: 28px;
    color: #3d2a20;
    font-size: clamp(1.05rem, 1.5vw, 1.18rem);
    line-height: 1.7;
}

.privacy-toc {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 36px;
    padding: 14px;
    border: 1px solid rgba(78, 43, 26, 0.1);
    border-radius: 16px;
    background: rgba(247, 241, 232, 0.72);
}

.privacy-toc a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--scout-brown) !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    transition: background 0.18s ease, color 0.18s ease;
}

.privacy-toc a:hover,
.privacy-toc a:focus-visible {
    background: var(--scout-brown);
    color: #fff !important;
}

.privacy-section {
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid rgba(78, 43, 26, 0.12);
    scroll-margin-top: 96px;
}

.privacy-section:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.privacy-section h2 {
    margin-bottom: 16px;
}

.privacy-panel {
    margin: 0 0 18px;
    padding: 16px 18px;
    border: 1px solid rgba(78, 43, 26, 0.1);
    border-radius: 16px;
    background: linear-gradient(180deg, #fbf7f1 0%, #f7f1e8 100%);
}

.privacy-panel-label {
    margin: 0 0 6px;
    color: rgba(78, 43, 26, 0.55);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.privacy-panel-title {
    margin: 0 0 10px;
    color: var(--scout-brown);
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
}

.privacy-panel p:last-child {
    margin-bottom: 0;
}

.privacy-rights {
    list-style: none;
    display: grid;
    gap: 14px;
    margin: 18px 0 8px;
    padding: 0;
    counter-reset: privacy-right;
}

.privacy-rights > li {
    position: relative;
    margin: 0;
    padding: 18px 18px 18px 64px;
    border: 1px solid rgba(78, 43, 26, 0.1);
    border-radius: 16px;
    background: rgba(247, 241, 232, 0.55);
}

.privacy-card .privacy-rights > li {
    padding-left: 64px;
    margin-bottom: 0;
}

.privacy-rights > li::before {
    counter-increment: privacy-right;
    content: counter(privacy-right);
    position: absolute;
    top: 18px;
    left: 16px;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 11px;
    background: var(--scout-brown);
    color: #fff;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 800;
}

.privacy-rights > li > p:last-child,
.privacy-rights > li > ul:last-child {
    margin-bottom: 0;
}

.privacy-card .privacy-rights ul {
    margin: 8px 0 0;
}

.privacy-card .privacy-rights li li {
    padding-left: 2px;
    margin-bottom: 6px;
}

.privacy-data-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 8px 0 4px;
}

.privacy-data-list > div {
    padding: 16px 18px;
    border: 1px solid rgba(78, 43, 26, 0.1);
    border-radius: 14px;
    background: #fff;
}

.privacy-data-list dt {
    margin: 0 0 6px;
    color: var(--scout-brown);
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 800;
}

.privacy-data-list dd {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
}

.privacy-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 8px 0 18px;
}

.privacy-contact-grid .privacy-panel {
    margin: 0;
    height: 100%;
}

.privacy-card ul {
    max-width: 74ch;
    margin: 10px 0 20px;
    padding-left: 1.35rem;
}

.privacy-card li {
    margin-bottom: 8px;
    padding-left: 4px;
}

.privacy-card a:not(.button) {
    color: var(--green);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.privacy-download {
    margin-top: 34px;
    margin-bottom: 0;
    padding-top: 28px;
    border-top: 1px solid rgba(78, 43, 26, 0.12);
}

.privacy-download .button {
    min-height: 48px;
}

/* Calm document page: cream shell + solid forest hero (no busy photo). */
html:has(body.privacy-page),
body.privacy-page {
    background: #f5efe7;
}

.privacy-page .page-shell {
    background:
        radial-gradient(ellipse 90% 50% at 50% -10%, rgba(35, 77, 56, 0.08), transparent 55%),
        linear-gradient(180deg, #f7f1e8 0%, #f5efe7 48%, #efe8dc 100%);
    overflow: visible;
}

.privacy-page .page-hero {
    min-height: 280px;
    background:
        linear-gradient(145deg, #0d2419 0%, #173f2b 52%, #1f4a34 100%);
}

.privacy-page .page-hero .hero-content {
    padding-top: 150px;
    padding-bottom: 52px;
}

.privacy-page .page-hero .hero-content h1 {
    max-width: 780px;
}

.privacy-page .page-hero .hero-content p {
    margin-bottom: 0;
    max-width: 42ch;
    color: rgba(255, 255, 255, 0.82);
}

.privacy-page .page-main {
    margin-top: -28px;
    padding-bottom: 86px;
}

.privacy-page .privacy-card {
    background: #fff;
    border: 1px solid rgba(78, 43, 26, 0.1);
    box-shadow:
        0 18px 40px rgba(28, 18, 12, 0.07),
        0 1px 0 rgba(255, 255, 255, 0.7) inset;
}

.privacy-page .footer {
    position: relative;
}

.page-intro {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 22px;
    align-items: start;
}

.registration-choice {
    margin-top: 8px;
}

.registration-page .page-main {
    max-width: 760px;
    gap: 18px;
}

.registration-flow {
    display: grid;
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 36px rgba(13, 36, 25, 0.18);
    transition: background 0.45s ease;
}

.registration-choice-buttons {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    isolation: isolate;
    padding: 8px;
    overflow: hidden;
    border-bottom: 1px solid rgba(78, 43, 26, 0.08);
    background: rgba(247, 241, 232, 0.72);
}

.registration-choice-buttons::before {
    display: none;
}

.registration-liquid {
    position: absolute;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
}

.registration-liquid path {
    fill: #d38a2d;
    transition: fill 0.2s linear;
}

.registration-choice-button {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    min-height: 54px;
    padding: 12px 14px;
    border: 0;
    border-radius: 16px;
    background: transparent;
    color: var(--scout-brown);
    text-align: center;
    cursor: pointer;
    transition: color 0.25s ease;
}

.registration-choice-button span {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(16px, 2.3vw, 19px);
    font-weight: 800;
    line-height: 1.15;
}

.registration-choice-button:hover,
.registration-choice-button:focus-visible {
    color: var(--scout-brown-deep);
}

.registration-choice-button:focus-visible {
    outline: 2px solid var(--scout-brown);
    outline-offset: 3px;
}

.registration-choice-button.is-active {
    color: #fff;
}

.registration-choice.is-current .registration-choice-button.is-active {
    border-color: transparent;
}

.registration-panels {
    display: grid;
    overflow: hidden;
    background: transparent;
    transition: background 0.35s ease;
}

.registration-choice.is-current .registration-flow {
    background: rgba(244, 250, 246, 0.98);
}

.registration-choice.is-current .registration-choice-buttons {
    background: rgba(236, 246, 240, 0.8);
    border-bottom-color: rgba(47, 107, 77, 0.1);
}

.registration-info {
    grid-area: 1 / 1;
    margin-top: 0;
    height: 100%;
    background: transparent;
    opacity: 0;
    pointer-events: none;
    transform: translateX(0);
    transition:
        opacity 0.38s cubic-bezier(0.22, 0.8, 0.24, 1),
        transform 0.38s cubic-bezier(0.22, 0.8, 0.24, 1);
}

.registration-info.is-visible {
    z-index: 1;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

.registration-info.is-enter-right {
    animation: registration-enter-right 0.42s cubic-bezier(0.22, 0.8, 0.24, 1);
}

.registration-info.is-enter-left {
    animation: registration-enter-left 0.42s cubic-bezier(0.22, 0.8, 0.24, 1);
}

.registration-info.is-leave-left {
    z-index: 0;
    opacity: 0;
    transform: translateX(-18px);
}

.registration-info.is-leave-right {
    z-index: 0;
    opacity: 0;
    transform: translateX(18px);
}

@keyframes registration-enter-right {
    from {
        opacity: 0;
        transform: translateX(22px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes registration-enter-left {
    from {
        opacity: 0;
        transform: translateX(-22px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.registration-info-content {
    display: grid;
    align-content: start;
    height: 100%;
    gap: 18px;
    padding: 22px 22px 24px;
}

.registration-steps {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.registration-steps li {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 11px 12px;
    border-radius: 14px;
    background: rgba(78, 43, 26, 0.04);
}

.registration-steps li:has(.registration-step-copy) {
    align-items: start;
}

.registration-steps li:has(.registration-step-copy) > span {
    margin-top: 2px;
}

.registration-step-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.registration-step-note {
    margin: 0;
    color: rgba(44, 24, 15, 0.68);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
}

.registration-panels.is-current .registration-steps li {
    background: rgba(47, 107, 77, 0.06);
}

.registration-steps li > span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #d38a2d;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}

.registration-panels.is-current .registration-steps li > span {
    background: #2f6b4d;
}

.registration-steps strong {
    color: var(--scout-brown);
    font-size: 15px;
    line-height: 1.3;
    font-weight: 700;
}

.registration-actions {
    display: grid;
    gap: 10px;
}

.registration-cta-row,
.registration-steekkaart-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 52px;
    gap: 10px;
    align-items: stretch;
}

.registration-help-toggle {
    display: grid;
    place-items: center;
    width: 52px;
    min-height: 52px;
    border: 1px solid rgba(47, 107, 77, 0.22);
    border-radius: 999px;
    background: rgba(47, 107, 77, 0.08);
    color: #2f6b4d;
    font-family: "Montserrat", sans-serif;
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.registration-help-toggle:hover,
.registration-help-toggle:focus-visible {
    background: rgba(47, 107, 77, 0.14);
    border-color: rgba(47, 107, 77, 0.4);
}

.registration-help-toggle.is-open {
    background: #2f6b4d;
    border-color: #2f6b4d;
    color: #fff;
}

.registration-help {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.registration-help.is-open {
    grid-template-rows: 1fr;
}

.registration-help-inner {
    min-height: 0;
    overflow: hidden;
}

.registration-help-inner > p {
    margin: 0;
    padding: 14px 16px;
    border: 1px solid rgba(47, 107, 77, 0.16);
    border-radius: 14px;
    background: rgba(236, 246, 240, 0.9);
    color: var(--scout-brown);
    font-size: 14px;
    line-height: 1.5;
    opacity: 0;
    transform: translateY(-6px);
    transition:
        opacity 0.24s ease,
        transform 0.28s cubic-bezier(0.22, 0.8, 0.24, 1);
}

.registration-help.is-open .registration-help-inner > p {
    opacity: 1;
    transform: none;
}

.registration-info-new .registration-help-toggle {
    border-color: rgba(211, 138, 45, 0.28);
    background: rgba(211, 138, 45, 0.1);
    color: #d38a2d;
}

.registration-info-new .registration-help-toggle:hover,
.registration-info-new .registration-help-toggle:focus-visible {
    background: rgba(211, 138, 45, 0.18);
    border-color: rgba(211, 138, 45, 0.5);
}

.registration-info-new .registration-help-toggle.is-open {
    background: #d38a2d;
    border-color: #d38a2d;
    color: #fff;
}

.registration-info-new .registration-help-inner > p {
    border-color: rgba(211, 138, 45, 0.22);
    background: rgba(255, 248, 238, 0.95);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (prefers-reduced-motion: reduce) {
    .registration-help,
    .registration-help-inner > p {
        transition: none;
    }
}

.registration-main-cta,
.registration-secondary-cta {
    width: 100%;
    justify-content: center;
    min-height: 52px;
}

.registration-cta-row .registration-main-cta,
.registration-steekkaart-row .registration-main-cta {
    width: auto;
}

.registration-button-current {
    background: linear-gradient(135deg, #3f795a, #2f6b4d);
    border-color: #2f6b4d;
}

.registration-button-current:hover,
.registration-button-current:focus-visible {
    background: #2f6b4d;
}

.registration-info .button {
    margin-top: 0;
}

.new-member-section[hidden] {
    display: none;
}

.new-member-section {
    display: grid;
    gap: 18px;
    margin-top: 24px;
    scroll-margin-top: 24px;
}

.registration-payment-card[hidden] {
    display: none;
}

.registration-payment-card.is-visible {
    animation: registration-payment-in 0.5s cubic-bezier(0.22, 0.8, 0.24, 1);
}

.registration-payment-card .registration-section-heading {
    gap: 8px;
    margin-bottom: 0;
}

.registration-payment-lead {
    margin: 0;
    max-width: 42ch;
    color: rgba(78, 43, 26, 0.78);
    font-family: "DM Sans", sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
}

.registration-payment-details {
    display: grid;
    gap: 10px;
}

.registration-payment-details[hidden] {
    display: none;
}

.registration-payment-details dl {
    display: grid;
    gap: 10px;
    margin: 0;
}

.registration-payment-details div {
    display: grid;
    gap: 4px;
    padding: 12px 14px;
    border: 1px solid rgba(47, 107, 77, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.78);
}

.registration-payment-details dt {
    color: rgba(78, 43, 26, 0.58);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.registration-payment-details dd,
.registration-payment-value {
    margin: 0;
    color: var(--scout-brown-deep);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    overflow-wrap: anywhere;
    user-select: all;
    -webkit-user-select: all;
    font-variant-numeric: tabular-nums;
}

.registration-payment-iban {
    font-family: ui-monospace, "Cascadia Mono", "Segoe UI Mono", "SF Mono", Menlo, Consolas, monospace;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.registration-bank-info {
    overflow: hidden;
    overflow-anchor: none;
    scroll-margin-top: 24px;
    border-top: 1px solid rgba(78, 43, 26, 0.08);
    background: rgba(247, 241, 232, 0.55);
}

.registration-bank-info > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 52px;
    padding: 12px 18px;
    color: var(--scout-brown-deep);
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.01em;
    list-style: none;
    cursor: pointer;
    user-select: none;
}

.registration-bank-info > summary::-webkit-details-marker {
    display: none;
}

.registration-bank-info > summary::after {
    content: "+";
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 1.15em;
    height: 1.15em;
    color: var(--scout-orange);
    font-family: "Montserrat", sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    transition:
        transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
        color 0.35s ease;
}

.registration-choice.is-current .registration-bank-info > summary::after {
    color: #2f6b4d;
}

.registration-bank-info.open-anim > summary::after {
    transform: rotate(135deg);
}

.registration-bank-info > summary:hover,
.registration-bank-info > summary:focus-visible {
    color: var(--scout-brown);
}

.registration-bank-info > summary:focus-visible {
    outline: 2px solid var(--scout-brown);
    outline-offset: -2px;
}

.registration-bank-content {
    display: block !important;
    height: 0;
    overflow: hidden;
    opacity: 0;
    transition:
        height 0.35s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.22s ease;
}

.registration-bank-info.open-anim .registration-bank-content {
    opacity: 1;
}

.registration-bank-info-body {
    display: grid;
    gap: 12px;
    padding: 0 18px 18px;
}

.registration-bank-info-body p {
    margin: 0;
    color: rgba(44, 24, 15, 0.78);
    font-size: 14px;
    line-height: 1.55;
}

.registration-bank-iban {
    margin: 0;
    padding: 14px 16px;
    border: 1px solid rgba(47, 107, 77, 0.14);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--scout-brown-deep);
    font-size: clamp(15px, 3.6vw, 18px);
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    user-select: all;
    -webkit-user-select: all;
}

@media (prefers-reduced-motion: reduce) {
    .registration-bank-content,
    .registration-bank-info > summary::after {
        transition: none;
    }

    .registration-bank-info.open-anim .registration-bank-content {
        height: auto;
    }
}

@keyframes registration-payment-in {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .registration-choice-button,
    .registration-info,
    .registration-flow {
        transition: none;
    }

    .registration-payment-card.is-visible,
    .registration-info.is-enter-left,
    .registration-info.is-enter-right,
    .registration-help {
        animation: none;
    }

    .registration-info.is-leave-left,
    .registration-info.is-leave-right {
        transform: none;
    }
}

.registration-section-heading {
    display: grid;
    gap: 5px;
    margin-bottom: 6px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(78, 43, 26, 0.1);
}

.registration-section-heading .registration-kicker {
    color: #c1791a;
}

.registration-section-heading h2 {
    margin: 0;
    color: var(--scout-brown);
    font-size: clamp(24px, 3vw, 34px);
}

.section-copy {
    display: grid;
    gap: 10px;
}

.section-copy h2 {
    font-size: clamp(30px, 4vw, 46px);
    letter-spacing: -1.5px;
}

.new-member-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    align-items: start;
}

.registration-layout {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 22px;
    margin-top: 20px;
}

.info-stack {
    display: grid;
    gap: 20px;
}

.contact-card {
    display: grid;
    gap: 14px;
    align-content: start;
    background: linear-gradient(180deg, rgba(211,138,45,0.11), rgba(78,43,26,0.02));
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 24px 22px;
}

.contact-card a {
    color: var(--scout-brown);
    font-weight: 700;
}

.contact-card p {
    color: var(--gray);
}

.check-list {
    list-style: none;
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.check-list li {
    position: relative;
    padding-left: 26px;
    color: var(--gray);
}

.check-list li::before {
    content: normal;
    position: absolute;
    left: 0;
    top: 0;
    color: var(--scout-orange);
    font-weight: 800;
}

.news-hero .hero-content h1,
.secondhand-hero .hero-content h1 {
    margin-bottom: 0;
}

.news-page .news-archive {
    position: relative;
    z-index: 2;
    width: min(var(--max-width), 90%);
    margin: 0 auto 40px;
    padding: 28px 36px 36px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 28px;
    background: #f7f1e8;
    background: linear-gradient(165deg, #f7f1e8 0%, #f5efe7 100%);
    box-shadow: 0 24px 48px rgba(8, 18, 12, 0.28);
    color: var(--scout-brown);
}

.news-page .news-archive .news-item {
    background: rgba(255, 255, 255, 0.55);
    border-color: rgba(78, 43, 26, 0.1);
}

.news-page .news-archive .news-item:not(.is-static):hover,
.news-page .news-archive .news-item:not(.is-static):focus-within {
    background: rgba(255, 255, 255, 0.82);
}

.news-page .news-archive .news-copy h3 {
    color: var(--scout-brown);
}

.news-page .news-archive .news-details-inner p,
.news-page .news-archive .news-details-copy > p,
.news-page .news-archive .news-teaser {
    color: rgba(78, 43, 26, 0.72);
}

.news-page .news-archive:has(.news-empty) {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: clamp(240px, 36vw, 320px);
    padding: 48px 36px;
}

.news-page .news-archive .news-list:has(.news-empty) {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.news-page .news-archive .news-empty {
    padding: 0;
}

@media (max-width: 800px) {
    .news-page .news-archive {
        width: min(100% - 24px, var(--max-width));
        margin-bottom: 28px;
        padding: 14px;
        border-radius: 20px;
    }

    .news-page .news-archive:has(.news-empty) {
        min-height: 220px;
        padding: 40px 22px;
    }

    .news-page .news-archive .news-list {
        gap: 8px;
    }

    .news-page .news-archive .news-item {
        padding: 12px;
        border-radius: 14px;
    }
}

@media (max-width: 480px) {
    .news-page .news-archive {
        padding: 12px;
        border-radius: 16px;
    }

    .news-page .news-archive .news-item {
        padding: 11px;
    }
}

.uniform-hero {
    min-height: 0;
    display: flex;
    align-items: flex-end;
}

.uniform-hero .page-hero-content {
    width: min(var(--max-width), 100%);
    margin: 0 auto;
    padding: 128px 5% 8px;
}

.uniform-hero h1 {
    max-width: 680px;
    margin-bottom: 0;
    color: #fff;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(48px, 7vw, 88px);
    line-height: 0.94;
    letter-spacing: -3px;
}

.uniform-sheet {
    max-width: 520px;
    padding: 8px 24px 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    background: rgba(16, 12, 9, 0.62);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(16px);
}

.uniform-sheet-extra {
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 14px;
    line-height: 1.45;
}

.uniform-section {
    position: relative;
    z-index: 2;
    width: min(var(--max-width), 100%);
    margin: 0 auto;
    padding: 56px 5% 0;
    color: #fff;
    animation: uniform-section-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.uniform-overview {
    padding-top: 10px;
    animation-delay: 0.06s;
}

.uniform-guide {
    animation-delay: 0.14s;
    padding-bottom: 24px;
}

.uniform-overview .uniform-section-copy {
    margin-bottom: 22px;
}

.uniform-section-copy {
    max-width: 560px;
    margin-bottom: 28px;
}

.uniform-section-copy h2 {
    margin-bottom: 12px;
    color: #fff;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.05;
    letter-spacing: -1.4px;
}

.uniform-section-copy p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 17px;
    line-height: 1.55;
}

.uniform-rows {
    list-style: none;
    margin: 0;
    padding: 0;
}

.uniform-rows li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.uniform-item {
    min-width: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 16px;
}

.uniform-rows strong {
    min-width: 4.2rem;
    color: #fff;
    font-family: "Montserrat", sans-serif;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.4px;
    text-align: right;
}

.uniform-sheet .uniform-shop-note {
    margin: 8px 0 0;
    padding-top: 0;
    border-top: 0;
    font-size: 14px;
}

.uniform-shop-note {
    margin: 16px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 15px;
}

.uniform-shop-note a {
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.uniform-shop-note a:hover,
.uniform-shop-note a:focus-visible {
    color: var(--scout-orange);
}

.uniform-map-stack {
    display: grid;
    gap: 14px;
}

.uniform-guide-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: clamp(22px, 3vw, 36px);
    align-items: start;
}

.uniform-map {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: rgba(18, 14, 10, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.28);
}

.uniform-map img {
    display: block;
    width: 100%;
    height: auto;
}

.uniform-marker {
    position: absolute;
    left: var(--x);
    top: var(--y);
    z-index: 2;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--scout-orange);
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
    cursor: pointer;
    transform: translate(-50%, -50%);
    transition:
        transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.2s ease,
        box-shadow 0.22s ease;
    animation: uniform-marker-pulse 2.4s ease-in-out infinite;
}

.uniform-marker span {
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
}

.uniform-marker em {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 10px);
    padding: 7px 10px;
    border-radius: 10px;
    background: rgba(20, 14, 10, 0.92);
    color: #fff;
    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 4px);
    transition:
        opacity 0.18s ease,
        transform 0.18s ease;
}

.uniform-marker:hover,
.uniform-marker:focus-visible,
.uniform-marker.is-active {
    background: #fff;
    color: var(--scout-brown);
    transform: translate(-50%, -50%) scale(1.12);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4);
    outline: none;
    animation: none;
}

.uniform-marker:hover em,
.uniform-marker:focus-visible em,
.uniform-marker.is-active em {
    opacity: 1;
    transform: translate(-50%, 0);
}

.uniform-marker.is-active {
    z-index: 3;
}

.uniform-rules {
    list-style: none;
    margin: 0;
    padding: 10px;
    max-height: min(760px, 82vh);
    overflow: auto;
    border-radius: 22px;
    background: rgba(18, 14, 10, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.35) transparent;
}

.uniform-rules > li {
    position: relative;
    padding: 18px 16px 18px 54px;
    border: 1px solid transparent;
    border-radius: 16px;
    cursor: pointer;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.uniform-rules > li::before {
    content: attr(data-uniform-rule);
    position: absolute;
    left: 12px;
    top: 18px;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(211, 138, 45, 0.28);
    color: #fff;
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 800;
    transition: background 0.2s ease;
}

.uniform-rules > li:hover,
.uniform-rules > li:focus-visible {
    background: rgba(255, 255, 255, 0.06);
    outline: none;
}

.uniform-rules > li.is-active {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.16);
    transform: translateX(2px);
}

.uniform-rules > li.is-active::before {
    background: var(--scout-orange);
}

.uniform-rules strong {
    display: block;
    margin-bottom: 6px;
    color: #fff;
    font-family: "Montserrat", sans-serif;
    font-size: 1.02rem;
    letter-spacing: -0.2px;
}

.uniform-rules p {
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.6;
    font-size: 14.5px;
}

.tak-list {
    margin-top: 16px;
    list-style: none;
    display: grid;
    gap: 10px;
    padding: 0;
}

.tak-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14.5px;
}

.tak-list li > span:not([class]) {
    min-width: 9.5rem;
    color: #fff;
    font-weight: 600;
}

.tak-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.tak-dot-kapoenen { background: #e8c84a; }
.tak-dot-welpen { background: #4caf6a; }
.tak-dot-jv { background: #e88a2d; }
.tak-dot-vk { background: #3d7dd6; }
.tak-dot-jins { background: #d64545; }
.tak-dot-leiding { background: #8a5bb8; }

@keyframes uniform-section-in {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes uniform-marker-pulse {
    0%,
    100% {
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35), 0 0 0 0 rgba(211, 138, 45, 0.45);
    }

    50% {
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35), 0 0 0 10px rgba(211, 138, 45, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .uniform-section,
    .uniform-marker {
        animation: none;
    }

    .uniform-marker,
    .uniform-marker em,
    .uniform-rules > li {
        transition: none;
    }
}

.cta-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, rgba(211,138,45,0.14), rgba(78,43,26,0.04));
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 24px 22px;
}

.about-story {
    padding-top: 22px;
}

.about-hero {
    position: relative;
    z-index: 3;

    min-height: 500px;
    display: flex;
    align-items: end;

    border-radius: 32px;
    overflow: hidden;

    background-size: cover;
    background-position: center;

    box-shadow: 0 28px 60px rgba(43, 24, 14, 0.12);
    border: 1px solid rgba(255,255,255,0.3);

    margin-top: -80px;
    margin-bottom: 26px;
}

.about-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 110px;
    background: linear-gradient(180deg, rgba(23,20,18,0), rgba(23,20,18,0.38));
    pointer-events: none;
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(23, 20, 18, 0.12) 0%, rgba(23, 20, 18, 0.18) 58%, rgba(23, 20, 18, 0.24) 100%);
}

.story-card {
    scroll-snap-align: start;
    min-height: 100%;

    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 26px;

    padding: 24px 22px;

    box-shadow:
        0 18px 40px rgba(46, 26, 18, 0.08);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.story-card:hover {
    transform: translateY(-3px);

    background: rgba(255, 255, 255, 0.70);

    box-shadow:
        0 22px 45px rgba(46, 26, 18, 0.11);
}

.card-tag {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 800;
    color: var(--scout-brown);
}

.story-card h3 {
    margin: 10px 0 12px;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(24px, 2vw, 32px);
}

.story-card p {
    color: var(--gray);
    margin-bottom: 14px;
}

.story-card .quote {
    margin-top: 18px;
    padding-left: 16px;
    border-left: 3px solid var(--scout-orange);
    font-weight: 600;
    color: var(--scout-brown);
}

.page-cta {
    margin-top: 6px;
}


.secondhand-intro,
.secondhand-process,
.secondhand-items {
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
}

.secondhand-process,
.secondhand-items {
    padding-left: 5%;
    padding-right: 5%;
}

.secondhand-process {
    padding-top: 4px;
    padding-bottom: 100px;
}

.secondhand-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
    gap: 18px;
    align-items: stretch;
}

.secondhand-checklist {
    display: grid;
    align-content: start;
    gap: 12px;
}

.secondhand-checklist h3 {
    margin: 0;
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.secondhand-checklist > .eyebrow {
    margin: 0 0 2px;
    font-size: clamp(0.95rem, 1.4vw, 1.15rem);
    letter-spacing: 0.04em;
    line-height: 1.3;
    color: var(--scout-brown, #4e2b1a);
}

.secondhand-checklist > p {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
}

.secondhand-steps {
    display: grid;
    gap: 14px;
    margin: 2px 0 0;
    padding: 0;
    list-style: none;
    counter-reset: secondhand-step;
}

.secondhand-steps li {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    column-gap: 12px;
    row-gap: 3px;
    align-items: start;
    padding: 12px 0 0;
    border-top: 1px solid rgba(78, 43, 26, 0.08);
    counter-increment: secondhand-step;
}

.secondhand-steps li:first-child {
    border-top: 0;
    padding-top: 0;
}

.secondhand-steps li::before {
    content: counter(secondhand-step);
    display: grid;
    place-items: center;
    grid-row: 1 / span 2;
    width: 32px;
    height: 32px;
    margin-top: 1px;
    border-radius: 50%;
    background: var(--scout-forest);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.secondhand-steps strong {
    grid-column: 2;
    color: var(--scout-brown);
    font-size: 14px;
    line-height: 1.35;
}

.secondhand-steps span {
    grid-column: 2;
    color: rgba(78, 43, 26, 0.68);
    font-size: 13.5px;
    line-height: 1.55;
}

.secondhand-note {
    margin-top: 16px;
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-left: 3px solid var(--scout-orange);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.62);
    color: rgba(78, 43, 26, 0.72);
    font-size: 14px;
    line-height: 1.55;
    box-shadow: 0 18px 40px rgba(46, 26, 18, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.secondhand-note strong {
    color: var(--scout-brown, #4e2b1a);
}

/* =========================================
   TWEEDEHANDS AANBOD
   ========================================= */

.secondhand-items {
    overflow: hidden;
    padding-top: 8px;
    padding-bottom: 20px;
}

.secondhand-items[hidden] {
    display: none;
}

.secondhand-scroll:has(.secondhand-empty) {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 4px 0 12px;
    overflow: hidden;
    scroll-snap-type: none;
}

.secondhand-scroll:has(.secondhand-empty)::after {
    display: none;
}

.secondhand-empty {
    width: min(100%, 520px);
    margin: 0 auto;
    padding: 36px 28px;
    display: grid;
    gap: 10px;
    justify-items: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 26px;
    box-shadow: 0 18px 40px rgba(46, 26, 18, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.secondhand-empty h3 {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(1.15rem, 2.2vw, 1.4rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--scout-brown, #4e2b1a);
}

.secondhand-empty p {
    margin: 0;
    max-width: 34ch;
    color: rgba(78, 43, 26, 0.68);
    font-size: 15px;
    line-height: 1.55;
}

.secondhand-scroll-wrapper {
    position: relative;
    width: 100%;
}

.secondhand-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 8px 4px 24px;

    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;

    scrollbar-width: none;
    margin: 0 52px;
}

.secondhand-scroll::-webkit-scrollbar {
    display: none;
}

.secondhand-scroll::after {
    content: "";
    flex: 0 0 1px;
}

.secondhand-scroll-button {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(78, 43, 26, 0.12);
    border-radius: 50%;
    background: rgba(255, 252, 247, 0.96);
    color: var(--scout-brown);
    box-shadow: 0 10px 22px rgba(46, 26, 18, 0.16);
    cursor: pointer;
    transform: translateY(-50%);
    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.secondhand-scroll-button:hover:not(:disabled),
.secondhand-scroll-button:focus-visible:not(:disabled) {
    background: #fff;
    border-color: rgba(211, 138, 45, 0.45);
    color: var(--scout-orange);
    transform: translateY(-50%) scale(1.05);
}

.secondhand-scroll-button:disabled {
    cursor: default;
    opacity: 0.28;
}

.secondhand-scroll-button-prev {
    left: 0;
}

.secondhand-scroll-button-next {
    right: 0;
}

.secondhand-scroll-button[hidden] {
    display: none !important;
}

.secondhand-item {
    flex: 0 0 300px;
    scroll-snap-align: start;
    display: grid;
    grid-template-rows: auto 1fr;
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(46, 26, 18, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.secondhand-item:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 22px 45px rgba(46, 26, 18, 0.11);
}

.secondhand-item-image {
    width: 100%;
    height: 210px;
    overflow: hidden;
    background: linear-gradient(145deg, #eee9df, #e4d8c4);
}

.secondhand-item-image picture {
    display: block;
    width: 100%;
    height: 100%;
}

.secondhand-item-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.secondhand-item:hover .secondhand-item-image img {
    transform: scale(1.05);
}

.secondhand-item-content {
    display: grid;
    align-content: start;
    gap: 8px;
    padding: 18px 18px 20px;
}

.secondhand-item-category {
    display: inline-flex;
    width: fit-content;
    margin: 0;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(211, 138, 45, 0.12);
    color: var(--scout-brown, #4e2b1a);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.secondhand-item-content h3 {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: 1.12rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--scout-brown, #4e2b1a);
}

.secondhand-item-info {
    margin: 0;
    color: rgba(78, 43, 26, 0.62);
    font-size: 0.92rem;
    line-height: 1.4;
}

.secondhand-item-bottom {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 10px;
}

.secondhand-item-bottom strong {
    font-family: "Montserrat", sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--scout-brown, #4e2b1a);
}

.secondhand-item-bottom a {
    font-weight: 700;
    text-decoration: none;
}


/* =========================================
   MOBIEL
   ========================================= */

@media (max-width: 700px) {

    .secondhand-scroll {
        gap: 16px;
        padding: 10px 8vw 28px 2px;
    }

    .secondhand-item {
        flex-basis: min(82vw, 340px);
    }

    .secondhand-item-image {
        height: 210px;
    }

    .secondhand-scroll-button {
        width: 38px;
        height: 38px;
    }

    .secondhand-scroll-button-prev {
        left: 4px;
    }

    .secondhand-scroll-button-next {
        right: 4px;
    }

    .secondhand-scroll-hint {
        margin-top: 0;
    }
}

@media (max-width: 900px) {
    .secondhand-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .secondhand-process,
    .secondhand-items {
        padding-left: 6%;
        padding-right: 6%;
    }

    .secondhand-checklist {
        padding: 22px 18px;
    }

    .secondhand-scroll {
        margin-inline: 0;
    }

    .secondhand-intro,
    .secondhand-process {
        padding-right: 6%;
        padding-left: 6%;
    }

    .secondhand-categories,
    .secondhand-layout {
        grid-template-columns: 1fr;
    }

    .uniform-hero .page-hero-content {
        padding: 118px 6% 4px;
    }

    .uniform-sheet {
        padding: 6px 18px 14px;
        border-radius: 16px;
    }

    .uniform-overview {
        padding-top: 8px;
    }

    .uniform-hero h1 {
        font-size: clamp(42px, 12vw, 64px);
        letter-spacing: -2px;
    }

    .uniform-hero p {
        max-width: 36ch;
        font-size: 16.5px;
    }

    .uniform-section {
        padding-top: 44px;
    }

    .uniform-guide-layout {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .uniform-rules {
        max-height: none;
        overflow: visible;
    }

    .uniform-marker {
        width: 34px;
        height: 34px;
    }

    .uniform-marker span {
        font-size: 12px;
    }

    .uniform-marker em {
        display: none;
    }
}

@media (max-width: 760px) {
    .privacy-page .page-hero {
        min-height: 240px;
    }

    .privacy-page .page-hero .hero-content {
        padding: 120px max(20px, 6%) 40px;
    }

    .privacy-page .page-hero .hero-content h1 {
        font-size: clamp(36px, 10.5vw, 52px);
        letter-spacing: -2px;
    }

    .privacy-page .page-hero .hero-content p {
        max-width: 34ch;
        font-size: 16px;
    }

    .privacy-page .page-main {
        margin-top: -20px;
        padding-bottom: 56px;
    }

    .privacy-card {
        border-radius: 20px;
        padding: 28px max(20px, 6%) 32px;
    }

    .privacy-card h2 {
        font-size: clamp(24px, 7vw, 31px);
    }

    .privacy-card h3 {
        font-size: 17px;
    }

    .privacy-card p,
    .privacy-card li,
    .privacy-card dd {
        font-size: 15px;
        line-height: 1.72;
    }

    .privacy-card .privacy-lead {
        margin-bottom: 22px;
        font-size: 16px;
        line-height: 1.65;
    }

    .privacy-toc {
        gap: 8px;
        padding: 14px;
    }

    .privacy-toc a {
        flex: 1 1 calc(50% - 8px);
        justify-content: center;
        font-size: 13px;
        min-height: 40px;
        padding: 8px 12px;
    }

    .privacy-section {
        margin-top: 30px;
        padding-top: 24px;
        scroll-margin-top: 84px;
    }

    .privacy-rights > li {
        padding: 16px 14px 16px 58px;
    }

    .privacy-rights > li::before {
        top: 16px;
        left: 12px;
        width: 32px;
        height: 32px;
    }

    .privacy-data-list,
    .privacy-contact-grid {
        grid-template-columns: 1fr;
    }

    .privacy-card ul {
        padding-left: 1.15rem;
    }

    .privacy-download .button {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 380px) {
    .privacy-page .page-hero .hero-content {
        padding-top: 118px;
    }

    .privacy-card {
        padding-right: 18px;
        padding-left: 18px;
    }
}

/* Print: clean, light document for privacybeleid */
@media print {
    @page {
        margin: 16mm 14mm;
    }

    html:has(body.privacy-page),
    body.privacy-page {
        background: #fff !important;
        color: #1a1a1a !important;
    }

    .privacy-page .navbar,
    .privacy-page .mobile-menu,
    .privacy-page .mobile-menu-button,
    .privacy-page .footer,
    .privacy-page .privacy-toc,
    .privacy-page .privacy-download {
        display: none !important;
    }

    .privacy-page .page-shell {
        background: #fff !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: visible !important;
    }

    .privacy-page .page-hero {
        min-height: 0 !important;
        margin: 0 0 12mm !important;
        padding: 0 !important;
        background: none !important;
        color: #1a1a1a !important;
        break-after: avoid;
    }

    .privacy-page .page-hero .hero-content {
        padding: 0 !important;
        max-width: none !important;
    }

    .privacy-page .page-hero .hero-content h1 {
        margin: 0 0 4mm !important;
        color: #1a1a1a !important;
        font-size: 22pt !important;
        letter-spacing: -0.5px !important;
    }

    .privacy-page .page-hero .hero-content p {
        margin: 0 !important;
        color: #444 !important;
        font-size: 11pt !important;
    }

    .privacy-page .page-main {
        margin: 0 !important;
        padding: 0 !important;
        max-width: none !important;
        width: 100% !important;
    }

    .privacy-page .privacy-card {
        max-width: none !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: #fff !important;
        box-shadow: none !important;
    }

    .privacy-page .privacy-updated {
        color: #666 !important;
        font-size: 9pt !important;
    }

    .privacy-page .privacy-lead {
        color: #222 !important;
        font-size: 11pt !important;
    }

    .privacy-page .privacy-section {
        margin-top: 7mm !important;
        padding-top: 5mm !important;
        border-top: 1px solid #ccc !important;
        break-inside: avoid;
    }

    .privacy-page .privacy-section:first-of-type {
        margin-top: 4mm !important;
        border-top: 0 !important;
        padding-top: 0 !important;
    }

    .privacy-page .privacy-card h2 {
        color: #1a1a1a !important;
        font-size: 14pt !important;
        margin-bottom: 3mm !important;
        break-after: avoid;
    }

    .privacy-page .privacy-card h3 {
        color: #222 !important;
        font-size: 11pt !important;
        break-after: avoid;
    }

    .privacy-page .privacy-card p,
    .privacy-page .privacy-card li,
    .privacy-page .privacy-card dd {
        max-width: none !important;
        color: #333 !important;
        font-size: 10pt !important;
        line-height: 1.45 !important;
    }

    .privacy-page .privacy-panel,
    .privacy-page .privacy-rights > li,
    .privacy-page .privacy-data-list > div {
        background: #fff !important;
        border: 1px solid #ccc !important;
        box-shadow: none !important;
        break-inside: avoid;
    }

    .privacy-page .privacy-panel-label {
        color: #666 !important;
    }

    .privacy-page .privacy-panel-title,
    .privacy-page .privacy-data-list dt {
        color: #1a1a1a !important;
    }

    .privacy-page .privacy-rights > li::before {
        background: #1a1a1a !important;
        color: #fff !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .privacy-page .privacy-data-list,
    .privacy-page .privacy-contact-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 3mm !important;
    }

    .privacy-page .privacy-card a:not(.button) {
        color: #1a1a1a !important;
        font-weight: 600;
        text-decoration: underline;
    }

    .privacy-page .privacy-card a[href^="http"]::after,
    .privacy-page .privacy-card a[href^="mailto:"]::after {
        content: " (" attr(href) ")";
        font-size: 8pt;
        font-weight: 500;
        word-break: break-all;
        color: #555;
    }

    .privacy-page .privacy-card a[href^="/"]::after {
        content: " (https://scoutslille.be" attr(href) ")";
        font-size: 8pt;
        font-weight: 500;
        word-break: break-all;
        color: #555;
    }
}

/* ===== responsive.css ===== */
/* Mobiele navigatie */
@media (max-width: 950px) {
    .navbar .brand-logo {
        width: 48px;
        height: 48px;
    }

    .desktop-nav,
    .nav-cta {
        display: none;
    }

    /* Admin actions stay visible on every screen size. */
    .admin-page .admin-toolbar {
        display: flex;
    }

    .admin-page .admin-tool-btn {
        display: inline-flex;
    }

}

/* Subpagina's (uniform, over-ons, inschrijven, ...) */
@media (max-width: 760px) {
    .page-hero:empty {
        display: none;
    }

    .page-hero .hero-content {
        padding-top: 120px;
    }

    body.home-page .hero {
        min-height: 0;
    }

    .page-hero .hero-content h1.eyebrow {
        margin-bottom: 0;
        font-family: "Montserrat", sans-serif;
        font-size: clamp(34px, 10vw, 52px);
        line-height: 0.98;
        letter-spacing: -1px;
    }

    .page-intro {
        grid-template-columns: 1fr;
        display: grid;
    }

    .new-member-layout,
    .registration-layout,
    .registration-payment-layout {
        grid-template-columns: 1fr;
    }

    .registration-choice-buttons {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .registration-payment-layout {
        gap: 18px;
    }

    .registration-payment-qr {
        justify-self: stretch;
        align-items: center;
        width: 100%;
        max-width: none;
        padding: 20px 16px 18px;
    }

    .registration-payment-qr-code {
        width: min(240px, 72vw);
        height: min(240px, 72vw);
        margin-inline: auto;
        padding: 16px;
    }

    .registration-payment-qr-code img,
    .registration-payment-qr-code canvas,
    .registration-payment-qr-code table {
        width: min(208px, calc(72vw - 32px)) !important;
        height: min(208px, calc(72vw - 32px)) !important;
    }

    .registration-payment-qr p {
        max-width: 34ch;
        margin-inline: auto;
    }

    .field-row {
        grid-template-columns: 1fr;
    }

    .registration-form,
    .contact-card {
        padding: 22px 18px;
    }

    .registration-info-content {
        padding: 20px 18px;
    }

    .registration-form .button,
    .contact-card .button,
    .registration-hero .hero-actions .button {
        width: 100%;
    }

    .checkbox-row {
        align-items: flex-start;
    }

    .branch-detail-layout {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .branch-detail-layout .page-card {
        padding: 22px 18px;
    }

    .branch-photo {
        min-height: 240px;
        max-height: 360px;
    }

    .page-over-ons {
        padding: 90px 6% 0;
    }

    .about-hero {
        min-height: 260px;
        border-radius: 20px;
        margin-bottom: 18px;
    }

    .story-scroller {
        grid-auto-flow: row;
        grid-auto-columns: auto;
        overflow: visible;
        padding: 0;
        gap: 16px;
    }

    .story-card {
        padding: 20px 18px;
        border-radius: 20px;
    }

    .cta-box {
        display: grid;
        grid-template-columns: 1fr;
        text-align: left;
    }

    .footer {
        padding: 36px 6% 18px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .footer-brand p {
        margin-top: 10px;
        font-size: 13px;
        max-width: 34ch;
    }

    .footer-column {
        gap: 6px;
    }

    .footer-column > span {
        margin-bottom: 4px;
        font-size: 10px;
    }

    .footer-column a,
    .footer-column p {
        overflow-wrap: anywhere;
        font-size: 14px;
        min-height: 0;
        line-height: 1.35;
    }

    .footer-bottom {
        margin-top: 22px;
        padding-top: 14px;
        flex-direction: column;
        gap: 4px;
    }

    .admin-photo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
}

/* ==========================================================
   Responsive finishing pass
   Keeps the desktop composition intact while tightening the
   existing mobile cascade for narrow phones and tablets.
   ========================================================== */

@media (max-width: 1024px) {
    .section,
    .page-main,
    .page-over-ons,
    .secondhand-intro,
    .secondhand-process {
        padding-inline: clamp(20px, 5vw, 6%);
    }

    .section {
        padding-block: clamp(42px, 6vw, 64px);
    }

    .page-main {
        width: 100%;
    }

    .story-scroller,
    .secondhand-scroll {
        min-width: 0;
    }
}

@media (max-width: 768px) {
    html,
    body {
        max-width: 100%;
        overflow-x: clip;
    }

    body {
        overflow-wrap: anywhere;
    }

    .nav-inner {
        width: 100%;
        padding-inline: max(16px, env(safe-area-inset-left), 5%);
        padding-right: max(16px, env(safe-area-inset-right), 5%);
    }

    .mobile-menu-button,
    .mobile-menu a,
    .button,
    .nav-cta {
        min-height: 44px;
    }

    .mobile-menu {
        padding-left: max(16px, env(safe-area-inset-left), 5%);
        padding-right: max(16px, env(safe-area-inset-right), 5%);
    }

    .hero,
    body.home-page .hero {
        min-height: clamp(440px, 78lvh, 620px);
        width: 100%;
        aspect-ratio: auto;
    }

    .hero-content {
        padding: clamp(112px, 18vw, 138px) max(20px, 6%) clamp(56px, 12vw, 92px);
    }

    .hero h1 {
        max-width: 100%;
        font-size: clamp(36px, 10vw, 58px);
        overflow-wrap: normal;
    }

    .hero-actions,
    .cta-box,
    .submit-row {
        max-width: 100%;
    }

    .section,
    .page-main,
    .page-over-ons,
    .secondhand-intro,
    .secondhand-process {
        padding-left: max(20px, 6%);
        padding-right: max(20px, 6%);
    }

    .section {
        padding-block: clamp(38px, 9vw, 56px);
    }

    .section-top,
    .section-top > div,
    .agenda-body,
    .branch-main,
    .page-card,
    .story-card,
    .admin-card,
    .admin-item {
        min-width: 0;
    }

    .branch-main h3,
    .agenda-body h3,
    .story-card h3,
    .page-card h2,
    .page-card h3 {
        overflow-wrap: anywhere;
    }

    .branch {
        grid-template-rows: 1fr;
        grid-template-areas: "main logo";
    }

    .page-hero,
    .registration-hero,
    .news-hero,
    .secondhand-hero {
        min-height: 0;
    }

    .page-hero .hero-content {
        padding: clamp(92px, 16vw, 124px) max(20px, 6%) clamp(42px, 9vw, 68px);
    }

    .page-hero .hero-content h1 {
        max-width: 100%;
        font-size: clamp(34px, 10vw, 58px);
        line-height: 0.98;
        letter-spacing: -1.5px;
    }

    .page-hero .hero-content p,
    .about-hero-copy p,
    .section-heading p {
        max-width: 100%;
        font-size: clamp(15px, 3.8vw, 18px);
    }

    .document-resource-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .document-resource-grid .planning-download-card {
        padding: 18px 16px;
    }

    .document-resource-grid .planning-download-header {
        margin-bottom: 8px;
    }

    .agenda-summary {
        grid-template-columns: 78px minmax(0, 1fr);
        gap: 14px;
    }

    .agenda-details {
        padding: 0;
    }

    .agenda-item.has-agenda-image .agenda-details {
        display: grid;
    }

    .agenda-item.has-agenda-image .agenda-details-inner {
        display: block;
    }

    .agenda-item.has-agenda-image .agenda-details-inner .responsive-full-link,
    .agenda-item.has-agenda-image .agenda-details-inner picture {
        width: min(100%, 360px);
        margin-top: 12px;
    }

    .agenda-item.has-agenda-image .agenda-details-inner img,
    .agenda-item.has-agenda-image .agenda-details-inner picture img {
        width: 100%;
        max-width: 360px;
        height: auto;
        max-height: none;
        object-fit: contain;
    }

    .document-resource-grid .document-action-button {
        margin-top: 0;
        justify-content: flex-start;
    }

    .planning-download-button {
        min-height: 58px;
        padding: 10px 12px;
        gap: 12px;
    }

    .planning-download-button-icon {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
        border-radius: 10px;
    }

    .planning-download-button-copy strong {
        font-size: 14px;
    }

    .about-hero {
        min-height: clamp(250px, 66vw, 360px);
        margin-top: 0;
    }

    .page-over-ons {
        padding-top: clamp(88px, 20vw, 112px);
    }

    .about-hero-copy {
        padding: 24px max(18px, 5vw) 24px;
    }

    .secondhand-intro,
    .secondhand-process {
        padding-top: clamp(48px, 10vw, 84px);
    }

    .secondhand-scroll {
        margin-inline: 0;
    }

    .secondhand-item {
        flex-basis: min(82vw, 340px);
    }

    .footer {
        padding-left: max(20px, 6%);
        padding-right: max(20px, 6%);
        padding-bottom: max(22px, env(safe-area-inset-bottom));
    }

    .admin-page .admin-nav-inner {
        padding-block: 10px;
    }

    .admin-shell {
        width: min(100% - 32px, 1240px);
        padding-block: 24px 28px;
    }

    .page-picker-grid,
    .admin-photo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .document-action-button {
        width: 100%;
    }

    .admin-page .admin-grid,
    .admin-page .admin-grid:has(> .admin-card:only-child),
    .admin-page .admin-grid:has(.admin-photos-card) {
        grid-template-columns: 1fr;
    }

    .admin-grid {
        gap: 14px;
    }

    .admin-card-head,
    .admin-item-head,
    .admin-secondhand-row {
        min-width: 0;
    }

    .admin-card-head {
        align-items: flex-start;
    }

    .admin-fields textarea,
    .admin-fields textarea[data-page-field="intro"],
    .admin-fields textarea[data-page-field="history"] {
        min-height: 150px;
    }

    .admin-page .admin-card {
        padding: 14px;
        border-radius: 13px;
    }

    .admin-page .admin-fields input,
    .admin-page .admin-fields textarea,
    .admin-page .admin-item input,
    .admin-page .admin-item textarea,
    .admin-page .admin-item select {
        max-width: 100%;
        box-sizing: border-box;
    }

    .admin-page .admin-tool-btn {
        flex: 1 1 0;
        min-width: 0;
        padding-inline: 10px;
        text-align: center;
    }

    .admin-photo-card-content,
    .admin-secondhand-content {
        padding: 14px;
    }

    .save-row {
        bottom: max(12px, env(safe-area-inset-bottom));
    }
}

@media (max-width: 480px) {
    .nav-inner {
        padding-block: 8px;
    }

    .hero,
    body.home-page .hero {
        min-height: clamp(420px, 76lvh, 540px);
    }

    .hero-content {
        width: calc(100% - 48px);
        max-width: 360px;
        margin-inline: auto;
        padding-left: 0;
        padding-right: 0;
        padding-top: 104px;
        padding-bottom: 52px;
    }

    .hero h1 {
        font-size: clamp(34px, 10.5vw, 48px);
        letter-spacing: -1.5px;
    }

    .hero-actions .button,
    .cta-box .button,
    .registration-form .button,
    .contact-card .button {
        width: 100%;
    }

    .agenda-item {
        grid-template-columns: 66px minmax(0, 1fr);
        gap: 10px;
        padding: 11px;
    }

    .agenda-summary {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 10px;
    }

    .agenda-details {
        grid-column: 1 / -1;
        padding: 0 6px;
    }

    .agenda-date {
        flex-shrink: 0;
        min-width: 0;
        width: 66px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0;
        padding-inline: 6px;
    }

    .agenda-date.is-range {
        width: 66px;
        min-width: 66px;
        max-width: 66px;
        gap: 3px;
        padding-inline: 6px;
    }

    .agenda-date strong,
    .agenda-date-part strong {
        white-space: nowrap;
    }

    .agenda-date > span,
    .agenda-date-part > span {
        margin-top: 6px;
        font-size: 10px;
        white-space: nowrap;
    }

    .agenda-body {
        min-width: 0;
        overflow: hidden;
    }

    .branch {
        grid-template-columns: minmax(0, 1fr) 46px;
        padding-inline: 12px;
    }

    .branch-logo {
        width: 46px;
        height: 46px;
        min-width: 46px;
    }

    .page-card,
    .registration-form,
    .contact-card {
        padding-inline: 16px;
    }

    .tak-list li > span:not([class]) {
        min-width: 0;
    }

    .page-picker-grid,
    .admin-photo-grid {
        grid-template-columns: 1fr;
    }

    .admin-card-head {
        flex-direction: column;
        gap: 10px;
    }

    .admin-card-head .mini-button {
        align-self: flex-start;
        min-height: 40px;
    }

    .secondhand-empty {
        width: 100%;
        padding: 28px 20px;
        border-radius: 18px;
    }

    .secondhand-empty p {
        font-size: 14px;
        max-width: 32ch;
    }

    .secondhand-scroll-button[hidden] {
        display: none !important;
    }
}

@media (max-width: 360px) {
    .admin-shell {
        width: min(100% - 24px, 1240px);
    }

    .mobile-menu a {
        font-size: 15px;
    }

    .hero h1 {
        font-size: 33px;
    }

    .section-top h2,
    .practical-heading h2 {
        font-size: 30px;
    }

    .agenda-item {
        grid-template-columns: 58px minmax(0, 1fr);
    }

    .agenda-summary {
        grid-template-columns: 58px minmax(0, 1fr);
    }

    .agenda-details {
        padding: 0 6px;
    }

    .agenda-date {
        width: 58px;
    }
}

@media (min-width: 1025px) {
    body.home-page .hero {
        background-position: center, center bottom;
        background-size: cover, 125% auto;
    }

    body.home-page .branches {
        position: relative;
        z-index: 3;
        margin-top: -80px;
        padding-top: 0;
        padding-bottom: 64px;
    }

    body.home-page .branches .section-top {
        position: relative;
        top: -80px;
        margin-bottom: 10px;
    }

    body.home-page .branches .branch-list {
        position: relative;
        top: -48px;
    }
}

@media (max-width: 1024px) {
    body.home-page .branches {
        padding-bottom: 32px;
    }
}

@media (max-width: 950px) {
    .mobile-menu-button {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        padding: 0;
        border: 1px solid rgba(255, 255, 255, 0.45);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.08);
        cursor: pointer;
    }

    .mobile-menu-button:hover,
    .mobile-menu-button:focus-visible {
        background: rgba(255, 255, 255, 0.16);
    }

    .mobile-menu-button span {
        position: absolute;
        left: 13px;
        width: 18px;
        height: 2px;
        margin: 0;
        border-radius: 999px;
        background: #fff;
        transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
    }

    .mobile-menu-button span:nth-child(1) {
        top: 16px;
    }

    .mobile-menu-button span:nth-child(2) {
        top: 21px;
    }

    .mobile-menu-button span:nth-child(3) {
        top: 26px;
    }

    .mobile-menu-button.is-open span:nth-child(1),
    .mobile-menu-button.is-open span:nth-child(3) {
        top: 21px;
    }

    .mobile-menu-button.is-open span:nth-child(1) {
        transform: rotate(45deg);
    }

    .mobile-menu-button.is-open span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-button.is-open span:nth-child(3) {
        transform: rotate(-45deg);
    }

    .mobile-menu {
        display: none;
        flex-direction: column;
        gap: 4px;
        width: calc(100% - 24px);
        max-width: 420px;
        margin: 10px 12px 0 auto;
        padding: 12px;
        background: #0d1a14;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 20px;
        box-shadow: 0 18px 40px rgba(8, 16, 12, 0.35);
    }

    .mobile-menu.open {
        display: flex;
        animation: mobileMenuIn 0.22s ease-out both;
    }

    .mobile-menu a {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        min-height: 48px;
        padding: 0 16px;
        border: 0;
        border-radius: 12px;
        color: #f0f3f1;
        font-size: 16px;
        font-weight: 600;
    }

    .mobile-menu a::after {
        content: none;
    }

    .mobile-menu a:hover,
    .mobile-menu a:focus-visible {
        color: #fff;
        background: rgba(255, 255, 255, 0.06);
    }

    .mobile-menu a:last-child {
        justify-content: center;
        margin-top: 6px;
        border: 1px solid var(--scout-orange);
        border-radius: 999px;
        background: linear-gradient(135deg, var(--scout-orange), #c1791a);
        color: #fff;
        font-size: 13px;
        font-weight: 700;
    }

    .mobile-menu a:last-child:hover,
    .mobile-menu a:last-child:focus-visible {
        background: #c3731a;
        color: #fff;
    }
}

@keyframes mobileMenuIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================
   Clarity pass — phones & tablets
   Larger tap targets, steadier type, less cramped layouts.
   ========================================================== */

@media (max-width: 1024px) {
    body {
        overflow-wrap: break-word;
        word-break: normal;
    }

    .section-top h2,
    .practical-heading h2,
    .page-card h2,
    .page-card h3 {
        overflow-wrap: break-word;
        word-break: normal;
        hyphens: auto;
    }

    .section-top p,
    .page-hero .hero-content p,
    .page-card p,
    .story-card p,
    .info-item strong {
        line-height: 1.55;
    }

    .info-grid {
        gap: 12px;
    }
}

@media (max-width: 950px) {
    .mobile-menu a:last-child {
        min-height: 50px;
        font-size: 15px;
    }

    .page-main,
    .page-over-ons,
    .secondhand-intro,
    .secondhand-process {
        padding-inline: max(18px, 5%);
    }

    .branch-detail-layout {
        gap: 20px;
    }

    .uniform-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}

@media (max-width: 768px) {
    /* Prevent iOS zoom on focus */
    input,
    select,
    textarea {
        font-size: 16px !important;
    }

    .news-carousel-dot {
        width: 12px;
        height: 12px;
        min-width: 12px;
    }

    .news-carousel-dots {
        gap: 10px;
        padding: 4px;
    }

    .news-carousel-status {
        font-size: 11px;
        letter-spacing: 0.04em;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        width: 100%;
        max-width: 420px;
    }

    .hero-actions .button,
    .hero-actions .button-primary,
    .hero-actions .button-ghost {
        width: 100%;
        justify-content: center;
        min-height: 50px;
    }

    .section-top {
        gap: 10px;
        margin-bottom: 22px;
    }

    .section-top h2,
    .practical-heading h2 {
        line-height: 1.08;
    }

    .section-top p,
    .practical-heading p {
        font-size: 15px;
        line-height: 1.6;
        max-width: 42ch;
    }

    .branch {
        min-height: 152px;
        padding: 20px 76px 20px 18px;
    }

    .branch-main h3 {
        color: #2f1810;
        font-size: clamp(26px, 7vw, 30px);
        line-height: 1.12;
        font-weight: 800;
    }

    .branch-main span,
    .branch-main p,
    .branch-age {
        color: color-mix(in srgb, var(--branch-accent, var(--scout-orange)) 40%, #2f1810);
        font-size: 16px;
        line-height: 1.35;
        font-weight: 700;
    }

    .agenda-item,
    .news-item {
        border-radius: 16px;
    }

    .agenda-body h3,
    .news-copy h3 {
        font-size: clamp(16px, 4.6vw, 19px);
        line-height: 1.25;
    }

    .agenda-details-inner p,
    .news-details-inner p,
    .news-teaser {
        font-size: 14px;
        line-height: 1.55;
    }

    .faq-item summary {
        min-height: 56px;
        font-size: 15px;
        line-height: 1.35;
        padding-inline: 16px;
    }

    .page-card,
    .registration-form,
    .contact-card,
    .registration-info-content,
    .story-card {
        padding: 20px 18px;
        border-radius: 18px;
    }

    .page-card p,
    .registration-info-content p,
    .story-card p,
    .contact-card p {
        font-size: 15px;
        line-height: 1.6;
    }

    .privacy-toc {
        gap: 8px;
    }

    .privacy-toc a {
        flex: 1 1 auto;
        justify-content: center;
        min-height: 40px;
        font-size: 13px;
    }

    .privacy-rights > li {
        padding: 16px 14px 16px 58px;
    }

    .privacy-data-list,
    .privacy-contact-grid {
        grid-template-columns: 1fr;
    }

    .document-resource-grid .document-action-button,
    .document-resource-grid .planning-download-card .button {
        width: 100%;
        min-height: 48px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .mobile-menu {
        width: calc(100% - 16px);
        margin-inline: 8px;
        margin-left: auto;
        border-radius: 18px;
    }

    .hero-content {
        width: auto;
        max-width: none;
        margin-inline: 0;
        padding-inline: max(16px, 5%);
    }

    .hero h1 {
        font-size: clamp(32px, 10vw, 44px);
        line-height: 1.02;
    }

    .hero-actions {
        max-width: none;
    }

    .section-top p,
    .practical-heading p {
        max-width: none;
    }

    .branch {
        grid-template-columns: minmax(0, 1fr) 44px;
        gap: 8px;
        padding: 12px;
    }

    .branch-logo {
        width: 44px;
        height: 44px;
        min-width: 44px;
    }

    .agenda-summary,
    .news-summary {
        gap: 10px;
    }

    .agenda-date strong {
        font-size: 22px;
    }

    .news-copy h3,
    .agenda-body h3 {
        font-size: 16px;
    }

    .page-hero .hero-content h1 {
        font-size: clamp(30px, 9.5vw, 42px);
        letter-spacing: -1px;
    }

    .page-hero .hero-content p {
        font-size: 15px;
        line-height: 1.55;
    }

    .uniform-grid {
        grid-template-columns: 1fr;
    }

    .registration-choice-button {
        min-height: 52px;
        padding: 12px 10px;
    }

    .registration-choice-button span {
        font-size: clamp(15px, 4.2vw, 18px);
    }

    .privacy-toc a {
        flex: 1 1 calc(50% - 8px);
        font-size: 12px;
        padding-inline: 10px;
    }

    .privacy-panel {
        padding: 16px;
    }

    .privacy-panel-title {
        font-size: 16px;
    }

    .footer {
        padding: 28px 5% max(14px, env(safe-area-inset-bottom));
    }

    .footer-main {
        gap: 18px;
    }

    .footer-bottom {
        margin-top: 18px;
    }
}

@media (max-width: 360px) {
    .mobile-menu a {
        font-size: 15px;
        min-height: 46px;
    }

    .privacy-toc a {
        flex-basis: 100%;
    }

    .branch-main h3 {
        font-size: 25px;
    }

    .branch-age,
    .branch-main span {
        font-size: 15px;
    }
}
