@charset "UTF-8";

/* ==========================================
   LETTERTYPEN
   ========================================== */

@font-face {
    font-family: "Praktijk Sans";
    src: url("../fonts/praktijk-sans.woff") format("woff");
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Praktijk Sans";
    src: url("../fonts/praktijk-sans-bold.woff") format("woff");
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: "Praktijk Serif";
    src: url("../fonts/praktijk-serif-bold.woff") format("woff");
    font-weight: 700;
    font-display: swap;
}

/* ==========================================
   KLEUREN EN BASISINSTELLINGEN
   ========================================== */

:root {
    --primary: #075581;
    --heading: #063d66;
    --tint: #e7eef5;
    --tint-end: #eff3f7;
    --line: #c4d3de;
    --footer: #07517b;
    --footer-end: #05395e;
    --logo-ground: #a9c2d4;
    --accent: #df7b24;
    --paper: #fffaf3;
    --ink: #202323;
    --muted: #4f585b;
    --container: 1440px;
    --gutter: clamp(1.25rem, 4.5vw, 5rem);
    --radius: 8px;
    color-scheme: light;
}

* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: "Praktijk Sans", Arial, sans-serif;
    font-size: clamp(1rem, 1.2vw, 1.25rem);
    line-height: 1.5;
}

h1 {
    font-size: clamp(2rem, 1.5rem + 1vw, 3rem);
    line-height: 1.12;
}

h2 {
    font-size: clamp(1.6rem, 1.25rem + 0.8vw, 2.25rem);
    line-height: 1.2;
}

h3 {
    font-size: clamp(1.3rem, 1.1rem + 0.45vw, 1.7rem);
    line-height: 1.25;
}

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

a {
    color: var(--primary);
    text-underline-offset: 0.16em;
}

button {
    font: inherit;
    cursor: pointer;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 5px;
}

.container {
    width: min(var(--container), calc(100% - var(--gutter) * 2));
    margin-inline: auto;
}

.section {
    padding-block: clamp(2.5rem, 4.3vw, 4.5rem);
}

.eyebrow {
    margin: 0 0 1.3rem;
    color: var(--primary);
    font-size: 0.72em;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* ==========================================
   BUTTONS EN LINKS
   ========================================== */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    min-height: 44px;
    padding: 0.8em 1.25em;
    border: 1px solid transparent;
    border-radius: 5px;
    font-size: 0.85em;
    line-height: 1.2;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 160ms ease, color 160ms ease;
}

.button-primary {
    background: var(--primary);
    color: #fff;
}

.button-primary:hover {
    background: var(--heading);
    color: #fff;
}

.button-outline,
.button-ghost {
    border-color: var(--primary);
    color: var(--primary);
    background: transparent;
}

.button-outline:hover,
.button-ghost:hover {
    background: var(--tint);
}

.button-light {
    color: var(--primary);
    background: #fff;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: clamp(1.5rem, 3vw, 3rem);
}

.arrow {
    display: inline-block;
    flex-shrink: 0;
    width: 0.9em;
    height: 0.9em;
    background: currentColor;
    color: var(--accent);
    font-size: inherit;
    vertical-align: -0.1em;
    mask: url("../images/pijl.svg") center / contain no-repeat;
}

.arrow > span {
    display: none;
}

.text-link {
    font-weight: 700;
    font-size: 0.95em;
}

.text-link .arrow {
    margin-left: 0.4em;
}

/* ==========================================
   HERO / BANNER
   ========================================== */

.hero {
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    align-items: center;
}

.hero-copy {
    position: relative;
    z-index: 2;
    padding-block: 2.5rem;
}

.hero-copy h1 {
    max-width: 13ch;
}

.hero-copy > p:not(.eyebrow) {
    max-width: 31ch;
    font-size: 1.12em;
}

.hero-visual {
    position: relative;
    min-width: 0;
    align-self: stretch;
}

.hero-photo {
    width: 100%;
    height: 100%;
    aspect-ratio: 1.43;
    object-fit: cover;
    object-position: right center;
}

.hero-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, var(--paper), transparent 22%);
}

.title-rule::after {
    content: "";
    display: block;
    width: clamp(2.5rem, 7vw, 6rem);
    height: 2px;
    margin-top: 0.42em;
    background: var(--accent);
}

