/* =========================================
   1) FONTS & THEME VARIABLES
========================================= */
@font-face {
    font-family: KleischLLMedium;
    src: url(../fonts/KleischLLWeb-Medium.woff);
}

@font-face {
    font-family: KleischLLItalic;
    src: url(../fonts/KleischLLWeb-MediumItalic.woff2);
}

@font-face {
    font-family: KleischLLSubItalic;
    src: url(../fonts/KleischLLSub-MediumItalic.woff2);
}

@font-face {
    font-family: SohneBuch;
    src: url(../fonts/soehne-buch.woff2);
}

@font-face {
    font-family: SohneHalbfett;
    src: url(../fonts/soehne-halbfett.woff2);
}



:root {
    --green: rgba(60, 115, 85, 0.88);
    --red: rgba(160, 45, 45, 1);
    --white: rgba(255, 250, 239, 1);
    --inhoudelijk: rgba(45, 90, 160, 1);
    --leesteken: rgba(220, 125, 45, 1);
    --formeel: rgba(120, 70, 160, 1);
    --grammatica: rgba(40, 140, 150, 1);
    --spelling: rgba(240, 200, 50, 1);
}

/* =========================================
   2) BASE & UTILITIES
========================================= */
body {
    font-family: SohneBuch;
}

i {
    font-style: italic;
}

.hero .heroSubText em {
    font-family: "SohneBuch" !important;
    font-style: italic;
}

.hero .heroSubText strong {
    font-family: SohneHalbfett;
}

.hidden {
    display: none !important;
}

.transparent {
    visibility: hidden;
    pointer-events: none;
}

/* KLARO */ 
#klaro .cookie-notice {
  bottom: 0; left: 0; right: 0; margin: 0;
  border-radius: 0; box-shadow: 0 -8px 24px rgba(0,0,0,.15);
}
#klaro .cookie-notice .cm-btn, #klaro .cm-btn {
  border-radius: 9999px; padding: .55rem .9rem;
}
#klaro .cookie-notice .cm-btn-accept { font-weight: 600; }

#klaro .cookie-notice {
    max-width: unset;
    transform: none;
    top: unset;
  
}

.klaro .cookie-modal .cm-bg {
    background: none !important;
}


/* Floating manage button */
.cookie-manage-button{
  position: fixed; right: 16px; bottom: 16px; z-index: 5;
  padding: .6rem .9rem; border-radius: 9999px; border: none; cursor: pointer;
  background: #111; color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.18);
}
.cookie-manage-button:hover{ opacity: .92; }


/* =========================================
   3) HEADER
========================================= */
header {
    height: 577px;
    background-color: var(--white);
}

header .main {
    display: flex;
    width: 80%;
    max-width: 1800px;
    padding-top: 3rem;
    font-family: KleischLLMedium;
    margin-left: auto;
    margin-right: auto;
}

header .main img {
    height: 135px;
    cursor: pointer;
}

header .main hr {
    border: none;
    border-top: 1.5px solid rgba(0, 0, 0, 0.1);
    width: 95%;
}

header .main h1 {
    font-size: 41px;
    text-align: center;
    margin-bottom: 1rem;
    cursor: pointer;
    user-select: none;
}

header .second {
    width: 85%;
    margin-top: auto;
    margin-bottom: auto;
}

header .second ul {
    display: flex;
    justify-content: space-around;
    width: 100%;
    font-size: 23px;
    margin-top: 1rem;
}

header .second ul a {
    text-decoration: none;
    color: black;
}

header .second ul a.active {
    text-decoration: underline solid var(--green);
    color: var(--green);
}

header .second ul a:hover {
    text-decoration: underline solid var(--green);
    color: var(--green);
}

/* =========================================
   4) HERO
   (Order preserved: contains the later .hero .heroSubText em rule)
========================================= */
.hero {
    display: flex;
    margin-top: 3rem;
    width: 87%;
    max-width: 1920px;
    margin-left: auto;
}

.hero .right {
    margin-left: 6rem;
    width: 80%;
    max-width: 775px;
    margin-top: auto;
    margin-bottom: auto;
}

.hero img {
    width: 518px;
    border-radius: 31px;
}

.hero .heroButton {
    text-align: right;
    margin-top: -55px;
}

.hero .heroButton a {
    text-decoration: none;
    color: white;
    background-color: var(--red);
    margin-right: 2rem;
    font-size: 19px;
    padding: 0.5rem;
    border-radius: 3px;
    border-color: transparent;
    font-family: KleischLLSubItalic;
}

