/* ===============================
   HUISSTIJL & BASIS
================================ */

:root {
  --color-primary: #6f25ae;
  --color-primary-dark: #4f177f;
  --color-secondary: #d90d87;
  --color-secondary-dark: #a90a68;
  --color-accent: #10a9ce;
  --color-accent-soft: #eaf8fc;
  --color-text: #2f243b;
  --color-text-muted: #655c6f;
  --color-surface: #ffffff;
  --color-background: #f7f2fa;
  --color-border: #e4d9eb;
  --color-success: #1f6b2d;
  --color-warning: #7a5d00;
  --color-danger: #9d1d30;
  --shadow-soft: 0 12px 32px rgba(79, 23, 127, 0.1);
  --shadow-card: 0 8px 24px rgba(47, 36, 59, 0.09);
  --radius-small: 10px;
  --radius-medium: 18px;
  --radius-pill: 999px;
  --content-width: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(16, 169, 206, 0.09), transparent 30rem),
    linear-gradient(180deg, #ffffff 0, var(--color-background) 38rem);
  color: var(--color-text);
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-primary);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--color-secondary-dark);
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
}

/* ===============================
   NAVIGATIE
================================ */

.main-nav {
  position: relative;
  z-index: 100;
  background: #fbfaf9;
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 8px 24px rgba(47, 36, 59, 0.08);
}

.nav-container {
  display: grid;
  grid-template-columns: minmax(170px, 200px) minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  width: min(100% - 2rem, 1760px);
  margin: 0 auto;
  padding: 0.65rem 0;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  width: min(200px, 100%);
  border-radius: var(--radius-small);
  background: #fbfaf9;
  text-decoration: none;
}

.site-logo img {
  width: 100%;
  aspect-ratio: 366 / 194;
  object-fit: contain;
}

.main-nav ul,
.main-nav li {
  list-style: none;
}

.main-nav ul {
  margin: 0;
  padding: 0;
}

.main-nav .nav-menu {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
  min-width: 0;
  gap: 0.1rem;
}

.main-nav .nav-menu li {
  margin: 0;
}

.main-nav .nav-menu a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.5rem;
  border-radius: var(--radius-pill);
  color: var(--color-primary-dark);
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.main-nav .nav-menu a:hover {
  background: var(--color-accent-soft);
  color: var(--color-primary);
  transform: translateY(-1px);
}

.main-nav .nav-menu a.active,
.main-nav .nav-menu a[aria-current="page"] {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(111, 37, 174, 0.2);
}

.hamburger {
  display: none;
  width: 48px;
  height: 48px;
  padding: 10px;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: var(--color-surface);
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 4px auto;
  border-radius: 2px;
  background: var(--color-primary);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===============================
   CONTENT
================================ */

main {
  width: min(100% - 2rem, var(--content-width));
  margin: 3rem auto;
  padding: clamp(1.4rem, 3vw, 2.75rem);
  border: 1px solid rgba(228, 217, 235, 0.85);
  border-radius: var(--radius-medium);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-card);
}

h1,
h2,
h3 {
  color: var(--color-primary-dark);
  line-height: 1.2;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
}

h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

h2 {
  margin-top: 0;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1rem;
}

ul,
ol {
  padding-left: 1.35rem;
}

li + li {
  margin-top: 0.35rem;
}

/* ===============================
   HERO
================================ */

.hero {
  min-height: min(68vh, 680px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  background-image:
    linear-gradient(135deg, rgba(79, 23, 127, 0.78), rgba(217, 13, 135, 0.57)),
    url("../images/hero.webp");
  background-position: center;
  background-size: cover;
  text-align: center;
}

.hero-content {
  width: min(100%, 780px);
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 28px;
  background: rgba(47, 36, 59, 0.28);
  color: #ffffff;
  box-shadow: 0 22px 70px rgba(47, 36, 59, 0.3);
  backdrop-filter: blur(4px);
}

.hero h1,
.hero p {
  color: #ffffff;
}

.hero h1 {
  margin-bottom: 0.6rem;
  font-size: clamp(2.35rem, 6vw, 4.6rem);
}

.hero p {
  margin-bottom: 0;
  font-size: clamp(1.05rem, 2.5vw, 1.4rem);
  font-weight: 600;
}

/* ===============================
   KNOPPEN & FORMULIEREN
================================ */

.btn,
.login-form button,
.portal-action-link,
.portal-action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.72rem 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(111, 37, 174, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn:hover,
.login-form button:hover,
.portal-action-link:hover,
.portal-action-button:hover {
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(111, 37, 174, 0.24);
}

.login-form {
  display: grid;
  gap: 0.65rem;
  width: min(100%, 440px);
  margin: 1.5rem auto 0;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}

.login-form label {
  color: var(--color-primary-dark);
  font-weight: 700;
}

.login-form input,
.login-form select,
.login-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 0.7rem 0.85rem;
  border: 1px solid #cfc3d8;
  border-radius: var(--radius-small);
  background: #ffffff;
  color: var(--color-text);
  font-size: 1rem;
}

.login-form input:focus,
.login-form select:focus,
.login-form textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(16, 169, 206, 0.16);
  outline: none;
}

.login-form input[type="checkbox"],
.login-form input[type="radio"] {
  flex: 0 0 auto;
  width: 1.25rem;
  min-width: 1.25rem;
  height: 1.25rem;
  min-height: 1.25rem;
  margin: 0;
  padding: 0;
  accent-color: var(--color-primary);
}

/* ===============================
   LEDENPORTAAL
================================ */

.portal-card {
  max-width: 620px;
  margin: 1.5rem auto 0;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  background: linear-gradient(145deg, #ffffff, #fbf8fd);
  box-shadow: var(--shadow-soft);
}

.portal-card #status {
  margin-top: 0;
  margin-bottom: 1.25rem;
  color: var(--color-text-muted);
}

.portal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.portal-action-button {
  border-color: var(--color-border);
  background: #ffffff;
  color: var(--color-primary-dark);
  box-shadow: none;
}

.portal-action-button:hover {
  background: var(--color-accent-soft);
  color: var(--color-primary-dark);
}

/* ===============================
   LEDENADMINISTRATIE
================================ */

.admin-masthead {
  padding: clamp(2.25rem, 5vw, 4.5rem) 1rem;
  background:
    radial-gradient(circle at top right, rgba(16, 169, 206, 0.34), transparent 28rem),
    linear-gradient(135deg, var(--color-primary-dark), var(--color-primary) 58%, var(--color-secondary));
  color: #ffffff;
}

.admin-masthead__inner {
  width: min(100% - 2rem, 1280px);
  margin: 0 auto;
}

.admin-masthead__eyebrow,
.admin-section-heading__eyebrow,
.admin-card__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-masthead__eyebrow {
  color: #d7f5fc;
}

.admin-section-heading__eyebrow,
.admin-card__eyebrow {
  color: var(--color-primary);
}

.admin-masthead h1,
.admin-masthead p {
  color: #ffffff;
}

.admin-masthead h1 {
  margin-bottom: 0.55rem;
  font-size: clamp(2.15rem, 4vw, 3.65rem);
}

.admin-masthead p:last-child {
  max-width: 720px;
  margin-bottom: 0;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

#admin-content {
  display: none;
  width: min(100% - 2rem, 1280px);
  max-width: none;
  margin: 2rem auto 4rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.admin-intro-card,
.admin-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow-card);
}

.admin-intro-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.admin-intro-card h2,
.admin-intro-card p {
  margin-bottom: 0;
}

.admin-intro-card p {
  color: var(--color-text-muted);
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0;
}

.admin-action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1.1rem;
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-pill);
  background: #ffffff;
  color: var(--color-primary-dark);
  font-weight: 750;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.admin-action-link:hover {
  background: var(--color-accent-soft);
  color: var(--color-primary-dark);
  transform: translateY(-1px);
}

#ledenbeheer {
  display: grid;
  gap: 1.5rem;
  min-width: 0;
  margin-top: 2rem;
}

.admin-section-heading {
  max-width: 780px;
}

.admin-section-heading h2 {
  margin-bottom: 0.55rem;
}

.admin-section-heading p:last-child {
  margin-bottom: 0;
  color: var(--color-text-muted);
}

.admin-card {
  min-width: 0;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.admin-card--form {
  width: min(100%, 900px);
  margin-inline: auto;
}

.admin-card--list {
  width: 100%;
  min-width: 0;
}

.admin-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--color-border);
}

.admin-card__header h3 {
  margin: 0 0 0.35rem;
  color: var(--color-primary-dark);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
}

.admin-card__header--list {
  align-items: center;
}

.ledenbeheer-total-count {
  flex: 0 0 auto;
  padding: 0.42rem 0.8rem;
  border-radius: var(--radius-pill);
  background: var(--color-accent-soft);
  color: var(--color-primary-dark);
  font-size: 0.9rem;
  font-weight: 800;
  white-space: nowrap;
}

.ledenbeheer-uitleg {
  margin: 0;
  color: var(--color-text-muted);
}

.ledenbeheer-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.ledenbeheer-form--create {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 1.2rem;
  row-gap: 1rem;
}

.ledenbeheer-form-row {
  display: grid;
  gap: 0.4rem;
  min-width: 0;
}

.ledenbeheer-form--create .ledenbeheer-form-row--full {
  grid-column: 1 / -1;
}

.ledenbeheer-form--create .ledenbeheer-form-row--wide {
  grid-column: span 8;
}

.ledenbeheer-form--create .ledenbeheer-form-row--narrow {
  grid-column: span 4;
}

.ledenbeheer-form--create .ledenbeheer-form-row--half {
  grid-column: span 6;
}

