/* ============================================
   Helsdingen 3D — Stylesheet
   Clean minimalist design
   ============================================ */

/* --- Lokale fonts --- */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('../fonts/inter-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('../fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Space Grotesk';
    font-style: normal;
    font-weight: 600 700;
    font-display: swap;
    src: url('../fonts/space-grotesk-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Space Grotesk';
    font-style: normal;
    font-weight: 600 700;
    font-display: swap;
    src: url('../fonts/space-grotesk-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --white: #ffffff;
    --bg: #fafafa;
    --text: #1a1a1a;
    --text-light: #6b7280;
    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --orange: #E8541A;
    --orange-hover: #c94615;
    --border: #e5e7eb;
    --card-bg: #ffffff;
    --radius: 12px;
    --radius-sm: 8px;
    --nav-height: 72px;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
}

a {
    color: inherit;
    text-decoration: none;
}

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

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

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* --- Focus visible --- */
:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 3px;
    border-radius: 4px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 500;
    font-family: inherit;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    gap: 8px;
}

.btn--primary {
    background: var(--orange);
    color: var(--white);
}

.btn--primary:hover {
    background: var(--orange-hover);
    transform: translateY(-1px);
}

.btn--outline {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border);
}

.btn--outline:hover {
    border-color: var(--text);
}

.btn--full {
    width: 100%;
}

.btn--loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.btn--loading::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: white;
    border-radius: 50%;
    animation: btn-spin 0.7s linear infinite;
}

@keyframes btn-spin {
    to { transform: rotate(360deg); }
}

/* --- Section --- */
.section {
    padding: 120px 0;
}

.section__header {
    margin-bottom: 64px;
}

.section__label {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--orange);
    margin-bottom: 12px;
}

.section__title {
    font-size: clamp(28px, 4vw, 40px);
    color: var(--text);
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--nav-height);
    transition: all 0.3s ease;
}

.nav--scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav__container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.nav__logo-icon {
    width: 28px;
    height: 28px;
}

.nav__logo-3d {
    color: #E8541A;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}

.nav__menu a {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-light);
    transition: color 0.2s;
}

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

.nav__cta {
    padding: 10px 24px;
    background: var(--orange);
    color: var(--white) !important;
    border-radius: var(--radius-sm);
    font-weight: 500 !important;
    transition: background 0.2s, transform 0.2s !important;
}

.nav__cta:hover {
    background: var(--orange-hover);
    transform: translateY(-1px);
}

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

.nav__toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s;
    border-radius: 1px;
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding-top: calc(var(--nav-height) + 80px);
    padding-bottom: 100px;
    width: 100%;
}

.hero__image {
    position: relative;
    display: flex;
    align-items: center;
}

.hero__image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.12);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-14px); }
}

#typewriter {
    display: inline;
    transition: opacity 0.3s ease;
}

.hero__content {
    position: relative;
    max-width: none;
}

.hero__label {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--orange);
    margin-bottom: 20px;
}

.hero__title {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: 24px;
}

.hero__text {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-light);
    max-width: 520px;
    margin-bottom: 40px;
}

.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero__trust {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.hero__trust span {
    font-size: 13px;
    color: var(--text-light);
}

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

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

/* --- Diensten --- */
.diensten {
    background: var(--bg);
}

.diensten__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.dienst-card {
    background: var(--card-bg);
    padding: 40px 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.diensten__grid .dienst-card:nth-child(1) { border-top: 3px solid var(--accent); }
.diensten__grid .dienst-card:nth-child(2) { border-top: 3px solid var(--orange); }
.diensten__grid .dienst-card:nth-child(3) { border-top: 3px solid #1C3360; }

.dienst-card__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
    color: var(--accent);
}

.dienst-card__icon svg {
    width: 100%;
    height: 100%;
}

.dienst-card__title {
    font-size: 20px;
    margin-bottom: 12px;
}

.dienst-card__text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-light);
}

/* --- Materialen --- */
.materialen {
    background: var(--bg);
}

