/* ============================================
   HG VLOERSYSTEMEN — DIENST PAGINA CSS
   Stijlen voor dienst-detailpagina's
   ============================================ */

/* ---- DIENST HERO V2 (full-width met foto achtergrond) ---- */
.dienst-hero-v2 {
    position: relative;
    min-height: 580px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Achtergrond foto via background-image op de section */
.dienst-hero-v2 {
    background-size: cover;
    background-position: 70% center;
    background-repeat: no-repeat;
}

/* img tag in hero-v2-right verbergen (foto zit nu als bg) */
.hero-v2-img {
    display: none;
}

/* Donkere gradient overlay — links dicht, rechts transparant */
.dienst-hero-v2::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(10, 14, 26, 0.97) 0%,
        rgba(10, 14, 26, 0.95) 35%,
        rgba(10, 14, 26, 0.75) 55%,
        rgba(10, 14, 26, 0.30) 75%,
        rgba(10, 14, 26, 0.10) 100%
    );
    z-index: 1;
}

/* Hero-left: volledige breedte, content gecentreerd via container */
.hero-v2-left {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 80px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Container binnen de hero — zelfde als .container in de rest van de pagina */
.hero-v2-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    /* Content beperkt tot linker helft zodat foto rechts zichtbaar blijft */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Tekst en elementen maximaal halve breedte */
.hero-v2-inner > * {
    max-width: 560px;
}

/* Rechter kant verbergen (foto is nu de achtergrond) */
.hero-v2-right {
    display: none;
}

.hero-v2-left .breadcrumb {
    margin-bottom: 20px;
}

.hero-v2-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    font-weight: 900;
    color: white;
    line-height: 1.1;
    margin-bottom: 20px;
    margin-top: 16px;
}

.hero-v2-lead {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 520px;
}

.hero-v2-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn-outline-dark {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline-dark:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.6);
    color: white;
}

.hero-v2-feiten {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    overflow: hidden;
}

.hero-feit {
    display: flex;
    flex-direction: column;
    padding: 16px 12px;
    border-right: 1px solid rgba(255,255,255,0.08);
    text-align: center;
}

.hero-feit:last-child {
    border-right: none;
}

.hero-feit-getal {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: #f97316;
    line-height: 1;
}

.hero-feit-info {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.5);
    margin-top: 4px;
    line-height: 1.3;
}

.hero-v2-right {
    position: relative;
    overflow: hidden;
    min-height: 500px;
}

.hero-v2-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

@media (max-width: 900px) {
    .dienst-hero-v2 {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .hero-v2-left {
        padding: 60px 24px 40px;
        max-width: 100%;
        margin-left: 0;
    }
    .hero-v2-right {
        min-height: 320px;
    }
    .hero-v2-feiten {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---- DIENST HERO (oud, fullscreen) ---- */
.dienst-hero {
    position: relative;
    min-height: 580px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 0;
    overflow: hidden;
    margin-top: 0;
}

.dienst-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.dienst-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.dienst-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(10, 14, 26, 0.92) 0%,
        rgba(10, 14, 26, 0.75) 55%,
        rgba(10, 14, 26, 0.45) 100%
    );
}

.dienst-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-top: 120px;
    padding-bottom: 0;
    width: 100%;
}

.dienst-hero-content {
    max-width: 680px;
    padding-bottom: 48px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.55);
    margin-bottom: 16px;
}

.breadcrumb a {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: #f97316;
}

/* Hero badge — overschrijft de absolute positie uit style.css */
.hero-v2-inner .dienst-badge {
    position: static;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(249, 115, 22, 0.15);
    border: 1px solid rgba(249, 115, 22, 0.35);
    color: #fb923c;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 20px;
    align-self: flex-start;
}

.dienst-hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 900;
    color: white;
    line-height: 1.1;
    margin-bottom: 20px;
}

.dienst-hero-lead {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 560px;
}

.dienst-hero-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Feiten balk */
.dienst-hero-feiten {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255,255,255,0.1);
    border-radius: 0;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.feit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 16px;
    border-right: 1px solid rgba(255,255,255,0.08);
    text-align: center;
}

.feit-item:last-child {
    border-right: none;
}