.ledenbeheer-form-row label,
.ledenbeheer-control label,
.ledenbeheer-control-label {
  color: var(--color-primary-dark);
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.3;
}

.ledenbeheer-form-row input,
.ledenbeheer-controls input,
.ledenbeheer-controls select {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 0.7rem 0.85rem;
  border: 1px solid #cfc3d8;
  border-radius: var(--radius-small);
  background: #ffffff;
  color: var(--color-text);
  font: inherit;
  font-size: 0.95rem;
}

.ledenbeheer-form-row input:focus,
.ledenbeheer-controls input:focus,
.ledenbeheer-controls select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(16, 169, 206, 0.16);
  outline: none;
}

.ledenbeheer-form-row input[readonly] {
  background: #f3eff6;
  color: var(--color-text-muted);
  cursor: not-allowed;
}

.ledenbeheer-form-row input.field-error {
  border-color: var(--color-danger);
  background: #fff7f8;
}

.ledenbeheer-field-error {
  display: none;
  margin: 0;
  color: var(--color-danger);
  font-size: 0.9rem;
  font-weight: 650;
}

.ledenbeheer-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  margin-top: 0.25rem;
}

.ledenbeheer-actions button,
#ledenbeheer-edit-save {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.72rem 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #ffffff;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(111, 37, 174, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.ledenbeheer-actions button:hover,
#ledenbeheer-edit-save:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(111, 37, 174, 0.24);
}

.ledenbeheer-controls {
  display: grid;
  gap: 0.9rem;
  min-width: 0;
  margin-top: 1.25rem;
  padding: 1.1rem;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: linear-gradient(145deg, #ffffff, #fbf8fd);
}

.ledenbeheer-control-row {
  display: grid;
  grid-template-columns: minmax(240px, 2fr) repeat(4, minmax(130px, 1fr)) minmax(135px, 0.85fr);
  gap: 1rem;
  align-items: end;
}

.ledenbeheer-control {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}

.ledenbeheer-control--reset {
  align-content: end;
}

#ledenbeheer-reset-filters {
  min-height: 46px;
  padding: 0.7rem 0.95rem;
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-small);
  background: #ffffff;
  color: var(--color-primary-dark);
  cursor: pointer;
  font: inherit;
  font-weight: 750;
}

#ledenbeheer-reset-filters:hover,
#ledenbeheer-reset-filters:focus-visible {
  background: var(--color-accent-soft);
}

.ledenbeheer-result-count {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  font-weight: 650;
}

.ledenbeheer-table-wrapper {
  min-width: 0;
  margin-top: 1.25rem;
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: #ffffff;
}

.ledenbeheer-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.ledenbeheer-table th,
.ledenbeheer-table td {
  padding: 0.9rem 0.85rem;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
}

.ledenbeheer-email-cell {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ledenbeheer-table th {
  background: #f4eef8;
  color: var(--color-primary-dark);
  font-size: 0.9rem;
  font-weight: 800;
}

.ledenbeheer-table tbody tr:last-child td {
  border-bottom: 0;
}

.ledenbeheer-table tbody tr:not(.ledenbeheer-empty-row):hover {
  background: #fcf9fd;
}

.ledenbeheer-empty-row td {
  color: var(--color-text-muted);
  font-style: italic;
}

.ledenbeheer-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
}

.ledenbeheer-pagination button {
  min-height: 42px;
  padding: 0.6rem 1rem;
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-pill);
  background: #ffffff;
  color: var(--color-primary-dark);
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.ledenbeheer-pagination button:hover:not(:disabled) {
  background: var(--color-accent-soft);
}

.ledenbeheer-pagination button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.ledenbeheer-page-status {
  color: var(--color-text-muted);
  font-weight: 750;
}

.status-badge,
.role-badge {
  display: inline-block;
  padding: 0.28rem 0.65rem;
  border-radius: var(--radius-pill);
  font-size: 0.86rem;
  font-weight: 750;
}

.status-badge {
  background: #eee8f1;
  color: var(--color-text);
}

.status-badge.active {
  background: #eaf7ea;
  color: var(--color-success);
}

.status-badge.pending {
  background: #fff4d6;
  color: var(--color-warning);
}

.status-badge.inactive {
  background: #fbeaea;
  color: var(--color-danger);
}

.role-badge {
  background: var(--color-accent-soft);
  color: var(--color-primary-dark);
}

.ledenbeheer-action-menu {
  position: relative;
  display: inline-block;
}

.ledenbeheer-action-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 38px;
  padding: 0.48rem 0.9rem;
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-pill);
  background: #ffffff;
  color: var(--color-primary-dark);
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 750;
}

.ledenbeheer-action-trigger:hover,
.ledenbeheer-action-menu.open .ledenbeheer-action-trigger {
  background: var(--color-accent-soft);
}

.ledenbeheer-action-dropdown {
  display: none;
  position: fixed;
  z-index: 2000;
  min-width: 195px;
  padding: 0.4rem 0;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(47, 36, 59, 0.2);
}

.ledenbeheer-action-menu.open .ledenbeheer-action-dropdown {
  display: grid;
}

.ledenbeheer-menu-action {
  width: 100%;
  min-height: 40px;
  padding: 0.6rem 0.95rem;
  border: 0;
  background: #ffffff;
  color: var(--color-text);
  cursor: pointer;
  font: inherit;
  font-size: 0.92rem;
  text-align: left;
}

.ledenbeheer-menu-action:hover {
  background: #f6f0f9;
}

.ledenbeheer-menu-action.deactivate {
  color: var(--color-danger);
}

.ledenbeheer-menu-action.activate {
  color: var(--color-success);
}

.ledenbeheer-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(47, 36, 59, 0.58);
  backdrop-filter: blur(3px);
}

.ledenbeheer-modal.open {
  display: flex;
}

.ledenbeheer-modal-panel {
  width: min(760px, 100%);
  max-height: 90vh;
  overflow: auto;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  background: #ffffff;
  box-shadow: 0 22px 60px rgba(47, 36, 59, 0.3);
}

.ledenbeheer-modal-panel h3 {
  margin-top: 0;
}

.ledenbeheer-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-top: 1rem;
}

.ledenbeheer-modal-actions button {
  min-height: 42px;
  padding: 0.6rem 1.05rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: #ffffff;
  color: var(--color-primary-dark);
  cursor: pointer;
  font: inherit;
  font-weight: 750;
}

.ledenbeheer-modal-actions button:hover {
  background: var(--color-accent-soft);
}

.ledenbeheer-modal-actions #ledenbeheer-edit-save {
  border-color: transparent;
  color: #ffffff;
}

.ledenbeheer-toast {
  display: none;
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 9999;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 0.8rem;
  max-width: min(440px, calc(100vw - 2rem));
  padding: 1rem 1.05rem 1rem 1.2rem;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: #f6f2f8;
  color: var(--color-text);
  box-shadow: 0 14px 34px rgba(47, 36, 59, 0.2);
  font-weight: 700;
}

.ledenbeheer-toast.visible {
  display: grid;
}

.ledenbeheer-toast-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: currentColor;
  cursor: pointer;
  font: inherit;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
}

.ledenbeheer-toast-close:hover,
.ledenbeheer-toast-close:focus-visible {
  background: rgba(255, 255, 255, 0.58);
  outline: 2px solid currentColor;
  outline-offset: 1px;
}

.ledenbeheer-toast.info {
  border-color: #b9deea;
  background: var(--color-accent-soft);
  color: var(--color-primary-dark);
}

.ledenbeheer-toast.success {
  border-color: #b7d8bd;
  background: #eaf7ea;
  color: var(--color-success);
}

.ledenbeheer-toast.error {
  border-color: #e2b4b4;
  background: #fbeaea;
  color: var(--color-danger);
}

@media (max-width: 1100px) {
  .ledenbeheer-control-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ledenbeheer-control-row .ledenbeheer-control:first-child {
    grid-column: span 2;
  }
}

@media (max-width: 820px) {
  #admin-content {
    width: min(100% - 1rem, 1280px);
  }

  .admin-intro-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .ledenbeheer-control-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ledenbeheer-control-row .ledenbeheer-control:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .admin-masthead {
    padding: 2rem 0.5rem;
  }

  .admin-masthead__inner {
    width: min(100% - 1rem, 1280px);
  }

  .admin-card,
  .admin-intro-card {
    padding: 1.1rem;
    border-radius: 14px;
  }

  .ledenbeheer-form--create,
  .ledenbeheer-control-row {
    grid-template-columns: 1fr;
  }

  .ledenbeheer-form--create .ledenbeheer-form-row,
  .ledenbeheer-control-row .ledenbeheer-control:first-child {
    grid-column: 1;
  }

  .ledenbeheer-actions,
  .ledenbeheer-actions button,
  .admin-actions,
  .admin-action-link {
    width: 100%;
  }

  .ledenbeheer-actions button {
    min-width: 0;
    max-width: 100%;
    white-space: normal;
  }

  .ledenbeheer-pagination {
    align-items: stretch;
  }

  .ledenbeheer-pagination button {
    width: 100%;
  }

  .ledenbeheer-page-status {
    width: 100%;
    text-align: center;
  }

  .admin-card__header--list {
    align-items: flex-start;
    flex-direction: column;
  }

  .ledenbeheer-total-count {
    align-self: flex-start;
  }

  .ledenbeheer-control--reset,
  #ledenbeheer-reset-filters {
    width: 100%;
  }

  .ledenbeheer-table-wrapper {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .ledenbeheer-table,
  .ledenbeheer-table tbody,
  .ledenbeheer-table tr,
  .ledenbeheer-table td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .ledenbeheer-table {
    border-collapse: separate;
  }

  .ledenbeheer-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .ledenbeheer-table tbody {
    display: grid;
    gap: 1rem;
  }

  .ledenbeheer-table tr.ledenbeheer-member-row {
    padding: 0.35rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 15px;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(47, 36, 59, 0.08);
  }

  .ledenbeheer-table tr.ledenbeheer-member-row:hover {
    background: #ffffff;
  }

  .ledenbeheer-table tr.ledenbeheer-member-row td {
    display: grid;
    grid-template-columns: minmax(92px, 0.42fr) minmax(0, 1fr);
    gap: 0.8rem;
    align-items: start;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border);
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .ledenbeheer-table tr.ledenbeheer-member-row td:last-child {
    border-bottom: 0;
  }

  .ledenbeheer-table tr.ledenbeheer-member-row td::before {
    content: attr(data-label);
    color: var(--color-primary-dark);
    font-size: 0.82rem;
    font-weight: 800;
  }

  .ledenbeheer-actions-cell .ledenbeheer-action-menu,
  .ledenbeheer-actions-cell .ledenbeheer-action-trigger {
    width: 100%;
  }

  .ledenbeheer-empty-row {
    display: block;
    padding: 1rem;
    border: 1px solid var(--color-border);
    border-radius: 15px;
    background: #ffffff;
  }

  .ledenbeheer-empty-row td {
    padding: 0;
    border: 0;
  }

  .ledenbeheer-modal-panel {
    width: 100%;
  }

  .ledenbeheer-toast {
    top: 0.5rem;
    right: 0.5rem;
    left: 0.5rem;
    max-width: none;
  }
}

