/* ============================================
   CSS Custom Properties
   ============================================ */
:root {
    --color-bg:          #f5f2ec;
    --color-surface:     #ffffff;
    --color-text:        #1a1814;
    --color-text-muted:  #6b6558;
    --color-accent:      #c8502a;
    --color-accent-dark: #9e3d1e;
    --color-border:      #ddd9d0;
    --color-nav-bg:      #1a1814;
    --color-nav-text:    #f5f2ec;
    --color-footer-bg:   #d9d0c3;

    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body:    'DM Sans', sans-serif;

    --banner-height: 210px;
    --nav-height:    56px;

    --radius:    4px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.10);

    --transition: 0.2s ease;
}


/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.6;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}


/* ============================================
   Site Wrapper
   ============================================ */
.site-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}


/* ============================================
   Banner
   ============================================ */
/* In het beheer is de banner half zo hoog (meer ruimte voor het werk). */
.site-wrapper.beheer-mode .banner {
    height: calc(var(--banner-height) / 2);
}

.banner {
    position: relative;
    height: var(--banner-height);
    background-color: var(--color-nav-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.banner-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.35;
    filter: blur(2px);
    transform: scale(1.05);
}

.banner-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--color-nav-text);
}

.banner-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
}

.banner-tagline {
    font-size: 0.95rem;
    font-weight: 300;
    color: rgba(245, 242, 236, 0.55);
    letter-spacing: 0.04em;
}

.banner-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
}


/* ============================================
   Navigation
   ============================================ */
.main-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    height: var(--nav-height);
    position: relative;
}

.nav-list {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    height: 100%;
    gap: 4px;
}

.nav-list > li:not(.mobile-only) {
    display: flex;
    align-items: stretch;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 0 20px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    border-bottom: 2px solid transparent;
    transition: color var(--transition), border-color var(--transition);
    white-space: nowrap;
    cursor: pointer;
}

.nav-link:hover {
    color: var(--color-text);
    border-bottom-color: var(--color-border);
}

.nav-link.active {
    color: var(--color-accent);
    border-bottom-color: var(--color-accent);
}

.mobile-only {
    display: none;
}


/* ============================================
   Dropdown Submenu
   ============================================ */
.nav-item-dropdown {
    position: relative;
}

.nav-item-dropdown > a.nav-link {
    cursor: default;
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-top: 2px solid var(--color-accent);
    box-shadow: var(--shadow-md);
    min-width: 180px;
    z-index: 200;
}

.dropdown li a {
    display: block;
    padding: 11px 20px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    white-space: nowrap;
    transition: background-color var(--transition), color var(--transition);
    border-left: 2px solid transparent;
}

.dropdown li a:hover {
    background-color: var(--color-bg);
    color: var(--color-text);
    border-left-color: var(--color-accent);
}

.nav-item-dropdown:hover .dropdown,
.nav-item-dropdown:focus-within .dropdown {
    display: block;
}


/* ============================================
   Hamburger Button
   ============================================ */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    position: absolute;
    right: 16px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-text);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ============================================
   Page Content
   ============================================ */
.page-content {
    flex: 1;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    padding: 56px 24px 80px;
}

.content-heading {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.content-intro {
    max-width: 600px;
    color: var(--color-text-muted);
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 48px;
}

.content-area a {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color var(--transition);
}

.content-area a:hover {
    color: var(--color-accent-dark);
}


/* ============================================
   Content Grid / Cards
   ============================================ */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 28px 28px 32px;
    transition: box-shadow var(--transition), transform var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.card-number {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    margin-bottom: 14px;
}

.card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 10px;
}

.card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.65;
}


/* ============================================
   Gallery — Slideshows
   ============================================ */
.slideshow-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.slideshow {
    position: relative;
    aspect-ratio: 3 / 4;
    background-color: var(--color-nav-bg);
    border-radius: 8px;
    overflow: hidden;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* ============================================
   Gallery — Masonry Grid
   ============================================ */
.masonry-grid {
    columns: 3;
    gap: 10px;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 10px;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.masonry-item img {
    width: 100%;
    display: block;
    transition: transform 0.4s ease;
    max-height: 450px;
    object-fit: cover;
}

.masonry-item:hover img {
    transform: scale(1.03);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
    color: #fff;
}

.masonry-item:hover .gallery-overlay {
    opacity: 1;
}

/* "Justified" fotorij-layout: strikte links-naar-rechts, boven-naar-onder
   leesvolgorde (i.p.v. de CSS-kolommen van .masonry-grid, die per kolom van
   boven naar onder vullen). Elke rij krijgt één vaste hoogte; de foto's in
   die rij groeien (flex-grow) tot ze samen precies de rijbreedte vullen, dus
   geen witruimte onder kortere foto's zoals bij een grid met vaste rijen.
   Gebruikt voor de voorselectie-/favorietengalerijen, waar de fotovolgorde
   (chronologisch) ook echt zo gelezen moet worden. */
.photo-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.photo-grid .masonry-item {
    flex-grow: 1;
    height: 440px;
    /* Voorkomt dat een enkele foto op een onvolledige laatste rij enorm
       breed uitgerekt wordt (bijv. als er nog maar 1 foto over is). */
    max-width: min(820px, 100%);
    min-width: 0;
    min-height: 0;
    margin-bottom: 0;
}

.photo-grid .masonry-item img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
}


/* ============================================
   Gallery — Lightbox
   ============================================ */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 600;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity var(--transition);
}

