:root {
    --sea-dark: #07536b;
    --sea: #0f8eae;
    --sea-light: #76d7e7;
    --sea-soft: #def7fb;

    --sand: #efd19b;
    --sand-light: #fff4dc;
    --sand-soft: #fffaf0;

    --sun: #ffd45d;
    --sun-light: #ffedac;

    --white: #ffffff;
    --text: #173f4b;
    --text-soft: #5d7881;
    --border: rgba(7, 83, 107, 0.13);

    --shadow-small: 0 10px 28px rgba(7, 83, 107, 0.10);
    --shadow-medium: 0 18px 50px rgba(7, 83, 107, 0.14);
    --shadow-large: 0 28px 80px rgba(7, 83, 107, 0.20);

    --radius-small: 18px;
    --radius-medium: 28px;
    --radius-large: 42px;

    --page-width: 1160px;
}

/* Basis */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;

    color: var(--text);
    font-family: "DM Sans", Arial, sans-serif;
    line-height: 1.65;

    background:
        radial-gradient(
            circle at 10% 18%,
            rgba(118, 215, 231, 0.12),
            transparent 28%
        ),
        radial-gradient(
            circle at 88% 34%,
            rgba(255, 212, 93, 0.10),
            transparent 24%
        ),
        linear-gradient(
            180deg,
            var(--sand-soft) 0%,
            #ffffff 55%,
            var(--sea-soft) 100%
        );
}

body.lightbox-open {
    overflow: hidden;
}

img,
svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    line-height: 1.08;
}

address {
    font-style: normal;
}

::selection {
    color: var(--white);
    background: var(--sea);
}

/* Toegankelijkheid */

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 10000;

    padding: 12px 18px;

    color: var(--white);
    background: var(--sea-dark);

    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;

    transform: translateY(-180%);
    transition: transform 0.2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

a:focus-visible,
button:focus-visible {
    outline: 4px solid var(--sun);
    outline-offset: 4px;
}

/* Algemene secties */

.section {
    width: min(var(--page-width), calc(100% - 40px));
    margin-inline: auto;
    padding: 90px 0;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 46px;
    text-align: center;
}

.section-label,
.menu-card-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 12px;
    padding: 8px 16px;

    color: var(--sea-dark);
    background: var(--sea-soft);

    border: 1px solid rgba(15, 142, 174, 0.18);
    border-radius: 999px;

    font-family: "Baloo 2", sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
}

.section-heading h2,
.location-content h2,
.parking-content h2,
.questions-content h2,
.final-registration h2 {
    margin-bottom: 14px;

    color: var(--sea-dark);
    font-family: "Baloo 2", sans-serif;
    font-size: clamp(2.8rem, 6vw, 4.6rem);
    font-weight: 800;
}

.section-heading p {
    margin-bottom: 0;
    color: var(--text-soft);
    font-size: 1.1rem;
}

/* Knoppen */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    min-height: 56px;
    padding: 14px 26px;

    border: 0;
    border-radius: 999px;

    text-align: center;
    text-decoration: none;

    font-family: "Baloo 2", sans-serif;
    font-size: 1.04rem;
    font-weight: 800;

    cursor: pointer;

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        background-color 0.22s ease,
        color 0.22s ease;
}

.button:hover {
    transform: translateY(-4px);
}

.button-primary {
    color: #624900;

    background:
        linear-gradient(
            135deg,
            var(--sun-light),
            var(--sun)
        );

    box-shadow:
        0 14px 32px rgba(255, 199, 48, 0.30),
        inset 0 1px 0 rgba(255, 255, 255, 0.80);
}

.button-outline {
    color: var(--sea-dark);
    background: transparent;
    border: 2px solid var(--sea);
}

.button-outline:hover {
    color: var(--white);
    background: var(--sea);
}

/* Confetti */

.confetti-layer {
    position: fixed;
    inset: 0;
    z-index: 9998;

    overflow: hidden;
    pointer-events: none;
}

.confetti-piece {
    position: absolute;
    top: -24px;

    width: 10px;
    height: 15px;

    border-radius: 3px;

    animation: confetti-fall var(--duration, 4s) linear forwards;
}

@keyframes confetti-fall {
    from {
        opacity: 1;
        transform:
            translateY(-20px)
            translateX(0)
            rotate(0deg);
    }

    to {
        opacity: 0;
        transform:
            translateY(110vh)
            translateX(var(--drift, 30px))
            rotate(720deg);
    }
}

/* Navigatie */

.mobile-register-button {
    display: none;
}

.main-nav {
    position: fixed;
    top: 14px;
    left: 50%;
    z-index: 1000;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;

    width: min(1120px, calc(100% - 28px));
    min-height: 70px;
    padding: 9px 12px 9px 16px;

    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.91);

    box-shadow:
        0 16px 42px rgba(7, 83, 107, 0.16);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    transform: translateX(-50%);
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: var(--sea-dark);
    text-decoration: none;

    font-family: "Baloo 2", sans-serif;
    font-size: 1.12rem;
    font-weight: 800;
}

