/* Doppenberg Life Suite, marketing site
   Kleuren volgen de suite: nachtblauw, goud en salie uit het logo. */

:root {
    --nacht: #0c1828;
    --nacht-2: #122238;
    --nacht-3: #1a2f4a;
    --lijn-donker: rgba(214, 226, 240, 0.12);
    --maan: #ece6d6;
    --mist: #9fb0c2;
    --goud: #ddb247;
    --goud-zacht: rgba(221, 178, 71, 0.16);
    --salie: #8db39b;
    --koraal: #e38b6a;
    --water: #6cc3c9;

    --bg: #f5f2ea;
    --surface: #ffffff;
    --ink: #142238;
    --ink-2: #3e4c60;
    --muted: #66768a;
    --lijn: rgba(20, 34, 56, 0.12);
    --accent: #8a6a12;
    --accent-ink: #0c1828;
    --focus: #ddb247;

    --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
    --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

    --wrap: 1180px;
    --gutter: clamp(16px, 4vw, 40px);
    --r-s: 8px;
    --r-m: 14px;
    --r-l: 22px;
}

:root[data-theme="dark"] {
    --bg: #111f33;
    --surface: #17293f;
    --ink: #ece6d6;
    --ink-2: #c9cfd6;
    --muted: #9fb0c2;
    --lijn: rgba(214, 226, 240, 0.12);
    --accent: #ddb247;
}

/* Paarse testweergave: alleen lokaal (atelier) */
:root.test-view-on {
    --nacht: #24163a;
    --nacht-2: #2e1d48;
    --nacht-3: #3a2759;
    --goud: #d6a8ff;
    --goud-zacht: rgba(214, 168, 255, 0.16);
    --bg: #24163a;
    --surface: #2e1d48;
    --ink: #f1e9ff;
    --ink-2: #d9cdee;
    --muted: #b5a6cf;
    --lijn: rgba(241, 233, 255, 0.14);
    --accent: #d6a8ff;
    --focus: #d6a8ff;
}

* { box-sizing: border-box; }

/* Ankerlinks (/#demo) landen onder de sticky header (72px) in plaats van erachter. */
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 400 1.0625rem/1.6 var(--sans);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }

.skip {
    position: absolute; left: -999px; top: 0; z-index: 100;
    background: var(--goud); color: var(--nacht); padding: .6rem 1rem; border-radius: var(--r-s);
}
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- Typografie ---------- */

h1, h2, h3 {
    font-family: var(--serif);
    font-weight: 500;
    font-optical-sizing: auto;
    letter-spacing: -0.015em;
    line-height: 1.1;
    margin: 0;
}
h1 { font-size: clamp(2.75rem, 6.4vw, 5.25rem); letter-spacing: -0.03em; line-height: 1.0; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: 1.375rem; line-height: 1.25; }
p { margin: 0; }

.lead { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); line-height: 1.55; color: var(--ink-2); max-width: 34em; }
.kicker { font-size: .9375rem; font-weight: 600; color: var(--accent); margin-bottom: .9rem; }

/* ---------- Knoppen ---------- */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    min-height: 46px; padding: .7rem 1.25rem;
    border-radius: 999px; border: 1px solid var(--lijn);
    background: transparent; color: var(--ink);
    font: 600 .975rem/1 var(--sans); text-decoration: none; cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn:hover { border-color: currentColor; }
