:root {
  color-scheme: dark;
  --bg: #07111b;
  --bg-soft: #0f1f31;
  --surface: rgba(12, 29, 46, 0.92);
  --surface-strong: #13324a;
  --text: #f3f6fa;
  --muted: #a6b1bc;
  --border: rgba(255, 255, 255, 0.08);
  --accent: #ffbf66;
  --accent-strong: #ffd79a;
  --warm: #ffbf66;
}

/* Light theme variables */
[data-theme="light"] {
  --bg: #f7fafc;
  --bg-soft: #ffffff;
  --surface: #ffffff;
  --surface-strong: #f1f5f9;
  --text: #0f172a;
  --muted: #475569;
  --border: rgba(15, 23, 42, 0.08);
  --accent: #f59e0b;
  --accent-strong: #d97706;
  --warm: #f59e0b;
}

[data-theme="light"] body {
  background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 42%, #e2e8f0 100%);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background-color: #0A2A43;
  background-image:
    radial-gradient(circle at top, rgba(31, 184, 209, 0.08), transparent 24%),
    radial-gradient(circle at right, rgba(255, 138, 61, 0.06), transparent 22%),
    linear-gradient(180deg, #081e35 0%, #0a2a43 35%, #061d32 100%);
  transition: background 0.3s ease, color 0.3s ease;
}

/* Responsive container */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Mobile first responsive breakpoints */
@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2.5rem;
  }
}

/* Header responsive */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(2, 20, 34, 0.95);
  backdrop-filter: blur(22px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, 0.96);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.btn-link {
  color: var(--text);
  border: none;
  background: none;
  padding: 0.65rem 0.8rem;
  cursor: pointer;
}

.btn-link:hover {
  color: var(--accent);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  min-height: 60px;
}

@media (min-width: 768px) {
  .topbar {
    padding: 1rem 0;
  }
}

/* Brand responsive */
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
}

.brand-logo {
  width: 170px;
  height: 70px;
  max-width: 100%;
  border-radius: 12px;
  object-fit: contain;
  border: 1px solid var(--border);
  background: transparent;
  padding: 0.2rem;
  filter: invert(1) brightness(1.5);
}

html[data-theme="light"] .brand-logo {
  filter: none;
}

@media (min-width: 768px) {
  .brand {
    font-size: 1.5rem;
  }
  .brand-logo {
    width: 170px;
    height: 70px;
  }
}

/* Navigation responsive */
nav {
  display: none;
}

@media (min-width: 768px) {
  nav {
    display: flex;
    gap: 2rem;
    position: relative;
    align-items: center;
  }

  nav a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 600;
    padding: 0.35rem 0;
    transition: color 0.2s ease;
  }

  nav a:hover,
  nav a.active {
    color: var(--accent);
  }

  .nav-indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 3rem;
    height: 3px;
    border-radius: 999px;
    background: var(--accent);
    transition: transform 0.25s ease, width 0.25s ease, opacity 0.25s ease;
    opacity: 0.9;
  }
}

/* Mobile menu button */
.menu-toggle {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 1.3rem;
  cursor: pointer;
  color: var(--text);
  padding: 0.65rem 0.95rem;
  transition: transform 0.2s ease, background 0.2s ease;
}
.menu-toggle:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
}

/* Mobile navigation overlay */
:root {
  --mobile-nav-bg: rgba(7, 42, 67, 0.98);
  --mobile-nav-backdrop: blur(22px);
}

[data-theme="light"] {
  --mobile-nav-bg: rgba(255, 255, 255, 0.97);
  --mobile-nav-backdrop: blur(18px);
}

.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--mobile-nav-bg);
  backdrop-filter: var(--mobile-nav-backdrop);
  -webkit-backdrop-filter: var(--mobile-nav-backdrop);
  z-index: 100;
  display: flex;
  flex-direction: column;
  padding: 5rem 1.5rem 2rem;
  transform: translateX(100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav.active {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

.mobile-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.12);
  pointer-events: none;
}

.floating-login {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 110;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: none;
  background: var(--accent);
  color: var(--bg);
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 20px 40px rgba(255, 138, 61, 0.3);
  cursor: pointer;
}