.nav-logo img {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links a {
    padding: 10px 12px;

    color: var(--sea-dark);
    border-radius: 999px;

    text-decoration: none;
    font-weight: 700;
}

.nav-links a:hover {
    background: var(--sea-soft);
}

.nav-register {
    color: #624900 !important;

    background:
        linear-gradient(
            135deg,
            var(--sun-light),
            var(--sun)
        ) !important;
}

.nav-toggle {
    display: none;

    width: 46px;
    height: 46px;
    padding: 0;

    border: 0;
    border-radius: 50%;

    background: var(--sea-soft);
}

.nav-toggle span {
    display: block;

    width: 21px;
    height: 2px;
    margin: 5px auto;

    border-radius: 10px;
    background: var(--sea-dark);

    transition:
        transform 0.22s ease,
        opacity 0.22s ease;
}

/* Hero */

.hero {
    position: relative;
    isolation: isolate;

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 100svh;
    padding: 125px 24px 160px;

    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: -4;

    background:
        url("images/strand.jpg")
        center 52% / cover no-repeat;

    transform: scale(1.03);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -3;

    background:
        linear-gradient(
            180deg,
            rgba(7, 83, 107, 0.03),
            rgba(7, 83, 107, 0.14) 42%,
            rgba(7, 83, 107, 0.60)
        );
}

.hero-content {
    position: relative;
    z-index: 2;

    width: min(860px, 100%);

    color: var(--white);
    text-align: center;

    text-shadow:
        0 3px 14px rgba(7, 83, 107, 0.32);

    animation: hero-arrive 0.9s ease both;
}

.hero-eyebrow {
    margin-bottom: -10px;

    color: var(--sun-light);

    font-family: "Baloo 2", sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
}

.hero h1 {
    margin-bottom: 26px;

    color: #fff7d5;

    font-family: "Baloo 2", sans-serif;
    font-size: clamp(4.4rem, 9vw, 7.5rem);
    font-weight: 800;
    letter-spacing: -0.05em;

    text-shadow:
        0 18px 44px rgba(7, 83, 107, 0.45);
}

.hero-details {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 13px;

    margin: 0 0 28px;
}

.hero-detail {
    display: flex;
    align-items: center;
    gap: 12px;

    min-width: 260px;
    padding: 13px 17px;

    text-align: left;

    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 18px;

    background: rgba(7, 83, 107, 0.32);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-detail-icon {
    font-size: 1.45rem;
}

.hero-detail strong,
.hero-detail span {
    display: block;
}

.hero-detail span {
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.92rem;
}

.hero-register-button {
    min-height: 66px;
    padding-inline: 36px;

    font-size: 1.2rem;

    border: 2px solid rgba(255, 255, 255, 0.86);

    box-shadow:
        0 18px 42px rgba(255, 199, 48, 0.40),
        0 8px 26px rgba(7, 83, 107, 0.20);
}

.countdown {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 11px;

    max-width: 620px;
    margin: 32px auto 0;
}

.countdown-item {
    padding: 13px 10px;

    border: 1px solid rgba(255, 255, 255, 0.40);
    border-radius: 18px;

    background: rgba(7, 83, 107, 0.25);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.countdown-item strong {
    display: block;

    color: var(--sun-light);
    font-family: "Baloo 2", sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    line-height: 1;
}

.countdown-item span {
    display: block;
    margin-top: 4px;

    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    z-index: 4;

    width: 100%;
    height: 140px;
}

.hero-wave svg {
    width: 100%;
    height: 100%;
}

.hero-wave path {
    fill: var(--sand-soft);
}

/* Aanmelden */

.registration-section {
    padding-top: 54px;
}

.registration-layout {
    display: grid;
    grid-template-columns: 0.78fr 1.22fr;
    gap: 28px;
    align-items: start;
}

.registration-summary,
.form-card,
.location-card,
.parking-card,
.questions-card,
.menu-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-large);

    background: rgba(255, 255, 255, 0.96);

    box-shadow: var(--shadow-large);
}

.registration-summary {
    overflow: hidden;
}

.registration-image-wrapper {
    height: 320px;
    overflow: hidden;
}

.registration-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.registration-summary-content {
    padding: 27px;
}

.registration-summary-content h3 {
    margin-bottom: 10px;

    color: var(--sea-dark);

    font-family: "Baloo 2", sans-serif;
    font-size: 2rem;
}

.registration-summary-content > p {
    color: var(--text-soft);
}

.registration-facts {
    display: grid;
    gap: 11px;

    margin-top: 22px;
}

.registration-fact {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 13px;

    border: 1px solid var(--border);
    border-radius: 17px;

    background: var(--sand-soft);
}

.registration-fact > span {
    display: grid;
    place-items: center;

    flex: 0 0 44px;
    width: 44px;
    height: 44px;

    border-radius: 50%;
    background: var(--sea-soft);

    font-size: 1.25rem;
}

.registration-fact strong,
.registration-fact small {
    display: block;
}

.registration-fact strong {
    color: var(--sea-dark);
}

.registration-fact small {
    color: var(--text-soft);
}

.form-contact {
    display: flex;
    gap: 13px;

    margin-top: 22px;
    padding: 16px;

    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            var(--sea-soft),
            var(--sand-light)
        );
}

.form-contact-icon {
    display: grid;
    place-items: center;

    flex: 0 0 46px;
    width: 46px;
    height: 46px;

    border-radius: 50%;
    background: var(--white);

    font-size: 1.3rem;
}

.form-contact strong {
    display: block;
    color: var(--sea-dark);
}

.form-contact p {
    margin: 2px 0 0;
    color: var(--text-soft);
}

.form-contact a {
    color: var(--sea-dark);
    font-weight: 800;
}

.form-card {
    overflow: hidden;

    border-width: 3px;
    border-color: rgba(15, 142, 174, 0.24);
}

.form-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;

    padding: 18px 22px;

    color: var(--sea-dark);

    background:
        linear-gradient(
            135deg,
            var(--sea-soft),
            var(--sand-light)
        );
}

.form-card-header > div {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    font-family: "Baloo 2", sans-serif;
    font-size: 1.13rem;
}

.form-card-header small {
    color: var(--text-soft);
}

.menu-before-form {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: center;
    margin: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    background: var(--sand-soft);
    border: 1px solid var(--border);
}
.menu-before-form > span { font-size: 1.5rem; }
.menu-before-form strong { display: block; color: var(--sea-dark); }
.menu-before-form p { margin: 0; color: var(--text-soft); font-size: .92rem; }
.menu-before-form a { color: var(--sea); font-weight: 800; }

.form-frame-wrapper {
    padding: 8px;
}

.google-form {
    display: block;

    width: 100%;
    min-height: 1220px;

    border: 0;
    border-radius: 20px;
}

.form-card-footer {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;

    padding: 16px 20px 20px;

    background: var(--sand-soft);
}

.form-card-footer > div {
    padding: 12px;

    text-align: center;

    border: 1px solid var(--border);
    border-radius: 15px;

    background: var(--white);
}

.form-card-footer strong,
.form-card-footer a {
    display: block;
}

.form-card-footer strong {
    color: var(--sea-dark);
}

.form-card-footer a {
    color: var(--sea);
    font-size: 0.9rem;
    font-weight: 800;
}

/* Programma */