.btn:active { transform: translateY(1px); }
.btn-goud { background: var(--goud); border-color: var(--goud); color: #0c1828; }
.btn-goud:hover { background: #e8c260; border-color: #e8c260; }
:root.test-view-on .btn-goud:hover { background: #e2c0ff; border-color: #e2c0ff; }
.btn-ink { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn-ink:hover { opacity: .9; border-color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

.textlink {
    font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px;
    text-underline-offset: .25em; color: var(--accent);
}
.textlink:hover { text-decoration-thickness: 2px; }

/* ---------- Testbanner ---------- */

.environment-warning {
    margin: 0; padding: .45rem var(--gutter);
    background: #1df21d; color: #062006;
    font: 700 .8125rem/1.3 var(--sans); text-align: center; letter-spacing: .02em;
}

/* ---------- Header ---------- */

.site-header {
    position: sticky; top: 0; z-index: 30;
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    backdrop-filter: saturate(1.4) blur(12px);
    -webkit-backdrop-filter: saturate(1.4) blur(12px);
    border-bottom: 1px solid var(--lijn);
}
.site-header.on-dark { --bg: var(--nacht); --ink: var(--maan); --ink-2: #c4cbd3; --muted: var(--mist); --lijn: var(--lijn-donker); color: var(--maan); }
.nav { display: flex; align-items: center; gap: 1.5rem; height: 72px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
.brand img { width: 38px; height: 38px; }
.brand span { font: 500 1.1875rem/1 var(--serif); letter-spacing: -0.01em; white-space: nowrap; }
.brand small { display: block; font: 500 .75rem/1.2 var(--sans); color: var(--muted); letter-spacing: 0; margin-top: .2rem; }

.nav-links { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
    display: block; padding: .5rem .8rem; border-radius: 999px;
    font-size: .9375rem; font-weight: 500; text-decoration: none; color: var(--ink-2);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); background: color-mix(in srgb, var(--ink) 8%, transparent); }
.nav-tools { display: flex; align-items: center; gap: .4rem; }
.icon-btn {
    width: 40px; height: 40px; display: inline-grid; place-items: center;
    border-radius: 999px; border: 1px solid var(--lijn); background: transparent; color: var(--ink); cursor: pointer;
}
.icon-btn:hover { border-color: currentColor; }
.icon-btn.on { background: var(--goud); border-color: var(--goud); color: #24163a; }
.nav .btn { min-height: 40px; padding: .55rem 1.05rem; }
.menu-toggle { display: none; }

@media (max-width: 960px) {
    .nav { gap: .6rem; }
    .menu-toggle { display: inline-grid; }
    .nav-links {
        display: none; position: absolute; left: 0; right: 0; top: 100%;
        flex-direction: column; align-items: stretch; gap: 0;
        padding: .5rem var(--gutter) 1rem; background: var(--bg); border-bottom: 1px solid var(--lijn);
    }
    .nav-links.open { display: flex; }
    .nav-links a { padding: .85rem .25rem; border-radius: 0; border-bottom: 1px solid var(--lijn); font-size: 1rem; }
    .nav-links a:hover { background: none; }
    .nav-login { display: none; }
}

/* ---------- Hero ---------- */

.hero {
    --ink: var(--maan); --ink-2: #c4cbd3; --muted: var(--mist); --lijn: var(--lijn-donker); --accent: var(--goud);
    background: var(--nacht);
    color: var(--maan);
}
.hero-grid {
    display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center; gap: clamp(2rem, 5vw, 5rem);
    padding-block: clamp(4rem, 9vw, 7.5rem) clamp(4rem, 8vw, 6.5rem);
}
.hero h1 { max-width: 9ch; }
.hero .lead { margin-top: 1.6rem; }
.hero .btn-row { margin-top: 2.25rem; }
.hero .btn:not(.btn-goud) { color: var(--maan); }
.hero-note { margin-top: 1.4rem; font-size: .9375rem; color: var(--mist); }

.ring-figure { margin: 0; position: relative; }
.ring-figure > svg { width: 100%; height: auto; display: block; overflow: visible; }
.ring-legend {
    display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.1rem;
    margin-top: 1.2rem; font-size: .875rem; color: var(--mist);
}
.ring-key { display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap; }
.ring-key-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.ring-key-food { display: inline-flex; gap: 3px; }
.ring-key-band { width: 16px; height: 7px; border-radius: 4px; display: inline-block; }
.ring-key-coin {
    width: 15px; height: 15px; border-radius: 50%; border: 1.4px solid;
    display: inline-grid; place-items: center; font: 700 9px/1 var(--sans); font-style: normal;
}

@media (max-width: 860px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero h1 { max-width: 11ch; }
    .ring-figure { max-width: 460px; margin-inline: auto; width: 100%; }
}

/* ---------- Demo-balk ---------- */

.demo-bar { border-bottom: 1px solid var(--lijn); }
.demo-bar .wrap {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1rem 2rem;
    padding-block: 1.6rem;
}
.demo-bar p { color: var(--ink-2); }
.demo-bar strong { color: var(--ink); font-weight: 600; }
@media (max-width: 760px) { .demo-bar .wrap { grid-template-columns: 1fr; } }

/* ---------- Secties ---------- */

.section { padding-block: clamp(4.5rem, 9vw, 8rem); }
.section + .section { border-top: 1px solid var(--lijn); }
.section-head { max-width: 40rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head .lead { margin-top: 1.1rem; }

.feature {
    display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.feature.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.feature.flip .feature-text { order: 2; }
.feature-text h2 { margin-bottom: 1.1rem; }
.feature-text .lead { margin-bottom: 1.8rem; }

.points { list-style: none; margin: 0 0 2.2rem; padding: 0; border-top: 1px solid var(--lijn); }
.points li { padding: .95rem 0; border-bottom: 1px solid var(--lijn); color: var(--ink-2); }
.points b { display: block; color: var(--ink); font-weight: 600; margin-bottom: .1rem; }

.shot {
    margin: 0; border-radius: var(--r-l); overflow: hidden;
    border: 1px solid var(--lijn);
    background: var(--nacht);
    box-shadow: 0 30px 60px -30px rgba(12, 24, 40, 0.45);
}
.shot img { width: 100%; height: auto; }
.shot-stack { position: relative; padding-bottom: 14%; }
.shot-stack .shot-back { width: 84%; }
.shot-stack .shot-front { position: absolute; width: 62%; right: 0; bottom: 0; box-shadow: 0 30px 60px -20px rgba(12, 24, 40, 0.6); }
.shot-caption { margin-top: 1rem; font-size: .875rem; color: var(--muted); }

@media (max-width: 860px) {
    .feature, .feature.flip { grid-template-columns: 1fr; }
    .feature.flip .feature-text { order: 0; }
}

/* ---------- Life (donkere band) ---------- */

.band-dark {
    --ink: var(--maan); --ink-2: #c4cbd3; --muted: var(--mist); --lijn: var(--lijn-donker); --accent: var(--goud);
    background: var(--nacht); color: var(--maan);
}
.band-dark .btn:not(.btn-goud) { color: var(--maan); }
.section.band-dark + .section, .section + .section.band-dark { border-top: 0; }

.life-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.life-grid .feature-text { position: sticky; top: 110px; }
@media (max-width: 960px) {
    .life-grid { grid-template-columns: 1fr; }
    .life-grid .feature-text { position: static; }
}

.dash {
    display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px;
    padding: 14px; border-radius: var(--r-l);
    background: #0f2033; border: 1px solid var(--lijn-donker);
}
:root.test-view-on .dash { background: #2a1a42; }
.tile {
    background: var(--nacht-2); border: 1px solid var(--lijn-donker); border-radius: var(--r-m);
    padding: 16px; min-width: 0;
}
.tile h3 { font: 600 .8125rem/1.2 var(--sans); color: var(--mist); letter-spacing: 0; margin-bottom: .75rem; display: flex; justify-content: space-between; gap: .5rem; }
.tile h3 em { font-style: normal; font-weight: 500; color: var(--goud); }
.t-wide { grid-column: span 3; }
.t-third { grid-column: span 2; }
.big { font: 500 2.5rem/1 var(--serif); color: var(--maan); letter-spacing: -0.02em; }
.big small { font: 500 .875rem var(--sans); color: var(--mist); letter-spacing: 0; margin-left: .35rem; }
.tile-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.tile-row div { font-size: .8125rem; color: var(--mist); }
.tile-row b { display: block; font-size: 1rem; font-weight: 600; color: var(--maan); }
.bar { height: 6px; border-radius: 6px; background: rgba(236,230,214,.08); margin-top: 14px; overflow: hidden; display: flex; }
.bar span { display: block; height: 100%; }
.feed-item { padding: .55rem 0; border-top: 1px solid var(--lijn-donker); font-size: .875rem; color: var(--maan); line-height: 1.4; }
.feed-item:first-of-type { border-top: 0; padding-top: 0; }
.feed-item small { display: block; color: var(--mist); font-size: .75rem; margin-top: .15rem; }
.weather { display: flex; align-items: baseline; gap: .6rem; }
.weather .big { font-size: 2.25rem; }
.mini { font-size: .8125rem; color: var(--mist); margin-top: .5rem; }
.links-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.links-grid span {
    display: grid; place-items: center; aspect-ratio: 1; border-radius: 12px;
    background: var(--nacht-3); font: 600 .9375rem var(--sans); color: var(--maan);
}
.agenda-time { font: 500 1.75rem/1 var(--serif); color: var(--maan); }
.dash-note { margin-top: 1rem; font-size: .875rem; color: var(--mist); }

@media (max-width: 640px) {
    .dash { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .t-wide { grid-column: span 2; }
    .t-third { grid-column: span 1; }
    .t-solo { grid-column: span 2; }
    .big { font-size: 2rem; }
}

/* ---------- App + samenwerking ---------- */

.app-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
@media (max-width: 860px) { .app-grid { grid-template-columns: 1fr; } }

.phone {
    width: min(300px, 80%); margin-inline: auto; aspect-ratio: 9 / 18.5;
    border-radius: 42px; padding: 12px; background: #050c16;
    box-shadow: 0 40px 70px -35px rgba(12, 24, 40, .6), inset 0 0 0 1px rgba(255,255,255,.08);
}
.phone-screen {
    height: 100%; border-radius: 32px; overflow: hidden; position: relative;
    background: radial-gradient(120% 70% at 50% 0%, #1a3150, var(--nacht) 70%);
    display: grid; grid-template-rows: auto 1fr auto; padding: 34px 20px 22px; color: var(--maan);
}
:root.test-view-on .phone-screen { background: var(--nacht); }
.phone-top { text-align: center; }
.phone-top b { display: block; font: 500 1.375rem/1.2 var(--serif); }
.phone-top span { font-size: .75rem; color: var(--mist); }
.orbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 10px; align-content: center; justify-items: center; }
.orb { display: grid; justify-items: center; gap: 6px; font-size: .6875rem; color: var(--mist); }
.orb i {
    width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
    background: color-mix(in srgb, var(--c) 18%, transparent); border: 1px solid color-mix(in srgb, var(--c) 55%, transparent);
}
.orb i::after { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--c); }
.phone-sync { text-align: center; font-size: .6875rem; color: var(--mist); }
.phone-sync::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--salie); margin-right: .4rem; vertical-align: 1px; }

.flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 2.5rem; border-top: 1px solid var(--lijn); }
.flow div { padding: 1.2rem 1.2rem 0 0; }
.flow div + div { padding-left: 1.2rem; border-left: 1px solid var(--lijn); }
.flow b { display: block; font: 500 1.125rem/1.3 var(--serif); margin-bottom: .3rem; }
.flow p { font-size: .9375rem; color: var(--muted); }
@media (max-width: 640px) {
    .flow { grid-template-columns: 1fr; }
    .flow div, .flow div + div { padding: 1rem 0; border-left: 0; border-bottom: 1px solid var(--lijn); }
}

/* ---------- Over + contact ---------- */

.about { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; max-width: 820px; }
.about img { width: 200px; height: 200px; border-radius: 50%; object-fit: cover; }
.about h2 { margin-bottom: 1rem; }
.about p + p { margin-top: .9rem; }
.about p { color: var(--ink-2); }
@media (max-width: 640px) { .about { grid-template-columns: 1fr; } .about img { width: 140px; height: 140px; } }

.contact { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 5rem); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
.form { display: grid; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form label { display: grid; gap: .4rem; font-size: .9375rem; font-weight: 500; color: var(--ink-2); }
.form input, .form textarea {
    width: 100%; font: 400 1rem/1.5 var(--sans); color: var(--ink);
    background: var(--surface); border: 1px solid var(--lijn); border-radius: var(--r-s);
    padding: .75rem .9rem;
}
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--focus); outline-offset: 0; border-color: transparent; }
.form .btn { justify-self: start; }

/* ---------- Productpagina's ---------- */

.page-hero { padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(2.5rem, 5vw, 4rem); }
.page-hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.25rem); max-width: 14ch; }
.page-hero .lead { margin-top: 1.4rem; }
.page-hero .btn-row { margin-top: 2rem; }
.page-shot { padding-bottom: clamp(3rem, 7vw, 6rem); }

.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); }
.cols h3 { margin-bottom: .6rem; }
.cols p { color: var(--ink-2); }
@media (max-width: 860px) { .cols { grid-template-columns: 1fr; } }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); counter-reset: s; }
.steps li { counter-increment: s; border-top: 1px solid var(--ink); padding-top: 1.1rem; }
.steps li::before { content: counter(s); display: block; font: 500 2.25rem/1 var(--serif); color: var(--accent); margin-bottom: .9rem; }
.steps b { display: block; font-weight: 600; margin-bottom: .3rem; }
.steps p { color: var(--ink-2); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.cta-block {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem 3rem; align-items: center;
}
.cta-block h2 { max-width: 18ch; }
@media (max-width: 760px) { .cta-block { grid-template-columns: 1fr; } }

.prose { max-width: 42rem; }
.prose h2 { font-size: 1.5rem; margin: 2.5rem 0 .6rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--ink-2); }

