/* =============================================
   BERGSIG VERSORGING — Premium Theme
   Palette: Mountain Sage | Sunset Gold | Warm Linen
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --sage:       #3D5A3E;
  --sage-light: #5A7A5B;
  --sage-pale:  #EBF0EB;
  --gold:       #C9A86C;
  --gold-light: #E8D5A8;
  --gold-dark:  #A07A3A;
  --linen:      #F7F3EE;
  --linen-dark: #EDE7DC;
  --charcoal:   #1E1E1E;
  --text:       #2C2C2C;
  --text-light: #6B6B6B;
  --white:      #FFFFFF;
  --shadow:     rgba(30,30,30,0.08);
  --shadow-md:  rgba(30,30,30,0.14);
  --nav-h:      80px;
  --r:          4px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  line-height: 1.2;
  color: var(--charcoal);
}
h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }

.eyebrow {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 1rem;
}

/* ── Layout ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 100px 0; }
@media (max-width: 768px) { .section-pad { padding: 64px 0; } }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--r);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.25s ease;
}
.btn-primary {
  background: var(--sage);
  color: var(--white);
}
.btn-primary:hover { background: var(--sage-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(61,90,62,0.3); }
.btn-gold {
  background: var(--gold);
  color: var(--charcoal);
}
.btn-gold:hover { background: var(--gold-dark); color: var(--white); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.6);
}
.btn-outline:hover { background: rgba(255,255,255,0.15); border-color: var(--white); }
.btn-outline-dark {
  background: transparent;
  color: var(--sage);
  border: 1.5px solid var(--sage);
}
.btn-outline-dark:hover { background: var(--sage); color: var(--white); }

/* =============================================
   NAVIGATION
   ============================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: background 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 1px 20px var(--shadow);
  backdrop-filter: blur(10px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.nav-logo img {
  height: 52px;
  width: auto;
  transition: filter 0.3s;
}
.nav:not(.scrolled) .nav-logo img { filter: brightness(0) invert(1); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav:not(.scrolled) .nav-links a { color: rgba(255,255,255,0.9); }
.nav:not(.scrolled) .nav-links a:hover { color: var(--gold-light); }
.nav.scrolled .nav-links a { color: var(--text); }
.nav.scrolled .nav-links a:hover { color: var(--sage); }
.nav-cta .btn { padding: 10px 22px; font-size: 0.85rem; }
.nav:not(.scrolled) .nav-cta .btn { background: rgba(255,255,255,0.2); color: white; border: 1px solid rgba(255,255,255,0.4); }
.nav.scrolled .nav-cta .btn { background: var(--sage); color: white; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 2px;
  background: var(--white);
  transition: all 0.3s;
  border-radius: 2px;
}
.nav.scrolled .nav-toggle span { background: var(--charcoal); }

.lang-toggle {
  display: flex;
  gap: 3px;
  background: var(--linen);
  border-radius: 20px;
  padding: 3px;
}
.lang-toggle .lang-btn {
  border: none;
  background: transparent;
  padding: 7px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-light);
  border-radius: 16px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.lang-toggle .lang-btn.active {
  background: var(--sage);
  color: var(--white);
}
@media (max-width: 860px) {
  .lang-toggle .lang-btn { padding: 8px 12px; font-size: 0.88rem; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    box-shadow: 0 8px 32px var(--shadow-md);
    border-top: 1px solid var(--linen-dark);
  }
  .nav-links.open { display: flex; }
  .nav-links a { color: var(--text) !important; font-size: 1.1rem; }
  .nav-cta { width: 100%; }
  .nav-cta .btn { width: 100%; justify-content: center; background: var(--sage) !important; color: white !important; }
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-dam.jpg');
  background-size: cover;
  background-position: center 40%;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.hero-bg.loaded { transform: scale(1); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(20,30,20,0.72) 0%,
    rgba(20,30,20,0.45) 50%,
    rgba(20,30,20,0.25) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  padding-top: var(--nav-h);
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.8s 0.3s ease forwards;
}
.hero h1 {
  color: var(--white);
  font-weight: 300;
  max-width: 680px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.9s 0.5s ease forwards;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}
.hero-sub {
  color: rgba(255,255,255,0.82);
  font-size: 1.1rem;
  max-width: 480px;
  margin-top: 16px;
  font-weight: 300;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.9s 0.7s ease forwards;
}
.hero-divider {
  width: 60px; height: 2px;
  background: var(--gold);
  margin: 28px 0;
  opacity: 0;
  animation: fadeUp 0.9s 0.9s ease forwards;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.9s 1.1s ease forwards;
}
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
  z-index: 2;
}
.hero-scroll svg { width: 24px; opacity: 0.7; }

/* =============================================
   INTRO STRIP
   ============================================= */