/* ===============================
   FOOTER
================================ */

.site-footer {
  margin-top: 4rem;
  padding: 2.5rem 1rem 1.25rem;
  background: linear-gradient(135deg, var(--color-primary-dark), #34104f);
  color: #ffffff;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  width: min(100%, var(--content-width));
  margin: 0 auto;
}

.site-footer p {
  margin: 0.25rem 0;
}

.site-footer__title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 700;
}

.site-footer a {
  color: #ffffff;
  font-weight: 700;
}

.site-footer a:hover,
.site-footer a:focus {
  color: #d7f5fc;
}

.site-footer__copyright {
  width: min(100%, var(--content-width));
  margin: 2rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  text-align: center;
}

/* ===============================
   RESPONSIEF
================================ */

@media (max-width: 1180px) {
  .nav-container {
    grid-template-columns: minmax(150px, 200px) auto;
    width: min(100% - 1.25rem, 1120px);
  }

  .site-logo {
    width: min(200px, 100%);
  }

  .hamburger {
    display: block;
    justify-self: end;
  }

  .main-nav .nav-menu {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    padding: 0.75rem 0 0.25rem;
    border-top: 1px solid var(--color-border);
  }

  .main-nav .nav-menu.open {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
  }

  .main-nav .nav-menu a {
    justify-content: center;
    width: 100%;
    font-size: 0.9rem;
    text-align: center;
  }
}