.hero .heroButton a:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.hero h1 {
    font-size: 49px;
    font-family: KleischLLSubItalic;
    line-height: 3.5rem;
}

.hero h1 em {
    color: var(--red);
}

.hero .heroSubText {
    width: 65%;
    font-family: SohneBuch;
    line-height: 29px;
    margin-top: 0.5rem;
}

/* (Order preserved: this comes later than the earlier !important rule) */
.hero .heroSubText em {
    font-family: SohneHalbfett;
}

.hero .heroSubText a {
    text-decoration: underline solid black;
    font-family: SohneHalbfett;
    color: black;
}

.hero .heroSubText a:hover {
    color: var(--green);
    text-decoration: underline solid var(--green);
}

/* =========================================
   5) MAIN LAYOUT
========================================= */
main {
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;
    width: 90%;
}

.intro h2 {
    font-family: KleischLLMedium;
    font-size: 41px;
}

.intro p {
    margin-top: 0.5rem;
    font-size: 18px;
}

/* =========================================
   6) CARDS
========================================= */
.cards {
    margin-top: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.cards .cardContainer {
    display: flex;
    justify-content: space-between;
    width: 68%;
    margin-top: 2rem;
    max-width: 930px;
}

.cards .card {
    text-align: center;
    width: 218px;
    border: solid 1px rgba(0, 0, 0, 0.2);
    border-radius: 13px;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    padding-top: 1.5rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    user-select: none;
}

.cards .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.cards .card .cardIcon {
    margin-bottom: 0.4rem;
}

.cards .card .cardTitle {
    font-size: 20px;
    font-family: SohneHalbfett;
    margin-top: 0.3rem;
}

.cards .card .cardText {
    margin-top: 0.5rem;
    width: 76%;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4rem;
}

.cards .card .arrowContainer {
    display: none;
    text-align: right;
    margin-top: -18px;
}

.cardContainer .bird {
    position: absolute;
    right: 0;
    top: 0;
}

/* =========================================
   7) DECORATIVE LINES
========================================= */
/* LEFT RECTANGLE LINE */
.leftLine {
    margin-bottom: 1rem;
}

.leftLine hr {
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.2);
    margin: 0;
}

.leftLine img {
    position: absolute;
}

/* RIGHT RECTANGLE LINE */
.rightLine {
    margin-bottom: 1rem;
    position: relative;
}

.rightLine hr {
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.2);
    margin: 0;
}

.rightLine img {
    position: absolute;
    right: 0;
}

/* DOUBLE RECTANGLE LINE */
.doubleLine {
    position: relative;
}

.doubleLine div {
    display: flex;
}

.doubleLine hr {
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.2);
    margin: 0;
}

.doubleLine img:nth-of-type(0) {
    position: absolute;
    left: 0;
}

.doubleLine img:last-of-type {
    position: absolute;
    right: 0;
}

/* =========================================
   8) GENERIC SECTIONS
========================================= */
section {
    display: flex;
    margin-bottom: 3rem;
}

