:root {
  color-scheme: light;
  --bg: #f6f6f3;
  --ink: #111111;
  --muted: #5a5a55;
  --accent: #7a8a6f;
  --accent-strong: #5f6f57;
  --panel: #ffffff;
  --border: rgba(17, 17, 17, 0.12);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
}

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

body {
  font-family: "Inter", "Helvetica Neue", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.15;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.3'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
  z-index: 0;
}

.hero {
  width: 100vw;
  max-width: 100%;
  margin-left: calc(50% - 50vw);
  background-image: url("../Bosweg.webp");
  background-image: image-set(
    url("../Bosweg.avif") type("image/avif"),
    url("../Bosweg.webp") type("image/webp")
  );
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  padding: clamp(5rem, 10vh, 7rem) 1.5rem 4rem;
  min-height: min(100svh, 980px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.4));
  z-index: 0;
}

.hero__inner {
  max-width: 980px;
  margin: 0 auto;
  margin-top: clamp(-6rem, -10vh, -3rem);
  position: relative;
  z-index: 2;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.7rem, 4vw, 4rem);
  margin-bottom: 0.5rem;
  color: #fff;
}

.subheader {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1.2rem;
}

.intro {
  max-width: 680px;
  margin-bottom: 2.4rem;
  color: rgba(255, 255, 255, 0.85);
}

.cta-block h2 {
  font-size: 1.4rem;
  margin-bottom: 1.4rem;
}

.cta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(8rem, 16vw, 19.2rem);
  max-width: calc(100% - 3rem);
  margin: 0 auto;
  justify-content: center;
  justify-items: center;
}

.cta-grid .cta-card:nth-child(2) {
  justify-self: center;
}

.cta-card {
  position: relative;
  text-align: center;
  background-image: url("../Light_bulb_off.webp");
  background-image: image-set(
    url("../Light_bulb_off.avif") type("image/avif"),
    url("../Light_bulb_off.webp") type("image/webp")
  );
  background-color: #0d0d0d;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid transparent;
  border-radius: 18px;
  padding: clamp(2rem, 1.8vw, 2.6rem) clamp(1.6rem, 1.6vw, 2.2rem);
  cursor: pointer;
  transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease, filter 300ms ease;
  min-height: clamp(210px, 20vw, 260px);
  width: 100%;
  max-width: none;
  min-width: 320px;
  filter: grayscale(100%);
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.cta-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../Light_bulb_on.webp");
  background-image: image-set(
    url("../Light_bulb_on.avif") type("image/avif"),
    url("../Light_bulb_on.webp") type("image/webp")
  );
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 200ms ease;
  z-index: 0;
}

.cta-card__title {
  display: block;
  font-weight: 600;
  font-size: clamp(1.6rem, 2.4vw, 2.5rem);
  color: #fff;
  padding: 0 1rem;
  position: relative;
  z-index: 2;
  line-height: 1.2;
}

.cta-card__copy {
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 2.2rem);
}

.cta-card:hover,
.cta-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  outline: none;
  filter: grayscale(0%);
}

.cta-card:hover::after,
.cta-card:focus-visible::after {
  opacity: 1;
}

main {
  padding: 0;
  position: relative;
  z-index: 1;
}

.faq {
  width: 100vw;
  max-width: 100%;
  margin-left: calc(50% - 50vw);
  background-image: url("../Wit_zand.webp");
  background-image: image-set(
    url("../Wit_zand.avif") type("image/avif"),
    url("../Wit_zand.webp") type("image/webp")
  );
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 5rem 1.5rem 4rem;
  position: relative;
  overflow: hidden;
}

.section-inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.faq h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.accordion-item {
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

.accordion-trigger {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.3rem 0;
}

.accordion-panel {
  padding: 0.6rem 0 0.2rem;
  color: var(--muted);
}

.footer {
  padding: 2rem 1.5rem 3rem;
  border-top: 1px solid var(--border);
  background-image: url("../Wit_zand.webp");
  background-image: image-set(
    url("../Wit_zand.avif") type("image/avif"),
    url("../Wit_zand.webp") type("image/webp")
  );
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  z-index: 1;
}

.section-divider {
  position: absolute;
  left: 0;
  width: 100%;
  bottom: -1px;
  height: 120px;
  line-height: 0;
  z-index: 2;
  pointer-events: none;
}

.section-divider svg {
  display: block;
  width: 100%;
  height: 100%;
}


.footer__inner {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
}

.brand__logo {
  display: inline-flex;
  width: 120px;
  height: 32px;
}

.brand__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.footer__note {
  font-size: 0.85rem;
  color: var(--muted);
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 50;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.35);
}