.lightbox-close:hover {
    opacity: 1;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    padding: 16px 20px;
    transition: background var(--transition);
    line-height: 1;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255,255,255,0.2);
}

.lightbox-prev { left: 0; }
.lightbox-next { right: 0; }


/* ============================================
   Reviews
   ============================================ */
.reviews-section {
    max-width: 1100px;
    margin: 48px auto 0;
    padding: 0 24px 80px;
}

.reviews-heading {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 32px;
    color: var(--color-text);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.review-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 200px;
    overflow: hidden;
}

.review-message {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    overflow: hidden;
    position: relative;
    flex: 1;
}

.review-message.truncated::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(transparent, var(--color-surface));
}

.review-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.review-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text);
}

.review-toggle {
    background: none;
    border: none;
    color: var(--color-accent);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    padding: 4px 0;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-family: var(--font-body);
}

.review-toggle:hover {
    color: var(--color-accent-dark);
}

.review-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 500;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.review-overlay.active {
    display: flex;
}

.review-popup {
    background: var(--color-surface);
    border-radius: var(--radius);
    padding: 40px;
    max-width: 560px;
    width: 100%;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
}

.review-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    color: var(--color-text-muted);
    line-height: 1;
}

.review-close:hover {
    color: var(--color-text);
}

.review-popup-text {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.75;
}


/* ============================================
   About Page
   ============================================ */
.about-section {
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

.about-text {
    flex: 1;
}

.about-text p {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 20px;
}

.about-text strong,
.about-text b {
    font-weight: 700;
    color: var(--color-text);
}

.about-text em {
    font-style: italic;
}

.about-quote {
    border-left: 3px solid var(--color-accent);
    padding: 8px 0 8px 20px;
    margin: 32px 0;
    font-size: 1.05rem;
    color: var(--color-text-muted);
    font-style: italic;
}

.about-quote b,
.about-quote strong {
    font-weight: 700;
    font-style: normal;
    color: var(--color-text);
}

/* Slotzin: opvallende cursieve serif in de accentkleur (optie A). Zet
   class="about-closing" op het element dat je wilt laten opvallen; pas de
   waarden hieronder aan om te finetunen. */
.about-closing {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.3rem;
    color: var(--color-text);
    margin-top: 14px;
}

.about-image {
    flex: 1;
    margin-top: 140px;
    margin-left: 40px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

/* ============================================
   Home Page
   ============================================ */
.home-hero {
    display: flex;
    gap: 60px;
    align-items: center;
}

.home-hero-text {
    flex: 1;
}

/* Geen foto geplaatst: tekst centreren met leesbare regelbreedte. */
.home-hero--solo {
    justify-content: center;
}

.home-hero--solo .home-hero-text {
    max-width: 760px;
    margin: 0 auto;
}

.about-section--solo {
    justify-content: center;
}

.about-section--solo .about-text {
    max-width: 760px;
    margin: 0 auto;
}

.home-intro {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.75;
    margin-bottom: 32px;
    max-width: 500px;
}

.home-highlights {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 36px;
}

.home-highlight {
    border-left: 2px solid var(--color-accent);
    padding-left: 16px;
}

.home-highlight-title {
    display: block;
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--color-text);
    margin-bottom: 4px;
}

.home-highlight p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin: 0;
}

.home-cta {
    display: inline-block;
    background-color: var(--color-accent);
    color: #fff !important;
    border-radius: 999px;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background-color var(--transition);
    text-decoration: none !important;
}

.home-cta:hover {
    background-color: var(--color-accent-dark);
}

.home-hero-image {
    flex: 0 0 380px;
}

.home-hero-image img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

/* ============================================
   Contact Page
   ============================================ */
