/* #region BASIS SECTION */
:root {
    --hoofdkleur-rood: #ff3b3b;
    --hoofdkleur-groen: #57ff24;
    --tekst-donker: #1d1d1b;
    --wit: #ffffff;
    --grijze-achtergrond: #f2f2f2;
    --zwart: #000000;
    --donker-achtergrond: #222222;
}

html,
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
    min-height: 100vh;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
    background-color: var(--grijze-achtergrond);

    background-image: url(/image/background-pattern.svg);
    background-repeat: repeat;

    background-size: 400px;
    scroll-behavior: smooth;
}

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

a {
    cursor: pointer;
    text-decoration: none;
}

header+section,
main {
    flex: 1;
}

/* #endregion */

/* #region HEADER & NAVIGATIE SECTION */

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2001;
    background-color: var(--wit);
    height: 72px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Logo-container laat logo meeschalen op kleine schermen */
nav .logo {
    max-width: 100%;
    display: flex;
    align-items: center;
}

.logo img {
    max-width: 100%;
    width: 350px;
    height: auto;
    min-width: 100px; /* niet te klein op zeer smalle schermen */
    display: block;
    transition: transform 0.3s ease;
    object-fit: contain;
}

.logo img:hover {
    transform: scale(1.05);
}

/* Alleen de hoofdnav-balk (directe ul onder nav), niet het dropdown-ul */
nav > ul:not(.sidebar) {
    width: 97%;
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin: 0 auto;
    padding: 0;
    height: 100%;
    max-width: 1600px;
}

nav > ul:not(.sidebar) > li {
    height: 100%;
    flex-shrink: 0; /* voorkomt afkappen van tekst na deploy (andere viewport/font) */
}

nav > ul:not(.sidebar) > li:first-child {
    margin-right: auto;
    min-width: 0; /* logo-li mag krimpen zodat logo kan meeschalen */
}