.feit-getal {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: #f97316;
    line-height: 1;
}

.feit-eenheid {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    margin-top: 2px;
}

.feit-label {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.45);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ---- QUICK NAV ---- */
.dienst-quicknav {
    background: white;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 72px;
    z-index: 90;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.quicknav-inner {
    display: flex;
    align-items: center;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 0;
}

.quicknav-inner::-webkit-scrollbar {
    display: none;
}

.quicknav-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
    padding: 14px 16px;
    border-right: 1px solid #e5e7eb;
    margin-right: 4px;
}

.quicknav-link {
    font-size: 0.82rem;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    padding: 14px 14px;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.quicknav-link:hover {
    color: #f97316;
    border-bottom-color: #f97316;
}

.quicknav-link--cta {
    margin-left: auto;
    background: #f97316;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    margin-right: 0;
    border-bottom: none;
    flex-shrink: 0;
}

.quicknav-link--cta:hover {
    background: #ea6c0a;
    color: white;
    border-bottom-color: transparent;
}

/* ---- SECTION HELPERS ---- */
.section {
    padding: 80px 0;
}

.section-bg-light {
    background: #f8f9fa;
}

.section-bg-dark {
    background: #0a0e1a;
}

.section-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #f97316;
    margin-bottom: 12px;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 800;
    color: #0a0e1a;
    line-height: 1.2;
    margin-bottom: 16px;
}

.accent-orange {
    color: #f97316;
}

.section-header-center {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
}

.section-desc {
    font-size: 1.05rem;
    color: #6b7280;
    line-height: 1.7;
    margin-top: 12px;
}

.lead-text {
    font-size: 1.1rem;
    color: #374151;
    line-height: 1.7;
    font-weight: 500;
    margin-bottom: 16px;
}

.body-text {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 16px;
}

/* ---- SPLIT LAYOUT ---- */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.split-reversed {
    direction: rtl;
}

.split-reversed > * {
    direction: ltr;
}

.img-rounded {
    border-radius: 12px;
    width: 100%;
    height: auto;
    display: block;
    vertical-align: bottom; /* verwijder witruimte onder inline afbeeldingen */
    line-height: 0;
}

.dienst-img {
    height: 460px;
    max-height: 460px;
    object-fit: cover;
    object-position: center;
}

/* Fix witruimte bij alle afbeeldingen */
img {
    vertical-align: bottom;
}

.toepassing-img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
    vertical-align: bottom;
    line-height: 0;
}

.gerelateerd-img {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: cover;
    vertical-align: bottom;
}

/* Fix split-visual witruimte */
.split-visual {
    line-height: 0;
    font-size: 0;
}

.info-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.info-tag {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #c2410c;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 100px;
}

/* ---- VOORDELEN GRID ---- */
.voordelen-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.voordeel-card {
    background: white;
    border-radius: 12px;
    padding: 28px 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid #f3f4f6;
    transition: transform 0.25s, box-shadow 0.25s;
}

.voordeel-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.voordeel-icon {
    width: 52px;
    height: 52px;
    background: #fff7ed;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f97316;
    margin-bottom: 16px;
}

.voordeel-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #0a0e1a;
    margin-bottom: 8px;
}

.voordeel-card p {
    font-size: 0.88rem;
    color: #6b7280;
    line-height: 1.65;
}

/* ---- SPECS TABLE ---- */
.specs-table {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 24px;
}

.spec-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 12px 16px;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.88rem;
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-row:nth-child(even) {
    background: #f9fafb;
}

.spec-label {
    font-weight: 600;
    color: #374151;
}

.spec-value {
    color: #6b7280;
}

/* ---- VERGELIJKINGSTABEL ---- */
.vergelijk-tabel {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 24px;
}

.vergelijk-header {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr;
    background: rgba(255,255,255,0.05);
    padding: 16px 20px;
    font-weight: 700;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.85);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.vergelijk-col {
    text-align: center;
}

.vergelijk-col--winner {
    color: #f97316;
    position: relative;
}

