:root {
    --green: #30A644;
    --green-dark: #237A32;
    --green-light: #E6F4E9;
    --green-bg: #30A644;
    --text: #2B2B2B;
    --text-muted: #555;
    --white: #ffffff;
    --radius: 14px;
    --radius-sm: 8px;
    --max-width: 480px;
    --section-pad: 40px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text);
    background: #fff;
    line-height: 1.55;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
}

.page {
    max-width: var(--max-width);
    margin: 0 auto;
    background: #fff;
    overflow: hidden;
}

.container {
    padding-left: 28px;
    padding-right: 28px;
}

/* ---------- Header ---------- */
.site-header {
    padding: 32px 28px 24px;
    text-align: center;
}

.site-header .logo {
    display: inline-block;
}

.site-header img.logo-img {
    max-height: 78px;
    width: auto;
}

.address-bar {
    background: var(--green-bg);
    color: var(--white);
    text-align: left;
    font-weight: 700;
    padding: 14px 28px;
    font-size: 16px;
}

.address-bar .sep {
    margin: 0 6px;
    opacity: 0.9;
}

/* ---------- Hero ---------- */
.hero-image {
    width: 100%;
    aspect-ratio: 4/3;
    background: var(--green-light);
    display: block;
}

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

/* ---------- Sections ---------- */
section {
    padding: var(--section-pad) 28px;
}

section.tight {
    padding-top: 28px;
    padding-bottom: 28px;
}

h2.title {
    font-size: 36px;
    line-height: 1.1;
    font-weight: 900;
    color: var(--text);
    margin-bottom: 22px;
    letter-spacing: -0.5px;
}

h2.title .accent {
    color: var(--green);
}

h2.title.center {
    text-align: center;
}

p.lead {
    color: var(--text);
    margin-bottom: 18px;
}

p.lead strong {
    font-weight: 700;
}

/* ---------- Check list ---------- */
ul.check-list {
    list-style: none;
    margin: 22px 0;
    padding: 0;
}

ul.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 6px 0;
    font-size: 17px;
}

ul.check-list li::before {
    content: "";
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 3px;
    border-radius: 50%;
    background: var(--green) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'></polyline></svg>") center/12px no-repeat;
}

/* Tick list variant (white tick, no circle) for green sections */
ul.tick-list {
    list-style: none;
    margin: 22px 0;
    padding: 0;
}

ul.tick-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 6px;
    color: var(--white);
    font-size: 17px;
}

ul.tick-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--white);
    font-weight: 700;
}

/* ---------- Carousel (slider) ---------- */
.carousel {
    margin-top: 8px;
    position: relative;
}

/* Stage wraps the track so an overlay can sit on top of the
   visible area only (not over the dots). */
.carousel-stage {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
}

.carousel.hero .carousel-stage {
    border-radius: 0;
}

.carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-slide {
    flex: 0 0 100%;
    min-width: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

/* Product slider: 1:1 frame per slide (radius lives on .carousel-stage) */
.carousel.product .carousel-slide {
    aspect-ratio: 1/1;
    background: var(--green-light);
    overflow: hidden;
}

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

/* Hero slider: edge-to-edge, 4:3 frame per slide */
.carousel.hero .carousel-track {
    border-radius: 0;
}

.carousel.hero .carousel-slide {
    aspect-ratio: 4/3;
    background: var(--green-light);
    overflow: hidden;
}

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

.carousel.hero .carousel-dots {
    padding: 14px 0 0;
}

/* Team slider: 2 members per slide */
.carousel.team .carousel-slide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 4px 2px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 14px;
}

.carousel-dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: var(--green);
    opacity: 0.35;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s, background 0.2s;
}

.carousel-dots button:hover {
    opacity: 0.6;
}

.carousel-dots button.active {
    opacity: 1;
    transform: scale(1.15);
}

/* Pagination dots overlaid on top of the slider image */
.carousel-dots.overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 14px;
    margin-top: 0;
    z-index: 3;
}

.carousel-dots.overlay button {
    background: rgba(255, 255, 255, 0.6);
    opacity: 1;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.carousel-dots.overlay button:hover {
    background: rgba(255, 255, 255, 0.85);
}

.carousel-dots.overlay button.active {
    background: var(--white);
    transform: scale(1.2);
}

/* ---------- Green CTA banner ---------- */
.cta-banner {
    background: var(--green-bg);
    color: var(--white);
    padding: 48px 28px;
}

.cta-banner h2 {
    font-size: 36px;
    line-height: 1.1;
    font-weight: 900;
    margin-bottom: 14px;
}

.cta-banner h2 .bold {
    font-weight: 900;
}

.cta-banner .date {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 18px;
}

.cta-banner p {
    margin-bottom: 14px;
}

/* Small CTA banner (just title + date) */
.cta-banner.small {
    padding: 28px;
    text-align: center;
}

.cta-banner.small h2 {
    font-size: 26px;
    margin-bottom: 8px;
}

.cta-banner.small .date {
    font-size: 20px;
    margin-bottom: 0;
}

/* ---------- Team ---------- */
.team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 28px;
}