.intro-strip {
  background: var(--sage);
  padding: 28px 0;
}
.intro-strip .container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}
.intro-stat {
  text-align: center;
  color: var(--white);
}
.intro-stat strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--gold-light);
  line-height: 1;
}
.intro-stat span {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.8;
}

/* =============================================
   WELKOM
   ============================================= */
.welkom { background: var(--linen); }
.welkom .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.welkom-img {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
}
.welkom-img img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}
.welkom-img::before {
  content: '';
  position: absolute;
  top: -16px; left: -16px;
  width: 160px; height: 160px;
  border: 2px solid var(--gold);
  z-index: -1;
  border-radius: 2px;
}
.welkom-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--sage);
  color: var(--white);
  padding: 20px 24px;
  text-align: center;
  border-radius: 2px;
}
.welkom-badge strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--gold-light);
  line-height: 1;
}
.welkom-badge span { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.85; }
.welkom-text { padding: 20px 0; }
.welkom-text p { color: var(--text-light); margin-bottom: 16px; line-height: 1.8; }
.welkom-quote {
  border-left: 3px solid var(--gold);
  padding-left: 20px;
  margin: 28px 0;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.25rem;
  color: var(--sage);
  line-height: 1.5;
}
.pillars {
  display: flex;
  gap: 20px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.pillar {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.pillar-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
@media (max-width: 860px) {
  .welkom .container { grid-template-columns: 1fr; gap: 48px; }
  .welkom-img::before { display: none; }
  .welkom-badge { bottom: 16px; right: 16px; }
}

/* =============================================
   DIENSTE
   ============================================= */
.dienste { background: var(--white); }
.section-header { text-align: center; max-width: 600px; margin: 0 auto 60px; }
.section-header p { color: var(--text-light); margin-top: 16px; }
.dienste-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.dienste-card {
  background: var(--linen);
  border-radius: 2px;
  padding: 32px 24px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.dienste-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 3px;
  background: var(--gold);
  transition: width 0.3s;
}
.dienste-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px var(--shadow-md); }
.dienste-card:hover::after { width: 100%; }
.dienste-icon { font-size: 2rem; margin-bottom: 16px; }
.dienste-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.dienste-card p { font-size: 0.88rem; color: var(--text-light); line-height: 1.6; }

/* =============================================
   GERIEWE
   ============================================= */
.geriewe { background: var(--linen); }
.facility-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}
.facility-img {
  overflow: hidden;
  border-radius: 2px;
}
.facility-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.facility-img:hover img { transform: scale(1.04); }
.facility-img.main { grid-row: 1 / 3; min-height: 480px; }
.facility-img.sm { min-height: 224px; }
@media (max-width: 860px) {
  .facility-grid { grid-template-columns: 1fr; }
  .facility-img.main { grid-row: auto; min-height: 280px; }
}

/* =============================================
   MAALTYE (MEALS)
   ============================================= */
.etes { background: var(--charcoal); color: var(--white); }
.etes .section-header h2 { color: var(--white); }
.etes .section-header p { color: rgba(255,255,255,0.6); }
.etes .eyebrow { color: var(--gold-light); }
.meals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.meal-card {
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.meal-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.meal-card:hover img { transform: scale(1.06); }
@media (max-width: 768px) { .meals-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .meals-grid { grid-template-columns: 1fr; } }

/* =============================================
   LEWE (LIFE / RESIDENTS)
   ============================================= */
.lewe { background: var(--sage); }
.lewe .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.lewe-text .eyebrow { color: var(--gold-light); }
.lewe-text h2 { color: var(--white); }
.lewe-text p { color: rgba(255,255,255,0.8); margin-bottom: 16px; line-height: 1.8; }
.lewe-quote {
  border-left: 3px solid var(--gold);
  padding-left: 20px;
  margin: 28px 0;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--gold-light);
}
.lewe-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.lewe-imgs img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 2px;
  object-position: top;
}
.lewe-imgs img:first-child {
  grid-column: 1 / -1;
  height: 280px;
}
@media (max-width: 860px) {
  .lewe .container { grid-template-columns: 1fr; gap: 48px; }
}