.contact-section {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.contact-subheading {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 16px;
    color: var(--color-text);
}

.contact-text {
    flex: 1;
}

.contact-text h2 {
    margin-bottom: 20px;
}

.contact-text p {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 16px;
}

.contact-form-wrap {
    flex: 1.5;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group > label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text);
}

.required {
    font-weight: 300;
    color: var(--color-text-muted);
    font-size: 0.8rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="password"],
.form-group textarea {
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 999px;
    padding: 12px 20px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text);
    outline: none;
    transition: border-color var(--transition);
    width: 100%;
}

.form-group textarea {
    border-radius: 12px;
    resize: vertical;
    min-height: 140px;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-accent);
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 4px 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--color-text-muted);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--color-accent);
    cursor: pointer;
}

.form-submit {
    align-self: flex-start;
    background-color: var(--color-accent);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color var(--transition);
}

.form-submit:hover {
    background-color: var(--color-accent-dark);
}

.flash {
    padding: 14px 20px;
    border-radius: var(--radius);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.flash-success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.flash-error {
    background-color: #fdecea;
    color: #c62828;
    border: 1px solid #ef9a9a;
}


/* ============================================
   Events Page
   ============================================ */
.events-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.event-card {
    display: flex;
    align-items: center;
    gap: 32px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-accent);
    border-radius: var(--radius);
    padding: 24px 28px;
    cursor: pointer;
    transition: box-shadow var(--transition);
}

.event-card:hover {
    box-shadow: var(--shadow-md);
}

.event-card.event-past {
    border-left-color: var(--color-border);
    opacity: 0.6;
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
    text-align: center;
}

.event-day {
    font-family: var(--font-display);
    font-size: 2rem;
    line-height: 1;
    color: var(--color-accent);
}

.event-card.event-past .event-day {
    color: var(--color-text-muted);
}

.event-month {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.event-year {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.event-card-thumb {
    flex: none;
    width: 72px;
    height: 72px;
    min-width: 0;
    min-height: 0;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--color-bg);
}

.event-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.event-info {
    flex: 1;
}

.event-name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 6px;
    color: var(--color-text);
}

.event-description {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.event-badge {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 999px;
}

.event-badge.upcoming {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.event-badge.past {
    background-color: var(--color-bg);
    color: var(--color-text-muted);
}

.event-empty {
    color: var(--color-text-muted);
    font-size: 1rem;
}

.event-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 500;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.event-overlay.active {
    display: flex;
}

.event-popup {
    background: var(--color-surface);
    border-radius: var(--radius);
    padding: 40px;
    max-width: 520px;
    width: 100%;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
}

.event-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    color: var(--color-text-muted);
}

.event-close:hover {
    color: var(--color-text);
}

.event-popup-date {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 8px;
}

.event-popup-name {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 16px;
    color: var(--color-text);
}

.event-popup-desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.75;
    margin-bottom: 28px;
}

.event-photos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 24px;
}

.event-photos-grid > div {
    aspect-ratio: 1 / 1;
    min-width: 0;
    min-height: 0;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--color-bg);
}

.event-photos-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.event-popup-contact {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    padding-top: 20px;
    margin-top: 24px;
    border-top: 1px solid var(--color-border);
    line-height: 1.6;
}