.section__sub {
    font-size: 16px;
    color: var(--text-light);
    max-width: 560px;
    margin-top: 12px;
}

.materialen__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.materiaal-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.materiaal-card--resin {
    border-top: 3px solid var(--accent);
}

.materiaal-card:not(.materiaal-card--resin) {
    border-top: 3px solid var(--orange);
}

.materiaal-card__header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.materiaal-card__type {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgba(232, 84, 26, 0.1);
    color: var(--orange);
    padding: 3px 8px;
    border-radius: 4px;
}

.materiaal-card__type--resin {
    background: rgba(37, 99, 235, 0.1);
    color: var(--accent);
}

.materiaal-card__name {
    font-size: 18px;
    font-weight: 600;
}

.materiaal-card__desc {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
    flex: 1;
}

.materiaal-card__swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.swatch {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1.5px solid rgba(0,0,0,0.12);
    display: inline-block;
    cursor: default;
    transition: transform 0.15s ease;
}

.swatch:hover {
    transform: scale(1.2);
}

.swatch--clear {
    background: linear-gradient(135deg, #f0f0f0 50%, #c0e0ff 100%);
    border-style: dashed;
}

.swatch--more {
    width: auto;
    height: 22px;
    border-radius: 11px;
    background: var(--bg);
    border: 1.5px solid var(--border);
    font-size: 11px;
    font-weight: 500;
    color: var(--text-light);
    padding: 0 8px;
    display: inline-flex;
    align-items: center;
}

.materialen__note {
    text-align: center;
    margin-top: 40px;
    font-size: 14px;
    color: var(--text-light);
}

.materialen__note a {
    color: var(--orange);
    font-weight: 500;
}

/* --- Werkwijze --- */
.werkwijze__steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
}

.stap {
    flex: 1;
    text-align: center;
    padding: 0 24px;
}

.stap__number {
    font-size: 48px;
    font-weight: 700;
    color: rgba(232, 84, 26, 0.28);
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    line-height: 1;
}

.stap__title {
    font-size: 20px;
    margin-bottom: 12px;
}

.stap__text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-light);
}

.stap__divider {
    width: 1px;
    height: 120px;
    background: var(--border);
    margin-top: 24px;
    flex-shrink: 0;
}

/* --- Showcase --- */
.showcase {
    background: var(--bg);
}

.showcase__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.showcase__item {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    background: var(--bg);
    border: 1px solid var(--border);
}

.showcase__item--wide {
    grid-column: span 2;
    aspect-ratio: 2/1;
}

.showcase__item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.showcase__item:hover img {
    transform: scale(1.05);
}

.showcase__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.showcase__item:hover .showcase__overlay {
    transform: translateY(0);
}

.showcase__tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 10px;
    background: rgba(255,255,255,0.2);
    border-radius: 4px;
    margin-bottom: 8px;
}

.showcase__overlay h3 {
    font-size: 16px;
    font-weight: 500;
}

/* --- Over --- */
.over__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.over__content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 16px;
}

.over__stats {
    display: flex;
    gap: 40px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.stat__number {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
}

.stat__label {
    font-size: 13px;
    color: var(--text-light);
}

.over__image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.over__image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

/* --- Contact --- */
.contact {
    background: var(--bg);
}

.contact__layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 64px;
    align-items: start;
}

.contact__form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.form__group {
    margin-bottom: 20px;
}

.form__group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
}

.form__group input,
.form__group select,
.form__group textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    font-family: inherit;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--text);
    transition: border-color 0.2s;
    outline: none;
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
    border-color: var(--accent);
}

.form__group input::placeholder,
.form__group textarea::placeholder {
    color: #9ca3af;
}

.form__group textarea {
    resize: vertical;
    min-height: 120px;
}

.form__group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236b7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.file-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border: 1.5px dashed var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 14px;
    color: var(--text-light);
    transition: border-color 0.2s, color 0.2s;
}

.file-label:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.file-label input {
    display: none;
}

.form__success {
    display: none;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding: 16px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: var(--radius-sm);
    color: #166534;
    font-size: 14px;
}

