:root {
  --groen-900: #0b2e25;
  --groen-800: #0f4234;
  --groen-700: #135c47;
  --groen-600: #17705a;
  --groen-500: #1d8a6d;
  --groen-100: #dcefe7;
  --groen-50: #eef6f2;
  --inkt: #16211c;
  --stil: #5f7169;
  --lijn: #e1e9e5;
  --achtergrond: #f7faf8;
  --wit: #ffffff;
  --rood: #b3261e;
  --rood-licht: #f9e5e3;
  --geel: #fff6dc;
  --geel-donker: #7a5d00;
  --schaduw: 0 1px 2px rgba(11, 46, 37, 0.05);
  --schaduw-zweef: 0 8px 24px rgba(11, 46, 37, 0.10);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  color: var(--inkt);
  background: var(--achtergrond);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* ---------- landingspagina ---------- */

.landing-body { background: var(--wit); }

.landing {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  min-height: 100vh;
}

.landing-merk {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 3.2rem 3.4rem 2rem;
  color: #f2f9f6;
  background:
    radial-gradient(90rem 60rem at -20% 120%, rgba(29, 138, 109, 0.55), transparent 60%),
    linear-gradient(160deg, var(--groen-800), var(--groen-900));
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  pointer-events: none;
}

.blob-1 { width: 26rem; height: 26rem; right: -8rem; top: -10rem; background: var(--groen-500); }
.blob-2 { width: 20rem; height: 20rem; left: -6rem; bottom: 8rem; background: #2fa37f; }

.landing-merk-inhoud { position: relative; max-width: 34rem; }

.woordmerk {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 3.2rem;
}

.merk-kruis { fill: currentColor; }

.woordmerk .merk-kruis {
  width: 1.7rem;
  height: 1.7rem;
  flex: none;
  opacity: 0.95;
}

.woordmerk strong {
  display: block;
  font-size: 1.35rem;
  letter-spacing: 0.22em;
  font-weight: 700;
  line-height: 1.2;
}

.woordmerk div span {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  opacity: 0.75;
}

.landing-merk h1 {
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 1rem;
  font-weight: 700;
}

.landing-sub {
  font-size: 1.05rem;
  opacity: 0.8;
  margin: 0;
  max-width: 28rem;
}

.landing-locaties { margin-top: 2.6rem; position: relative; }

.locaties-kop {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.6;
  margin-bottom: 0.6rem;
}

.apotheek-swipe {
  /* desktop: drie gelijke kolommen, zodat geen enkele apotheek groter oogt */
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.apotheek-kaart {
  scroll-snap-align: start;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 1.1rem 1.2rem;
  backdrop-filter: blur(4px);
}

.apotheek-kaart h3 {
  margin: 0 0 0.5rem;
  font-size: 0.98rem;
  line-height: 1.3;
}

.apotheek-adres {
  margin: 0 0 0.7rem;
  font-size: 0.85rem;
  opacity: 0.75;
}

.apotheek-contact {
  display: grid;
  gap: 0.15rem;
  margin: 0 0 0.8rem;
}

.apotheek-contact a {
  color: #f2f9f6;
  text-decoration: none;
  font-size: 0.85rem;
  overflow-wrap: anywhere;
}

.apotheek-contact a:hover { text-decoration: underline; }

.apotheek-link {
  color: #f2f9f6;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  opacity: 0.85;
}

.apotheek-link:hover { opacity: 1; text-decoration: underline; }

@media (max-width: 800px) {
  /* mobiel: één rij die horizontaal swipet */
  .apotheek-swipe {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.6rem;
    margin-right: -1.6rem;
    padding-right: 1.6rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
  }
  .apotheek-kaart { flex: 0 0 14.5rem; }
}

.landing-voet {
  position: relative;
  font-size: 0.82rem;
  opacity: 0.6;
  margin: 3rem 0 0;
}

.landing-vorm {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem;
  background: var(--achtergrond);
}

.landing-kaart {
  width: 100%;
  max-width: 24rem;
  background: var(--wit);
  border: 1px solid var(--lijn);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--schaduw-zweef);
}

.landing-kaart h2 { margin: 0 0 0.2rem; font-size: 1.35rem; }

@media (max-width: 800px) {
  .landing { grid-template-columns: 1fr; }
  .landing-merk { padding: 2.2rem 1.6rem; }
  .woordmerk { margin-bottom: 2rem; }
  .landing-voet { margin-top: 2rem; }
}

/* ---------- app: koptekst ---------- */

.balk {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.65rem 1.3rem;
  background: var(--wit);
  border-bottom: 1px solid var(--lijn);
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--inkt);
  text-decoration: none;
}

.logo .merk-kruis {
  width: 1.2rem;
  height: 1.2rem;
  flex: none;
  fill: var(--groen-700);
}

.logo strong {
  display: block;
  font-size: 1.05rem;
  letter-spacing: 0.18em;
  line-height: 1.15;
  color: var(--groen-700);
}

.logo-sub {
  display: block;
  font-size: 0.7rem;
  color: var(--stil);
}

.balk nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.balk nav a {
  color: var(--inkt);
  text-decoration: none;
  font-size: 0.93rem;
}

.balk nav a:hover { color: var(--groen-600); }

main {
  max-width: 58rem;
  margin: 1.6rem auto 3rem;
  padding: 0 1rem;
}

footer {
  text-align: center;
  color: var(--stil);
  font-size: 0.8rem;
  padding: 1rem 1rem 2rem;
}

h1 { font-size: 1.45rem; letter-spacing: -0.01em; margin: 0.2rem 0 0.8rem; }
h2 { font-size: 1.02rem; margin: 1.7rem 0 0.5rem; }

/* ---------- zoeken ---------- */

.zoekblok { text-align: center; margin: 2.6rem 0 1.6rem; }

.zoekblok h1 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1.1rem; }