/* Alleen de directe nav-links (niet de dropdown-links) */
nav > ul:not(.sidebar) > li > a {
    height: 100%;
    padding: 0 20px;
    display: flex;
    align-items: center;
    color: var(--tekst-donker);
    transition: background-color 0.3s ease;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;

    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

/* Nav links: liquid rood effect (geen onderlijn) */
nav > ul:not(.sidebar) > li > a:not(.logo) {
    overflow: hidden;
    white-space: nowrap; /* volledige woorden (Motortraining, Partners) niet afkappen */
    transition: color 0.4s ease, transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

nav > ul:not(.sidebar) > li > a:not(.logo)::before {
    content: "";
    position: absolute;
    top: -50px;
    left: 0;
    width: 150%;
    height: 300%;
    background-color: rgba(190, 30, 45, 0.12);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translate(-25%, -100%) rotate(25deg);
    z-index: -1;
    border-radius: 40%;
}

nav > ul:not(.sidebar) > li > a:not(.logo):hover {
    color: var(--hoofdkleur-rood);
    background-color: transparent;
    transform: translateY(-2px);
}

nav > ul:not(.sidebar) > li > a:not(.logo):hover::before {
    transform: translate(-25%, -10%) rotate(25deg) scale(1.1);
}

/* Kantoren dropdown: click = vestigingen, hover = Hasselt / Tessenderlo */
nav > ul:not(.sidebar) > li.nav-dropdown {
    position: relative;
}

nav .nav-dropdown-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    list-style: none;
    margin: 0;
    padding: 0;
    min-width: 160px;
    width: max-content;
    background: var(--wit);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-radius: 6px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 100;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

nav .nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
}

nav .nav-dropdown-menu li {
    display: block;
    height: auto;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

nav .nav-dropdown-menu li:first-child {
    border-top: none;
    margin-right: 0;
}

nav .nav-dropdown-menu a {
    display: block;
    padding: 30px 20px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--tekst-donker);
    white-space: nowrap;
    height: auto;
}

nav .nav-dropdown-menu a::after,
nav .nav-dropdown-menu a::before {
    display: none;
}

nav .nav-dropdown-menu a:hover {
    background-color: rgba(190, 30, 45, 0.08);
    color: var(--hoofdkleur-rood);
    transform: none;
}

.menu-button-container {
    display: none;
    cursor: pointer;
    z-index: 3001;
    height: 72px;
    width: 60px;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.menu-button-container button {
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-button {
    width: 30px;
    height: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bar1,
.bar2,
.bar3 {
    width: 100%;
    height: 3px;
    background-color: var(--tekst-donker);
    border-radius: 4px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s;
}

.open .bar1 {
    transform: translateY(9.5px) rotate(-45deg);
}

.open .bar2 {
    opacity: 0;
    transform: translateX(15px);
}

.open .bar3 {
    transform: translateY(-9.5px) rotate(45deg);
}

.sidebar {
    position: fixed;
    top: 0px;
    right: -280px;
    height: 100vh;
    width: 250px;
    z-index: 3000;
    background-color: var(--wit);
    backdrop-filter: blur(10px);
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 72px;
    visibility: hidden;
    opacity: 0;
    transition: right 0.4s ease, visibility 0.4s, opacity 0.4s;

    border-top: none;
    box-shadow: -5px 5px 15px rgba(0, 0, 0, 0.05);
    overflow-y: auto;
}

.sidebar.show {
    right: 0;
    visibility: visible;
    opacity: 1;
}

.sidebar li {
    width: 100%;
    flex-shrink: 0;

    border-top: 1px solid var(--tekst-donker);
}

.sidebar a {
    display: flex;
    align-items: center;
    width: 100%;
    height: 60px;

    padding: 0 25px;
    color: var(--tekst-donker);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s;
}

.sidebar :active {
    background-color: rgba(0, 0, 0, 0.03);
    color: var(--hoofdkleur-rood);
    padding-left: 30px;

}

/* Sidebar dropdown Kantoren */
.sidebar .sidebar-dropdown {
    border-top: 1px solid var(--tekst-donker);
}

.sidebar .sidebar-dropdown-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.03);
    opacity: 0;
    transform: translateY(-8px);
    transition: max-height 0.35s ease-out, opacity 0.25s ease-out, transform 0.25s ease-out;
}

.sidebar .sidebar-dropdown.open .sidebar-dropdown-menu {
    max-height: 160px;
    opacity: 1;
    transform: translateY(0);
    transition: max-height 0.4s ease-in, opacity 0.3s ease-out, transform 0.3s ease-out;
}

.sidebar .sidebar-dropdown-menu li {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.sidebar .sidebar-dropdown-menu a {
    height: 52px;
    padding-left: 40px;
    font-size: 0.95rem;
}

.sidebar .sidebar-dropdown.open > a.sidebar-dropdown-toggle {
    color: var(--hoofdkleur-rood);
}

@media (max-width: 1750px) {
    .hideOnMobile {
        display: none !important;
    }

    .menu-button-container {
        display: flex !important;
    }

    /* Mobiele variant: logo moet altijd in beeld blijven naast hamburger */
    nav > ul:not(.sidebar) {
        width: 100%;
        padding: 0 8px;
    }

    nav .logo {
        max-width: calc(100vw - 90px); /* ruimte voor hamburger (60px) + marge */
        min-width: 0;
        overflow: hidden;
        padding-left: 4px;
        padding-right: 8px;
    }

    .logo img {
        max-width: 100%;
        width: 100%;
        min-width: 80px;
        height: auto;
    }
}

@media (max-width: 450px) {
    .sidebar {
        width: 100%;
    }
}

/* Introtekst: korte variant op mobiel */
.intro-short {
    display: none;
}

@media (max-width: 640px) {
    .intro-long {
        display: none;
    }

    .intro-short {
        display: inline;
    }
}

/* #endregion */

/* #region HERO SECTION */

.hero-container {
    margin-top: 70px;
    min-height: 40vh;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    padding: 40px 20px;
    width: 100%;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    position: relative;

    overflow: visible;

    z-index: 10;

}

.welkom-text {
    display: inline-block;
    opacity: 0;
    transform: translateX(-30px);

    animation: slideInOnce 0.8s ease-out forwards;
    animation-delay: 0.5s;
    font-size: clamp(0.7rem, 5vw, 1.0rem);
    color: var(--tekst-donker);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

@keyframes slideInOnce {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.welkom-text::after {
    content: "";
    display: block;
    width: 40vw;
    max-width: 250px;
    min-width: 50px;
    height: 2px;

    background-color: var(--hoofdkleur-rood);
    border-radius: 5px;

    margin: 8px 0 0 0;
    opacity: 0;
    transform-origin: right;
    animation: flyInRepeat 5s ease-out infinite;
    animation-delay: 1.1s;
}

@keyframes flyInRepeat {
    0% {
        transform: translateX(100px) scaleX(0);
        opacity: 0;
    }

    15% {

        transform: translateX(0) scaleX(1);
        opacity: 1;
    }

    70% {

        transform: translateX(0) scaleX(1);
        opacity: 1;
    }

    85%,
    100% {

        transform: translateX(0) scaleX(1);
        opacity: 0;
    }
}

.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 20px;
    max-width: 600px;
    color: var(--tekst-donker);
    text-align: left;

    opacity: 0;

    transform: translateX(-60px);

    animation: slideInLeft 0.8s ease-out forwards;
    animation-delay: 0.8s;

}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-text h2 {
    font-size: clamp(0.75rem, 5vw, 1.25rem);
    margin-bottom: 20px;
    max-width: 600px;
    color: var(--tekst-donker);
    text-align: left;

    opacity: 0;

    transform: translateX(160px);

    animation: slideInRight 0.8s ease-out forwards;
    animation-delay: 0.8s;

}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-motor {
    position: absolute;
    right: 0px;
    max-width: 1061px;

    z-index: 20;
    pointer-events: none;
    opacity: 0;
    transform: translateX(100%);
    animation: driveInRight 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 0.6s;
}

@keyframes driveInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 1400px) {
    .hero-motor {
        display: none;
    }
}

@media (max-width: 1366px) {
    .hero-container {
        min-height: auto;

        padding-top: 60px;

        padding-bottom: 60px;
        justify-content: flex-start;

    }
}

@media (max-width: 768px) {
    .hero-container {
        padding-left: 20px;
        padding-right: 20px;
        margin-top: 40px;
    }
}

.quick-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 20px;
    margin-top: 30px;
    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    list-style: none;
    padding: 0;
}

.nav-card {

    background: var(--donker-achtergrond);

    border-radius: 12px;

    padding: 10px;
    text-align: center;
    text-decoration: none;

    color: #ffffff;

    display: flex;
    flex-direction: column;
    align-items: center;

    border-bottom: 3px solid var(--hoofdkleur-rood);

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);

    transition: transform 0.3s ease;
}

.nav-card svg {
    fill: var(--wit);
    margin-bottom: 10px;
    width: 35px;
    height: 35px;
}

.nav-card h3 {
    color: var(--wit);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.nav-card:active {
    transform: scale(0.95);

    background-color: #1a1a1a;
}

.nav-card:hover {
    transform: scale(1.05);
}

.opleiding-btn {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    appearance: none;
    outline: none !important;
    background-color: var(--hoofdkleur-rood);

    color: var(--wit);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 18px 40px;
    border-radius: 5px;
    transition: color 0.5s ease;
    overflow: hidden;

    z-index: 1;
    text-decoration: none;
    margin-top: 25px;
}

.opleiding-btn::before {
    content: "";
    position: absolute;
    top: -50px;
    left: 0;
    width: 150%;

    height: 300%;

    background-color: var(--zwart);

    transition: all 0.7s ease;
    transform: translate(-25%, -100%) rotate(25deg);

    z-index: -1;
    border-radius: 40%;

}

.opleiding-btn:hover::before {
    transform: translate(-25%, -10%) rotate(25deg);
    scale: 110%;

}

.opleiding-btn:hover {
    color: var(--wit);

}

@media (max-width: 1200px) {
    .opleiding-btn {
        display: none;
    }
}

@media (min-width: 1200px) {
    .quick-nav {
        display: none;
    }
}

@media (max-width: 1200px) {
    .quick-nav {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .quick-nav {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 300px) {
    .quick-nav {
        grid-template-columns: repeat(1, 1fr);
    }
}

.rijbewijzen-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    list-style: none;
    padding-bottom: 50px;
    padding-top: 50px;
    gap: 40px;
}

.rijbewijzen-card {
    background: var(--donker-achtergrond);
    border-radius: 12px;

    padding: 30px;
    text-align: center;
    text-decoration: none;
    color: var(--wit);

    display: flex;
    flex-direction: column;
    align-items: center;

    border-bottom: 3px solid var(--hoofdkleur-rood);

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    width: 100%;
    transition: transform 0.3s ease;
}

.rijbewijzen-card svg {
    fill: var(--wit);
    margin-bottom: 10px;
    width: 35px;
    height: 35px;
}

.rijbewijzen-card h3 {
    color: var(--wit);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.rijbewijzen-card h2 {
    color: var(--wit);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.rijbewijzen-card:active {
    transform: scale(0.95);

    background-color: #1a1a1a;
}

.rijbewijzen-card:hover {
    transform: scale(1.05);
}

@media (max-width: 1200px) {
    .rijbewijzen-nav {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .rijbewijzen-nav {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (max-width: 768px) {
    .rijbewijzen-card {
        padding: 20px;
    }

    .rijbewijzen-card svg {
        width: 28px;
        height: 28px;
        margin-bottom: 8px;
    }

    .rijbewijzen-card h2 {
        font-size: 0.9rem;
    }

    .rijbewijzen-card h3 {
        font-size: 0.9rem;
    }
}

@media (max-width: 350px) {
    .rijbewijzen-card {
        padding: 15px;
    }

    .rijbewijzen-card h3 {
        font-size: 0.85rem;
    }

    .rijbewijzen-card h2 {
        font-size: 0.85rem;
    }

    .rijbewijzen-card svg {
        width: 24px;
        height: 24px;
    }
}

.rijbewijzen-card-wrap {
    position: relative;
    width: 100%;
}

/* Motortraining subpages: “← Alle motortrainingen” under the header */
.motor-training-back-nav {
    margin-top: 1.25rem;
}

/* Motortraining subpages: image scales full width on small screens */
.motor-training-page-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 0 15px;
}

@media (min-width: 768px) {
    .motor-training-page-img {
        width: 45%;
        max-width: 45%;
    }
}

.motor-training-nav {
    max-width: 1100px;
}

/* Three tiles: use three columns from tablet width up so the third card is not orphaned in a 2-col grid */
@media (min-width: 700px) {
    .motor-training-nav {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Between one-column (phone) and three-column: two cards on row 1 — center the “binnenkort” tile on row 2 */
@media (min-width: 576px) and (max-width: 699px) {
    .motor-training-nav .rijbewijzen-card-wrap {
        grid-column: 1 / -1;
        justify-self: center;
        width: min(100%, 24rem);
    }
}

.rijbewijzen-card--soon {
    pointer-events: none;
    cursor: default;
    opacity: 0.92;
}

.rijbewijzen-card--soon:hover,
.rijbewijzen-card--soon:active {
    transform: none;
    background: var(--donker-achtergrond);
}

.rijbewijzen-card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--hoofdkleur-rood);
    color: var(--wit);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 6px 10px;
    border-radius: 6px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    pointer-events: none;
}

@media (max-width: 768px) {
    .rijbewijzen-card-badge {
        font-size: 0.65rem;
        padding: 5px 8px;
        top: 10px;
        right: 10px;
    }
}

/* #endregion */

/* #region FEATURES/TROEVEN SECTION */

.features-section {
    padding: 110px 20px;
    background-color: var(--tekst-donker);

}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-item {
    background-color: var(--wit);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid #e9e9e9;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item svg {
    height: 55px;

    width: 55px;
    fill: var(--hoofdkleur-rood);

    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 1.2rem;
    color: var(--tekst-donker);
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

@media (max-width: 1100px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);

    }
}

@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr;

    }
}

/* #endregion */

/* #region REVIEW SECTIE */

.review-section {
    background: var(--wit);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    max-width: 1400px;
    margin-top: 50px;
    margin-bottom: 50px;
    margin-right: auto;
    margin-left: auto;
    padding: 20px;
    border-radius: 15px;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.stars {
    color: #fbbc04;
    font-size: 1.2rem;
}

.review-btn {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    appearance: none;
    outline: none !important;
    background-color: var(--hoofdkleur-rood);

    color: var(--wit);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 18px 40px;
    border-radius: 5px;
    transition: color 0.5s ease;
    overflow: hidden;

    z-index: 1;
    text-decoration: none;
    margin-top: auto;
    margin-left: auto;
}

.review-btn::before {
    content: "";
    position: absolute;
    top: -50px;
    left: 0;
    width: 150%;

    height: 300%;

    background-color: var(--zwart);

    transition: all 0.7s ease;
    transform: translate(-25%, -100%) rotate(25deg);

    z-index: -1;
    border-radius: 40%;

}

.review-btn:hover::before {
    transform: translate(-25%, -10%) rotate(25deg);
    scale: 115%;

}

.review-btn:hover {
    color: var(--wit);

}

.review-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding-bottom: 15px;
    width: 100%;

}

.review-carousel::-webkit-scrollbar {
    height: 6px;
}

.review-carousel::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 10px;
}

.review-card {
    flex: 1 1 300px;

    min-width: 280px;

    max-width: 450px;

    scroll-snap-align: start;
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #eee;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.card-stars {
    color: #fbbc04;
    margin-bottom: 10px;
}

.review-card p {
    flex-grow: 1;
    color: var(--tekst-donker);

}

.author {
    display: block;
    margin-top: 15px;
    font-weight: bold;
    font-size: 0.9rem;
    color: var(--tekst-donker);

}

.google-logo {
    width: 50px;

    height: auto;
}

.blue {
    fill: #4285F4;
}

.red {
    fill: #EA4335;
}

.yellow {
    fill: #FBBC05;
}

.green {
    fill: #34A853;
}

@media (max-width: 1450px) {
    .review-section {
        margin-right: 20px;
        margin-left: 20px;
    }
}

/* #endregion REVIEW SECTIE */

/* #region FOOTER */

footer {
    background-color: var(--tekst-donker);

    color: #ffffff;
    padding-top: 60px;
    margin-top: auto;
    width: 100%;

}

.footer-container {
    display: grid;
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    gap: 40px;
    padding-bottom: 60px;
    padding-left: 25px;
    flex: 1;
    grid-template-columns: 1fr;
}

@media (min-width: 775px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1300px) {
    .footer-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-col h3 {
    font-size: 1.2rem;
    line-height: 1.4;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--hoofdkleur-rood);
}

.footer-brand-link {
    color: #ffffff;
    text-decoration: none;
}

.footer-brand-link:hover {
    color: var(--hoofdkleur-rood);
}

.footer-logo img {
    max-width: 150px;

    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}


.footer-text,
.contact-info p {
    color: #bbbbbb;

    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.contact-info i,
.contact-info svg {
    color: var(--hoofdkleur-rood);
    fill: var(--hoofdkleur-rood);

    margin-right: 10px;
    vertical-align: middle;

}

.contact-info svg {
    width: 18px;
    height: 18px;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #bbbbbb;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    transform: translateX(5px);

    color: var(--hoofdkleur-rood);
}

.footer-link-moto {
    white-space: nowrap;
}

a.footer-links {
    color: #bbbbbb !important;
    text-decoration: none;
    transition: all 0.3s ease;

}

a.footer-links:visited {
    color: #bbbbbb !important;
}

a.footer-links:hover {
    color: var(--hoofdkleur-rood) !important;
    transform: translateX(5px);

    display: inline-block;

}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: var(--hoofdkleur-rood);
    border-radius: 50%;

    color: var(--wit);
    transition: 0.3s;
    font-size: 1.1rem;
}

.social-icons a:hover {
    background-color: var(--wit);
    transform: translateY(-3px);
    color: var(--hoofdkleur-rood);
}

.social-icons svg {
    height: 20px;
    fill: currentColor;

}

.footer-bottom {
    background-color: #1a1a1a;

    text-align: center;
    padding: 20px;
    color: #dadada;
    font-size: 0.85rem;
    border-top: 1px solid #333;
}

/* #endregion FOOTER */

/* #region Auto opleidingen */

.choice-title {
    font-size: 2rem;
    color: var(--tekst-donker);
    margin-bottom: 10px;
    text-align: center;
    margin-top: 10px;
}

.choice-subtitle {
    font-size: 1.1rem;
    color: var(--tekst-donker);
    margin-bottom: 40px;
    text-align: center;
}

.choice-grid {
    display: flex;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
    justify-content: center;
    flex-wrap: wrap;

}

.choice-card {
    background: var(--donker-achtergrond);
    border-bottom: 3px solid var(--hoofdkleur-rood);
    padding: 30px;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1 1 300px;
    max-width: 400px;
    min-width: 280px;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;

}

.choice-card:hover {
    transform: translateY(-5px);
    border-color: #ff3b3b;
    box-shadow: 0 10px 20px rgba(255, 59, 59, 0.1);
}

.icon-box {
    background: var(--wit);

    padding: 20px;
    border-radius: 50%;
    margin-bottom: 20px;
    transition: background 0.3s ease;
}

.choice-card:hover .icon-box {
    background: var(--wit);
}

.icon-box svg {
    fill: var(--hoofdkleur-rood);
}

.card-text h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--wit);
    text-align: center;
}

.card-text p {
    font-size: 0.95rem;
    color: var(--wit);
    line-height: 1.5;
    text-align: center;
    font-weight: 400;
}

.arrow {
    margin-top: 15px;
    font-size: 1.5rem;
    color: var(--wit);
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.choice-card:hover .arrow {
    opacity: 1;
}

@media (max-width: 768px) {
    .choice-card {
        padding: 12px;
        min-width: 200px;
        max-width: 100%;
    }

    .icon-box {
        padding: 10px;
        margin-bottom: 10px;
    }

    .icon-box svg {
        width: 24px;
        height: 24px;
    }

    .card-text h3 {
        font-size: 0.9rem;
        margin-bottom: 5px;
    }

    .card-text p {
        font-size: 0.7rem;
        line-height: 1.3;
    }

    .arrow {
        font-size: 0.9rem;
        margin-top: 6px;
    }
}

@media (max-width: 350px) {
    .choice-grid {
        gap: 20px;

        padding: 0 20px;

    }

    .choice-card {
        flex: 1 1 100%;

        min-width: 0;

    }
}

/* #endregion  */

/* #region Tekst op site */

.text-theorie-container {
    background: var(--wit);
    max-width: 1400px;
    margin-top: 90px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flow-root;
    border-bottom: 5px solid var(--hoofdkleur-rood);
    border-top: none;
    border-radius: 25px 25px 0 0;
}

/* Vestigingen: witte container doorgetrokken over de kaarten */
.text-theorie-container:has(+ .informatie-container) {
    border-bottom: none;
    border-radius: 25px 25px 0 0;
}

.text-theorie-container+.informatie-container {
    background: var(--wit);
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 25px 25px;
    border-bottom: 5px solid var(--hoofdkleur-rood);
}

.text-theorie-container+.informatie-container .kantoor-kolommen {
    margin-left: 0;
    margin-right: auto;
    max-width: 1300px;
}

.text-theorie {
    max-width: 1300px;

    margin: 0 auto;
}

.margin-large {
    margin-top: 50px;
}

.text-theorie h1 {
    color: var(--tekst-donker);
    font-size: clamp(1.5rem, 2.5vw + 1rem, 2.2rem);
    margin-bottom: 20px;
    margin-top: 20px;
}

.text-theorie h2 {
    color: var(--tekst-donker);
    font-size: clamp(1.2rem, 2vw + 0.8rem, 1.8rem);
    margin-bottom: 15px;
    margin-top: 30px;
    border-left: 5px solid var(--hoofdkleur-rood);
    padding-left: 15px;
}

.text-theorie details summary h2 {
    margin-top: 0;
    margin-bottom: 0;
}

.text-theorie h3 {
    color: var(--tekst-donker);
    font-size: clamp(1.0rem, 1.5vw + 0.5rem, 1.3rem);
    margin-bottom: 10px;
    margin-top: 10px;
}

.text-theorie h4 {
    color: var(--tekst-donker);
    font-size: clamp(0.95rem, 1.2vw + 0.5rem, 1.15rem);
    margin-top: 10px;
    margin-left: 10px;
}

.text-theorie p {
    color: var(--tekst-donker);
    line-height: 1.8;
    font-size: clamp(0.95rem, 1.2vw + 0.5rem, 1.2rem);
    margin-bottom: 20px;
}

.text-theorie ul {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    margin-top: 20px;
}

.text-theorie li {
    font-size: clamp(0.9rem, 1.1vw + 0.5rem, 1.15rem);
    line-height: 1.6;
    margin-bottom: 10px;
    color: var(--tekst-donker);
    margin-left: 10px;
}

.text-theorie li::marker {
    color: var(--hoofdkleur-rood);
    font-weight: bold;
}

.text-theorie strong {
    color: var(--donker-achtergrond);
}

/* #endregion */

/* #region Knoppen theorie/auto */

.container {
    max-width: 1400px;
    margin: 90px auto 0 auto;

    padding: 0;
    border-radius: 15px 15px 0 0;

    display: flow-root;
    overflow: hidden;

}

.button-wrapper {
    display: flex;
    width: 100%;

}

.tab-button {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    padding: 22px;
    cursor: pointer;
    border: none;
    background-color: rgb(250, 250, 250);
    color: var(--donker-achtergrond);
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.tab-button:hover:not(.active) {
    background-color: var(--wit);
    transform: translateY(-3px) scale(1.03);
    color: var(--hoofdkleur-rood);
    border-bottom-color: transparent;

}

.tab-button.active {
    background-color: var(--donker-achtergrond);
    color: var(--wit);
    position: relative;
    border-bottom: none;
    box-shadow: inset 0 -4px 0 0 var(--hoofdkleur-rood);
    z-index: 250;
}

.tab-button::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: var(--hoofdkleur-rood);
    transition: width 0.3s ease;
    transform: translateX(-50%);
}

.tab-button:hover::after {
    width: 100%;
}

.echte-text-theorie-container {
    background: #ffffff;
    max-width: 1400px;
    margin-right: auto;
    margin-top: -10px;
    padding: 40px;

    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);

    border-top: none;
    border-bottom: 5px solid var(--hoofdkleur-rood);
    margin-left: auto;
}

@media (max-width: 1450px) {
    .text-theorie-container {
        padding: 10px 20px;
        width: auto;
    }

    main .echte-text-theorie-container {
        padding: 10px 20px;
        width: auto;
    }

    .text-theorie ul {
        margin-left: 20px;
    }
}

@media (max-width: 768px) {
    main .echte-text-theorie-container {
        padding: 10px 20px;
        width: auto;
    }
}

/* #endregion */

/* #region Tabel */

.responsive-table-container {
    background: linear-gradient(to bottom, #ffffff, #fafafa);
    max-width: 1400px;
    margin: 90px auto;
    padding: 10px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flow-root;
}

.responsive-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: white;
    border-radius: 12px;
    margin-bottom: 30px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.text-theorie-container .responsive-table {
    box-shadow: none;
    border: 1px solid #e8e8e8;
}

.responsive-table th,
.responsive-table td {
    padding: 18px 15px;
    text-align: center;
    border-bottom: 1px solid rgb(100, 100, 100);
    white-space: nowrap;
}

.responsive-table th:last-child,
.responsive-table td:last-child {
    border-right: none;
}

.responsive-table th {
    background-color: var(--hoofdkleur-rood);
    color: white;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.responsive-table td[data-label="Cursus"] {
    white-space: normal;
    min-width: 180px;
    font-weight: 500;
}

.btn-table {
    background-color: var(--hoofdkleur-rood);
    color: white !important;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 0.95rem;
    display: inline-block;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(255, 59, 59, 0.25);
    letter-spacing: 0.02em;
}

.btn-table:hover {
    background-color: #e63535;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 59, 59, 0.35);
}

@media (max-width: 950px) {
    .table-wrapper {
        padding: 0 10px;
    }

    .responsive-table {
        background: transparent;
        box-shadow: none;
        border: none;
    }

    .responsive-table thead {
        display: none;
    }

    .responsive-table tr {
        display: block;
        margin-bottom: 20px;
        border: 2px solid #eee;
        border-radius: 12px;
        background: #fff;
        box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.1);
        padding: 10px;
    }

    .responsive-table td {
        display: block;
        text-align: right;
        padding-left: 50%;
        position: relative;
        border-bottom: 1px solid #f9f9f9;

        white-space: normal;
    }

    .responsive-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 15px;
        width: 45%;
        font-weight: bold;
        text-align: left;
        color: #333;
    }

    .responsive-table td[data-label="Inschrijven"],
    .responsive-table td[data-label="Actie"] {
        text-align: center;
        padding-left: 15px;
        padding-top: 20px;
    }

    .responsive-table td[data-label="Inschrijven"]::before,
    .responsive-table td[data-label="Actie"]::before {
        display: none;
    }

    .btn-table {
        width: 100%;

    }
}

.kantoor-kolommen {
    display: grid;

    grid-template-columns: 1fr 1fr;
    justify-content: center;
    gap: 40px;

    margin: 30px auto;
    max-width: 1200px;

}

.kantoor-item {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);

    width: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;

}

