:root {
    --color-primary: #1b3a57;
    --color-secondary: #2fbcaf;
    --color-accent: #f4e6f0;
    --color-text: #222222;
    --color-bg: #ffffff;
    --shadow-soft: 0 12px 30px rgba(27, 58, 87, 0.10);
    --transition: 220ms ease;
}

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

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--color-text);
    background: #f8faf9;
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5.5rem;
}

::selection {
    color: var(--color-bg);
    background: var(--color-primary);
}

a,
button,
summary {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid var(--color-heading);
    outline-offset: 4px;
}

/* 404 */
.error-page {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 2rem 1.5rem;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, var(--color-primary) 0%, #24536b 58%, var(--color-secondary) 150%);
}

.error-page::before,
.error-page::after {
    position: fixed;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    content: "";
}

.error-page::before {
    top: -12rem;
    right: -9rem;
    width: 31rem;
    height: 31rem;
}

.error-page::after {
    bottom: -11rem;
    left: -8rem;
    width: 24rem;
    height: 24rem;
    border-color: rgba(191, 223, 64, 0.4);
}

.error-page__content {
    position: relative;
    z-index: 1;
    width: min(100%, 620px);
    text-align: center;
    animation: error-page-enter 700ms ease-out both;
}

.error-page__logo-link {
    display: inline-block;
    margin-bottom: 1rem;
}

.error-page__logo {
    width: auto;
    max-width: min(260px, 72vw);
    height: 76px;
    object-fit: contain;
}

.error-page__scissors {
    position: relative;
    display: inline-block;
    margin: 0.2rem 0 0.4rem;
    color: var(--color-heading);
}

.error-page__scissors svg {
    width: 82px;
    height: 82px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 4;
    transform: rotate(-18deg);
}

.error-page__spark {
    position: absolute;
    font-size: 1.3rem;
}

.error-page__spark--one { top: -0.25rem; left: -1rem; }
.error-page__spark--two { right: -1.1rem; bottom: 0.15rem; font-size: 0.9rem; }

.error-page__code {
    margin: 0;
    color: var(--color-heading);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.22em;
}

.error-page h1 {
    margin: 0.35rem 0 0.9rem;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.7rem, 7vw, 5rem);
    font-weight: 400;
    line-height: 1.05;
}

.error-page__intro {
    max-width: 520px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.08rem;
}

.error-page__actions {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin: 2rem 0 1.5rem;
}

.error-page__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    min-height: 46px;
    padding: 0.7rem 1rem;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition);
}

.error-page__button:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
    transform: translateY(-3px);
}