@media (max-width: 768px) {
  .floating-login {
    display: flex;
  }

  .header-actions .theme-toggle,
  .header-actions #login-btn {
    display: none;
  }

  .hero {
    padding: 2rem 0 1.5rem;
  }

  .hero-bg {
    background-image: linear-gradient(180deg, rgba(10, 42, 67, 0.82), rgba(10, 42, 67, 0.96)),
      url('/afbeeldingen/banner.png');
    background-size: cover;
    background-position: center;
    opacity: 1;
  }

  .hero-copy {
    text-align: center;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2rem, 7vw, 3rem);
  }

  .hero-text {
    margin: 0 auto;
    max-width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    margin-top: 1.5rem;
  }

  .hero-actions .btn,
  .hero-actions .btn-secondary {
    width: 100%;
  }

  .hero-highlights {
    justify-content: center;
  }

  .hero-highlights span {
    width: 100%;
    justify-content: center;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .section {
    padding: 1.25rem 0;
  }

  .panel {
    border-radius: 24px;
    padding: 1.25rem;
  }

  main {
    scroll-snap-type: y mandatory;
  }

  section {
    scroll-snap-align: start;
  }

  .hero-card-large,
  .hero-card-small {
    min-height: auto;
  }
}

.mobile-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 1.25rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s ease;
}

.mobile-nav a:hover {
  color: var(--accent);
}

.mobile-nav-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1rem;
}

.mobile-nav-actions .theme-toggle,
.mobile-nav-actions .btn {
  width: 100%;
  justify-content: flex-start;
  border-radius: 12px;
}

/* Header actions responsive */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (max-width: 767px) {
  .header-actions .theme-toggle,
  .header-actions #login-btn {
    display: none;
  }
}

.btn-link {
  background: none;
  border: none;
  color: var(--muted);
  text-decoration: none;
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.2s ease;
}

.btn-link:hover {
  color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.5rem;
  border: none;
  border-radius: 999px;
  background: var(--accent);
  color: var(--bg);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 18px 32px rgba(245, 158, 11, 0.18);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
  box-shadow: 0 22px 36px rgba(245, 158, 11, 0.22);
}

.loading-text {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.btn-secondary {
  background: var(--surface-strong);
  color: var(--text);
}

.btn-secondary:hover {
  background: var(--surface);
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

/* Theme toggle */
.theme-toggle {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.65rem 0.85rem;
  color: var(--text);
  transition: transform 0.2s ease, background 0.2s ease;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.14);
}

/* Settings icon */
.settings-icon {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  margin-right: 0.5rem;
  color: var(--text);
  padding: 0.5rem;
  transition: transform 0.2s ease;
}

.settings-icon:hover {
  transform: scale(1.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.brand-logo {
  width: 170px;
  height: 70px;
  max-width: 100%;
  object-fit: contain;
  background: transparent;
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 0.2rem;
  filter: invert(1) brightness(1.5);
}

nav a,
.btn-link {
  color: var(--text);
  text-decoration: none;
  margin: 0 0.45rem;
  transition: color 0.2s ease;
}

nav a:hover,
.btn-link:hover {
  color: var(--accent-strong);
}

.btn,
button {
  background: var(--accent);
  color: #081018;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.25rem;
  cursor: pointer;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover,
button:hover {
  transform: translateY(-1px);
  background: var(--accent-strong);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text);
  text-decoration: none;
  border-radius: 999px;
  padding: 0.85rem 1.25rem;
  background: rgba(255, 139, 63, 0.12);
}

/* Hero section responsive */
.hero {
  position: relative;
  padding: 3rem 0 2.5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(180deg, rgba(2, 11, 24, 0.55), rgba(1, 12, 24, 0.85)),
    url('/afbeeldingen/banner.png');
  background-size: cover;
  background-position: center;
  filter: saturate(1.1) contrast(1.05);
  opacity: 0.95;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
}

.hero::before {
  top: 60%;
  height: 35%;
  background: radial-gradient(circle at 50% 0%, rgba(255, 139, 63, 0.16), transparent 45%);
}

.hero::after {
  bottom: 0;
  height: 55%;
  background: radial-gradient(circle at 50% 100%, rgba(63, 209, 195, 0.12), transparent 40%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2rem;
  }
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--highlight);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.82rem;
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  line-height: 1.02;
  margin: 0 0 1.25rem;
  max-width: 12ch;
}

.hero-text {
  color: var(--muted);
  max-width: 56ch;
  font-size: 1.02rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hero-highlights span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: rgba(63, 209, 195, 0.14);
  color: var(--text);
  font-size: 0.92rem;
}

.hero-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  overflow: hidden;
  background: rgba(2, 17, 37, 0.85);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.14);
}

.hero-card-large {
  min-height: 360px;
  background-image: linear-gradient(180deg, rgba(2, 17, 37, 0.3), rgba(2, 17, 37, 0.9)),
    url('/afbeeldingen/banner.png');
  background-size: cover;
  background-position: center;
}

.hero-card-small {
  padding: 1.5rem;
  color: var(--text);
  display: grid;
  gap: 0.75rem;
}

.hero-card-small strong {
  color: var(--text);
  font-size: 1.1rem;
}