.kantoor-item h2 {
    margin-bottom: 10px;
    color: var(--tekst-donker);
    font-size: 30px;
}

.kantoor-item h3 {
    margin-bottom: 10px;
    color: var(--tekst-donker);
    font-size: 20px;
    margin-top: 15px;
    margin-bottom: 15px;
}

.locatie-adres {
    color: var(--tekst-donker);
    font-size: 20px;
    margin-top: 15px;
    margin-bottom: 15px;
}

.map-container {
    margin-top: 15px;
    overflow: hidden;
    overflow-x: hidden;
    border-radius: 10px;
    max-width: 100%;
}

.map-container--quarter {
    width: 30vw;
    max-width: 30vw;
}

@media (max-width: 768px) {
    .map-container--quarter {
        width: 100%;
        max-width: 100%;
    }

    .openingsuren-kader {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    .openingsuren-kader .map-container--quarter {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .openingsuren-kader .map-container iframe {
        max-width: 100%;
        min-width: 0;
    }
}

.map-container iframe {
    width: 100% !important;
    max-width: 100%;
    height: 300px;
    border: 0;
    box-sizing: border-box;
}

.map-open-link {
    margin-top: 15px;
    margin-bottom: 2rem;
    text-align: center;
    display: inline-block;
}

.diensten-per-locatie {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1rem;
}

.diensten-locatie {
    min-width: 0;
}

.vestiging-locatie-img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 1.5rem;
    border-radius: 8px;
}

@media (min-width: 769px) {
    .diensten-locatie .vestiging-locatie-img {
        max-width: 85%;
    }
}

@media (max-width: 768px) {
    .diensten-per-locatie {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .vestiging-locatie-img {
        max-width: 100%;
    }
}

@media (max-width: 1250px) {
    .kantoor-kolommen {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }

    .kantoor-item {
        max-width: 500px;

        margin: 0 auto 30px auto;
    }
}

@media (max-width: 768px) {
    .text-theorie-container+.informatie-container {
        padding: 0 6px 24px;
    }

    .kantoor-kolommen {
        padding: 0 6px;
        margin: 16px auto;
    }

    .kantoor-item {
        padding: 10px;
        margin-bottom: 20px;
    }

    .map-container {
        margin-top: 10px;
    }
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 30px;
    margin-top: 40px;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
}

.partner-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

.partner-card:hover {
    transform: translateY(-5px);
}

.partner-logo {
    width: 100%;
    max-width: 300px;
    height: auto;
    aspect-ratio: 1/1;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;

    transition: 0.3s;
}

.partner-card h3 {
    font-size: 1.3rem;
    color: var(--tekst-donker);
    margin-bottom: 10px;
}

.partner-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;

}

@media (max-width: 1100px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);

    }
}