.error-page__button--primary { color: var(--color-primary); background: #fff; }
.error-page__button--secondary { color: #fff; border: 1px solid rgba(255, 255, 255, 0.55); }
.error-page__button--secondary:hover { background: rgba(255, 255, 255, 0.12); }

.error-page__address {
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.85rem;
}

.error-page__address a { color: var(--color-heading); font-weight: 700; }

@keyframes error-page-enter {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 560px) {
    .error-page { padding: 1.25rem; }
    .error-page__logo { height: 64px; }
    .error-page__scissors svg { width: 68px; height: 68px; }
    .error-page h1 { font-size: clamp(2.35rem, 12vw, 3.5rem); }
    .error-page__intro { font-size: 0.98rem; }
    .error-page__actions { flex-direction: column; align-items: stretch; max-width: 300px; margin: 1.5rem auto 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
    .error-page__content, .error-page__button { animation: none; transition: none; }
}

h1,
h2,
h3 {
    color: var(--color-heading);
}

/* Container */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.5rem;
}

.container--split {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

/* Hero */
.hero {
    position: relative;
    color: #fff;
    min-height: min(720px, 72vh);
    display: flex;
    flex-direction: column;
}

.hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(10, 24, 36, 0.82), rgba(10, 24, 36, 0.28) 72%), linear-gradient(to top, rgba(10, 24, 36, 0.45), transparent 38%);
    z-index: -1;
}

.hero__content {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    padding: 6rem 1.5rem 1.75rem;
    max-width: 1100px;
    margin: 0 auto;
}

.hero__copy {
    max-width: 680px;
    text-align: center;
    transform: translateY(1.5rem);
}

.hero__copy::after {
    display: block;
    width: 3rem;
    height: 3px;
    margin: 1.5rem auto 0;
    background: var(--color-secondary);
    content: "";
}

.hero__content h1 {
    color: #fff;
    margin: 0 0 0.5rem;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    margin-bottom: 0.5rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.socials {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 2rem;
}

.socials a {
    display: inline-flex;
    align-items: center;
    width: auto;
    height: 42px;
    gap: 0.55rem;
    padding: 0 1rem 0 0.65rem;
    color: var(--color-primary);
    background: var(--color-secondary);
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    transition: transform var(--transition), background-color var(--transition), box-shadow var(--transition);
}

.socials a:hover {
    background: var(--color-primary);
    color: #d8f04a;
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(27, 58, 87, 0.2);
}

.socials svg {
    width: 21px;
    color: #d8f04a;
    fill: currentColor;
    stroke: currentColor;
    stroke-width: 1.8;
}

.socials svg rect,
.socials svg circle {
    fill: none;
}

.socials svg .socials__dot {
    fill: currentColor;
}

.section--intro h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.section--intro p {
    max-width: 760px;
    font-size: 1.2rem;
    line-height: 1.75;
    margin-bottom: 0;
}

.hero__socials {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
}

.hero__socials a {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.6);
}

/* Navigatie */
.nav {
    position: fixed;
    top: 0;
    left: 50%;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1rem 1.5rem;
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
    background: transparent;
    transform: translateX(-50%);
    transition: background-color var(--transition), box-shadow var(--transition), padding var(--transition);
}

.nav.nav--scrolled {
    background: rgba(12, 27, 41, 0.94);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav__brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.nav__home {
    display: flex;
    align-items: center;
}

.nav__logo {
    height: 58px;
    width: auto;
}

.nav__title {
    font-weight: 600;
}

.nav__links {
    list-style: none;
    display: flex;
    gap: 1.35rem;
    margin: 0;
    padding: 0;
}

.nav__links a {
    color: #fff;
    text-decoration: none;
    font-size: 1.05rem;
    transition: color var(--transition);
}

.nav__links a:hover {
    color: var(--color-heading);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.nav__toggle span {
    width: 22px;
    height: 2px;
    background: #fff;
}

/* Sections */
.section {
    padding: clamp(4rem, 8vw, 7rem) 0;
}

.section h2 {
    position: relative;
    margin-bottom: 1.5rem;
    letter-spacing: 0.01em;
}

.section h2::after {
    display: block;
    width: 2.75rem;
    height: 3px;
    margin-top: 0.7rem;
    background: var(--color-secondary);
    content: "";
}

.section:nth-child(even) {
    position: relative;
}

.section:nth-child(even)::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 1px;
    background: color-mix(in srgb, var(--color-primary) 12%, transparent);
    content: "";
}

.section--intro {
    background: var(--color-bg);
}

.section--intro .container {
    max-width: 900px;
}

.section--usps {
    background: color-mix(in srgb, var(--color-secondary) 12%, var(--color-bg));
}

.section--pricing {
    background: color-mix(in srgb, var(--color-primary) 5%, var(--color-bg));
}

.section--hours {
    background: var(--color-bg);
}

.section--hours .container {
    text-align: center;
}

.section--hours h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-top: 0;
}

.section--hours .container > p {
    font-size: 1.15rem;
}

.section--contact {
    background: color-mix(in srgb, var(--color-secondary) 88%, var(--color-bg));
}

.contact-item {
    display: flex;
    flex: 1 1 240px;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item > div {
    min-width: 0;
}

.contact-item h2 {
    margin-top: 0;
    color: #d8f04a;
    font-size: 1.35rem;
}

.contact-item p {
    margin-bottom: 0;
    line-height: 1.7;
}

.contact-item__address {
    font-weight: 700;
}

.contact-item a {
    color: inherit;
    font-weight: 600;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.contact-item__icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    padding: 9px;
    color: var(--color-primary);
    background: var(--color-bg);
    border-radius: 50%;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

/* USP grid */
.usps-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1rem;
}

.usp-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 132px;
    background: var(--color-bg);
    border-radius: 8px;
    padding: 1.2rem;
    border: 1px solid color-mix(in srgb, var(--color-primary) 12%, transparent);
    box-shadow: 0 8px 20px rgba(27, 58, 87, 0.09);
    text-align: center;
    overflow: hidden;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.usp-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: var(--color-primary);
}

.usp-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-primary);
    box-shadow: 0 10px 22px rgba(27, 58, 87, 0.2);
}

.usp-card h3 {
    margin: 0;
    color: var(--color-heading);
    font-size: 1.15rem;
}

/* Rianne */
.section--rianne h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-top: 0;
}

.rianne__text,
.rianne__photo {
    flex: 1 1 320px;
}

.rianne__photo {
    display: flex;
    justify-content: center;
}

.rianne__photo picture {
    display: block;
    width: min(100%, 360px);
}

.rianne__photo img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    transition: transform var(--transition), box-shadow var(--transition);
}

.rianne__photo img:hover {
    transform: rotate(1deg) translateY(-4px);
    box-shadow: 0 18px 34px rgba(27, 58, 87, 0.18);
}

/* Prijzen */
.pricing-category {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid color-mix(in srgb, var(--color-primary) 22%, var(--color-bg));
}

.pricing-category:first-of-type {
    border-top: 1px solid color-mix(in srgb, var(--color-primary) 22%, var(--color-bg));
}

.pricing-category summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
    color: var(--color-heading);
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 700;
    list-style: none;
    transition: color var(--transition), padding-left var(--transition);
}

.pricing-category summary:hover {
    padding-left: 0.5rem;
    color: var(--color-primary);
}

.pricing-category summary::-webkit-details-marker {
    display: none;
}

.pricing-category summary::after {
    content: "+";
    color: var(--color-secondary);
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1;
}