.team-member {
    text-align: center;
}

.team-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 16px;
    background: var(--green-light);
    border: 2px solid var(--green);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    font-size: 12px;
    text-align: center;
}

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

.team-member h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.team-member p {
    font-size: 16px;
    color: var(--text);
    line-height: 1.3;
}

/* ---------- Light green section ---------- */
section.bg-light {
    background: var(--green-light);
}

/* ---------- Image with rounded corners ---------- */
.photo {
    width: 100%;
    aspect-ratio: 4/3;
    background: rgba(0, 0, 0, 0.05);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 24px;
    position: relative;
}

.photo.tall {
    aspect-ratio: 4/5;
}

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

/* When a section starts with a photo or carousel, drop the top
   padding so the image touches the section's top edge. */
section.flush-top {
    padding-top: 0;
}

/* ---------- Image placeholder visual ---------- */
.placeholder {
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(45deg, rgba(63, 165, 53, 0.08) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(63, 165, 53, 0.08) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(63, 165, 53, 0.08) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(63, 165, 53, 0.08) 75%);
    background-size: 24px 24px;
    background-position: 0 0, 0 12px, 12px -12px, -12px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-dark);
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    padding: 12px;
    letter-spacing: 0.5px;
}

/* ---------- Contact form ---------- */
.contact-section {
    background: var(--green-bg);
    color: var(--white);
    padding: 48px 28px 56px;
}

.contact-section h2 {
    font-size: 36px;
    line-height: 1.1;
    font-weight: 900;
    margin-bottom: 20px;
}

.contact-section .intro {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 24px;
}

.contact-info {
    margin-bottom: 24px;
    line-height: 1.6;
}

.contact-info .name {
    font-weight: 700;
}

.contact-info .hours {
    margin-top: 14px;
    line-height: 1.6;
}

form.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 8px;
}

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

form.contact-form input,
form.contact-form textarea {
    width: 100%;
    border: 2px solid var(--white);
    background: var(--white);
    color: var(--text);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    font-size: 15px;
    font-family: inherit;
    outline: none;
}

form.contact-form input::placeholder,
form.contact-form textarea::placeholder {
    color: #888;
}

form.contact-form input:focus,
form.contact-form textarea:focus {
    border-color: var(--green-dark);
}

form.contact-form textarea {
    min-height: 56px;
    resize: vertical;
}

form.contact-form .submit-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Honeypot: visueel verbergen maar bereikbaar voor bots */
form.contact-form .honeypot {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

form.contact-form .form-status {
    display: none;
    margin: 0;
    padding: 14px 16px 14px 48px;
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    position: relative;
}

form.contact-form .form-status[data-state] {
    display: block;
}

form.contact-form .form-status::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 50%;
    width: 22px;
    height: 22px;
    margin-top: -11px;
    border-radius: 50%;
    background: var(--text-muted) no-repeat center / 14px 14px;
}

form.contact-form .form-status[data-state="loading"] {
    color: var(--text-muted);
}

form.contact-form .form-status[data-state="loading"]::before {
    background-color: var(--text-muted);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'><path d='M12 3v4M12 17v4M5 12H1M23 12h-4M18.4 5.6l-2.8 2.8M8.4 15.6l-2.8 2.8M18.4 18.4l-2.8-2.8M8.4 8.4L5.6 5.6'/></svg>");
    animation: ortho-spin 1s linear infinite;
}

@keyframes ortho-spin {
    to { transform: rotate(360deg); }
}

form.contact-form .form-status[data-state="success"] {
    color: var(--green-dark);
    border-left: 4px solid var(--green);
    padding-left: 52px;
}

form.contact-form .form-status[data-state="success"]::before {
    left: 18px;
    background-color: var(--green);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12l5 5L20 7'/></svg>");
}

form.contact-form .form-status[data-state="error"] {
    color: #b3261e;
    border-left: 4px solid #b3261e;
    padding-left: 52px;
}

form.contact-form .form-status[data-state="error"]::before {
    left: 18px;
    background-color: #b3261e;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'><path d='M12 7v6M12 17h.01'/></svg>");
}

form.contact-form button {
    background: var(--green-dark);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    padding: 10px 22px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease, opacity 0.15s ease;
    font-family: inherit;
    transition: background 0.2s;
}

form.contact-form button:hover {
    background: #1A5C25;
}

form.contact-form button:disabled {
    opacity: 0.6;
    cursor: progress;
}

/* ---------- Footer ---------- */
footer.site-footer {
    background: #fff;
    text-align: center;
    padding: 24px 28px 40px;
    font-size: 14px;
    color: var(--text-muted);
}

/* ---------- Responsive ---------- */
@media (min-width: 520px) {
    body {
        background: #f4f4f4;
    }
    .page {
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    }
}

@media (max-width: 380px) {
    h2.title,
    .cta-banner h2,
    .contact-section h2 {
        font-size: 30px;
    }
}
