/* Tech Eye static site */
:root {
    --bg: #0b0f14;
    --bg2: #070a0e;
    --text: #e9eff7;
    --muted: #a9b6c8;
    --muted2: #7f8da2;
    --accent: #9900ff;
    --accent2: #bf5eff;
    --border: 1px solid rgba(255,255,255,.09);
    --shadow: 0 14px 40px rgba(0,0,0,.35);
    --radius: 18px;
    --max: 1120px;
    --headerH: 66px;
    color-scheme: dark;
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
    background: radial-gradient(1200px 700px at 20% 0%, rgba(191, 94, 255, 0.3), transparent 60%), radial-gradient(900px 500px at 80% 10%, rgba(153, 0, 255, 0.2), transparent 55%), linear-gradient(180deg,var(--bg),var(--bg2));
    color: var(--text);
}

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

p {
    color: var(--muted);
    line-height: 1.7;
    margin: .6rem 0
}

small, .small {
    color: var(--muted2)
}

strong {
    color: var(--text)
}

.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 26px
}

@media (max-width:720px) {
    .container {
        padding: 18px
    }
}

.skip {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden
}

    .skip:focus {
        left: 12px;
        top: 12px;
        width: auto;
        height: auto;
        padding: 10px 12px;
        border-radius: 12px;
        background: rgba(255,255,255,.08);
        border: var(--border)
    }

header.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    height: var(--headerH);
    background: rgba(11,15,20,.82);
    backdrop-filter: blur(12px);
    border-bottom: var(--border);
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 22px;
}

.brand {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.brand-logo {
    height: 44px;
    width: auto;
    display: block;
}

@media (min-width: 768px) {
    .brand-logo {
        height: 56px;
    }
}


.logo {
    display: none;
}

.brand-name {
    font-weight: 800;
    letter-spacing: .4px
}

.brand-tag {
    display: block;
    font-size: 12px;
    color: var(--muted2);
    margin-top: 1px
}

.nav {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap
}

    .nav a {
        font-size: 14px;
        color: rgba(233,239,247,.92);
        padding: 9px 10px;
        border-radius: 12px;
        border: 1px solid transparent;
    }

        .nav a:hover {
            border-color: rgba(255,255,255,.14);
            background: rgba(255,255,255,.04)
        }

        .nav a[aria-current="page"] {
            border-color: rgba(191, 94, 255, 0.8);
            background: rgba(153, 0, 255, 0.05)
        }

    .nav .cta {
        background: linear-gradient(135deg,var(--accent),var(--accent2));
        color: var(--text);
        border: none;
        font-weight: 800
    }

.mobile-toggle {
    display: none
}

@media (max-width:920px) {
    .nav {
        display: none
    }

    .mobile-toggle {
        display: inline-flex;
        gap: 8px;
        align-items: center;
        border: var(--border);
        background: rgba(255,255,255,.03);
        padding: 10px 12px;
        border-radius: 14px;
        color: var(--text);
    }
}

.mobile-menu {
    display: none;
    border-top: var(--border);
    background: rgba(11,15,20,.92);
    backdrop-filter: blur(12px);
}

    .mobile-menu.open {
        display: block
    }

    .mobile-menu .container {
        padding-top: 14px
    }

    .mobile-menu a {
        display: block;
        padding: 12px 12px;
        border-radius: 14px;
        border: var(--border);
        background: rgba(255,255,255,.02);
        margin-bottom: 10px
    }

.hero {
    padding: 26px 0 6px
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 16px;
    align-items: stretch
}

@media (max-width:920px) {
    .hero-grid {
        grid-template-columns: 1fr
    }
}

.card {
    background: rgba(255,255,255,.03);
    border: var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 18px;
}

    .card.tight {
        padding: 14px
    }

.h1 {
    font-size: 44px;
    line-height: 1.05;
    margin: 0 0 12px
}

@media (max-width:720px) {
    .h1 {
        font-size: 34px
    }
}

.h2 {
    font-size: 26px;
    margin: 0 0 10px
}

.h3 {
    font-size: 18px;
    margin: 0 0 8px
}

.lead {
    font-size: 18px;
    color: var(--muted);
    margin: 0 0 16px;
    max-width: 70ch
}

.pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 12px 0 18px
}

.pill {
    font-size: 13px;
    color: var(--muted);
    padding: 8px 10px;
    border-radius: 999px;
    border: var(--border);
    background: rgba(255,255,255,.02)
}

.btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border-radius: 14px;
    border: var(--border);
    background: rgba(255,255,255,.03);
    font-weight: 750;
}

    .btn.primary {
        background: linear-gradient(135deg,var(--accent),var(--accent2));
        color: var(--text);
        border: none
    }

    .btn:hover {
        transform: translateY(-1px)
    }

.section {
    padding: 18px 0
}

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

.grid2 {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 14px
}

@media (max-width:920px) {
    .grid3, .grid2 {
        grid-template-columns: 1fr
    }
}

.list {
    margin: 8px 0 0 18px;
    color: var(--muted);
    line-height: 1.7
}

.hr {
    border: 0;
    border-top: var(--border);
    margin: 18px 0
}

.kpi {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 12px;
    margin-top: 12px
}

@media (max-width:920px) {
    .kpi {
        grid-template-columns: 1fr
    }
}

.kpi strong {
    display: block;
    font-size: 18px;
    margin-bottom: 6px
}

