/* THEONI x Veldhome B.V. — theoni.goedgestart.nl */

:root {
  --ink: #12213f;
  --ink-soft: #3c4a66;
  --navy: #16407c;
  --blue: #2160a8;
  --blue-deep: #123c74;
  --green: #4a9440;
  --paper: #f7f9fc;
  --paper-blue: #eef4fa;
  --line: #d9e2ee;
  --white: #ffffff;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --maxw: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Typografie */
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 560;
  line-height: 1.12;
  color: var(--ink);
  text-wrap: balance;
}

h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); letter-spacing: -0.008em; }
h3 { font-size: 1.25rem; font-weight: 600; }

h1 em, h2 em {
  font-style: italic;
  font-weight: 480;
  color: var(--blue);
}

.kicker {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

.lead { font-size: 1.13rem; color: var(--ink-soft); max-width: 58ch; }

/* Knoppen: compact en verfijnd */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 10px 22px;
  border-radius: 3px;
  border: 1px solid var(--navy);
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--blue-deep); }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--paper-blue); }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand { display: flex; flex-direction: column; line-height: 1.1; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-name {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 640;
  letter-spacing: 0.2em;
  color: var(--navy);
}
.brand-sub {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 2px;
}
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
}
.site-nav a:hover { color: var(--blue); text-decoration: none; }
.site-nav .btn { margin-left: 6px; }
.nav-toggle { display: none; }

/* Fullwidth hero met wisselende beelden en teksten */
.hero-full {
  position: relative;
  height: max(72vh, 620px);
  overflow: hidden;
  color: var(--white);
}
@media (max-width: 700px) {
  .hero-full { height: max(68vh, 640px); }
  .hero-full .hero-slide picture img { object-position: 74% center; }
}
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.4s ease, visibility 0s linear 1.4s;
}
.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transition: opacity 1.4s ease;
}
.hero-slide picture,
.hero-slide picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 27, 51, 0.18) 30%, rgba(14, 27, 51, 0.82) 100%);
}
.hero-full-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 120px;
  padding-bottom: 76px;
}
.hero-heading {
  font-family: var(--serif);
  font-weight: 560;
  line-height: 1.12;
  text-wrap: balance;
  color: var(--white);
  font-size: clamp(2.8rem, 7vw, 5rem);
}
.hero-heading em {
  font-style: italic;
  font-weight: 480;
  color: #a8cdf4;
}
.hero-full .kicker { color: #cfe0f5; }
.hero-full h1 {
  color: var(--white);
  font-size: clamp(2.8rem, 7vw, 5rem);
}
.hero-full h1 em { color: #a8cdf4; }
.hero-full .lead {
  color: #e4ecf7;
  margin: 20px 0 30px;
  max-width: 46ch;
}
.btn-invert {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn-invert:hover { background: var(--paper-blue); }
.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.75);
}
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.14); }