.vergelijk-col-badge {
    font-size: 0.65rem;
    background: #f97316;
    color: white;
    padding: 2px 8px;
    border-radius: 100px;
    display: inline-block;
    margin-bottom: 4px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.vergelijk-col-label {
    color: rgba(255,255,255,0.45);
    font-size: 0.78rem;
}

.vergelijk-rij {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 0.88rem;
    color: rgba(255,255,255,0.7);
    align-items: center;
}

.vergelijk-rij:last-child {
    border-bottom: none;
}

.vergelijk-rij:nth-child(even) {
    background: rgba(255,255,255,0.02);
}

.vergelijk-ja,
.vergelijk-nee,
.vergelijk-neutraal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-weight: 600;
    font-size: 0.85rem;
}

.vergelijk-ja {
    color: #4ade80;
}

.vergelijk-nee {
    color: #f87171;
}

.vergelijk-neutraal {
    color: #fbbf24;
}

.vergelijk-advies {
    display: flex;
    gap: 12px;
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.25);
    border-radius: 10px;
    padding: 16px 20px;
    color: rgba(255,255,255,0.8);
    font-size: 0.88rem;
    line-height: 1.6;
}

.vergelijk-advies svg {
    color: #f97316;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ---- STAPPENPLAN ---- */
.stappen-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 64px;
    align-items: start;
}

.stap {
    display: flex;
    gap: 24px;
    padding: 28px 0;
    border-bottom: 1px solid #f3f4f6;
}

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

.stap-nr {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    font-weight: 900;
    color: #f97316;
    opacity: 0.25;
    line-height: 1;
    flex-shrink: 0;
    width: 56px;
}

.stap-content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0a0e1a;
    margin-bottom: 8px;
}

.stap-content p {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.7;
}

.stappen-visual img {
    width: 100%;
    border-radius: 12px;
}

/* ---- DROOGTIJD ---- */
.droogtijd-tabel {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    margin: 24px 0;
}

.droogtijd-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    background: #0a0e1a;
    color: white;
    padding: 12px 16px;
    font-size: 0.82rem;
    font-weight: 600;
    text-align: center;
}

.droogtijd-rij {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 12px 16px;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.88rem;
    text-align: center;
    align-items: center;
}

.droogtijd-rij:last-child {
    border-bottom: none;
}

.droogtijd-rij:nth-child(even) {
    background: #f9fafb;
}

.droogtijd-snel {
    color: #16a34a;
    font-weight: 600;
}

.droogtijd-tips {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 16px;
}

.droogtijd-tips h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #166534;
    margin-bottom: 12px;
}

.tip-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: #374151;
    margin-bottom: 8px;
}

.tip-item svg {
    color: #16a34a;
    flex-shrink: 0;
}

.droogtijd-waarschuwing {
    display: flex;
    gap: 12px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 10px;
    padding: 16px 20px;
    font-size: 0.88rem;
    color: #92400e;
    line-height: 1.6;
}

.droogtijd-waarschuwing svg {
    color: #d97706;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ---- TOEPASSINGEN ---- */
.toepassingen-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.toepassing-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid #f3f4f6;
}

.toepassing-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 0;
    display: block;
}

.toepassing-content {
    padding: 24px;
}

.toepassing-content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0a0e1a;
    margin-bottom: 8px;
}

.toepassing-content p {
    font-size: 0.88rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 16px;
}

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

.toepassing-lijst li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #374151;
    padding: 5px 0;
    border-bottom: 1px solid #f9fafb;
}

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

.toepassing-lijst svg {
    color: #f97316;
    flex-shrink: 0;
}

/* Niet geschikt voor */
.niet-geschikt {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 12px;
    padding: 24px 28px;
}

.niet-geschikt-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 700;
    color: #c2410c;
    margin-bottom: 16px;
}

.niet-geschikt-header svg {
    color: #f97316;
}

.niet-geschikt-items {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.niet-geschikt-item {
    display: flex;
    align-items: center;
    gap: 6px;
    background: white;
    border: 1px solid #fed7aa;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 0.85rem;
    color: #92400e;
    font-weight: 500;
}

.niet-geschikt-item svg {
    color: #ef4444;
}

.niet-geschikt p {
    font-size: 0.88rem;
    color: #78350f;
}

.niet-geschikt a {
    color: #f97316;
    font-weight: 600;
}

/* ---- CHECK LIST ---- */
.check-list {
    margin-top: 24px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #374151;
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
    font-weight: 500;
}

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

.check-item svg {
    color: #f97316;
    flex-shrink: 0;
}

/* ---- FAQ / ACCORDION ---- */
.container-narrow {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 24px;
}

.accordion {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
}

.accordion-item {
    border-bottom: 1px solid #e5e7eb;
}

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

.accordion-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: white;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    color: #0a0e1a;
    text-align: left;
    gap: 16px;
    transition: background 0.2s;
}