.event-popup-contact a {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.event-popup-contact a:hover {
    color: var(--color-accent-dark);
}

/* ============================================
   Event Slots
   ============================================ */
.event-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.event-slot-btn {
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    font-family: var(--font-body);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all var(--transition);
    color: var(--color-text);
}

.event-slot-btn:hover:not(.taken) {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.event-slot-btn.selected {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
}

.event-slot-btn.taken {
    opacity: 0.35;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* ============================================
   Terms Page
   ============================================ */
.terms-content {
    max-width: 760px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.terms-section h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 12px;
    color: var(--color-text);
}

.terms-section p {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.75;
    margin-bottom: 10px;
}

.terms-intro {
    max-width: 760px;
    font-size: 1.05rem;
    color: var(--color-text);
    line-height: 1.8;
    margin-bottom: 8px;
}

.terms-updated {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-style: italic;
    margin-top: 8px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background-color: var(--color-footer-bg);
    color: var(--color-text);
    padding: 10px 24px;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-name {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--color-text);
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--color-text-muted);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: color var(--transition);
}

.footer-social-link:hover {
    color: var(--color-text);
}

.footer-social-link svg {
    width: 16px;
    height: 16px;
}

.footer-copy {
    font-size: 0.7rem;
    color: var(--color-text-muted);
}

.footer-copy a {
    color: var(--color-text-muted);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.footer-copy a:hover {
    color: var(--color-text);
}

/* ============================================
   Beheer — Shared
   ============================================ */
.beheer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
}

/* Flash-meldingen in het beheer als zwevende toast bovenin: blijft zichtbaar,
   ook als de pagina naar een kaart scrolt, en verdwijnt vanzelf. */
.flash-toast {
    position: fixed;
    top: 78px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: min(620px, calc(100% - 32px));
    pointer-events: none;
}
.flash-toast .flash {
    margin: 0 0 8px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14);
}

/* Nette 'Choose File'-knop overal in het beheer. */
.beheer-mode input[type="file"] { font-size: 0.85rem; color: #6b6558; max-width: 100%; }
.beheer-mode input[type="file"]::file-selector-button,
.beheer-mode input[type="file"]::-webkit-file-upload-button {
    background-color: #ffffff;
    color: #1a1814;
    border: 1px solid #c8502a;
    border-radius: var(--radius);
    padding: 6px 14px;
    margin-right: 10px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color var(--transition), color var(--transition);
}
.beheer-mode input[type="file"]::file-selector-button:hover,
.beheer-mode input[type="file"]::-webkit-file-upload-button:hover {
    background-color: #c8502a;
    color: #ffffff;
}

/* Beheer met vaste zijbalk: links het menu, rechts het gekozen onderdeel.
   Op beheerpagina's gebruiken we de volle breedte (geen 1100px-limiet), zodat
   het menu helemaal links staat en het onderdeel veel ruimte krijgt. */
.page-content.beheer-mode {
    max-width: none;
    padding-left: 28px;
    padding-right: 28px;
}
.beheer-layout {
    display: grid;
    /* linkermarge | inhoud (gecentreerd) | rechtermarge */
    grid-template-columns: 1fr minmax(0, 1150px) 1fr;
    column-gap: 24px;
    align-items: start;
}
.beheer-sidebar {
    grid-column: 1;
    justify-self: center;   /* menu gecentreerd in de linkermarge */
    width: 196px;
    position: sticky;
    top: 78px;              /* onder de plakkende navigatiebalk */
    max-height: calc(100vh - 94px);   /* past altijd in beeld; scrollt intern indien nodig */
    overflow-y: auto;
}
.beheer-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 10px;
}
.beheer-nav-link {
    display: block;
    width: 100%;
    text-align: left;
    padding: 10px 14px;
    border: none;
    background: none;
    border-radius: 8px;
    color: var(--color-text);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color var(--transition), color var(--transition);
}
.beheer-nav-link:hover { background: var(--color-bg); }
.beheer-nav-link.active { background: var(--color-accent); color: #fff; }
.beheer-nav-logout {
    margin: 8px 0 0;
    padding-top: 8px;
    border-top: 1px solid var(--color-border);
}
.beheer-nav-logout-btn { color: var(--color-text-muted); }
.beheer-upload-indicator {
    margin: 8px 0 0;
    padding-top: 8px;
    border-top: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.beheer-upload-indicator-item { font-size: 0.76rem; }
.beheer-upload-indicator-item .biu-label {
    display: block;
    margin-bottom: 4px;
    color: var(--color-text-muted);
}
.beheer-upload-indicator-item.is-done .biu-label { color: #5e6b42; }
.beheer-upload-indicator-item.is-error .biu-label { color: var(--color-accent); }
.beheer-upload-indicator-bar {
    height: 5px;
    border-radius: 3px;
    background: var(--color-bg);
    overflow: hidden;
}
.beheer-upload-indicator-bar-fill {
    height: 100%;
    background: var(--color-accent);
    width: 0%;
    transition: width 0.2s ease;
}
.beheer-content {
    grid-column: 2;     /* middenkolom -> gecentreerd op de pagina */
    min-width: 0;       /* voorkomt dat brede tabellen/grids de layout oprekken */
}
@media (max-width: 820px) {
    .beheer-layout { grid-template-columns: 1fr; row-gap: 20px; }
    .beheer-sidebar { grid-column: 1; justify-self: stretch; width: 100%; position: static; }
    .beheer-content { grid-column: 1; }
    .beheer-nav { flex-direction: row; flex-wrap: wrap; }
    .beheer-nav-logout { margin: 0; padding-top: 0; border-top: none; width: auto; }
    .beheer-upload-indicator { flex: 1 0 100%; margin: 0; padding-top: 8px; }
}


.beheer-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 28px;
    transition: box-shadow var(--transition), transform var(--transition);
    text-decoration: none;
}

.beheer-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.beheer-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 8px;
    color: var(--color-text);
}

.beheer-card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.beheer-back {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 24px;
    transition: color var(--transition);
}

.beheer-back:hover {
    color: var(--color-accent);
}

.beheer-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.beheer-page-header .content-heading {
    margin-bottom: 0;
}

.beheer-section-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 16px;
    color: var(--color-text);
}


/* ============================================
   Beheer — Table
   ============================================ */
.beheer-table {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
}

.beheer-header {
    display: grid;
    padding: 12px 20px;
    background-color: var(--color-border);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.beheer-row {
    display: grid;
    padding: 16px 20px;
    border-top: 1px solid var(--color-border);
    align-items: center;
    gap: 16px;
    background-color: var(--color-surface);
}

.beheer-row:hover {
    background-color: var(--color-bg);
}

/* Column layouts */
.beheer-header-reviews,
.beheer-row-reviews         { grid-template-columns: 1fr 3fr 220px; }

.beheer-header-reviews-active,
.beheer-row-reviews-active  { grid-template-columns: 1.5fr 1fr 3fr 100px; }

.beheer-header-events,
.beheer-row-events          { grid-template-columns: 1fr 1.5fr 3fr 320px; }

.beheer-header-signups,
.beheer-row-signups         { grid-template-columns: 100px 1fr 2fr 1fr 2fr 100px; }

.beheer-header-links,
.beheer-row-links           { grid-template-columns: 1fr 2fr 100px; }

.beheer-filename {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-family: monospace;
}

.beheer-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text);
}