@media (max-width: 820px) {
  .nav-container {
    width: min(100% - 1.25rem, 760px);
  }

  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .nav-container {
    grid-template-columns: minmax(135px, 170px) auto;
  }

  .site-logo {
    width: min(170px, 100%);
  }

  .main-nav .nav-menu.open {
    grid-template-columns: 1fr;
  }

  main {
    width: min(100% - 1rem, var(--content-width));
    margin: 1.25rem auto;
    padding: 1.25rem;
    border-radius: 14px;
  }

  .hero {
    min-height: 58vh;
    padding: 2rem 1rem;
  }

  .hero-content {
    padding: 1.35rem;
    border-radius: 20px;
  }

  .login-form {
    padding: 1.1rem;
  }

  .portal-actions,
  .portal-action-link,
  .portal-action-button {
    width: 100%;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* === RAPPORTAGEPAGINA CONTENTMANAGERS — DEFINITIEF DASHBOARD === */

.rapportage-pagina .visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.rapportage-pagina {
  margin: 0;
  min-width: 320px;
  background: #f5f3f8;
  color: #20152b;
}

.rapportage-dashboard-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 13rem minmax(0, 1fr);
}

.rapportage-beheerzijbalk {
  position: sticky;
  top: 0;
  z-index: 10;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 1rem 0.75rem;
  color: #fff;
  background: linear-gradient(180deg, #24104f 0%, #35106e 55%, #211044 100%);
  box-shadow: 0.25rem 0 1.2rem rgba(27, 8, 58, 0.18);
}

.rapportage-beheerlogo {
  display: block;
  width: 10.4rem;
  margin: 0 auto 1.25rem;
  padding: 0.55rem;
  border-radius: 0.75rem;
  background: #fff;
}

.rapportage-beheerlogo img {
  width: 100%;
  aspect-ratio: 366 / 194;
  object-fit: contain;
}

.rapportage-beheerzijbalk__label {
  margin: 0 0 0.45rem;
  padding: 0 0.6rem;
  color: #d9c6f4;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.rapportage-beheermenu {
  display: grid;
  gap: 0.25rem;
}

.rapportage-beheermenu a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.9rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.45rem;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.rapportage-beheermenu a:hover,
.rapportage-beheermenu a:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.rapportage-beheermenu a.is-active {
  background: linear-gradient(90deg, #7040b8, #8e43d9);
  box-shadow: 0 0.35rem 1rem rgba(18, 4, 38, 0.22);
}

.rapportage-menu-icoon {
  display: grid;
  width: 1.1rem;
  place-items: center;
  font-size: 1rem;
}

.rapportage-demo-indicator {
  margin-top: auto;
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 0.6rem;
  color: #eee7f8;
  font-size: 0.72rem;
  line-height: 1.45;
}

.rapportage-demo-indicator strong,
.rapportage-demo-indicator span {
  display: block;
}

.rapportage-demo-indicator strong {
  margin-bottom: 0.2rem;
  color: #fff;
  text-transform: uppercase;
}

.rapportage-dashboard-content {
  min-width: 0;
}

.rapportage-hero {
  min-height: 8.25rem;
  display: flex;
  align-items: center;
  padding: 1.35rem 2rem;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(15, 7, 32, 0.88), rgba(57, 21, 105, 0.45)),
    url("../images/rapportage-ict-header.png") center / cover no-repeat;
}

.rapportage-hero__inner {
  width: min(100%, 92rem);
  margin: 0 auto;
}

.rapportage-hero__eyebrow {
  margin: 0 0 0.15rem;
  color: #ece4fa;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.rapportage-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.2rem, 4vw, 3.35rem);
  line-height: 1;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.28);
}

.rapportage-hero p:last-child {
  margin: 0.55rem 0 0;
  color: #fff;
  font-size: 0.96rem;
}

.rapportage-main {
  width: min(calc(100% - 1.5rem), 92rem);
  max-width: none;
  margin: 1rem auto 1.5rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.rapportage-demo-banner {
  margin: 0 0 0.7rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid #d7c4ed;
  border-radius: 0.45rem;
  background: #fbf8ff;
  color: #564a62;
  font-size: 0.75rem;
}

.rapportage-demo-banner strong {
  margin-right: 0.35rem;
  color: #4f177f;
}

.rapportage-top-grid {
  display: grid;
  grid-template-columns: minmax(18rem, 0.42fr) minmax(34rem, 0.58fr);
  gap: 0.8rem;
  align-items: stretch;
  margin-bottom: 0.8rem;
}

.rapportage-period-panel,
.rapportage-status-panel,
.rapportage-kpi-card,
.rapportage-dashboard-card,
.rapportage-begrippen {
  border: 1px solid #ddd5e5;
  border-radius: 0.55rem;
  background: #fff;
  box-shadow: 0 0.25rem 0.9rem rgba(42, 18, 73, 0.05);
}

.rapportage-period-panel {
  padding: 1rem;
}

.rapportage-section-label {
  margin: 0 0 0.45rem;
  color: #4f177f;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rapportage-period-panel label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
}

.rapportage-period-panel select {
  width: min(100%, 18rem);
  min-height: 2.55rem;
  padding: 0.55rem 2rem 0.55rem 0.7rem;
  border: 1px solid #b9b0c2;
  border-radius: 0.4rem;
  background: #fff;
}

.rapportage-meta {
  margin: 0.65rem 0 0;
  color: #5d5465;
  font-size: 0.72rem;
  line-height: 1.45;
}

.rapportage-status-panel {
  display: grid;
  grid-template-columns: minmax(13rem, 0.72fr) minmax(22rem, 1.28fr);
  gap: 0.8rem;
  padding: 0.8rem;
}

.rapportage-status-samenvatting {
  padding: 0.35rem 0.25rem;
}

.rapportage-status-regel {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.rapportage-status-icoon {
  display: grid;
  width: 2.3rem;
  height: 2.3rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #b7791f;
  font-size: 1.35rem;
  font-weight: 900;
}

.rapportage-status-panel[data-status="good"] .rapportage-status-icoon { background: #22823a; }
.rapportage-status-panel[data-status="action"] .rapportage-status-icoon { background: #b42318; }
.rapportage-status-panel[data-status="no-data"] .rapportage-status-icoon { background: #6b7280; }

.rapportage-status-regel h2 {
  margin: 0;
  color: #d95b08;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 1.45rem;
}

.rapportage-status-panel[data-status="good"] .rapportage-status-regel h2 { color: #1f6b2d; }
.rapportage-status-panel[data-status="action"] .rapportage-status-regel h2 { color: #9d1d30; }

.rapportage-status-samenvatting > p:not(.rapportage-section-label) {
  margin: 0.55rem 0 0;
  font-size: 0.76rem;
  line-height: 1.45;
}

.rapportage-statushulp {
  margin-top: 0.65rem;
  font-size: 0.7rem;
}

.rapportage-statushulp summary {
  color: #4f177f;
  font-weight: 700;
  cursor: pointer;
}

.rapportage-statushulp p {
  margin: 0.35rem 0 0;
}

.rapportage-aandachtspunten {
  padding: 0.65rem 0.8rem;
  border: 1px solid #f1b894;
  border-radius: 0.45rem;
  background: #fffaf7;
}

.rapportage-aandachtspunten h3 {
  margin: 0 0 0.45rem;
  color: #d95b08;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 0.83rem;
}

.rapportage-aandachtspunten ul {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rapportage-aandachtspunten li {
  position: relative;
  padding-left: 0.9rem;
  font-size: 0.68rem;
  line-height: 1.35;
}

.rapportage-aandachtspunten li::before {
  content: "";
  position: absolute;
  top: 0.42rem;
  left: 0;
  width: 0.28rem;
  height: 0.28rem;
  border-radius: 50%;
  background: #ef5b0c;
}

.rapportage-aandachtspunten strong,
.rapportage-aandachtspunten span {
  display: block;
}

.rapportage-aandachtspunten span {
  color: #51485a;
}

.rapportage-kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.7rem;
  margin-bottom: 0.75rem;
}

.rapportage-kpi-card {
  min-width: 0;
  min-height: 7rem;
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 0.6rem;
  align-items: start;
  padding: 0.75rem;
}

.rapportage-kpi-card--visitors {
  background: linear-gradient(135deg, #fff, #f4ecff);
}

.rapportage-kpi-icoon {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border: 3px solid currentColor;
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 900;
}

.rapportage-kpi-icoon--visitors { color: #6f25ae; letter-spacing: -0.22em; }
.rapportage-kpi-icoon--performance { color: #f06400; font-size: 1.35rem; }
.rapportage-kpi-icoon--accessibility { color: #248b38; font-size: 1.3rem; }
.rapportage-kpi-icoon--best-practices { color: #1769c2; }
.rapportage-kpi-icoon--seo { color: #6d28d9; font-size: 1.3rem; }

.rapportage-kpi-card h2 {
  margin: 0 0 0.35rem;
  color: #23162d;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 0.8rem;
  line-height: 1.25;
}

.rapportage-kpi-waarde {
  margin: 0;
  color: #18111f;
  font-size: 1.45rem;
  font-weight: 850;
  line-height: 1;
}

.rapportage-kpi-schaal {
  font-size: 0.78rem;
  font-weight: 500;
}

.rapportage-kpi-eenheid {
  margin: 0.25rem 0 0;
  color: #4f4658;
  font-size: 0.68rem;
}

.rapportage-kpi-status,
.rapportage-kpi-vergelijking {
  margin: 0.55rem 0 0;
  font-size: 0.64rem;
  line-height: 1.35;
}

.rapportage-kpi-status { color: #d44c00; }
.rapportage-kpi-card[data-status="good"] .rapportage-kpi-status { color: #18782b; }
.rapportage-kpi-card[data-status="action"] .rapportage-kpi-status { color: #a51f1f; }
.rapportage-kpi-card[data-status="no-data"] .rapportage-kpi-status { color: #666; }
.rapportage-kpi-vergelijking[data-direction="up"] { color: #18782b; }
.rapportage-kpi-vergelijking[data-direction="down"] { color: #a51f1f; }

.rapportage-begrippen {
  margin-bottom: 0.75rem;
  padding: 0.55rem 0.75rem;
  background: #fbf9ff;
}

.rapportage-begrippen summary {
  color: #4f177f;
  font-size: 0.74rem;
  font-weight: 800;
  cursor: pointer;
}

.rapportage-begrippenlijst {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 0.6rem 0 0;
}

.rapportage-begrippenlijst > div {
  padding: 0.55rem;
  border: 1px solid #e4daee;
  border-radius: 0.4rem;
  background: #fff;
}

.rapportage-begrippenlijst dt {
  margin-bottom: 0.2rem;
  color: #4f177f;
  font-size: 0.72rem;
  font-weight: 900;
}

.rapportage-begrippenlijst dd {
  margin: 0;
  color: #4f4658;
  font-size: 0.66rem;
  line-height: 1.4;
}

.rapportage-grafieken-grid {
  display: grid;
  grid-template-columns: minmax(24rem, 0.82fr) minmax(38rem, 1.45fr);
  gap: 0.8rem;
  align-items: stretch;
  margin-bottom: 0.8rem;
}

.rapportage-dashboard-card {
  min-width: 0;
  padding: 0.75rem;
}

.rapportage-card-heading h2 {
  margin: 0 0 0.45rem;
  color: #4f177f;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 0.82rem;
}

.rapportage-bezoekers-grafiek,
.rapportage-trendgrafiek {
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.rapportage-bezoekers-grafiek svg,
.rapportage-trendgrafiek svg {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.rapportage-bezoekers-balk { fill: #8554d5; }
.rapportage-bezoekers-balk:hover { fill: #6f25ae; }
.rapportage-grafiek-grid { stroke: #e3dee8; stroke-width: 1; }
.rapportage-grafiek-aslabel { fill: #4f4658; font-size: 10px; }
.rapportage-grafiek-datalabel { font-size: 9px; font-weight: 700; }
.rapportage-grafiek-legenda { fill: #251a2e; font-size: 11px; font-weight: 650; }

.rapportage-grafiek-conclusie {
  margin: 0.25rem 0 0;
  color: #3f3548;
  font-size: 0.68rem;
}

.rapportage-trend-samenvatting {
  margin-top: 0.45rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid #e1d6f1;
  border-radius: 0.45rem;
  background: #f7f2ff;
}

.rapportage-trend-samenvatting h3 {
  margin: 0 0 0.35rem;
  color: #4f177f;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 0.78rem;
}

.rapportage-trend-samenvatting ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.25rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rapportage-trend-samenvatting li {
  position: relative;
  padding-left: 1rem;
  color: #2c2035;
  font-size: 0.63rem;
  line-height: 1.35;
}

.rapportage-trend-samenvatting li::before {
  content: "✓";
  position: absolute;
  top: 0.05rem;
  left: 0;
  display: grid;
  width: 0.72rem;
  height: 0.72rem;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #6d28d9;
  font-size: 0.5rem;
  font-weight: 900;
}

.rapportage-historie {
  padding: 0.65rem 0.75rem;
}

.rapportage-historie-scroll {
  max-height: 14rem;
  overflow: auto;
  border: 1px solid #e2dce8;
  border-radius: 0.4rem;
}

.rapportage-historietabel {
  width: 100%;
  min-width: 54rem;
  border-collapse: collapse;
  background: #fff;
  font-size: 0.66rem;
}

.rapportage-historietabel thead {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f7f4fa;
}

.rapportage-historietabel th,
.rapportage-historietabel td {
  padding: 0.38rem 0.5rem;
  border-bottom: 1px solid #e8e2ec;
  text-align: left;
  white-space: nowrap;
}

.rapportage-historietabel th {
  color: #2a2032;
  font-weight: 750;
}

.rapportage-historiestatus {
  display: inline-block;
  padding: 0.18rem 0.4rem;
  border-radius: 999px;
  background: #e5e7eb;
  color: #333;
  font-size: 0.58rem;
  font-weight: 750;
}

.rapportage-historiestatus[data-status="good"] { background: #dff3e7; color: #174c2c; }
.rapportage-historiestatus[data-status="attention"] { background: #fff0c7; color: #68420b; }
.rapportage-historiestatus[data-status="action"] { background: #f9d9d6; color: #761d16; }

.rapportage-beheerfooter {
  padding: 0.8rem 1rem 1.2rem;
  color: #6b5a7b;
  font-size: 0.68rem;
  text-align: center;
}

#rapportage-foutmelding { margin: 0.8rem 0; }
#rapportage-foutmelding[hidden] { display: none; }

@media (max-width: 1220px) {
  .rapportage-top-grid,
  .rapportage-grafieken-grid {
    grid-template-columns: 1fr;
  }

  .rapportage-kpi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .rapportage-dashboard-shell { grid-template-columns: 1fr; }
  .rapportage-beheerzijbalk {
    position: static;
    height: auto;
    display: block;
    padding: 0.7rem;
  }
  .rapportage-beheerlogo { display: none; }
  .rapportage-beheermenu { display: flex; flex-wrap: wrap; }
  .rapportage-beheermenu a { min-height: 2.3rem; }
  .rapportage-demo-indicator { display: none; }
  .rapportage-status-panel { grid-template-columns: 1fr; }
  .rapportage-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rapportage-begrippenlijst { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .rapportage-hero { min-height: 7rem; padding: 1rem; }
  .rapportage-hero h1 { font-size: 2rem; }
  .rapportage-main { width: min(calc(100% - 0.7rem), 92rem); margin-top: 0.45rem; }
  .rapportage-kpi-grid,
  .rapportage-begrippenlijst,
  .rapportage-trend-samenvatting ul { grid-template-columns: 1fr; }
  .rapportage-kpi-card { min-height: 0; }
  .rapportage-historietabel { min-width: 46rem; }
}

/* === EINDE RAPPORTAGEPAGINA CONTENTMANAGERS — DEFINITIEF DASHBOARD === */

/* MOBIELE HISTORIEKAARTEN */
@media (max-width: 720px) {
  .rapportage-historie-scroll {
    max-height: none;
    overflow: visible;
    border: 0;
  }

  .rapportage-historietabel,
  .rapportage-historietabel tbody,
  .rapportage-historietabel tr,
  .rapportage-historietabel th,
  .rapportage-historietabel td {
    display: block;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
  }

  .rapportage-historietabel thead {
    position: absolute;
    left: -9999px;
  }

  .rapportage-historietabel tbody {
    display: grid;
    gap: 0.75rem;
  }

  .rapportage-historietabel tr {
    padding: 0.65rem 0.75rem;
    border: 1px solid #e2dce8;
    border-radius: 0.55rem;
    background: #ffffff;
  }

  .rapportage-historietabel th,
  .rapportage-historietabel td {
    display: grid;
    grid-template-columns: 8rem minmax(0, 1fr);
    gap: 0.75rem;
    padding: 0.4rem 0;
    border-bottom: 1px solid #eee8f2;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .rapportage-historietabel td:last-child {
    border-bottom: 0;
  }

  .rapportage-historietabel th::before,
  .rapportage-historietabel td::before {
    color: #5b406e;
    font-weight: 750;
  }

  .rapportage-historietabel th::before { content: "Maand"; }
  .rapportage-historietabel td:nth-child(2)::before { content: "Bezoeken"; }
  .rapportage-historietabel td:nth-child(3)::before { content: "Snelheid"; }
  .rapportage-historietabel td:nth-child(4)::before { content: "Toegankelijkheid"; }
  .rapportage-historietabel td:nth-child(5)::before { content: "Beste praktijken"; }
  .rapportage-historietabel td:nth-child(6)::before { content: "SEO"; }
  .rapportage-historietabel td:nth-child(7)::before { content: "Status"; }
}
/* ===============================
   HOMEPAGE
================================ */

.homepage {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  padding: clamp(2.5rem, 6vw, 5rem) 1rem;
}

.hero-eyebrow,
.homepage-section__eyebrow {
  margin: 0 0 0.45rem;
  color: var(--color-secondary);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-eyebrow {
  color: #ffffff;
  opacity: 0.9;
}

.hero-actions,
.homepage-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin: 1.4rem 0 0;
}

.btn--secondary {
  border-color: rgba(111, 37, 174, 0.18);
  background: #ffffff;
  color: var(--color-primary);
}

.btn--secondary:hover {
  color: var(--color-secondary-dark);
  box-shadow: 0 12px 24px rgba(47, 36, 59, 0.14);
}

.homepage-section {
  width: min(100%, var(--content-width));
  margin: 0 auto;
}

.homepage-section__header {
  width: min(100%, 760px);
  margin: 0 auto 1.6rem;
  text-align: center;
}

.homepage-section__header h2,
.homepage-welcome-card h2,
.homepage-visit-card h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.homepage-section__header p:last-child,
.homepage-welcome-card p,
.homepage-visit-card p {
  color: var(--color-text-muted);
}

.homepage-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.5rem);
}

.homepage-card,
.homepage-welcome-card,
.homepage-visit-card {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}

.homepage-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.homepage-card__media {
  min-height: 170px;
  background:
    linear-gradient(135deg, rgba(79, 23, 127, 0.82), rgba(217, 13, 135, 0.58)),
    url("../images/hero.webp");
  background-position: center;
  background-size: cover;
}

.homepage-card__media--agenda {
  background:
    linear-gradient(135deg, rgba(16, 169, 206, 0.75), rgba(79, 23, 127, 0.62)),
    url("../images/hero.webp");
  background-position: center;
  background-size: cover;
}

.homepage-card__media--media {
  background:
    linear-gradient(135deg, rgba(217, 13, 135, 0.72), rgba(16, 169, 206, 0.56)),
    url("../images/hero.webp");
  background-position: center;
  background-size: cover;
}

.homepage-card__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 1.25rem;
}

.homepage-card__content h3 {
  margin: 0;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.homepage-card__content p {
  margin: 0;
  color: var(--color-text-muted);
}

.homepage-card__content .btn {
  margin-top: auto;
}

.homepage-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.5rem);
}

.homepage-news-card {
  display: flex;
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.homepage-news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(47, 36, 59, 0.14);
}

.homepage-news-card__media {
  overflow: hidden;
  aspect-ratio: 16 / 8;
  background: linear-gradient(
    135deg,
    var(--color-primary-dark),
    var(--color-secondary)
  );
}

.homepage-news-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.homepage-news-card:hover .homepage-news-card__media img {
  transform: scale(1.025);
}

.homepage-news-card__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 1.25rem;
}

.homepage-news-card__content h3 {
  margin: 0;
  color: var(--color-primary-dark);
  font-size: clamp(1.05rem, 1.55vw, 1.25rem);
  line-height: 1.22;
}

.homepage-news-card__content p {
  margin: 0;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.homepage-news-card__content .btn {
  margin-top: auto;
}

.homepage-featured-news__actions {
  margin-top: 1.5rem;
}

.homepage-welcome-card,
.homepage-visit-card {
  padding: clamp(1.5rem, 4vw, 2.6rem);
  text-align: center;
}

.homepage-welcome-card {
  background:
    radial-gradient(circle at top right, rgba(16, 169, 206, 0.12), transparent 18rem),
    var(--color-surface);
}

.homepage-visit-card {
  background:
    linear-gradient(135deg, rgba(79, 23, 127, 0.95), rgba(217, 13, 135, 0.82));
  color: #ffffff;
}

.homepage-visit-card .homepage-section__eyebrow,
.homepage-visit-card h2,
.homepage-visit-card p {
  color: #ffffff;
}

.homepage-visit-card p {
  opacity: 0.94;
}

@media (max-width: 900px) {
  .homepage-card-grid,
  .homepage-news-grid {
    grid-template-columns: 1fr;
  }

.homepage-card__media {
    min-height: 150px;
  }
}

@media (max-width: 620px) {
  .homepage {
    padding-inline: 0.9rem;
  }

  .hero-actions,
  .homepage-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn,
  .homepage-actions .btn {
    width: 100%;
  }
}

/* Homepage: bredere hoofdcontainer en kaartpresentatie op desktop */
main.homepage {
  width: min(100% - 2rem, 1480px);
}

@media (min-width: 1200px) {
  .homepage-section {
    width: min(100% - 4rem, 1480px);
  }

  .homepage-section__header {
    width: min(100%, 860px);
  }

  .homepage-card__media {
    min-height: 190px;
  }

  .homepage-card__content {
    padding: 1.6rem;
  }
}

.homepage-invite-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.6rem auto 0;
  width: min(100%, 980px);
}

.homepage-invite-points div {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-medium);
  background: rgba(255, 255, 255, 0.12);
  text-align: left;
}

.homepage-invite-points strong,
.homepage-invite-points span {
  display: block;
  color: #ffffff;
}

.homepage-invite-points strong {
  margin-bottom: 0.35rem;
  font-size: 1rem;
}

.homepage-invite-points span {
  opacity: 0.92;
}

@media (max-width: 760px) {
  .homepage-invite-points {
    grid-template-columns: 1fr;
  }

  .homepage-invite-points div {
    text-align: center;
  }
}
/* ===============================
   NIEUWSPAGINA
================================ */

.news-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(285px, 30vw, 390px);
  padding: clamp(2.25rem, 4vw, 3.5rem) 1.5rem clamp(5rem, 7vw, 6rem);
  overflow: hidden;
  background:
    linear-gradient(
      100deg,
      rgba(49, 18, 105, 0.97) 0%,
      rgba(79, 23, 127, 0.90) 38%,
      rgba(164, 15, 128, 0.70) 70%,
      rgba(217, 13, 135, 0.56) 100%
    ),
    url("../images/hero.webp") center 42% / cover no-repeat;
  color: #ffffff;
}

.news-hero::before {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: -1px;
  left: 0;
  height: clamp(72px, 8vw, 112px);
  background: var(--color-background);
  content: "";
  -webkit-mask:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='%23000' d='M0 46C230 88 454 96 690 62C930 27 1164 8 1440 54V120H0Z'/%3E%3C/svg%3E")
    center bottom / 100% 100% no-repeat;
  mask:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='%23000' d='M0 46C230 88 454 96 690 62C930 27 1164 8 1440 54V120H0Z'/%3E%3C/svg%3E")
    center bottom / 100% 100% no-repeat;
}

.news-hero__overlay {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(32, 17, 57, 0.22), transparent 65%),
    radial-gradient(circle at 76% 28%, rgba(255, 255, 255, 0.13), transparent 17rem);
}

.news-hero__content {
  position: relative;
  z-index: 3;
  width: min(100%, 1180px);
  margin: 0 auto;
}

.news-hero__eyebrow {
  margin: 0 0 0.75rem;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  opacity: 0.92;
  text-transform: uppercase;
}

.news-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.25rem, 4vw, 3.55rem);
  line-height: 1.04;
  text-wrap: balance;
}

.news-hero__content > p:last-child {
  max-width: 500px;
  margin: 1rem 0 0;
  color: #ffffff;
  font-size: clamp(1rem, 1.7vw, 1.22rem);
  line-height: 1.55;
  opacity: 0.95;
}

main.news-page {
  position: relative;
  z-index: 4;
  width: min(100% - 2rem, 1180px);
  margin: -0.75rem auto 0;
  padding: 0 0 clamp(0.75rem, 2vw, 1.5rem);
  border: 0;
  background: transparent;
  box-shadow: none;
}

.news-overview {
  width: 100%;
}

.news-controls {
  display: grid;
  grid-template-columns: minmax(230px, 1fr) minmax(480px, 2.15fr) minmax(175px, 0.78fr);
  gap: 0.8rem;
  align-items: center;
}

.news-search,
.news-sort {
  position: relative;
  min-width: 0;
}

.news-search label,
.news-sort label,
.news-categories legend {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.news-search input,
.news-sort select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background-color: #ffffff;
  color: var(--color-text);
  font: inherit;
}

.news-search input {
  padding: 0.7rem 0.9rem 0.7rem 2.75rem;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236f25ae' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E");
  background-position: 0.9rem center;
  background-repeat: no-repeat;
}

.news-sort select {
  padding: 0.7rem 2.5rem 0.7rem 0.9rem;
}

.news-search input:focus,
.news-sort select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(111, 37, 174, 0.16);
  outline: none;
}

.news-categories {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.news-category-buttons {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 0.45rem;
}

.news-category-button {
  min-height: 46px;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-pill);
  background: #ffffff;
  color: var(--color-primary-dark);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 750;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.news-category-button:hover {
  background: var(--color-accent-soft);
  transform: translateY(-1px);
}

.news-category-button.active,
.news-category-button[aria-pressed="true"] {
  border-color: transparent;
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-secondary)
  );
  color: #ffffff;
  box-shadow: 0 7px 16px rgba(111, 37, 174, 0.20);
}

.news-category-button:focus-visible {
  outline: 3px solid rgba(16, 169, 206, 0.38);
  outline-offset: 2px;
}

.news-result-summary {
  margin: 1.15rem 0 0.9rem;
}

.news-result-summary p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-weight: 700;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.news-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.news-card[hidden] {
  display: none;
}

.news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(47, 36, 59, 0.14);
}

.news-card__image {
  position: relative;
  aspect-ratio: 16 / 8;
  background: linear-gradient(
    135deg,
    var(--color-primary-dark),
    var(--color-secondary)
  );
}

.news-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 14px 14px 0 0;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-card:hover .news-card__image img {
  transform: scale(1.025);
}

.news-card__category {
  position: absolute;
  z-index: 2;
  bottom: -0.7rem;
  left: 1rem;
  padding: 0.38rem 0.72rem;
  border-radius: var(--radius-pill);
  background: var(--color-primary);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 5px 14px rgba(47, 36, 59, 0.18);
}

.news-card__category--pink {
  background: var(--color-secondary);
}

.news-card__category--blue {
  background: #06647a;
}

.news-card__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 1.45rem 1rem 1rem;
}

.news-card__date {
  margin: 0;
  color: var(--color-secondary-dark);
  font-size: 0.8rem;
  font-weight: 800;
}

.news-card__content h2 {
  margin: 0;
  color: var(--color-primary-dark);
  font-size: clamp(1.05rem, 1.55vw, 1.25rem);
  line-height: 1.22;
}

.news-card__content > p:not(.news-card__date) {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.news-card__content > a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
  color: var(--color-primary);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.news-card__content > a::after {
  content: "\2192";
  transition: transform 0.2s ease;
}

.news-card__content > a:hover {
  color: var(--color-secondary-dark);
}

.news-card__content > a:hover::after {
  transform: translateX(4px);
}

.news-card__content > a:focus-visible {
  border-radius: 4px;
  outline: 3px solid rgba(16, 169, 206, 0.38);
  outline-offset: 3px;
}

.news-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
}

.news-pagination[hidden] {
  display: none;
}

.news-pagination button {
  min-width: 42px;
  min-height: 42px;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-pill);
  background: #ffffff;
  color: var(--color-primary-dark);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.news-pagination button:hover:not(:disabled):not(.active) {
  background: var(--color-accent-soft);
  transform: translateY(-1px);
}

.news-pagination button.active,
.news-pagination button[aria-current="page"] {
  border-color: transparent;
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-secondary)
  );
  color: #ffffff;
  box-shadow: 0 7px 16px rgba(111, 37, 174, 0.20);
}

.news-pagination button:focus-visible {
  outline: 3px solid rgba(16, 169, 206, 0.38);
  outline-offset: 2px;
}

.news-pagination button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

@media (max-width: 1080px) {
  .news-controls {
    grid-template-columns: 1fr 1fr;
  }

  .news-categories {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .news-category-buttons {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

@media (max-width: 900px) {
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .news-hero {
    min-height: 360px;
    padding: 2.75rem 1rem 5.5rem;
    background-position: 58% center;
  }

  .news-hero h1 {
    max-width: 560px;
  }

  main.news-page {
    width: min(100% - 1.25rem, 1180px);
    margin-top: -1.25rem;
  }

  .news-controls {
    grid-template-columns: 1fr;
  }

  .news-categories {
    grid-column: auto;
    grid-row: auto;
  }

  .news-category-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-category-button {
    width: 100%;
  }
}

@media (max-width: 620px) {
  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-card:hover {
    transform: none;
  }
}

@media (max-width: 460px) {
  .news-hero {
    min-height: 380px;
    background-position: 62% center;
  }

  .news-hero h1 {
    font-size: clamp(2.15rem, 11vw, 3rem);
  }

  .news-category-buttons {
    grid-template-columns: 1fr;
  }

  .news-pagination button {
    min-width: 40px;
    min-height: 40px;
  }
}
/* Golvende overgang naar de gedeelde footer, alleen op de nieuwspagina */
.news-page + #footer-placeholder {
  position: relative;
  margin-top: 0;
}

.news-page + #footer-placeholder::before {
  display: block;
  width: 100%;
  height: clamp(58px, 6vw, 86px);
  margin-bottom: -1px;
  background: linear-gradient(
    135deg,
    var(--color-primary-dark),
    #34104f
  );
  content: "";
  -webkit-mask:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='%23000' d='M0 72C190 30 380 28 585 67C810 111 1025 103 1190 67C1290 45 1365 46 1440 58V120H0Z'/%3E%3C/svg%3E")
    center bottom / 100% 100% no-repeat;
  mask:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='%23000' d='M0 72C190 30 380 28 585 67C810 111 1025 103 1190 67C1290 45 1365 46 1440 58V120H0Z'/%3E%3C/svg%3E")
    center bottom / 100% 100% no-repeat;
}

.news-page + #footer-placeholder .site-footer {
  margin-top: 0;
}
/* ===============================
   NIEUWSDETAILPAGINA
================================ */

main.news-detail-page {
  width: min(100% - 2rem, 1120px);
  margin: clamp(2rem, 5vw, 4rem) auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.news-detail {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}

.news-detail__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 1.1rem clamp(1.25rem, 4vw, 3rem);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-accent-soft);
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.news-detail__breadcrumb a {
  font-weight: 800;
  text-decoration: none;
}

.news-detail__header {
  padding: clamp(2rem, 5vw, 4rem) clamp(1.25rem, 5vw, 4rem) 2rem;
}

.news-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 0 1rem;
  color: var(--color-secondary-dark);
  font-size: 0.9rem;
  font-weight: 800;
}

.news-detail__header h1 {
  max-width: 900px;
  margin: 0;
  color: var(--color-primary-dark);
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.08;
  text-wrap: balance;
}

.news-detail__summary {
  max-width: 780px;
  margin: 1.25rem 0 0;
  color: var(--color-text-muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.65;
}

.news-detail__media {
  margin: 0;
  background: linear-gradient(
    135deg,
    var(--color-primary-dark),
    var(--color-secondary)
  );
}

.news-detail__media img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
}

.news-detail__body {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.25rem, 4vw, 2rem);
  color: var(--color-text);
  font-size: 1.08rem;
  line-height: 1.8;
}

.news-detail__body p {
  margin: 0 0 1.35rem;
}

.news-detail__body p:last-child {
  margin-bottom: 0;
}

.news-detail__back {
  margin: 0;
  padding: 0 clamp(1.25rem, 5vw, 4rem) clamp(2rem, 5vw, 4rem);
}

.news-detail__back .btn {
  display: inline-flex;
}

@media (max-width: 700px) {
  main.news-detail-page {
    width: min(100% - 1rem, 1120px);
    margin: 1rem auto 2rem;
  }

  .news-detail__header h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .news-detail__body {
    font-size: 1rem;
  }
}

/* ===============================
   OVER SPONTAAN
================================ */

.about-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(320px, 34vw, 470px);
  padding: clamp(2.5rem, 5vw, 4.5rem) 1.5rem clamp(5.5rem, 8vw, 7rem);
  overflow: hidden;
  background:
    linear-gradient(
      100deg,
      rgba(49, 18, 105, 0.97) 0%,
      rgba(79, 23, 127, 0.88) 38%,
      rgba(164, 15, 128, 0.62) 68%,
      rgba(217, 13, 135, 0.40) 100%
    ),
    var(--about-hero-image, url("../images/about/over-hero-mannenkoor.jpg")) 58% center / cover no-repeat;
  color: #ffffff;
}

.about-hero::before {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: -1px;
  left: 0;
  height: clamp(72px, 8vw, 112px);
  background: var(--color-background);
  content: "";
  -webkit-mask:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='%23000' d='M0 46C230 88 454 96 690 62C930 27 1164 8 1440 54V120H0Z'/%3E%3C/svg%3E")
    center bottom / 100% 100% no-repeat;
  mask:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='%23000' d='M0 46C230 88 454 96 690 62C930 27 1164 8 1440 54V120H0Z'/%3E%3C/svg%3E")
    center bottom / 100% 100% no-repeat;
}

.about-hero__overlay {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(32, 17, 57, 0.28), transparent 68%),
    radial-gradient(circle at 76% 26%, rgba(255, 255, 255, 0.12), transparent 18rem);
}

.about-hero__content {
  position: relative;
  z-index: 3;
  width: min(100%, 1180px);
  margin: 0 auto;
}

.about-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.5rem, 5vw, 4.3rem);
  line-height: 1.04;
  text-wrap: balance;
}

.about-hero__content > p:last-child {
  max-width: 620px;
  margin: 1rem 0 0;
  color: #ffffff;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  line-height: 1.55;
  opacity: 0.96;
}

main.about-page {
  display: grid;
  gap: clamp(3rem, 6vw, 5.5rem);
  width: min(100% - 2rem, 1180px);
  margin: 0 auto;
  padding: clamp(1rem, 3vw, 2rem) 0 clamp(3rem, 7vw, 5.5rem);
  border: 0;
  background: transparent;
  box-shadow: none;
}

.about-section {
  width: 100%;
}

.about-section__eyebrow {
  margin: 0 0 0.45rem;
  color: var(--color-secondary);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-section__heading {
  max-width: 760px;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.about-section h2,
.about-cta h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(2rem, 4vw, 3rem);
  text-wrap: balance;
}

.about-section p,
.about-cta p {
  color: var(--color-text-muted);
}

.about-media {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-card);
}

.about-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.about-intro,
.about-atmosphere {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.about-intro__content,
.about-atmosphere__content {
  max-width: 560px;
}

.about-intro__content p,
.about-atmosphere__content p {
  margin: 0 0 1rem;
}

.about-story {
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid rgba(111, 37, 174, 0.10);
  border-radius: var(--radius-medium);
  background:
    linear-gradient(
      135deg,
      rgba(111, 37, 174, 0.07),
      rgba(217, 13, 135, 0.05)
    );
}

.about-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-timeline::before {
  position: absolute;
  top: 2rem;
  right: 8%;
  left: 8%;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--color-primary),
    var(--color-secondary)
  );
  content: "";
  opacity: 0.35;
}

.about-timeline__item {
  position: relative;
  z-index: 1;
  text-align: center;
}

.about-timeline__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-secondary)
  );
  color: #ffffff;
  font-size: 1.45rem;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(111, 37, 174, 0.20);
}

.about-timeline__item h3 {
  margin: 0 0 0.65rem;
  font-size: 1.2rem;
}

.about-timeline__item p {
  margin: 0;
  font-size: 0.96rem;
}

.about-values__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.about-value-card {
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}

.about-value-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(111, 37, 174, 0.14),
    rgba(217, 13, 135, 0.16)
  );
  color: var(--color-primary);
  font-size: 1.35rem;
  font-weight: 700;
}

.about-value-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.2rem;
}

.about-value-card p {
  margin: 0;
}

.about-atmosphere {
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: var(--radius-medium);
  background:
    radial-gradient(
      circle at top right,
      rgba(16, 169, 206, 0.10),
      transparent 20rem
    ),
    rgba(255, 255, 255, 0.72);
}

.about-quote {
  position: relative;
  margin: 0;
  padding: clamp(2rem, 5vw, 3.5rem);
  overflow: hidden;
  border-radius: var(--radius-medium);
  background: linear-gradient(
    135deg,
    var(--color-primary-dark),
    var(--color-primary),
    var(--color-secondary)
  );
  color: #ffffff;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.about-quote::before,
.about-quote::after {
  position: absolute;
  color: rgba(255, 255, 255, 0.18);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(5rem, 10vw, 8rem);
  line-height: 1;
}

.about-quote::before {
  top: -0.25rem;
  left: 1.25rem;
  content: "“";
}

.about-quote::after {
  right: 1.25rem;
  bottom: -2.4rem;
  content: "”";
}

.about-quote blockquote {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
}

.about-quote blockquote p {
  margin: 0;
  color: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-style: italic;
  line-height: 1.45;
}

.about-quote figcaption {
  position: relative;
  z-index: 1;
  margin-top: 1rem;
  font-weight: 700;
  opacity: 0.9;
}

.about-cta {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
  padding: clamp(1.75rem, 4vw, 3rem);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  background:
    radial-gradient(
      circle at top right,
      rgba(217, 13, 135, 0.10),
      transparent 18rem
    ),
    var(--color-surface);
  box-shadow: var(--shadow-soft);
}

.about-cta > div:first-child {
  max-width: 680px;
}

.about-cta h2 {
  margin-bottom: 0.5rem;
}

.about-cta p {
  margin: 0;
}

.about-cta__actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.about-page + #footer-placeholder {
  position: relative;
  margin-top: 0;
}

.about-page + #footer-placeholder::before {
  display: block;
  width: 100%;
  height: clamp(58px, 6vw, 86px);
  margin-bottom: -1px;
  background: linear-gradient(
    135deg,
    var(--color-primary-dark),
    #34104f
  );
  content: "";
  -webkit-mask:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='%23000' d='M0 72C190 30 380 28 585 67C810 111 1025 103 1190 67C1290 45 1365 46 1440 58V120H0Z'/%3E%3C/svg%3E")
    center bottom / 100% 100% no-repeat;
  mask:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='%23000' d='M0 72C190 30 380 28 585 67C810 111 1025 103 1190 67C1290 45 1365 46 1440 58V120H0Z'/%3E%3C/svg%3E")
    center bottom / 100% 100% no-repeat;
}

.about-page + #footer-placeholder .site-footer {
  margin-top: 0;
}