.accordion-trigger:hover {
    background: #f9fafb;
}

.accordion-trigger[aria-expanded="true"] {
    color: #f97316;
    background: #fff7ed;
}

.accordion-trigger svg {
    flex-shrink: 0;
    color: #9ca3af;
    transition: transform 0.25s;
}

.accordion-trigger[aria-expanded="true"] svg {
    transform: rotate(45deg);
    color: #f97316;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.accordion-content.open {
    max-height: 600px;
}

.accordion-content p {
    padding: 0 24px 20px;
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.75;
}

/* ---- OFFERTE SECTIE ---- */
.offerte-dienst-layout {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 64px;
    align-items: start;
}

.offerte-beloftes {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.offerte-belofte {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
}

.offerte-belofte svg {
    color: #4ade80;
    flex-shrink: 0;
}

.offerte-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Quick offerte form */
.quick-offerte-form {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.quick-offerte-form h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: #0a0e1a;
    margin-bottom: 6px;
}

.quick-offerte-form > p {
    font-size: 0.88rem;
    color: #6b7280;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.required {
    color: #ef4444;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #0a0e1a;
    background: white;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.form-success {
    text-align: center;
    padding: 32px 16px;
}

.form-success svg {
    color: #16a34a;
    margin-bottom: 12px;
}

.form-success h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0a0e1a;
    margin-bottom: 8px;
}

.form-success p {
    font-size: 0.9rem;
    color: #6b7280;
}

/* ---- GERELATEERDE DIENSTEN ---- */
.gerelateerd-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.gerelateerd-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid #f3f4f6;
    text-decoration: none;
    transition: transform 0.25s, box-shadow 0.25s;
    display: block;
}

.gerelateerd-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

.gerelateerd-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.gerelateerd-content {
    padding: 20px;
}

.gerelateerd-content h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #0a0e1a;
    margin-bottom: 8px;
}

.gerelateerd-content p {
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 12px;
}

.gerelateerd-link {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #f97316;
}

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.btn-primary {
    background: #f97316;
    color: white;
    border-color: #f97316;
}

.btn-primary:hover {
    background: #ea6c0a;
    border-color: #ea6c0a;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.4);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border-color: rgba(255,255,255,0.4);
}

.btn-outline-white:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 0.95rem;
}

/* ---- FOOTER ---- */
.footer {
    background: #060a14;
    color: rgba(255,255,255,0.65);
    padding-top: 64px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand p {
    font-size: 0.88rem;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 280px;
}

.footer-logo {
    margin-bottom: 0;
}

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-col ul li a {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: #f97316;
}

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

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: rgba(255,255,255,0.35);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-legal a:hover {
    color: rgba(255,255,255,0.65);
}

/* ---- WHATSAPP FLOAT ---- */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: transform 0.2s, box-shadow 0.2s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}

