@import url("https://fonts.googleapis.com/css2?family=League+Spartan:wght@400;500;600;700;800;900&display=swap");

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

html,
body {
  height: 100%;
  min-height: 100vh;
}

body {
  font-family: "League Spartan", system-ui, sans-serif;
  font-size: 1.1rem;
  line-height: 1.2;
  background-color: #212121;
  color: #ddd;
}

/* Alleen de pricing-sectie centreren */
.main {
  display: grid;
  place-items: center;
  max-width: 75rem;
  padding: 3em 1.5em;
  margin: 0 auto;
}

.main__heading {
  font-weight: 600;
  font-size: 2.25em;
  margin-bottom: 0.75em;
  text-align: center;
  color: #eceff1;
}

/* Kaarten container */
.cards {
  position: relative;
  z-index: 0;
}

.cards__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5em;
  justify-content: center;
}

/* Kaartbasis */
.card {
  --flow-space: 0.5em;
  --hsl: var(--hue), var(--saturation), var(--lightness);
  flex: 1 1 14rem;
  padding: 1.5em 2em;
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  align-items: start;
  gap: -20em !important;
  color: #eceff1;
  background-color: #2b2b2b;
  border: 1px solid #eceff133;
  border-radius: 15px;
  transition: 400ms background ease;
}

/* Kleuren per kaart */
.card:nth-child(1) { --hue: 165; --saturation: 82%; --lightness: 51%; }
.card:nth-child(2) { --hue: 291; --saturation: 96%; --lightness: 62%; }
.card:nth-child(3) { --hue: 339; --saturation: 100%; --lightness: 48%; }
.card:nth-child(4) { --hue: 46;  --saturation: 90%; --lightness: 52%; }

/* Geen witte rand of extra schaduw bij Gold */
.cards__inner > .card:nth-child(4):hover {
  box-shadow: none;
}

/* Lijst met vinkjes */
.card__bullets {
  list-style: none;      /* verwijdert standaard bullet-puntjes */
  padding-left: 0;       /* geen extra inspringing */
  margin: 0;             /* houdt het strak */
  line-height: 1.4;
  text-align: left;      /* &#9989; tekst van de vinkjes links uitlijnen */
}

.card__bullets li::before {
  display: inline-block;
  vertical-align: middle; /* icoon mooi gecentreerd naast tekst */
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='16' fill='%23dddddd'%3E%3Cpath d='M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z'/%3E%3C/svg%3E");
  margin-right: 1ch;
}

.card__heading {
  font-size: 1.05em;
  font-weight: 600;
  text-align: center;
}

.card__price {
  font-size: 2.95em !important;
  font-weight: 700;
  text-align: center;
}

.flow > * + * {
  margin-top: var(--flow-space, 1.25em);
}

/* Knoppen */
.cta {
  display: block;
  align-self: end;
  margin: 1em 0 0.5em 0;
  text-align: center;
  text-decoration: none;
  color: #fff;
  background-color: #0d0d0d;
  padding: 0.7em;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
}

/* Overlay voor hover glow */
.overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  user-select: none;
  opacity: var(--opacity, 0);
  -webkit-mask: radial-gradient(
    25rem 25rem at var(--x) var(--y),
    #000 1%,
    transparent 50%
  );
  mask: radial-gradient(
    25rem 25rem at var(--x) var(--y),
    #000 1%,
    transparent 50%
  );
  transition: 400ms mask ease, 300ms opacity ease;
  will-change: mask, opacity;
}

.overlay.cards__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5em;
  justify-content: center;
}

.overlay .card {
  background-color: hsla(var(--hsl), 0.15);
  border-color: hsla(var(--hsl), 1);
  box-shadow: 0 0 0 1px inset hsl(var(--hsl));
}

.overlay .cta {
  display: block;
  grid-row: -1;
  width: 100%;
  background-color: hsl(var(--hsl));
  box-shadow: 0 0 0 1px hsl(var(--hsl));
}

/* Hover-effect */
:not(.overlay) > .card:hover {
  --lightness: 95%;
  background: hsla(var(--hsl), 0.1);
}

/* Responsief gedrag */
@media (max-width: 768px) {
  .cards__inner {
    flex-direction: column;
    align-items: center;
  }
  .card {
    width: 100%;
    max-width: 22rem;
  }
}


/* ---------------------------------------------
   Rood kruisje i.p.v. vinkje
--------------------------------------------- */
.card__bullets li.no::before {
  content: "&#10006;";
  color: #ff4d4d;       /* rood kruis */
  position: absolute;
  left: -1rem;
  top: 0.1rem;
  font-size: 1rem;
  transform: scale(1.1);
}


/* ---------------------------------------------
   Contact-knop (paars)
--------------------------------------------- */
.contact-btn {
  display: inline-block;
  background-color: #0d0d0d;
  color: #fff;
  font-family: "League Spartan", system-ui, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.9em 2em;
  border-radius: 12px;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border: 1px solid #eceff133;
  cursor: pointer;
}

.contact-btn:hover {
  background-color: hsl(291, 96%, 62%);
  box-shadow: 0 0 15px hsl(291, 96%, 62%);
  transform: scale(1.05);
  color: #fff;
}

/* ---------------------------------------------
   Diensten-knop (groen)
--------------------------------------------- */
.services-btn {
  display: inline-block;
  background-color: #0d0d0d;
  color: #fff;
  font-family: "League Spartan", system-ui, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.9em 2em;
  border-radius: 12px;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border: 1px solid #eceff133;
  cursor: pointer;
}

.services-btn:hover {
  background-color: hsl(165, 82%, 51%);
  box-shadow: 0 0 15px hsl(165, 82%, 51%);
  transform: scale(1.05);
  color: #fff;
}