.beheer-message {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.beheer-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: flex-end;
}


/* ============================================
   Beheer — Buttons
   ============================================ */
/* Anker dat als knop is gestyled: forceer witte tekst (anders pakt 'ie de
   oranje linkkleur en valt de tekst weg op de oranje knop). */
a.beheer-submit:link, a.beheer-submit:visited,
a.beheer-approve:link, a.beheer-approve:visited,
a.form-submit:link, a.form-submit:visited {
    text-decoration: none;
}
a.beheer-submit:link, a.beheer-submit:visited,
a.form-submit:link, a.form-submit:visited {
    color: #fff;
}

.beheer-submit {
    align-self: flex-start;
    background-color: var(--color-accent);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    padding: 10px 24px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color var(--transition);
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.beheer-submit-text {
    position: relative;
    z-index: 2;
}

.beheer-submit-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background-color: rgba(255, 255, 255, 0.35);
    z-index: 1;
    transition: width 0.2s ease;
}

.beheer-submit:hover {
    background-color: var(--color-accent-dark);
}

.beheer-delete {
    background-color: #fdecea;
    color: #c62828;
    border: 1px solid #ef9a9a;
    border-radius: var(--radius);
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    font-family: var(--font-body);
    transition: background-color var(--transition);
}

.beheer-delete:hover {
    background-color: #ef9a9a;
    color: #fff;
}

.beheer-approve {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
    border-radius: var(--radius);
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    font-family: var(--font-body);
    transition: background-color var(--transition);
}

.beheer-approve:hover {
    background-color: #a5d6a7;
    color: #fff;
}

.beheer-edit-btn {
    background-color: var(--color-bg);
    color: var(--color-text);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    font-family: var(--font-body);
    transition: background-color var(--transition);
}

.beheer-edit-btn:hover {
    background-color: var(--color-border);
}

.beheer-cancel {
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    cursor: pointer;
    font-family: var(--font-body);
}

.beheer-cancel:hover {
    color: var(--color-text);
}

.beheer-badge {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 999px;
}

.beheer-badge.active {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.beheer-badge.used {
    background-color: var(--color-bg);
    color: var(--color-text-muted);
}


/* ============================================
   Beheer — Forms & Popups
   ============================================ */
.beheer-form-section {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 28px;
    margin-bottom: 40px;
}

.beheer-form-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 20px;
    color: var(--color-text);
}

.beheer-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.beheer-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.beheer-form-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.beheer-form .form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 4px;
    display: block;
}

.beheer-form .form-group input,
.beheer-form .form-group textarea,
.beheer-form .form-group select {
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 10px 14px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-text);
    outline: none;
    transition: border-color var(--transition);
    width: 100%;
}

.beheer-form .form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236b6558' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.beheer-form .form-group input:focus,
.beheer-form .form-group textarea:focus,
.beheer-form .form-group select:focus {
    border-color: var(--color-accent);
}

.beheer-edit-form {
    display: none;
    padding: 20px;
    background-color: var(--color-bg);
    border-top: 1px solid var(--color-border);
}

.beheer-edit-form.active {
    display: block;
}

.beheer-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 500;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.beheer-overlay.active {
    display: flex;
}

