/* =========================
   Variabelen
========================= */

:root {
    --navy: #0b2447;
    --navy-dark: #071a35;
    --navy-soft: #173c70;

    --indigo: #635bff;
    --indigo-hover: #4f46e5;
    --indigo-light: #ecebff;

    --emerald: #047857;
    --emerald-light: #e7f8f4;

    --amber: #b45309;
    --amber-light: #fff8e8;

    --background: #f5f8fc;
    --surface: #ffffff;
    --text: #172033;
    --muted: #64748b;
    --border: #dce5f0;
    --input-border: #c8d8eb;
}


/* =========================
   Algemene instellingen
========================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

.container {
    width: min(100% - 40px, 1440px);
    margin: 0 auto;
}

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


/* =========================
   Navigatie
========================= */

.site-header {
    position: relative;
    z-index: 50;
    height: 78px;
    overflow: visible;
    background: var(--surface);
    border-bottom: 1px solid #e8edf5;
}

.site-header-inner {
    display: flex;
    align-items: center;
    gap: 44px;
    width: min(100% - 48px, 1320px);
    height: 100%;
    margin: 0 auto;
}

.brand {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
}

.brand img {
    display: block;
    width: 150px;
    height: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-left: auto;
}

.main-nav a {
    color: #09244d;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: color 160ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
    color: #245bd7;
}

.header-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 18px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    background: #163f9b;
    border-radius: 8px;
    transition: background 160ms ease, transform 160ms ease;
}

.header-action:hover,
.header-action:focus-visible {
    background: #0d2e78;
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    padding: 8px;
    cursor: pointer;
    background: transparent;
    border: 0;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px 0;
    background: #09244d;
    border-radius: 2px;
}

.nav-plus-soon {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 0;
    padding: 7px 10px;
    border: 1px solid #dce5f0;
    border-radius: 8px;
    background: #f5f8fc;
    color: #64748b;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    cursor: not-allowed;
    opacity: 0.9;
}

.nav-plus-soon:disabled {
    background: #f5f8fc;
    color: #64748b;
}

.nav-plus-lock {
    font-size: 13px;
    line-height: 1;
    filter: grayscale(1);
}

.nav-plus-badge {
    padding: 3px 6px;
    border-radius: 999px;
    background: #e9e7ff;
    color: #4f46e5;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.2px;
    line-height: 1;
    text-transform: uppercase;
}

@media (max-width: 900px) {
    .nav-plus-badge {
        display: none;
    }
}

@media (max-width: 760px) {
    .nav-plus-soon {
        width: 100%;
        justify-content: flex-start;
        padding: 10px 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        font-size: inherit;
        text-align: left;
    }

    .nav-plus-soon:disabled {
        background: transparent;
    }
}


/* =========================
   Hero
========================= */

.hero {
    position: relative;
    isolation: isolate;
    min-height: 400px;
    padding: 0;
    overflow: hidden;
    color: #ffffff;
    background-color: var(--navy-dark);
    background-image:
        linear-gradient(
            90deg,
            rgba(4, 17, 48, 0.78) 0%,
            rgba(4, 17, 48, 0.54) 48%,
            rgba(4, 17, 48, 0.18) 100%
        ),
        url("Hero-banner-fairpoint.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    display: flex;
    align-items: center;
}

.hero h1 {
    max-width: 760px;
    margin: 0 0 16px;
    color: #ffffff;
    font-size: clamp(2.2rem, 6vw, 4rem);
    line-height: 1.05;
}

.label {
    margin: 0 0 12px;
    color: var(--indigo-light);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.intro {
    max-width: 680px;
    margin: 0;
    color: #dceaff;
    font-size: 1.1rem;
    line-height: 1.6;
}


/* =========================
   Hoofdcontent en kaarten
========================= */

.main-content {
    display: grid;
    gap: 20px;
    margin-top: 0;
    padding-top: 32px;
    padding-bottom: 60px;
}

.top-calculator-grid {
    display: grid;
    grid-template-columns: minmax(300px, 0.75fr) minmax(520px, 1.25fr);
    align-items: stretch;
    gap: 20px;
}

.calculator-card {
    padding: 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(11, 36, 71, 0.08);
}

.calculator-card h2 {
    margin-top: 0;
    margin-bottom: 18px;
}

.section-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}


/* =========================
   Formulieren
========================= */

label {
    display: block;
    margin-bottom: 8px;
    color: var(--text);
    font-weight: 700;
}

input,
select {
    width: 100%;
    padding: 13px 14px;
    color: var(--text);
    font-size: 1rem;
    background-color: var(--surface);
    border: 1px solid var(--input-border);
    border-radius: 10px;
    outline: none;
}

input:focus,
select:focus {
    border-color: var(--indigo);
    box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.16);
}