@media (max-width: 700px) {
    .partners-grid {
        grid-template-columns: 1fr;

        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        gap: 20px;
    }

    .partner-card {
        padding: 15px;

    }

}

.knop-container {
    text-align: center;

    margin-top: 40px;

}

.bel-knop {
    display: inline-block;

    padding: 20px 45px;

    font-size: 1.4rem;
    background-color: var(--hoofdkleur-rood);

    color: var(--wit);
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;

    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
    margin-bottom: 40px;
}

.bel-knop:hover {
    background-color: var(--tekst-donker);

    transform: scale(1.05);

}

.openingsuren-kader {
    display: inline-block;
    width: fit-content;
    max-width: 100%;
    padding: 1.75rem 2.25rem;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.02);
    margin: 0.5rem 0 1.5rem 0;
    overflow-x: hidden;
}

.openingsuren-kader .openingsuren-lijst {
    margin: 0;
    width: fit-content;
    min-width: 280px;
}

.openingsuren-kader .map-container {
    margin-top: 1.25rem;
}

.openingsuren-kader .map-container--quarter {
    width: 30vw;
    min-width: 280px;
    max-width: 30vw;
}

.openingsuren-lijst {
    list-style: none;
    padding: 0;
}

.openingsuren-lijst li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 1.1rem;
    color: var(--tekst-donker);
}