section .content+.image {
    width: 100%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

section .content+.image img {
    width: 100%;
}

section .content {
    width: 40%;
}

section h3 {
    font-family: KleischLLMedium;
    font-size: 41px;
    margin-top: 3rem;
}

section p {
    font-size: 18px;
    line-height: 29px;
    margin-top: 2rem;
    width: 80%;
}

section .button a {
    color: white;
    background-color: var(--green);
    display: flex;
    align-items: center;
    width: fit-content;
    border-radius: 9px;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 0.2rem;
    padding-top: 0.2rem;
    text-decoration: none;
}

section .button a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

section .button a img {
    margin-left: 1rem;
}

section .image+.content {
    margin-left: 4rem;
}

/* =========================================
   9) BOTTOM WRAPPER
========================================= */
.bottom {
    margin-top: -9px;
    display: flex;
}

.bottom section {
    display: block;
}

/* =========================================
   10) KANTL SECTION
========================================= */
.kantlSection {
    width: 86%;
    position: relative;
    border-right: 1px solid rgba(0, 0, 0, 0.2);
    padding-top: 5rem;
}

.kantlSection img {
    position: absolute;
    top: 2.3rem;
    right: 1rem;
    height: 134px;
    cursor: pointer;
}

.kantlSection p {
    width: 95%;
}

.kantlSection p em,
.kantlSection .cta {
    font-family: SohneHalbfett;
}

.kantlSection a {
    color: black;
    text-decoration: underline black solid 2px;
}

.kantlSection a:hover {
    text-decoration: underline solid var(--green) 2px;
    color: var(--green);
}

/* =========================================
   11) PARTNERS SECTION
========================================= */
.partnersSection {
    margin-left: 2rem;
}

.partnersSection li {
    display: flex;
}

.partnersSection li .image {
    min-width: 25%;
    display: flex;
    align-items: center;
}

.partnersSection img {
    cursor: pointer;
}

.partnersSection li .content {
    min-width: 75%;
}

.partnersSection li .content p {
    margin-top: 1rem;
    width: 100%;
}

.partnersSection li .content .partnerCTA {
    margin-top: 0rem;
}

.partnersSection .content .partnerCTA a {
    color: black;
    font-family: SohneHalbfett;
    text-decoration: black 2px solid underline;
}

.partnersSection .content .partnerCTA a:hover {
    text-decoration: underline solid var(--green) 2px;
    color: var(--green);
}

/* =========================================
   12) FOOTER
========================================= */
footer {
    background-color: var(--white);
    height: 91px;
}

footer ul {
    display: flex;
    margin-left: 2rem;
}

footer li {
    margin-right: 1.5rem;
}

footer a {
    text-decoration: none;
    color: black;
}

footer a:hover {
    text-decoration: black 1px solid underline;
}

footer img {
    cursor: pointer;
}

footer .content {
    display: flex;
    align-items: center;
}

footer .content img {
    height: 63px;
}

footer .bird-2 {
    position: absolute;
    right: 0;
    top: 0.2rem;
}

footer .footerContainer {
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;
    width: 90%;
    display: flex;
    align-items: center;
    position: relative;
    height: 100%;
}

.mobileLogo {
    display: none;
}

.content .button {
    display: none;
}

.bottom .rightLine {
    display: none;
}

/* ===== Launch Modal ===== */
.modal.hidden {
    display: none;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
}

.modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .4);
}

.modal__dialog {
    position: relative;
    z-index: 1;
    width: min(92vw, 640px);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
    padding: 1.25rem 1.25rem 1rem;
    font-family: SohneBuch;
}

.modal__close {
    position: absolute;
    right: .5rem;
    top: .5rem;
    border: 0;
    background: transparent;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
}

.modal__lead {
    margin: .25rem 0 1rem;
}

.modal__form label {
    display: block;
    font-size: .95rem;
    margin-bottom: .35rem;
}

.modal__row {
    display: flex;
    gap: .5rem;
}

.modal__row input[type="email"] {
    flex: 1 1 auto;
    font-size: 1rem;
    padding: .6rem .75rem;
    border: 1px solid rgba(0, 0, 0, .25);
    border-radius: 8px;
}

.modal__btn {
    border: 0;
    cursor: pointer;
    border-radius: 8px;
    padding: .65rem .9rem;
    font-size: 1rem;
}

.modal__btn--primary {
    background: var(--green);
    color: #fff;
}

.modal__btn--primary:hover {
    filter: brightness(0.95);
}

.modal__hint {
    font-size: .85rem;
    opacity: .8;
    margin: .5rem 0 0;
}

.modal__msg {
    margin-top: .5rem;
    font-size: .95rem;
}

@media (max-width: 520px) {
    .modal__row {
        flex-direction: column;
    }

    .modal__btn--primary {
        width: 100%;
    }
}

.historySection img {
    width: 100%;
}

.historySection .image {
    width: 59%;
}


/* === Mobile hamburger (hidden on desktop) === */
.hamburger {
    display: none;
    position: absolute;
    /* tweak if needed */
    right: 1rem;
    top: 1rem;
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    z-index: 10001;
}

/* Bars */
.hamburger span {
    display: block;
    width: 28px;
    height: 2px;
    background: #111;
    border-radius: 1px;
    transition: transform .25s ease, opacity .25s ease;
}

/* X state */
.hamburger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.hamburger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Full-screen mobile menu overlay */
.mobileMenu {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(255, 255, 255, 0.98);
    display: none;
    padding: 6rem 2rem 2rem;
}

.mobileMenu.open {
    display: block;
}

/* Typography/layout inside the cloned UL */
.mobileMenu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1.25rem;
}