select {
    cursor: pointer;
}

#points {
    color: var(--navy);
    font-size: 1.15rem;
    font-weight: 700;
    background: #fbfbff;
    border-color: var(--indigo);
}

#points:focus {
    border-color: var(--indigo-hover);
    box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.18);
}

.help-text {
    margin-top: 8px;
    color: var(--muted);
    line-height: 1.5;
}

small {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.82rem;
}


/* =========================
   Waarde-inputs
========================= */

.input-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.input-grid > div {
    padding: 18px;
    background: #f9fbfe;
    border: 1px solid #e3eaf3;
    border-radius: 12px;
}

.avg-value {
    margin: 6px 0;
    color: var(--emerald);
    font-size: 1.15rem;
    font-weight: 800;
}


/* =========================
   Informatieblok punten
========================= */

.points-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.points-info {
    margin-top: 28px;
    padding: 16px;
    background: #f8f9ff;
    border: 1px solid var(--border);
    border-radius: 12px;
}

.points-info-label {
    display: block;
    margin-bottom: 8px;
    color: var(--navy);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.points-info p {
    margin: 0 0 15px;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.points-info-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-top: 9px;
    margin-top: 9px;
    color: var(--muted);
    font-size: 0.82rem;
    border-top: 1px solid var(--border);
}

.points-info-row strong {
    color: var(--navy);
    text-align: right;
    white-space: nowrap;
}


/* =========================
   Filters
========================= */

.filter-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    margin: 18px 0 14px;
}

.filter-group {
    width: 100%;
    min-width: 0;
}

.filter-group label {
    margin-bottom: 8px;
}

.filter-group select {
    width: 100%;
    min-height: 42px;
}

.affordable-filter {
    margin: 18px 0 6px;
}

.affordable-filter label {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
}

.affordable-filter input[type="checkbox"] {
    width: 17px;
    height: 17px;
    margin: 0;
    accent-color: var(--indigo);
    cursor: pointer;
}

.offer-count {
    margin: 18px 0 8px;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 600;
}

.filter-actions {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    margin: 0 0 18px;
}

.reset-filters {
    padding: 9px 13px;
    border: 1px solid #dce5f0;
    border-radius: 8px;
    background: #ffffff;
    color: #163f9b;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.reset-filters:hover {
    border-color: #163f9b;
    background: #f5f8fc;
}

.reset-filters:focus-visible {
    outline: 3px solid rgba(99, 91, 255, 0.3);
    outline-offset: 2px;
}


/* =========================
   Beste optie en aanbeveling
========================= */

.best-badge {
    padding: 7px 11px;
    color: var(--emerald);
    font-size: 0.85rem;
    font-weight: 800;
    white-space: nowrap;
    background: var(--emerald-light);
    border: 1px solid #b9eadc;
    border-radius: 999px;
}

.recommendation {
    padding: 17px;
    margin-top: 22px;
    color: var(--navy);
    line-height: 1.5;
    background: #f5f4ff;
    border: 1px solid #e0ddff;
    border-radius: 12px;
}

.recommendation strong {
    color: var(--indigo-hover);
}


/* =========================
   Algemene categorie-resultaten
========================= */