/* ---------- Footer ---------- */

.site-footer {
    --ink: var(--maan); --ink-2: #c4cbd3; --muted: var(--mist); --lijn: var(--lijn-donker);
    background: var(--nacht); color: var(--maan); padding-block: 4rem 2.5rem;
}
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 2rem; }
.footer-grid .brand span { color: var(--maan); }
.footer-grid p { margin-top: 1rem; color: var(--mist); font-size: .9375rem; max-width: 22rem; }
.footer-grid h3 { font: 600 .875rem/1.2 var(--sans); color: var(--mist); margin-bottom: .9rem; letter-spacing: 0; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer-grid a { text-decoration: none; color: var(--maan); font-size: .9375rem; }
.footer-grid a:hover { text-decoration: underline; text-underline-offset: .2em; }
.footer-legal { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--lijn-donker); font-size: .875rem; color: var(--mist); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }

/* =====================================================================
   Suite-glas en aurora (oktober 2026)
   Aurora-banen en glas-tokens komen uit suite-glass.css (gedeeld met Life, Timeline en Finance).
   Donkere vlakken (hero, Life-band, footer) blijven in beide thema's nachtblauw, net als in de tools.
   ===================================================================== */

.hero, .page-hero, .band-dark { position: relative; isolation: isolate; overflow: hidden; }
.hero > .wrap, .page-hero > .wrap, .band-dark > .wrap { position: relative; z-index: 1; }
/* In donker thema loopt de hero rustig uit in de pagina-achtergrond, zoals in Life. */
.hero::after, .page-hero::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: 0;
    pointer-events: none; background: linear-gradient(180deg, transparent, var(--bg));
}
:root[data-theme="light"] .hero::after, :root[data-theme="light"] .page-hero::after { display: none; }
.band-dark .hero-aurora { inset: -4% -6% 30%; opacity: .75; }

