html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: #0f1115;
    color: #f4f4f5;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #0f1115;
    --bg-soft: #171a21;
    --card: #1f232d;
    --text: #f4f4f5;
    --muted: #a1a1aa;
    --accent: #f97316;
    --accent-dark: #c2410c;
    --border: rgba(255, 255, 255, 0.08);
}

* {
    box-sizing: border-box;
}

h1:focus {
    outline: none;
}

a {
    text-decoration: none;
}

code {
    color: #c02d76;
}

/* =========================
   Blazor default error UI
   ========================= */

#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 2000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: #b32121;
    padding: 1rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred.";
    }

.loading-progress {
    position: absolute;
    display: block;
    width: 8rem;
    height: 8rem;
    inset: 20vh 0 auto 0;
    margin: 0 auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: var(--accent);
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text::after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

/* =========================
   Header / Navbar
   ========================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 82px;
    padding: 0 8%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(15, 17, 21, 0.82);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text);
    font-weight: 800;
    font-size: 1.1rem;
}

    .brand:hover {
        color: var(--text);
    }

    .brand img {
        width: 48px;
        height: 48px;
        object-fit: contain;
        border-radius: 0.15rem;
        background: transparent;
        padding: 0;
    }

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.8rem;
}

    .site-nav a {
        color: var(--muted);
        font-weight: 600;
        transition: color 0.2s ease;
        background: transparent !important;
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
        text-decoration: none;
    }

        .site-nav a:hover {
            color: var(--text);
        }

        .site-nav a:focus,
        .site-nav a:focus-visible,
        .site-nav a:active,
        .site-nav a.active {
            color: var(--muted);
            background: transparent !important;
            border: none !important;
            outline: none !important;
            box-shadow: none !important;
        }

.header-call {
    padding: 0.75rem 1.15rem;
    border-radius: 999px;
    background: var(--accent);
    color: white;
    font-weight: 800;
    transition: transform 0.2s ease, background 0.2s ease;
}

    .header-call:hover {
        background: var(--accent-dark);
        color: white;
        transform: translateY(-2px);
    }

    .header-call:focus,
    .header-call:focus-visible,
    .header-call:active {
        outline: none;
        box-shadow: none;
    }

main {
    padding-top: 82px;
}

/* =========================
   Buttons
   ========================= */

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.4rem;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 0.2s ease, background 0.2s ease, border 0.2s ease;
}

.btn-primary {
    background: var(--accent);
    color: white;
    border: none;
}

    .btn-primary:hover {
        background: var(--accent-dark);
        color: white;
        transform: translateY(-2px);
    }

.btn-secondary {
    color: var(--text);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
}

    .btn-secondary:hover {
        color: var(--text);
        border-color: var(--accent);
        transform: translateY(-2px);
    }

    .btn-primary:focus,
    .btn-primary:focus-visible,
    .btn-primary:active,
    .btn-secondary:focus,
    .btn-secondary:focus-visible,
    .btn-secondary:active {
        outline: none;
        box-shadow: none;
    }

/* =========================
   Intro / Hero section
   ========================= */

.intro-section {
    min-height: 85vh;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    align-items: center;
    padding: 5rem 8%;
    background: radial-gradient(circle at top right, rgba(249, 115, 22, 0.18), transparent 35%), linear-gradient(135deg, #0f1115 0%, #171a21 100%);
}

.intro-content h1 {
    font-size: clamp(3rem, 6vw, 6rem);
    line-height: 0.95;
    max-width: 900px;
    margin: 0 0 1.5rem;
    letter-spacing: -0.06em;
}

.eyebrow {
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.intro-text {
    color: var(--muted);
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 680px;
    margin-bottom: 2rem;
}

.intro-actions,
.contact-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Hero image card */
.intro-visual {
    position: relative;
    height: 440px;
    border-radius: 2rem;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.45);
    animation: imageReveal 1s ease forwards;
    background: var(--card);
}

    .intro-visual img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 55%;
        display: block;
        filter: brightness(0.88) contrast(1.06);
        transform: scale(1.01);
        transition: transform 0.7s ease, filter 0.7s ease;
    }

    .intro-visual::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(15, 17, 21, 0.55), transparent 55%), radial-gradient(circle at top right, rgba(249, 115, 22, 0.12), transparent 35%);
        pointer-events: none;
    }

    .intro-visual:hover img {
        transform: scale(1.04);
        filter: brightness(0.95) contrast(1.08);
    }