.beheer-popup {
    background: var(--color-surface);
    border-radius: var(--radius);
    padding: 40px;
    max-width: 600px;
    width: 100%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.beheer-popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    color: var(--color-text-muted);
}

.beheer-popup-close:hover {
    color: var(--color-text);
}

/* ============================================
   Prijzen Page
   ============================================ */
.prijzen-intro {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.75;
    max-width: 720px;
    margin-bottom: 20px;
}

.prijzen-section-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 20px;
    color: var(--color-text);
}

.prijzen-how {
    margin-top: 32px;
}

.prijzen-split {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-top: 48px;
}

.prijzen-split-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.prijzen-split-card {
    flex: 0 0 360px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.prijzen-cards-row {
    display: flex;
    gap: 32px;
    margin-top: 40px;
}

.prijzen-cards-row .prijzen-card {
    flex: 1 1 0;
    max-width: none;
}

.prijzen-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    border-top: 3px solid var(--color-accent);
    padding: 20px 28px;
    max-width: 480px;
}

.prijzen-card-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 4px;
    color: var(--color-text);
}

.prijzen-card-price {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 10px;
}

.prijzen-card-price span {
    font-size: 1rem;
    font-weight: 300;
    color: var(--color-text-muted);
}

.prijzen-card-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 10px;
}

.prijzen-card-list li {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.prijzen-card-note {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    font-style: italic;
    margin-bottom: 14px;
    line-height: 1.6;
}

.prijzen-card-btn {
    display: inline-block;
    background-color: var(--color-accent);
    color: #fff !important;
    border-radius: 999px;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background-color var(--transition);
    text-decoration: none;
}

.prijzen-card-btn:hover {
    background-color: var(--color-accent-dark);
    color: #fff !important;
}

/* ============================================
   Review Submit Form
   ============================================ */
.review-submit-form {
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}


/* ============================================
   Responsive — Tablet (iPad e.d.)
   ============================================ */
/* De rijhoogte van .photo-grid (justified fotorijen) is getuned voor brede
   desktop-vensters. Op een tablet-breed scherm is er veel minder ruimte, dus
   een liggende foto op diezelfde hoogte neemt bijna de hele rij in beslag —
   dan staat er nog maar 1 foto per rij. Kleinere rijhoogte hier lost dat op. */
@media (max-width: 1180px) {
    .photo-grid .masonry-item {
        height: 300px;
        max-width: min(560px, 100%);
    }
}

/* ============================================
   Responsive — Mobile
   ============================================ */
@media (max-width: 768px) {

    .hamburger {
        display: flex;
    }

    .banner {
        height: 180px;
    }

    .banner-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }
    .banner-bg {
        opacity: 0.25;
        filter: blur(3px);
    }

    .nav-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background-color: var(--color-surface);
        border-bottom: 1px solid var(--color-border);
        box-shadow: var(--shadow-md);
        padding: 8px 0;
        height: auto;
        z-index: 200;
    }

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

    .nav-list > li {
        width: 100%;
    }

    .nav-link {
        padding: 14px 24px;
        font-size: 0.85rem;
        border-bottom: none;
        border-left: 2px solid transparent;
        width: 100%;
    }

    .nav-link.active {
        border-left-color: var(--color-accent);
        border-bottom: none;
        color: var(--color-accent);
    }

    .nav-link:hover {
        border-bottom: none;
        border-left-color: var(--color-border);
    }

    .nav-item-dropdown {
        display: none !important;
    }

    .mobile-only {
        display: flex;
    }

    .mobile-parent {
        color: var(--color-text-muted);
        cursor: default;
        font-size: 0.85rem;
    }

    .mobile-sub {
        padding-left: 40px !important;
        font-size: 0.8rem !important;
        color: var(--color-text-muted);
        border-left: 2px solid transparent !important;
    }

    .mobile-sub.active {
        border-left-color: var(--color-accent) !important;
        color: var(--color-accent);
    }

    .page-content {
        padding: 36px 16px 60px;
    }

    .about-section,
    .contact-section {
        flex-direction: column;
    }

    /* Foto bovenaan tonen i.p.v. onderaan de lange tekst (niet meer gestrand). */
    .about-image {
        order: -1;
        margin-top: 0;
        margin-left: 0;
        margin-bottom: 28px;
    }
    .about-image img {
        height: 400px;
        border-radius: 8px;
    }
    .home-hero {
        flex-direction: column;
        gap: 32px;
    }

    .home-hero-image {
        order: -1;
    }
    .home-hero-image img {
        height: 300px;
    }
    .form-row {
        flex-direction: column;
    }

    .masonry-grid {
        columns: 2;
        gap: 8px;
    }

    .photo-grid {
        gap: 8px;
    }

    .photo-grid .masonry-item {
        height: 180px;
        max-width: min(340px, 100%);
    }

    .prijzen-split {
        flex-direction: column;
    }

    .prijzen-split-card {
        flex: 1;
        width: 100%;
    }

    .prijzen-cards-row {
        flex-direction: column;
    }
    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .reviews-grid .review-card:nth-child(2),
    .reviews-grid .review-card:nth-child(3) {
        display: none;
    }

    .slideshow-row {
        grid-template-columns: 1fr;
    }

    .slideshow {
        width: 70%;
        margin: 0 auto;
    }

    .slideshow-row .slideshow:nth-child(2),
    .slideshow-row .slideshow:nth-child(3) {
        display: none;
    }

    .slide img {
        object-fit: cover;
        background-color: var(--color-bg);
    }

    /* Grid i.p.v. flex: zo kan de coverfoto rechts over de volle hoogte van
       de tekst (datum + titel + omschrijving + badge) heen staan, in plaats
       van alleen naast de datum. Zonder coverfoto blijft de rechterkolom
       gewoon leeg/onzichtbaar (de 'auto'-kolom krimpt dan naar 0). */
    .event-card {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "date   thumb"
            "info   thumb"
            "status thumb";
        align-items: start;
        column-gap: 16px;
        row-gap: 8px;
        padding: 16px 20px;
    }

    .event-date {
        grid-area: date;
        flex-direction: row;
        gap: 8px;
        align-items: baseline;
    }

    .event-card-thumb {
        grid-area: thumb;
        align-self: stretch;
        width: 110px;
        height: auto;
    }

    .event-info {
        grid-area: info;
    }

    .event-status {
        grid-area: status;
    }

    .event-popup {
        padding: 28px 20px;
    }

    .event-photos-grid {
        gap: 6px;
        margin-bottom: 20px;
    }

    .event-name {
        font-size: 1rem;
    }

    .event-description {
        font-size: 0.85rem;
    }

    .event-day {
        font-size: 1.8rem;
    }

    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }

    .footer-name {
        font-size: 1.1rem;
    }

    .footer-social-link {
        font-size: 0.85rem;
        gap: 8px;
    }

    .footer-social-link svg {
        width: 18px;
        height: 18px;
    }

    .footer-copy {
        font-size: 0.7rem;
        border-top: 1px solid rgba(245, 242, 236, 0.1);
        padding-top: 12px;
        width: 100%;
        text-align: center;
    }
}