.result {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 19px 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.result:last-child {
    border-bottom: none;
}

.result.winner {
    padding: 22px 10px;
    background: var(--emerald-light);
    border: 1px solid rgba(4, 120, 87, 0.18);
    border-left: 4px solid var(--emerald);
    border-radius: 12px;
}

.result-title {
    margin: 0 0 6px;
    color: var(--navy);
    font-size: 1.05rem;
}

.result-description {
    margin: 0 0 5px;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.45;
}

.result-value {
    color: var(--emerald);
    font-size: 1.15rem;
    font-weight: 800;
    text-align: right;
    white-space: nowrap;
}

.result.winner .result-value {
    font-size: 1.35rem;
}

.result-value small {
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: normal;
}


/* =========================
   Actuele aanbiedingen
========================= */

.offer-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.offer-item:last-child {
    border-bottom: none;
}

.offer-main {
    flex: 1;
    min-width: 0;
}

.offer-main h3 {
    margin: 0 0 7px;
    color: var(--navy);
    font-size: 1.1rem;
}

.offer-cost {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 0.95rem;
}

.offer-details {
    margin-top: 8px;
}

.offer-details p {
    margin: 4px 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.45;
}

.offer-details strong {
    color: var(--emerald);
}

.offer-value {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    min-width: 145px;
    padding-top: 4px;
    text-align: right;
}

.offer-value > strong {
    color: var(--emerald);
    font-size: 1.2rem;
    white-space: nowrap;
}

.offer-value small {
    color: var(--muted);
    font-size: 0.8rem;
    white-space: nowrap;
}


/* =========================
   Extra informatie offers
========================= */

.offer-more {
    width: 100%;
    margin-top: 14px;
}

.offer-more summary {
    display: block;
    width: 100%;
    padding: 6px 0;
    color: var(--indigo);
    font-size: 0.85rem;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}

.offer-more summary::-webkit-details-marker {
    display: none;
}

.offer-more summary:hover {
    color: var(--indigo-hover);
}

.offer-more[open] summary {
    margin-bottom: 10px;
}

.offer-meta {
    margin-top: 8px;
    padding: 10px 12px;
    background: #f8f9ff;
    border: 1px solid var(--border);
    border-radius: 8px;
}

.offer-meta p {
    margin: 3px 0;
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.4;
}

.offer-meta p strong {
    color: var(--text);
}

.offer-notes {
    margin-top: 8px !important;
    font-style: italic;
}

.offer-fresh,
.offer-warning {
    margin-top: 8px !important;
    font-size: 0.8rem !important;
    font-weight: 600;
}

.offer-fresh {
    color: var(--emerald) !important;
}

.offer-warning {
    padding: 6px 8px;
    color: #684800 !important;
    background: var(--amber-light);
    border-left: 3px solid var(--amber);
    border-radius: 6px;
}


/* =========================
   Meldingen en disclaimers
========================= */

.empty-state {
    padding: 18px;
    margin-top: 18px;
    color: var(--muted);
    text-align: center;
    background: #f8f9ff;
    border: 1px dashed var(--border);
    border-radius: 12px;
}

.empty-state p {
    margin: 0 0 6px;
    color: var(--text);
    font-weight: 700;
}

.empty-state small {
    margin: 0;
    color: var(--muted);
    font-size: 0.85rem;
}

.category-disclaimer {
    padding: 1rem 1.2rem;
    margin: 1rem 0;
    color: #684800;
    font-size: 0.95rem;
    line-height: 1.5;
    background: var(--amber-light);
    border: 1px solid #f1d69f;
    border-left: 4px solid var(--amber);
    border-radius: 8px;
}

.category-disclaimer strong {
    display: block;
    margin-bottom: 0.35rem;
    color: #5a3e00;
}

.category-disclaimer p {
    margin: 0.35rem 0;
}

.category-disclaimer p:last-child {
    margin-bottom: 0;
}


/* =========================
   Toon meer aanbiedingen
========================= */

#offerResults.all-offers-visible {
    max-height: 950px;
    padding-right: 0.5rem;
    overflow-y: auto;
}

.show-more-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.show-more-button {
    padding: 0.75rem 1.1rem;
    color: var(--indigo);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    background: var(--surface);
    border: 1px solid var(--indigo);
    border-radius: 8px;
}

.show-more-button:hover {
    color: var(--indigo-hover);
    background: var(--indigo-light);
    border-color: var(--indigo-hover);
}


/* =========================
   Disclaimer
========================= */

.disclaimer {
    color: var(--muted);
    font-size: 0.85rem;
    line-height: 1.5;
}


/* =========================
   Toegankelijkheid
========================= */

button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible,
a:focus-visible {
    outline: 3px solid rgba(99, 91, 255, 0.28);
    outline-offset: 3px;
}

/* =========================
   Algemene disclaimer
========================= */

.disclaimer {
    margin-top: 4px;
    padding: 16px 18px;
    color: var(--muted);
    background: #f8fafc;
    border: 1px solid #dce5f0;
    border-left: 4px solid var(--indigo);
    border-radius: 12px;
}

.disclaimer h2 {
    margin: 0 0 8px;
    color: var(--navy);
    font-size: 1rem;
    line-height: 1.3;
}

.disclaimer p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* =========================
   Footer en Instagram
========================= */

.site-footer {
    padding: 24px 0 4px;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: var(--muted);
    font-size: 0.86rem;
}

.instagram-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--navy);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
}

.instagram-link:hover {
    color: var(--indigo);
}

.instagram-link:focus-visible {
    outline: 3px solid rgba(99, 91, 255, 0.3);
    outline-offset: 4px;
    border-radius: 6px;
}