/* Hero */
.hero { background: var(--paper); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding-top: 84px;
  padding-bottom: 96px;
}
.hero-text .lead { margin: 22px 0 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-note { font-size: 0.85rem; color: var(--ink-soft); margin-top: 18px; }

/* Offset fotokader */
.photo-frame { position: relative; }
.photo-frame::before {
  content: "";
  position: absolute;
  inset: -16px 16px 16px -16px;
  border: 1px solid var(--blue);
  border-radius: 2px;
  z-index: 0;
}
.photo-frame img,
.photo-frame video {
  position: relative;
  z-index: 1;
  border-radius: 2px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-caption {
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-top: 14px;
  padding-left: 2px;
}

/* Secties */
section { padding: 88px 0; }
section.tint { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head .lead { margin-top: 16px; }

/* Genummerde redactionele items */
.numbered-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.numbered-item {
  padding: 28px 26px 30px 0;
  border-bottom: 1px solid var(--line);
}
.numbered-item + .numbered-item { border-left: 1px solid var(--line); padding-left: 26px; }
.numbered-item:nth-child(4n+1) { border-left: none; padding-left: 0; }
.numbered-item .num {
  font-family: var(--serif);
  font-size: 0.9rem;
  font-style: italic;
  color: var(--blue);
  display: block;
  margin-bottom: 12px;
}
.numbered-item h3 { font-size: 1.05rem; margin-bottom: 8px; }
.numbered-item p { font-size: 0.92rem; color: var(--ink-soft); }

/* Verhaal met ghost-initiaal */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 64px;
  align-items: center;
}
.ghost-wrap { position: relative; }
.ghost-initial {
  position: absolute;
  top: -70px;
  left: -30px;
  font-family: var(--serif);
  font-size: 13rem;
  line-height: 1;
  color: var(--paper-blue);
  z-index: 0;
  user-select: none;
  pointer-events: none;
}
.ghost-wrap > * { position: relative; z-index: 1; }
.story-grid p { margin-bottom: 16px; color: var(--ink-soft); }
.story-grid p strong { color: var(--ink); }

/* Awards */
.award-count {
  font-family: var(--serif);
  font-size: clamp(3.4rem, 7vw, 5.4rem);
  font-weight: 560;
  color: var(--navy);
  line-height: 1;
}
.award-count small {
  display: block;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 12px;
}
.awards-grid { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 64px; align-items: start; }
.award-list { list-style: none; border-top: 1px solid var(--line); }
.award-list li {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
}
.award-list .a-year { color: var(--ink-soft); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Kwaliteit / analyse */
.analysis-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin-top: 8px; }
.stat {
  padding: 22px 18px 24px 0;
  border-bottom: 1px solid var(--line);
}
.stat + .stat { border-left: 1px solid var(--line); padding-left: 18px; }
.stat .v { font-family: var(--serif); font-size: 1.9rem; color: var(--navy); line-height: 1.1; }
.stat .l { font-size: 0.76rem; color: var(--ink-soft); margin-top: 6px; letter-spacing: 0.04em; }

table.analysis {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
table.analysis caption {
  text-align: left;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 12px;
}
table.analysis td {
  padding: 9px 2px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}
table.analysis td:last-child { text-align: right; color: var(--ink); font-variant-numeric: tabular-nums; }
.analysis-note { font-size: 0.78rem; color: var(--ink-soft); margin-top: 14px; }

/* Quote-artefact */
.pull-quote {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 0 30px;
}
.pull-quote::before {
  content: "\201C";
  font-family: var(--serif);
  font-size: 4.5rem;
  line-height: 1;
  height: 0.6em;
  overflow: visible;
  color: var(--blue);
  opacity: 0.3;
  display: block;
  margin-bottom: 10px;
}
.pull-quote blockquote {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.8vw, 1.9rem);
  font-style: italic;
  font-weight: 480;
  line-height: 1.35;
  color: var(--ink);
}
.pull-quote figcaption { margin-top: 20px; font-size: 0.85rem; color: var(--green); font-weight: 600; }

/* Groen accent uit de huisstijl: markeert natuur-claims zoals op de flyer */
.eco-mark {
  font-weight: 600;
  color: var(--green);
}
input[type="checkbox"] { accent-color: var(--green); }

/* Doelgroepen */
.audience-list { list-style: none; border-top: 1px solid var(--line); counter-reset: aud; }
.audience-list li {
  counter-increment: aud;
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 15px 2px;
  border-bottom: 1px solid var(--line);
}
.audience-list li::before {
  content: counter(aud, decimal-leading-zero);
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--blue);
  min-width: 30px;
}
.audience-list .aud-name { font-weight: 600; min-width: 150px; }
.audience-list .aud-desc { color: var(--ink-soft); font-size: 0.92rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

/* Webshop teaser */
.shop-teaser { text-align: center; }
.shop-teaser .lead { margin: 16px auto 30px; }

/* FAQ */
.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 34px 18px 2px;
  font-weight: 600;
  font-size: 1rem;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--blue);
}
.faq details[open] summary::after { content: "\2013"; }
.faq .faq-body { padding: 0 2px 20px; color: var(--ink-soft); font-size: 0.95rem; max-width: 62ch; }

/* Contact / footer */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; }
.contact-block h3 { margin-bottom: 14px; }
.contact-lines { list-style: none; }
.contact-lines li {
  padding: 10px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 0.97rem;
  display: flex;
  gap: 18px;
}
.contact-lines .cl { min-width: 110px; color: var(--ink-soft); font-size: 0.85rem; padding-top: 2px; }

.site-footer {
  background: var(--navy);
  color: #c7d6ea;
  padding: 40px 0;
  font-size: 0.85rem;
}
.site-footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer a { color: #e8f0fa; }
.footer-brand { font-family: var(--serif); letter-spacing: 0.18em; color: var(--white); font-size: 1rem; }

/* ---------- Webshop ---------- */
.shop-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 56px;
  align-items: start;
}
.product-list { border-top: 1px solid var(--line); }
.product {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 26px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.product-img img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid var(--line);
  background: var(--paper);
}
.product h3 { font-size: 1.15rem; margin-bottom: 4px; }
.product .p-sub { font-size: 0.88rem; color: var(--ink-soft); }
.product .p-price {
  font-size: 0.88rem;
  color: var(--navy);
  font-weight: 600;
  margin-top: 8px;
}
.qty {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
}
.qty button {
  width: 34px;
  height: 38px;
  border: none;
  background: var(--paper);
  font-size: 1.1rem;
  color: var(--navy);
  cursor: pointer;
}
.qty button:hover { background: var(--paper-blue); }
.qty input {
  width: 52px;
  height: 38px;
  border: none;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  text-align: center;
  font-size: 0.95rem;
  font-family: var(--sans);
}
.qty input:focus { outline: none; background: var(--paper-blue); }
.soon-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  border: 1px solid var(--green);
  border-radius: 2px;
  padding: 3px 9px;
}