.form__success.visible {
    display: flex;
}

.form__error {
    display: none;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding: 16px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: var(--radius-sm);
    color: #991b1b;
    font-size: 14px;
}

.form__error.visible {
    display: flex;
}

[data-theme="dark"] .form__error {
    background: #2d0a0a;
    border-color: #7f1d1d;
    color: #fca5a5;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact__block {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.contact__block-icon {
    width: 42px;
    height: 42px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
    flex-shrink: 0;
}

.contact__block h4 {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-light);
    margin-bottom: 4px;
}

.contact__block a,
.contact__block p {
    font-size: 16px;
    color: var(--text);
}

.contact__block a:hover {
    color: var(--accent);
}

/* --- Footer --- */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
}

.footer__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}

.footer__links {
    display: flex;
    gap: 32px;
}

.footer__links a {
    font-size: 14px;
    color: var(--text-light);
    transition: color 0.2s;
}

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

.footer__copy p {
    font-size: 13px;
    color: var(--text-light);
}

/* --- Animations --- */
[data-animate] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .section {
        padding: 80px 0;
    }

    .section__header {
        margin-bottom: 40px;
    }

    /* Nav mobile */
    .nav__toggle {
        display: flex;
    }

    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 32px 32px;
        gap: 0;
        border-left: 1px solid var(--border);
        transition: right 0.3s ease;
    }

    .nav__menu.open {
        right: 0;
    }

    .nav__menu li {
        width: 100%;
    }

    .nav__menu a {
        display: block;
        padding: 16px 0;
        font-size: 16px;
        border-bottom: 1px solid var(--border);
    }

    .nav__cta {
        margin-top: 16px;
        text-align: center;
    }

    .nav__toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav__toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav__toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* Hero mobile */
    .hero {
        min-height: auto;
    }

    .hero__inner {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .hero__image {
        display: flex;
        justify-content: center;
    }

    .hero__image img {
        max-width: 280px;
        margin: 0 auto;
    }

    .hero__text {
        font-size: 16px;
    }

    .hero__actions {
        flex-direction: column;
    }

    .hero__actions .btn {
        text-align: center;
    }

    /* Materialen mobile */
    .materialen__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Diensten mobile */
    .diensten__grid {
        grid-template-columns: 1fr;
    }

    /* Werkwijze mobile */
    .werkwijze__steps {
        flex-direction: column;
        gap: 40px;
    }

    .stap {
        text-align: left;
        padding: 0;
    }

    .stap__divider {
        width: 40px;
        height: 1px;
        margin: 0;
    }

    /* Showcase mobile */
    .showcase__grid {
        grid-template-columns: 1fr 1fr;
    }

    .showcase__item--wide {
        grid-column: span 2;
    }

    /* Over mobile */
    .over__layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .over__stats {
        gap: 24px;
    }

    /* Contact mobile */
    .contact__layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact__form {
        padding: 24px;
    }

    /* Footer mobile */
    .footer__content {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer__links {
        flex-wrap: wrap;
        gap: 16px;
    }
}

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

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

    .showcase__item--wide {
        grid-column: span 1;
        aspect-ratio: 16/9;
    }

    .over__stats {
        flex-direction: column;
        gap: 16px;
    }
}

/* --- FAQ --- */
.faq__list {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.faq__item {
    border-bottom: 1px solid var(--border);
}

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

.faq__question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 500;
    font-size: 15px;
    list-style: none;
    gap: 16px;
    transition: background 0.15s ease;
}

.faq__question::-webkit-details-marker {
    display: none;
}

.faq__question::after {
    content: '+';
    font-size: 22px;
    font-weight: 300;
    color: var(--accent);
    flex-shrink: 0;
    transition: transform 0.2s ease;
    line-height: 1;
}

details[open] > .faq__question::after {
    transform: rotate(45deg);
}

.faq__answer {
    padding: 0 24px 20px;
}

.faq__answer p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
}