/* ---- REVEAL ANIMATIES ---- */
body.js-loaded .reveal,
body.js-loaded .reveal-left,
body.js-loaded .reveal-right {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

body.js-loaded .reveal-left {
    transform: translateX(-30px);
}

body.js-loaded .reveal-right {
    transform: translateX(30px);
}

body.js-loaded .reveal.visible,
body.js-loaded .reveal-left.visible,
body.js-loaded .reveal-right.visible {
    opacity: 1;
    transform: none;
}

/* ---- LOGO ---- */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-hg {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 900;
    color: #0a0e1a;
    letter-spacing: -0.02em;
}

.logo-sub {
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6b7280;
}

/* ---- TOPBAR op dienst pagina's ---- */
body:has(.header--dark) .topbar {
    background: #060a14;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* ---- HEADER (dienst pagina's) ---- */
.header--dark {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: #0a0e1a;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    box-shadow: none;
    transition: box-shadow 0.3s;
}

.header--dark.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.header.scrolled .logo-hg {
    color: white;
}

.header--dark .logo-hg {
    color: white;
}

.header--dark .logo-sub {
    color: rgba(255,255,255,0.55);
}

.header--dark .nav-link {
    color: rgba(255,255,255,0.85);
}

.header--dark .hamburger span {
    background: white;
}

.header.scrolled .nav-link {
    color: rgba(255,255,255,0.85);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 4px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
}

.header.scrolled .nav-link {
    color: rgba(255,255,255,0.85);
}

.nav-link:hover {
    color: #f97316;
    background: rgba(249, 115, 22, 0.06);
}

.nav-item.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: white;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    border: 1px solid #f3f4f6;
    min-width: 200px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s;
    z-index: 200;
}

.nav-item.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 9px 14px;
    font-size: 0.87rem;
    color: #374151;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.15s, color 0.15s;
}

.dropdown-item:hover {
    background: #fff7ed;
    color: #f97316;
}

.dropdown-item--active {
    background: #fff7ed;
    color: #f97316;
    font-weight: 600;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #374151;
    border-radius: 2px;
    transition: all 0.3s;
}

/* ---- TOPBAR ---- */
.topbar {
    background: #0a0e1a;
    padding: 8px 0;
    position: relative;
    z-index: 101;
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-left,
.topbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.topbar-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    transition: color 0.2s;
}

.topbar-link:hover {
    color: #f97316;
}

.topbar-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
}

.topbar-whatsapp {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #25d366;
    text-decoration: none;
    transition: opacity 0.2s;
}

.topbar-whatsapp:hover {
    opacity: 0.8;
}

/* ---- CONTAINER ---- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
    .voordelen-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stappen-layout {
        grid-template-columns: 1fr;
    }

    .stappen-visual {
        display: none;
    }

    .offerte-dienst-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .dienst-hero {
        min-height: 500px;
    }

    .dienst-hero-feiten {
        grid-template-columns: repeat(2, 1fr);
    }

    .split-layout,
    .split-reversed {
        grid-template-columns: 1fr;
        direction: ltr;
        gap: 32px;
    }

    .split-reversed > * {
        direction: ltr;
    }

    .voordelen-grid {
        grid-template-columns: 1fr;
    }

    .toepassingen-grid {
        grid-template-columns: 1fr;
    }

    .gerelateerd-grid {
        grid-template-columns: 1fr;
    }

    .vergelijk-header,
    .vergelijk-rij {
        grid-template-columns: 1.5fr 1fr 1fr;
        font-size: 0.78rem;
        padding: 10px 12px;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 73px; /* header hoogte - topbar verborgen op mobiel */
        right: 0;
        bottom: 0;
        width: 280px;
        background: #0a0e1a;
        z-index: 150;
        padding: 24px;
        box-shadow: -8px 0 32px rgba(0,0,0,0.4);
        overflow-y: auto;
        transition: transform 0.3s ease;
    }

    /* Header altijd boven het menu panel */
    .header {
        z-index: 300 !important;
    }

    /* Overlay achter het menu */
    body.menu-open::before {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: 140;
    }

    .nav.open .nav-list {
        flex-direction: column;
        gap: 0;
    }

    .nav.open .nav-link {
        color: rgba(255,255,255,0.9);
        padding: 12px 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    /* Actieve dropdown item donkere stijl op mobiel */
    .nav.open .dropdown-item--active {
        background: rgba(249,115,22,0.15);
        color: #f97316;
    }

    /* Dropdown zichtbaar wanneer nav-item open klasse heeft */
    .nav.open .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-left: 2px solid rgba(249,115,22,0.4);
        padding: 4px 0 4px 16px;
        display: none;
        background: transparent;
    }

    .nav.open .nav-item.open .dropdown {
        display: block;
    }

    .quicknav-link--cta {
        margin-left: 8px;
    }
}