/* Bestelpaneel */
.order-panel {
  position: sticky;
  top: 92px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--paper);
  padding: 28px;
}
.order-panel h3 { margin-bottom: 6px; }
.order-panel .op-sub { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 18px; }
.cart-lines { list-style: none; margin-bottom: 6px; }
.cart-lines li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.92rem;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.cart-empty { font-size: 0.9rem; color: var(--ink-soft); padding: 8px 0 12px; }

.order-form { margin-top: 18px; display: grid; gap: 12px; }
.order-form label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
  display: block;
  margin-bottom: 4px;
}
.order-form input, .order-form textarea, .order-form select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-family: var(--sans);
  font-size: 0.93rem;
  background: var(--white);
  color: var(--ink);
}
.order-form input:focus, .order-form textarea:focus, .order-form select:focus {
  outline: none;
  border-color: var(--blue);
}
.order-form .checkline { display: flex; gap: 10px; align-items: baseline; font-size: 0.88rem; color: var(--ink-soft); }
.order-form .checkline input { width: auto; }
.form-status { font-size: 0.9rem; margin-top: 6px; }
.form-status.ok { color: var(--green); }
.form-status.err { color: #a33; }

.shop-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
  border-left: 2px solid var(--blue);
  padding: 4px 0 4px 16px;
  margin: 26px 0 0;
  max-width: 58ch;
}

/* Skip-link en focus */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--navy);
  color: var(--white);
  padding: 10px 18px;
  font-size: 0.9rem;
}
.skip-link:focus { left: 0; text-decoration: none; }
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 2px;
}

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

/* Klantenlijst */
.client-list {
  list-style: none;
  columns: 2;
  column-gap: 64px;
  border-top: 1px solid var(--line);
}
.client-list li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  break-inside: avoid;
}
.client-list .c-place { color: var(--ink-soft); font-size: 0.85rem; white-space: nowrap; }
@media (max-width: 700px) { .client-list { columns: 1; } }

/* Formulier foutstatus per veld */
.order-form input.invalid, .order-form textarea.invalid {
  border-color: #a33;
  background: #fdf6f6;
}
.privacy-note { font-size: 0.78rem; color: var(--ink-soft); }

/* Sticky mobiele actiebalk */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
}
.mobile-cta .btn { flex: 1; text-align: center; }
@media (max-width: 700px) {
  .mobile-cta { display: flex; }
  body { padding-bottom: 68px; }
}

/* Page hero (subpagina's) */
.page-hero { background: var(--paper); border-bottom: 1px solid var(--line); padding: 64px 0 56px; }
.page-hero .lead { margin-top: 14px; }

/* Responsief */
@media (max-width: 900px) {
  section { padding: 64px 0; }
  .hero .wrap { grid-template-columns: 1fr; gap: 48px; padding-top: 56px; padding-bottom: 64px; }
  .numbered-grid { grid-template-columns: 1fr 1fr; }
  .numbered-item { padding-left: 0 !important; }
  .numbered-item:nth-child(2n) { border-left: 1px solid var(--line); padding-left: 22px !important; }
  .numbered-item:nth-child(2n+1) { border-left: none; }
  .story-grid, .awards-grid, .analysis-grid, .split, .contact-grid, .shop-layout { grid-template-columns: 1fr; gap: 44px; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2n+1) { border-left: none; padding-left: 0; }
  .stat:nth-child(2n) { border-left: 1px solid var(--line); padding-left: 18px; }
  .order-panel { position: static; }
  .site-nav { display: none; }
  .site-nav.open {
    display: flex;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 18px 24px 24px;
    gap: 16px;
  }
  .nav-toggle {
    display: block;
    background: none;
    border: 1px solid var(--line);
    border-radius: 3px;
    padding: 7px 12px;
    font-size: 0.85rem;
    font-family: var(--sans);
    color: var(--navy);
    cursor: pointer;
  }
}
@media (max-width: 560px) {
  .numbered-grid { grid-template-columns: 1fr; }
  .numbered-item { border-left: none !important; padding-left: 0 !important; }
  .product { grid-template-columns: 84px 1fr; }
  .product-img img { width: 84px; height: 84px; }
  .product .p-qty { grid-column: 2; }
  .ghost-initial { font-size: 8rem; top: -46px; left: -12px; }
}
