/* ==========================================================
   Hangen! — website
   Zelf-gehoste Inter (geen Google Fonts-verzoek = geen
   IP-adres naar Google, past bij de privacy-belofte).
   ========================================================== */

@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #040b0d;          /* diepste sectie-achtergrond */
  --bg: #081315;           /* basis */
  --surface: #09201d;      /* groene oppervlakken */
  --surface-2: #0b181f;    /* blauwgroene oppervlakken */
  --green: #20613c;        /* accent */
  --green-bright: #2f8656; /* randen / gloed */
  --green-soft: #8fb9a0;   /* iconen, kleine labels */
  --text: #d5cec6;         /* warme gebroken wit */
  --text-strong: #efe9e0;
  --muted: rgba(213, 206, 198, 0.66);
  --faint: rgba(213, 206, 198, 0.44);
  --line: rgba(213, 206, 198, 0.09);

  --wrap: 1160px;
  --gutter: clamp(20px, 5vw, 48px);
  --header-h: 64px;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--green-soft);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- typografie ---------- */

.eyebrow {
  margin: 0 0 18px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-soft);
}

.h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  line-height: 1.1;
  font-weight: 650;
  letter-spacing: -0.028em;
  color: var(--text-strong);
  text-wrap: balance;
}

.lead {
  margin: 0;
  font-size: clamp(1.0625rem, 1.3vw, 1.1875rem);
  line-height: 1.62;
  color: var(--muted);
  max-width: 34em;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(6, 18, 21, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 650;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  color: var(--text-strong);
}

.brand img { display: block; width: auto; height: 40px; }

/* taalkeuze rechts in de kop */
.lang {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.8125rem;
  font-weight: 560;
  letter-spacing: 0.06em;
}

.lang a {
  display: inline-block;
  padding: 6px 9px;
  border-radius: 8px;
  color: var(--faint);
  text-decoration: none;
}

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

.lang a[aria-current="true"] {
  color: var(--text-strong);
  background: rgba(32, 97, 60, 0.22);
}

/* ---------- knoppen ---------- */

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 22px 0 18px;
  border-radius: 14px;
  background: rgba(8, 30, 26, 0.72);
  border: 1px solid rgba(47, 134, 86, 0.42);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--text-strong);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.005em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 100ms ease-out;
}

.store svg { width: 22px; height: 22px; flex: none; }

.store small {
  display: block;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--faint);
  line-height: 1.2;
}

.store span { line-height: 1.15; }

.store:active { transform: scale(0.97); }

a.store:hover,
a.store:focus-visible { border-color: var(--green-bright); }

/* ---------- telefoon-mockup (CSS) ---------- */

.phone {
  --w: 260px;
  width: var(--w);
  max-width: 100%;
  margin: 0;
  font-size: calc(var(--w) / 26);
  flex: none;
}

.phone__body {
  position: relative;
  padding: 0.32em;
  border-radius: 4.3em;
  background: linear-gradient(150deg, #4a4f52 0%, #25292b 22%, #121416 50%, #2a2e30 82%, #464b4e 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    0 1px 0 rgba(255, 255, 255, 0.05),
    0 50px 90px -30px rgba(0, 0, 0, 0.85),
    0 20px 40px -20px rgba(0, 0, 0, 0.6);
}

/* zijknoppen */
.phone__body::before,
.phone__body::after {
  content: "";
  position: absolute;
  width: 0.28em;
  border-radius: 0.2em;
  background: linear-gradient(90deg, #3c4144, #1b1e20);
}
.phone__body::before { left: -0.22em; top: 18%; height: 9%; box-shadow: 0 3.4em 0 #25292b; }
.phone__body::after { right: -0.22em; top: 26%; height: 13%; }

.phone__bezel {
  padding: 0.62em;
  border-radius: 4em;
  background: #020304;
}

.phone__screen {
  position: relative;
  overflow: hidden;
  border-radius: 3.4em;
  background: var(--screen, #0d1115);
  padding-top: 3.1em; /* ruimte voor 'status bar' + eiland */
}

.phone__screen img { display: block; width: 100%; height: auto; aspect-ratio: 640 / 1272; object-fit: cover; object-position: top; }

.phone__island {
  position: absolute;
  top: 0.8em;
  left: 50%;
  transform: translateX(-50%);
  width: 6.8em;
  height: 1.9em;
  border-radius: 999px;
  background: #000;
  z-index: 2;
}

/* glasreflectie */
.phone__screen::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(118deg,
    rgba(255, 255, 255, 0.13) 0%,
    rgba(255, 255, 255, 0.04) 26%,
    rgba(255, 255, 255, 0) 38%);
  z-index: 3;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--bg);
}

.hero__photo {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 55%;
}

.hero::before {
  /* leesbaarheid links + zachte overgang naar donker onderaan */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 16, 18, 0.8) 0%, rgba(6, 16, 18, 0.5) 34%, rgba(6, 16, 18, 0.08) 64%, rgba(6, 16, 18, 0) 100%),
    linear-gradient(180deg, rgba(6, 16, 18, 0.35) 0%, rgba(6, 16, 18, 0) 22%, rgba(6, 16, 18, 0) 72%, var(--ink) 100%);
}

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 40px;
  min-height: clamp(600px, 48vw, 720px);
  padding-block: 72px 88px;
}