/* --- Dark Mode --- */
[data-theme="dark"] {
    --white: #111111;
    --bg: #191919;
    --text: #efefef;
    --text-light: #9ca3af;
    --accent: #3b82f6;
    --accent-hover: #2563eb;
    --border: #2c2c2c;
    --card-bg: #1c1c1c;
}

[data-theme="dark"] body {
    background: var(--white);
}

[data-theme="dark"] .nav--scrolled {
    background: rgba(17, 17, 17, 0.92);
}

[data-theme="dark"] .hero__grid {
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
}

[data-theme="dark"] .form__success {
    background: #052e16;
    border-color: #166534;
    color: #4ade80;
}

/* --- Scroll Progress Bar --- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), var(--orange));
    z-index: 200;
    transition: width 0.1s linear;
    pointer-events: none;
}

/* --- Social Proof Strip --- */
.proof-strip {
    background: var(--bg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
    overflow: hidden;
    white-space: nowrap;
}

.proof-strip__track {
    display: inline-flex;
    align-items: center;
    gap: 40px;
    animation: marquee 28s linear infinite;
}

.proof-strip__track:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.proof-strip__item {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-light);
    white-space: nowrap;
}

.proof-strip__sep {
    color: var(--orange);
    font-size: 16px;
    line-height: 1;
    flex-shrink: 0;
}

/* --- Showcase CTA --- */
.showcase__cta {
    display: inline-block;
    margin-top: 10px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
}

.showcase__cta:hover {
    color: white;
    border-color: white;
}

/* --- Hero Glow --- */
.hero__glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(37, 99, 235, 0.10) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 30%, rgba(232, 84, 26, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 60% 80%, rgba(37, 99, 235, 0.05) 0%, transparent 40%);
}

/* --- Nav Active State --- */
.nav__menu a.nav-active {
    color: var(--text) !important;
    font-weight: 500;
}

/* --- Staggered Animations --- */
.diensten__grid [data-animate]:nth-child(1) { transition-delay: 0ms; }
.diensten__grid [data-animate]:nth-child(2) { transition-delay: 120ms; }
.diensten__grid [data-animate]:nth-child(3) { transition-delay: 240ms; }

.showcase__grid [data-animate]:nth-child(1) { transition-delay: 0ms; }
.showcase__grid [data-animate]:nth-child(2) { transition-delay: 80ms; }
.showcase__grid [data-animate]:nth-child(3) { transition-delay: 160ms; }
.showcase__grid [data-animate]:nth-child(4) { transition-delay: 240ms; }
.showcase__grid [data-animate]:nth-child(5) { transition-delay: 320ms; }
.showcase__grid [data-animate]:nth-child(6) { transition-delay: 400ms; }
.showcase__grid [data-animate]:nth-child(7) { transition-delay: 480ms; }