/* =============================================
   AANSOEK CTA SECTION
   ============================================= */
.aansoek-cta {
  background: var(--linen);
  padding: 100px 0;
  text-align: center;
}
.aansoek-cta h2 { max-width: 600px; margin: 0 auto 16px; }
.aansoek-cta p { color: var(--text-light); max-width: 480px; margin: 0 auto 40px; }
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* =============================================
   KONTAK
   ============================================= */
.kontak { background: var(--white); }
.kontak .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.kontak-info h2 { margin-bottom: 32px; }
.kontak-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  align-items: flex-start;
}
.kontak-item-icon {
  width: 44px; height: 44px;
  background: var(--sage-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.kontak-item-text strong {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 4px;
}
.kontak-item-text a { text-decoration: none; color: var(--text); font-weight: 500; }
.kontak-item-text a:hover { color: var(--sage); }
.kontak-map {
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 8px 32px var(--shadow);
}
.kontak-map iframe {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
}
@media (max-width: 860px) {
  .kontak .container { grid-template-columns: 1fr; gap: 48px; }
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand img { height: 44px; filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; max-width: 280px; }
.footer h4 {
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { text-decoration: none; color: rgba(255,255,255,0.6); font-size: 0.9rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom span { color: var(--gold); }
@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* =============================================
   APPLICATION FORM PAGE
   ============================================= */
.aansoek-hero {
  background: var(--sage);
  padding: 160px 0 80px;
  text-align: center;
  color: var(--white);
}
.aansoek-hero h1 { color: var(--white); }
.aansoek-hero p { color: rgba(255,255,255,0.8); max-width: 500px; margin: 16px auto 0; }

.aansoek-body { background: var(--linen); padding: 80px 0; }

/* Progress bar */
.progress-wrap { margin-bottom: 56px; }
.progress-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 8px;
}
.step-item {
  display: flex;
  align-items: center;
}
.step-circle {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 2px solid var(--linen-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  background: var(--white);
  transition: all 0.3s;
  flex-shrink: 0;
  position: relative;
}
.step-circle.active { border-color: var(--sage); background: var(--sage); color: var(--white); }
.step-circle.done { border-color: var(--gold); background: var(--gold); color: var(--white); }
.step-label {
  display: block;
  font-size: 0.7rem;
  text-align: center;
  margin-top: 6px;
  color: var(--text-light);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.step-label.active { color: var(--sage); font-weight: 600; }
.step-conn {
  width: 60px; height: 2px;
  background: var(--linen-dark);
  flex-shrink: 0;
}
.step-conn.done { background: var(--gold); }
.step-wrapper { display: flex; flex-direction: column; align-items: center; }

/* Form card */
.form-card {
  background: var(--white);
  border-radius: 4px;
  box-shadow: 0 4px 32px var(--shadow);
  overflow: hidden;
}
.form-card-header {
  background: var(--sage);
  color: var(--white);
  padding: 28px 40px;
}
.form-card-header h3 { color: var(--white); font-size: 1.6rem; }
.form-card-header p { color: rgba(255,255,255,0.75); font-size: 0.9rem; margin-top: 4px; }
.form-card-body { padding: 40px; }
@media (max-width: 600px) {
  .form-card-body { padding: 24px; }
  .form-card-header { padding: 24px; }
}

/* Step panels */
.step-panel { display: none; }
.step-panel.active { display: block; }

/* Form fields */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.form-row.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 7px;
}
.form-group label .req { color: var(--gold-dark); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--linen-dark);
  border-radius: var(--r);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--linen);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(61,90,62,0.1);
  background: var(--white);
}
.form-group textarea { min-height: 100px; resize: vertical; }
.form-group .hint {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 5px;
}
.form-group.error input,
.form-group.error select { border-color: #c0392b; }
.form-group .err-msg { color: #c0392b; font-size: 0.78rem; margin-top: 4px; display: none; }

/* ── Eenvoudige datumkieser — groot, maklike keuses vir ouer gebruikers ── */
.date-simple {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.date-simple .date-part {
  flex: 1;
  min-width: 90px;
  padding: 14px 10px;
  font-size: 1.05rem;
  border: 1.5px solid var(--linen-dark);
  border-radius: var(--r);
  background: var(--linen);
  color: var(--text);
  color-scheme: light;
  -webkit-appearance: none;
  appearance: none;
}
.date-simple .date-part:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(61,90,62,0.1);
  background: var(--white);
  outline: none;
}
@media (max-width: 480px) {
  .date-simple { gap: 8px; }
  .date-simple .date-part { font-size: 1.15rem; padding: 16px 8px; }
}
.form-group.error .err-msg { display: block; }

/* Radio / Checkbox groups */
.radio-group, .check-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.radio-option, .check-option {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.92rem;
}
.radio-option input, .check-option input { width: auto; }

/* Needs checkboxes */
.needs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 8px;
}
.need-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  background: var(--linen);
  border-radius: var(--r);
  cursor: pointer;
  transition: background 0.2s;
  font-size: 0.88rem;
}
.need-item:hover { background: var(--sage-pale); }
.need-item input { margin-top: 2px; flex-shrink: 0; }

@media (max-width: 640px) {
  .form-row, .form-row.cols-3 { grid-template-columns: 1fr; }
  .needs-grid { grid-template-columns: 1fr; }
}

/* Contract section */
.contract-box {
  background: var(--linen);
  border: 1px solid var(--linen-dark);
  border-radius: var(--r);
  padding: 32px;
  max-height: 400px;
  overflow-y: auto;
  margin-bottom: 24px;
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--text);
}
.contract-box h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 20px 0 8px;
  color: var(--sage);
}
.contract-box h4:first-child { margin-top: 0; }
.contract-box p { margin-bottom: 10px; }

/* Signature pad */
.sig-wrap {
  border: 2px dashed var(--linen-dark);
  border-radius: var(--r);
  background: var(--white);
  overflow: hidden;
  position: relative;
}
.sig-wrap canvas {
  width: 100% !important;
  height: 200px;
  display: block;
  touch-action: none;
}
.sig-label {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  color: var(--text-light);
  letter-spacing: 0.08em;
  pointer-events: none;
}
.sig-line {
  position: absolute;
  bottom: 40px; left: 10%; right: 10%;
  height: 1px;
  background: var(--linen-dark);
  pointer-events: none;
}
.btn-clear-sig {
  background: none;
  border: 1px solid var(--linen-dark);
  border-radius: var(--r);
  padding: 6px 14px;
  font-size: 0.8rem;
  cursor: pointer;
  margin-top: 8px;
  color: var(--text-light);
  transition: all 0.2s;
}
.btn-clear-sig:hover { border-color: var(--sage); color: var(--sage); }

/* Accept checkbox */
.accept-block {
  background: var(--sage-pale);
  border-left: 4px solid var(--sage);
  border-radius: 0 var(--r) var(--r) 0;
  padding: 20px;
  margin: 24px 0;
}
.accept-block label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.9rem;
  cursor: pointer;
  line-height: 1.6;
}
.accept-block input { flex-shrink: 0; margin-top: 3px; width: 18px; height: 18px; accent-color: var(--sage); }

