/* WeTurno — huisstijl
   Zwart #0E1A14 · Donkergroen #1F3A2E · Goud #D9B870 (spaarzaam) · Crème #F5EFE2 (spaarzaam) · Wit #FFFFFF
   Logo: Gloock · Titels: Anton · Labels: DM Mono · Lopende tekst: Work Sans */

:root {
  --zwart: #0E1A14;
  --groen-donker: #1F3A2E;
  --goud: #D9B870;
  --goud-donker: #7D632B;
  --creme: #F5EFE2;
  --wit: #FFFFFF;

  --font-logo: "Gloock", serif;
  --font-titel: "Anton", sans-serif;
  --font-label: "DM Mono", monospace;
  --font-tekst: "Work Sans", sans-serif;

  --container-max: 1200px;
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 4px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html.intro-lock,
html.intro-lock body {
  overflow: hidden;
  height: 100%;
}

body {
  font-family: var(--font-tekst);
  color: var(--zwart);
  background-color: var(--creme);
  line-height: 1.6;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: var(--font-titel);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.95;
  font-weight: 400;
}

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

/* ---------- Toegankelijkheid ---------- */

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 300;
  background: var(--goud);
  color: var(--zwart);
  font-family: var(--font-label);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 1rem;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--goud);
  outline-offset: 3px;
  border-radius: var(--radius);
}

/* ---------- Pagina-raster ---------- */

.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  pointer-events: none;
}

.grid-overlay span {
  width: 1px;
  height: 100%;
  background: rgba(255, 255, 255, 0.06);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius);
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  transition: opacity 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.btn--gold {
  background-color: var(--goud);
  color: var(--zwart);
}

.btn--gold:hover {
  opacity: 0.85;
}

.btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--wit);
  padding: 0.6rem 1.4rem;
}

.btn--ghost:hover {
  border-color: var(--goud);
  color: var(--goud);
}

/* ---------- Intro-animatie ---------- */

.intro-backdrop {
  position: fixed;
  inset: 0;
  z-index: 199;
  background: var(--zwart);
  transition: opacity 0.7s var(--ease-smooth);
}

.intro-backdrop.fade {
  opacity: 0;
  pointer-events: none;
}

.intro__logo {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 200;
  width: 170px;
  height: 170px;
  transform: translate(-50%, -50%);
  transition: transform 0.95s var(--ease-smooth), opacity 0.4s ease 0.55s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.intro__logo.fade-out {
  opacity: 0;
}

.intro__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
}

.intro__ring circle {
  fill: none;
  stroke: var(--goud);
  stroke-width: 1.5;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 0.9s var(--ease-smooth);
}

.intro__logo.draw .intro__ring circle {
  stroke-dashoffset: 0;
}

.intro__word {
  position: relative;
  z-index: 1;
  font-family: var(--font-logo);
  color: var(--goud);
  font-size: 1.5rem;
  white-space: nowrap;
}

.intro__we,
.intro__turno {
  display: inline-block;
  transition: transform 0.6s var(--ease-smooth);
}

.intro__we {
  transform: translateX(-160%);
}

.intro__turno {
  transform: translateX(160%);
}

.intro__logo.assemble .intro__we,
.intro__logo.assemble .intro__turno {
  transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {
  .intro-backdrop,
  .intro__logo {
    display: none !important;
  }
}

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

.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--zwart);
  padding: 6rem 1.25rem 4rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--groen-donker);
  clip-path: polygon(0 0, 100% 0, 100% 62%, 0 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 140px 140px;
}

/* Navigatie */

.nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 1.5rem;
}

.nav__logo img {
  width: 110px;
  opacity: 0;
  transition: opacity 0.4s ease 0.55s;
}

.nav__menu {
  display: none;
}

/* Constante, zachte drijfbeweging — onafhankelijk van de muis, houdt de hero levend */

@property --float-x {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}

@property --float-y {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}

@keyframes drift-1 {
  0%, 100% { --float-x: 0px; --float-y: 0px; }
  50% { --float-x: 2.5px; --float-y: -4px; }
}

@keyframes drift-2 {
  0%, 100% { --float-x: 0px; --float-y: 0px; }
  50% { --float-x: -3px; --float-y: 3px; }
}

@keyframes drift-3 {
  0%, 100% { --float-x: 0px; --float-y: 0px; }
  50% { --float-x: 2px; --float-y: 2.5px; }
}

@keyframes drift-4 {
  0%, 100% { --float-x: 0px; --float-y: 0px; }
  50% { --float-x: -1.5px; --float-y: -2.5px; }
}

/* Kaartjes stromen van links uit beeld naar rechts uit beeld, elk op een eigen laan/tempo */

