/* -------------------------------------
    Google fonts
------------------------------------- */
@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,300;0,6..12,400;0,6..12,600;0,6..12,700;1,6..12,400&family=Poppins:wght@400;600;700&display=swap");

body {
    font-family: 'Nunito Sans', sans-serif;
}

/* -------------------------------------
    Brand colour variables
------------------------------------- */
:root {
    --primary-color:   #2A60AA;   /* RommelWeg logo blauw */
    --secondary-color: #BB0A21;   /* CTA rood */
    --dark-color:      #07070A;   /* Bijna zwart */
    --accent-rose:     #B98B82;   /* Terracotta rozé */
    --accent-green:    #B4CEB3;   /* Salie groen */
}

/* -------------------------------------
    Icoontjes: kleur per type (merkpalet)
------------------------------------- */

/* Header-top contactregel: alle icoontjes lichtgroen */
.header-top .contact-info i.fa {
    color: var(--accent-green) !important;
}

/* Telefoon / mobiel → rood (CTA) */
i.fa-phone,
i.fa-mobile,
i.fa-mobile-phone {
    color: var(--secondary-color);
}

/* E-mail → terracotta rozé */
i.fa-envelope,
i.fa-envelope-o {
    color: var(--accent-rose);
}

/* Locatie / kaart → salie groen */
i.fa-map,
i.fa-map-o,
i.fa-map-marker {
    color: var(--accent-green);
}

/* KvK / bedrijf → blauw */
i.fa-building,
i.fa-building-o {
    color: var(--primary-color);
}

/* BTW / tag → terracotta rozé */
i.fa-tag {
    color: var(--accent-rose);
}

/* Check / bevestiging → salie groen */
i.fa-check,
i.fa-check-circle,
i.fa-check-circle-o {
    color: var(--accent-green);
}

/* Social media → blauw */
i.fa-facebook,
i.fa-facebook-f,
i.fa-twitter,
i.fa-linkedin,
i.fa-linkedin-square,
i.fa-instagram,
i.fa-youtube,
i.fa-youtube-play,
i.fa-pinterest {
    color: var(--primary-color);
}

/* Navigatie / chevrons → donker */
i.fa-chevron-left,
i.fa-chevron-right,
i.fa-chevron-up,
i.fa-chevron-down,
i.fa-angle-right,
i.fa-arrow-right,
i.fa-arrow-left {
    color: var(--dark-color);
}

/* Wit op gekleurde/donkere achtergronden */
.contact-detail-icon i.fa,
.whatsapp-fab i.fa,
.scrollToTop i.fa,
.btn i.fa,
.slide-caption i.fa,
.side-panel-trigger i.fa,
.styled-icons i.fa,
.section-about2-blue i.fa,
.section-diensten-blokken .bg-dark i.fa,
.footer-bottom-rommelweg i.fa {
    color: #fff !important;
}

/* Contacticoontjes in zijpaneel: lichtgroen */
#side-panel-container .tm-widget-contact-info i.fa {
    color: var(--accent-green) !important;
}

/* -------------------------------------
    Global colour overrides
------------------------------------- */
.bg-primary {
    background-color: var(--primary-color) !important;
}

/* CTA buttons – rood */
.btn-theme-colored2 {
    background-color: var(--secondary-color) !important;
    border-color:     var(--secondary-color) !important;
    color: #fff !important;
}
.btn-theme-colored1:hover,
.btn-theme-colored2:hover {
    background-color: #c42a2a !important;
    border-color:     #c42a2a !important;
}

/* -------------------------------------
    Header top bar
------------------------------------- */

/* Contactlinks in header: hover donkerblauw */
.header-top .contact-info a {
    transition: color 0.15s ease;
}
.header-top .contact-info a:hover {
    color: var(--dark-color) !important;
}

/* Alle contactgegevens op één regel houden */
.header-top .contact-info {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center;
    gap: 0.25rem;
}
.header-top .contact-info li {
    white-space: nowrap;
    font-size: 0.82rem;
    flex-shrink: 0;
}

