/* ===== Kleuren en maten (stijl: filmisch rood, KokoClimb / New Heights) ===== */
:root {
  --bg: #0a0505;          /* bijna zwart, met een rode zweem */
  --bg-2: #130909;        /* vlakken */
  --red: #d4161f;         /* accent */
  --red-deep: #7a0710;    /* gloed */
  --ink: #f6efea;         /* tekst */
  --muted: rgba(246, 239, 234, 0.66);
  --line: rgba(255, 255, 255, 0.12);
  --glass: rgba(255, 255, 255, 0.06);

  --font: 'Geist', system-ui, sans-serif;

  --step-small: 0.875rem;
  --step-body: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-lead: clamp(1.15rem, 1rem + 0.6vw, 1.5rem);
  --step-head: clamp(2.4rem, 1.5rem + 3.6vw, 5rem);
  --step-display: clamp(3.75rem, 1rem + 12vw, 13rem);

  --m: clamp(16px, 3vw, 40px);
  --radius: 22px;
  --section: clamp(88px, 11vw, 168px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul { list-style: none; }
::selection { background: var(--red); color: var(--ink); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

h1, h2, h3 { font-weight: 600; letter-spacing: -0.045em; line-height: 0.95; }
h2 { font-size: var(--step-head); }
h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); letter-spacing: -0.03em; }

/* Filmkorrel */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 100; pointer-events: none;
  opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ===== Knoppen en links ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 1.5rem;
  border-radius: 999px;
  font-weight: 500; font-size: 0.95rem; text-decoration: none; white-space: nowrap;
  transition: background .25s, color .25s, border-color .25s, transform .15s;
}
.btn:active { transform: scale(0.97); }
.btn--light { background: var(--ink); color: var(--bg); }
.btn--light:hover { background: var(--red); color: var(--ink); }
.btn--ghost { border: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(10px); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--small { min-height: 40px; padding: 0 1.1rem; font-size: var(--step-small); }

.link { text-decoration: none; color: var(--muted); font-weight: 500; transition: color .2s; }
.link:hover { color: var(--ink); }

.section-head {
  display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.section-head p { color: var(--muted); max-width: 32ch; }

/* ===== Navigatie ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 18px var(--m);
  transition: background .3s;
}
.nav.scrolled { background: rgba(10, 5, 5, 0.75); backdrop-filter: blur(14px); }
.nav__logo { display: flex; align-items: center; gap: 8px; font-weight: 600; letter-spacing: -0.02em; text-decoration: none; }
.nav__logo svg { width: 22px; height: 22px; color: var(--red); }
.nav__links {
  display: flex; gap: 4px; padding: 5px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--glass); backdrop-filter: blur(12px);
}
.nav__links a { padding: 7px 16px; border-radius: 999px; font-size: var(--step-small); text-decoration: none; color: var(--muted); transition: color .2s, background .2s; }
.nav__links a:hover { color: var(--ink); background: var(--glass); }
.nav .btn { justify-self: end; }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto auto;
  padding: 96px var(--m) var(--m);
  overflow: hidden;
  isolation: isolate;
}
.hero__glow {
  position: absolute; inset: -10% -10% 0; z-index: -1;
  background:
    radial-gradient(60% 55% at 50% 18%, rgba(212, 22, 31, 0.75), transparent 70%),
    radial-gradient(90% 70% at 50% 0%, var(--red-deep), transparent 75%);
}
.hero__center { position: relative; display: grid; place-items: center; min-height: 0; }
.hero__title {
  font-size: var(--step-display);
  letter-spacing: -0.06em;
  line-height: 0.8;
  text-align: center;
  white-space: nowrap;
  /* Letters vervagen naar beneden, zoals bij "New Heights" */
  color: var(--ink);
  -webkit-mask-image: linear-gradient(180deg, #000 30%, rgba(0, 0, 0, 0.08) 95%);
  mask-image: linear-gradient(180deg, #000 30%, rgba(0, 0, 0, 0.08) 95%);
  align-self: start;
  margin-top: clamp(8px, 4vh, 48px);
}
.hero__cutout {
  position: absolute; left: 50%; top: 52%;
  width: clamp(240px, 34vw, 540px);
  translate: -50% -50%;
  /* Rode, filmische kleuring zoals de karabiner */
  filter: grayscale(1) sepia(1) saturate(3.2) hue-rotate(-52deg) brightness(0.78) contrast(1.25) drop-shadow(0 30px 60px rgba(0, 0, 0, 0.55));
  pointer-events: none;
  will-change: transform;
}
.hero__intro { text-align: center; display: grid; justify-items: center; gap: 22px; margin-top: 8px; }
.hero__lead { font-size: var(--step-lead); line-height: 1.35; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

.hero__bottom {
  display: flex; justify-content: space-between; align-items: end; gap: 24px;
  margin-top: clamp(24px, 4vh, 48px);
}
.hero__stats { display: flex; gap: clamp(20px, 4vw, 56px); }
.stat__num { font-size: clamp(1.8rem, 1.2rem + 2vw, 3rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat dd { color: var(--muted); font-size: var(--step-small); margin-top: 6px; }

.hero__card {
  display: grid; grid-template-columns: 96px auto; gap: 14px; align-items: center;
  padding: 8px 18px 8px 8px;
  border: 1px solid var(--line); border-radius: 18px;
  background: var(--glass); backdrop-filter: blur(14px);
  text-decoration: none;
  transition: border-color .25s, transform .25s;
}
.hero__card:hover { border-color: var(--ink); transform: translateY(-3px); }
.hero__card img { width: 96px; height: 72px; object-fit: cover; border-radius: 12px; }
.hero__card-text { display: grid; font-size: var(--step-small); line-height: 1.4; }
.hero__card-text span { color: var(--muted); }

/* ===== Over mij ===== */
.about {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 96px);
  align-items: center;
  padding: var(--section) var(--m);
}
.about__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__text h2 { margin-bottom: 32px; }
.about__text > p { max-width: 54ch; color: var(--muted); }
.about__text > p.about__lede { font-size: var(--step-lead); line-height: 1.35; color: var(--ink); margin-bottom: 18px; }
.about__facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 40px; }
.about__facts li { border: 1px solid var(--line); background: var(--glass); border-radius: 999px; padding: 6px 14px; font-size: var(--step-small); }
.about__quote { border-left: 2px solid var(--red); padding-left: 24px; }
.about__quote p { font-size: var(--step-lead); line-height: 1.35; font-weight: 500; letter-spacing: -0.02em; }
.about__quote cite { display: block; margin-top: 12px; font-style: normal; color: #ff5a62; font-weight: 500; font-size: var(--step-small); }

/* ===== Niche ===== */
.niche { padding: 0 var(--m) var(--section); }
.niche__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.niche__card {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  min-height: 560px;
  display: flex; align-items: end;
  background: var(--bg-2);
}
.niche__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.niche__card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,5,5,0) 30%, rgba(10,5,5,0.92) 85%);
}
.niche__card:hover img { transform: scale(1.06); }
.niche__body { position: relative; z-index: 1; padding: 28px; }
.niche__body p { color: var(--muted); margin: 10px 0 16px; max-width: 30ch; }
.niche__body ul { display: flex; flex-wrap: wrap; gap: 6px; }
.niche__body li { border: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(8px); border-radius: 999px; padding: 4px 12px; font-size: var(--step-small); }

/* ===== Instagram-embeds ===== */
.reel { border-radius: 18px; overflow: hidden; background: #fff; }
.reel .instagram-media { margin: 0 !important; min-width: 0 !important; width: 100% !important; border-radius: 0 !important; box-shadow: none !important; border: 0 !important; } /* taste-skill-ignore: zet de schaduw van Instagram juist uit */

/* ===== Merken ===== */
.brands { padding: var(--section) var(--m); }
.brands__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.brand {
  position: relative;
  aspect-ratio: 4 / 3; min-width: 0;
  display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--glass);
  transition: border-color .3s, background .3s;
}
.brand:hover { border-color: rgba(212, 22, 31, 0.6); background: rgba(212, 22, 31, 0.08); }
.logo { height: 64px; width: auto; max-width: 64%; object-fit: contain; filter: brightness(0) invert(0.95); transition: transform .3s; }
.logo--logitech { height: 72px; }
.logo--flexispot { height: 36px; }
.logo--klimwinkel { height: 56px; }
.brand:hover .logo { transform: scale(1.06); }
.brand__tag { position: absolute; top: 14px; right: 14px; background: var(--red); border-radius: 999px; padding: 3px 10px; font-size: 0.75rem; font-weight: 600; }

/* ===== Instagram ===== */
.insta { padding: 0 var(--m) var(--section); }
.insta__grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
  align-items: start;
  max-width: 1180px; margin-inline: auto;
}
@media (max-width: 1100px) { .insta__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; } }
@media (max-width: 720px) { .insta__grid { grid-template-columns: minmax(0, 1fr); max-width: 400px; } }
.insta__grid .reel { flex: none; width: 100%; }