@media (max-width: 960px) {
  .about-intro,
  .about-atmosphere {
    grid-template-columns: 1fr;
  }

  .about-intro__content,
  .about-atmosphere__content {
    max-width: none;
  }

  .about-values__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 2rem;
  }

  .about-timeline::before {
    display: none;
  }

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

@media (max-width: 700px) {
  .about-hero {
    min-height: 390px;
    padding: 2.75rem 1rem 5.5rem;
    background-position: 64% center;
  }

  main.about-page {
    width: min(100% - 1.25rem, 1180px);
  }

  .about-story,
  .about-atmosphere {
    padding: 1.5rem;
  }

  .about-timeline,
  .about-values__grid {
    grid-template-columns: 1fr;
  }

  .about-timeline__item {
    text-align: left;
  }

  .about-timeline__icon {
    width: 3.5rem;
    height: 3.5rem;
  }

  .about-media img {
    min-height: 240px;
  }

  .about-cta__actions {
    width: 100%;
  }

  .about-cta__actions .btn {
    width: 100%;
  }
}

@media (max-width: 460px) {
  .about-hero {
    min-height: 420px;
    background-position: 68% center;
  }

  .about-hero h1 {
    font-size: clamp(2.3rem, 12vw, 3.25rem);
  }

  .about-quote {
    padding: 2rem 1.25rem;
  }
}