.program-timeline {
    display: grid;
    gap: 20px;

    max-width: 900px;
    margin-inline: auto;
}

.program-item {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 24px;
    align-items: center;

    padding: 24px;

    border: 1px solid var(--border);
    border-radius: 28px;

    background: var(--white);

    box-shadow: var(--shadow-medium);
}

.program-time {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: 104px;
    padding: 14px;

    color: #644900;

    background:
        linear-gradient(
            135deg,
            var(--sun-light),
            var(--sun)
        );

    border-radius: 22px;
}

.program-time span {
    font-family: "Baloo 2", sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
}

.program-content {
    display: flex;
    align-items: center;
    gap: 18px;
}

.program-icon {
    display: grid;
    place-items: center;

    flex: 0 0 62px;
    width: 62px;
    height: 62px;

    border-radius: 50%;
    background: var(--sea-soft);

    font-size: 1.7rem;
}

.program-content h3 {
    margin-bottom: 7px;

    color: var(--sea-dark);

    font-family: "Baloo 2", sans-serif;
    font-size: 1.9rem;
}

.program-content p {
    margin-bottom: 0;
    color: var(--text-soft);
}

/* Menukaarten */

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.menu-card {
    overflow: hidden;
}

.menu-image-button {
    position: relative;

    display: block;

    width: 100%;
    height: 570px;
    padding: 0;

    overflow: hidden;

    border: 0;
    background: var(--sand-light);

    cursor: zoom-in;
}

.menu-image-button img {
    width: 100%;
    height: 100%;

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

    transition: transform 0.35s ease;
}

.menu-image-button:hover img {
    transform: scale(1.025);
}

.menu-zoom {
    position: absolute;
    right: 16px;
    bottom: 16px;

    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 9px 14px;

    color: var(--sea-dark);
    background: rgba(255, 255, 255, 0.94);

    border-radius: 999px;

    font-weight: 800;

    box-shadow: var(--shadow-small);
}

.menu-card-content {
    padding: 26px;
}

.menu-card-content h3 {
    margin-bottom: 9px;

    color: var(--sea-dark);

    font-family: "Baloo 2", sans-serif;
    font-size: 2.2rem;
}

.menu-card-content p {
    color: var(--text-soft);
}

.menu-open-button {
    margin-top: 4px;
}

.menu-reminder {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 18px;
    align-items: center;

    margin-top: 30px;
    padding: 22px 26px;

    border: 1px solid var(--border);
    border-radius: 25px;

    background:
        linear-gradient(
            135deg,
            var(--sea-soft),
            var(--sand-light)
        );

    box-shadow: var(--shadow-medium);
}

.menu-reminder > span {
    font-size: 2rem;
}

.menu-reminder p {
    margin-bottom: 0;
    color: var(--sea-dark);
    font-weight: 700;
}

/* Locatie en parkeren */

.location-card,
.parking-card {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;

    padding: 40px;
}

.location-image-wrapper,
.parking-image-wrapper {
    position: relative;

    overflow: hidden;
    border-radius: 28px;
}

.location-image,
.parking-image {
    width: 100%;
    min-height: 400px;

    object-fit: cover;
}

.location-image-badge,
.parking-discount-badge {
    position: absolute;
    left: 18px;
    bottom: 18px;

    padding: 10px 15px;

    border-radius: 18px;

    background: rgba(255, 255, 255, 0.94);

    box-shadow: var(--shadow-small);
}

.location-image-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: var(--sea-dark);
    font-weight: 800;
}

.parking-discount-badge {
    display: flex;
    align-items: center;
    gap: 9px;

    color: #624900;

    background:
        linear-gradient(
            135deg,
            var(--sun-light),
            var(--sun)
        );
}

.parking-discount-badge strong {
    font-family: "Baloo 2", sans-serif;
    font-size: 2rem;
}

.location-content address,
.parking-content address {
    margin: 20px 0;

    color: var(--sea-dark);
    font-weight: 700;
}

.location-content p,
.parking-content p {
    color: var(--text-soft);
}

.location-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: var(--sea-dark);
    font-weight: 800;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    margin-top: 25px;
}

/* Contact */

.questions-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 28px;
    align-items: center;

    padding: 38px 42px;

    background:
        linear-gradient(
            135deg,
            var(--white),
            var(--sea-soft)
        );
}

.questions-icon {
    display: grid;
    place-items: center;

    width: 86px;
    height: 86px;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            var(--sun-light),
            var(--sun)
        );

    font-size: 2.2rem;
}

.questions-content h2 {
    margin-bottom: 8px;
}

.questions-content p {
    margin-bottom: 0;
    color: var(--text-soft);
}

.questions-content a {
    color: var(--sea-dark);
    font-weight: 800;
}

/* Onderste oproep en footer */

.final-registration {
    margin-top: 60px;
    padding: 88px 24px;

    color: var(--white);

    background:
        linear-gradient(
            135deg,
            var(--sea),
            var(--sea-dark)
        );
}

.final-registration-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 36px;
    align-items: center;

    width: min(var(--page-width), 100%);
    margin-inline: auto;
}

.final-registration-content > div > span {
    color: var(--sun-light);
    font-weight: 800;
}

.final-registration-content h2 {
    margin: 4px 0 8px;
    color: var(--white);
}

.final-registration-content p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.86);
}

.footer {
    padding: 44px 24px 26px;

    color: var(--white);
    background: #053b4d;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 34px;
    align-items: center;

    width: min(var(--page-width), 100%);
    margin-inline: auto;
}

.footer-brand strong,
.footer-brand span {
    display: block;
}

.footer-brand strong {
    font-family: "Baloo 2", sans-serif;
    font-size: 1.25rem;
}

.footer-brand span {
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
}

.footer-links a,
.footer-top {
    padding: 8px 11px;

    color: rgba(255, 255, 255, 0.82);

    border-radius: 999px;

    text-decoration: none;
    font-weight: 700;
}

.footer-bottom {
    width: min(var(--page-width), 100%);
    margin: 28px auto 0;
    padding-top: 20px;

    border-top: 1px solid rgba(255, 255, 255, 0.12);

    text-align: center;
}

.footer-bottom p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.70);
}