.pricing-category[open] summary::after {
    content: "−";
}

.pricing-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pricing-list li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.4rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.pricing-label {
    min-width: 0;
    font-weight: 500;
}

.pricing-price {
    flex-shrink: 0;
    font-weight: 600;
    white-space: nowrap;
}

.pricing-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
}

/* Openingstijden */
.hours-table {
    width: 100%;
    max-width: 600px;
    margin: 1.5rem auto 0;
    border-collapse: collapse;
    font-size: 1.15rem;
}

.hours-table td {
    padding: 0.6rem 0;
    border-bottom: 1px solid color-mix(in srgb, var(--color-primary) 12%, transparent);
}

.hours-table td:last-child {
    text-align: right;
    font-weight: 600;
}

/* Footer */
.footer {
    background: var(--color-primary);
    color: #fff;
    padding: 1.5rem 0;
    font-size: 0.9rem;
    text-align: center;
}

.footer__partners {
    display: grid;
    justify-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.footer__recognition {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer__recognition p {
    margin: 0;
}

.footer__sbb {
    width: auto;
    max-width: 100px;
    max-height: 52px;
    object-fit: contain;
}

.footer__credit {
    margin: 0;
}

.footer__credit a {
    color: var(--color-secondary);
    font-weight: 700;
    text-decoration: none;
}

.footer__credit a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer__privacy {
    margin: 0.5rem 0 0;
}

.footer__privacy a {
    color: #fff;
    text-underline-offset: 0.2em;
}

.footer__privacy a:hover {
    color: var(--color-secondary);
}

/* Privacyverklaring */
.privacy-page {
    background: var(--color-bg);
}

.privacy-header {
    padding: 8rem 1.5rem 3rem;
    color: #fff;
    background: var(--color-primary);
}

.privacy-header h1 {
    max-width: 1100px;
    margin: 0 auto;
    color: #fff;
    font-size: clamp(2rem, 5vw, 3.5rem);
}

.privacy-content {
    max-width: 820px;
    padding-top: 3rem;
    padding-bottom: 4rem;
}

.privacy-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.45rem;
}

.privacy-content h2:first-child {
    margin-top: 0;
}

.privacy-content p,
.privacy-content li {
    line-height: 1.75;
}

.privacy-content ul {
    padding-left: 1.5rem;
}

.privacy-content a {
    overflow-wrap: anywhere;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* Cookiebanner */
.cookie-banner {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    left: 1.5rem;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
    padding: 1rem 1.25rem;
    color: #fff;
    background: var(--color-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.cookie-banner[hidden] {
    display: none;
}

.cookie-banner h2 {
    margin: 0 0 0.25rem;
    font-size: 1.05rem;
}

.cookie-banner p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.45;
}

.cookie-banner__button {
    flex: 0 0 auto;
    padding: 0.65rem 1rem;
    color: var(--color-primary);
    background: var(--color-heading);
    border: 0;
    border-radius: 6px;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.cookie-banner__button:hover {
    background: var(--color-secondary);
}

.back-to-top {
    position: fixed;
    right: 1.5rem;
    bottom: 5.5rem;
    z-index: 9;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    color: var(--color-heading);
    background: var(--color-primary);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.back-to-top:hover {
    color: var(--color-primary);
    background: var(--color-secondary);
}

.back-to-top[hidden] {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .nav__links {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background: rgba(12, 27, 41, 0.98);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
        flex-direction: column;
        padding: 1rem 1.5rem;
        display: none;
    }

    .nav__links.nav__links--open {
        display: flex;
    }

    .nav__toggle {
        display: flex;
    }

    .hero__content {
        align-items: flex-end;
        min-height: 300px;
        padding: 5rem 1.25rem 1.5rem;
    }

    .hero {
        min-height: 620px;
    }

    .hero__copy {
        max-width: 100%;
        transform: translateY(1rem);
    }

    .hero__content h1 {
        max-width: 22rem;
        font-size: clamp(2rem, 10.5vw, 3rem);
        line-height: 1.35;
    }

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

    .section--contact .container--split {
        gap: 1rem;
    }

    .rianne__photo {
        width: 100%;
        padding-top: 0.5rem;
    }

    .rianne__photo img {
        max-width: 300px;
    }

    .contact-item {
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 0.65rem;
        text-align: center;
    }

    .contact-item h2 {
        margin-bottom: 0.4rem;
        font-size: 1.2rem;
    }

    .contact-item a {
        overflow-wrap: anywhere;
    }

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

    .footer__partners {
        width: 100%;
    }

    .footer__recognition {
        max-width: 360px;
        align-items: flex-start;
    }

    .footer__recognition p {
        text-align: left;
    }

    .cookie-banner {
        right: 1rem;
        bottom: 1rem;
        left: 1rem;
        align-items: stretch;
        flex-direction: column;
        gap: 0.8rem;
    }

    .cookie-banner__button {
        width: 100%;
    }

    .back-to-top {
        right: 1rem;
        bottom: 7.5rem;
    }
}

@media (max-width: 520px) {
    .usps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

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

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