.hero__title {
  margin: 0 0 22px;
  font-size: clamp(3.6rem, 8.4vw, 6.75rem);
  line-height: 0.95;
  font-weight: 750;
  letter-spacing: -0.045em;
  color: var(--text-strong);
}

.hero__title img {
  display: block;
  --logo-w: clamp(260px, 38vw, 480px);
  width: var(--logo-w);
  height: auto;
  margin-left: calc(var(--logo-w) * -0.02);
}

.hero .lead {
  color: rgba(226, 220, 212, 0.86);
  max-width: 30em;
  margin-bottom: 34px;
}

.hero__note {
  margin: 20px 0 0;
  font-size: 0.875rem;
  color: var(--faint);
}

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

.hero__render {
  width: clamp(360px, 46vw, 640px);
  max-width: none;
  margin-right: calc(var(--gutter) * -1);
  filter: drop-shadow(-24px 48px 60px rgba(0, 0, 0, 0.7))
          drop-shadow(0 0 70px rgba(47, 134, 86, 0.18));
}

/* eenmalig, rustig laadmoment */
@media (prefers-reduced-motion: no-preference) {
  .hero__copy > * {
    animation: rise 900ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  .hero__copy > :nth-child(2) { animation-delay: 70ms; }
  .hero__copy > :nth-child(3) { animation-delay: 140ms; }
  .hero__copy > :nth-child(4) { animation-delay: 210ms; }
  .hero__copy > :nth-child(5) { animation-delay: 260ms; }
  .hero__render {
    animation: phone-in 1200ms cubic-bezier(0.2, 0.7, 0.2, 1) 120ms both;
  }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@keyframes phone-in {
  from { opacity: 0; transform: translateY(36px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 860px) {
  .hero .wrap {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    padding-block: 56px 72px;
    gap: 56px;
  }
  .hero__photo img { object-position: 86% 50%; }
  .hero::before {
    background:
      linear-gradient(180deg, rgba(6, 16, 18, 0.55) 0%, rgba(6, 16, 18, 0.72) 45%, rgba(6, 16, 18, 0.45) 70%, var(--ink) 100%);
  }
  .hero__render { width: 112%; max-width: 600px; margin: 0 -6%; }
}

/* ---------- features ('over') ---------- */

.features {
  background: var(--ink);
  padding-block: clamp(80px, 10vw, 128px);
  border-top: 1px solid var(--line);
}

.features .wrap {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}

.features__intro .h2 { max-width: 11em; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(28px, 4vw, 56px);
}

.feature {
  padding-block: 4px 34px;
}

.feature:nth-child(n + 3) {
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.icon-tile {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border-radius: 11px;
  background: rgba(32, 97, 60, 0.16);
  border: 1px solid rgba(94, 160, 120, 0.22);
  color: var(--green-soft);
}

.icon-tile svg { width: 21px; height: 21px; }

.feature h3 {
  margin: 0 0 8px;
  font-size: 1.0625rem;
  font-weight: 620;
  letter-spacing: -0.01em;
  color: var(--text-strong);
}

.feature p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.62;
  color: var(--muted);
  max-width: 30em;
}

@media (max-width: 900px) {
  .features .wrap { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature:nth-child(n + 2) { padding-top: 30px; border-top: 1px solid var(--line); }
}

/* ---------- showcase ---------- */

.showcase {
  position: relative;
  background: var(--ink);
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.showcase__band {
  position: relative;
  isolation: isolate;
}

.showcase__photo {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.showcase__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 0% 0%;
}

.showcase__band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 11, 13, 0) 0%, rgba(4, 11, 13, 0) 40%, rgba(4, 11, 13, 0.6) 56%, rgba(4, 11, 13, 0.85) 100%),
    linear-gradient(180deg, rgba(4, 11, 13, 0) 0%, rgba(4, 11, 13, 0) 45%, rgba(4, 11, 13, 0.75) 72%, var(--ink) 92%);
}

.showcase__band .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: clamp(360px, 31vw, 460px);
  align-items: center;
  padding-block: 72px;
}

.showcase__copy { grid-column: 2; }
.showcase__copy .h2 { margin-bottom: 20px; }

.showcase__phones {
  padding-block: 8px clamp(80px, 9vw, 120px);
  background: radial-gradient(60% 55% at 50% 42%, rgba(32, 97, 60, 0.12), transparent 70%);
}

.showcase__phones .rule {
  height: 1px;
  background: var(--line);
  margin-bottom: 64px;
}

.phone-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.phone-row li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.phone-row .phone { --w: clamp(200px, 19vw, 238px); }

.caption {
  margin-top: 34px;
  max-width: 19em;
}

.caption h3 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 620;
  letter-spacing: -0.01em;
  color: var(--text-strong);
}

.caption h3 svg { width: 20px; height: 20px; color: var(--green-soft); flex: none; }

.caption p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.58;
  color: var(--muted);
}

