/* ---------- Basis & variabelen ---------- */
:root {
  --cream: #fff8ef;
  --cream-alt: #fdf1e2;
  --ink: #3a332c;
  --ink-soft: #6b6055;
  --coral: #c97b5a;
  --coral-dark: #9a5236;
  --teal: #2f7a6f;
  --teal-light: #e4f2ef;
  --yellow: #f6c667;
  --radius-lg: 28px;
  --radius-md: 18px;
  --shadow: 0 12px 30px rgba(58, 51, 44, 0.08);
  --font: -apple-system, "SF Pro Rounded", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

a { color: var(--coral-dark); text-decoration: none; }

.hidden { display: none; }

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
}

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

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  line-height: 1.2;
  font-weight: 800;
  margin: 0 0 16px;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.15rem; margin-bottom: 8px; }

p { margin: 0 0 16px; color: var(--ink-soft); }

.center { text-align: center; }
.center.section-lead { margin-left: auto; margin-right: auto; max-width: 560px; }

.eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--coral-dark);
  margin-bottom: 12px;
}
.eyebrow.center { display: block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary {
  background: var(--coral-dark);
  color: #fff;
  box-shadow: 0 10px 24px rgba(242, 121, 95, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(242, 121, 95, 0.4); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--cream); }

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 20;
  padding: 0.75rem 1.25rem;
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 600;
  transition: top 0.15s ease;
}
.skip-link:focus {
  top: 1rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 248, 239, 0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(58, 51, 44, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.logo {
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--ink);
  text-decoration: none;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}
.site-nav a:hover { color: var(--coral-dark); }
.nav-cta {
  background: var(--coral);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 999px;
}
.nav-cta:hover { color: #fff !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: var(--ink);
}

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 40px;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
}
.lead { font-size: 1.1rem; }
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.hero-art {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.blob {
  position: absolute;
  border-radius: 50% 45% 55% 50% / 50% 55% 45% 50%;
  filter: blur(0.5px);
}
.blob-1 {
  width: 320px;
  height: 320px;
  background: var(--teal-light);
  top: -20px;
  right: 20px;
}
.blob-2 {
  width: 180px;
  height: 180px;
  background: var(--yellow);
  opacity: 0.55;
  bottom: 0;
  left: 10px;
}
.hero-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 28px;
  max-width: 320px;
  margin: 40px auto 0;
}
.hero-card-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--coral);
  margin-bottom: 18px;
}
.hero-card-line {
  height: 12px;
  border-radius: 999px;
  background: var(--cream-alt);
  margin-bottom: 12px;
}
.hero-card-line-1 { width: 90%; }
.hero-card-line-2 { width: 100%; background: var(--teal-light); }
.hero-card-line-3 { width: 65%; }

/* ---------- Sections ---------- */
.section {
  padding: 88px 0;
}
.section-alt {
  background: var(--cream-alt);
}
.section-lead {
  font-size: 1.05rem;
}

/* ---------- USP cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow);
}
.card-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

/* ---------- Stappen ---------- */
.steps {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  position: relative;
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-weight: 800;
  margin-bottom: 14px;
}

/* ---------- Zelf bewerken ---------- */
.zelf-bewerken-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.checklist {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}
.checklist li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--ink-soft);
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--teal);
  font-weight: 800;
}
.editor-demo-placeholder {
  border: 2px dashed rgba(58, 51, 44, 0.25);
  border-radius: var(--radius-lg);
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.5);
  padding: 24px;
}

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.faq-item {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow);
}

/* ---------- Templates / shop ---------- */
.template-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 40px;
}
.template-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.template-preview {
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}
.template-preview-coral { background: linear-gradient(135deg, #f3e2d3, var(--coral)); }
.template-preview-teal { background: linear-gradient(135deg, var(--teal-light), var(--teal)); }
.template-preview-yellow { background: linear-gradient(135deg, #fdf1d0, var(--yellow)); }
.template-preview-navy { background: linear-gradient(135deg, #4a5568, #14181f); }
.template-preview-label {
  font-weight: 700;
  font-size: 0.9rem;
  color: rgba(58, 51, 44, 0.75);
  background: rgba(255, 255, 255, 0.6);
  padding: 8px 14px;
  border-radius: 999px;
}
.template-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.template-doelgroep {
  margin: 0 0 12px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--teal);
}
.template-price-block {
  margin: 4px 0 20px;
}
.template-price,
.template-price-domain {
  margin: 0 0 6px;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.template-price strong,
.template-price-domain strong {
  color: var(--coral-dark);
}
.template-price.is-placeholder strong,
.template-price-domain.is-placeholder strong {
  color: var(--ink-soft);
  text-decoration: underline dashed;
  text-decoration-color: var(--ink-soft);
}
.template-actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
  flex-wrap: wrap;
}
.template-actions .btn {
  padding: 12px 20px;
}

/* ---------- Domeincheck ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.domein-card {
  max-width: 560px;
  margin: 40px auto 0;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}
.domein-input-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.domein-input-row input {
  flex: 1 1 220px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 2px solid rgba(58, 51, 44, 0.15);
  font-family: inherit;
  font-size: 1rem;
  background: var(--cream);
}
.domein-input-row input:focus {
  outline: none;
  border-color: var(--coral);
}
.domein-result {
  margin: 18px 0 0;
  min-height: 1.4em;
  font-weight: 700;
}
.domein-result.status-available { color: var(--teal); }
.domein-result.status-taken { color: var(--coral-dark); }
.domein-result.status-unknown { color: var(--ink-soft); font-weight: 600; }
.domein-result.status-loading { color: var(--ink-soft); font-weight: 400; }

.template-disclaimer {
  text-align: center;
  margin-top: 24px;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--ink-soft);
}
.note {
  text-align: center;
  margin-top: 32px;
  font-size: 0.9rem;
}
.note a {
  color: var(--coral-dark);
  font-weight: 600;
  text-decoration: underline;
}

/* ---------- Contact ---------- */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.contact-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}
.form-row {
  margin-bottom: 18px;
}
.form-row label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 0.95rem;
}
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 2px solid rgba(58, 51, 44, 0.15);
  font-family: inherit;
  font-size: 1rem;
  background: var(--cream);
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--coral);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 248, 239, 0.75);
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.9rem;
}
.footer-inner a {
  color: inherit;
}

/* ---------- Juridische pagina's ---------- */
.legal-content .wrap {
  max-width: 720px;
}
.legal-content h1 { margin-top: 0.3em; }
.legal-content h2 { font-size: 1.3rem; margin-top: 2em; }
.legal-content ul { color: var(--ink-soft); padding-left: 1.2rem; }
.legal-content li { margin-bottom: 0.4em; }
.legal-content a { text-decoration: underline; }

.form-privacy-note {
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin: 0.8rem 0 0;
}
.form-privacy-note a { text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-inner,
  .zelf-bewerken-inner,
  .contact-inner {
    grid-template-columns: 1fr;
  }
  .hero-art { min-height: 220px; }
  .blob-1 { width: 220px; height: 220px; top: -10px; right: 0; }
  .blob-2 { width: 120px; height: 120px; }
  .hero-card { max-width: 260px; margin-top: 24px; padding: 22px; }
  .card-grid,
  .steps,
  .faq-grid,
  .template-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 28px;
    gap: 16px;
    display: none;
    border-bottom: 1px solid rgba(58, 51, 44, 0.08);
  }
  .site-nav.open { display: flex; }
  .nav-cta { align-self: flex-start; }
}