/* ============================================
   Beheer: foto-aflevering (uploads)
   ============================================ */
.uploads-form {
    max-width: 640px;
    margin-bottom: 16px;
}

.uploads-folderlist {
    list-style: none;
    padding: 0;
    margin: 16px 0;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.uploads-submit {
    position: relative;
    overflow: hidden;
    display: inline-block;
    margin-top: 16px;
    padding: 10px 24px;
    border: none;
    border-radius: var(--radius);
    background-color: #2ecc71;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
}

.uploads-submit #buttonText {
    position: relative;
    z-index: 2;
}

.uploads-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background-color: rgba(255, 255, 255, 0.35);
    z-index: 1;
    transition: width 0.2s ease;
}

.beheer-header-uploads { grid-template-columns: 1.2fr 1.6fr 1fr 0.8fr 240px; }

@media (max-width: 720px) {
    .beheer-header-uploads { grid-template-columns: 1fr; }
}

/* ============================================
   Beheer: archief evenementen
   ============================================ */
.beheer-header-archief { grid-template-columns: 1.1fr 1.6fr 0.9fr 1fr 1.2fr 90px; }
.beheer-header-users { grid-template-columns: 1.5fr 1fr 140px; }

.archief-summary {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.archief-stat {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 16px 24px;
    min-width: 140px;
}

.archief-stat-num {
    display: block;
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--color-text);
    line-height: 1.1;
}

.archief-stat-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.archief-bar {
    display: inline-block;
    width: 70px;
    height: 7px;
    border-radius: 999px;
    background: var(--color-border);
    overflow: hidden;
    vertical-align: middle;
    margin-right: 8px;
}