/* CTA-knop in de header – volledige hoogte, vierkante hoeken */
.header-top .row {
    align-items: stretch !important;
}
.header-top .header-top-right {
    align-self: stretch !important;
    display: flex !important;
    flex-direction: row;
    align-items: center;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.header-top .header-top-right .element:last-child {
    display: flex !important;
    align-self: stretch;
    align-items: stretch;
    padding: 0 !important;
    margin-left: 6px;
}
.header-top .btn.btn-theme-colored2 {
    border-radius: 0 !important;
    align-self: stretch;
    display: flex !important;
    align-items: center !important;
    padding: 0 28px !important;
    font-size: 0.85rem !important;
    font-weight: 600;
    letter-spacing: 0.2px;
    margin: 0 !important;
    line-height: 1;
}

/* -------------------------------------
    Hero slider
------------------------------------- */
#home {
    position: relative;
    overflow: visible; /* nodig voor uitstekende diensten blokken */
}

/* Slider vult de volledige schermbreedte */
.hero-section .container-fluid,
.hero-section .row,
.hero-section .col,
#slider,
#slider .slick-slider,
#slider .slick-list {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Elke slide is de positioning-context voor zijn eigen caption */
#slider .slide {
    position: relative;
}

/* Afbeelding vult de volledige breedte en hoogte */
#slider .slide picture img,
#slider .slide > img {
    width: 100%;
    height: 85vh;
    min-height: 500px;
    max-height: none;
    object-fit: cover;
    display: block;
}

/* Donkere gradient overlay – soepel verlopend naar transparant rechts */
#slider .slide-caption {
    position: absolute;
    inset: 0;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-bottom: 160px;
    /* Links uitlijnen met de container (zelfde als het logo in de header) */
    padding-left: max(0.75rem, calc((100% - 1300px) / 2 + 0.75rem));
    padding-right: max(0.75rem, calc((100% - 1300px) / 2 + 0.75rem));
    background: linear-gradient(to right, rgba(22, 24, 29, 0.78) 45%, transparent 82%);
}

#slider .slide-caption h2 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.4rem, 6vw, 4.75rem);
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.15;
    max-width: 820px;
    margin-bottom: 1rem;
}

#slider .slide-caption p.lead {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.88);
    max-width: 920px;
    margin-bottom: 0;
}

/* -------------------------------------
    Uitstekende diensten blokken
    (zweeft over de onderkant van de hero)
------------------------------------- */
.section-diensten-blokken {
    position: relative;
    z-index: 10;
    background: transparent !important;
    background-color: transparent !important;
    margin-top: -90px;
    padding-bottom: 20px;
}

/* Override de inline background-color die data-tm-bg-color instelt */
.section-diensten-blokken[style] {
    background-color: transparent !important;
    background: transparent !important;
}

/* Kaart: afgeronde hoeken + schaduw */
.section-diensten-blokken .highlight {
    border-radius: 12px !important;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.section-diensten-blokken .highlight:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22) !important;
}

/* Inhoud van de kaart: primaire kleur in plaats van donker */
.section-diensten-blokken .bg-dark {
    background: var(--primary-color) !important;
    padding-top: 26px !important; /* titel hoger in de kaart */
}

/* -------------------------------------
    Sticky header (volledig, inclusief topbalk)
------------------------------------- */

/* overflow-x: hidden op body breekt position:sticky — clip heeft hetzelfde
   visuele effect maar creëert geen scroll-container */
body {
    overflow-x: clip !important;
}

#header {
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}
/* Op mobiel: sticky uit zodat uitgeklapt menu meescrollt met
   page (sticky-header die hoger is dan viewport blokkeert scroll). */
@media (max-width: 1199.98px) {
    #header {
        position: relative !important;
        top: auto !important;
    }
}
/* Zorg dat de nav-wrapper nooit fixed/sticky gaat */
.header-nav-wrapper {
    position: static !important;
    top: auto !important;
    background-color: #fff;
}

/* -------------------------------------
    Logo's
------------------------------------- */
.menuzord-brand img,
.logo-default.logo-1x {
    max-height: 54px !important;
    height: 54px;
    width: auto !important;
    display: block;
    /* SVG-specifiek: forceer zichtbaarheid */
    min-width: 80px;
}

.side-panel-wrap .logo {
    max-height: 60px;
    width: auto !important;
}

.widget-logo img {
    max-height: none;
    max-width: 200px;
    height: auto;
    width: auto;
}

/* Voorkom dat de footer widget het logo afsnijdt */
.footer-widget-area .widget {
    overflow: visible;
}

/* -------------------------------------
    Afgeronde hoekjes – globaal
------------------------------------- */