@media (max-width: 480px) {
    .dienst-hero-feiten {
        grid-template-columns: repeat(2, 1fr);
    }

    .dienst-hero-ctas {
        flex-direction: column;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .topbar-left {
        display: none;
    }

    /* Verberg de topbar volledig op kleine schermen */
    .topbar {
        display: none;
    }
}

/* === MOBILE NAV DONKERE ACHTERGROND (voor header--dark pagina's) === */
@media (max-width: 768px) {
    .header--dark ~ * .nav,
    body .nav {
        background: #0a0e1a;
    }
    body .nav .nav-link {
        color: rgba(255,255,255,0.9);
    }
    body .nav .nav-link:hover {
        color: #f97316;
    }
    body .nav .dropdown {
        background: #1e293b;
        border-radius: 0;
        padding: 4px 0;
    }
    body .nav .dropdown-item {
        color: rgba(255,255,255,0.75);
        padding: 10px 16px;
    }
    body .nav .dropdown-item:hover {
        color: #f97316;
        background: rgba(255,255,255,0.05);
    }
}

/* ============================================
   CATEGORIE OVERZICHTSPAGINA STIJLEN
   ============================================ */

/* Dienst categorie grid */
.diensten-categorie-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.dienst-categorie-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    border: 1px solid #f3f4f6;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dienst-categorie-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.dienst-categorie-img-wrap {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.dienst-categorie-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.dienst-categorie-card:hover .dienst-categorie-img {
    transform: scale(1.04);
}

.dienst-categorie-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #f97316;
    color: white;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dienst-categorie-content {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.dienst-categorie-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: #0a0e1a;
    margin-bottom: 12px;
}

.dienst-categorie-content p {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 20px;
}

.dienst-categorie-kenmerken {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    flex: 1;
}

.dienst-categorie-kenmerken li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: #374151;
    padding: 6px 0;
    border-bottom: 1px solid #f9fafb;
}

.dienst-categorie-kenmerken li:last-child {
    border-bottom: none;
}

.dienst-categorie-kenmerken svg {
    color: #f97316;
    flex-shrink: 0;
}

/* Vergelijkingstabel (lichte achtergrond) */
.vergelijk-tabel-wrap {
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.vergelijk-tabel {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    background: white;
}

.vergelijk-tabel thead {
    background: #0a0e1a;
    color: white;
}

.vergelijk-tabel thead th {
    padding: 16px 20px;
    text-align: left;
    font-weight: 700;
    font-size: 0.88rem;
}

.vergelijk-tabel thead th:first-child {
    border-radius: 12px 0 0 0;
}

.vergelijk-tabel thead th:last-child {
    border-radius: 0 12px 0 0;
}

.vergelijk-tabel tbody tr {
    border-bottom: 1px solid #f3f4f6;
}

.vergelijk-tabel tbody tr:nth-child(even) {
    background: #f9fafb;
}

.vergelijk-tabel tbody tr:last-child {
    border-bottom: none;
}

.vergelijk-tabel tbody td {
    padding: 14px 20px;
    color: #374151;
}

.vergelijk-tabel tbody td:first-child {
    font-weight: 600;
    color: #0a0e1a;
}

.check-yes {
    color: #16a34a;
    font-weight: 600;
}

.check-no {
    color: #dc2626;
    font-weight: 600;
}

/* Stappenplan grid */
.stappenplan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.stap-card {
    background: white;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid #f3f4f6;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stap-nummer {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: #f97316;
    opacity: 0.3;
    line-height: 1;
}

.stap-content h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #0a0e1a;
    margin-bottom: 8px;
}

.stap-content p {
    font-size: 0.88rem;
    color: #6b7280;
    line-height: 1.7;
}

/* Toepassingen grid — 4 kolommen voor categoriepagina's */
.toepassingen-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

/* Responsive voor categoriepagina's */
@media (max-width: 1024px) {
    .diensten-categorie-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stappenplan-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .toepassingen-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .diensten-categorie-grid {
        grid-template-columns: 1fr;
    }
    .stappenplan-grid {
        grid-template-columns: 1fr;
    }
    .toepassingen-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .vergelijk-tabel-wrap {
        font-size: 0.8rem;
    }
    .vergelijk-tabel thead th,
    .vergelijk-tabel tbody td {
        padding: 10px 12px;
    }
}

@media (max-width: 480px) {
    .toepassingen-grid {
        grid-template-columns: 1fr;
    }
}