/* ===============================
   AGENDA
================================ */

.agenda-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(320px, 34vw, 470px);
  padding: clamp(2.5rem, 5vw, 4.5rem) 1.5rem clamp(5.5rem, 8vw, 7rem);
  overflow: hidden;
  background:
    linear-gradient(
      100deg,
      rgba(49, 18, 105, 0.97) 0%,
      rgba(79, 23, 127, 0.90) 40%,
      rgba(164, 15, 128, 0.68) 72%,
      rgba(217, 13, 135, 0.48) 100%
    ),
    url("../images/about/over-hero-mannenkoor.jpg") 58% center / cover no-repeat;
  color: #ffffff;
}

.agenda-hero::before {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: -1px;
  left: 0;
  height: clamp(72px, 8vw, 112px);
  background: var(--color-background);
  content: "";
  -webkit-mask:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='%23000' d='M0 46C230 88 454 96 690 62C930 27 1164 8 1440 54V120H0Z'/%3E%3C/svg%3E")
    center bottom / 100% 100% no-repeat;
  mask:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='%23000' d='M0 46C230 88 454 96 690 62C930 27 1164 8 1440 54V120H0Z'/%3E%3C/svg%3E")
    center bottom / 100% 100% no-repeat;
}

.agenda-hero__overlay {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(32, 17, 57, 0.34), transparent 70%),
    radial-gradient(circle at 78% 24%, rgba(255, 255, 255, 0.14), transparent 20rem);
}

