/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --clr-bg:        #ffffff;
  --clr-bg-alt:    #f6f8fa;
  --clr-text:      #1a1a2e;
  --clr-muted:     #5a6270;
  --clr-accent:    #2563eb;
  --clr-accent-dk: #1d4ed8;
  --clr-border:    #e2e8f0;
  --radius:        10px;
  --shadow:        0 2px 12px rgba(0,0,0,.08);
  --font:          'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--clr-text);
  background: var(--clr-bg);
  line-height: 1.7;
  font-size: 1rem;
}

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

/* ── Layout ── */
.container { max-width: 1080px; margin: 0 auto; padding: 0 1.5rem; }
.container.narrow { max-width: 720px; }
.text-center { text-align: center; }

/* ── Typography ── */
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; line-height: 1.2; margin-bottom: 1rem; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; margin-bottom: 1.25rem; }
h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: .5rem; }
p  { color: var(--clr-muted); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
em { color: var(--clr-text); font-style: normal; font-weight: 500; }
strong { color: var(--clr-text); }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: .75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
  border: 2px solid transparent;
  text-decoration: none;
}
.btn--primary {
  background: var(--clr-accent);
  color: #fff;
  border-color: var(--clr-accent);
}
.btn--primary:hover { background: var(--clr-accent-dk); border-color: var(--clr-accent-dk); text-decoration: none; }
.btn--ghost {
  background: transparent;
  color: var(--clr-accent);
  border-color: var(--clr-accent);
}
.btn--ghost:hover { background: var(--clr-accent); color: #fff; text-decoration: none; }
.btn--large { padding: 1rem 2rem; font-size: 1rem; }

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--clr-border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.nav nav { display: flex; gap: 1.5rem; }
.nav nav a { color: var(--clr-muted); font-size: .9rem; font-weight: 500; }
.nav nav a:hover { color: var(--clr-accent); text-decoration: none; }
.logo { font-size: 1.25rem; font-weight: 700; color: var(--clr-text); }
.logo span { color: var(--clr-accent); }

/* ── Hero ── */
.hero {
  padding: 5rem 0 4rem;
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 60%);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero__label {
  display: inline-block;
  background: #dbeafe;
  color: var(--clr-accent);
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: .3rem .75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.hero__sub { font-size: 1.1rem; margin: 1rem 0 2rem; }
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__img {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  overflow: hidden;
  background: #f0ede8;
  aspect-ratio: 1;
  max-height: 460px;
}
.hero__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__img.img--fallback::after {
  content: 'Productafbeelding';
  font-size: .9rem;
  color: var(--clr-muted);
  padding: 2rem;
  text-align: center;
}

/* ── Sections ── */
.section { padding: 5rem 0; }
.section--alt { background: var(--clr-bg-alt); }
.section .container.narrow p { margin-bottom: 1.25rem; }

/* ── Cards ── */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2.5rem 0;
}
.card {
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.card__icon { font-size: 1.75rem; margin-bottom: .75rem; }
.card p { font-size: .95rem; }

/* ── Specs table ── */
.specs { margin-top: 3rem; }
.specs h3 { margin-bottom: 1rem; }
table { width: 100%; max-width: 480px; border-collapse: collapse; }
td {
  padding: .6rem .75rem;
  font-size: .95rem;
  border-bottom: 1px solid var(--clr-border);
}
td:first-child { color: var(--clr-muted); width: 45%; }
td:last-child { font-weight: 500; color: var(--clr-text); }

/* ── Bestellen ── */
#bestellen p { max-width: 480px; margin: 0 auto 1.5rem; }
.note { font-size: .85rem; color: var(--clr-muted); margin-top: 1rem; }

/* ── Feedback form ── */
.feedback-form { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 1.5rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
label { font-size: .9rem; font-weight: 500; color: var(--clr-text); }
.optional { font-weight: 400; color: var(--clr-muted); }
input, textarea {
  padding: .7rem 1rem;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: .95rem;
  color: var(--clr-text);
  background: var(--clr-bg);
  transition: border-color .15s;
  resize: vertical;
}
input:focus, textarea:focus {
  outline: none;
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}

/* ── Footer ── */
.footer {
  background: var(--clr-text);
  color: #94a3b8;
  padding: 3rem 0;
  text-align: center;
}
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.footer .logo { color: #fff; }
.footer p { color: #94a3b8; margin: 0; font-size: .9rem; }
.footer a { color: #94a3b8; }
.footer a:hover { color: #fff; }

/* ── Model gallery ── */
.model-section { background: var(--clr-bg); }
.model-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.model-gallery__item {
  border-radius: 12px;
  overflow: hidden;
  background: #f0f4f8;
  height: 440px;
  line-height: 0;
}
.model-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .3s ease;
}
.model-gallery__item:hover img { transform: scale(1.02); }

/* ── Product detail (afbeelding + specs naast elkaar) ── */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-top: 3rem;
}
.product-detail__img {
  border-radius: 12px;
  overflow: hidden;
  line-height: 0;
  box-shadow: var(--shadow);
}
.product-detail__img img {
  width: 100%;
  height: auto;
  display: block;
}
.product-detail .specs { margin-top: 0; }

/* ── Bestellen foto ── */
.order-img {
  max-width: 320px;
  margin: 0 auto 2rem;
  border-radius: 12px;
  overflow: hidden;
  line-height: 0;
  box-shadow: var(--shadow);
}
.order-img img { width: 100%; height: auto; display: block; }

/* ── Gallery (verpakking – 4 kolommen) ── */
.gallery-section { background: var(--clr-bg); }
.gallery-sub { color: var(--clr-muted); margin-top: -.5rem; margin-bottom: 2rem; }
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .875rem;
  margin-top: 1.5rem;
}
.gallery__item {
  border-radius: 10px;
  overflow: hidden;
  background: #f0ede8;
  aspect-ratio: 3 / 4;
  line-height: 0;
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}
.gallery__item:hover img { transform: scale(1.02); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__img { max-height: 280px; }
  .cards { grid-template-columns: 1fr; }
  .nav nav { display: none; }
  .model-gallery { grid-template-columns: 1fr; }
  .model-gallery__item { height: 320px; }
  .product-detail { grid-template-columns: 1fr; gap: 2rem; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery__item { aspect-ratio: 3 / 4; }
}