.hero-logo {
  width: min(90%, 420px);
  object-fit: contain;
  filter: drop-shadow(0 0 26px rgba(63, 209, 195, 0.18));
}

.split-section {
  padding-top: 0;
}

.split-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .split-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.training-copy ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.75rem;
}

.training-copy li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--text);
}

.training-copy li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.callout-card {
  margin-top: 1.75rem;
  border-radius: 18px;
  padding: 1.25rem;
  background: rgba(63, 209, 195, 0.12);
  border: 1px solid rgba(63, 209, 195, 0.18);
}

.training-visual,
.photo-section .photo-card {
  min-height: 300px;
}

.training-photo {
  border-radius: 24px;
  background-image: linear-gradient(180deg, rgba(2, 17, 37, 0.35), rgba(2, 17, 37, 0.75)),
    url('/afbeeldingen/banner.png');
  background-size: cover;
  background-position: center;
  min-height: 100%;
}

.photo-section .photo-grid {
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .photo-section .photo-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.photo-card {
  position: relative;
  min-height: 240px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(3, 23, 35, 0.95), rgba(19, 55, 79, 0.9));
}

.photo-card-large {
  min-height: 380px;
  background-image: linear-gradient(180deg, rgba(2, 17, 37, 0.35), rgba(2, 17, 37, 0.82)),
    url('/afbeeldingen/banner.png');
  background-size: cover;
  background-position: center;
}

.photo-card-medium {
  background: linear-gradient(180deg, rgba(0, 44, 70, 0.8), rgba(12, 63, 91, 0.92));
}

.photo-card-small {
  background: linear-gradient(160deg, rgba(255, 139, 63, 0.18), rgba(19, 50, 74, 0.95));
}

.cta-section {
  padding: 1rem 0 3rem;
}

.cta-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.08);
  border-radius: 28px;
  padding: 2rem;
}

@media (min-width: 768px) {
  .cta-panel {
    flex-direction: row;
    align-items: center;
  }
}

.cta-panel .eyebrow {
  margin-bottom: 0.5rem;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

@media (min-width: 768px) {
  .section {
    padding: 3rem 0;
  }
}

@media (min-width: 1024px) {
  .section {
    padding: 4rem 0;
  }
}

.section-heading {
  margin-bottom: 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .section-heading {
    margin-bottom: 3rem;
  }
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}

/* Panel responsive */
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 1.25rem;
  margin: 1rem 0;
  box-shadow: 0 22px 40px rgba(15, 23, 42, 0.08);
}

@media (min-width: 768px) {
  .panel {
    padding: 1.5rem;
    margin: 1.5rem 0;
  }
}

/* Grid systems responsive */
.feature-grid,
.news-grid,
.agenda-grid,
.photo-grid,
.footer-grid {
  display: grid;
  gap: 1rem;
}

.feature-grid,
.news-grid {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .feature-grid,
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .feature-grid,
  .news-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

.feature-card,
.news-card {
  min-height: 180px;
}

.accent-card {
  background:
    linear-gradient(160deg, rgba(255, 191, 102, 0.16), rgba(19, 50, 74, 0.95)),
    var(--surface);
}

.agenda-grid {
  grid-template-columns: 1fr;
}

.agenda-item {
  margin: 0;
  padding: 1.2rem;
  border-radius: 24px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
  margin: 0;
  padding: 1.1rem;
  border-radius: 22px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
}

.agenda-date {
  color: var(--warm);
  font-size: 0.92rem;
  margin-bottom: 0.45rem;
}

.agenda-item h3 {
  margin: 0 0 0.35rem;
}

.agenda-tag {
  display: inline-block;
  margin-top: 0.65rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(70, 196, 216, 0.17);
  color: var(--accent-strong);
  font-size: 0.85rem;
}

.photo-grid {
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-areas:
    "tall logo"
    "wide wide";
}

.photo-card {
  position: relative;
  min-height: 240px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.45)),
    linear-gradient(135deg, rgba(70, 196, 216, 0.35), rgba(19, 50, 74, 0.92));
}

.photo-card-tall {
  grid-area: tall;
  min-height: 360px;
}

/* Settings icon */
.settings-icon {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  margin-right: 0.5rem;
  color: var(--text);
}

