/* ============================================================
   Ordanes — styles.css
   Donker thema, monochroom, Poppins.
   Kleuren komen uit het visitekaartje (card-front.svg).
   ============================================================ */

@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/Poppins-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/Poppins-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/Poppins-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #060606;
  --bg-soft: #0b0b0b;
  --bg-card: #0e0e0e;
  --line: #1f1f1f;
  --line-strong: #2e2e2e;
  --text: #f5f3f0;
  --muted: #a0a4a8;
  --dim: #75797d;
  --radius: 14px;
  --wrap: 1080px;
  --head-h: 88px;
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 300;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

h1, h2, h3 {
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}

h1 { font-size: clamp(1.85rem, 1.1rem + 2.6vw, 2.8rem); }
h2 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.5rem); }
h3 { font-size: clamp(1.08rem, 1rem + 0.35vw, 1.25rem); font-weight: 400; }

p { margin: 0 0 1em; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 4vw, 2.5rem);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--text);
  color: var(--bg);
  padding: 0.6rem 1rem;
  z-index: 100;
  border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

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

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

.site-head {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(6, 6, 6, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.head-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--head-h);
}

.brand img {
  width: 108px;
  opacity: 0.92;
}

.site-head nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 1.9rem);
  font-size: 0.92rem;
}

.site-head nav a {
  text-decoration: none;
  color: var(--muted);
  transition: color 0.2s ease;
}

.site-head nav a:hover { color: var(--text); }

.nav-cta {
  color: var(--text) !important;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.nav-cta:hover {
  border-color: var(--text);
  background: rgba(245, 243, 240, 0.06);
}

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

.hero {
  position: relative;
  min-height: calc(100svh - var(--head-h));
  display: grid;
  align-content: center;
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(3rem, 7vw, 5rem);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -30% 0 auto 50%;
  width: min(1200px, 160vw);
  aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(circle at 50% 40%,
              rgba(245, 243, 240, 0.11),
              rgba(245, 243, 240, 0.03) 45%,
              transparent 72%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  text-align: center;
}

.hero-logo {
  width: clamp(150px, 24vw, 210px);
  margin: 0 auto clamp(1.4rem, 3.4vw, 2rem);
  opacity: 0.95;
}

.hero h1 { margin-bottom: 0.7em; max-width: 26ch; margin-inline: auto; }

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  color: var(--muted);
  margin: 0 0 0.9rem;
}

.lead {
  color: var(--muted);
  font-size: clamp(1.02rem, 0.95rem + 0.45vw, 1.2rem);
  max-width: 46ch;
  margin: 0 auto 2rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.btn {
  display: inline-block;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 400;
  padding: 0.82rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--text);
  color: #0a0a0a;
  transition: transform 0.18s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover { background: #fff; transform: translateY(-1px); }

.btn.ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}

.btn.ghost:hover {
  background: rgba(245, 243, 240, 0.05);
  border-color: var(--text);
}

.badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  margin: 2.6rem 0 0;
  padding: 0;
  color: var(--dim);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badges li { position: relative; }

.badges li + li::before {
  content: "";
  position: absolute;
  left: -0.85rem;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--line-strong);
  transform: translateY(-50%);
}

/* ---------- sections ---------- */

.section {
  padding: clamp(3.4rem, 8vw, 6.5rem) 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--head-h) + 16px);
}

.eyebrow {
  color: var(--dim);
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 0.9rem;
}

.section h2 { margin-bottom: clamp(1.6rem, 3vw, 2.6rem); }

/* ---------- cards ---------- */

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 760px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.card:hover {
  border-color: var(--line-strong);
  background: #101010;
}

.card h3 { margin-bottom: 0.55rem; }

.card p {
  color: var(--muted);
  font-size: 0.94rem;
  margin-bottom: 1rem;
}

.card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.88rem;
  color: var(--dim);
}

.card li {
  padding-left: 1rem;
  position: relative;
}

.card li + li { margin-top: 0.25rem; }

.card li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--line-strong);
}

/* ---------- steps ---------- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: clamp(1.4rem, 3vw, 2.2rem);
  counter-reset: step;
}

.steps li { border-top: 1px solid var(--line-strong); padding-top: 1.1rem; }

.steps .num {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  color: var(--dim);
  margin-bottom: 0.5rem;
}

.steps h3 { margin-bottom: 0.4rem; }

.steps p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
}

/* ---------- werk ---------- */

.work {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 900px) {
  .work { grid-template-columns: repeat(3, 1fr); }
}

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

.work-card .tag {
  color: var(--dim);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 0.6rem;
}

.work-card .meta {
  list-style: none;
  margin: auto 0 0;
  padding: 1rem 0 0;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
  color: var(--dim);
}