/* Content-afbeeldingen */
.about-image-layer1 img,
.about-image-layer3 img,
.image-layer1 img,
.about-image-wrapper img,
.tm-sc-clients img,
.blog-thumb img,
.blog-image img,
.team-thumb img,
.team-thumb,
.tm-sc-testimonials img,
.tm-sc-gallery img,
.section-content img,
.tm-sc-article img {
    border-radius: 8px !important;
    overflow: hidden;
}

/* Kaarten en blokken */
.highlight,
.highlight-actionable,
.blog-item,
.tm-sc-article,
.widget:not(.widget_nav_menu),
.tm-sc-testimonials .testimonial-item,
.project-item,
.agenda-item,
.nieuws-item {
    border-radius: 8px !important;
    overflow: hidden;
}

/* Impact-badge op de about-afbeelding */
.impact-project {
    border-radius: 0 8px 0 8px !important;
}

/* Formuliervelden */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea,
select {
    border-radius: 6px !important;
}

/* Alle knoppen */
.btn {
    border-radius: 5px !important;
}

/* -------------------------------------
    Campagne sectie
------------------------------------- */
#section-campaign {
    background-image: url('/Huisstijl/real-estate-sector.jpg');
    background-size: cover;
    background-position: center;
}

/* -------------------------------------
    Sectie: Eenvoudig & stressloos
    (wit achtergrond, grijze scheidingslijn)
------------------------------------- */
.section-about {
    background-color: #fff;
}
/* Dunne grijze lijn boven het '5+' blok */
.section-about .border-white {
    border-color: #e0e0e0 !important;
}

/* -------------------------------------
    Sectie: Gemak & vertrouwen
    (blauw achtergrond, alles wit)
------------------------------------- */
.section-about2-blue {
    background-color: var(--primary-color);
}
.section-about2-blue .title,
.section-about2-blue h2,
.section-about2-blue p,
.section-about2-blue li,
.section-about2-blue .paragraph {
    color: #fff !important;
}
.section-about2-blue .subtitle.text-theme-colored1 {
    color: rgba(255, 255, 255, 0.85) !important;
}
.section-about2-blue .subtitle.line-shape-bottom:after {
    background-color: rgba(255, 255, 255, 0.45) !important;
}
/* USP-iconen wit op blauwe achtergrond */
.section-about2-blue .unordered-list-current-style1 li img {
    filter: brightness(0) invert(1) !important;
}
/* USP-rijen: lichte vergrotingsanimatie bij hover */
.section-about2-blue .unordered-list-current-style1 li {
    transition: transform 0.2s ease;
    cursor: default;
}
.section-about2-blue .unordered-list-current-style1 li:hover {
    transform: scale(1.04);
}
/* Knop: wit met blauwe tekst, geen zichtbare rand */
.section-about2-blue .btn {
    background-color: #fff !important;
    border: none !important;
    color: var(--primary-color) !important;
}
.section-about2-blue .btn:hover {
    background-color: rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
}

/* Kleine afbeelding (layer3): blauwe rand + ronde hoekjes alle kanten */
.section-about2-blue .about-image-layer3 {
    border-color: var(--primary-color) !important;
    border-radius: 12px !important;
    overflow: hidden;
}

/* USP icoontjes in blauwe sectie: donkerblauw (#16181D) i.p.v. wit */
.section-about2-blue .unordered-list-current-style1 li img {
    filter: brightness(0) !important;
}

/* Gelijke verticale padding op alle subpagina's */
section#main {
    padding-top: 1rem;
    padding-bottom: 4rem;
}
@media (min-width: 992px) {
    section#main {
        padding-top: 1.5rem;
        padding-bottom: 5rem;
    }
}

/* Standaard paginatitel verbergen als module zijn eigen kop toont */
#main:has(.module-page-header) #page-title-default {
    display: none;
}

/* Paginatitel verbergen op pagina's die eigen h2 in inhoud hebben */
#main:has(.no-cms-title) #page-title-default {
    display: none;
}

/* Side panel: wit achtergrond, geen patroon */
#side-panel-container {
    background-image: none !important;
    background-color: #fff !important;
}

/* -------------------------------------
    Footer
------------------------------------- */
.footer-inner {
    padding-top: 70px;
    padding-bottom: 70px;
}

.footer-col-title {
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-green);
    display: inline-block;
}

