/* ==========================================================
   KOSTEN / PRICING PAGE
   ----------------------------------------------------------
   Bevat styling voor:
   - Hero
   - Pricing sections (ZZP & Opdrachtgevers)
   - Aanvullende diensten
   - Advies op maat + finale CTA
========================================================== */


/* ==========================================================
   HERO
========================================================== */
.pricing-hero {
  position: relative;
  width: 100%;
  max-width: 1980px;
  margin: 0 auto;
  overflow: hidden;
  z-index: 1;
}

.pricing-hero__bg img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  max-height: 587px;
}

/* Hero-kaart links in het midden van de banner */
.pricing-hero__card {
  position: absolute;
  top: 50%;
  /*left: clamp(30px, 6vw, 140px);*/
  transform: translateY(-50%);
  width: min(900px, 58vw);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 25px 60px rgba(0,0,0,0.12);
  padding: clamp(32px, 4vw, 64px);
  text-align: left;
}

.pricing-hero__card h1 {
  font-size: clamp(2.2rem, 2.3vw + 1rem, 3rem);
  line-height: 1.25;
  margin-bottom: 0.5rem;
}
.pricing-hero__card .subtitle {
  font-size: 1.05rem;
  color: #222;
  max-width: 500px;
}
.pricing-hero__card .accent {
  color: var(--color-accent);
  font-weight: 700;
}


/* =======================================
   OVERLAP: Eerste pricing-sectie over hero

/* ==========================================================
   PRICING SECTIONS (ZZP & OPDRACHTGEVERS)
========================================================== */
/* Alleen de allereerste pricing-section laten overlappen */
.pricing-section {
  padding: clamp(80px, 8vw, 120px) 0;
}
.pricing-section h2 {
  margin:0px 20px;
  color: var(--color-primary);
  font-size: clamp(1.8rem, 1.5vw + 1rem, 2.4rem);
  font-weight: 800;
  margin-bottom: 2rem;
}
.pricing-section {
  position: relative;
  z-index: 2;
  margin-top: -5vw; /* laat overlap met hero zien */
}
.pricing-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1200px, 100%);
  height: clamp(60px, 8vw, 120px);
  background: #fff;
  z-index: 1;
  pointer-events: none;
}
.pricing-section h2 {
  position: relative;
  z-index: 3;
  margin-top: -1.8em; /* trekt de titel half over de banner */
  padding-top: 0;
  font-weight: 800;
}

.accent {
  color: var(--color-accent);
}

/* Box layout */
.pricing-box {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 40px;
  background: #f6f6f8;
  border-radius: var(--radius);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: clamp(32px, 5vw, 50px);
}

/* Linkerzijde */
.pricing-left {
  flex: 1 1 60%;
}

.pricing-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.pricing-icon {
  width: 40px;
}

.pricing-title {
  display: inline-block;
  background: #fff;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 6px 14px;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.pricing-features {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
}

.pricing-features li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  line-height: 1.6;
  text-align: left;
  color: #222;
}

.pricing-features li::before {
  content: "✔";
  color: #0bb36f;
  position: absolute;
  left: 0;
  top: 0.1em;
  font-weight: bold;
}

/* App store knoppen */
.store-buttons {
  display: flex;
  gap: 12px;
}

.store-buttons img {
  height: 42px;
  object-fit: contain;
}

/* Rechterzijde */
.pricing-right {
  flex: 1 1 30%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.price-card {
  background: var(--color-primary);
  color: #fff;
  border-radius: 5px;
  padding: 28px 100px;
  text-align: center;
  margin-bottom: 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.price-header {
  background: #fff;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-block;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.price-value {
  font-size: 2.2rem; /* Iets groter voor impact */
  font-weight: 900;
  display: flex;          /* Gebruik flexbox om ze naast elkaar te zetten */
  align-items: baseline;  /* Zorgt dat de onderkant van de tekst uitlijnt */
  justify-content: center; /* Centreert het geheel in de kaart */
  gap: 4px;               /* Kleine ruimte tussen € en getal */
  line-height: 1;
  margin-bottom: 8px;
}

.price-value span {
  font-size: 2.2rem;      /* Maakt het euroteken iets kleiner dan het getal */
  font-weight: 700;
}

.price-subtext {
  font-size: 0.95rem;
  color: #d7d8e3;
  line-height: 1.4;
}

/* Lichtere variant voor Opdrachtgevers */
.price-card.light {
  background: #fff;
  color: var(--color-primary);
  border: 1.5px solid rgba(0, 2, 60, 0.2);
  box-shadow: none;
}

.price-card.light .price-header {
  background: #f6f6f8;
  color: var(--color-primary);
}

.price-card.light .price-value.dark {
  color: var(--color-primary);
}

.price-card.light .price-subtext.dark {
  color: #333;
}

/* Knoppen */
.btn-yellow {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-primary);
  font-weight: 700;
  padding: 0.9em 1.8em;
  border-radius: var(--radius);
  text-align: center;
  transition: all 0.3s ease;
}

.btn-yellow:hover {
  background: #d3aa23;
  color: #fff;
}


/* ==========================================================
   AANVULLENDE DIENSTEN
========================================================== */
.addons {
  background: #fff;
  padding: clamp(60px, 5vw, 90px) 0;
}

.addons h2 {
  color: var(--color-primary);
  font-size: clamp(1.9rem, 1.6vw + 1rem, 2.6rem);
  line-height: 1.25;
  margin-bottom: 0.8rem;
}

.addons-intro {
  max-width: 860px;
  color: #333;
  line-height: 1.75;
  margin: 0 0 clamp(28px, 3vw, 40px);
}

.addons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(22px, 3vw, 36px);
  margin-top: clamp(12px, 1.5vw, 20px);
}