/* --- Lightbox --- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 500;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.lightbox.open {
    opacity: 1;
    pointer-events: all;
}

.lightbox__img {
    max-width: 90vw;
    max-height: 88vh;
    object-fit: contain;
    border-radius: var(--radius);
    transform: scale(0.96);
    transition: transform 0.25s ease;
}

.lightbox.open .lightbox__img {
    transform: scale(1);
}

.lightbox__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    cursor: pointer;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.lightbox__close:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* --- Hero Gradient Text --- */
.hero__gradient {
    background: linear-gradient(135deg, var(--accent) 0%, var(--orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Contact Map --- */
.contact__map {
    margin-top: 48px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    position: relative;
}

.contact__map iframe {
    width: 100%;
    height: 320px;
    display: block;
    border: none;
    filter: grayscale(20%);
}

.contact__map-link {
    display: inline-block;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--orange);
    background: var(--bg);
    border-top: 1px solid var(--border);
    width: 100%;
    transition: background 0.2s;
}

.contact__map-link:hover {
    background: var(--border);
}

/* --- CTA Banner --- */
.cta-banner {
    background: linear-gradient(135deg, #1C3360 0%, #111111 100%);
    padding: 100px 0;
    text-align: center;
}

.cta-banner__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-banner__title {
    font-size: clamp(28px, 4vw, 48px);
    color: #ffffff;
    margin-bottom: 16px;
}

.cta-banner__text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.65);
    max-width: 520px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.btn--white {
    background: #ffffff;
    color: #1a1a1a;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
}

.btn--white:hover {
    background: rgba(255, 255, 255, 0.88);
    transform: translateY(-2px);
}

/* --- Footer Tagline --- */
.footer__tagline {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 6px;
}

/* --- Language Selector --- */
.nav__lang {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.nav__lang-btn {
    height: 36px;
    padding: 0 9px;
    background: none;
    border: none;
    border-right: 1px solid var(--border);
    cursor: pointer;
    color: var(--text-light);
    font-size: 11px;
    font-weight: 600;
    font-family: inherit;
    letter-spacing: 0.05em;
    transition: color 0.2s, background 0.2s;
}

.nav__lang-btn:last-child {
    border-right: none;
}

.nav__lang-btn:hover {
    color: var(--text);
    background: var(--bg);
}

.nav__lang-btn.active {
    color: var(--text);
    background: var(--border);
}

/* --- Theme Toggle Button --- */
.nav__theme {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: none;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.2s, border-color 0.2s;
    flex-shrink: 0;
}

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

.nav__theme .icon-sun {
    display: none;
}

.nav__theme .icon-moon {
    display: block;
}

[data-theme="dark"] .nav__theme .icon-sun {
    display: block;
}

[data-theme="dark"] .nav__theme .icon-moon {
    display: none;
}

/* --- Back to Top --- */
.back-to-top {
    position: fixed;
    bottom: 96px;
    right: 28px;
    z-index: 90;
    width: 44px;
    height: 44px;
    background: var(--text);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.back-to-top:hover {
    background: var(--orange);
}

@media (max-width: 640px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
    }
}

/* --- Prefers reduced motion --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .proof-strip__track {
        animation: none;
    }

    html {
        scroll-behavior: auto;
    }
}

/* --- WebGL Shader Canvas --- */
.glass-filter-svg {
    position: absolute;
    width: 0;
    height: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero__shader {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    opacity: 0.08;
    transition: opacity 0.5s ease;
}

[data-theme="dark"] .hero__shader {
    opacity: 0.85;
}

/* In dark mode, hero grid becomes white lines over the shader */
[data-theme="dark"] .hero__grid {
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
}

/* Hero text over dark shader background (dark mode) */
[data-theme="dark"] .hero__label {
    color: var(--orange);
}

[data-theme="dark"] .hero__title {
    color: #ffffff;
}

[data-theme="dark"] .hero__text {
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .hero__trust span {
    color: rgba(255, 255, 255, 0.55);
}

/* --- Liquid Glass Button --- */
.btn--glass {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 9999px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    /* Light mode */
    background: rgba(0, 0, 0, 0.06);
    color: var(--text);
    border: 1px solid rgba(0, 0, 0, 0.15);
    box-shadow:
        0 0 6px rgba(0,0,0,0.03),
        0 2px 6px rgba(0,0,0,0.08),
        inset 0 1px 1px rgba(255,255,255,0.5),
        0 0 12px rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.btn--glass:hover {
    transform: scale(1.04);
    background: rgba(0, 0, 0, 0.1);
}

/* Dark mode glass button */
[data-theme="dark"] .btn--glass {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        0 0 8px rgba(0,0,0,0.03),
        0 2px 6px rgba(0,0,0,0.08),
        inset 1px 1px 1px rgba(255,255,255,0.12),
        inset -1px -1px 1px rgba(255,255,255,0.06),
        inset 0 0 6px 6px rgba(255,255,255,0.04),
        0 0 12px rgba(0,0,0,0.15);
}

[data-theme="dark"] .btn--glass:hover {
    background: rgba(255, 255, 255, 0.14);
    box-shadow:
        0 0 8px rgba(0,0,0,0.03),
        0 4px 12px rgba(0,0,0,0.12),
        inset 1px 1px 1px rgba(255,255,255,0.18),
        inset -1px -1px 1px rgba(255,255,255,0.08),
        0 0 20px rgba(255,255,255,0.08);
}