.instagram-icon {
    display: block;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    min-width: 18px;
    max-width: 18px;
    min-height: 18px;
    max-height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* =========================
   Tablet en mobiele weergave
========================= */

@media (max-width: 760px) {
    .container {
        width: min(100% - 32px, 1440px);
    }

    /* Navigatie */
    .site-header {
        height: 68px;
    }

    .site-header-inner {
        position: relative;
        width: min(100% - 32px, 1320px);
        gap: 16px;
    }

    .brand img {
        width: 125px;
    }

    .main-nav,
    .header-action {
        display: none;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .main-nav.is-open {
        position: absolute;
        top: 76px;
        right: 16px;
        left: 16px;
        z-index: 30;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 6px 20px;
        background: #ffffff;
        border: 1px solid #e8edf5;
        border-radius: 14px;
        box-shadow: 0 14px 30px rgba(9, 36, 77, 0.16);
    }

    .main-nav.is-open a {
        padding: 13px 0;
        color: #09244d;
        font-size: 0.95rem;
        border-bottom: 1px solid #eef2f7;
    }

    .main-nav.is-open a:last-child {
        border-bottom: 0;
    }

    .header-action.is-open {
        position: absolute;
        top: 272px;
        right: 16px;
        left: 16px;
        z-index: 31;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 42px;
        margin: 0;
        padding: 0 16px;
        border-radius: 10px;
        box-shadow: 0 8px 18px rgba(13, 46, 120, 0.22);
    }

    /* Hero: compacter en stabiel op mobiel */
    .hero {
        display: flex;
        align-items: flex-start;
        min-height: 300px;
        padding: 26px 0 30px;
        background-position: 62% center;
    }

    .hero .container {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .hero h1 {
        min-height: 0;
        margin: 0;
        padding: 0;
        font-size: clamp(2rem, 9vw, 2.55rem);
        line-height: 1.08;
    }

    .label {
        margin-bottom: 10px;
        font-size: 0.75rem;
        letter-spacing: 0.08em;
    }

    .intro {
        max-width: 34rem;
        margin: 18px 0 0;
        font-size: 1rem;
        line-height: 1.55;
    }

    /* Kaarten en calculator */
    .main-content {
        gap: 18px;
        margin-top: 0;
        padding-top: 22px;
        padding-bottom: 42px;
    }

    .top-calculator-grid {
        grid-template-columns: 1fr;
    }

    .calculator-card {
        padding: 21px;
        border-radius: 16px;
    }

    .input-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .input-grid > div {
        padding: 16px;
    }

    .points-info {
        padding: 16px;
        margin-top: 24px;
    }

    .points-info p {
        font-size: 0.95rem;
        line-height: 1.55;
    }

    .points-info-row {
        align-items: flex-start;
        gap: 12px;
    }

    .section-heading {
        display: block;
    }

    .best-badge {
        display: inline-block;
        margin-top: 2px;
        margin-bottom: 8px;
    }

    /* Filters */
    .filter-row {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px 12px;
        margin: 18px 0;
    }

    .filter-group {
        width: 100%;
        min-width: 0;
    }

    .filter-group label {
        margin-bottom: 6px;
        font-size: 0.82rem;
    }

    .filter-group select {
        width: 100%;
        min-height: 42px;
        padding: 9px 10px;
        font-size: 0.9rem;
    }

    .filter-actions {
        justify-content: stretch;
        margin: -2px 0 18px;
    }

    .reset-filters {
        width: 100%;
        min-height: 42px;
    }

    /* Resultaten */
    .result {
        display: block;
        margin-top: 2px;
    }

    .result-value {
        margin-top: 12px;
        text-align: left;
    }

    /* Aanbiedingen */
    .offer-item {
        display: block;
    }

    .offer-value {
        align-items: flex-start;
        margin-top: 14px;
        padding-top: 0;
        text-align: left;
    }

    .offer-value > strong {
        font-size: 1.15rem;
    }

    .offer-value small {
        white-space: normal;
    }

    #offerResults.all-offers-visible {
        max-height: 760px;
    }

    .disclaimer {
        padding: 14px 16px;
        border-radius: 10px;
    }

    .disclaimer p {
        font-size: 0.88rem;
    }

    .site-footer {
        padding: 20px 0 2px;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .instagram-link {
        font-size: normal;
    }

    .instagram-icon {
        flex-basis: 18px;
    }
}


@media (max-width: 450px) {
    .hero {
        min-height: 285px;
        padding: 36px 0 72px;
        background-position: 60% center;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .calculator-card {
        padding: 18px;
    }
}

@media (max-width: 760px) {
    .header-action.is-open {
        position: absolute;
        display: flex;
        width: auto !important;
        max-width: none !important;
        right: 20px !important;
        left: 20px !important;
        align-items: center;
        justify-content: center;
        margin: 0 !important;
        box-sizing: border-box;
    }
}

#vergelijk,
#uitleg,
#aanbiedingen,
#faq {
    scroll-margin-top: 96px;
}


/* =========================
   Veelgestelde vragen
========================= */

.faq-section {
    scroll-margin-top: 96px;
}

.faq-item {
    border-top: 1px solid var(--border);
}

.faq-item:last-child {
    border-bottom: 1px solid var(--border);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
    color: var(--navy);
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    flex: 0 0 auto;
    color: var(--indigo);
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item p {
    max-width: 850px;
    margin: 0 0 16px;
    color: var(--muted);
    line-height: 1.6;
}

@media (max-width: 760px) {
    .faq-item summary {
        padding: 16px 0;
        font-size: 0.95rem;
    }

    .faq-item p {
        font-size: 0.92rem;
        line-height: 1.55;
    }
}

/* =========================
   Nieuwsbrief
========================= */

.newsletter-section {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    align-items: center;
    gap: 32px;
    scroll-margin-top: 96px;
    background:
        linear-gradient(
            135deg,
            #f7f9ff 0%,
            #ffffff 56%,
            #eef5ff 100%
        );
}

.newsletter-eyebrow {
    margin: 0 0 10px;
    color: var(--indigo);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.newsletter-section h2 {
    max-width: 600px;
    margin: 0 0 12px;
}

.newsletter-note {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 0.85rem;
}

.newsletter-form {
    padding: 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
}

.newsletter-form .sib-form {
    background: transparent;
}

.newsletter-form #sib-form-container {
    max-width: none;
}

.newsletter-form #sib-form {
    display: grid;
    gap: 16px;
}

.newsletter-form .sib-form-block {
    margin: 0;
}

.newsletter-form .entry__label {
    display: block;
    margin-bottom: 8px;
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 700;
}

.newsletter-form input[type="email"] {
    width: 100%;
    padding: 13px 14px;
    color: var(--text);
    font: inherit;
    background: #fbfbff;
    border: 1px solid var(--input-border);
    border-radius: 10px;
}

.newsletter-form input[type="email"]:focus {
    border-color: var(--indigo);
    outline: none;
    box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.16);
}

/* Toestemmingscheckbox */

.newsletter-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 400;
    line-height: 1.45;
    cursor: pointer;
}

.newsletter-consent input[type="checkbox"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.newsletter-checkbox {
    position: relative;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    background: #ffffff;
    border: 2px solid var(--input-border);
    border-radius: 4px;
    transition: background 160ms ease, border-color 160ms ease;
}

.newsletter-consent input[type="checkbox"]:checked
    + .newsletter-checkbox {
    background: var(--indigo);
    border-color: var(--indigo);
}

.newsletter-consent input[type="checkbox"]:checked
    + .newsletter-checkbox::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 5px;
    width: 4px;
    height: 8px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.newsletter-consent input[type="checkbox"]:focus-visible
    + .newsletter-checkbox {
    outline: 3px solid rgba(99, 91, 255, 0.28);
    outline-offset: 3px;
}

.newsletter-consent-text {
    flex: 1;
}

/* Privacytekst */

.newsletter-privacy {
    margin: 0;
    color: var(--muted);
    font-size: 0.76rem;
    line-height: 1.45;
}

.newsletter-privacy p {
    margin: 0;
}

.newsletter-privacy a {
    color: var(--indigo);
}

/* Aanmeldknop */

.newsletter-submit {
    width: 100%;
    min-height: 44px;
    padding: 0 18px;
    color: #ffffff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    background: #163f9b;
    border: 0;
    border-radius: 10px;
    transition: background 160ms ease, transform 160ms ease;
}

.newsletter-submit:hover {
    background: #0d2e78;
    transform: translateY(-1px);
}

.newsletter-submit:focus-visible {
    outline: 3px solid rgba(99, 91, 255, 0.28);
    outline-offset: 3px;
}

/* Brevo meldingen */

.newsletter-form .sib-form-message-panel {
    display: none;
    padding: 12px;
    margin: 0;
    border-radius: 10px;
}

.newsletter-form #error-message {
    color: #661d1d;
    background: #ffeded;
    border: 1px solid #ffb6b6;
}

.newsletter-form #success-message {
    color: #085229;
    background: #e7faf0;
    border: 1px solid #94e5ba;
}

.newsletter-form .entry__error {
    display: block;
    margin-top: 6px;
    color: #b42318;
    font-size: 0.82rem;
}

/* Mobiel */

@media (max-width: 760px) {
    .newsletter-section {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .newsletter-form {
        padding: 16px;
    }
}

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

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

@media (max-width: 360px) {
    .filter-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

