/* KaasKapper — kaaskapper.nl
   Landingpagina stylesheet */

:root {
  --navy: #17233a;
  --navy-2: #1f2f4a;
  --navy-3: #24395c;
  --cream: #f7f3ea;
  --cream-2: #f0ead9;
  --amber: #f0a202;
  --amber-dark: #c97f00;
  --white: #ffffff;
  --ink: #1b2634;
  --ink-muted: #5b6472;
  --border: #e3dcc8;
  --shadow: 0 20px 45px -20px rgba(23, 35, 58, 0.35);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

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

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber-dark);
  margin-bottom: 10px;
}

h1,
h2,
h3 {
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  line-height: 1.15;
  margin: 0 0 16px;
  font-weight: 800;
  color: var(--ink);
}

p {
  line-height: 1.65;
  color: var(--ink-muted);
  margin: 0 0 16px;
}

.section {
  padding: 88px 0;
}

.section-cream2 {
  background: var(--cream-2);
}

.section-head {
  max-width: 640px;
  margin: 0 0 48px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 16px;
  padding: 16px 28px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: var(--amber);
  color: var(--navy);
}

.btn-primary:hover {
  background: var(--amber-dark);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-block {
  width: 100%;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo img {
  height: 30px;
  width: auto;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header-nav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}

.header-nav a:hover {
  color: var(--amber);
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

.header-phone svg {
  width: 16px;
  height: 16px;
}

/* Hero */
.hero {
  background: radial-gradient(120% 140% at 100% 0%, #223655 0%, var(--navy) 45%, #101a2c 100%);
  padding: 72px 0 0;
  color: var(--white);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 56px;
  align-items: start;
  padding-bottom: 72px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(32px, 4vw, 46px);
  letter-spacing: -0.01em;
}

.hero-sub {
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  max-width: 560px;
}

.hero-sub strong {
  color: var(--white);
}

.badge-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 32px;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 10px 18px 10px 10px;
  font-weight: 700;
  font-size: 15px;
}

.badge-pill img {
  width: 24px;
  height: 24px;
}

/* Form card */
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 36px;
  color: var(--ink);
}

.form-card h2 {
  font-size: 22px;
  margin-bottom: 6px;
}

.form-card > p {
  margin-bottom: 24px;
  font-size: 15px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 6px;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--amber);
  outline-offset: 1px;
  background: var(--white);
}

.field textarea {
  min-height: 90px;
}

.field-error {
  display: none;
  color: #c0392b;
  font-size: 13px;
  margin-top: 6px;
  font-weight: 600;
}

.field.has-error input,
.field.has-error textarea {
  outline: 2px solid #c0392b;
}

.field.has-error .field-error {
  display: block;
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13.5px;
  color: var(--ink-muted);
  margin-bottom: 20px;
}

.consent input {
  margin-top: 3px;
}

.consent a {
  text-decoration: underline;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
}

.form-microcopy {
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-muted);
  margin-top: 14px;
  margin-bottom: 0;
  line-height: 1.5;
}

.form-success {
  display: none;
  text-align: center;
  padding: 12px 0 4px;
}

.form-success.visible {
  display: block;
}

.form-success .success-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
}

.form-success h2 {
  font-size: 20px;
}

.form-card form.hidden {
  display: none;
}

/* Trust bar */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.trust-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 28px 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 15px;
}

