/* ============================
   Quin Construct — Basisstijl (mobile-first + Bootstrap 5 overrides)
   Laatste update: januari 2026
   ============================ */

:root {
    --bg: #f7f7f8;
    --text: #1f2937;
    --muted: #6b7280;
    --accent: #8b0d16;       /* Quin-rood primair */
    --accent-2: #b91c1c;     /* Hover/darker rood */
    --border: #e5e7eb;
    --card: #ffffff;
    --radius: 12px;
    --container: 1100px;

    /* Bootstrap 5 overrides */
    --bs-primary: var(--accent);
    --bs-primary-rgb: 139, 13, 22;
    --bs-link-color: var(--accent);
    --bs-link-hover-color: var(--accent-2);

    --bs-body-bg: var(--bg);
    --bs-body-color: var(--text);
    --bs-border-color: var(--border);
    --bs-border-radius: var(--radius);
    --bs-border-radius-lg: calc(var(--radius) * 1.5);
}

/* ==============================================
   Globale body & typografie
   ============================================== */

html,
body {
    min-height: 100%;
}

body {
    background: var(--bs-body-bg);
    color: var(--bs-body-color);
    line-height: 1.6;
    min-height: 100svh;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Ubuntu, sans-serif;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    text-wrap: pretty;
    margin: 0;
}