.work-card .meta li { padding-left: 1rem; position: relative; }
.work-card .meta li + li { margin-top: 0.25rem; }
.work-card .meta li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--line-strong);
}

/* ---------- tarieven ---------- */

.prices {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 900px) {
  .prices { grid-template-columns: repeat(3, 1fr); }
  /* houd de prijsregel op één hoogte, ook als een titel twee regels wordt */
  .price-card h3 { min-height: 2.3em; }
}

.price-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  background: var(--bg-card);
}

.price-card h3 { margin-bottom: 0.35rem; }

.price-card p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
}

.amount {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: clamp(1.8rem, 1.2rem + 2vw, 2.4rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--text) !important;
  margin: 0.35rem 0 0.8rem !important;
}

.amount .from {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
}

.price-note {
  max-width: 62ch;
  margin: 1.6rem 0 0;
  color: var(--dim);
  font-size: 0.86rem;
  line-height: 1.6;
}

/* ---------- faq ---------- */

.faq { border-top: 1px solid var(--line); }

.faq details { border-bottom: 1px solid var(--line); }

.faq summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 0;
  cursor: pointer;
  list-style: none;
  font-size: 1.02rem;
  color: var(--text);
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  color: var(--dim);
  font-size: 1.25rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq details[open] summary::after { transform: rotate(45deg); }

.faq p {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 68ch;
  margin: 0 0 1.1rem;
  padding-right: 2rem;
}

/* ---------- over ---------- */

.prose { max-width: 62ch; }

.legal { padding-top: clamp(2.4rem, 6vw, 4rem); }
.legal h1 { margin-bottom: 0.3rem; }
.legal-meta { color: var(--muted); font-size: 0.86rem; margin-bottom: 2.6rem; }

.prose h2 {
  font-size: clamp(1.12rem, 1.02rem + 0.45vw, 1.32rem);
  font-weight: 400;
  margin: 2.2rem 0 0.65rem;
}
.prose h2:first-child { margin-top: 0; }
.prose ul { margin: 0 0 1.1em; padding-left: 1.15em; color: var(--muted); }
.prose li { margin-bottom: 0.45rem; }
.prose strong { color: var(--text); font-weight: 500; }
.prose a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { text-decoration: none; }

.prose p { color: var(--muted); }

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.2rem;
  margin: clamp(2rem, 4vw, 3rem) 0 0;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}

.facts dt {
  color: var(--dim);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.facts dd { margin: 0; font-size: 0.98rem; }

/* ---------- contact ---------- */

.contact { background: var(--bg-soft); }

.contact .lead { margin-left: 0; text-align: left; }

.contact h2 { margin-bottom: 0.5em; }

.contact .actions { justify-content: flex-start; margin-top: 1.8rem; }

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

.site-foot {
  border-top: 1px solid var(--line);
  padding: 2.4rem 0 2.8rem;
  font-size: 0.9rem;
}

.foot-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.6rem;
}

.foot-logo { width: 92px; margin-bottom: 0.9rem; opacity: 0.85; }

.foot-meta { text-align: right; }

.foot-meta p { margin: 0 0 0.35rem; }

.foot-meta a {
  color: var(--muted);
  text-decoration: none;
}

.foot-meta a:hover { color: var(--text); }

.muted { color: var(--muted); }
.small { font-size: 0.8rem; }
.foot-meta .small { color: var(--dim); }

@media (max-width: 860px) {
  .site-head nav { gap: 0.85rem; font-size: 0.84rem; }
  .brand img { width: 96px; }
}

@media (max-width: 640px) {
  :root { --head-h: 72px; }
  .head-inner { min-height: var(--head-h); }
  .brand img { width: 86px; }
  .site-head nav { gap: 0.75rem; font-size: 0.8rem; }
  .site-head nav a[href="#aanpak"],
  .site-head nav a[href="#werk"],
  .site-head nav a[href="#faq"],
  .site-head nav a[href="#over"] { display: none; }
  .nav-cta { padding: 0.4rem 0.8rem; }
  .badges { gap: 0.4rem 1rem; font-size: 0.72rem; }
  .badges li + li::before { display: none; }
  .hero-logo { width: 132px; }
  .foot-inner { flex-direction: column; }
  .foot-meta { text-align: left; }
  .contact .actions { justify-content: flex-start; }
}

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

/* ---------- demo's ---------- */

.demo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.4rem;
  margin-top: 2.2rem;
}

.demo-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #0b0b0b;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.demo-card:hover { transform: translateY(-3px); border-color: #3a3a3a; }