.figure {
    border: var(--border);
    border-radius: 16px;
    overflow: hidden;
    background: rgba(0,0,0,.2)
}

    .figure .ph {
        aspect-ratio: 16/9;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 14px;
        color: var(--muted);
        background: radial-gradient(600px 300px at 20% 10%, rgba(37,194,160,.16), transparent 55%), radial-gradient(600px 300px at 80% 40%, rgba(58,208,255,.12), transparent 55%), linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
    }

    .figure img {
        width: 100%;
        height: auto;
        display: block
    }

.caption {
    padding: 10px 12px;
    color: var(--muted2);
    font-size: 13px
}

.breadcrumbs {
    font-size: 13px;
    color: var(--muted2);
    margin: 8px 0 12px
}

    .breadcrumbs a {
        opacity: .92
    }

        .breadcrumbs a:hover {
            text-decoration: underline
        }

.footer {
    margin-top: 34px;
    border-top: var(--border);
    padding: 22px 0 28px;
    color: var(--muted2);
    font-size: 13px
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 14px
}

@media (max-width:920px) {
    .footer-grid {
        grid-template-columns: 1fr
    }
}

.footer a:hover {
    text-decoration: underline
}

.form {
    display: grid;
    gap: 10px
}

input, textarea {
    width: 100%;
    padding: 12px 12px;
    border-radius: 14px;
    border: var(--border);
    background: rgba(0,0,0,.18);
    color: var(--text);
}

textarea {
    min-height: 130px;
    resize: vertical
}

.notice {
    border-left: 4px solid var(--accent);
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255,255,255,.03);
    color: var(--muted);
}
.hero .hero-visual {
    margin-bottom: 1.5rem;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 340px;
    border-radius: 20px;
    overflow: hidden;
}

@media (min-width:900px) {
    .hero-slider {
        height: 460px;
    }
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .8s ease-in-out;
}

    .hero-slide.is-active {
        opacity: 1;
    }

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( rgba(0,0,0,.15), rgba(0,0,0,.35) );
    pointer-events: none;
}

/* ============================================
   Projecten – kaarten, afbeeldingen & lightbox
   ============================================ */

.project-figure {
    margin: 1rem 0;
}

    .project-figure a {
        display: block;
        text-decoration: none;
        outline: none;
    }

    .project-figure img {
        display: block;
        width: 100%;
        /* 16:9 verhouding erzorgen */
        aspect-ratio: 16 / 9;
        /* zorgt dat de foto mooi wordt bijgesneden binnen 16:9 */
        object-fit: cover;
        /* thumbnail-styling */
        border-radius: 12px;
        box-shadow: 0 6px 18px rgba(0,0,0,.28);
        transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
        /* optioneel: zorg dat de thumbnail niet te hoog wordt */
        max-height: 200px;
    }

    .project-figure a:hover img,
    .project-figure a:focus img {
        transform: translateY(-2px);
        box-shadow: 0 12px 30px rgba(0,0,0,.45);
    }

    .project-figure .caption {
        font-size: 13px;
        color: var(--muted2);
        margin-top: .35rem;
    }

/* Lightbox overlay voor projectafbeeldingen */

.lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(11, 15, 20, .86);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, visibility .2s ease;
}

    .lightbox-overlay.is-visible {
        opacity: 1;
        visibility: visible;
    }

.lightbox-dialog {
    max-width: min(100%, 960px);
    max-height: 100%;
    background: #020617;
    border-radius: 18px;
    padding: 2.4rem 2.4rem 2rem;
    box-shadow: 0 24px 80px rgba(0,0,0,.6);
    position: relative;
}

.lightbox-image-wrap {
    max-height: 100%;
    overflow: visible;
    border-radius: 14px;
    background: #020617;
}

.lightbox-image {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 6rem);
    height: auto;
    margin: 0 auto;
    object-fit: contain;
}

.lightbox-caption {
    margin-top: .8rem;
    font-size: 13px;
    color: var(--muted);
}

.lightbox-close {
    position: absolute;
    top: .75rem;
    right: .75rem;
    border: none;
    border-radius: 999px;
    width: 2.25rem;
    height: 2.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, .92);
    color: #e5e7eb;
    cursor: pointer;
    font-size: 1.2rem;
}

    .lightbox-close:hover,
    .lightbox-close:focus-visible {
        background: var(--accent2);
    }

@media (max-width: 640px) {
    .lightbox-dialog {
        padding: 1.5rem 1.25rem 1.25rem;
    }
}
/* ============================================
   Cookie consent bar
   ============================================ */
.cookie-bar {
    position: fixed;
    inset: auto 0 1rem 0; /* onderin, met 1rem lucht */
    z-index: 50;
    pointer-events: none; /* zodat alleen de inner klikbaar is */
}

.cookie-bar-inner {
    pointer-events: auto;
    max-width: 960px;
    margin: 0 auto;
    background: #111827; /* donker, past bij Tech Eye */
    color: #e5e7eb;
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.cookie-bar-text {
    flex: 1 1 260px;
    font-size: 0.9rem;
}

    .cookie-bar-text strong {
        display: block;
        margin-bottom: 0.25rem;
        font-size: 1rem;
    }

    .cookie-bar-text p {
        margin: 0.25rem 0;
    }

    .cookie-bar-text a {
        color: #93c5fd;
        text-decoration: underline;
    }

        .cookie-bar-text a:hover {
            text-decoration: none;
        }

.cookie-bar-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

    .cookie-bar-actions .btn {
        white-space: nowrap;
    }

@media (max-width: 640px) {
    .cookie-bar-inner {
        align-items: flex-start;
    }

    .cookie-bar-actions {
        width: 100%;
        justify-content: flex-start;
        margin-top: 0.5rem;
    }
}