.footer-icon {
    width: 18px;
    flex-shrink: 0;
    margin-top: 3px;
    margin-right: 10px;
    color: var(--accent-green);
}

/* Alle tekst in de footer-widget-area is wit */
.footer-widget-area,
.footer-widget-area p,
.footer-widget-area span,
.footer-widget-area a,
.footer-widget-area li {
    color: #fff;
}

/* Logo in footer – volledig zichtbaar zonder afsnijden */
.footer-logo-img {
    max-width: 260px;
    width: 100%;
    height: auto;
    display: block;
}

/* Menulinks in footer */
.menu-footer-page-list .menu {
    list-style: none;
    padding: 0;
    margin: 0;
}
.menu-footer-page-list .menu li a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 2;
    transition: color 0.15s ease;
}
.menu-footer-page-list .menu li a:hover {
    color: #fff;
}

/* Footer menu accordion – sub-menus standaard verborgen */
#footer-page-list li > .sub-menu,
#footer-page-list li > .dropdown {
    display: none;
    list-style: none;
    padding-left: 10px;
    margin: 2px 0 6px;
    border-left: 2px solid var(--accent-green);
}
#footer-page-list li > .sub-menu li a,
#footer-page-list li > .dropdown li a {
    font-size: 0.85rem;
    line-height: 1.9;
    opacity: 0.85;
}
#footer-page-list li > .sub-menu li a:hover,
#footer-page-list li > .dropdown li a:hover {
    opacity: 1;
}
/* Pijltje op items met submenu */
#footer-page-list li.footer-has-sub > a,
#footer-page-list li.footer-has-sub > span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
}
#footer-page-list li.footer-has-sub > a::after,
#footer-page-list li.footer-has-sub > span::after {
    content: '\f107';
    font-family: 'FontAwesome';
    font-size: 0.85rem;
    margin-left: 6px;
    transition: transform 0.2s ease;
    opacity: 0.7;
    flex-shrink: 0;
}
#footer-page-list li.footer-has-sub.open > a::after,
#footer-page-list li.footer-has-sub.open > span::after {
    transform: rotate(180deg);
}
#footer-page-list li.open > .sub-menu,
#footer-page-list li.open > .dropdown {
    display: block;
}

/* -------------------------------------
    Nieuwskaart
------------------------------------- */
.nieuws-card {
    border: 1px solid rgba(0,0,0,0.09);
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    background: #fff;
}
.nieuws-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.11);
    transform: translateY(-2px);
}
.nieuws-card-img {
    width: 100%;
    height: 100%;
    min-height: 200px;
    object-fit: cover;
    display: block;
}
.nieuws-card-body {
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
}
.nieuws-card-datum {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    color: #fff;
    background-color: var(--accent-green);
    letter-spacing: 0.4px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
    display: block;
    margin-bottom: 8px;
}
.nieuws-card-titel {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-color);
    margin: 0 0 10px;
    line-height: 1.35;
    transition: color 0.15s ease;
}
.nieuws-card-link-wrap:hover .nieuws-card-titel {
    color: var(--secondary-color);
}
.nieuws-card-tekst {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.65;
    flex-grow: 1;
    margin-bottom: 16px;
}
.nieuws-card-meer {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary-color);
    align-self: flex-start;
}

/* -------------------------------------
    Footer bottom bar: blauw + ruimte + lijn
------------------------------------- */
.footer-bottom-rommelweg {
    background-color: var(--primary-color) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    padding: 20px 0 !important;
}
.footer-bottom-rommelweg .footer-paragraph {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
}
.footer-bottom-rommelweg .footer-paragraph a {
    color: #fff;
    text-decoration: none;
}
.footer-bottom-rommelweg .footer-paragraph a:hover {
    text-decoration: underline;
}

/* -------------------------------------
    Knoppen pagina-inhoud: uniforme grootte
------------------------------------- */
/* Alle knoppen in de pagina-inhoud (buiten de header) */
.main-content-area .btn,
footer .btn {
    padding: 13px 34px !important;
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
}
/* Hero-knop: zelfde grootte */
#slider .slide-caption .btn {
    padding: 13px 34px !important;
    font-size: 0.95rem !important;
}
/* Campagne-knop: zelfde grootte */
.btn-campaign {
    padding: 13px 34px !important;
    font-size: 0.95rem !important;
}