.footer-bottom a {
    color: var(--sun-light);
    font-weight: 800;
}

/* Lightbox */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 10001;

    display: none;
    align-items: flex-start;
    justify-content: center;

    padding: 70px 20px 30px;

    overflow-y: auto;

    background: rgba(2, 35, 46, 0.92);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.lightbox.open {
    display: flex;
}

.lightbox-content {
    width: min(900px, 100%);
}

.lightbox-content img {
    width: 100%;
    height: auto;

    border-radius: 20px;

    box-shadow:
        0 30px 90px rgba(0, 0, 0, 0.40);
}

.lightbox-close {
    position: fixed;
    top: 16px;
    right: 20px;
    z-index: 2;

    display: grid;
    place-items: center;

    width: 48px;
    height: 48px;
    padding: 0;

    color: var(--white);
    background: rgba(255, 255, 255, 0.15);

    border: 1px solid rgba(255, 255, 255, 0.30);
    border-radius: 50%;

    font-size: 2rem;
    line-height: 1;

    cursor: pointer;
}

/* Reveal */

.reveal {
    opacity: 0;
    transform: translateY(28px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

@keyframes hero-arrive {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tablet */

@media (max-width: 1000px) {
    .registration-layout {
        grid-template-columns: 0.9fr 1.1fr;
    }

    .menu-image-button {
        height: 500px;
    }

    .questions-card {
        grid-template-columns: auto 1fr;
    }

    .questions-card .button {
        grid-column: 1 / -1;
        justify-self: center;
    }

    .footer-content {
        grid-template-columns: 1fr auto;
    }

    .footer-links {
        grid-column: 1 / -1;
    }
}

/* Mobiele navigatie en tablet */

@media (max-width: 820px) {
    .main-nav {
        top: 10px;

        width: calc(100% - 20px);
        min-height: 62px;
        padding: 8px 9px 8px 13px;
    }

    .nav-logo img {
        width: 40px;
        height: 40px;
    }

    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;

        display: none;
        flex-direction: column;
        align-items: stretch;

        padding: 12px;

        border-radius: 24px;

        background: rgba(255, 255, 255, 0.97);

        box-shadow: var(--shadow-medium);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        text-align: center;
    }

    .registration-layout,
    .location-card,
    .parking-card {
        grid-template-columns: 1fr;
    }

    .menu-image-button {
        height: 430px;
    }

    .questions-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .questions-icon {
        margin-inline: auto;
    }

    .final-registration-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .final-registration-content .button {
        justify-self: center;
    }
}

/* Telefoon */

@media (max-width: 640px) {
    body {
        padding-bottom:
            calc(84px + env(safe-area-inset-bottom));
    }

    .section {
        width: min(100% - 24px, var(--page-width));
        padding: 66px 0;
    }

    .section-heading {
        margin-bottom: 30px;
    }

    .section-heading h2,
    .location-content h2,
    .parking-content h2,
    .questions-content h2,
    .final-registration h2 {
        font-size: clamp(2.4rem, 12vw, 3.55rem);
    }

    .mobile-register-button {
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: max(12px, env(safe-area-inset-bottom));
        z-index: 3000;

        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;

        min-height: 60px;
        padding: 14px 18px;

        color: #624900;

        background:
            linear-gradient(
                135deg,
                var(--sun-light),
                var(--sun)
            );

        border: 2px solid rgba(255, 255, 255, 0.90);
        border-radius: 999px;

        text-decoration: none;

        font-family: "Baloo 2", sans-serif;
        font-weight: 800;

        box-shadow:
            0 15px 36px rgba(7, 83, 107, 0.28);
    }

    .main-nav {
        left: 10px;
        right: 10px;

        width: auto;
        transform: none;
    }

    .hero {
        min-height: auto;
        padding: 102px 12px 120px;
    }

    .hero h1 {
        font-size: clamp(3.65rem, 19vw, 5.2rem);
    }

    .hero-details {
        flex-direction: column;
    }

    .hero-detail {
        width: 100%;
        min-width: 0;
    }

    .hero-register-button {
        width: 100%;
        padding-inline: 16px;
        font-size: 1.05rem;
    }

    .countdown {
        grid-template-columns: repeat(2, 1fr);
        gap: 9px;
    }

    .hero-wave {
        height: 86px;
    }

    .registration-section {
        padding-top: 32px;
    }

    .registration-image-wrapper {
        height: 260px;
    }

    .registration-summary-content {
        padding: 21px 17px;
    }

    .form-card-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .form-frame-wrapper {
        padding: 3px;
    }

    .google-form {
        min-height: 1320px;
        border-radius: 15px;
    }

    .form-card-footer {
        grid-template-columns: 1fr;
    }

    .program-item {
        grid-template-columns: 1fr;
        gap: 14px;

        padding: 19px;
    }

    .program-time {
        min-height: 0;
        padding: 10px 14px;
    }

    .program-content {
        align-items: flex-start;
    }

    .program-icon {
        flex-basis: 52px;
        width: 52px;
        height: 52px;
    }

    .program-content h3 {
        font-size: 1.5rem;
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }

    .menu-image-button {
        height: 480px;
    }

    .menu-card-content {
        padding: 21px 17px;
    }

    .menu-open-button {
        width: 100%;
    }

    .menu-reminder {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .menu-reminder > span {
        margin-inline: auto;
    }

    .menu-reminder .button {
        width: 100%;
    }

    .location-card,
    .parking-card {
        padding: 20px 16px;
    }

    .location-image,
    .parking-image {
        min-height: 245px;
        border-radius: 22px;
    }

    .button-row {
        flex-direction: column;
    }

    .button-row .button,
    .questions-card .button,
    .final-registration-content .button {
        width: 100%;
    }

    .questions-card {
        padding: 27px 17px;
    }

    .final-registration {
        padding: 70px 16px;
    }

    .footer {
        padding: 36px 18px 108px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .lightbox {
        padding: 64px 8px 20px;
    }

    .lightbox-content img {
        border-radius: 12px;
    }
}

@media (max-width: 380px) {
    .nav-logo span {
        display: none;
    }

    .hero h1 {
        font-size: 3.3rem;
    }

    .menu-image-button {
        height: 410px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* =========================================================
   EXTRA STRANDTHEMA EN DECORATIES
   Deze regels voegen alleen toe en overschrijven geen inhoud.
========================================================= */

.beach-scroll {
    position: relative;
    isolation: isolate;
    background:
        linear-gradient(
            180deg,
            rgba(255, 250, 240, 0.96) 0%,
            rgba(248, 231, 196, 0.78) 22%,
            rgba(255, 250, 240, 0.96) 44%,
            rgba(222, 247, 251, 0.82) 68%,
            rgba(255, 250, 240, 0.96) 100%
        );
}

.beach-scroll::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    opacity: 0.22;
    background:
        radial-gradient(circle at 18% 12%, rgba(185, 141, 79, 0.22) 0 1px, transparent 1.5px),
        radial-gradient(circle at 78% 22%, rgba(15, 142, 174, 0.16) 0 1px, transparent 1.5px),
        radial-gradient(circle at 28% 68%, rgba(185, 141, 79, 0.18) 0 1px, transparent 1.5px);
    background-size: 21px 21px, 29px 29px, 17px 17px;
}

.beach-scroll::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -3;
    pointer-events: none;
    background-image: url("images/strand-scroll.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.12;
    mix-blend-mode: multiply;
}

/* Optionele PNG-decoraties */
.site-decorations {
    position: absolute;
    inset: 0;
    z-index: 12;
    overflow: hidden;
    pointer-events: none;
}

.decor {
    position: absolute;
    width: clamp(80px, 11vw, 180px);
    opacity: 0.32;
    filter: drop-shadow(0 12px 18px rgba(7, 83, 107, 0.12));
    user-select: none;
}

.decor-palm-left {
    top: 90px;
    left: -26px;
    width: clamp(150px, 20vw, 320px);
    transform: rotate(-8deg);
}

.decor-shell-right {
    top: 46rem;
    right: -25px;
    transform: rotate(18deg);
}

.decor-starfish {
    top: 118rem;
    left: 1.5%;
    width: clamp(70px, 8vw, 120px);
    transform: rotate(-15deg);
}

.decor-anchor {
    top: 205rem;
    right: 1%;
    width: clamp(70px, 8vw, 120px);
    transform: rotate(10deg);
}

.decor-lighthouse {
    top: 300rem;
    left: 1%;
    width: clamp(90px, 10vw, 150px);
    opacity: 0.24;
}

/* Meeuwen */
.seagulls {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.seagull {
    position: absolute;
    left: -10%;
    color: rgba(255, 255, 255, 0.88);
    font-family: Georgia, serif;
    font-size: clamp(1.7rem, 3vw, 3rem);
    text-shadow: 0 2px 7px rgba(7, 83, 107, 0.3);
    transform: rotate(-8deg);
    animation: seagull-fly 18s linear infinite;
}

.seagull-one { top: 18%; animation-delay: -2s; }
.seagull-two { top: 29%; animation-delay: -9s; animation-duration: 24s; font-size: clamp(1.2rem, 2vw, 2rem); }
.seagull-three { top: 12%; animation-delay: -14s; animation-duration: 29s; opacity: 0.7; }

@keyframes seagull-fly {
    0% { transform: translateX(-15vw) translateY(0) rotate(-8deg); }
    45% { transform: translateX(55vw) translateY(-18px) rotate(4deg); }
    100% { transform: translateX(125vw) translateY(8px) rotate(-4deg); }
}

/* Ballonnen */
.balloon-layer {
    position: fixed;
    inset: 0;
    z-index: 900;
    overflow: hidden;
    pointer-events: none;
}

.balloon {
    position: absolute;
    bottom: -160px;
    width: var(--balloon-size, 48px);
    height: calc(var(--balloon-size, 48px) * 1.2);
    border-radius: 52% 48% 50% 50% / 58% 58% 42% 42%;
    background: var(--balloon-color, #ffd45d);
    opacity: 0.78;
    box-shadow:
        inset -8px -10px 14px rgba(0, 0, 0, 0.08),
        inset 8px 8px 12px rgba(255, 255, 255, 0.26),
        0 10px 24px rgba(7, 83, 107, 0.12);
    animation: balloon-rise var(--balloon-duration, 12s) linear forwards;
}

.balloon::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -7px;
    width: 10px;
    height: 10px;
    background: inherit;
    transform: translateX(-50%) rotate(45deg);
}

.balloon::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    width: 1px;
    height: 95px;
    background: rgba(7, 83, 107, 0.28);
}

@keyframes balloon-rise {
    0% {
        transform: translate3d(0, 0, 0) rotate(-3deg);
        opacity: 0;
    }
    8% { opacity: 0.78; }
    45% { transform: translate3d(var(--balloon-drift, 24px), -55vh, 0) rotate(4deg); }
    100% {
        transform: translate3d(calc(var(--balloon-drift, 24px) * -0.4), -125vh, 0) rotate(-4deg);
        opacity: 0;
    }
}

/* Glinstering op de belangrijkste knoppen */
.button-primary,
.nav-register,
.mobile-register-button {
    position: relative;
    overflow: hidden;
}

.button-primary::after,
.nav-register::after,
.mobile-register-button::after {
    content: "";
    position: absolute;
    top: -40%;
    left: -70%;
    width: 38%;
    height: 180%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.72),
        transparent
    );
    transform: rotate(18deg);
    animation: button-shimmer 4.6s ease-in-out infinite;
}

@keyframes button-shimmer {
    0%, 68% { left: -70%; }
    86%, 100% { left: 145%; }
}

/* Verbeterde menukaarten: volledige kaart zichtbaar */
.menu-image-button {
    height: auto;
    min-height: 0;
    padding: 14px;
    background:
        linear-gradient(145deg, #f6ead2, #fffaf0);
}

.menu-image-button img {
    width: 100%;
    height: auto;
    max-height: 760px;
    object-fit: contain;
    object-position: center top;
    border-radius: 18px;
    box-shadow: 0 16px 34px rgba(7, 83, 107, 0.14);
}

.menu-image-button:hover img {
    transform: scale(1.01);
}

.menu-zoom {
    display: inline-flex;
}

/* Werkende lightbox met echte zoom */
.lightbox {
    align-items: center;
    padding: 78px 20px 30px;
}

.lightbox-toolbar {
    position: fixed;
    top: 17px;
    left: 50%;
    z-index: 3;
    display: flex;
    gap: 8px;
    transform: translateX(-50%);
}

.lightbox-toolbar button {
    min-width: 48px;
    height: 44px;
    padding: 0 13px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 999px;
    font-weight: 800;
    cursor: pointer;
    backdrop-filter: blur(8px);
}

.lightbox-content {
    width: min(1000px, 100%);
    max-height: calc(100vh - 110px);
    overflow: auto;
    border-radius: 20px;
    cursor: grab;
    overscroll-behavior: contain;
}

.lightbox-content.dragging {
    cursor: grabbing;
    user-select: none;
}

.lightbox-content img {
    width: 100%;
    max-width: none;
    height: auto;
    transform-origin: top center;
    transition: width 0.18s ease;
}

/* Subtiele touwlijn bij secties */
.program-section::before,
.menu-section::before,
.location-section::before,
.parking-section::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 12px;
    width: min(220px, 50vw);
    height: 7px;
    transform: translateX(-50%);
    opacity: 0.22;
    background:
        repeating-linear-gradient(
            90deg,
            var(--sand) 0 9px,
            transparent 9px 14px
        );
    border-radius: 999px;
}

/* Mobiel rustiger houden */
@media (max-width: 820px) {
    .decor { opacity: 0.18; }
    .decor-palm-left { width: 180px; top: 76px; }
    .decor-shell-right,
    .decor-anchor,
    .decor-lighthouse { display: none; }

    .menu-image-button img {
        max-height: none;
    }

    .beach-scroll::after {
        background-attachment: scroll;
        opacity: 0.08;
    }
}

@media (max-width: 640px) {
    .seagull-two,
    .seagull-three { display: none; }

    .balloon {
        opacity: 0.56;
    }

    .lightbox {
        padding: 68px 6px 12px;
    }

    .lightbox-content {
        max-height: calc(100vh - 88px);
        border-radius: 12px;
    }

    .lightbox-toolbar {
        top: 12px;
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
    }

    .menu-image-button {
        padding: 8px;
    }

    .menu-image-button img {
        border-radius: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .seagull,
    .balloon,
    .button-primary::after,
    .nav-register::after,
    .mobile-register-button::after {
        animation: none !important;
    }
}


/* =========================================================
   ZICHTBAARDERE STRANDDECORATIES EN MOOIERE MEEUWEN
   Deze regels overschrijven alleen de decoratie; bestaande
   onderdelen blijven ongewijzigd.
========================================================= */

.site-decorations {
    position: absolute;
    inset: 0;
    z-index: 18;
    overflow: hidden;
    pointer-events: none;
}

.decor {
    position: absolute;
    display: block;
    opacity: 0.72;
    filter: drop-shadow(0 16px 20px rgba(7, 83, 107, 0.18));
    user-select: none;
    transform-origin: center;
}

.decor-palm-left {
    top: 72px;
    left: -34px;
    width: clamp(230px, 27vw, 430px);
    opacity: 0.84;
    transform: rotate(-7deg);
}

.decor-shell-hero {
    top: min(76vh, 720px);
    right: -18px;
    width: clamp(125px, 14vw, 220px);
    opacity: 0.76;
    transform: rotate(18deg);
}

.decor-starfish-menu {
    top: 2450px;
    left: 2.5%;
    width: clamp(95px, 9vw, 150px);
    opacity: 0.72;
    transform: rotate(-16deg);
}

.decor-anchor-location {
    top: 4300px;
    right: 2.5%;
    width: clamp(90px, 8vw, 135px);
    opacity: 0.66;
    transform: rotate(10deg);
}

.decor-lighthouse-parking {
    top: 5000px;
    left: 1.5%;
    width: clamp(120px, 12vw, 190px);
    opacity: 0.70;
    transform: rotate(-2deg);
}

.decor-shell-footer {
    bottom: 170px;
    right: 2%;
    width: clamp(100px, 10vw, 160px);
    opacity: 0.62;
    transform: rotate(-16deg);
}

/* Extra zandgevoel: zachte vloedlijn achter de inhoud */
.beach-scroll {
    position: relative;
    isolation: isolate;
    background:
        linear-gradient(180deg, rgba(255,250,240,.90), rgba(255,255,255,.88) 38%, rgba(222,247,251,.82)),
        url("images/strand-scroll.jpg") center top / cover fixed;
}

.beach-scroll::before {
    opacity: 0.38;
}

/* Mooie meeuwen opgebouwd uit twee vleugels */
.seagulls {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.seagull {
    position: absolute;
    left: -14vw;
    width: clamp(44px, 5vw, 78px);
    height: 30px;
    opacity: 0.92;
    filter: drop-shadow(0 3px 3px rgba(7, 83, 107, 0.28));
    animation: seagull-flight 22s linear infinite;
}

.seagull .wing {
    position: absolute;
    top: 10px;
    width: 52%;
    height: 16px;
    border-top: 4px solid rgba(255,255,255,.96);
    border-radius: 50% 50% 0 0;
}

.seagull .wing-left {
    right: 49%;
    transform-origin: right center;
    transform: rotate(12deg);
    animation: wing-left-flap 1.9s ease-in-out infinite;
}

.seagull .wing-right {
    left: 49%;
    transform-origin: left center;
    transform: rotate(-12deg);
    animation: wing-right-flap 1.9s ease-in-out infinite;
}

.seagull-one { top: 16%; animation-delay: -3s; }
.seagull-two { top: 25%; width: clamp(34px, 4vw, 58px); opacity: .76; animation-delay: -11s; animation-duration: 28s; }
.seagull-three { top: 10%; width: clamp(28px, 3vw, 48px); opacity: .62; animation-delay: -18s; animation-duration: 34s; }
.seagull-four { top: 33%; width: clamp(38px, 4.5vw, 65px); opacity: .72; animation-delay: -24s; animation-duration: 31s; }

@keyframes seagull-flight {
    0% { transform: translate3d(-10vw, 0, 0) rotate(-4deg); }
    24% { transform: translate3d(28vw, -18px, 0) rotate(2deg); }
    52% { transform: translate3d(68vw, 8px, 0) rotate(-2deg); }
    78% { transform: translate3d(102vw, -12px, 0) rotate(3deg); }
    100% { transform: translate3d(132vw, 4px, 0) rotate(-3deg); }
}

@keyframes wing-left-flap {
    0%, 100% { transform: rotate(12deg) translateY(0); }
    50% { transform: rotate(-8deg) translateY(3px); }
}

@keyframes wing-right-flap {
    0%, 100% { transform: rotate(-12deg) translateY(0); }
    50% { transform: rotate(8deg) translateY(3px); }
}

/* Menukaarten: volledige verhouding zichtbaar in de kaart */
.menu-image-button {
    height: auto !important;
    min-height: 0;
    padding: 14px;
    background: linear-gradient(145deg, #f4e6ca, #fffaf0);
}

.menu-image-button img {
    width: 100%;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: auto;
    object-fit: contain !important;
    border-radius: 18px;
    box-shadow: 0 16px 34px rgba(7, 83, 107, 0.14);
}

.menu-zoom {
    display: inline-flex !important;
    right: 24px;
    bottom: 24px;
}

/* Lightbox vult het scherm maar laat altijd de hele kaart bereikbaar */
.lightbox {
    align-items: flex-start !important;
    padding-top: 74px !important;
}

.lightbox-content {
    width: min(980px, calc(100vw - 28px)) !important;
    height: calc(100vh - 94px);
    max-height: none !important;
    overflow: auto !important;
    background: rgba(255,255,255,.04);
    scrollbar-width: thin;
}

.lightbox-content img {
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
    margin: 0 auto;
    transform-origin: top center;
}

/* Mobiel: overzichtelijk, alleen twee decoraties en één meeuw */
@media (max-width: 820px) {
    .site-decorations { z-index: 6; }

    .decor-palm-left {
        top: 74px;
        left: -56px;
        width: 220px;
        opacity: 0.58;
    }

    .decor-shell-hero {
        top: 640px;
        right: -26px;
        width: 120px;
        opacity: 0.52;
    }

    .decor-starfish-menu,
    .decor-anchor-location,
    .decor-lighthouse-parking,
    .decor-shell-footer {
        display: none;
    }

    .beach-scroll {
        background-attachment: scroll;
        background-size: auto 1300px;
    }

    .seagull-two,
    .seagull-three,
    .seagull-four {
        display: none;
    }

    .seagull-one {
        top: 18%;
        width: 48px;
        opacity: .72;
        animation-duration: 24s;
    }
}

@media (max-width: 640px) {
    .decor-palm-left {
        width: 180px;
        left: -66px;
        opacity: 0.46;
    }

    .decor-shell-hero {
        top: 585px;
        width: 94px;
        opacity: 0.42;
    }

    .menu-image-button {
        padding: 7px;
    }

    .menu-zoom {
        right: 14px;
        bottom: 14px;
        padding: 8px 11px;
        font-size: .84rem;
    }

    .lightbox {
        padding: 64px 5px 8px !important;
    }

    .lightbox-content {
        width: calc(100vw - 10px) !important;
        height: calc(100vh - 72px);
        border-radius: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .seagull,
    .seagull .wing {
        animation: none !important;
    }
}

/* =========================================================
   V3: ZICHTBARE DECORATIES PER SECTIE + MOBIELE LOCATIEFIX
========================================================= */

/* De zeester, het anker en de vuurtoren horen nu bij hun eigen
   sectie. Daardoor blijven ze zichtbaar, ongeacht de paginalengte. */
.menu-section,
.location-section,
.parking-section {
    position: relative;
    isolation: isolate;
}

.section-decor {
    position: absolute;
    z-index: 3;
    display: block;
    pointer-events: none;
    user-select: none;
    object-fit: contain;
    filter: drop-shadow(0 16px 22px rgba(7, 83, 107, 0.20));
}

.section-decor-starfish {
    top: 42px;
    right: -34px;
    width: clamp(120px, 13vw, 205px);
    opacity: 0.88;
    transform: rotate(16deg);
}

.section-decor-anchor {
    top: 92px;
    left: -42px;
    width: clamp(105px, 11vw, 175px);
    opacity: 0.82;
    transform: rotate(-10deg);
}

.section-decor-lighthouse {
    top: 44px;
    right: -32px;
    width: clamp(135px, 14vw, 220px);
    opacity: 0.90;
    transform: rotate(2deg);
}

/* Oude paginahoogte-posities uitschakelen; de nieuwe decoraties
   staan nu rechtstreeks in de juiste secties. */
.decor-starfish-menu,
.decor-anchor-location,
.decor-lighthouse-parking {
    display: none !important;
}

/* De kaarten blijven boven de decoraties leesbaar. */
.menu-section .section-heading,
.menu-section .menu-grid,
.menu-section .menu-reminder,
.location-section .location-card,
.parking-section .parking-card {
    position: relative;
    z-index: 4;
}

/* Locatiekaart: voorkom dat grid-inhoud op kleine schermen breder
   wordt dan de viewport. */
.location-card,
.location-card > *,
.location-content,
.location-image-wrapper {
    min-width: 0;
    max-width: 100%;
}

.location-image-wrapper {
    width: 100%;
}

.location-image {
    width: 100%;
    max-width: 100%;
}

.location-content h2 {
    max-width: 100%;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Iets meer ruimte zodat de decoraties niet tegen de sectietitels
   aan plakken. */
.menu-section,
.location-section,
.parking-section {
    padding-inline: 28px;
}

@media (max-width: 1000px) {
    .section-decor-starfish {
        right: -8px;
        width: 145px;
        opacity: 0.72;
    }

    .section-decor-anchor {
        left: -8px;
        width: 125px;
        opacity: 0.68;
    }

    .section-decor-lighthouse {
        right: -5px;
        width: 155px;
        opacity: 0.76;
    }
}

@media (max-width: 820px) {
    /* Op tablet zichtbaar, maar bewust kleiner en achter de kaarten. */
    .section-decor {
        z-index: 2;
    }

    .section-decor-starfish {
        top: 22px;
        right: 2px;
        width: 110px;
        opacity: 0.48;
    }

    .section-decor-anchor {
        top: 56px;
        left: 0;
        width: 90px;
        opacity: 0.42;
    }

    .section-decor-lighthouse {
        top: 30px;
        right: 2px;
        width: 105px;
        opacity: 0.48;
    }

    .menu-section,
    .location-section,
    .parking-section {
        padding-inline: 8px;
    }
}

@media (max-width: 640px) {
    /* Op telefoon blijven de drie PNG's aanwezig, maar subtiel en
       buiten de belangrijkste tekst- en knopgebieden. */
    .section-decor-starfish {
        top: 42px;
        right: -14px;
        width: 82px;
        opacity: 0.36;
    }

    .section-decor-anchor {
        top: 62px;
        left: -12px;
        width: 70px;
        opacity: 0.30;
    }

    .section-decor-lighthouse {
        top: 44px;
        right: -10px;
        width: 78px;
        opacity: 0.35;
    }

    .location-card {
        width: 100%;
        max-width: 100%;
        padding: 16px 14px;
        gap: 22px;
        overflow: hidden;
    }

    .location-image-wrapper {
        width: 100%;
        max-width: 100%;
        border-radius: 20px;
        overflow: hidden;
    }

    .location-image {
        display: block;
        width: 100%;
        max-width: 100%;
        min-height: 0 !important;
        height: auto;
        aspect-ratio: 4 / 3;
        object-fit: cover;
        border-radius: 20px;
    }

    .location-content {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .location-content h2 {
        width: 100%;
        max-width: 100%;
        font-size: clamp(2rem, 10.5vw, 2.8rem);
        line-height: 1.02;
        letter-spacing: -0.035em;
        overflow-wrap: anywhere;
    }

    .location-content address,
    .location-content p,
    .location-contact,
    .location-content .button-row {
        max-width: 100%;
    }

    .location-content .button-row .button {
        max-width: 100%;
        white-space: normal;
    }
}

@media (max-width: 380px) {
    .location-content h2 {
        font-size: 2rem;
    }

    .section-decor-starfish,
    .section-decor-anchor,
    .section-decor-lighthouse {
        opacity: 0.24;
    }
}

/* =========================================================
   V4: DECORATIES VOOR DE KAART + COMPACTE MOBIELE NAVIGATIE
========================================================= */

/* De vaste mobiele aanmeldknop is bewust verwijderd. */
.mobile-register-button {
    display: none !important;
}

/* Decoraties horen visueel vóór de kaarten te staan. */
.menu-section,
.location-section,
.parking-section {
    overflow: visible;
}

.section-decor {
    z-index: 12 !important;
}

.location-section .location-card,
.parking-section .parking-card,
.menu-section .menu-grid,
.menu-section .menu-reminder,
.menu-section .section-heading {
    z-index: 4;
}

.section-decor-anchor {
    top: 120px;
    left: -24px;
    width: clamp(118px, 12vw, 185px);
    opacity: 0.96;
    transform: rotate(-12deg);
}

.section-decor-lighthouse {
    top: 105px;
    right: -22px;
    width: clamp(145px, 15vw, 230px);
    opacity: 0.98;
    transform: rotate(3deg);
}

/* Extra contrast, zodat transparante PNG's niet wegvallen. */
.section-decor-anchor,
.section-decor-lighthouse,
.section-decor-starfish {
    filter:
        drop-shadow(0 10px 3px rgba(255,255,255,.70))
        drop-shadow(0 18px 24px rgba(7,83,107,.28));
}

/* Navigatie schaalt vloeiend mee met de schermbreedte. */
.main-nav {
    max-width: calc(100vw - 20px);
}

.nav-logo {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
}

.nav-logo img {
    flex: 0 0 auto;
}

.nav-logo span {
    min-width: 0;
    max-width: clamp(90px, 28vw, 180px);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.nav-toggle {
    flex: 0 0 46px;
}

@media (max-width: 820px) {
    .main-nav {
        left: 50%;
        right: auto;
        width: min(520px, calc(100vw - 20px));
        transform: translateX(-50%);
        gap: 8px;
        padding-inline: 10px;
    }

    .nav-logo {
        font-size: clamp(.94rem, 4vw, 1.08rem);
    }

    .nav-logo img {
        width: clamp(34px, 10vw, 40px);
        height: clamp(34px, 10vw, 40px);
    }

    .nav-logo span {
        max-width: calc(100vw - 126px);
    }

    .section-decor-anchor {
        top: 112px;
        left: -8px;
        width: 125px;
    }

    .section-decor-lighthouse {
        top: 106px;
        right: -6px;
        width: 145px;
    }
}

@media (max-width: 640px) {
    body {
        padding-bottom: 0;
    }

    .main-nav {
        width: calc(100vw - 16px);
        top: 8px;
        min-height: 58px;
        border-radius: 22px;
    }

    .nav-logo span {
        max-width: calc(100vw - 118px);
    }

    /* Decoraties blijven zichtbaar, maar nemen geen inhoudsruimte over. */
    .section-decor-anchor {
        top: 82px;
        left: -4px;
        width: 94px;
        opacity: .88;
    }

    .section-decor-lighthouse {
        top: 78px;
        right: -3px;
        width: 104px;
        opacity: .90;
    }

    /* Locatiekaart blijft strikt binnen de telefoonbreedte. */
    .location-section,
    .parking-section {
        width: min(100% - 20px, var(--page-width));
    }

    .location-card,
    .parking-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow: hidden;
        padding: 18px 14px;
    }

    .location-image-wrapper,
    .parking-image-wrapper,
    .location-content,
    .parking-content {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .location-image,
    .parking-image {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        height: auto;
        min-height: 220px;
        aspect-ratio: 16 / 10;
        object-fit: cover;
    }

    .location-content h2,
    .parking-content h2 {
        font-size: clamp(2rem, 10vw, 3rem);
        overflow-wrap: anywhere;
    }
}

@media (max-width: 360px) {
    .nav-logo span {
        display: none;
    }

    .main-nav {
        width: auto;
        min-width: 112px;
        left: 8px;
        right: 8px;
        transform: none;
    }
}
