/* Zorg in Woningen — clean modern journal */
:root {
  --bg: #eef3f1;
  --surface: #ffffff;
  --text: #18221f;
  --muted: #5a6a65;
  --accent: #1a6b5c;
  --accent-dark: #124f44;
  --accent-soft: rgba(26, 107, 92, 0.1);
  --line: #d2ddd8;
  --hero-from: #143f38;
  --hero-to: #1a6b5c;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(24, 34, 31, 0.07);
  --shadow-hover: 0 16px 40px rgba(24, 34, 31, 0.12);
  --content: 720px;
  --grid: 1180px;
  --font-body: "Literata", Georgia, serif;
  --font-display: "Sora", "Segoe UI", sans-serif;
  --transition: 0.25s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--text);
  background:
    radial-gradient(ellipse 65% 40% at 0% 0%, rgba(26, 107, 92, 0.1), transparent 55%),
    radial-gradient(ellipse 45% 30% at 100% 5%, rgba(20, 63, 56, 0.07), transparent 50%),
    linear-gradient(180deg, #e5ece9 0%, var(--bg) 30%, var(--bg) 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

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

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color var(--transition);
}

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

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  background: var(--accent-dark);
  color: #fff;
  padding: 0.6rem 1rem;
  text-decoration: none;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

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

.wrap--narrow {
  width: min(100% - 2rem, var(--content));
}

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

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

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--text);
  line-height: 1.2;
}

.brand:hover {
  color: var(--accent-dark);
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand__tag {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.menu-toggle {
  display: none;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  color: var(--text);
  cursor: pointer;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-list a {
  color: var(--text);
  text-decoration: none;
}

.nav-list a:hover {
  color: var(--accent);
}

.nav-list a[aria-current="page"] {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.disclaimer-bar {
  background: #143f38;
  color: #e8f2ef;
  font-family: var(--font-display);
  font-size: 0.82rem;
  line-height: 1.5;
  padding: 0.7rem 0;
}

.disclaimer-bar a {
  color: #b8e4d8;
}

.disclaimer-bar p {
  margin: 0;
}

.hero {
  position: relative;
  margin: 1.5rem 0 2.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: clamp(280px, 48vw, 460px);
  display: grid;
  align-items: end;
  box-shadow: var(--shadow);
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 63, 56, 0.2) 0%,
    rgba(20, 63, 56, 0.72) 55%,
    rgba(18, 40, 36, 0.9) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: clamp(1.5rem, 4vw, 3rem);
  color: #f4faf8;
  max-width: 40rem;
}

.hero__content h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
}

.hero__content p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(244, 250, 248, 0.92);
}

.section {
  margin: 0 0 3rem;
}

.section--spaced {
  margin-top: 2.5rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  color: var(--text);
}

.section-lead {
  margin: 0 0 1.5rem;
  color: var(--muted);
  max-width: 42rem;
}

.prose {
  max-width: var(--content);
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 2rem 0 0.75rem;
  letter-spacing: -0.02em;
}

.prose h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 1.5rem 0 0.5rem;
}

.prose p {
  margin: 0 0 1rem;
}

.prose ul,
.prose ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.prose li {
  margin-bottom: 0.4rem;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--shadow);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.card-grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.card-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--accent-soft);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: 1.15rem 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.card-body h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.card-body h3 a {
  color: var(--text);
  text-decoration: none;
}

.card-body h3 a:hover {
  color: var(--accent);
}

.card-meta {
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--muted);
}

.card-body p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--muted);
  flex: 1;
}

.card-link {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  margin-top: 0.5rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

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

.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.7rem;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin: 0 0 0.45rem;
}

.step p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.help-box {
  background: linear-gradient(135deg, var(--hero-from), var(--hero-to));
  color: #f3faf8;
  border-radius: var(--radius);
  padding: clamp(1.35rem, 3vw, 2rem);
  box-shadow: var(--shadow);
}

.help-box h2 {
  font-family: var(--font-display);
  margin: 0 0 0.6rem;
  font-size: 1.35rem;
}

.help-box p {
  margin: 0;
  color: rgba(243, 250, 248, 0.95);
}

.split-media {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 1.5rem;
  align-items: start;
}

.split-media__figure {
  padding: 0;
  overflow: hidden;
  margin: 0;
}

.split-media__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

.page-hero {
  padding: 2rem 0 1rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.65rem;
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 40rem;
}

.news-list {
  display: grid;
  gap: 1.25rem;
}

.news-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  box-shadow: var(--shadow);
}

.news-item h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
}

.news-item time {
  display: block;
  font-family: var(--font-display);
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.65rem;
}

.news-item p {
  margin: 0;
  color: var(--text);
}

.theme-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.35rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.25rem;
}

.theme-block h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.theme-block p {
  margin: 0 0 0.85rem;
}

.theme-block p:last-child {
  margin-bottom: 0;
}

.site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  background: #f7faf9;
  padding: 2.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 1.75rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
}

.footer-grid p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.footer-grid h2 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 0 0 0.75rem;
}

.footer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
}

.footer-nav li {
  margin-bottom: 0.4rem;
}

.footer-nav a {
  color: var(--text);
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--accent);
}

.footer-nav a[aria-current="page"] {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.footer-help {
  font-size: 0.92rem;
  color: var(--muted);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-bottom p {
  margin: 0 0 0.55rem;
}

.footer-bottom a {
  color: var(--accent);
}

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

  .split-media {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 0.75rem 1rem 1.1rem;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    gap: 0.75rem;
  }

  .header-inner {
    position: relative;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

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

  .hero {
    min-height: 320px;
  }
}