.agenda-hero__content {
  position: relative;
  z-index: 3;
  width: min(100%, 1180px);
  margin: 0 auto;
}

.agenda-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.5rem, 5vw, 4.3rem);
  line-height: 1.04;
  text-wrap: balance;
}

.agenda-hero__content > p {
  max-width: 640px;
  margin: 1rem 0 0;
  color: #ffffff;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  line-height: 1.55;
  opacity: 0.96;
}

main.agenda-page {
  display: grid;
  gap: clamp(3rem, 6vw, 5rem);
  width: min(100% - 2rem, 1180px);
  margin: 0 auto;
  padding: clamp(1rem, 3vw, 2rem) 0 clamp(3rem, 7vw, 5.5rem);
  border: 0;
  background: transparent;
  box-shadow: none;
}

.agenda-status {
  padding: 1rem 1.25rem;
  border: 1px solid rgba(111, 37, 174, 0.18);
  border-radius: var(--radius-medium);
  background: rgba(111, 37, 174, 0.08);
  color: var(--color-primary-dark);
  font-weight: 700;
}

.agenda-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.75fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.agenda-section-heading {
  max-width: 720px;
  margin-bottom: 1.5rem;
}

.agenda-section-heading__eyebrow {
  margin: 0 0 0.45rem;
  color: var(--color-secondary);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.agenda-section-heading h2,
.agenda-calendar h2,
.agenda-filters h2,
.agenda-information h2,
.agenda-cta h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 3.3vw, 2.7rem);
  text-wrap: balance;
}

.agenda-section-heading p:last-child,
.agenda-information p,
.agenda-cta p {
  color: var(--color-text-muted);
}

.agenda-result-summary {
  margin: 0 0 1.25rem;
  color: var(--color-text-muted);
  font-weight: 700;
}