/* -------------------------------------
    Diensten blokken: subtitel groot/vet, titel donkerblauw
------------------------------------- */
.section-diensten-blokken .blokken-subtitel {
    font-family: 'Poppins', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    margin-top: 20px;
}
.section-diensten-blokken .blokken-titel {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--dark-color);
    letter-spacing: 0.4px;
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 48px; /* ruimte tussen title en subtitle */
}

/* -------------------------------------
    Dienstenkaart (ProjectenBlok)
    — zelfde stijl als NieuwsBlok kaart
------------------------------------- */
.dienst-card {
    border: 1px solid rgba(0,0,0,0.09);
    border-top: 3px solid var(--accent-green);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.dienst-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.11);
    transform: translateY(-2px);
}
.dienst-card-img {
    width: 100%;
    height: 100%;
    min-height: 160px;
    object-fit: cover;
    display: block;
}
.dienst-card-body {
    padding: 22px 26px;
    display: flex;
    flex-direction: column;
}
.dienst-card-titel {
    font-family: 'Poppins', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--dark-color);
    margin: 0 0 8px;
    line-height: 1.35;
    transition: color 0.15s ease;
}
.dienst-card-link-wrap:hover .dienst-card-titel {
    color: var(--secondary-color);
}
.dienst-card-tekst {
    font-size: 0.92rem;
    color: #555;
    line-height: 1.65;
    flex-grow: 1;
    margin-bottom: 14px;
}
.dienst-card-meer {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--secondary-color);
    align-self: flex-start;
}

/* Verticale kaartvariant voor categorieën-blok */
.dienst-card-vertical .dienst-card-img-wrap {
    overflow: hidden;
    height: 220px;
}
.dienst-card-vertical .dienst-card-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.dienst-card-vertical:hover .dienst-card-img-top {
    transform: scale(1.04);
}

/* -------------------------------------
    Dienst detail- en overzichtspagina
------------------------------------- */
.dienst-terug-link-wrap {
    margin-bottom: 8px;
}
.dienst-terug-link {
    color: var(--secondary-color);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.2px;
    transition: opacity 0.15s ease;
}
.dienst-terug-link:hover {
    opacity: 0.75;
    text-decoration: none;
    color: var(--secondary-color);
}
.dienst-terug-link i {
    margin-right: 5px;
    font-size: 0.8rem;
}

.dienst-inleiding {
    font-size: 1.08rem;
    line-height: 1.8;
    color: #444;
    border-left: 3px solid var(--accent-green);
    padding-left: 18px;
    margin-bottom: 28px;
}

.dienst-detail-img {
    border-radius: 8px;
    width: 100%;
    margin-bottom: 28px;
    display: block;
}

.dienst-detail-bericht p {
    line-height: 1.8;
    color: #444;
}
.dienst-detail-bericht h2,
.dienst-detail-bericht h3 {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-color);
    margin-top: 28px;
}

.dienst-gallery-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    transition: opacity 0.2s ease;
}
.dienst-gallery-img:hover {
    opacity: 0.85;
}

/* Sidebar */
.dienst-sidebar {
    position: sticky;
    top: 100px;
}
.dienst-archief-blok {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 24px;
    border-top: 3px solid var(--accent-green);
}
.dienst-archief-titel {
    font-family: 'Poppins', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: var(--dark-color);
    margin-bottom: 14px;
}
.dienst-archief-link {
    display: flex;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px solid rgba(0,0,0,0.07);
    text-decoration: none;
    color: var(--dark-color);
    font-size: 0.9rem;
    transition: color 0.15s ease, padding-left 0.15s ease;
}
.dienst-archief-link:last-child {
    border-bottom: none;
}
.dienst-archief-link:hover {
    color: var(--secondary-color);
    padding-left: 4px;
}
.dienst-archief-link i {
    color: var(--accent-green);
    margin-right: 10px;
    font-size: 0.75rem;
    flex-shrink: 0;
}

/* Categorie-overzichtspagina */
.dienst-cat-hero-img {
    border-radius: 8px;
    width: 100%;
    max-height: 360px;
    object-fit: cover;
    display: block;
}
.cat-intro-blok {
    background: #f8f9fa;
    border-left: 4px solid var(--accent-green);
    padding: 20px 24px;
    border-radius: 0 8px 8px 0;
}
.cat-inleiding {
    font-size: 1.05rem;
    color: #444;
    line-height: 1.75;
    margin: 0;
}

