/*
  Basisstijl voor wordtNietOpgelicht.nl
  Focus: rust, hoge leesbaarheid en duidelijke navigatie.
*/

:root {
  --bg: #f1f8f7;
  --surface: #ffffff;
  --surface-soft: #e6f3f1;
  --text: #113646;
  --text-muted: #35596a;
  --primary: #0f6da0;
  --primary-dark: #0b4f74;
  --accent: #1f8a64;
  --border: #b8d3dd;
  --focus: #0f6da0;
  --max-width: 72rem;
  --radius: 0.9rem;
  --shadow: 0 8px 28px rgba(17, 54, 70, 0.1);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(circle at 5% 10%, #d9eff4 0, transparent 30%),
    radial-gradient(circle at 90% 5%, #d3f2e8 0, transparent 35%),
    var(--bg);
}

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

a {
  color: var(--primary-dark);
}

a:hover {
  color: var(--primary);
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.narrow {
  max-width: 48rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
    min-height: 6.4rem; /* increased a bit to fit the larger logo without making the header too tall */
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
}

.brand img {
  /* reduced by ~25% from previous 5.6rem */
  height: 4.2rem;
  width: auto;
}

@media (min-width: 60rem) {
  .brand img { height: 4.8rem; /* scaled down proportionally for wide screens */ }
}

/* Text label next to the compact logo */
.brand .brand-text {
  color: var(--text);
  font-weight: 700;
  margin-left: 0.5rem;
  /* increase text size by ~10% */
  font-size: 1.375rem;
  line-height: 1;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.site-nav a {
  text-decoration: none;
  padding: 0.55rem 0.85rem;
  border-radius: 0.6rem;
  font-weight: 600;
}

.site-nav a.active,
.site-nav a:hover {
  background: var(--surface-soft);
  color: var(--primary-dark);
}

.nav-toggle,
.nav-button {
  display: none;
}

.hero {
  /* reduce top padding so the hero sits closer to the header for a more symmetric look */
  padding: 3rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.03em;
}

/* Slightly larger eyebrow and tighter spacing to header */
.eyebrow {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

h1,
h2 {
  line-height: 1.2;
  margin-top: 0;
}

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

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.7rem;
}

.subtitle {
  max-width: 42ch;
  color: var(--text-muted);
  font-size: 1.25rem;
}

.hero-card {
  background: linear-gradient(140deg, #f7fffd, #e5f4f0);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.hero-card img {
  width: 4rem;
  margin-bottom: 1rem;
}

.button {
  display: inline-block;
  /* reduce top margin so the CTA sits closer to the subtitle/headline */
  margin-top: 0.6rem;
  text-decoration: none;
  border: 0;
  border-radius: 0.7rem;
  padding: 0.85rem 1.2rem;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
}

.button-primary {
  background: var(--primary);
  color: #ffffff;
}

.button-primary:hover {
  background: var(--primary-dark);
  color: #ffffff;
}

.section {
  padding: 2.6rem 0;
}

.section-soft {
  background: rgba(255, 255, 255, 0.7);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.check-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.check-list li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.65rem;
  padding: 0.8rem 1rem;
}

.check-list li::before {
  content: "✓ ";
  color: var(--accent);
  font-weight: 700;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.1rem;
}

.page-intro {
  padding-bottom: 1rem;
}

.info-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
}

.info-list {
  margin: 0;
  display: grid;
  gap: 0.7rem;
}

.info-list div {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 0.5rem;
  border-bottom: 1px solid #d8e6eb;
  padding-bottom: 0.45rem;
}

.info-list div:last-child {
  border-bottom: 0;
}

.info-list dt {
  font-weight: 700;
}

.info-list dd {
  margin: 0;
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.2rem;
}

.contact-form label {
  display: block;
  margin: 0.7rem 0 0.3rem;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 2px solid #8fb9c9;
  border-radius: 0.6rem;
  padding: 0.7rem;
  font: inherit;
  background: #fcffff;
}

.contact-form input:focus,
.contact-form textarea:focus,
.site-nav a:focus,
.button:focus,
.nav-button:focus {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #ffffff;
  margin-top: 2rem;
}

.footer-inner {
  min-height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (max-width: 58rem) {
  .hero-grid,
  .cards-grid,
  .two-up {
    grid-template-columns: 1fr;
  }

  .info-list div {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 50rem) {
  .nav-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: 0.6rem;
    font-size: 1rem;
    font-weight: 700;
    padding: 0.5rem 0.8rem;
    cursor: pointer;
  }

  .site-nav {
    position: absolute;
    top: 4.6rem;
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 0.8rem;
    padding: 0.5rem;
    box-shadow: var(--shadow);
  }

  .site-nav a {
    padding: 0.75rem 0.8rem;
  }

  .nav-toggle:checked ~ .site-nav {
    display: flex;
  }
}