.agenda-events {
  display: grid;
  gap: 1rem;
}

.agenda-event-card {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}

.agenda-event-card__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 9rem;
  padding: 1.25rem 1rem;
  background: linear-gradient(
    145deg,
    var(--color-primary-dark),
    var(--color-primary),
    var(--color-secondary)
  );
  color: #ffffff;
  text-align: center;
}

.agenda-event-card__day {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

.agenda-event-card__month {
  margin-top: 0.3rem;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.agenda-event-card__content {
  padding: clamp(1.25rem, 3vw, 1.75rem);
}

.agenda-event-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  margin: 0 0 0.75rem;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.agenda-event-card h3 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
}

.agenda-event-card p {
  margin: 0 0 1rem;
  color: var(--color-text-muted);
}

.agenda-event-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.agenda-empty-state {
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px dashed rgba(111, 37, 174, 0.28);
  border-radius: var(--radius-medium);
  background:
    linear-gradient(
      135deg,
      rgba(111, 37, 174, 0.06),
      rgba(217, 13, 135, 0.05)
    );
  text-align: center;
}

.agenda-empty-state__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-secondary)
  );
  color: #ffffff;
  font-size: 1.5rem;
}

.agenda-empty-state h3 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.4rem, 2.7vw, 2rem);
}

.agenda-empty-state p {
  max-width: 540px;
  margin: 0 auto 1.25rem;
  color: var(--color-text-muted);
}

.agenda-sidebar {
  display: grid;
  gap: 1.25rem;
  position: sticky;
  top: 1.5rem;
}

.agenda-calendar,
.agenda-filters,
.agenda-information {
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}

.agenda-calendar__header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1rem;
}

.agenda-calendar__header h2 {
  margin: 0;
  font-size: 1.35rem;
  text-align: center;
}

.agenda-calendar__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: var(--color-surface);
  color: var(--color-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

.agenda-calendar__button:hover,
.agenda-calendar__button:focus-visible {
  border-color: var(--color-primary);
  background: rgba(111, 37, 174, 0.08);
}

.agenda-calendar__weekdays,
.agenda-calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.3rem;
}

.agenda-calendar__weekdays {
  margin-bottom: 0.4rem;
  color: var(--color-text-muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.agenda-calendar__day {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--color-text);
  font: inherit;
}

button.agenda-calendar__day {
  cursor: pointer;
}

.agenda-calendar__day--outside {
  opacity: 0.28;
}

.agenda-calendar__day--event {
  background: rgba(111, 37, 174, 0.13);
  color: var(--color-primary-dark);
  font-weight: 800;
}

.agenda-calendar__day--selected {
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-secondary)
  );
  color: #ffffff;
}

.agenda-calendar__day--today {
  outline: 2px solid var(--color-secondary);
  outline-offset: 1px;
}

.agenda-calendar__clear {
  width: 100%;
  margin-top: 1rem;
  padding: 0.65rem;
  border: 0;
  background: transparent;
  color: var(--color-primary);
  font-weight: 800;
  cursor: pointer;
}

.agenda-filters h2,
.agenda-information h2 {
  font-size: 1.4rem;
}

.agenda-filter-field {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.agenda-filter-field label {
  color: var(--color-primary-dark);
  font-size: 0.9rem;
  font-weight: 800;
}

.agenda-filter-field select {
  width: 100%;
  min-height: 2.8rem;
  padding: 0.65rem 2.25rem 0.65rem 0.8rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-small);
  background: #ffffff;
  color: var(--color-text);
  font: inherit;
}

.agenda-filters__reset {
  width: 100%;
  margin-top: 0.25rem;
}

.agenda-information {
  background:
    radial-gradient(
      circle at top right,
      rgba(255, 255, 255, 0.16),
      transparent 10rem
    ),
    linear-gradient(
      145deg,
      var(--color-primary-dark),
      var(--color-primary)
    );
  color: #ffffff;
}

.agenda-information h2,
.agenda-information p {
  color: #ffffff;
}

.agenda-information__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 1.35rem;
}

.agenda-information .btn {
  background: #ffffff;
  color: var(--color-primary-dark);
}

.agenda-quote {
  position: relative;
  margin: 0;
  padding: clamp(2rem, 5vw, 3.5rem);
  overflow: hidden;
  border-radius: var(--radius-medium);
  background: linear-gradient(
    135deg,
    var(--color-primary-dark),
    var(--color-primary),
    var(--color-secondary)
  );
  color: #ffffff;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.agenda-quote blockquote {
  margin: 0;
}

.agenda-quote p {
  max-width: 820px;
  margin: 0 auto;
  color: #ffffff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.4rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.35;
}

.agenda-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  padding: clamp(2rem, 5vw, 3.5rem);
  border: 1px solid rgba(111, 37, 174, 0.12);
  border-radius: var(--radius-medium);
  background:
    linear-gradient(
      135deg,
      rgba(111, 37, 174, 0.08),
      rgba(217, 13, 135, 0.06)
    );
}

.agenda-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

@media (max-width: 900px) {
  .agenda-layout {
    grid-template-columns: 1fr;
  }

  .agenda-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .agenda-information {
    grid-column: 1 / -1;
  }

  .agenda-cta {
    grid-template-columns: 1fr;
  }

  .agenda-cta__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  main.agenda-page {
    width: min(100% - 1rem, 1180px);
  }

  .agenda-sidebar {
    grid-template-columns: 1fr;
  }

  .agenda-information {
    grid-column: auto;
  }

  .agenda-event-card {
    grid-template-columns: 1fr;
  }

  .agenda-event-card__date {
    min-height: auto;
    flex-direction: row;
    gap: 0.5rem;
  }

  .agenda-event-card__day {
    font-size: 1.8rem;
  }

  .agenda-event-card__month {
    margin: 0;
  }

  .agenda-cta__actions {
    flex-direction: column;
  }

  .agenda-cta__actions .btn {
    width: 100%;
  }
}

/* Golvende overgang naar de gedeelde footer op de Agenda-pagina */
.agenda-page + #footer-placeholder {
  position: relative;
  margin-top: 0;
}

.agenda-page + #footer-placeholder::before {
  display: block;
  width: 100%;
  height: clamp(58px, 6vw, 86px);
  margin-bottom: -1px;
  background: linear-gradient(
    135deg,
    var(--color-primary-dark),
    #34104f
  );
  content: "";
  -webkit-mask:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='%23000' d='M0 72C190 30 380 28 585 67C810 111 1025 103 1190 67C1290 45 1365 46 1440 58V120H0Z'/%3E%3C/svg%3E")
    center bottom / 100% 100% no-repeat;
  mask:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='%23000' d='M0 72C190 30 380 28 585 67C810 111 1025 103 1190 67C1290 45 1365 46 1440 58V120H0Z'/%3E%3C/svg%3E")
    center bottom / 100% 100% no-repeat;
}

.agenda-page + #footer-placeholder .site-footer {
  margin-top: 0;
}

/* =========================================================
   COMPACTE HOMEPAGE EN OVER SPONTAAN - 31-07-2026
   Alleen desktop; overige publieke pagina's blijven ongewijzigd.
   ========================================================= */

@media (min-width: 769px) {
  /* Homepage: compactere hero en rustiger eerste scherm */
  body:has(main.homepage) .hero {
    min-height: min(56vh, 560px);
    padding: 2.25rem 1.5rem;
  }

  body:has(main.homepage) .hero-content {
    width: min(100%, 740px);
    padding: clamp(1.5rem, 3vw, 2.25rem);
  }

  body:has(main.homepage) .hero h1 {
    font-size: clamp(3.75rem, 6vw, 5rem);
    line-height: 0.98;
  }

  /* Homepage: minder ruimte tussen de hoofdblokken */
  main.homepage {
    gap: clamp(2.5rem, 3.5vw, 3rem);
    padding-top: clamp(3.5rem, 4vw, 4rem);
    padding-bottom: 3rem;
  }

  main.homepage .homepage-section__header {
    margin-bottom: 1.25rem;
  }

  main.homepage .homepage-card__media {
    min-height: 165px;
  }

  main.homepage .homepage-card__content {
    padding: 1.3rem;
  }

  main.homepage .homepage-welcome-card,
  main.homepage .homepage-visit-card {
    padding: clamp(1.5rem, 2.75vw, 2rem);
  }

  main.homepage .homepage-invite-points {
    gap: 0.85rem;
    margin-top: 1.25rem;
  }

  main.homepage .homepage-invite-points div {
    padding: 0.8rem 0.9rem;
  }

  main.homepage .homepage-actions {
    margin-top: 1.15rem;
  }

  main.homepage + #footer-placeholder .site-footer {
    margin-top: 0;
  }

  /* Over Spontaan: compacter verticaal ritme */
  main.about-page {
    gap: clamp(2.75rem, 4vw, 3.5rem);
    padding-top: 1.5rem;
    padding-bottom: 3.5rem;
  }

  main.about-page .about-intro,
  main.about-page .about-atmosphere {
    gap: clamp(2rem, 3.5vw, 2.75rem);
  }

  main.about-page .about-story,
  main.about-page .about-atmosphere {
    padding: clamp(2rem, 3.5vw, 3rem);
  }

  main.about-page .about-media img {
    min-height: 280px;
  }

  main.about-page .about-section__heading {
    margin-bottom: 1.5rem;
  }

  main.about-page .about-value-card {
    padding: 1.4rem;
  }

  main.about-page .about-quote {
    padding: clamp(1.75rem, 3vw, 2.5rem);
  }

  main.about-page .about-cta {
    gap: 1.5rem;
    padding: clamp(1.75rem, 3vw, 2.25rem);
  }
}
