:root {
  --quick-max-width: 1360px;
  --quick-bg: #f2f3f5;
  --quick-panel: #ffffff;
  --quick-ink: #101214;
  --quick-muted: #5f636b;
  --quick-border: rgba(16, 18, 20, 0.1);
  --quick-shadow: 0 16px 44px rgba(16, 18, 20, 0.08);
  --quick-accent: #0d6e63;
  --quick-accent-2: #0b4d45;
}

html,
body {
  background: radial-gradient(circle at 15% 10%, #f9fafb 0%, #f2f3f5 42%, #a5a7a9 100%);
}

body {
  color: var(--quick-ink);
}

header {
  background: rgba(242, 243, 245, 0.9);
  backdrop-filter: blur(8px);
}

header .content {
  width: min(calc(100% - 2rem), var(--quick-max-width));
  margin: 0 auto;
  padding: 0.35rem 0;
  border-bottom-color: var(--quick-border);
}

header .logo {
  letter-spacing: 0.02em;
}

.menu ul li a {
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
}

.menu ul li.current a {
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
}

.service ul li a {
  border-radius: 999px;
}

main {
  margin-top: 72px;
}

main section {
  max-width: var(--quick-max-width);
  margin-left: auto;
  margin-right: auto;
  padding: 1.6rem 1rem;
  gap: 1rem;
}

main section + section {
  margin-top: 0.25rem;
}

.txt h1 {
  font-size: clamp(2rem, 3.6vw, 3.3rem);
  line-height: 1.08;
  margin: 0 0 0.95rem;
}

.txt h2 {
  font-size: clamp(1.55rem, 2.5vw, 2.2rem);
  margin: 0.4rem 0 0.9rem;
}

.txt h3 {
  font-size: clamp(1.16rem, 1.9vw, 1.45rem);
}

.txt p {
  color: var(--quick-muted);
  line-height: 1.5;
}

section article {
  background: var(--quick-panel);
  border: 1px solid var(--quick-border);
  border-radius: 18px;
  box-shadow: var(--quick-shadow);
  overflow: hidden;
}

section article .tekst,
section article .afbeelding {
  padding: 1rem;
}

section article .afbeelding img {
  border-radius: 12px;
}

/* Hero treatment */
.bdhome #sec1 article {
  width: 100%;
  min-width: 0;
  align-items: stretch;
  gap: 0.5rem;
  background: linear-gradient(128deg, #ffffff 0%, #eef5f4 100%);
}

.bdhome #sec1 article .afbeelding {
  width: 43%;
  min-width: 320px;
}

.bdhome #sec1 article .tekst {
  width: 57%;
  min-width: 320px;
}

.bdhome #sec1 .wepContent p {
  font-size: 1.05rem;
}

/* Subpage hero blocks */
.bdvervolg #sec1 article {
  width: 100%;
  min-width: 0;
  background: linear-gradient(135deg, #ffffff 0%, #f4f7f9 100%);
}

.bdvervolg #sec1 article .tekst {
  padding: 1.4rem;
}

/* Card grids */
section.vieropeenrij article,
section.drieopeenrij article {
  transform: translateY(0);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

section.vieropeenrij article:hover,
section.drieopeenrij article:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 36px rgba(16, 18, 20, 0.12);
}

/* Better media + CTA behavior */
article audio {
  position: static;
  width: 100%;
  max-width: 100%;
  margin-top: 0.75rem;
  border-radius: 8px;
}

a.wepButton.mov {
  position: static;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.65rem;
}

.txt a.wepButton {
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--quick-accent);
  color: #fff;
  padding: 0.6rem 1rem;
  line-height: 1.2;
  box-shadow: 0 10px 24px rgba(13, 110, 99, 0.26);
}

.txt a.wepButton:hover {
  background: var(--quick-accent-2);
  color: #fff;
  transform: translateY(-1px);
}

.quickCtas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.quickCtas .wepButton {
  margin: 0;
}

section.fotoTekst.txt:empty {
  display: none;
}

footer {
  margin-top: 1.5rem;
  border-top-color: var(--quick-border);
  background: linear-gradient(180deg, #eceef1 0%, #e4e7ec 100%);
}

footer .colofon p {
  color: #3b3f47;
}

@media screen and (max-width: 1100px) {
  section.fotoTekst article {
    width: 100%;
    min-width: 0;
  }
}

@media screen and (max-width: 900px) {
  .bdhome #sec1 article {
    flex-direction: column-reverse;
  }

  .bdhome #sec1 article .afbeelding,
  .bdhome #sec1 article .tekst,
  section.fotoTekst article .afbeelding,
  section.fotoTekst article .tekst {
    width: 100%;
    min-width: 0;
  }

  section article {
    min-width: 0 !important;
  }

  main {
    margin-top: 64px;
  }

  .menu.open {
    backdrop-filter: blur(6px);
  }
}

/* quick-mobile-overflow-fix: prevent text clipping on small screens */
@media screen and (max-width: 900px) {
  section article {
    max-width: 100%;
  }

  section article .tekst,
  section article .afbeelding {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
  }

  section article .wepContent {
    min-width: 0;
    max-width: 100%;
  }

  .txt h1,
  .txt h2,
  .txt h3,
  .txt p {
    overflow-wrap: break-word;
  }
}

/* quick-desktop-surface-unify: remove subtle section color seams on desktop */
@media screen and (min-width: 901px) {
  :root {
    --quick-surface: #e7e8eb;
  }

  html,
  body,
  main,
  section.backgroundColor {
    background: var(--quick-surface);
  }

  main section + section {
    margin-top: 0;
  }
}

/* quick-desktop-gradient-restore: keep gradient while avoiding section seams */
@media screen and (min-width: 901px) {
  html,
  body {
    background: radial-gradient(circle at 15% 10%, #f9fafb 0%, #f2f3f5 42%, #a5a7a9 100%);
  }

  main,
  section.backgroundColor {
    background: transparent;
  }
}

/* quick-gradient-single-canvas: one continuous gradient across entire page */
html {
  background: radial-gradient(circle at 15% 10%, #f9fafb 0%, #f2f3f5 42%, #a5a7a9 100%);
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

body {
  background: transparent;
}