/* Kaarten */
.addon-card {
  background: #fff;
  border: 1px solid rgba(0, 2, 60, 0.1);
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  padding: clamp(18px, 2vw, 24px);
}

/* Header tags */
.addon-head {
  display: flex;
  gap: 0px;
  flex-wrap: wrap;
  margin-bottom: clamp(14px, 1.5vw, 18px);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-primary);
  background: #fff;
  border: 1px solid rgba(0, 2, 60, 0.15);
  border-radius: 6px;

  z-index: 5;
}

.tag.soft {
  background: #f5f6fa;
  margin-left: -6px;
  z-index: 1;
}

.tag.gold {
  background: #e4be26;
  color:#fff;
  margin-left: -6px;
  z-index: 1;
}

/* Prijsblokken */
.addon-price {
  background: #0a0f48;
  color: #fff;
  border-radius: 8px;
  padding: 16px 18px;
  display: inline-block;
  margin-bottom: clamp(16px, 2vw, 22px);
}

.addon-price.light {
  background: #fff;
  color: var(--color-primary);
  border: 1px solid rgba(0, 2, 60, 0.25);
}

.price-row {
  font-family: "Panton Narrow", "Calisto MT", sans-serif;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  line-height: 1;f
  font-weight: 900;
}

.price-row .currency {
  font-size: clamp(2.2rem, 3.6vw, 5.1rem);
  font-weight: 800;
}

.price-row .major {
  font-size: clamp(2.2rem, 3.6vw, 5.1rem);
  letter-spacing: 0.5px;
}

.price-row .minor {
  font-size: clamp(1.4rem, 1.8vw, 2.6rem);

}

.addon-price .price-sub {
  display: block;
  margin-top: 8px;
  font-size: 0.9rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.9);
}

.addon-price.light .price-sub {
  color: #333;
}

.addon-subtitle {
  margin: 10px 0;
  font-size: 1rem;
  color: var(--color-primary);
  text-align: center;
  font-weight: 900;
}

/* Lijsten */
.addon-list {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
}

.addon-list li {
  position: relative;
  padding-left: 26px;
  margin: 10px 0;
  color: #222;
  line-height: 1.6;
}

.addon-list.plus li::before {
  content: "+";
  position: absolute;
  left: 0;
  top: 0;
  color: #12c06b;
  font-weight: 900;
  font-size: 1.1rem;
}

.addon-list.star li::before {
  content: "★";
  position: absolute;
  left: 0;
  top: 0.05rem;
  color: var(--color-accent);
  font-size: 1.05rem;
}

/* Voetnoot en CTA */
.addon-footnote {
  margin-top: 10px;
  font-weight: 700;
  color: var(--color-primary);
  text-align: center;
  font-size: 0.95rem;
}

.btn-navy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  padding: 0.85em 1.4em;
  border-radius: 8px;
  margin-top: 10px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-navy:hover {
  background: #0c114d;
  transform: translateY(-1px);
}
.btn-navy i {
  background-color: #fff;
  color: #0bd754;
  padding: 5px 10px;
  margin-left: -31px;
  margin-right: 10px;
  border: 1px solid #000;
  border-radius: 5px;
}

.addons-bottom-note {
  text-align: center;
  background: #f5f6fa;
  border-radius: 10px;
  padding: 16px 20px;
  margin-top: clamp(24px, 3vw, 40px);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
  color: #333;
}

.addons-bottom-note a {
  color: var(--color-primary);
  text-decoration: underline;
}
.background-gray {
  max-width: 1980px;
  background: #f4f4f4;
  margin: 0 auto;
  padding: 40px 0px;
}


/* ==========================================================
   ADVIES OP MAAT + FINALE CTA
========================================================== */
.custom-advice {
  background: #fff;
  padding: clamp(80px, 8vw, 120px) 0;
  text-align: center;
}

