:root {
    --creme: #fbf1e3;
    --creme-diep: #f1e1c6;
    --bruin: #3b2415;
    --bruin-zacht: #5c3a22;
    --kers: #a32f49;
    --kers-diep: #7f2338;
    --goud: #d9a441;
    --goud-zacht: #eccd8f;
    --wit: #fffaf1;

    --radius: 14px;
    --schaduw: 0 10px 30px rgba(59, 36, 21, 0.12);
    --max-breedte: 1080px;
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: var(--creme);
    background-image: radial-gradient(circle, rgba(59, 36, 21, 0.06) 1px, transparent 1px);
    background-size: 22px 22px;
    font-family: "Figtree", sans-serif;
    color: var(--bruin-zacht);
}

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

a {
    color: var(--kers);
}

::selection {
    background: var(--goud-zacht);
    color: var(--bruin);
}

:focus-visible {
    outline: 3px solid var(--kers);
    outline-offset: 3px;
    border-radius: 4px;
}

.schelp {
    height: 26px;
    flex-shrink: 0;
    background: var(--kers);
}
.schelp-boven {
    -webkit-mask-image: radial-gradient(circle at 13px 26px, transparent 13px, black 14px);
    mask-image: radial-gradient(circle at 13px 26px, transparent 13px, black 14px);
    -webkit-mask-size: 26px 26px;
    mask-size: 26px 26px;
    -webkit-mask-repeat: repeat-x;
    mask-repeat: repeat-x;
}

.site-hoofding {
    background: var(--creme);
    position: relative;
    z-index: 100;
}

.nav {
    max-width: var(--max-breedte);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.5rem;
    gap: 1.5rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}
.nav-logo img {
    height: 52px;
    width: auto;
}
.nav-logo span {
    font-family: "Fraunces", serif;
    font-style: italic;
    font-weight: 600;
    font-size: 1.3rem;
    color: var(--bruin);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.7rem;
    margin: 0;
    padding: 0;
    font-weight: 600;
}
.nav-links a {
    text-decoration: none;
    color: var(--bruin-zacht);
    padding: 0.3rem 0.1rem;
    border-bottom: 2px solid transparent;
    transition:
        color 0.15s ease,
        border-color 0.15s ease;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
    color: var(--kers);
    border-color: var(--goud);
}

.nav-schakel {
    display: none;
    background: none;
    border: 2px solid var(--bruin);
    border-radius: 8px;
    padding: 0.4rem 0.6rem;
    font-size: 1.2rem;
    color: var(--bruin);
    cursor: pointer;
}

.galerij figcaption {
    position: absolute;
    inset: auto 0 0 0;
    background: linear-gradient(0deg, rgba(59, 36, 21, 0.75), transparent);
    color: var(--wit);
    font-size: 0.85rem;
    padding: 1.4rem 0.8rem 0.6rem;
}

.foto-link {
    cursor: zoom-in;
    display: block;
}

.foto-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}
.foto-modal.actief {
    display: flex;
}

.foto-modal__inhoud {
    max-width: 90vw;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.foto-modal__inhoud img {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
.foto-modal__teller {
    color: #fff;
    margin-top: 0.75rem;
    font-size: 0.9rem;
    opacity: 0.85;
}

.foto-modal__sluiten {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.2rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
}

.foto-modal__nav {
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: #fff;
    font-size: 1.6rem;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.foto-modal__nav:hover {
    background: rgba(255, 255, 255, 0.25);
}
.foto-modal__vorige {
    margin-right: 1.5rem;
}
.foto-modal__volgende {
    margin-left: 1.5rem;
}

@media (max-width: 640px) {
    .foto-modal__nav {
        width: 2.4rem;
        height: 2.4rem;
        font-size: 1.2rem;
    }
    .foto-modal__vorige {
        margin-right: 0.5rem;
    }
    .foto-modal__volgende {
        margin-left: 0.5rem;
    }
}

@media (max-width: 720px) {
    .nav-schakel {
        display: block;
        position: relative;
        z-index: 1001;
    }
    .nav-schakel[aria-expanded="true"] {
        background: var(--bruin);
        border-color: var(--bruin);
        color: var(--wit);
    }

    .nav-links {
        position: fixed;
        inset: 0;
        margin: 0;
        width: 100%;
        height: 100dvh;
        list-style: none;
        flex-direction: column;
        justify-content: center;
        align-items: stretch;
        gap: 0;
        background: var(--wit);
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition:
            opacity 0.22s ease,
            transform 0.22s ease,
            visibility 0s linear 0.22s;
        z-index: 1000;
    }
    .nav-links.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        transition:
            opacity 0.22s ease,
            transform 0.22s ease;
    }
    .nav-links a {
        display: block;
        width: 100%;
        text-align: center;
        padding: 1.3rem 1.5rem;
        font-size: 1.3rem;
        line-height: 1.3;
        color: var(--bruin);
        border-bottom: 1px solid var(--creme-diep);
    }
    .nav-links li:last-child a {
        border-bottom: none;
    }
    .nav-links a:hover,
    .nav-links a[aria-current="page"] {
        color: var(--kers);
        background: var(--creme-diep);
    }
}

.hero {
    position: relative;
    min-height: min(78vh, 640px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 1.5rem;
    background-size: cover;
    background-position: center 15%;
    overflow: hidden;
}

@media (orientation: portrait) {
    .hero {
        background-position: center;
    }
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(59, 36, 21, 0.55) 0%, rgba(59, 36, 21, 0.35) 45%, rgba(59, 36, 21, 0.65) 100%);
}

.hero-inhoud {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    color: var(--wit);
}

.hero-logo {
    max-width: min(60vw, 320px);
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.35));
}