/* -------------------------------------
    Subtitel streepjes: geel → rood
------------------------------------- */
.tm-sc-section-title.section-title .title-wrapper .subtitle.line-shape-bottom:after {
    background-image: none !important;
    background-color: var(--secondary-color) !important;
    height: 3px !important;
    width: 60px !important;
    bottom: -10px !important;
    border-radius: 2px;
}

/* -------------------------------------
    USP icoontjes: donkerste blauw uit logo (#16181D)
------------------------------------- */
.unordered-list-current-style1 li img {
    filter: brightness(0);
}

/* Verberg paginering als er maar 1 pagina is */
#nieuws-list .pagination span:only-child {
    display: none !important;
}

/* -------------------------------------
    WhatsApp FAB knop (rechtsonder)
------------------------------------- */
.whatsapp-fab {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 64px;
    height: 64px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    z-index: 9998;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.32);
    color: #fff;
}
.whatsapp-fab .fa {
    line-height: 1;
}

/* -------------------------------------
    Scroll-naar-boven knop: effen donker
------------------------------------- */
.scrollToTop {
    background-image: none !important;
    background-color: var(--dark-color) !important;
    opacity: 0.75;
}
.scrollToTop:hover {
    box-shadow: 0 7px 20px rgba(0,0,0,0.3) !important;
    opacity: 1;
    background-color: var(--dark-color) !important;
}

/* -------------------------------------
    Footer link- en lijsttekst: altijd wit, hover donkerblauw
------------------------------------- */
#footer .footer-widget-area a,
#footer .footer-widget-area ul li a,
#footer-page-list a,
#footer-page-list li a {
    color: #fff !important;
    transition: color 0.15s ease;
}
#footer .footer-widget-area a:hover,
#footer .footer-widget-area ul li a:hover,
#footer-page-list a:hover,
#footer-page-list li a:hover,
.footer-contact-info a:hover {
    color: var(--dark-color) !important;
}

/* Beschrijvingstekst in footer en side-panel */
.footer-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 18px;
}
.side-panel-desc {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* -------------------------------------
    Over ons pagina – koptekst
------------------------------------- */
.overons-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--secondary-color);
    margin-bottom: 12px;
}
.overons-titel {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--dark-color);
    line-height: 1.15;
    margin-bottom: 22px;
}
.overons-intro p,
.overons-intro {
    font-size: 1rem;
    color: #666;
    line-height: 1.75;
    margin-bottom: 0;
}

/* Subpagina's: alineatekst lichtgrijs */
#main p,
#main li,
#main .lead,
#main td,
#main th {
    color: #666;
}
/* Tekst in teamkaart bio altijd wit */
#main .team-card-bio,
#main .team-card-bio p,
#main .team-card-bio li {
    color: rgba(255, 255, 255, 0.95);
}
.overons-slogan-wrap {
    text-align: center;
}
.overons-slogan {
    font-family: 'Dancing Script', cursive;
    font-size: 1.65rem;
    color: var(--accent-rose);
    line-height: 1.4;
    margin-bottom: 4px;
}
.overons-slogan-arrow {
    display: block;
    margin-top: 6px;
}

/* Side panel – widget-titelbalk rood i.p.v. groen */
.widget-title.widget-title-line-bottom.line-bottom-theme-colored1:after,
.widget-title.widget-title-line-bottom.line-bottom-theme-colored1:before {
    background-color: var(--secondary-color) !important;
}

/* -------------------------------------
    Over ons pagina – teamkaart
------------------------------------- */
.team-card {
    border: 1px solid rgba(0, 0, 0, 0.09);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    max-width: 780px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
}
.team-card-img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    object-position: top center;
    display: block;
}
.team-card-info {
    padding: 36px 40px;
}
.team-card-naam {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--dark-color);
    margin-bottom: 4px;
}
.team-card-naam a {
    color: var(--dark-color);
    text-decoration: none;
}
.team-card-rol {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--secondary-color);
    margin-bottom: 28px;
}
.team-card-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.team-card-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.92rem;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.15s ease;
}
.team-card-contact-item:hover {
    color: var(--dark-color);
}
.team-card-contact-item i {
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}
.team-card-bio {
    background-color: var(--accent-rose);
    color: rgba(255, 255, 255, 0.95);
    padding: 20px 32px;
    font-size: 0.92rem;
    line-height: 1.65;
}