body.site-body--inner {
    background:
        radial-gradient(circle at top left, rgba(139, 13, 22, 0.08), transparent 32%),
        linear-gradient(180deg, #faf7f5 0%, #f5f3f1 100%);
}

img,
video,
svg {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

picture {
    display: block;
    max-width: 100%;
}

.richtext figure,
.richtext picture,
.richtext img {
    max-width: 100%;
}

.richtext img {
    height: auto;
}

.container {
    padding-left: clamp(1rem, 2vw, 1.5rem);
    padding-right: clamp(1rem, 2vw, 1.5rem);
}

.page-shell--narrow .container {
    max-width: 760px;
}

.page-shell--wide {
    max-width: 1100px;
}

.form-control,
.form-select {
    min-height: 48px;
    border-radius: 14px;
}

textarea.form-control {
    min-height: 160px;
}

.form-check-input {
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.2rem;
}

/* Reset main container for video hero */
#main {
    padding: 0;
    margin: 0;
    flex: 1 0 auto;
    position: relative;
    isolation: isolate;
}

.main-lineart {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    display: flex;
    align-items: stretch;
    justify-content: center;
    overflow: hidden;
}

.main-lineart__image {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: contain;
}

.main-lineart--contact {
    opacity: 0.075;
    mix-blend-mode: multiply;
    filter: grayscale(1) contrast(1.03);
}

.main-lineart--contact .main-lineart__image {
    object-position: center calc(50% + 9cm);
}

/* ==============================================
   Video Hero – full viewport, puur decoratief
   ============================================== */

.video-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 560px;
    max-height: 1080px;
    overflow: hidden;
    background: #000;
    margin: 0;
    padding: 0;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.video-element {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-container {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    height: auto;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

/* Aspect ratio behouden zonder JS */
.video-spacer {
    display: block;
    width: 100%;
    padding-top: 56.25%; /* 16:9 – pas aan als je video ander ratio heeft */
}

/* Optioneel: iets minder hoog op kleinere schermen */
@media (max-width: 991px) {
    .video-hero {
        height: 80vh;
        min-height: 500px;
    }
}

@media (max-width: 767px) {
    .video-hero {
        height: auto;
        min-height: 0;
        max-height: none;
        aspect-ratio: 16 / 9;
    }

    .video-element {
        width: 100%;
        height: 100%;
        min-width: 100%;
        min-height: 100%;
    }

    .home-hero-fallback__panel {
        gap: 1.5rem;
    }

    .home-services__lineart {
        display: none;
    }

    .main-lineart--contact {
        opacity: 0.06;
    }

    .home-hero-fallback__title,
    .diensten-hero__title,
    .about-title {
        max-width: none;
    }

    .home-hero-fallback__text,
    .diensten-hero__text,
    .about-lead {
        max-width: none;
    }

    .home-hero-fallback__media,
    .home-hero-fallback__image,
    .home-hero-fallback__placeholder {
        min-height: 0;
    }

    .home-hero-fallback__media {
        aspect-ratio: 4 / 3;
    }

    .home-hero-fallback__image,
    .home-hero-fallback__placeholder {
        height: 100%;
    }

    .review-card__copy,
    .diensten-detail__richtext,
    .about-copy p,
    .about-richtext p,
    .richtext p,
    .richtext li {
        overflow-wrap: anywhere;
        word-break: break-word;
    }
}

/* ==============================================
   Navbar & header shimmer
   ============================================== */

.navbar {
    --bs-navbar-padding-y: 0.9rem;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    position: relative;
    z-index: 10;
    background: rgba(255, 255, 255, 0.94) !important;
    backdrop-filter: blur(14px);
}

.navbar::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(
        90deg,
        var(--accent) 0%,
        var(--accent-2) 25%,
        var(--accent) 50%,
        var(--accent-2) 75%,
        var(--accent) 100%
    );
    background-size: 200% 100%;
    animation: shimmer 8s linear infinite;
    box-shadow: 0 4px 12px color-mix(in srgb, var(--accent) 40%, transparent);
    pointer-events: none;
}

@keyframes shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.navbar-brand img {
    height: clamp(72px, 9vw, 112px);
    width: auto;
}

.navbar .nav-link {
    color: var(--text);
    font-weight: 500;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link.active {
    color: var(--accent);
}

.navbar .nav-link.active {
    font-weight: 600;
}

.navbar-toggler {
    border: 1px solid rgba(17, 24, 39, 0.08);
    padding: 0.45rem 0.7rem;
}

.site-nav__cta {
    white-space: nowrap;
}

/* ==============================================
   Knoppen (Bootstrap overrides)
   ============================================== */

.btn-primary {
    --bs-btn-bg: var(--accent);
    --bs-btn-border-color: var(--accent);
    --bs-btn-hover-bg: var(--accent-2);
    --bs-btn-hover-border-color: var(--accent-2);
    --bs-btn-active-bg: color-mix(in srgb, var(--accent) 90%, black);
    --bs-btn-active-border-color: color-mix(in srgb, var(--accent) 90%, black);
    --bs-btn-color: white;
    --bs-btn-hover-color: white;
    font-weight: 600;
    min-height: 44px; /* toegankelijkheid */
}

.btn-outline-primary {
    --bs-btn-color: var(--accent);
    --bs-btn-border-color: var(--accent);
    --bs-btn-hover-bg: var(--accent);
    --bs-btn-hover-color: white;
}

.btn-outline-accent {
    color: var(--accent);
    border-color: var(--accent);
    background: transparent;
    font-size: 0.875rem;
    font-weight: 500;
    min-height: 38px;
    transition: all 0.2s ease;
}

.btn-outline-accent:hover,
.btn-outline-accent:focus {
    color: white !important;
    background-color: var(--accent) !important;
    border-color: var(--accent-2) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px color-mix(in srgb, var(--accent) 40%, transparent);
}

.btn-outline-accent i {
    font-size: 1rem;
    width: 18px;
    text-align: center;
}

.fa-brands.fa-facebook {
    color: #1877f2;
}

.btn-outline-accent:hover .fa-brands.fa-facebook {
    color: white;
}

/* ==============================================
   Cards, sliders & algemene componenten
   ============================================== */

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    overflow: hidden;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.slider, .project-slider {
    border-radius: var(--radius);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    overflow: hidden;
}

.project-slider,
.slider__reel > .ratio {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.slider__image {
    width: 100%;
    height: auto;
    object-fit: cover !important;
}

.project-card-link img,
.carousel-item img,
.diensten-projects img,
.about-collage__image,
.home-hero-fallback__image {
    width: 100%;
}

.carousel {
    touch-action: pan-y;
}

.carousel-caption {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
}

.carousel-caption h4,
.carousel-caption h5 {
    display: inline-block;
    margin: 0;
    font-size: clamp(1rem, 2.3vw, 1.25rem);
}

/* Hover effecten projectkaarten */
.project-card-link {
    display: block;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project-card-link:hover,
.project-card-link:focus {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12) !important;
}

.project-card-link:hover .transition-transform {
    transform: scale(1.06);
}

.transition-transform {
    transition: transform 0.4s ease;
}

/* ==============================================
   Typografie & algemene secties
   ============================================== */

h1, h2, h3 {
    color: var(--accent);
    line-height: 1.25;
}

h2 {
    font-size: clamp(22px, 2.4vw, 30px);
}

section {
    padding: 4rem 0;
}

.promo-video-section {
    padding: 4rem 0;
    background: var(--bg);
}

.video-wrapper {
    border-radius: 16px;
    border-top: 4px solid var(--accent);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
    overflow: hidden;
}

.home-hero-fallback {
    position: relative;
    overflow: clip;
    background:
        radial-gradient(circle at top left, rgba(139, 13, 22, 0.12), transparent 35%),
        linear-gradient(180deg, #faf7f5 0%, #f4f1ef 100%);
}

.home-hero-fallback .container {
    position: relative;
    z-index: 1;
}

.home-showcase {
    position: relative;
    margin-top: 2.5rem;
}

.home-hero-fallback__panel {
    position: relative;
    z-index: 1;
    padding: 2.5rem 0 0;
}

.home-hero-fallback__eyebrow {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    background: rgba(139, 13, 22, 0.08);
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-hero-fallback__title {
    font-size: clamp(2.4rem, 4.8vw, 4.8rem);
    line-height: 0.98;
    max-width: 11ch;
    margin-bottom: 1.25rem;
}

.home-hero-fallback__text {
    font-size: 1.1rem;
    color: #4b5563;
    max-width: 52ch;
    margin-bottom: 1.75rem;
}

.home-hero-fallback__media {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    aspect-ratio: 14 / 11;
    min-height: 420px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(17, 24, 39, 0.14);
}

.home-hero-fallback__image {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    display: block;
}

.home-hero-fallback__placeholder {
    height: 100%;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-weight: 700;
    font-size: 1.2rem;
    background: linear-gradient(135deg, rgba(139, 13, 22, 0.08), rgba(17, 24, 39, 0.04));
}

.contact-intro {
    max-width: 60ch;
    margin-left: auto;
    margin-right: auto;
}

.contact-page {
    position: relative;
    z-index: 1;
}

.contact-page .container {
    position: relative;
    z-index: 1;
}

.home-services {
    position: relative;
    overflow: hidden;
    min-height: 980px;
    display: flex;
    align-items: center;
}

.home-services .container {
    position: relative;
    z-index: 1;
}

.home-services__lineart {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 0;
    opacity: 0.11;
    mix-blend-mode: multiply;
    filter: grayscale(1) contrast(1.05);
}

.home-services__lineart-image {
    width: min(108vw, 1560px);
    max-width: none;
    height: auto;
}

#realisatiesCarousel {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(17, 24, 39, 0.1);
}

#realisatiesCarousel .carousel-inner,
#realisatiesCarousel .carousel-item,
#realisatiesCarousel .ratio {
    border-radius: inherit;
}

.reviews-section {
    background:
        linear-gradient(180deg, rgba(139, 13, 22, 0.04), transparent 28%),
        #f8f8f9;
}

.review-card {
    height: 100%;
    padding: 1.8rem;
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(17, 24, 39, 0.06);
    box-shadow: 0 14px 36px rgba(17, 24, 39, 0.08);
}

.review-card__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.review-card__avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 3rem;
    background: linear-gradient(135deg, rgba(139, 13, 22, 0.14), rgba(17, 24, 39, 0.08));
    color: var(--accent);
    font-weight: 800;
    letter-spacing: 0.08em;
}

.review-card__identity {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.review-card__stars {
    display: inline-flex;
    gap: 0.18rem;
    color: #d1d5db;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.review-card__stars .is-active {
    color: #f59e0b;
}

.review-card__copy {
    color: #374151;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.review-card__copy p:last-child {
    margin-bottom: 0;
}

.review-card__name {
    color: #111827;
}

.review-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.review-card__source {
    display: inline-flex;
    align-self: flex-start;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: rgba(139, 13, 22, 0.08);
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 700;
}

.review-card__date {
    color: #6b7280;
    font-size: 0.85rem;
}

/* ==============================================
   Footer
   ============================================== */

.site-footer {
    background: #121314;
    color: #e7e7e9;
    border-top: 1px solid #2a2b2d;
    margin-top: auto;
    flex-shrink: 0;
}

.site-footer h5 {
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.site-footer a {
    color: #e7e7e9;
    opacity: 0.9;
    transition: opacity 0.2s;
}

.site-footer a:hover {
    opacity: 1;
    color: var(--accent);
    text-decoration: underline;
}

/* ==============================================
   Responsive tweaks
   ============================================== */

@media (max-width: 991px) {
    .site-nav__collapse {
        margin-top: 1rem;
        padding: 1rem;
        border-radius: 20px;
        background: #fff;
        box-shadow: 0 18px 42px rgba(17, 24, 39, 0.08);
    }

    .site-nav__collapse .navbar-nav {
        gap: 0.35rem;
    }

    .site-nav__collapse .nav-link {
        padding: 0.85rem 0.25rem;
    }

    .site-nav__cta {
        width: 100%;
        margin-top: 0.75rem;
    }

    .carousel-caption {
        position: static;
        padding-top: 0.75rem;
        padding-bottom: 0;
        color: inherit;
        text-align: left;
    }

    .carousel-caption h4,
    .carousel-caption h5 {
        background: #fff !important;
        color: var(--accent);
        padding: 0;
        border-radius: 0;
    }
}

@media (max-width: 576px) {
    section {
        padding: 3rem 0;
    }

    h1 {
        font-size: clamp(2rem, 10vw, 2.8rem);
    }

    .navbar-brand img {
        height: 68px;
    }

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

    .btn-lg,
    .site-nav__cta {
        width: 100%;
        justify-content: center;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 14%;
    }

    .carousel-indicators {
        margin-bottom: 0.5rem;
    }

    .home-hero-fallback__panel {
        padding-top: 1rem;
    }

    .home-hero-fallback__media,
    .home-hero-fallback__image,
    .home-hero-fallback__placeholder {
        min-height: 300px;
    }

    .review-card {
        padding: 1.35rem;
        border-radius: 18px;
    }

    .review-card__header {
        gap: 0.75rem;
        align-items: flex-start;
    }

    .site-footer .col-6 {
        width: 100%;
    }
}

@media (min-width: 960px) {
    .footgrid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

/* ==============================================
   Over page
   ============================================== */

.diensten-page {
    background: transparent;
}

.diensten-hero {
    padding: 5rem 0 3rem;
}

.diensten-hero__title {
    font-size: clamp(2.5rem, 5vw, 4.6rem);
    line-height: 0.98;
    margin: 1rem 0 1.5rem;
    max-width: 12ch;
}

.diensten-hero__text {
    font-size: 1.1rem;
    color: #4b5563;
    max-width: 58ch;
}

.diensten-hero__panel {
    padding: 2rem;
    border-radius: 28px;
    background: linear-gradient(160deg, #6f0c13 0%, #8b0d16 55%, #b91c1c 100%);
    color: #fff;
    box-shadow: 0 18px 48px rgba(17, 24, 39, 0.14);
}

.diensten-hero__panel-title {
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.diensten-hero__list {
    margin: 0;
    padding-left: 1.2rem;
}

.diensten-hero__list li + li {
    margin-top: 0.9rem;
}

.diensten-hero__panel-text {
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.75;
    margin-bottom: 1.1rem;
}

.diensten-hero__panel-links {
    display: grid;
    gap: 0.8rem;
}

.diensten-hero__panel-links a {
    display: inline-flex;
    align-items: center;
    width: 100%;
    max-width: 100%;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.15s ease, background 0.15s ease;
}

.diensten-hero__panel-links a:hover,
.diensten-hero__panel-links a:focus {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.diensten-overview {
    padding: 1rem 0 2rem;
}

.diensten-overview__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.diensten-overview__card {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    min-height: 100%;
    padding: 1.8rem;
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(17, 24, 39, 0.06);
    box-shadow: 0 14px 36px rgba(17, 24, 39, 0.08);
    color: inherit;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.diensten-overview__card:hover,
.diensten-overview__card:focus {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(17, 24, 39, 0.12);
}

.diensten-overview__kicker {
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
}

.diensten-overview__title {
    font-size: 1.45rem;
    margin: 0;
}

.diensten-overview__text {
    color: #4b5563;
    margin: 0;
}

.diensten-overview__cta {
    margin-top: auto;
    font-weight: 700;
    color: var(--accent);
}

.diensten-sections {
    padding: 1rem 0 5rem;
}

.diensten-detail + .diensten-detail {
    margin-top: 2rem;
}

.diensten-detail__aside,
.diensten-detail__content {
    height: 100%;
    padding: 2rem;
    border-radius: 28px;
    background: #fff;
    border: 1px solid rgba(17, 24, 39, 0.06);
    box-shadow: 0 16px 40px rgba(17, 24, 39, 0.08);
}

.diensten-detail__aside {
    position: sticky;
    top: 110px;
}

.diensten-detail__eyebrow {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(139, 13, 22, 0.08);
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.diensten-detail__title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.05;
    margin-bottom: 1rem;
}

.diensten-detail__intro {
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.diensten-detail__richtext {
    color: #374151;
}

.diensten-detail__richtext p,
.diensten-detail__richtext li {
    line-height: 1.85;
}

.diensten-detail__richtext p:last-child {
    margin-bottom: 0;
}

.diensten-projects {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(17, 24, 39, 0.08);
}

.diensten-projects__head {
    margin-bottom: 1.25rem;
}

.diensten-projects__title {
    font-size: 1.35rem;
    margin-bottom: 0.35rem;
}

.diensten-projects__text {
    color: #6b7280;
    margin-bottom: 0;
}

.diensten-projects .carousel {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(17, 24, 39, 0.1);
}

.diensten-premies {
    margin-top: 2rem;
    padding: 1.6rem;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(139, 13, 22, 0.07), rgba(139, 13, 22, 0.02));
    border: 1px solid rgba(139, 13, 22, 0.12);
}

.diensten-premies__label {
    display: inline-block;
    margin-bottom: 0.9rem;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
}

.diensten-premies__title {
    font-size: 1.35rem;
    margin-bottom: 0.8rem;
}

.diensten-premies__text {
    color: #4b5563;
    margin-bottom: 1.25rem;
}

.diensten-premies__links {
    display: grid;
    gap: 0.8rem;
}

.diensten-premies__links a {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(139, 13, 22, 0.15);
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.diensten-premies__links a:hover,
.diensten-premies__links a:focus {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.08);
}

.about-page {
    background: transparent;
}

.about-eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    background: rgba(139, 13, 22, 0.08);
}

.about-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 0.98;
    margin: 0;
    max-width: 12ch;
}

.about-lead {
    font-size: 1.15rem;
    color: #374151;
    max-width: 54ch;
}

.about-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.about-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(17, 24, 39, 0.08);
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.06);
    color: #374151;
    font-weight: 600;
}

.about-collage {
    display: grid;
    grid-template-columns: 1.25fr 0.85fr;
    grid-template-rows: repeat(2, minmax(180px, 1fr));
    gap: 1rem;
    min-height: 0;
}

.about-collage__item,
.about-collage__placeholder {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(17, 24, 39, 0.14);
    background: #fff;
    min-height: 0;
}

.about-collage__item--1 {
    grid-row: 1 / span 2;
    aspect-ratio: auto;
}

.about-collage__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-collage__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed rgba(139, 13, 22, 0.25);
    background: rgba(255, 255, 255, 0.8);
    color: var(--accent);
    font-weight: 700;
}

.about-card {
    height: auto;
    padding: 2rem;
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(17, 24, 39, 0.06);
    box-shadow: 0 16px 40px rgba(17, 24, 39, 0.08);
}

.about-card--accent {
    background: linear-gradient(160deg, #6f0c13 0%, #8b0d16 55%, #b91c1c 100%);
    color: #fff;
    border: none;
}

.about-card--light {
    background: #fcfbfa;
}

.about-section-title {
    font-size: clamp(1.4rem, 2.6vw, 2rem);
    margin-bottom: 1.5rem;
}

.about-copy p,
.about-richtext p {
    font-size: 1.02rem;
    line-height: 1.9;
    color: #374151;
    margin-bottom: 1.4rem;
}

.about-card--accent .about-checklist {
    list-style: none;
    margin: 0;
    padding: 0;
}

.about-card--accent .about-checklist li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.about-card--accent .about-checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 999px;
    background: #fff;
}

.about-mini-title {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.4rem;
}

@media (max-width: 991px) {
    .diensten-overview__grid {
        grid-template-columns: 1fr 1fr;
    }

    .diensten-detail__aside {
        position: static;
    }

    .diensten-detail__aside,
    .diensten-detail__content {
        border-radius: 22px;
    }

    .about-collage {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        min-height: 0;
    }

    .about-collage__item--1 {
        grid-column: 1 / span 2;
        grid-row: auto;
        aspect-ratio: 16 / 10;
    }

    .about-collage__item--2,
    .about-collage__item--3,
    .about-collage__placeholder {
        aspect-ratio: 4 / 3;
    }

    .home-services {
        min-height: 760px;
    }
}

@media (max-width: 576px) {
    .diensten-hero {
        padding-top: 3rem;
    }

    .diensten-overview__grid {
        grid-template-columns: 1fr;
    }

    .diensten-detail__aside,
    .diensten-detail__content,
    .diensten-hero__panel {
        padding: 1.5rem;
    }

    .diensten-detail__title {
        font-size: 1.8rem;
    }

    .diensten-premies,
    .diensten-projects {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }

    .diensten-premies__links a {
        width: 100%;
    }

    .about-card {
        padding: 1.5rem;
    }

    .about-collage {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        min-height: 0;
    }

    .about-collage__item--1 {
        grid-column: auto;
        aspect-ratio: 4 / 5;
    }

    .about-collage__item--2,
    .about-collage__item--3,
    .about-collage__placeholder {
        aspect-ratio: 4 / 3;
    }

    .about-pill {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .home-services {
        min-height: auto;
    }

    .home-hero-fallback__media {
        border-radius: 22px;
        aspect-ratio: 5 / 4;
    }

    .about-collage__item,
    .about-collage__placeholder,
    .diensten-projects .carousel,
    .home-hero-fallback__media {
        border-radius: 20px;
    }

    .project-card-link .card-body {
        padding: 1.25rem;
    }
}

/* Bootstrap utility fallbacks */
.bg-primary { background-color: var(--bs-primary) !important; }
.text-primary { color: var(--bs-primary) !important; }