@keyframes card-flow {
  from { transform: translateX(-320px) rotateX(6deg) rotateY(-10deg); }
  to { transform: translateX(calc(100vw + 320px)) rotateX(6deg) rotateY(-10deg); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__card,
  .hero__frame,
  .hero__scanline,
  .hero__tick {
    animation: none !important;
  }

  .hero__card {
    left: 6%;
    transform: rotateX(6deg) rotateY(-10deg);
  }
}

/* Zwevende kaartjes — uitgelijnd op het raster, uniforme rotatie */

.hero__cards {
  position: absolute;
  inset: 0;
  z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
  perspective: 1600px;
  pointer-events: none;
}

.hero__card {
  position: absolute;
  left: 0;
  width: 170px;
  height: 108px;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-top: 2px solid var(--goud);
  box-shadow: 0 24px 48px -18px rgba(0, 0, 0, 0.6);
  animation: card-flow linear infinite;
  display: none;
}

.hero__card--lane1 { top: 12%; animation-duration: 46s; animation-delay: -6s; }
.hero__card--lane2 { top: 30%; animation-duration: 58s; animation-delay: -32s; }
.hero__card--lane3 { top: 50%; animation-duration: 50s; animation-delay: -18s; }
.hero__card--lane4 { top: 68%; animation-duration: 62s; animation-delay: -44s; }
.hero__card--lane5 { top: 85%; animation-duration: 52s; animation-delay: -9s; }

.hero__card-stars {
  display: block;
  color: var(--goud);
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 0.6rem;
}

/* Dieptelagen rond de titel: verre kaders + scanlijnen (achter), hoekmarkeringen (middendiepte) */

.hero__frame {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: none;
}

.hero__frame--outer {
  width: min(72vw, 860px);
  height: min(46vw, 380px);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.015);
  transform: translate3d(calc(-50% + var(--px, 0px) + var(--float-x)), calc(-50% + var(--py, 0px) + var(--float-y)), -280px);
  animation: drift-4 30s ease-in-out infinite;
}

.hero__frame--inner {
  width: min(58vw, 660px);
  height: min(34vw, 280px);
  border-color: rgba(217, 184, 112, 0.22);
  transform: translate3d(calc(-50% + var(--px, 0px) + var(--float-x)), calc(-50% + var(--py, 0px) + var(--float-y)), -150px);
  animation: drift-2 27s ease-in-out infinite;
  animation-delay: -9s;
}

.hero__scanline {
  position: absolute;
  top: 50%;
  left: 50%;
  display: none;
}

.hero__scanline--h {
  width: min(72vw, 860px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217, 184, 112, 0.55), transparent);
  transform: translate3d(calc(-50% + var(--px, 0px) + var(--float-x)), calc(-50% + var(--py, 0px) + var(--float-y)), -150px);
  animation: drift-3 25s ease-in-out infinite;
  animation-delay: -4s;
}

.hero__scanline--v {
  width: 1px;
  height: min(46vw, 380px);
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transform: translate3d(calc(-50% + var(--px, 0px) + var(--float-x)), calc(-50% + var(--py, 0px) + var(--float-y)), -150px);
  animation: drift-1 28s ease-in-out infinite;
  animation-delay: -16s;
}

.hero__tick {
  position: absolute;
  width: 22px;
  height: 22px;
  opacity: 0.85;
  transform: translate3d(calc(var(--px, 0px) + var(--float-x)), calc(var(--py, 0px) + var(--float-y)), -60px);
  display: none;
}

.hero__tick--tl { animation: drift-2 20s ease-in-out infinite; }
.hero__tick--tr { animation: drift-3 23s ease-in-out infinite; animation-delay: -9s; }
.hero__tick--bl { animation: drift-4 21s ease-in-out infinite; animation-delay: -5s; }
.hero__tick--br { animation: drift-1 24s ease-in-out infinite; animation-delay: -13s; }

.hero__tick--tl { top: 25%; left: 16%; border-top: 2px solid var(--goud); border-left: 2px solid var(--goud); }
.hero__tick--tr { top: 25%; right: 16%; border-top: 2px solid var(--goud); border-right: 2px solid var(--goud); }
.hero__tick--bl { bottom: 25%; left: 16%; border-bottom: 2px solid var(--goud); border-left: 2px solid var(--goud); }
.hero__tick--br { bottom: 25%; right: 16%; border-bottom: 2px solid var(--goud); border-right: 2px solid var(--goud); }

.hero__card-index {
  display: block;
  font-family: var(--font-label);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--goud);
  margin-bottom: 0.65rem;
}

.hero__card-bar {
  display: block;
  width: 60%;
  height: 8px;
  background: var(--wit);
  opacity: 0.85;
  margin-bottom: 0.5rem;
  border-radius: 2px;
}

.hero__card-line {
  display: block;
  height: 5px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.22);
  margin-bottom: 5px;
}

.hero__card-line--short {
  width: 45%;
}

/* Titel */

.hero__title {
  position: relative;
  z-index: 3;
  font-family: var(--font-titel);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.95;
  color: var(--wit);
  text-align: center;
  font-size: clamp(2.4rem, 9.5vw, 6.5rem);
  max-width: 92vw;
}

.line-mask {
  display: block;
  overflow: hidden;
}

.line-inner {
  display: block;
  transform: translateY(110%);
  transition: transform 0.7s var(--ease);
}

.line-inner.is-in {
  transform: translateY(0);
}