@media (max-width: 860px) {
  .showcase__band .wrap {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    padding-block: 240px 40px;
  }
  .showcase__copy { grid-column: 1; }
  .showcase__photo { bottom: auto; height: 330px; }
  .showcase__photo img { object-position: 18% 50%; }
  .showcase__band::before {
    background: linear-gradient(180deg, rgba(4, 11, 13, 0) 0%, rgba(4, 11, 13, 0) 150px, var(--ink) 330px);
  }
  .showcase__phones .rule { margin-bottom: 48px; }

  /* op mobiel: onder elkaar, ruim beeld per scherm */
  .phone-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 56px;
  }
  .phone-row .phone { --w: min(240px, 62vw); }
}

/* ---------- uitleg van de naam (EN/DE) ---------- */

.name-note {
  background: var(--ink);
  border-top: 1px solid var(--line);
  padding-block: clamp(72px, 9vw, 112px);
}

.name-note .wrap {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.name-note .lead + .lead { margin-top: 18px; }

.name-note .lead strong { color: var(--text-strong); font-weight: 620; }

@media (max-width: 900px) {
  .name-note .wrap { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- afsluiter ---------- */

.closing {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  text-align: center;
  background: var(--ink);
}

.closing__photo {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.closing__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 18% 55%;
}

.closing::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, var(--ink) 0%, rgba(4, 11, 13, 0.25) 26%, rgba(4, 11, 13, 0.35) 70%, var(--ink) 100%),
    radial-gradient(60% 70% at 50% 50%, rgba(4, 11, 13, 0.6) 0%, rgba(4, 11, 13, 0) 100%);
}

.closing .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-block: clamp(100px, 10vw, 150px);
}

.closing .icon-tile { margin-bottom: 26px; }

.closing .h2 {
  max-width: 14em;
  margin-bottom: 20px;
}

.closing .store-row { justify-content: center; }

.closing .lead {
  max-width: 31em;
  margin-bottom: 36px;
  color: rgba(213, 206, 198, 0.74);
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--ink);
  padding-block: 40px 48px;
  text-align: center;
  font-size: 0.875rem;
  color: var(--faint);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
  margin-bottom: 14px;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover { color: var(--text-strong); }

.site-footer p { margin: 0; }

/* ---------- juridische pagina's ---------- */

.legal {
  background:
    radial-gradient(900px 400px at 15% -10%, rgba(32, 97, 60, 0.18), transparent 70%),
    var(--ink);
  padding-block: clamp(56px, 8vw, 96px) clamp(80px, 10vw, 120px);
}

.legal article {
  max-width: 720px;
  margin-inline: auto;
}

.legal h1 {
  margin: 0 0 10px;
  font-size: clamp(2.2rem, 5vw, 3.25rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--text-strong);
}

.legal .updated {
  margin: 0 0 48px;
  font-size: 0.875rem;
  color: var(--faint);
}

.legal h2 {
  margin: 52px 0 14px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 1.3125rem;
  font-weight: 640;
  letter-spacing: -0.015em;
  color: var(--text-strong);
}

.legal h3 {
  margin: 30px 0 8px;
  font-size: 1.0625rem;
  font-weight: 620;
  color: var(--text-strong);
}

.legal p,
.legal li {
  color: rgba(213, 206, 198, 0.8);
  line-height: 1.7;
}

.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: 6px; }
.legal li::marker { color: var(--green-soft); }

.legal strong { color: var(--text-strong); font-weight: 620; }

.legal a {
  color: var(--green-soft);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

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

.back {
  display: inline-block;
  margin-bottom: 36px;
  font-size: 0.875rem;
  color: var(--muted);
  text-decoration: none;
}

.back:hover { color: var(--text-strong); }

/* in te vullen gegevens: goed zichtbaar tot ze vervangen zijn */
.ph {
  display: inline-block;
  padding: 0 7px;
  border-radius: 6px;
  border: 1px dashed rgba(213, 206, 198, 0.55);
  background: rgba(213, 206, 198, 0.06);
  color: var(--text-strong);
  font-size: 0.95em;
}

/* ---------- toegankelijkheid ---------- */

@media (prefers-reduced-transparency: reduce) {
  .site-header { background: #061215; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .store { background: #08201b; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ---------- iconen (sprite) ---------- */

.ico {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
