:root {
  --bg: #f8f6ee;
  --bg-soft: #efe9d8;
  --surface: #ffffff;
  --text: #24312f;
  --muted: #5c6d67;
  --line: #d8dfdb;
  --brand: #2f6f63;
  --brand-strong: #1f5047;
  --accent: #c79841;
  --radius-lg: 22px;
  --radius-md: 14px;
  --shadow: 0 18px 40px rgba(31, 80, 71, 0.1);
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--text);
  font-family: "Work Sans", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 80% 0%, #dbe9de 0%, transparent 38%),
    radial-gradient(circle at 10% 30%, #eee4c9 0%, transparent 26%),
    var(--bg);
  line-height: 1.6;
}

main {
  flex: 1 0 auto;
}

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

a {
  color: inherit;
}

.container {
  width: min(var(--container), 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(248, 246, 238, 0.88);
  border-bottom: 1px solid rgba(47, 111, 99, 0.12);
}

.header-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  width: 128px;
  height: 64px;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
  background: var(--surface);
  color: var(--brand-strong);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 10px 12px;
  text-decoration: none;
  border-radius: 10px;
  font-size: 0.95rem;
  color: var(--muted);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  background: rgba(47, 111, 99, 0.1);
  color: var(--brand-strong);
}

.hero {
  padding: 64px 0 32px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 42px;
  align-items: center;
}

body[data-page="behandelingen"] .hero-grid,
body[data-page="diabetische-zorg"] .hero-grid,
body[data-page="tarieven"] .hero-grid,
body[data-page="privacy"] .hero-grid {
  grid-template-columns: 1fr;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--brand);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 16px;
}

h1,
h2,
h3 {
  margin: 0 0 14px;
  line-height: 1.2;
  color: #152421;
}

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

h1 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
}

.lead {
  font-size: 1.07rem;
  color: var(--muted);
  max-width: 72ch;
}

body[data-page="behandelingen"] .lead,
body[data-page="diabetische-zorg"] .lead,
body[data-page="tarieven"] .lead,
body[data-page="privacy"] .lead {
  max-width: none;
}

.info-strip {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.strip-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 12px;
  font-size: 0.9rem;
}

.strip-item strong {
  color: var(--brand-strong);
  display: block;
  margin-bottom: 2px;
}

.hero-card {
  background: linear-gradient(165deg, #fefdf8 0%, #f6f2e4 100%);
  border: 1px solid #e4dcc3;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 20px;
}

.hero-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
}

.hero-image-wrap img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.main-section {
  padding: 32px 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.card {
  grid-column: span 6;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: 0 8px 20px rgba(36, 49, 47, 0.05);
}

.card.full {
  grid-column: span 12;
}

.card ul {
  padding-left: 20px;
  margin: 10px 0 0;
}

.card li {
  margin: 6px 0;
}

.highlight {
  border: 1px dashed rgba(199, 152, 65, 0.55);
  background: #fff9eb;
  border-radius: 14px;
  padding: 14px;
}

.price-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 16px;
  align-items: start;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.price-row span {
  min-width: 0;
}

.price-row strong {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.price-row:last-child {
  border-bottom: 0;
}

.badge-row {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

.badge-row img {
  width: 78px;
  height: auto;
}

.cta-band {
  margin: 34px 0 12px;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--brand), #5f8f6f);
  color: #f8fff8;
  padding: 26px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.cta-band a {
  background: #fff;
  color: var(--brand-strong);
  border-radius: 999px;
  padding: 10px 18px;
  text-decoration: none;
  font-weight: 600;
}

.site-footer {
  margin-top: 44px;
  border-top: 1px solid rgba(36, 49, 47, 0.12);
  background: #f3efe2;
}

.footer-inner {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 22px 0;
  color: #4a5853;
  font-size: 0.94rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: reveal-up 0.6s ease forwards;
}

.reveal.delay-1 {
  animation-delay: 0.12s;
}

.reveal.delay-2 {
  animation-delay: 0.24s;
}

@keyframes reveal-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .card {
    grid-column: span 12;
  }

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

@media (max-width: 780px) {
  .hero {
    padding: 32px 0 0 0;
  }

  .header-inner {
    min-height: 78px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    padding: 10px 0;
    gap: 8px;
  }

  .brand img {
    width: 128px;
    height: 64px;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    width: 100%;
    min-width: 0;
    flex: 0 0 auto;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 4px 2px;
    font-size: clamp(0.75rem, 2.75vw, 1rem);
    white-space: nowrap;
    text-align: center;
  }

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }
}