.intro-card {
    background: rgba(31, 35, 45, 0.82);
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    padding: 2rem;
    backdrop-filter: blur(16px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.floating-card {
    position: absolute;
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 2;
}

.compact-floating-card {
    position: absolute;
    left: 1.25rem;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.15rem 1.25rem;
    border-radius: 1.25rem;
}

.status-dot {
    width: 12px;
    height: 12px;
    display: inline-block;
    background: #22c55e;
    border-radius: 50%;
    margin-bottom: 1rem;
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0.12);
}

.compact-floating-card .status-dot {
    flex: 0 0 auto;
    margin-bottom: 0;
}

.card-label {
    color: var(--muted);
    margin-bottom: 0.5rem;
}

.compact-floating-card .card-label {
    margin: 0 0 0.25rem;
}

.intro-card h3 {
    margin: 0 0 0.75rem;
}

.compact-floating-card h3 {
    font-size: 1.25rem;
    margin: 0;
}

.intro-card p {
    color: var(--muted);
    margin-bottom: 0;
}

/* =========================
   General sections
   ========================= */

.section,
.about-section,
.contact-section {
    padding: 5rem 8%;
}

.section-header {
    max-width: 760px;
    margin-bottom: 2.5rem;
}

    .section-header h2,
    .about-section h2,
    .contact-section h2 {
        font-size: clamp(2rem, 4vw, 3.5rem);
        line-height: 1;
        letter-spacing: -0.04em;
        margin: 0 0 1rem;
    }

    .section-header p,
    .about-text,
    .contact-section p {
        color: var(--muted);
    }

/* =========================
   Services
   ========================= */

.services-section {
    background: var(--bg);
}

.services-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 1rem;
    align-items: stretch;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.service-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    padding: 1.5rem;
    min-height: 180px;
    transition: transform 0.25s ease, border 0.25s ease, background 0.25s ease;
}

    .service-card:hover {
        transform: translateY(-6px);
        border-color: rgba(249, 115, 22, 0.5);
        background: #242936;
    }

    .service-card h3 {
        margin: 0 0 1rem;
    }

    .service-card p,
    .benefit-item p {
        color: var(--muted);
        line-height: 1.6;
    }

.services-side-image {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    border: 1px solid var(--border);
    min-height: 100%;
    background: var(--card);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

    .services-side-image img {
        width: 100%;
        height: 100%;
        min-height: 572px;
        object-fit: cover;
        object-position: center center;
        display: block;
        filter: brightness(1.05) contrast(1.05) saturate(1.05);
        transform: scale(1.01);
        transition: transform 0.7s ease, filter 0.7s ease;
    }

    .services-side-image::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(15, 17, 21, 0.35), transparent 45%), radial-gradient(circle at top right, rgba(249, 115, 22, 0.12), transparent 40%);
        pointer-events: none;
    }

    .services-side-image:hover img {
        transform: scale(1.05);
        filter: brightness(1.12) contrast(1.08) saturate(1.08);
    }

/* =========================
   About
   ========================= */