.page-hero {
    --ink: var(--maan); --ink-2: #c4cbd3; --muted: var(--mist); --lijn: var(--lijn-donker); --accent: var(--goud);
    background: var(--nacht); color: var(--maan);
}
.page-hero .btn:not(.btn-goud) { color: var(--maan); }
.page-shot { position: relative; z-index: 2; padding-top: clamp(2rem, 4vw, 3rem); }

/* Schermafbeeldingen wisselen mee met het thema: elke shot staat er in donker en licht. */
:root[data-theme="dark"] .theme-light,
:root:not([data-theme="dark"]) .theme-dark { display: none !important; }

/* Glazen lijst om de schermafbeeldingen */
.shot {
    border-radius: var(--glass-radius);
    border: 1px solid var(--glass-line);
    background: var(--glass-bg);
    padding: 6px;
    box-shadow: var(--glass-shadow), 0 30px 70px -40px rgba(12, 24, 40, 0.55);
}
.shot img { border-radius: calc(var(--glass-radius) - 6px); }
.shot-stack .shot-front {
    -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
    box-shadow: var(--glass-shadow), 0 40px 80px -30px rgba(12, 24, 40, 0.7);
}
:root[data-theme="light"] .shot {
    border-color: rgba(20, 34, 56, 0.1);
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.55));
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 30px 70px -36px rgba(20, 34, 56, 0.35);
}