.hero__subtitle {
  position: relative;
  z-index: 3;
  font-family: var(--font-tekst);
  color: rgba(255, 255, 255, 0.78);
  text-align: center;
  max-width: 34rem;
  margin: 1.5rem auto 0;
  font-size: 1.05rem;
}

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

.section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 5rem 0;
  position: relative;
  z-index: 4;
}

.section--cream {
  background-color: var(--creme);
}

.section--dark {
  background-color: var(--zwart);
  color: var(--wit);
}

.section__inner {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.label {
  display: block;
  font-family: var(--font-label);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--goud-donker);
  margin-bottom: 2.5rem;
}

.label--light {
  color: var(--goud);
}

.section h2 {
  font-size: clamp(2rem, 5.5vw, 3.25rem);
  margin-bottom: 1.25rem;
  color: var(--zwart);
}

.section--dark h2 {
  color: var(--wit);
}

.section > .section__inner > p,
.contact__intro {
  max-width: 34rem;
  font-size: 1.05rem;
}

.section--dark > .section__inner > p,
.section--dark .contact__intro {
  color: rgba(255, 255, 255, 0.78);
}

/* Gestapelde items (Wat we doen / Hoe het werkt) */

.stack {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.stack__item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.stack__item--offset {
  margin-left: calc(100% / 6);
}

.stack__index {
  font-family: var(--font-titel);
  text-transform: uppercase;
  font-size: 4rem;
  line-height: 1;
  color: rgba(14, 26, 20, 0.12);
  flex-shrink: 0;
  margin-top: -0.5rem;
}

.stack__index--gold {
  color: rgba(255, 255, 255, 0.08);
}

.stack__body {
  margin-top: 0.75rem;
}

.stack__body h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--zwart);
}

.section--dark .stack__body h3 {
  color: var(--wit);
}

.stack__body p {
  max-width: 30rem;
  font-size: 1rem;
}

.section--dark .stack__body p {
  color: rgba(255, 255, 255, 0.78);
}

/* Over ons */

.about {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* =====================================================================
   TIJDELIJK: nog geen foto van Emile en Vincent. Dit blok (.about__founders
   t.e.m. .about__founder-role, plus de bijhorende regel in de mediaquery
   verder in dit bestand) toont in de plaats de namen van de oprichters.

   ZODRA ER EEN ECHTE FOTO IS:
   1) Vervang in index.html de hele <div class="about__founders">…</div>
      (met de twee <div class="about__founder">-blokken erin) door één
      <img src="afbeeldingen/oprichters.jpg" alt="Emile Verdonck en Vincent
      Thiriart, oprichters van WeTurno" class="about__photo">.
   2) Verwijder alle CSS-regels tussen deze comment en de volgende
      "/* Over ons — einde tijdelijk blok */"-comment.
   3) Geef .about__photo een breedte/hoogte en border-radius: var(--radius),
      zoals de rest van de huisstijl (zie hierboven bij "Over ons").
   ===================================================================== */

.about__founders {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  flex-shrink: 0;
}

.about__founder-name {
  display: block;
  font-family: var(--font-titel);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.95;
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  color: var(--zwart);
}

.about__founder-line {
  display: block;
  width: 3rem;
  height: 2px;
  background: var(--goud);
  margin: 0.65rem 0 0.5rem;
}

.about__founder-role {
  display: block;
  font-family: var(--font-label);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--goud-donker);
}

/* Over ons — einde tijdelijk blok */

.about__text h2 {
  margin-bottom: 1rem;
}

.about__text p {
  max-width: 32rem;
}

/* Contact */

.contact__intro {
  margin-bottom: 1.75rem;
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact__list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--goud);
  font-weight: 600;
  font-size: 1.15rem;
  font-family: var(--font-tekst);
}

.contact__list a:hover {
  text-decoration: underline;
}

/* Footer */

.footer {
  background-color: var(--zwart);
  padding: 2.5rem 1.5rem;
  position: relative;
  z-index: 4;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: var(--container-max);
  margin: 0 auto;
}

.footer__logo {
  width: 90px;
}

.footer__meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.footer p {
  font-family: var(--font-label);
  color: var(--wit);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  opacity: 0.6;
}

.footer p a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* ---------- Scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .hero__card,
  .hero__frame,
  .hero__scanline,
  .hero__tick {
    transition: none !important;
  }

  .line-inner {
    transform: none !important;
    transition: none !important;
  }
}

/* ---------- Tablet en groter ---------- */

@media (min-width: 640px) {
  .hero__card,
  .hero__frame,
  .hero__scanline,
  .hero__tick {
    display: block;
  }
}

@media (min-width: 860px) {
  .nav__menu {
    display: flex;
    gap: 2.25rem;
    font-family: var(--font-label);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--wit);
    opacity: 0.85;
  }

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

  .about {
    flex-direction: row;
    align-items: center;
  }

  .about__founders {
    margin-right: 1rem;
  }

  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer__meta {
    align-items: flex-end;
  }
}

@media (min-width: 1100px) {
  .hero__card {
    width: 200px;
    height: 128px;
  }
}