/* ==========================================
   LOCATIEBALK EN KAARTEN
   ========================================== */

.location-strip {
    background: linear-gradient(110deg, var(--tint), var(--tint-end));
    padding-block: 1.2rem;
}

.location-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: var(--heading);
}

.location-links strong {
    font-family: "Praktijk Serif", Georgia, serif;
    font-size: 1.18em;
}

.location-links a {
    font-size: 0.96em;
}

.location-links .arrow {
    transform: rotate(-45deg);
    margin-left: 0.3em;
}

.cards {
    display: grid;
    gap: 2.5rem;
    margin-top: clamp(1.75rem, 3.8vw, 3.5rem);
}

.treatment-card {
    min-width: 0;
}

.treatment-card img {
    width: 100%;
    aspect-ratio: 1.52;
    object-fit: cover;
}

.treatment-card h3 {
    margin-block: 0.55em 0.35em;
}

.treatment-card ul {
    padding-left: 1em;
    margin-bottom: 0.8em;
    font-size: 0.9em;
    line-height: 1.5;
    list-style-type: square;
}

.treatment-card li::marker {
    color: var(--primary);
    font-size: 0.75em;
}

/* ==========================================
   OVERIGE CONTENTBLOKKEN
   ========================================== */

.split-band {
    background: linear-gradient(110deg, var(--tint), var(--tint-end));
}

.split {
    display: grid;
    gap: 2rem;
    align-items: center;
}

.split img {
    width: 100%;
    aspect-ratio: 1.25;
    object-fit: cover;
}

.split p {
    max-width: 48ch;
}

.cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.3rem;
    padding-block: 2rem;
}

.cta h2 {
    margin: 0;
    font-size: clamp(1.6rem, 2.7vw, 2.75rem);
}

.cta p {
    margin: 0;
    font-size: 0.75em;
}

.cta .button {
    font-size: 0.75em;
}

/* ==========================================
   FOOTER
   ========================================== */

.footer {
    color: #fff;
    background: linear-gradient(120deg, var(--footer), var(--footer-end));
}

.footer a {
    color: inherit;
}

.footer-grid {
    display: grid;
    gap: 2rem;
    padding-block: 2rem;
    font-size: 0.85em;
}

.footer h2,
.footer h3 {
    margin: 0 0 0.5em;
    color: #fff;
    font-family: "Praktijk Sans", Arial, sans-serif;
    font-size: 1em;
    letter-spacing: 0;
}

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

.footer-brand {
    display: inline-block;
    margin-bottom: 0.4em;
    border-bottom: 1px solid var(--accent);
    font-weight: 700;
    font-size: 1.2em;
    line-height: 1.2;
}

.footer small {
    display: block;
    font-size: 0.86em;
}

.footer-bottom {
    padding: 0.85em var(--gutter);
    background: rgb(0 0 0 / 10%);
    text-align: center;
    font-size: 0.85em;
}

/* ==========================================
   LOGO
   ========================================== */

.logo-icon {
    width: 4.5rem;
    height: auto;
    flex-shrink: 0;
}

.logo-primary {
    fill: var(--primary);
}

.logo-accent {
    fill: var(--accent);
}

.logo-ground {
    fill: var(--logo-ground);
}

/* ==========================================
   MAXICMS CONTENTTEMPLATES
   ========================================== */

.page-intro {
    padding-block: clamp(2.5rem, 5vw, 5rem);
    background: var(--tint);
}

.breadcrumb {
    margin-bottom: 1.5rem;
    font-size: 0.8em;
}

.content-wide,
.content-main,
.content-sidebar {
    min-width: 0;
    overflow-wrap: anywhere;
}

.content-layout {
    display: grid;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: start;
}