.openingsuren-lijst li:last-child {
    border-bottom: none;
}

.openingsuren-lijst strong {
    color: var(--tekst-donker);
    display: inline-block;
    width: 150px;

}

@media (max-width: 768px) {
    .openingsuren-lijst strong {
        display: block;
        width: auto;
        margin-bottom: 5px;
    }
}

/* #region container van de google forms */
.contact-form-container {
    margin-top: 80px;

    background: linear-gradient(to bottom, #ffffff, #fafafa);
    max-width: 1200px;

    margin: 90px auto;
    padding: 10px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

@media (max-width: 1150px) {
    .contact-form-container {
        margin: 80px auto;
        padding: 0;
        width: 100%;
        border-radius: 0;
        box-shadow: none;
        background: transparent;
    }
}

/* #endregion */

/* #region prijskaarten */

.pakketten-container {
    padding: 60px 20px;
    background: linear-gradient(to bottom, #fafafa, #f4f4f4);
}

.section-title {
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 10px;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
}

.pakketten-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 380px));

    gap: 30px;
    max-width: 1250px;
    margin: 40px auto;

    justify-content: center;
}

@media (max-width: 1200px) {
    .pakketten-grid {
        grid-template-columns: repeat(2, minmax(0, 380px));
        justify-content: center;
    }
}