.hero-tagline {
    font-family: "Fraunces", serif;
    font-style: italic;
    font-weight: 500;
    font-size: clamp(1.2rem, 1.4vw + 1rem, 1.7rem);
    max-width: 34ch;
    line-height: 1.5;
}

.hero-cta {
    display: inline-flex;
    gap: 0.9rem;
    margin-top: 0.4rem;
    flex-wrap: wrap;
    justify-content: center;
}

main {
    flex: 1;
}

.container {
    max-width: var(--max-breedte);
    margin: 0 auto;
    padding: 3.5rem 1.5rem;
}

.container.kleinhoofd {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.wenkbrauw {
    color: var(--kers);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.8rem;
}

h1,
h2,
h3 {
    font-family: "Fraunces", serif;
    color: var(--bruin);
    line-height: 1.15;
    margin: 0.3rem 0 1rem;
}

h1 {
    font-style: italic;
    font-weight: 600;
    font-size: clamp(2rem, 3vw + 1rem, 3rem);
}

h2 {
    font-weight: 600;
    font-size: clamp(1.5rem, 1.6vw + 1rem, 2.1rem);
}

.accent {
    color: var(--kers);
    font-style: normal;
}

p {
    line-height: 1.7;
}

.inleiding {
    font-size: 1.15rem;
    max-width: 62ch;
}

.scheider {
    color: var(--goud);
    font-size: 1.1rem;
    letter-spacing: 0.6em;
    margin: 0.1rem 0 1.4rem 0;
}

.knop {
    display: inline-block;
    font-family: "Figtree", sans-serif;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    padding: 0.85rem 1.6rem;
    border-radius: 999px;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    transition:
        transform 0.12s ease,
        background 0.15s ease,
        color 0.15s ease,
        border-color 0.15s ease;
}
.knop:hover {
    transform: translateY(-1px);
}

.knop-gevuld {
    background: var(--kers);
    color: var(--wit);
}

.knop-gevuld:hover {
    background: var(--kers-diep);
}

.knop-leeg {
    background: transparent;
    border-color: var(--wit);
    color: var(--wit);
}

.knop-leeg:hover {
    background: rgba(255, 255, 255, 0.15);
}

.knop-contour {
    background: transparent;
    border-color: var(--kers);
    color: var(--kers);
}

.knop-contour:hover {
    background: var(--kers);
    color: var(--wit);
}

.knop:disabled,
.knop[aria-disabled="true"] {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

.raster {
    display: grid;
    gap: 1.6rem;
}

.raster-3 {
    grid-template-columns: repeat(3, 1fr);
}

.raster-2 {
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 780px) {
    .raster-3,
    .raster-2 {
        grid-template-columns: 1fr;
    }
}

.kaart {
    background: var(--wit);
    border-radius: var(--radius);
    box-shadow: var(--schaduw);
    padding: 1.8rem;
}

.opi-sectie {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2.5rem;
    align-items: start;
}

@media (max-width: 780px) {
    .opi-sectie {
        grid-template-columns: 1fr;
    }
}
.opi-portret {
    border-radius: var(--radius);
    box-shadow: var(--schaduw);
    aspect-ratio: 4 / 5;
    object-fit: cover;
    background: var(--creme-diep);
}

.opi-tekst p {
    margin: 0 0 1.1rem;
}

.opi-tekst p:last-child {
    font-family: "Fraunces", serif;
    font-style: italic;
    color: var(--kers);
    font-size: 1.2rem;
    margin-top: 1.6rem;
}

.galerij {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 1rem;
}

.galerij figure {
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--schaduw);
    position: relative;
    aspect-ratio: 1 / 1;
}

.galerij img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.galerij a:hover img,
.galerij a:focus-visible img {
    transform: scale(1.06);
}

.galerij figure a {
    display: block;
    width: 100%;
    height: 100%;
}

.galerij figcaption {
    position: absolute;
    inset: auto 0 0 0;
    background: linear-gradient(0deg, rgba(59, 36, 21, 0.75), transparent);
    color: var(--wit);
    font-size: 0.85rem;
    padding: 1.4rem 0.8rem 0.6rem;
}

.workshop-kaart {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

@supports (grid-template-rows: subgrid) {
    .workshop-kaart {
        display: grid;
        grid-template-rows: subgrid;
        grid-row: span 7;
        align-items: start;
    }

    .workshop-kaart > .workshop-onder-rij {
        align-self: start;
    }

    .workshop-kaart > .knop {
        align-self: end;
    }
}

.workshop-foto-wrap.heeft-foto {
    margin: -1.8rem -1.8rem 0;
}

.workshop-foto {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: var(--radius) var(--radius) 0 0;
}

.workshop-datum {
    font-family: "Fraunces", serif;
    font-style: italic;
    color: var(--kers);
    font-weight: 600;
}
.workshop-plekken {
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    width: fit-content;
}

.plekken-vrij {
    background: #e6f0e0;
    color: #3c6b2f;
}

.plekken-weinig {
    background: #fbe9c7;
    color: #8a5a10;
}

.plekken-vol {
    background: #f4dede;
    color: var(--kers-diep);
}

.workshop-onder-rij {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.workshop-duur {
    font-size: 0.88rem;
    color: var(--bruin-zacht);
    opacity: 0.85;
}

.workshop-prijs {
    font-weight: 700;
    color: var(--bruin);
    white-space: nowrap;
}

.workshop-prijs-eenheid {
    font-weight: 500;
    color: var(--bruin-zacht);
    opacity: 0.75;
    font-size: 0.82em;
}

.form-raster {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.form-raster .full {
    grid-column: 1 / -1;
}

@media (max-width: 640px) {
    .form-raster {
        grid-template-columns: 1fr;
    }
}

.veld {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.veld label {
    font-weight: 600;
    color: var(--bruin);
    font-size: 0.95rem;
}

.veld .hint {
    font-size: 0.8rem;
    color: var(--bruin-zacht);
    opacity: 0.8;
}

.veld input,
.veld select,
.veld textarea {
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.5;
    padding: 0.75rem 0.9rem;
    border-radius: 10px;
    border: 1.5px solid var(--creme-diep);
    background: var(--wit);
    color: var(--bruin);
}

.veld input:focus,
.veld select:focus,
.veld textarea:focus {
    border-color: var(--kers);
}

.veld select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 2.6rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%235c3a22' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    background-size: 12px 8px;
}

.veld select::-ms-expand {
    display: none;
}

.veld textarea {
    resize: vertical;
    min-height: 120px;
}

.veld-radio-groep {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.veld-radio-groep label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    background: var(--wit);
    border: 1.5px solid var(--creme-diep);
    padding: 0.6rem 1rem;
    border-radius: 999px;
    cursor: pointer;
}

.veld-radio-groep input {
    accent-color: var(--kers);
}

.form-actions {
    margin-top: 1.6rem;
}

.melding {
    padding: 1rem 1.3rem;
    border-radius: 10px;
    margin-bottom: 1.6rem;
    font-weight: 600;
}
.melding-succes {
    background: #e6f0e0;
    color: #3c6b2f;
}

.melding-fout {
    background: #f4dede;
    color: var(--kers-diep);
}

.site-voettekst {
    background: var(--bruin);
    color: var(--creme);
}

.voettekst-binnen {
    max-width: var(--max-breedte);
    margin: 0 auto;
    padding: 2.6rem 1.5rem 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    font-size: 0.92rem;
}

@media (max-width: 720px) {
    .voettekst-binnen {
        grid-template-columns: 1fr;
    }
}

.voettekst-binnen h3 {
    color: var(--goud-zacht);
    font-size: 1rem;
    font-family: "Figtree", sans-serif;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.9rem;
}

.voettekst-binnen p {
    margin: 0 0 0.4rem;
    opacity: 0.9;
    line-height: 1.6;
}
.voettekst-binnen ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.voettekst-binnen li {
    margin-bottom: 0.5rem;
}

.voettekst-binnen a {
    color: var(--creme);
    text-decoration: none;
    opacity: 0.9;
}

.voettekst-binnen a:hover {
    color: var(--goud-zacht);
    opacity: 1;
}

.voettekst-onder {
    border-top: 1px solid rgba(251, 241, 227, 0.15);
    text-align: center;
    padding: 1rem 1.5rem 1.6rem;
    font-size: 0.8rem;
    opacity: 0.75;
}
.voettekst-onder a {
    color: var(--creme);
}

.animatie-stijg {
    opacity: 0;
    animation: animatieStijg 0.8s ease forwards;
}

@keyframes animatieStijg {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}