/* ===== Contact ===== */
.contact { padding: 0 var(--m) var(--m); }
.contact__panel {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: calc(var(--radius) + 8px);
  padding: clamp(56px, 9vw, 140px) var(--m);
  text-align: center;
  display: grid; justify-items: center; gap: 24px;
  background: var(--red-deep);
}
.contact__panel::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(70% 90% at 50% 0%, var(--red), transparent 70%);
}
.contact__panel { grid-template-columns: 1fr 1.1fr; text-align: left; justify-items: stretch; align-items: start; gap: clamp(32px, 5vw, 72px); padding-inline: clamp(24px, 5vw, 72px); }
.contact__panel h2 { max-width: 12ch; margin-bottom: 20px; }
.contact__intro p { max-width: 40ch; color: var(--muted); }
.contact__direct { display: grid; gap: 6px; margin-top: 32px; font-size: var(--step-small); }
.contact__direct span { color: var(--muted); }
.contact__direct .link { color: var(--ink); overflow-wrap: anywhere; }
.contact__direct .link:hover { color: #ffb3b8; }

/* Formulier */
.form {
  display: grid; gap: 14px;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(10, 5, 5, 0.45); backdrop-filter: blur(14px);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; font-size: var(--step-small); }
.field span { color: var(--muted); }
.field em { font-style: normal; opacity: .7; }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 14px;
  transition: border-color .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23f6efea' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.field select option { color: #111; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: rgba(255, 255, 255, 0.1); }
.form__honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__submit { justify-self: start; border: 0; cursor: pointer; }
.form__submit[disabled] { opacity: .6; cursor: wait; }
.form__status { font-size: var(--step-small); min-height: 1.5em; }
.form__status.is-ok { color: #9be7a7; }
.form__status.is-error { color: #ffb3b8; }

/* ===== Footer ===== */
.footer { display: flex; justify-content: space-between; gap: 16px; padding: 28px var(--m) 36px; color: var(--muted); font-size: var(--step-small); }

/* ===== Intro: hero verborgen tot de animatie start ===== */
.intro .hero__title, .intro .hero__cutout, .intro .hero__intro, .intro .hero__bottom, .intro .nav { visibility: hidden; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ===== Tablet ===== */
@media (max-width: 1024px) {
  .nav__links { display: none; }
  .nav { grid-template-columns: 1fr auto; }
  .about { grid-template-columns: 1fr; }
  .about__media { aspect-ratio: 4 / 3; }
  .niche__grid { grid-template-columns: 1fr; }
  .niche__card { min-height: 460px; }
  .brands__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__card { display: none; }
  .contact__panel { grid-template-columns: 1fr; }
}

/* ===== Telefoon ===== */
@media (max-width: 640px) {
  .hero { padding-top: 84px; }
  .hero__title { white-space: normal; font-size: clamp(3.5rem, 19vw, 5.5rem); line-height: 0.85; }
  .hero__cutout { width: 78vw; top: 58%; }
  .hero__bottom { justify-content: center; }
  .hero__stats { gap: 18px; }
  .stat { text-align: center; }
  .hero__actions .btn { flex: 1 1 100%; }
  .logo { height: 44px; }
  .logo--logitech { height: 52px; }
  .logo--flexispot { height: 26px; }
  .logo--klimwinkel { height: 40px; }
  .footer { flex-direction: column; }
  .form__row { grid-template-columns: 1fr; }
  .form__submit { justify-self: stretch; }
}