.archief-bar-fill {
    display: block;
    height: 100%;
    background: var(--color-accent, #c8502a);
    border-radius: 999px;
}

@media (max-width: 720px) {
    .beheer-header-archief { grid-template-columns: 1fr; }
}

/* Tekstlink-knop (bijv. "Stuur opnieuw" op de downloadpagina) */
.link-button {
    background: none;
    border: none;
    padding: 0;
    color: var(--color-accent, #c8502a);
    font-family: var(--font-body);
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: underline;
}

.link-button:hover {
    opacity: 0.8;
}

/* ============================================
   Beheer: foto's
   ============================================ */
.fotos-hint {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin: -8px 0 16px;
}

.fotos-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.fotos-thumb {
    position: relative;
    width: 130px;
    height: 130px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.fotos-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.fotos-delete {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 0.8rem;
    cursor: pointer;
    line-height: 1;
}

.fotos-delete:hover {
    background: #c0392b;
}

.fotos-upload {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.fotos-upload input[type="file"] {
    font-size: 0.85rem;
    font-family: inherit;
}

.fotos-single {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.fotos-single img {
    width: 160px;
    border-radius: 6px;
    border: 1px solid var(--color-border);
    display: block;
}

.fotos-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.fotos-column h4 {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

.fotos-column .fotos-upload {
    margin-bottom: 0;
}

@media (max-width: 800px) {
    .fotos-columns {
        grid-template-columns: 1fr;
    }
}

/* ---- Instellingen-pagina ---- */
.settings-form .settings-card {
    max-width: 640px;
    margin-bottom: 22px;
}
.settings-form .settings-card h3 {
    margin: 0 0 4px;
}
.settings-form .settings-intro {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin: 0 0 18px;
}
.settings-form .setting-row {
    margin: 16px 0;
}
.settings-form .setting-label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text);
}
.settings-form input[type="text"],
.settings-form input[type="email"],
.settings-form input[type="tel"],
.settings-form input[type="url"],
.settings-form input[type="password"],
.settings-form input[type="number"],
.settings-form textarea {
    width: 100%;
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 10px 14px;
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--color-text);
    outline: none;
    transition: border-color var(--transition);
}
.settings-form input:focus,
.settings-form textarea:focus {
    border-color: var(--color-accent);
}
.settings-form input.setting-number {
    width: 180px;
}
.settings-form textarea {
    min-height: 78px;
    resize: vertical;
    line-height: 1.5;
}
.settings-form .setting-help {
    display: block;
    color: var(--color-text-muted);
    font-size: 0.8rem;
    margin-top: 5px;
}
.settings-form .setting-check {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.92rem;
    color: var(--color-text);
}
.settings-form .setting-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--color-accent);
    cursor: pointer;
    flex: none;
}

/* Instellingen: sectie-tegels */
.settings-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 16px;
    max-width: 760px;
    margin-top: 6px;
}
.settings-tile {
    text-align: left;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-family: var(--font-body);
    transition: border-color var(--transition);
}
.settings-tile:hover {
    border-color: var(--color-accent);
}
.settings-tile-title {
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-text);
}
.settings-tile-sub {
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--color-text-muted);
}
.settings-subhead {
    margin: 22px 0 6px;
    font-size: 0.95rem;
}
.beheer-submit.ghost {
    background: transparent;
    color: var(--color-accent);
    border: 1px solid var(--color-border);
}
.beheer-submit.ghost:hover {
    border-color: var(--color-accent);
}

/* Instellingen-popups: vaste kop (titel + sluitknop) die blijft staan; alleen
   het formulier eronder scrolt. Zo hoef je niet omhoog te scrollen om te sluiten. */
.beheer-popup.settings-form {
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    overflow: hidden;
    padding: 0;
}
.settings-form .beheer-popup-header {
    position: relative;
    flex: none;
    padding: 22px 40px 14px;
    border-bottom: 1px solid var(--color-border);
    background: var(--color-surface);
}
.settings-form .beheer-popup-header .beheer-form-title {
    margin: 0;
    padding-right: 28px;
}
.settings-form .beheer-popup-body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 18px 40px 32px;
}
@media (max-width: 560px) {
    .settings-form .beheer-popup-header { padding: 18px 20px 12px; }
    .settings-form .beheer-popup-body { padding: 16px 20px 28px; }
}

/* Zwevende 'Beheer'-knop: alleen zichtbaar als de beheerder is ingelogd en op de
   publieke site kijkt. Snel terug naar het beheer na een misklik op bv. Home. */
.beheer-fab {
    position: fixed;
    bottom: 22px;
    right: 22px;
    z-index: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    background: var(--color-accent);
    color: #fff;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    transition: transform var(--transition), box-shadow var(--transition);
}
.beheer-fab:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.24);
    color: #fff;
}
.beheer-fab svg { flex: none; }
@media (max-width: 560px) {
    .beheer-fab { bottom: 16px; right: 16px; padding: 10px 14px; font-size: 0.85rem; }
}