.about-section {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    background: var(--bg-soft);
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

    .about-text p {
        margin-top: 0;
    }

/* =========================
   Benefits
   ========================= */

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.benefit-item {
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
}

    .benefit-item span {
        color: var(--accent);
        font-weight: 800;
    }

    .benefit-item h3 {
        margin: 0.8rem 0 0.75rem;
    }

/* =========================
   Contact
   ========================= */

.contact-section {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 3rem;
    background: radial-gradient(circle at bottom left, rgba(249, 115, 22, 0.14), transparent 30%), var(--bg-soft);
}

.contact-info {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    padding: 2rem;
}

    .contact-info h3 {
        margin-top: 0;
    }

    .contact-info p {
        margin: 0.75rem 0;
    }

/* =========================
   Animations
   ========================= */

.reveal {
    opacity: 0;
    transform: translateY(24px);
    animation: revealUp 0.8s ease forwards;
}

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

@keyframes imageReveal {
    from {
        opacity: 0;
        transform: translateY(28px) scale(0.98);
    }

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

/* =========================
   Form defaults
   ========================= */

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

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

@media (max-width: 1000px) {
    .intro-section {
        grid-template-columns: 1fr;
    }

    .intro-visual {
        height: 420px;
    }

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

    .services-grid,
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-side-image {
        min-height: 420px;
    }

        .services-side-image img {
            min-height: 420px;
        }

    .about-section,
    .contact-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 800px) {
    .site-header {
        height: auto;
        min-height: 82px;
        padding: 1rem 6%;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .brand img {
        width: 44px;
        height: 44px;
    }

    .site-nav {
        order: 3;
        width: 100%;
        justify-content: space-between;
        gap: 0.75rem;
        font-size: 0.9rem;
    }

    .header-call {
        padding: 0.65rem 1rem;
    }

    main {
        padding-top: 130px;
    }

    html {
        scroll-padding-top: 150px;
    }
}

@media (max-width: 650px) {
    .intro-section,
    .section,
    .about-section,
    .contact-section {
        padding-left: 6%;
        padding-right: 6%;
    }

    .intro-section {
        padding-top: 4rem;
    }

    .intro-content h1 {
        font-size: clamp(2.6rem, 16vw, 4rem);
    }

    .intro-text {
        font-size: 1rem;
    }

    .services-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .services-side-image {
        min-height: 380px;
        border-radius: 1.25rem;
    }

        .services-side-image img {
            min-height: 380px;
        }

    .intro-visual {
        height: 360px;
        border-radius: 1.25rem;
    }

    .compact-floating-card {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        padding: 1rem;
    }

        .compact-floating-card h3 {
            font-size: 1rem;
        }

    .intro-card {
        padding: 1.25rem;
    }

    .site-nav {
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 0.2rem;
    }

        .site-nav a {
            white-space: nowrap;
        }
}

.about-image {
    min-height: 420px;
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

    .about-image img {
        width: 100%;
        height: 100%;
        min-height: 420px;
        object-fit: cover;
        display: block;
        filter: brightness(0.82) contrast(1.08);
        transform: scale(1.02);
        transition: transform 0.7s ease, filter 0.7s ease;
    }

    .about-image:hover img {
        transform: scale(1.07);
        filter: brightness(0.9) contrast(1.12);
    }


/* =========================
   Back to top button
   ========================= */

.back-to-top {
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    z-index: 3000;
    width: 52px;
    height: 52px;
    border-radius: 999px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: white;
    font-size: 1.5rem;
    font-weight: 900;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(16px) scale(0.95);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, background 0.2s ease;
}

    .back-to-top.show {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0) scale(1);
    }

    .back-to-top:hover {
        background: var(--accent-dark);
        transform: translateY(-3px) scale(1.03);
    }

    .back-to-top:focus,
    .back-to-top:focus-visible,
    .back-to-top:active {
        outline: none;
        box-shadow: none;
    }

@media (max-width: 650px) {
    .back-to-top {
        right: 1rem;
        bottom: 1rem;
        width: 48px;
        height: 48px;
        font-size: 1.35rem;
    }
}

/* =========================
   Sales / Verkoop page
   ========================= */

.sales-page {
    min-height: 100vh;
    padding: 6rem 8% 5rem;
    background: radial-gradient(circle at top right, rgba(249, 115, 22, 0.12), transparent 35%), var(--bg);
}

    .sales-page .section-header h1 {
        font-size: clamp(2.8rem, 6vw, 5rem);
        line-height: 0.95;
        letter-spacing: -0.06em;
        margin: 0 0 1.5rem;
    }

.sales-category {
    margin-top: 4rem;
}

.sales-category-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1rem;
}

    .sales-category-header h2 {
        margin: 0;
        font-size: clamp(1.8rem, 3vw, 3rem);
        letter-spacing: -0.04em;
    }

    .sales-category-header .eyebrow {
        margin-bottom: 0.5rem;
    }

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

.sales-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    overflow: hidden;
    transition: transform 0.25s ease, border 0.25s ease, background 0.25s ease;
}

    .sales-card:hover {
        transform: translateY(-6px);
        border-color: rgba(249, 115, 22, 0.5);
        background: #242936;
    }

.sales-card-link {
    color: inherit;
    display: block;
}

    .sales-card-link:hover {
        color: inherit;
    }

.sales-card-image {
    width: 100%;
    height: 260px;
    object-fit: contain;
    object-position: center;
    display: block;
    background: #11141b;
    padding: 0.5rem;
    filter: brightness(0.95) contrast(1.05);
    transition: transform 0.7s ease, filter 0.7s ease;
}

.sales-card:hover .sales-card-image {
    transform: scale(1.05);
    filter: brightness(1) contrast(1.08);
}

.sales-card-content {
    padding: 1.5rem;
}

.sales-tag {
    color: var(--accent);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.75rem;
    margin-bottom: 0.75rem;
}

.sales-card-content h3 {
    margin: 0 0 1rem;
    font-size: 1.45rem;
}

.sales-card-content p {
    color: var(--muted);
    line-height: 1.6;
}

/* =========================
   Product detail page
   ========================= */

.product-detail-page {
    min-height: 100vh;
    padding: 6rem 8% 5rem;
    background: radial-gradient(circle at top right, rgba(249, 115, 22, 0.12), transparent 35%), var(--bg);
}

.back-link {
    display: inline-flex;
    margin-bottom: 2rem;
    color: var(--muted);
    font-weight: 700;
}

    .back-link:hover {
        color: var(--text);
    }

.product-detail-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3rem;
}

    .product-detail-header h1 {
        font-size: clamp(2.8rem, 6vw, 5rem);
        line-height: 0.95;
        letter-spacing: -0.06em;
        margin: 0 0 1rem;
    }

    .product-detail-header p {
        color: var(--muted);
        max-width: 760px;
        line-height: 1.6;
    }