.zoekbalk {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  max-width: 38rem;
  margin: 0 auto 1rem;
}

.zoekbalk input[type="search"] {
  flex: 1 1 auto;
  font-size: 1.02rem;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  box-shadow: var(--schaduw);
}

.zoekbalk button { border-radius: 999px; padding: 0.7rem 1.4rem; }

.chips {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  justify-content: center;
}

.chip {
  display: inline-block;
  padding: 0.28rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--lijn);
  background: var(--wit);
  color: var(--inkt);
  text-decoration: none;
  font-size: 0.85rem;
}

.chip:hover { border-color: var(--groen-500); color: var(--groen-700); }

.chip.actief {
  background: var(--groen-700);
  border-color: var(--groen-700);
  color: var(--wit);
}

.resultaatregel { margin: 0 0 0.8rem; font-size: 0.9rem; }

/* ---------- documentkaarten ---------- */

.documentlijst {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.dokkaart {
  display: grid;
  gap: 0.3rem;
  background: var(--wit);
  border: 1px solid var(--lijn);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--schaduw);
  transition: box-shadow 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.dokkaart:hover {
  border-color: var(--groen-500);
  box-shadow: var(--schaduw-zweef);
  transform: translateY(-1px);
}

.dokkop {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
}

.doktitel { font-weight: 650; font-size: 1.04rem; }

.dokmeta { margin-top: 0.15rem; }

/* ---------- badges ---------- */

.badges { display: flex; gap: 0.4rem; flex-wrap: wrap; margin: 0.2rem 0; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex: none;
  background: var(--groen-50);
  color: var(--groen-700);
  border-radius: 999px;
  padding: 0.08rem 0.65rem;
  font-size: 0.76rem;
  font-weight: 600;
}

.badge.status-actueel::before,
.badge.status-concept::before,
.badge.status-vervallen::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: currentColor;
}

.badge.status-concept { background: var(--geel); color: var(--geel-donker); }
.badge.status-vervallen { background: var(--rood-licht); color: var(--rood); }
.badge.status-actueel { background: var(--groen-100); color: var(--groen-600); }

/* ---------- kaarten en formulieren ---------- */

.kaart {
  background: var(--wit);
  border: 1px solid var(--lijn);
  border-radius: 14px;
  padding: 1.5rem 1.7rem;
  box-shadow: var(--schaduw);
}

.kaart.smal { max-width: 30rem; margin: 2rem auto; }
.kaart.leeg { text-align: center; color: var(--stil); padding: 2.5rem 1.5rem; }

input, select, textarea, button { font: inherit; color: inherit; }

input, select, textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--lijn);
  border-radius: 9px;
  background: var(--wit);
}

.zoekbalk input, .rij input, .rij select { width: auto; }

input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--groen-500);
  outline-offset: 1px;
}

label {
  display: block;
  margin-bottom: 0.95rem;
  font-size: 0.9rem;
  font-weight: 600;
}

label input, label select, label textarea {
  margin-top: 0.3rem;
  font-weight: 400;
}

button, .knop {
  display: inline-block;
  background: var(--groen-700);
  color: var(--wit);
  border: none;
  border-radius: 9px;
  padding: 0.55rem 1.2rem;
  cursor: pointer;
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 600;
}

button:hover, .knop:hover { background: var(--groen-600); }

button.breed { width: 100%; padding: 0.65rem; }

.knop.tweede, button.tweede {
  background: var(--groen-50);
  color: var(--groen-700);
}

.knop.tweede:hover, button.tweede:hover { background: var(--groen-100); }

button.link {
  background: none;
  color: var(--groen-700);
  padding: 0;
  font-weight: 400;
  text-decoration: underline;
  font-size: 0.9rem;
}

button.link:hover { background: none; color: var(--groen-500); }
button.link.gevaar { color: var(--rood); }

.fout {
  color: var(--rood);
  background: var(--rood-licht);
  border-radius: 8px;
  padding: 0.5rem 0.8rem;
  font-size: 0.92rem;
}

.inline { display: inline; }

.melding {
  background: var(--geel);
  border: 1px solid #e8d795;
  border-radius: 10px;
  padding: 0.85rem 1.1rem;
  margin-bottom: 1.1rem;
}

.melding code {
  font-size: 1.1rem;
  background: var(--wit);
  padding: 0.12rem 0.45rem;
  border-radius: 5px;
}

.stil { color: var(--stil); }
.klein { font-size: 0.82rem; }

.ontwikkelaar {
  display: inline-block;
  background: var(--groen-50);
  border: 1px solid var(--groen-100);
  border-radius: 8px;
  padding: 0.35rem 0.75rem;
  margin: 0.2rem 0 0.4rem;
  font-size: 0.9rem;
  color: var(--groen-700);
}

.ontwikkelaar strong { color: var(--groen-800); }

a { color: var(--groen-700); }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

th, td {
  text-align: left;
  padding: 0.5rem 0.6rem;
  border-bottom: 1px solid var(--lijn);
}

th { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--stil); }

tr.inactief td { color: var(--stil); }

.acties { white-space: nowrap; }
.acties form { margin-right: 0.6rem; }

.rij { display: flex; gap: 0.5rem; flex-wrap: wrap; }

.voorbeeld {
  width: 100%;
  height: 34rem;
  border: 1px solid var(--lijn);
  border-radius: 10px;
  margin-top: 0.5rem;
}

@media (max-width: 600px) {
  .voorbeeld { height: 24rem; }
  .acties { white-space: normal; }
  .dokkop { flex-direction: column; align-items: flex-start; gap: 0.2rem; }
}