@media (max-width: 800px) {
    .pakketten-grid {
        grid-template-columns: minmax(0, 380px);
        justify-content: center;
    }
}

.pakketten-grid-scooter {
    display: grid;
    grid-template-columns: repeat(2, minmax(300px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;

    justify-content: center;
    justify-items: center;
}

@media (max-width: 768px) {
    .pakketten-grid-scooter {

        grid-template-columns: repeat(1, minmax(300px, 450px));
        gap: 20px;
    }
}

.pakketten-grid-auto {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(calc(33.33% - 30px), 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 80px auto;
    justify-content: center;
    justify-items: center;
}

@media (max-width: 1500px) {
    .pakketten-grid-auto {

        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
}

/* Mobiele aanpassingen voor kleinere prijskaarten */
@media (max-width: 768px) {
    .pakketten-grid-auto {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }

    .card-modern {
        max-width: 100%;
        margin: 10px auto 0 auto;
    }

    .card-header {
        padding: 20px 15px;
    }

    .card-header h3 {
        font-size: clamp(1.2rem, 4vw, 1.5rem);
    }

    .card-header p {
        font-size: clamp(0.5rem, 3vw, 0.8rem);
    }

    .card-body {
        padding: 20px 15px 20px 15px;
        min-height: 280px;
    }

    .card-footer {
        padding: 0 20px 20px;
    }

    .amount {
        font-size: 2.5rem;
    }

    .currency {
        font-size: 1.2rem;
    }

    .vat-info {
        font-size: 0.75rem;
        margin-bottom: 15px;
    }

    .cta-button {
        padding: 10px 25px;
        font-size: 0.9rem;
    }

    .feature-list li {
        margin-bottom: 12px;
        font-size: 0.9rem;
    }

    .card-body-moto {
        min-height: 300px;
        padding: 22px 16px;
    }

    .badge-popular {
        font-size: 11px;
        padding: 5px 14px;
        top: -12px;
        right: 15px;
    }
}

/* Extra kleine schermen - nog compacter */
@media (max-width: 480px) {
    .pakketten-grid-auto {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 10px;
    }

    .card-modern {
        max-width: 100%;
        border-radius: 15px;
        margin: 5px 0;
    }

    .card-header {
        padding: 15px 12px;
    }

    .card-header h3 {
        font-size: 1.1rem;
    }

    .card-body {
        padding: 15px 12px;
        min-height: 250px;
    }

    .card-footer {
        padding: 0 15px 15px;
    }

    .amount {
        font-size: 2rem;
    }

    .currency {
        font-size: 1rem;
    }

    .cta-button {
        padding: 8px 20px;
        font-size: 0.85rem;
    }

    .feature-list li {
        margin-bottom: 10px;
        font-size: 0.85rem;
    }

    .card-body-moto {
        min-height: 280px;
        padding: 18px 12px;
    }
}

.card-modern {
    background: white;
    width: 100%;
    max-width: 380px;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid #eee;
    overflow: visible;
    margin: 20px auto 0 auto;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Hover effect verwijderd - kaarten zijn niet klikbaar, alleen de "nu boeken" knop */

.badge-popular {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--hoofdkleur-rood);
    color: var(--wit);
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(255, 59, 59, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: pulse-badge 3s ease-in-out infinite;
    will-change: transform;
}

@keyframes pulse-badge {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

.card-popular {
    border: 2px solid var(--hoofdkleur-rood) !important;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
}

.card-popular .card-header {
    border-top-left-radius: 18px;

    border-top-right-radius: 18px;
}

.card-header {
    background: var(--tekst-donker);
    color: white;
    padding: 30px 20px;
    text-align: center;
    border-top-left-radius: 19px;
    border-top-right-radius: 19px;
}

.card-header h3 {
    margin: 0;
    font-size: clamp(1.5rem, 5vw, 2rem);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.card-header p {
    margin: 5px 0 0;
    opacity: 0.5;

    font-size: clamp(0.5rem, 5vw, 0.9rem);
}

.card-body {
    padding: 30px 20px 25px 20px;
    min-height: 250px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-body-moto {
    padding: 26px 24px;
    flex: 1 1 auto;
    min-height: 300px;
}

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

.feature-list li {
    margin-bottom: 15px;
    color: var(--donker-achtergrond);
    display: flex;
    align-items: center;
    font-size: 1.2rem;
}

.icon {
    color: var(--hoofdkleur-rood);
    font-weight: bold;
    margin-right: 10px;
}

.of {
    font-weight: bold;
    margin-right: 10px;
    font-size: clamp(1rem, 10vw, 2rem);
}

.card-footer {
    padding: 0 30px 30px;
    text-align: center;
    margin-top: auto;
}

.price-wrap {
    margin-bottom: 5px;
}

.currency {
    font-size: 1.5rem;
    vertical-align: top;
    font-weight: bold;
}

.amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--tekst-donker);
}

.vat-info {
    font-size: 0.8rem;
    color: var(--tekst-donker);
    margin-bottom: 20px;
}

.cta-button {
    display: inline-block;
    background: var(--hoofdkleur-rood);
    color: white;
    padding: 12px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: #b31419;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    padding: 20px 0;
}

.course-card {
    background: #ffffff;
    border-radius: 15px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;

    transition: all 0.3s ease;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.course-card .card-header {
    background-color: #141414;
    padding: 20px;
    border-bottom: 2px solid var(--hoofdkleur-rood);

    text-align: center;
}

.course-card .card-header h3 {
    margin: 0 0 10px 0;
    font-size: 1.25rem;
    color: var(--wit);
    font-weight: 700;
}

/* #region raster */

.status-badge {
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.badge-available {
    background: #5df771;
    color: var(--tekst-donker);
}

.badge-full {
    background: #ffe3e3;
    color: #c92a2a;
}

.course-card .card-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.info-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 18px;
    gap: 12px;
}

.info-row strong {
    color: var(--tekst-donker);
    font-size: 0.9rem;
    min-width: 80px;

}

.course-card .card-footer {
    padding: 20px 25px 25px 25px;
}

.btn-card {
    display: block;
    width: 100%;
    padding: 14px;
    background-color: var(--hoofdkleur-rood);
    color: white !important;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: background 0.2s;
    border: none;
}

.btn-card:hover {
    background-color: #e60000;
}

.btn-full {
    background-color: #dee2e6;
    color: #868e96 !important;
    cursor: not-allowed;
}

/* #region Vacature */

.cta-buttons-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* Knoppen even breed, schalen mee op kleinere schermen */
.cta-buttons-container .btn-job {
    flex: 1 1 200px;
    min-width: 200px;
    max-width: 280px;
    box-sizing: border-box;
}

@media (max-width: 1100px) {
    .cta-buttons-container {
        gap: 12px;
        margin-top: 24px;
    }

    .cta-buttons-container .btn-job.margin-large {
        margin-top: 0;
    }

    .cta-buttons-container .btn-job {
        flex: 1 1 calc(50% - 8px);
        min-width: 140px;
        max-width: none;
        margin-bottom: 12px;
    }
}

@media (max-width: 600px) {
    .cta-buttons-container .btn-job {
        flex: 1 1 100%;
        min-width: 100%;
        max-width: 100%;
    }
}

.recencies-buttons-container {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-top: 30px;
}

.recencies-buttons-container .btn-job {
    flex: 1 1 200px;
    min-width: 180px;
    max-width: 280px;
    margin-bottom: 20px;
}

.btn-job {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 15px 25px;
    background: var(--donker-achtergrond);
    color: var(--wit);
    border-radius: 12px;
    border-bottom: 3px solid var(--hoofdkleur-rood);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    min-width: 250px;
    margin-bottom: 50px;
}

.btn-job:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.btn-mail {
    background: var(--donker-achtergrond);
    color: var(--wit);
    border-radius: 12px;
    border-bottom: 3px solid var(--hoofdkleur-rood);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.btn-icon {
    font-size: 2rem;
    margin-right: 15px;
}

.btn-text {
    display: flex;
    flex-direction: column;
}

.btn-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.btn-value {
    font-size: 1.1rem;
    font-weight: bold;
}

@media (max-width: 600px) {
    .cta-buttons-container {
        gap: 10px;
        margin-top: 20px;
    }

    .cta-buttons-container .btn-job {
        margin-bottom: 10px;
    }

    .btn-job {
        width: auto;
        max-width: 100%;
        min-width: unset;
        padding: 10px 18px;
        justify-content: center;
        margin-bottom: 30px;
    }

    .recencies-buttons-container .btn-job {
        flex: 1 1 100%;
        width: 100%;
        min-width: 100%;
        max-width: 100%;
    }

    .btn-job .btn-icon {
        font-size: 1.35rem;
        margin-right: 10px;
    }

    .btn-job .btn-value {
        font-size: 1rem;
    }

    .btn-job .btn-label {
        font-size: 0.72rem;
        letter-spacing: 0.5px;
    }
}

/* #endregion */

/* #region video loading */

.video-container {
    position: relative;
    padding-bottom: 56.25%;

    height: 0;
    overflow: hidden;
}

.video-container iframe,
.video-container lite-youtube {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* #endregion */

/* #region faq */

details {
    background-color: rgba(255, 255, 255, 0.8);

    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 0px;
    margin-right: 0px;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}

details:hover {
    border-color: var(--hoofdkleur-rood);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

h2.detail-header {
    color: var(--tekst-donker);
    font-size: clamp(1.0rem, 1.5vw + 0.8rem, 1.8rem);
    margin-bottom: 0;
    margin-top: 0;
    border-left: 5px solid var(--hoofdkleur-rood);
    padding-left: 15px;
}

.detail-subheader {
    font-size: clamp(0.85rem, 1vw + 0.4rem, 1rem);
    color: var(--tekst-donker);
    opacity: 0.8;
    margin-top: 5px;
    padding-left: 20px;
    margin-bottom: 0 !important;
}

summary::-webkit-details-marker {
    display: block;
    color: var(--hoofdkleur-rood);
    font-size: clamp(1.0rem, 1.2vw + 0.5rem, 1.2rem);
}

details[open] {
    border-left: 4px solid var(--hoofdkleur-rood);

}

details p,
details ul {
    margin-top: 15px;
}

details p {
    padding-left: 28px;
    line-height: 1.6;
    color: var(--tekst-donker);
    font-size: clamp(0.9rem, 1.1vw + 0.5rem, 1.1rem);
}

summary::after {
    content: '\276F';

    font-size: clamp(1.0rem, 1.2vw + 0.5rem, 1.2rem);
    color: #d32f2f;
    transition: transform 0.3s ease;
    margin-left: 10px;
}

details[open] summary::after {
    transform: rotate(90deg);
}

details[open] p,
details[open] ul {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 600px) {
    details {
        padding: 5px;
    }

    summary {
        padding: 10px;
    }

    h2.detail-header {
        font-size: clamp(0.95rem, 1.5vw + 0.7rem, 1.8rem);
    }

    details[open] ul {
        animation: fadeIn 0.5s ease;
        padding: 0;
    }
}

/* #endregion faq */

.link-slide {
    text-decoration: none;
    color: var(--tekst-donker);

    position: relative;
    font-weight: bold;
}

.link-slide::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--hoofdkleur-rood);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

.link-slide:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.button-row {
    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-top: 15px;
    width: 100%;

}

.jouw-tabel-class {
    width: 100%;
    max-width: 1000px;
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 1rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;

}

.jouw-tabel-class thead tr {
    background-color: var(--hoofdkleur-rood);

    color: #ffffff;
    text-align: left;
    font-weight: bold;
}

.jouw-tabel-class th,
.jouw-tabel-class td {
    padding: 15px 20px;
}

.jouw-tabel-class tbody tr {
    border-bottom: 1px solid #dddddd;
}

.jouw-tabel-class tbody tr td:last-child {
    background-color: rgba(231, 76, 60, 0.05);

    font-weight: bold;
    color: #e74c3c;

}

.jouw-tabel-class tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

.jouw-tabel-class tbody tr:last-of-type {
    border-bottom: 2px solid #e74c3c;
}

@media screen and (max-width: 600px) {
    .jouw-tabel-class {
        display: block;
        overflow-x: auto;
        font-size: 0.85rem;
    }

    .jouw-tabel-class th,
    .jouw-tabel-class td {
        padding: 10px 10px;
    }
}

#code372,
#code373,
#les9u,
#les12u,
#prijzen,
#pakket-2u,
#motorrijbewijs-informatie {
    scroll-margin-top: 100px;
}

.rpt-container {
    display: flex;
    flex-direction: column;

    gap: 20px;
    align-items: flex-start;
    margin-top: 20px;
}

.rpt-video {
    width: 100%;
    max-width: 400px;

}

.tablefaq {
    width: 100%;
    max-width: 800px;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    margin: 20px 0;
    font-size: 16px;
    text-align: left;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tablefaq thead {
    display: table-header-group;
}

.tablefaq tbody {
    display: table-row-group;
}

.tablefaq th {
    background-color: var(--hoofdkleur-rood);
    color: var(--tekst-donker);
    font-weight: bold;
    padding: 14px 16px;
    border-bottom: 2px solid #dee2e6;
    text-align: left;
}

.tablefaq td {
    padding: 14px 16px;
    border-bottom: 1px solid #e9ecef;
    vertical-align: top;
    color: #333;
    background-color: #fff;
}

.tablefaq tbody tr:last-child td {
    border-bottom: none;
}

.tablefaq tbody tr.tablefaq-total {
    background-color: #fff5f5;
    border-top: 3px solid var(--hoofdkleur-rood);
}

.tablefaq tbody tr.tablefaq-total td {
    background-color: #fff5f5;
    font-weight: 600;
    color: #333;
    padding-top: 16px;
    padding-bottom: 16px;
}

.tablefaq tbody tr.tablefaq-total td:first-child {
    color: var(--hoofdkleur-rood);
    font-size: 18px;
}

.tablefaq tbody tr:hover {
    background-color: #f8f9fa;
}

.tablefaq tbody tr:hover td {
    background-color: #f8f9fa;
}

.tablefaq tbody tr.tablefaq-total:hover {
    background-color: #ffe5e5;
}

.tablefaq tbody tr.tablefaq-total:hover td {
    background-color: #ffe5e5;
}

.line-break {
    display: block;
    margin-bottom: 5px;
}

@media (max-width: 768px) {
    .tablefaq {
        display: table;
        border: 1px solid #e9ecef;
        border-radius: 8px;
        overflow: hidden;
    }

    .tablefaq thead {
        display: table-header-group;
    }

    .tablefaq tbody {
        display: table-row-group;
    }

    .tablefaq tbody tr {
        display: table-row;
        margin-bottom: 0;
        border: none;
        border-radius: 0;
        background-color: transparent;
        box-shadow: none;
    }

    .tablefaq td {
        display: table-cell;
        padding: 12px 14px;
        border-bottom: 1px solid #e9ecef;
        text-align: left;
    }

    .tablefaq td:first-child {
        font-weight: 600;
        color: var(--hoofdkleur-rood);
        width: 40%;
        min-width: 120px;
    }

    .tablefaq tbody tr.tablefaq-total {
        border-top: 2px solid var(--hoofdkleur-rood);
    }

    .tablefaq tbody tr.tablefaq-total td {
        background-color: #fff5f5;
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .tablefaq tbody tr.tablefaq-total td:first-child {
        font-size: 17px;
    }

    .tablefaq tbody tr:last-child td {
        border-bottom: none;
    }

    .tablefaq tbody tr:hover td {
        background-color: #f8f9fa;
    }

    .tablefaq tbody tr.tablefaq-total:hover td {
        background-color: #ffe5e5;
    }
}

/* Cookiebanner (GDPR) – huisstijl Just Safe */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    background: var(--tekst-donker);
    color: var(--wit);
    padding: 18px 24px 20px;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.2);
    border-top: 1px solid var(--hoofdkleur-rood);
    font-size: 14px;
    line-height: 1.5;
    display: none;
}
#cookie-banner.is-visible {
    display: block;
    animation: cookie-banner-in 0.35s ease-out;
}
@keyframes cookie-banner-in {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
#cookie-banner .cookie-banner-inner {
    max-width: 920px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 24px;
}
#cookie-banner .cookie-banner-text {
    flex: 1 1 300px;
    color: var(--wit);
}
#cookie-banner .cookie-banner-text a {
    color: var(--hoofdkleur-rood);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 500;
}
#cookie-banner .cookie-banner-text a:hover {
    text-decoration-thickness: 2px;
}
#cookie-banner .cookie-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex-shrink: 0;
}
#cookie-banner .cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s, color 0.2s, transform 0.15s;
}
#cookie-banner .cookie-btn:active {
    transform: scale(0.98);
}
#cookie-banner .cookie-btn-accept {
    background: var(--hoofdkleur-rood);
    color: var(--wit);
}
#cookie-banner .cookie-btn-accept:hover {
    background: #e63535;
    color: var(--wit);
}
#cookie-banner .cookie-btn-reject {
    background: transparent;
    color: var(--wit);
    border: 2px solid rgba(255, 255, 255, 0.6);
}
#cookie-banner .cookie-btn-reject:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
}