/* -------------------------------------
    Contactpagina
------------------------------------- */
.contact-page-intro p {
    font-size: 1rem;
    color: #444;
    line-height: 1.7;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}
.contact-detail-icon {
    width: 42px;
    height: 42px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    margin-right: 16px;
    font-size: 0.88rem;
    margin-top: 2px;
}
.contact-detail-text {
    color: var(--dark-color);
    font-size: 0.95rem;
    line-height: 1.6;
    padding-top: 10px;
}
.contact-detail-text a {
    color: var(--dark-color);
    text-decoration: none;
    transition: color 0.15s ease;
}
.contact-detail-text a:hover {
    color: var(--primary-color);
}

/* Formulier wrapper */
.contact-form-block {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.09);
    border-radius: 12px;
    padding: 36px 40px;
}
.contact-form-input {
    padding: 13px 16px !important;
    border: 1px solid #ddd !important;
    font-size: 0.95rem !important;
    border-radius: 6px !important;
}
.contact-form-input:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(42, 96, 170, 0.12) !important;
    outline: none;
}
textarea.contact-form-input {
    min-height: 150px;
    resize: vertical;
}

/* -------------------------------------
    Overige fixes
------------------------------------- */
.widget h4 { margin-top: 0 !important; }
.bg-img-cover { background-position: center; }
.bg-no-repeat h2 { text-shadow: none; }

.home .main-content-area table th,
.home .main-content-area table td {
    border: 0;
    color: white;
}

.footer-contact-info i { width: 20px; }
.footer-contact-info i.fa { color: var(--accent-green) !important; }

.tm-sc-gallery.gallery-current-theme-style1 .tm-gallery .tm-gallery-inner .tm-gallery-content-wrapper .tm-gallery-content:after,
.staff-current-theme-style1 .team-item:hover .team-thumb:before {
    background-color: var(--secondary-color);
    opacity: 0.8;
}

.align-items-stretch > div > div { height: 100%; }
.align-items-stretch > div > div > div { height: 100%; }

/* -------------------------------------
    Accent kleur utility-klassen
    (bruikbaar als sectie-achtergrond in CMS)
------------------------------------- */
.bg-accent-rose {
    background-color: var(--accent-rose) !important;
}
.bg-accent-green {
    background-color: var(--accent-green) !important;
}
.bg-accent-green-light {
    background-color: rgba(180, 206, 179, 0.18) !important;
}
.bg-accent-rose-light {
    background-color: rgba(185, 139, 130, 0.12) !important;
}
.text-accent-rose  { color: var(--accent-rose)  !important; }
.text-accent-green { color: var(--accent-green) !important; }

/* -------------------------------------
    Subpage hero slider (50% van homepage hoogte)
------------------------------------- */
.subpage-slider-wrap #slider .slide picture img,
.subpage-slider-wrap #slider .slide > img {
    height: 42.5vh;
    min-height: 200px;
    object-fit: cover;
}

.subpage-slider-wrap #slider .slide-caption {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
    /* Gradient verder naar rechts zodat lange titels leesbaar blijven */
    background: linear-gradient(to right, rgba(22, 24, 29, 0.72) 70%, transparent 100%);
    padding-bottom: 0 !important;
    /* Zelfde uitlijning als de pagina-container */
    padding-left: max(0.75rem, calc((100% - 1300px) / 2 + 0.75rem)) !important;
    padding-right: max(0.75rem, calc((100% - 1300px) / 2 + 0.75rem)) !important;
}

/* Subtitel (label): rood, boven de titel */
.subpage-slider-wrap #slider .slide-caption .slide-label {
    display: block !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.2px !important;
    color: var(--secondary-color) !important;
    margin-bottom: 12px !important;
}

/* Hoofdtitel: identiek aan .overons-titel, wit op donkere achtergrond, geen max-breedte */
.subpage-slider-wrap #slider .slide-caption .slide-titel {
    font-family: 'Poppins', sans-serif !important;
    font-size: clamp(1.8rem, 4vw, 2.8rem) !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    color: #fff !important;
    line-height: 1.15 !important;
    margin: 0 !important;
    max-width: none !important;
    text-shadow: none !important;
    white-space: nowrap !important;
}

@media (max-width: 1199.98px) {
    .subpage-slider-wrap #slider .slide picture img,
    .subpage-slider-wrap #slider .slide > img {
        height: 40vh;
    }
}

