/* Huisstijl Groep Dethier (overgenomen van groepdethier.be) */
:root {
  --rood: #c7003d;
  --rood-donker: #9f0028;
  --rood-zacht: #fbe8ee;
  --tekst: #1b1c1e;
  --grijs: #64686d;
  --lichtgrijs: #efeff1;
  --wit: #ffffff;
  /* Glypha is de huisletter; Roboto Slab is een gratis alternatief */
  --font-titel: Glypha, "Roboto Slab", Georgia, serif;
  --font-tekst: "Work Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  font-family: var(--font-tekst);
  font-size: 16px;
  background: var(--wit);
  color: var(--tekst);
  line-height: 1.5;
  /* Footer altijd onderaan, ook als de pagina korter is dan het scherm */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---------- Navigatiebalk ---------- */
.nav {
  background: var(--wit);
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--lichtgrijs);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-logo img { height: 36px; display: block; }
.nav-label {
  font-family: var(--font-titel);
  font-weight: 700;
  color: var(--rood);
  font-size: 1.1rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--wit);
}
.hero-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 16px 64px;
}
/* De grote cirkel uit de huisstijl */
.hero::after {
  content: "";
  position: absolute;
  right: -160px;
  top: -220px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  border: 90px solid var(--rood-zacht);
  pointer-events: none;
}
.hero h1 {
  position: relative;
  z-index: 1;
  font-family: var(--font-titel);
  font-weight: 700;
  color: var(--rood);
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1.05;
  margin: 0 0 12px;
  max-width: 14ch;
}
.hero p {
  position: relative;
  z-index: 1;
  color: var(--grijs);
  margin: 0;
  max-width: 46ch;
}

/* ---------- Inhoud ---------- */
.main { flex: 1; width: 100%; max-width: 1200px; margin: 0 auto; padding: 8px 16px 64px; }

.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px; }
.filters button {
  font: inherit;
  font-size: .875rem;
  border: 1px solid var(--tekst);
  background: var(--wit);
  color: var(--tekst);
  padding: 8px 18px;
  border-radius: 24px;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.filters button:hover { border-color: var(--rood); color: var(--rood); }
.filters button[aria-pressed="true"] { background: var(--rood); border-color: var(--rood); color: var(--wit); }

.section { margin-bottom: 48px; }
.section h2 {
  font-family: var(--font-titel);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 18px;
  color: var(--tekst);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

/* Hoekige tegels zoals op de website; bij hover wordt de tegel rood */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  min-height: 180px;
  background: var(--lichtgrijs);
  text-decoration: none;
  color: inherit;
  transition: background .18s, color .18s;
}
.card:hover, .card:focus-visible { background: var(--rood); color: var(--wit); outline: none; }
.card:hover .card-desc, .card:hover .card-contact,
.card:focus-visible .card-desc, .card:focus-visible .card-contact { color: rgba(255, 255, 255, .85); }
.card:hover .badge, .card:focus-visible .badge { background: var(--wit); color: var(--rood); }
.card:hover .arrow, .card:focus-visible .arrow { background: var(--rood-donker); color: var(--wit); }

.icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  background: var(--wit);
  border-radius: 50%;
  overflow: hidden;
}
.icon img { width: 70%; height: 70%; object-fit: contain; }

.card-desc, .card-contact, .badge { transition: color .18s, background .18s; }

.card-body { flex: 1; display: flex; flex-direction: column; gap: 6px; }

.card-title {
  font-family: var(--font-titel);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.card-desc { color: var(--grijs); font-size: .9rem; }
.card-contact { color: var(--grijs); font-size: .75rem; margin-top: auto; padding-right: 48px; }

.badge {
  font-family: var(--font-tekst);
  font-size: .7rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 24px;
  background: var(--rood);
  color: var(--wit);
}

/* Het rode pijlvakje rechtsonder, zoals op de website */
.arrow {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--rood);
  color: var(--wit);
  font-size: 1.1rem;
  transition: background .18s;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--rood);
  color: var(--wit);
  font-size: .875rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 16px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer strong { font-family: var(--font-titel); }