.sidebar-panel {
    padding: clamp(1.5rem, 3vw, 2.5rem);
    background: var(--tint);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.sidebar-panel h2 {
    font-size: 1.65em;
}

.sidebar-panel h3 {
    font-size: 1.3em;
    margin-top: 1.4em;
}

/* ==========================================
   LANDINGSPAGINA: KLEUREN EN TYPOGRAFIE
   ========================================== */

.landing {
    --primary: #073e41;
    --heading: #07343c;
    --tint: #e8ead7;
    --tint-end: #eff0e4;
    --line: #d9d8c7;
    --logo-ground: #a6b284;
    --gutter: clamp(1.25rem, 3vw, 3.5rem);
}

.landing .hero-copy .eyebrow {
    display: flex;
    align-items: center;
    gap: 1.2em;
    color: #556e35;
}

.landing .hero-copy .eyebrow::after {
    content: "";
    height: 1px;
    width: 3.7em;
    flex-shrink: 0;
    background: var(--accent);
}

.landing .hero-copy h1 {
    max-width: 12ch;
    font-size: clamp(2.4rem, 4.5vw, 4.5rem);
    line-height: 1.04;
}

.landing .hero-copy > p:not(.eyebrow) {
    max-width: 29ch;
    color: var(--heading);
    font-size: 1.05em;
    line-height: 1.45;
}

/* Golf / wave onder de banner */

.hero-wave {
    display: block;
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: clamp(3rem, 6vw, 6rem);
    z-index: 3;
    pointer-events: none;
}

.wave-paper {
    fill: var(--paper);
}

.wave-sage {
    fill: #b3bd91;
}

.wave-orange {
    fill: none;
    stroke: var(--accent);
    stroke-width: 2;
}

/* ==========================================
   LANDINGSPAGINA: LOCATIEKAARTEN
   ========================================== */

.section-heading {
    text-align: center;
}

.section-heading h2 {
    font-size: clamp(1.9rem, 3.5vw, 3.5rem);
    letter-spacing: -0.04em;
}

.section-heading p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1em;
    margin: 0;
    color: var(--heading);
    font-size: 1.2em;
}

.section-heading p::before,
.section-heading p::after {
    content: "";
    height: 1px;
    width: 3em;
    background: var(--accent);
}

.location-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 12px;
}

.location-card > img {
    width: 100%;
    aspect-ratio: 1.12;
    object-fit: cover;
}

.location-card > div {
    padding: 1.3rem;
}

.location-card .eyebrow {
    margin-bottom: 0.5em;
    color: #556e35;
    font-size: 0.65em;
}

.location-card h3 {
    font-size: clamp(1.5rem, 2.6vw, 2.5rem);
    letter-spacing: -0.045em;
}

.location-card .button {
    display: flex;
    margin-top: 0.8em;
    padding: 0.8em 0.65em;
    width: 100%;
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / 8%);
    background: linear-gradient(130deg, #0b5353, #003536);
    color: #fff;
    font-size: 1em;
    line-height: 1.25;
    text-align: center;
}

.location-card .arrow {
    color: inherit;
    transform: rotate(-45deg);
}

/* ==========================================
   LANDINGSPAGINA: WAARDEN EN AFSLUITING
   ========================================== */

.values {
    background: linear-gradient(110deg, #e6e9d3, #eff0e3);
    padding-block: clamp(1.5rem, 5vw, 5rem);
}

.values ul {
    display: grid;
    gap: 1.5rem;
    padding: 0;
    margin: 0;
    list-style: none;

}

.values li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1em;
    color: var(--heading);
}

.value-icon {
    flex-shrink: 0;
    width: clamp(3rem, 7vw, 6.5rem);
    height: auto;
    color: var(--heading);
}

.landing-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-block: clamp(2rem, 6.3vw, 6rem);
    color: var(--heading);
    font-size: 0.9em;
}

.landing-footer strong {
    font-family: "Praktijk Serif", Georgia, serif;
    font-size: 1.06em;
}

.landing-footer a {
    text-decoration: none;
}

.divider {
    flex: 1;
    min-width: 2rem;
    height: 1px;
    background: #aebd93;
}

/* ==========================================
   DIALOOGVENSTER
   ========================================== */

.contact-dialog {
    width: min(90vw, 600px);
    padding: 2rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--paper);
    color: var(--ink);
    overflow-wrap: anywhere;
}

.contact-dialog::backdrop {
    background: rgb(0 30 35 / 50%);
}

.contact-dialog h2 {
    font-size: 2rem;
    margin-top: 1rem;
}

.dialog-close {
    display: block;
    margin-left: auto;
    border: 0;
    padding: 0.5rem;
    background: transparent;
    color: var(--primary);
}

/* ==========================================
   TABLET EN GROTER
   ========================================== */