@media (max-width: 991.98px) {
    .subpage-slider-wrap #slider .slide picture img,
    .subpage-slider-wrap #slider .slide > img {
        height: 30vh;
        min-height: 190px;
    }
}

@media (max-width: 767.98px) {
    .subpage-slider-wrap #slider .slide picture img,
    .subpage-slider-wrap #slider .slide > img {
        height: 27.5vh;
        min-height: 160px;
    }
}

@media (max-width: 575.98px) {
    .subpage-slider-wrap #slider .slide picture img,
    .subpage-slider-wrap #slider .slide > img {
        height: 25vh;
        min-height: 140px;
    }
}

/* -------------------------------------
    Responsive
------------------------------------- */

/* LG */
@media (max-width: 1199.98px) {
    #slider .slide picture img,
    #slider .slide > img {
        height: 80vh;
    }
}

/* MD */
@media (max-width: 991.98px) {
    #slider .slide picture img,
    #slider .slide > img {
        height: 60vh;
        min-height: 380px;
    }
    #slider .slide-caption {
        padding-bottom: 140px;
    }
    .section-diensten-blokken {
        margin-top: -60px;
    }
}

/* SM */
@media (max-width: 767.98px) {
    #slider .slide picture img,
    #slider .slide > img {
        height: 55vh;
        min-height: 320px;
    }
    .section-diensten-blokken {
        margin-top: -40px;
    }
}

/* XS */
@media (max-width: 575.98px) {
    #slider .slide picture img,
    #slider .slide > img {
        height: 50vh;
        min-height: 280px;
    }
    #slider .slide-caption {
        padding-bottom: 100px;
        background: linear-gradient(to right, rgba(22, 24, 29, 0.72) 50%, transparent 100%);
    }
    .section-diensten-blokken {
        margin-top: -30px;
    }
}

/* -------------------------------------
    Taalswitcher (lang-switcher dropdown)
------------------------------------- */
.header-top {
    position: relative;
}
.header-top-lang {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
}
@media (max-width: 991px) {
    .header-top-lang {
        position: absolute;
        top: 8px;
        right: 10px;
        bottom: auto;
        left: auto;
        transform: none;
        z-index: 25;
    }
    .header-top-lang .lang-toggle {
        font-size: 0.6rem;
        padding: 2px 7px;
        line-height: 1.6;
    }
    .header-top-lang .lang-dropdown-panel {
        right: 0;
        left: auto;
        min-width: 56px;
    }
}

.lang-switcher {
    position: relative;
    display: inline-block;
}
.lang-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 4px;
    color: rgba(255,255,255,0.85);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 3px 9px;
    cursor: pointer;
    line-height: 1.9;
    transition: border-color 0.15s, color 0.15s;
    white-space: nowrap;
}
.lang-toggle:hover {
    color: #fff;
    border-color: rgba(255,255,255,0.7);
}
.lang-chevron {
    font-size: 0.72rem;
    transition: transform 0.2s;
}
.lang-switcher.open .lang-chevron {
    transform: rotate(180deg);
}
.lang-dropdown-panel {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 5px);
    min-width: 64px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.13);
    overflow: hidden;
    z-index: 1050;
}
.lang-switcher.open .lang-dropdown-panel {
    display: block;
}
.lang-item {
    display: block;
    padding: 8px 14px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #444 !important;
    text-decoration: none !important;
    transition: background-color 0.13s;
}
.lang-item:hover {
    background-color: #f2f5f2;
    color: var(--primary-color) !important;
}
.lang-item--current {
    color: var(--accent-green) !important;
    cursor: default;
    background-color: #f9f9f9;
}

/* -------------------------------------
    Mobiel menu: bound height + interne
    scroll zodat lange submenu's (bv.
    particuliere ontruiming) volledig
    bereikbaar zijn binnen sticky header.
    menuzord.js zet inline max-height:100%
    wat tegen parent met auto-height geen
    constraint geeft -> override met vh.
------------------------------------- */
@media (max-width: 1199.98px) {
    .menuzord-responsive .menuzord-menu.scrollable {
        max-height: none !important;
        overflow: visible !important;
        -webkit-overflow-scrolling: auto !important;
    }
    .menuzord-responsive .menuzord-menu.scrollable > .scrollable-fix {
        display: none !important;
    }
}