.modal__panel {
  position: relative;
  width: min(90vw, 720px);
  background: var(--panel);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow);
  max-height: 85vh;
  overflow: auto;
}

.modal__close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 0.6rem;
  cursor: pointer;
}

.modal__header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.modal__title {
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}

.modal__intro {
  color: var(--muted);
  max-width: 520px;
}

form {
  display: grid;
  gap: 1.5rem;
}

.form-role {
  display: none;
  gap: 1.5rem;
}

.form-role.is-active {
  display: grid;
}

fieldset {
  border: none;
  display: grid;
  gap: 0.6rem;
}

.form-section + .form-section {
  border-top: 1px solid var(--border);
  padding-top: 1.2rem;
}

legend {
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.choice-group {
  display: grid;
  gap: 0.5rem;
}

label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.95rem;
}

label input,
label textarea,
label select {
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  font: inherit;
}

label input[type="radio"],
label input[type="checkbox"] {
  width: auto;
  margin-right: 0.6rem;
}

label.checkbox {
  flex-direction: row;
  align-items: center;
}

label.checkbox input {
  margin-right: 0.6rem;
}

.choice-group label {
  flex-direction: row;
  align-items: flex-start;
}

.form-section label input[type="text"],
.form-section label input[type="email"],
.form-section label input[type="tel"],
.form-section label textarea,
.form-section label select {
  width: 100%;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

.btn {
  border-radius: 999px;
  border: 1px solid var(--border);
  padding: 0.65rem 1.4rem;
  background: transparent;
  cursor: pointer;
  font-weight: 600;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn--ghost {
  color: var(--muted);
}

.form-error {
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: #f8e9e7;
  color: #7a2d28;
  border: 1px solid rgba(122, 45, 40, 0.2);
  font-size: 0.9rem;
}

.form-warning {
  color: var(--muted);
  font-size: 0.85rem;
}

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
}

.success {
  text-align: center;
  display: grid;
  gap: 0.8rem;
}

.success__summary {
  text-align: left;
  background: #f3f3ee;
  padding: 1rem;
  border-radius: 14px;
  font-size: 0.9rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.consent {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  z-index: 10;
}

.consent[hidden] {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 680px) {
  .cta-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .cta-card {
    min-width: 0;
  }
}

@media (min-width: 681px) and (max-width: 1024px) {
  .cta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 100%;
  }

  .cta-card {
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .hero {
    background-image: url("../Bosweg.webp");
    background-image: image-set(
      url("../Bosweg-640.avif") type("image/avif"),
      url("../Bosweg-640.webp") type("image/webp"),
      url("../Bosweg.avif") type("image/avif"),
      url("../Bosweg.webp") type("image/webp")
    );
    padding-top: 4.5rem;
  }

  .hero__inner {
    margin-top: 0;
  }

  .cta-card {
    aspect-ratio: 4 / 3;
    padding: 2rem 1.5rem;
  }

  .faq {
    padding-top: 4rem;
  }

  .modal__panel {
    padding: 1.5rem;
  }

  .modal__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-actions {
    justify-content: flex-start;
  }
}

@media (min-width: 641px) and (max-width: 1024px) {
  .hero {
    background-image: url("../Bosweg.webp");
    background-image: image-set(
      url("../Bosweg-1024.avif") type("image/avif"),
      url("../Bosweg-1024.webp") type("image/webp"),
      url("../Bosweg.avif") type("image/avif"),
      url("../Bosweg.webp") type("image/webp")
    );
  }
}

@media (min-width: 1025px) and (max-width: 1599px) {
  .hero {
    background-image: url("../Bosweg.webp");
    background-image: image-set(
      url("../Bosweg-1600.avif") type("image/avif"),
      url("../Bosweg-1600.webp") type("image/webp"),
      url("../Bosweg.avif") type("image/avif"),
      url("../Bosweg.webp") type("image/webp")
    );
  }
}

@media (min-width: 1600px) {
  .hero {
    background-image: url("../Bosweg.webp");
    background-image: image-set(
      url("../Bosweg-2400.avif") type("image/avif"),
      url("../Bosweg-2400.webp") type("image/webp"),
      url("../Bosweg.avif") type("image/avif"),
      url("../Bosweg.webp") type("image/webp")
    );
  }
}
