/* Cybermint homepage — design tokens and styles (zie HANDOVER hoofdstuk 3) */

/* Lettertypes staan lokaal: er gaat geen verzoek naar Google en dus ook geen
   IP-adres van een bezoeker. Variabele woff2-bestanden, één per subset, die
   alle gebruikte gewichten dekken (Inter 400-600, Manrope 600-800). De
   latin-ext-bestanden worden alleen opgehaald als er een teken uit dat bereik
   op de pagina staat. Bron: Google Fonts, Open Font License. */

/* Inter latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Inter latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Manrope latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url('../fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Manrope latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url('../fonts/manrope-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #132320;
  --bg-deep: #0E1B18;
  --surface: #1B302B;
  --line: #2C4740;
  --line-strong: #3A5A51;
  --text: #EAF5F0;
  --muted: #B4CCC3;
  --mint: #2BD9A0;
  --mint-text: #4FE3B2;
  --mint-hover: #8AF0CE;
  --on-mint: #0B1F1A;

  --font-head: Manrope, "Segoe UI", system-ui, sans-serif;
  --font-body: Inter, "Segoe UI", system-ui, sans-serif;

  --content: 1120px;
  --gutter: 24px;
  --radius: 12px;
  --radius-sm: 8px;
  --card-pad: 32px;
  --gap: 24px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

a { color: var(--mint-text); }
a:hover { color: var(--mint-hover); }

:focus-visible {
  outline: 2px solid var(--mint-text);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  max-width: var(--content);
  margin: 0 auto;
}

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

h1, h2, h3 { font-family: var(--font-head); margin: 0; }

h1 {
  font-weight: 800;
  font-size: clamp(40px, 5.2vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.025em;
}

h2 {
  font-weight: 800;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.label {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mint-text);
}

.label--tight { letter-spacing: 0.08em; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 15px 28px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--mint);
  color: var(--on-mint);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover { background: var(--mint-hover); color: var(--on-mint); }

.btn--sm { padding: 11px 20px; font-size: 15px; }

.btn--dark { background: var(--on-mint); color: var(--text); }
.btn--dark:hover { background: #061310; color: var(--text); }

.link-strong {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
}

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

.site-header {
  padding: 14px var(--gutter);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

/* Logo links, menu en taalschakelaar rechts. */
.site-nav { margin-left: auto; }

.site-logo {
  display: flex;
  align-items: center;
  min-height: 44px;
  line-height: 0;
}
.site-logo img { display: block; height: 44px; width: auto; }

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
}

.site-nav__cta { white-space: nowrap; }

.site-nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-size: 15px;
  text-decoration: none;
}

.site-nav__link:hover { color: var(--text); }

/* Taalschakelaar */

.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.lang-btn {
  min-height: 44px;
  padding: 7px 12px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}

.lang-btn:hover:not([aria-pressed="true"]) { color: var(--text); }

.lang-btn[aria-pressed="true"] {
  background: var(--text);
  color: var(--bg);
}

.lang-btn:focus-visible { outline-offset: -3px; }

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

.section { padding: 76px var(--gutter); }
.section--hero { padding: 64px var(--gutter) 64px; }
.section--flush { padding: 0 var(--gutter); }
.section--results { padding: 80px var(--gutter) 76px; }
.section--ways { padding: 72px var(--gutter); background: var(--bg-deep); }
.section--quote { padding: 0 var(--gutter) 76px; }
.section--contact { padding: 0 var(--gutter) 76px; }

.section-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px;
}

.hero__text {
  flex: 999 1 520px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero__sub {
  margin: 0;
  max-width: 580px;
  font-size: 20px;
  line-height: 1.55;
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 8px;
}

.hero__media { flex: 1 1 340px; min-width: 0; }

.hero__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 6;
  object-fit: cover;
  object-position: 50% 40%;
  border-radius: var(--radius);
}

/* ---------- Bewijsblok ---------- */

.proof {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.proof__media {
  flex: 1 1 300px;
  min-width: 0;
  min-height: 240px;
  position: relative;
}

.proof__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% 50%;
}

.proof__body {
  flex: 999 1 480px;
  min-width: 0;
  padding: 44px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.proof__claim {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.25;
}

/* ---------- Kaarten ---------- */

.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
}

.card {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--card-pad);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card h3 { font-weight: 700; font-size: 23px; }
.card p { margin: 0; color: var(--muted); }

.card--result { flex: 1 1 460px; }
.card--way { flex: 1 1 300px; gap: 14px; }
.card--way-first { border-color: var(--mint); }