.custom-advice h2 {
  color: var(--color-primary);
  font-size: clamp(1.8rem, 1.6vw + 1rem, 2.4rem);
  line-height: 1.3;
  margin-bottom: 1rem;
}

.advice-text {
  max-width: 760px;
  margin: 0 auto clamp(30px, 4vw, 50px);
  color: #333;
  line-height: 1.7;
  font-size: 1rem;
}

.btn-outline {
  display: inline-block;
  border: 2px solid var(--color-accent);
  color: var(--color-primary);
  font-weight: 600;
  padding: 0.9em 2em;
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-outline:hover {
  background: var(--color-accent);
  color: #fff;
}

/* Divider image */
.handshake-divider {
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  height: 280px;
  width: 100%;
}

/* Finale CTA */
.cta-final {
  background: #fff;
  text-align: center;
  padding: clamp(100px, 8vw, 140px) 20px;
}

.cta-final h2 {
  color: var(--color-primary);
  font-size: clamp(1.8rem, 1.8vw + 1rem, 2.6rem);
  line-height: 1.4;
  margin-bottom: clamp(1.5rem, 2vw, 2.5rem);
  font-weight: 700;
}

.btn-yellow.arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  padding: 1em 2em;
  background: var(--color-accent);
  color: var(--color-primary);
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.btn-yellow.arrow:hover {
  background: #d3aa23;
  color: #fff;
}

.btn-yellow.arrow span {
  font-size: 1.3rem;
  transform: translateY(1px);
}


/* ==========================================================
   RESPONSIVENESS
========================================================== */

/* ---------- Tablet (tot 1024px) ---------- */
@media (max-width: 1024px) {
  /* Hero-card centreren bij kleinere breedte */
  .pricing-hero__card {
    width: min(90%, 680px);
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
  }

  .pricing-hero__card .subtitle {
    margin: 0 auto;
  }

  /* Boxen wat luchtiger */
  .pricing-box {
    gap: 28px;
  }

  /* Addons grid naar 1 kolom op kleinere tablets */
  .addons-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  /* Hero overlap iets minder sterk */
  .page-pricing .pricing-section:first-of-type {
    margin-top: clamp(-100px, -10vw, -60px);
  }
}

/* ---------- Mobiel (tot 900px) ---------- */
@media (max-width: 900px) {
  /* Hero wordt een normale banner */
  .pricing-hero__card {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    border-radius: 0;
    box-shadow: none;
    text-align: left;
    padding: 1.6rem 1rem 0rem 1rem;
  }
  .pricing-section {
    margin-top: 0px;
  }
  .pricing-section,
  .pricing-section .pricing-left,
  .pricing-section .pricing-right,
  .pricing-section h2,
  .pricing-section p,
  .pricing-hero__card h1,
  .addons h2,
  .addons-intro{
    text-align: center !important;
  }

  .price-header {
    margin: 0px auto 20px auto;
  }
  /* Center icon + title */
  .pricing-header {
    justify-content: center;
  }

  /* Store buttons centreren */
  .store-buttons {
    justify-content: center;
  }

  /* Price card centreren */
  .pricing-right {
    align-items: center !important;
  }

  .pricing-section {
    padding-bottom: 0px;
  }
  /* Overlap en fade uitschakelen */
  .page-pricing .pricing-section:first-of-type {
    margin-top: 0;
  }

  .page-pricing .pricing-section:first-of-type::before {
    display: none;
  }

  /* Pricing box stack */
  .pricing-box {
    flex-direction: column;
    text-align: left;
    gap: 24px;
  }

  .pricing-right {
    align-items: flex-start;
  }

  .price-card {
    width: 100%;
    text-align: left;
  }

  .page-pricing .btn-yellow {
    margin: 20px auto 0px;
    display: block;
    max-width: 390px;

  }

  /* Addons en overige secties */
  .addons-grid {
    grid-template-columns: 1fr;
  }

  .custom-advice h2,
  .cta-final h2 {
    font-size: 1.6rem;
  }

  .handshake-divider {
    height: 200px;
  }
}

/* ---------- Klein mobiel (tot 600px) ---------- */
@media (max-width: 600px) {


  .pricing-hero__card h1 {
    font-size: 1.8rem;
  }

  .pricing-hero__card .subtitle {
    font-size: 0.95rem;
  }

  .pricing-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
  }

  .price-card {
    padding: 24px;
  }

  .addons h2 {
    font-size: 1.6rem;
  }

  .addon-card {
    padding: 1.2rem;
  }

  .custom-advice,
  .cta-final {
    padding: 60px 1rem;
  }

  .btn-yellow,
  .btn-navy,
  .btn-outline {
    width: 100%;
    text-align: center;
  }
}