/* Nav buttons */
.form-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--linen-dark);
  gap: 12px;
  flex-wrap: wrap;
}
.form-nav .btn { min-width: 140px; justify-content: center; }

/* Success screen */
.success-screen {
  display: none;
  text-align: center;
  padding: 80px 40px;
}
.success-screen.show { display: block; }
.success-icon {
  width: 80px; height: 80px;
  background: var(--sage-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  font-size: 2.2rem;
}
.success-screen h2 { margin-bottom: 12px; }
.success-screen p { color: var(--text-light); max-width: 440px; margin: 0 auto 28px; }

/* Section divider */
.section-divider {
  border: none;
  border-top: 1px solid var(--linen-dark);
  margin: 28px 0;
}
.subsection-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 20px;
  margin-top: 8px;
}

/* ── Geslag styled radio checkmarks ── */
.check-geslag-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.geslag-option {
  display: flex;
  align-items: center;
  gap: 0;
  cursor: pointer;
}
.geslag-option input[type="radio"] {
  display: none;
  width: auto;
}
.geslag-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1.5px solid var(--linen-dark);
  border-radius: var(--r);
  font-size: 0.9rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  color: var(--text-light);
  background: var(--linen);
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
}
.geslag-option input[type="radio"]:checked + .geslag-label {
  border-color: var(--sage);
  background: var(--sage-pale);
  color: var(--sage);
  font-weight: 600;
}
.geslag-option input[type="radio"]:checked + .geslag-label::before {
  content: '✓';
  font-size: 1rem;
  color: var(--sage);
  font-weight: 700;
}

/* ── Need/check items with tick on select ── */
.need-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--sage);
  cursor: pointer;
}