.stack-lg {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.stack-md {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.stack-sm {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ---------- Werk ---------- */

.work-photos {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
}

.work-photos {
  align-items: flex-start;
}

.work-photos img {
  flex: 1 1 300px;
  min-width: 0;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
}

/* Uitsnede per foto, zodat het onderwerp in beeld blijft. */
.work-photos img:nth-child(1) { object-position: 45% 45%; }
.work-photos img:nth-child(2) { object-position: 50% 45%; }
.work-photos img:nth-child(3) { object-position: 45% 45%; }

.work-list { display: flex; flex-direction: column; }

.work-item {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 40px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.work-item:last-child { border-bottom: 1px solid var(--line); }

.work-item h3 {
  flex: 1 1 240px;
  font-weight: 700;
  font-size: 21px;
}

.work-item p {
  margin: 0;
  flex: 3 1 480px;
  min-width: 0;
  color: var(--muted);
}

.term-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.term-list li {
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--text);
}

/* ---------- Quote ---------- */

.quote {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 0 0 32px;
  border-left: 3px solid var(--mint);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.quote p {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.4;
}

.quote footer {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mint-text);
}

/* ---------- Contactblok ---------- */

.contact {
  background: var(--mint);
  border-radius: var(--radius);
  padding: 60px var(--card-pad);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
  color: var(--on-mint);
}

.contact h2 {
  max-width: 760px;
  font-size: clamp(30px, 4.4vw, 48px);
  line-height: 1.1;
  color: var(--on-mint);
}

.contact__sub {
  margin: 0;
  max-width: 560px;
  font-size: 19px;
  color: var(--on-mint);
}

.contact__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 32px;
  font-size: 16px;
  font-weight: 600;
}

.contact__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--on-mint);
}

.contact__links a:hover { color: var(--on-mint); }

.contact :focus-visible { outline-color: var(--on-mint); }

/* ---------- Toast ("gekopieerd") ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 10;
  transform: translateX(-50%) translateY(10px);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  background: var(--text);
  color: var(--bg);
  font-size: 15px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .toast { transition: opacity 0.2s ease; }
}

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

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px var(--gutter);
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.site-footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* ---------- Responsief ---------- */

@media (max-width: 860px) {
  :root { --card-pad: 24px; }

  .section { padding: 64px var(--gutter); }
  .section--hero { padding: 48px var(--gutter) 56px; }
  .section--results { padding: 72px var(--gutter) 64px; }
  .section--ways { padding: 64px var(--gutter); }
  .section--quote, .section--contact { padding: 0 var(--gutter) 64px; }

  .hero { gap: 40px; }
  .proof__body { padding: 32px 24px; }
  .contact { padding: 56px 24px; }
  .stack-lg { gap: 32px; }
}

/* Telefoon: logo en taalschakelaar op één regel, menu eronder. De knop in
   het menu vervalt; de hero heeft er direct onder dezelfde knop staan. */
@media (max-width: 640px) {
  .site-header { padding: 10px var(--gutter); }

  .site-header .container { gap: 4px 12px; }

  .site-logo { margin-right: auto; }
  .site-logo img { height: 38px; }

  .lang-toggle { order: 2; }

  .site-nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    gap: 0 22px;
  }

  .site-nav__cta { display: none; }
}

@media (max-width: 560px) {
  :root { --gutter: 20px; }

  body { font-size: 16px; }

  h1 { font-size: 36px; }

  .hero { gap: 32px; }
  .hero__text { gap: 20px; }
  .hero__sub { font-size: 18px; }
  .hero__actions { gap: 16px; margin-top: 4px; }

  .section { padding: 56px var(--gutter); }
  .section--hero { padding: 40px var(--gutter) 48px; }
  .section--results { padding: 56px var(--gutter) 56px; }
  .section--ways { padding: 56px var(--gutter); }
  .section--quote, .section--contact { padding: 0 var(--gutter) 56px; }

  .proof__body { padding: 28px 20px; }
  .contact { padding: 44px 20px; }
  .contact__sub { font-size: 17px; }

  .work-item { padding: 20px 0; }
  .quote { padding-left: 20px; }
}

/* Smalle telefoons: de hoofdknop over de volle breedte. */
@media (max-width: 420px) {
  .site-nav { gap: 0 16px; }
  .hero__actions { align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .hero__actions .link-strong { justify-content: center; }
  .contact .btn { width: 100%; }
}

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