/* Demo-balk als glazen kaart */
.demo-bar { border-bottom: 0; position: relative; z-index: 2; }
.demo-bar .wrap {
    margin-top: 1.5rem; padding: 1.4rem 1.6rem;
    border-radius: var(--glass-radius); border: 1px solid var(--lijn);
    background: color-mix(in srgb, var(--surface) 70%, transparent);
    -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
}
.demo-bar + .section { border-top: 0; }

/* Life-band: dashboard in glas */
.dash.suite-glass { padding: 14px; }
.tile.suite-glass-tile { background: var(--glass-tile); border-color: var(--glass-tile-line); }
:root.test-view-on .dash.suite-glass { background: rgba(42, 26, 66, 0.55); }

/* ---------- Hero: draaibare ring uit Life (life-orbit.js) ---------- */

.hero {
    --h-text: var(--maan); --h-muted: var(--mist); --h-gold: var(--goud);
    --ring-text: var(--maan); --ring-muted: var(--mist); --ring-accent: var(--goud);
    --ring-gap: #13233a; --ring-now: #f6dc9c;
}
:root.test-view-on .hero { --ring-gap: #2c1c45; --ring-now: #ecd2ff; }
.ring-figure { container-type: inline-size; max-width: 560px; justify-self: end; width: 100%; }
.ring-figure figcaption { display: grid; gap: .6rem; justify-items: center; margin-top: 1rem; }
.ring-figure .ring-legend { margin-top: 0; }
.ring-hint { font-size: .8125rem; color: var(--mist); text-align: center; }
@media (max-width: 860px) { .ring-figure { justify-self: center; } }
@media (max-width: 560px) { .ring-figure { max-width: 320px; } }

.life-orbit { user-select: none; -webkit-user-select: none; }
.life-orbit .lo-hit,
.life-orbit .lo-handle,
.life-orbit .lo-item { touch-action: none; cursor: grab; }
.life-orbit .lo-hit { pointer-events: stroke; }
.life-orbit.is-dragging,
.life-orbit.is-dragging * { cursor: grabbing !important; }
.life-orbit .lo-item { opacity: 0; transition: opacity 0.32s ease; }
.life-orbit .lo-item.is-in { opacity: 1; }
.life-orbit .lo-dot { transition: opacity 0.32s ease; }
.life-orbit.is-dragging .lo-dot { transition: none; }
.life-orbit .lo-dot circle { transition: transform 0.18s ease; transform-box: fill-box; transform-origin: center; }
.life-orbit .lo-dot:hover circle { transform: scale(1.45); }
.life-orbit .lo-spend { transition: opacity 0.32s ease, filter 0.18s ease; }
.life-orbit .lo-spend:hover { filter: brightness(1.25); }
.life-orbit .lo-sleep:hover .lo-sleep-glow { opacity: 0.85; }
.life-orbit .lo-twinkle { animation: lo-twinkle 3.6s ease-in-out infinite; }
@keyframes lo-twinkle { 0%, 100% { opacity: 0.15; } 50% { opacity: 0.9; } }
.life-orbit .lo-center text { transition: fill 0.3s ease; }
.life-orbit.is-past .lo-center text:first-of-type { fill: var(--h-gold) !important; }
.life-orbit .lo-handle { cursor: grab; outline: none; }
.life-orbit .lo-now-glow { animation: lo-breathe 3.2s ease-in-out infinite; }
@keyframes lo-breathe { 50% { opacity: 0.95; } }
.life-orbit .lo-handle-halo { transition: opacity 0.2s ease; }
.life-orbit .lo-handle:hover .lo-handle-halo,
.life-orbit .lo-handle:focus-visible .lo-handle-halo,
.life-orbit.is-dragging .lo-handle-halo { opacity: 0.95; }
.life-orbit .lo-handle:focus-visible .lo-now-bar { stroke: #fff; stroke-width: 3; }
.life-orbit.is-past .lo-now-glow { animation: none; }
.life-orbit .lo-now-tag { pointer-events: none; }
.life-orbit .lo-dial text, .life-orbit .lo-dial line { transition: opacity 0.2s ease; }
.life-orbit.is-dragging .lo-dial text, .life-orbit.is-dragging .lo-dial line { transition: none; }
@media (prefers-reduced-motion: reduce) {
    .life-orbit .lo-twinkle, .life-orbit .lo-now-glow { animation: none; }
    .life-orbit .lo-item, .life-orbit .lo-dot { transition: none; }
}
.orbit-chip {
    position: absolute; top: calc(100cqw * 580 / 600 - 34px); right: 0;
    display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px;
    border-radius: 999px; border: 1px solid rgba(214, 226, 240, 0.18);
    background: rgba(19, 35, 58, 0.6);
    -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
    color: var(--h-text); font: 500 0.78rem/1 var(--sans);
    pointer-events: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.orbit-chip.is-back { pointer-events: auto; cursor: pointer; border-color: var(--h-gold); color: var(--h-gold); }
.orbit-chip.is-back:hover { background: rgba(221, 178, 71, 0.14); }
.orbit-tip {
    position: absolute; z-index: 5; left: 0; top: 0; max-width: 240px; padding: 7px 11px;
    border-radius: 10px; border: 1px solid rgba(214, 226, 240, 0.16);
    background: rgba(12, 24, 40, 0.62);
    -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
    color: var(--h-text); font: 500 0.8rem/1.35 var(--sans); white-space: pre-line;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    transform: translate(-50%, -100%) translateY(4px); opacity: 0; pointer-events: none;
    transition: opacity 0.16s ease, transform 0.16s ease;
}
.orbit-tip.is-on { opacity: 1; transform: translate(-50%, -100%); }

/* ---------- Op je telefoon ---------- */

.mobile-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.mobile-shots { display: grid; grid-template-columns: repeat(2, minmax(0, 260px)); justify-content: center; gap: clamp(1rem, 4vw, 3rem); }
.phone-shot { margin: 0; display: grid; gap: .9rem; justify-items: center; }
.phone-shot img {
    width: 100%; height: auto; border-radius: 34px; padding: 7px;
    background: linear-gradient(150deg, rgba(30, 44, 70, 0.95), rgba(8, 14, 26, 0.98));
    border: 1px solid var(--glass-line);
    box-shadow: var(--glass-shadow), 0 40px 70px -35px rgba(12, 24, 40, .6);
}
.phone-shot:nth-child(2) { transform: translateY(2.5rem); }
.phone-shot figcaption { font-size: .875rem; color: var(--muted); }
@media (max-width: 860px) {
    .mobile-grid { grid-template-columns: 1fr; }
    .phone-shot:nth-child(2) { transform: none; }
}

/* ---------- Over: LinkedIn ---------- */

.about img { box-shadow: 0 0 0 1px var(--lijn), 0 24px 50px -28px rgba(12, 24, 40, 0.6); }
.linkedin {
    display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.4rem;
    padding: .55rem 1rem .55rem .7rem; border-radius: 999px;
    border: 1px solid var(--lijn); text-decoration: none;
    font-weight: 600; font-size: .9375rem; color: var(--ink);
    transition: border-color .15s ease, background-color .15s ease;
}
.linkedin svg { color: #0a66c2; flex: none; }
:root[data-theme="dark"] .linkedin svg { color: #4ea3f0; }
.linkedin:hover { border-color: #0a66c2; background: rgba(10, 102, 194, 0.08); }