@media (min-width: 600px) {
    .cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: clamp(1rem, 2.3vw, 2.5rem);
    }

    .footer-grid {
        grid-template-columns: 1.4fr 0.9fr 1fr;
    }

    .footer-grid > div + div {
        padding-left: 2rem;
        border-left: 1px solid rgb(255 255 255 / 65%);
    }

    .landing .cards {
        gap: clamp(0.75rem, 1.7vw, 2rem);
    }

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

    .values li + li {
        border-left: 1px solid #b6c393;
        padding-left: 1rem;
    }

    .values li {
        padding-right: 1rem;
    }

    .values li span {
        max-width: 10ch;
    }
}

/* ==========================================
   DESKTOP
   ========================================== */

@media (min-width: 992px) {
    .hero-grid {
        grid-template-columns: 44% 56%;
        min-height: clamp(29rem, 40.7vw, 42rem);
    }

    .hero-copy {
        padding-block: 2.5rem;
    }

    .hero-photo {
        position: absolute;
        inset: 0;
        aspect-ratio: auto;
    }

    .hero-visual {
        margin-right: calc(-1 * max(var(--gutter), (100vw - var(--container)) / 2));
    }

    .hero-copy .actions {
        flex-wrap: nowrap;
        gap: 1.2rem;
    }

    .hero-copy .button {
        font-size: 0.8em;
        padding-inline: 1em;
        white-space: nowrap;
    }

    .location-strip {
        padding-block: clamp(1.5rem, 2.5vw, 2.6rem);
    }

    .location-links strong {
        padding-right: 4vw;
        border-right: 1px solid var(--primary);
    }

    .split {
        grid-template-columns: 1.06fr 1fr;
        gap: clamp(2rem, 4vw, 4rem);
        font-size: 0.96em;
    }

    .split-band.section {
        padding-block: clamp(2rem, 3.2vw, 3.5rem);
    }

    .cta {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 1.5rem;
        padding-block: clamp(2rem, 3.5vw, 4rem);
    }

    .cta h2 {
        flex: 1;
    }

    .cta p {
        padding-block: 1rem;
        padding-left: 1.5rem;
        border-left: 1px solid var(--accent);
    }

    .footer-grid {
        padding-block: clamp(2rem, 3vw, 3.5rem);
    }

    .content-layout:has(> .content-sidebar) {
        grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    }

    /* Compactere banner op de homepage */
    .landing .hero-grid {
        grid-template-columns: 48% 52%;
        min-height: clamp(26rem, 34vw, 36rem);
    }

    .landing .hero-copy {
        padding: 2rem 0 3rem;
    }

    .landing .hero-visual {
        margin-left: -5%;
    }

    .landing .hero-photo {
        object-position: 57% center;
    }

    .landing .hero-visual::after {
        background: linear-gradient(90deg, var(--paper), transparent 24%);
    }

    /* Locatiekaarten komen hoger in beeld */
    .landing #locaties {
        padding-block: 2rem 3rem;
    }

    .landing .cards {
        margin-top: clamp(1.5rem, 3vw, 3rem);
    }

    .location-card > div {
        padding: clamp(1rem, 1.8vw, 1.8rem);
    }
}

/* ==========================================
   MOBIEL
   ========================================== */

@media (max-width: 599px) {
    .landing .hero-copy {
        padding-top: 2rem;
        padding-bottom: 1rem;
    }

    .landing .hero-copy h1 {
        font-size: clamp(2.2rem, 8vw, 3rem);
    }

    .landing .hero-visual {
        margin-inline: calc(-1 * var(--gutter));
    }

    .landing .hero-photo {
        aspect-ratio: 1.5;
    }

    .landing .hero-visual::after {
        background: linear-gradient(var(--paper), transparent 15%);
    }

    .landing .hero-wave {
        height: 2.5rem;
    }

    .location-card > img {
        aspect-ratio: 1.7;
    }

    .section-heading p {
        font-size: 1rem;
    }

    .section-heading p::before,
    .section-heading p::after {
        width: 1.5rem;
    }

    .landing .cards {
        margin-top: 1.5rem;
    }

    .landing-footer {
        justify-content: center;
        text-align: center;
    }

    .landing-footer .divider {
        display: none;
    }
}

/* ==========================================
   TOEGANKELIJKHEID: MINDER BEWEGING
   ========================================== */

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

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}