.trust-item img {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

/* Category cards */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cat-card {
  background: var(--white);
  border-left: 4px solid var(--amber);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  box-shadow: 0 12px 30px -22px rgba(23, 35, 58, 0.4);
}

.cat-card img {
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
}

.cat-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.cat-card p {
  font-size: 14.5px;
  margin: 0;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.step {
  position: relative;
}

.step-number {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--navy);
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.step h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.step p {
  font-size: 14.5px;
  margin: 0;
}

/* Article */
.article-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px;
  align-items: start;
}

.article-body h3 {
  font-size: 19px;
  margin-top: 34px;
}

.article-body p {
  font-size: 15.5px;
}

.article-figure {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 8px 0 28px;
  border: 1px solid var(--border);
}

.sidebar-box {
  background: var(--white);
  border-top: 4px solid var(--amber);
  border-radius: var(--radius-md);
  padding: 26px;
  position: sticky;
  top: 96px;
  box-shadow: 0 12px 30px -22px rgba(23, 35, 58, 0.4);
}

.sidebar-box h3 {
  font-size: 17px;
  margin-bottom: 16px;
}

.sidebar-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14.5px;
}

.sidebar-list img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.sidebar-cta {
  margin-top: 22px;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 760px;
}

.faq-list-center {
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 6px 22px;
}

.faq-item + .faq-item {
  margin-top: 0;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 32px 16px 0;
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  position: relative;
}

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

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 14px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--amber-dark);
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease;
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item summary:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.faq-item p {
  margin: 0 0 18px;
  font-size: 15px;
  padding-right: 32px;
}

/* Sticky bottom CTA */
.sticky-cta {
  position: sticky;
  bottom: 0;
  z-index: 30;
  background: var(--amber);
}

.sticky-cta a {
  display: block;
  text-align: center;
  padding: 16px 24px;
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
  font-size: 16px;
}

.sticky-cta a:hover {
  background: var(--amber-dark);
  color: var(--white);
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
  padding: 64px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-grid .logo img {
  height: 28px;
  margin-bottom: 16px;
}

.footer-desc {
  max-width: 420px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14.5px;
}

.footer-legal {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  margin-top: 18px;
}

.footer-contact-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.footer-contact-row a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

.footer-contact-row svg,
.footer-contact-row img {
  width: 16px;
  height: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  text-align: right;
}

.footer-links a:hover {
  color: var(--amber);
}

.footer-bottom {
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
}

/* Policy pages (Privacybeleid / Algemene Voorwaarden / Cookiebeleid) */
.policy-content {
  max-width: 760px;
  margin: 0 auto;
}

.policy-back {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--ink-muted);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

.policy-back:hover {
  color: var(--amber-dark);
}

.policy-content h1 {
  font-size: clamp(28px, 4vw, 36px);
  margin-bottom: 8px;
}

.policy-updated {
  color: var(--ink-muted);
  font-size: 13px;
  margin-bottom: 8px;
}

.policy-content h2 {
  font-size: 19px;
  margin-top: 34px;
  margin-bottom: 10px;
}

.policy-content p,
.policy-content li {
  font-size: 15.5px;
}

/* Utility */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .article-grid {
    grid-template-columns: 1fr;
  }
  .sidebar-box {
    position: static;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-links {
    align-items: flex-start;
  }
  .trust-bar .container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .section {
    padding: 60px 0;
  }
  .cat-grid {
    grid-template-columns: 1fr;
  }
  .header-nav {
    gap: 14px;
  }
  .header-nav .header-phone span {
    display: none;
  }
  .trust-bar .container {
    grid-template-columns: 1fr;
  }
  .form-card {
    padding: 26px 20px;
  }
}
.lead-success-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.65);
}

.lead-success-box {
    position: relative;
    width: 100%;
    max-width: 450px;
    padding: 40px 30px;
    background: #fff;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.lead-success-close {
    position: absolute;
    top: 10px;
    right: 15px;
    border: 0;
    background: transparent;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    color: #777;
}

.lead-success-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #22c55e;
    color: #fff;
    font-size: 32px;
    font-weight: 700;
}

.lead-success-box h2 {
    margin: 0 0 12px;
}

.lead-success-box p {
    margin: 0 0 25px;
    line-height: 1.6;
    color: #666;
}

.lead-success-btn {
    border: 0;
    padding: 12px 28px;
    border-radius: 8px;
    background: #111;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
}