/* Modals responsive */
.modal {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-content {
  background-color: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .modal-content {
    padding: 2rem;
  }
}

.close {
  position: absolute;
  right: 1rem;
  top: 0.5rem;
  font-size: 2rem;
  cursor: pointer;
  color: var(--muted);
  background: none;
  border: none;
  padding: 0.5rem;
  line-height: 1;
}

.close:hover {
  color: var(--text);
}

/* Forms responsive */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

/* User and Event items */
.user-item,
.event-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.user-info,
.event-info {
  flex: 1;
}

.user-actions,
.event-actions {
  display: flex;
  gap: 0.5rem;
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

/* Chat */
.chat-container {
  max-height: 400px;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
  background: var(--surface);
  margin-bottom: 1rem;
}

.chat-message {
  margin-bottom: 1rem;
  padding: 0.75rem;
  border-radius: 8px;
  background: var(--surface-strong);
}

.chat-message.own-message {
  background: var(--accent);
  color: var(--bg);
  margin-left: 2rem;
}

.chat-input {
  display: flex;
  gap: 0.5rem;
}

.chat-input input {
  flex: 1;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
}

.chat-input input:focus {
  outline: none;
  border-color: var(--accent);
}

/* Tags */
.tag {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  background: rgba(70, 196, 216, 0.17);
  color: var(--accent-strong);
  font-size: 0.8rem;
}
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at top, rgba(240, 179, 94, 0.2), transparent 28%),
    linear-gradient(160deg, #111821 0%, #192534 100%);
}

.photo-card-wide {
  grid-area: wide;
  min-height: 240px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.55)),
    linear-gradient(135deg, rgba(255, 191, 102, 0.24), rgba(70, 196, 216, 0.22));
}

.photo-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.4rem;
  background: linear-gradient(180deg, transparent, rgba(5, 10, 15, 0.9));
}

.photo-logo {
  width: min(78%, 320px);
  object-fit: contain;
}

.news-meta {
  color: var(--accent-strong);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
}

input {
  width: 100%;
  padding: 0.8rem 0.9rem;
  margin-bottom: 0.7rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

footer {
  margin-top: 2rem;
  border-top: 1px solid var(--border);
  padding: 2rem 0 3rem;
  color: var(--muted);
  background: rgba(4, 8, 12, 0.45);
}

.footer-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.8rem;
}

@media (max-width: 900px) {
  .hero-grid,
  .photo-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "tall"
      "logo"
      "wide";
  }
}

@media (max-width: 700px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  nav {
    display: flex;
    flex-wrap: wrap;
  }

  .hero {
    padding-top: 2rem;
  }

  .hero h1 {
    max-width: none;
  }
}

@media (max-width: 520px) {
  .brand-logo {
    width: 44px;
    height: 44px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn,
  .btn-secondary,
  button {
    width: 100%;
  }
}

/* ===== Brand Kit UI Refresh (overrides) ===== */
:root {
  --bg: #06080b;
  --bg-soft: #0b1220;
  --surface: rgba(8, 18, 32, 0.88);
  --surface-strong: #0f1e2f;
  --text: #f6f7f8;
  --muted: #9cb2c4;
  --border: rgba(156, 178, 196, 0.24);
  --accent: #70b3a7;
  --accent-strong: #91c9be;
}

body {
  font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
  background-color: #06080b;
  background-image:
    radial-gradient(circle at 15% -10%, rgba(15, 30, 47, 0.85), transparent 45%),
    radial-gradient(circle at 85% 20%, rgba(112, 179, 167, 0.14), transparent 30%),
    linear-gradient(180deg, #050608 0%, #07101a 45%, #05070a 100%);
}

h1, h2, h3, .brand, nav a {
  letter-spacing: 0.02em;
}

.site-header,
header {
  background: linear-gradient(90deg, rgba(4, 8, 13, 0.97), rgba(7, 16, 26, 0.95));
  border-bottom: 1px solid rgba(112, 179, 167, 0.28);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
}

.topbar {
  min-height: 74px;
}

.brand-logo {
  border: 1px solid rgba(112, 179, 167, 0.28);
  border-radius: 10px;
}

nav a {
  color: #d8e0e6;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.btn,
.btn-secondary,
button {
  border-radius: 10px;
}

.panel {
  border-radius: 14px;
  border-color: rgba(112, 179, 167, 0.2);
}

.hero::before,
.hero::after {
  opacity: 0.65;
}

/* Telefoon: navigatie/header weg, strakker beeld */
@media (max-width: 767px) {
  .site-header,
  header {
    position: static;
    top: auto;
    box-shadow: none;
    border-bottom: 0;
    background: transparent;
    backdrop-filter: none;
  }

  .topbar {
    min-height: 0;
    padding: 0.65rem 0 0.35rem;
  }

  nav,
  .menu-toggle,
  .mobile-nav,
  .header-actions {
    display: none !important;
  }

  .brand-logo {
    width: 132px;
    height: 54px;
    padding: 0.1rem;
  }

  .hero {
    padding-top: 1.1rem;
  }

  .hero h1 {
    font-size: clamp(1.9rem, 8vw, 2.6rem);
    line-height: 1.05;
  }
}
