/* Mobiele correcties. Alles hieronder geldt alleen onder 768px breed,
   zodat de desktopweergave ongewijzigd blijft. Als laatste stylesheet
   ingeladen, zodat deze regels van de oudere opmaak winnen. */

@media only screen and (max-width: 767px) {

    /* --- Niets mag breder zijn dan het scherm --- */
    img,
    iframe,
    table,
    pre {
        max-width: 100%;
    }

    img {
        height: auto;
    }

    body {
        overflow-x: hidden;
    }

    /* --- Compacte kop: logo, servicebelofte, betaalmethoden, telefoon --- */
    header nav {
        height: auto;
    }

    .navbar-brand {
        margin: 6px auto 10px auto;
        padding-bottom: 10px;
    }

    .navbar-brand img {
        width: 150px;
    }

    header .header-information {
        margin-top: 2px;
        align-items: center;
    }

    /* Servicebelofte en betaallogo's naast elkaar in plaats van onder elkaar */
    header .header-information > .header-block:nth-child(1) {
        flex: 0 0 56%;
        max-width: 56%;
    }

    header .header-information > .header-block:nth-child(2) {
        flex: 0 0 44%;
        max-width: 44%;
    }

    .bestel-online {
        width: auto;
        margin: 4px auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .bestel-online .bestel-online-text {
        font-size: 14px;
        line-height: 1.3;
        text-align: left;
    }

    header .payment-methods {
        padding-top: 2px;
        max-width: 165px;
    }

    header .call-us-btn,
    .call-us-btn {
        display: block;
        width: 100%;
        margin: 10px 0 2px 0;
        padding: 13px 10px;
    }

    header .english-btn {
        padding-top: 2px;
        padding-bottom: 4px;
    }

    /* --- Hoofdmenu: echte tapdoelen van minstens 44px --- */
    .main-menu {
        margin-top: 8px;
        padding-top: 2px;
    }

    .main-menu a,
    .main-menu summary {
        padding: 11px 0;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .main-menu details ul a {
        padding-left: 12px;
    }

    .main-menu .main-menu-cta a {
        display: block;
        min-height: 48px;
        padding: 13px 18px;
    }

    /* --- Leesbaarheid: geen uitgevulde of gecentreerde lappen tekst --- */
    .container p,
    .container li,
    .explain-block p,
    .more-info-block p {
        text-align: left;
    }

    .center-mobile,
    .center-mobile p,
    .rates-cta p {
        text-align: center;
    }

    /* --- Titelbalk: tekst van de rand af --- */
    .title-bar {
        padding: 26px 16px;
    }

    .title-bar h1,
    .title-bar p {
        max-width: 100%;
    }

    .title-bar h1 {
        font-size: 28px;
        line-height: 1.2;
    }

    /* --- Minder witruimte: de pagina was op mobiel ruim twee keer te lang --- */
    .page-home {
        padding: 20px 0;
        min-height: 0;
    }

    .padding-default {
        padding-top: 36px;
        padding-bottom: 36px;
    }

    .online-booking {
        padding: 36px 0;
    }

    .online-booking h2 {
        margin-bottom: 20px;
    }

    .online-booking h4,
    .online-booking .step-title {
        margin-bottom: 14px;
    }

    .online-booking.without-image {
        padding: 30px 0;
    }

    .online-booking.without-image .calculate-price-btn,
    .calculate-price-btn {
        margin: 22px 0;
    }

    .more-info-block {
        padding-bottom: 36px;
    }

    .more-info-block p {
        margin-bottom: 18px;
    }

    .explain-title {
        height: auto;
        margin-bottom: 6px;
    }

    .testemonials {
        margin-top: 36px;
    }

    .testemonials ul li p {
        padding: 24px 20px 60px 20px;
    }

    .review-section {
        padding: 28px 0;
        gap: 20px;
    }

    .faq {
        margin-bottom: 36px;
    }

    .vacation-block {
        margin-top: 36px;
    }

    .title-margin {
        margin-top: 28px;
    }

    .client-title {
        margin-top: 20px;
    }

    footer {
        padding-top: 28px;
        margin-top: 28px;
    }

    /* --- Illustraties niet schermvullend --- */
    .image-wrapper img,
    .online-booking img {
        max-height: 180px;
        width: auto;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .online-booking .payment-methods,
    header .payment-methods {
        max-height: none;
    }

    /* --- Te kleine letters in de beoordelingsbalk --- */
    .review-bar .stars-placeholder {
        width: auto;
        height: auto;
        font-size: 13px;
    }

    .badge-label,
    .badge-count {
        font-size: 12px;
    }

    .badge {
        min-height: 56px;
    }

    /* --- Voetnoot: links met genoeg tikruimte --- */
    footer .link-padding {
        padding: 12px 0;
        min-height: 44px;
    }

    /* --- Zwevende WhatsApp-knop kleiner, dekt minder tekst af --- */
    #whatsapp {
        bottom: 14px;
        right: 14px;
    }

    #whatsapp img {
        max-width: 60px;
    }
}