.mobileMenu li a {
    font-family: SohneHalbfett, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: clamp(1.35rem, 3.5vw, 2rem);
    text-decoration: none;
    color: #111;
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Show hamburger & overlay only on small screens */
@media (max-width: 768px) {
    .hamburger {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 6px;
        position: absolute;
        right: 1rem;
        top: 1rem;
        width: 42px;
        height: 42px;
        border: 0;
        background: transparent;
        z-index: 10001;
    }

    header .second ul {
        display: none;
    }
}



@media (max-width: 1300px),
(max-height: 500px) {

    /* mobile CSS */
    header .main {
        position: relative;
    }


    .mobileMenu .mobileLogo {
        position: absolute;
        left: 1rem;
        top: 1.5rem;
        height: 28px;
        width: auto;
        display: block;
    }


    *,
    *::before,
    *::after {
        box-sizing: border-box;
    }

    html,
    body {
        margin: 0;
        padding: 0;
    }

    header {
        height: auto;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        padding-left: 1rem;
    }

    header .main {
        width: 100%;
        max-width: none;
        align-items: center;
        display: block;
        background-color: var(--white);
        padding-top: 1.5rem;
    }

    header .main img {
        height: 28px;
        width: auto;
    }

    header .main>img {
        display: none
    }

    header .main .mobileLogo {
        display: block;
        margin: 0;
        padding: 0;
    }

    header .second {
        width: 100%;
        margin: 0;
        margin-top: 1rem;
    }

    header .second h1 {
        font-size: 28px;
        margin: 0.25rem 0 0.5rem;
        text-align: left;
        color: var(--green)
    }

    header .second ul {
        display: none
    }

    main {
        position: relative;
    }

    /* HERO: stack, center, prevent overflow */
    .hero {
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: none;
        background-color: var(--white);
        padding-top: 1rem;
        margin-top: 0;
    }

    .hero img {
        width: 91%;
        max-width: 520px;
        height: auto;
        border-radius: 24px;
    }

    .hero .right {
        width: 100%;
        max-width: 650px;
        margin: 1rem 0 0;
    }

    .hero h1 {
        font-size: 32px;
        line-height: 1.25;
        margin-top: 1rem;
    }

    .hero .heroSubText {
        width: 92%;
        line-height: 1.6;
        padding-bottom: 1rem;
    }

    .hero .heroButton {
        text-align: right;
        margin-top: -34px;
    }

    .hero .heroButton a {
        font-size: 11px;
        padding: 0.2rem;
        margin-right: 2.9rem;
    }

    /* CARDS: wrap and center */
    .cardContainer .bird {
        position: absolute;
        right: -1.3rem;
        top: -4.5rem;
        height: 5rem;
    }

    .cards .intro h2 {
        font-size: 32px;
    }

    .cards {
        position: initial;
    }


    .cards .cardContainer {
        width: 100%;
        max-width: none;

        gap: 1rem;
        justify-content: center;
        flex-wrap: wrap;
    }

    .cards .card {
        max-width: 280px;
    }

    /* GENERIC SECTIONS: stack image + content, widen text */
    section {
        flex-direction: column;
        gap: 1rem;
    }

    section .content,
    section p {
        width: 100%;
    }

    section .image+.content {
        margin-left: 0;
    }

    section img {
        width: 100%;
    }

    section h3 {
        font-size: 28px;
        margin-top: 1rem;
    }

    .historySection {
        flex-direction: column-reverse;
    }

    .historySection .image {
        width: 100%;
    }

    /* KANTL area: keep logo sized and centered */
    .kantlSection {
        width: 100%;
        padding-top: 3rem;
        border-right: none;
    }

    .kantlSection img {
        height: 85px;
        width: auto;
    }

    .doubleLine img:last-of-type {
        display: none;
    }

    .bottom .rightLine {
        display: block;
    }

    /* PARTNERS layout */
    .partnersSection {
        margin-left: 0;
    }

    .partnersSection li {
        display: block;
        margin-top: 2rem;
    }

    .partnersSection li img {
        height: 4rem;
        width: auto
    }

    .partnersSection li .content {
        min-width: 100%;
    }

    .partnersSection .partnerCTA a {
        font-size: 1rem;
    }

    .bottom {
        display: block;
    }

    /* FOOTER: auto height, stacked content */
    footer {
        height: auto;
    }

    footer .footerContainer {
        width: 100%;
        max-width: none;
        align-items: flex-start;
    }

    footer .content {
        width: 100%;
        align-items: center;
    }

    footer .content img {
        height: 48px;
        max-width: 60%;
    }

    footer ul {
        margin: 0.5rem 0 0;
        flex-wrap: wrap;
        gap: 0.5rem 1rem;
        font-size: 0.75rem;
    }

    footer .bird-2 {
        position: static;
        align-self: flex-end;
        margin-top: 0.5rem;
        height: 3rem;
    }

    footer li {
        margin-right: 0;
    }
}