.product-detail-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1.5rem;
    align-items: start;
}

.product-gallery {
    display: grid;
    gap: 1rem;
}

    .product-gallery img:hover {
        filter: brightness(1.05) contrast(1.05);
    }

    .product-gallery img {
        width: 100%;
        max-height: 75vh;
        object-fit: contain;
        object-position: center;
        border-radius: 1.5rem;
        border: 1px solid var(--border);
        background: #11141b;
        padding: 0.75rem;
        box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
    }

.product-info-card {
    position: sticky;
    top: 110px;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    padding: 1.5rem;
    padding-right: 1.75rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(249, 115, 22, 0.7) rgba(255, 255, 255, 0.06);
}

    .product-info-card::-webkit-scrollbar {
        width: 8px;
    }

    .product-info-card::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.06);
        border-radius: 999px;
    }

    .product-info-card::-webkit-scrollbar-thumb {
        background: rgba(249, 115, 22, 0.7);
        border-radius: 999px;
    }

        .product-info-card::-webkit-scrollbar-thumb:hover {
            background: rgba(249, 115, 22, 1);
        }

    .product-info-card h2 {
        margin: 0 0 1rem;
    }

    .product-info-card p {
        color: var(--muted);
        line-height: 1.65;
        margin-bottom: 1.25rem;
    }

.spec-list {
    display: grid;
    gap: 0.75rem;
    margin: 0 0 2rem;
}

    .spec-list div {
        display: flex;
        justify-content: space-between;
        gap: 1rem;
        border-bottom: 1px solid var(--border);
        padding-bottom: 0.75rem;
    }

    .spec-list dt {
        color: var(--muted);
    }

    .spec-list dd {
        margin: 0;
        color: var(--text);
        font-weight: 700;
        text-align: right;
    }

.product-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

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

@media (max-width: 900px) {
    .product-detail-header {
        display: block;
    }

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

    .product-info-card {
        position: static;
    }
}

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

    .sales-category-header {
        display: block;
    }
}

/*
GOOGLE MAPS*/
.map-card {
    margin-top: 1.5rem;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--border);
    background: #11141b;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

    .map-card iframe {
        width: 100%;
        height: 260px;
        border: 0;
        display: block;
        filter: grayscale(0.15) contrast(1.05);
    }