.demo-preview {
  aspect-ratio: 16 / 10;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.45rem;
  padding: 1.5rem;
}
.demo-preview.salon { background: #f6f1ea; color: #2a211a; }
.demo-serif { font-family: Georgia, "Times New Roman", serif; font-size: 1.45rem; letter-spacing: 0.02em; }
.demo-preview.installateur { background: #f7f8f7; color: #123a5c; }
.demo-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #123a5c;
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}
.demo-line {
  display: block;
  width: 60%;
  height: 6px;
  border-radius: 4px;
  background: currentColor;
  opacity: 0.16;
}
.demo-line.short { width: 40%; }
.demo-preview.leeg { background: transparent; border-bottom: 1px dashed var(--line); color: var(--muted); }
.demo-plus { font-size: 1.8rem; opacity: 0.5; }

.demo-body { padding: 1.25rem 1.35rem 1.5rem; display: grid; gap: 0.45rem; }
.demo-body .tag {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.66rem;
  color: var(--muted);
  margin: 0;
}
.demo-body h2 { font-size: 1.15rem; margin: 0; }
.demo-body p { color: var(--muted); font-size: 0.9rem; margin: 0; }
.demo-body .meta { list-style: none; margin: 0.25rem 0 0; padding: 0; display: grid; gap: 0.25rem; font-size: 0.83rem; color: var(--muted); }
.demo-body .meta li { padding-left: 0.95rem; position: relative; }
.demo-body .meta li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text);
  opacity: 0.4;
}
.demo-cta { margin-top: 0.4rem; font-size: 0.86rem; color: var(--text); }
.muted-card { border-style: dashed; }

@media (max-width: 560px) {
  .demo-preview { aspect-ratio: 16 / 9; }
}

/* ---------- over-pagina ---------- */

.alt-soft { background: var(--bg-soft); }

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  margin-top: 1.8rem;
}

.about-lead {
  font-size: clamp(1.05rem, 1rem + 0.5vw, 1.25rem);
  color: var(--text);
}

.about-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.4rem 1.5rem;
  background: var(--bg-soft);
}

.card-label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
  color: var(--dim);
  margin: 0 0 1rem;
}

.about-facts { margin: 0; display: grid; gap: 0.9rem; }
.about-facts dt {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--dim);
}
.about-facts dd { margin: 0.15rem 0 0; font-size: 0.95rem; }

.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.6rem;
  margin-top: 2rem;
}
.list-col h3 { margin-bottom: 0.7rem; }

.checks, .crosses {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
  font-size: 0.94rem;
  color: var(--muted);
}
.checks li, .crosses li { padding-left: 1.4rem; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--text); }
.crosses li::before { content: "—"; position: absolute; left: 0; color: var(--dim); }

@media (max-width: 860px) {
  .about-hero { grid-template-columns: 1fr; }
}

/* ---------- contactpagina ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: start;
  margin-top: 1.8rem;
}

.contact-rows { margin: 1.6rem 0 0; display: grid; gap: 0.9rem; }
.contact-rows dt {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--dim);
}
.contact-rows dd { margin: 0.15rem 0 0; font-size: 0.95rem; color: var(--muted); }
.contact-rows a { color: var(--text); }

.contact-sub { font-size: 1.15rem; margin: 2rem 0 0.6rem; }
.contact-steps {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
  font-size: 0.93rem;
  display: grid;
  gap: 0.4rem;
}

.contact-form-wrap {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.5rem;
  background: var(--bg-soft);
}

.contact-form { display: grid; gap: 0.9rem; }

.field { display: grid; gap: 0.3rem; }
.field label { font-size: 0.82rem; color: var(--muted); }
.field .req { color: var(--text); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0b0b0b;
  color: var(--text);
  font: inherit;
  font-size: 0.94rem;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--text);
  outline-offset: 1px;
}
.field textarea { resize: vertical; }
.error { color: #ff9186; font-size: 0.78rem; margin: 0; }
.error:empty { display: none; }
.field.invalid input,
.field.invalid select,
.field.invalid textarea { border-color: #ff9186; }

.field.checkbox label {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--muted);
}
.field.checkbox input { width: auto; margin-top: 0.28rem; flex: 0 0 auto; }

.form-note { font-size: 0.78rem; color: var(--dim); margin: 0; text-align: center; }

.form-success {
  border: 1px solid var(--line);
  border-left: 3px solid var(--text);
  border-radius: 14px;
  padding: 1.6rem;
  background: #0b0b0b;
}
.form-success h2 { font-size: 1.2rem; }
.form-success p { color: var(--muted); }
.mail-preview {
  white-space: pre-wrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.9rem;
  overflow-x: auto;
  margin: 0 0 1.1rem;
}
.btn.full { width: 100%; }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}
