@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&family=Source+Sans+3:wght@400;600;700&display=swap');

/* =========================================================
   Thuiszorg Vitaal Thuis — stylesheet
   Zelfde familie als de andere Vitaal-sites, warmer accent.
   ========================================================= */

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

:root {
  --teal-900: #1f3440;
  --teal-800: #294555;
  --teal-700: #33596c;
  --teal-500: #4a7f95;
  --mint-300: #a9cfd9;
  --mint-100: #eaf3f6;
  --accent:   #d9895b;
  --accent-100: #fbefe7;
  --sand:     #f8f6f2;
  --grey-700: #3e474b;
  --grey-500: #6a7478;
  --grey-200: #e2e6e8;
  --white:    #ffffff;
  --coral:    #c9604a;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 6px 28px rgba(31, 52, 64, .09);
  --ease: .25s ease;

  --head: 'Manrope', system-ui, sans-serif;
  --body: 'Source Sans 3', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--body); font-size: 17px; line-height: 1.72; color: var(--grey-700); background: var(--white); -webkit-font-smoothing: antialiased; }

h1, h2, h3, h4 { font-family: var(--head); color: var(--teal-900); line-height: 1.22; font-weight: 800; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.2rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); letter-spacing: -.015em; }
h3 { font-size: 1.15rem; font-weight: 700; }
h4 { font-size: .95rem; font-weight: 700; }
p  { margin-bottom: 1.05rem; }
p:last-child { margin-bottom: 0; }
a { color: var(--teal-500); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--teal-800); }
ul, ol { padding-left: 1.15rem; margin-bottom: 1.05rem; }
li { margin-bottom: .35rem; }
strong { color: var(--teal-900); }

.container { max-width: 1120px; margin-inline: auto; padding-inline: 1.5rem; }
.container--narrow { max-width: 780px; }
.section { padding-block: 5rem; }
.section--tight { padding-block: 3.5rem; }
.section--mint { background: var(--mint-100); }
.section--sand { background: var(--sand); }
.section--deep { background: var(--teal-900); }
.section--deep h2, .section--deep h3 { color: var(--white); }
.section--deep p { color: #c6d6dc; }
.center { text-align: center; }
.lead { font-size: 1.1rem; color: var(--grey-500); }

.eyebrow { display: inline-block; font-family: var(--head); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: .85rem; }
.section--deep .eyebrow { color: var(--accent); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split--wide { grid-template-columns: 1.15fr 1fr; }
.split--top { align-items: start; }

.btn { display: inline-block; font-family: var(--head); font-weight: 700; font-size: .95rem; padding: .8rem 1.7rem; border-radius: 100px; border: 2px solid transparent; cursor: pointer; transition: all var(--ease); }
.btn--primary { background: var(--teal-700); color: var(--white); }
.btn--primary:hover { background: var(--teal-900); color: var(--white); }
.btn--ghost { border-color: var(--teal-700); color: var(--teal-700); background: transparent; }
.btn--ghost:hover { background: var(--teal-700); color: var(--white); }
.btn--light { background: var(--white); color: var(--teal-800); }
.btn--light:hover { background: var(--accent-100); color: var(--teal-900); }

.topbar { background: var(--teal-900); color: #a9c1ca; font-size: .85rem; padding-block: .5rem; }
.topbar__inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.topbar a { color: #a9c1ca; }
.topbar a:hover { color: var(--white); }

.nav { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--grey-200); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .9rem; }
.logo { display: flex; align-items: center; gap: .6rem; }
.logo__mark { width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--accent); display: grid; place-items: center; color: var(--white); font-family: var(--head); font-weight: 800; font-size: .9rem; flex-shrink: 0; }
.logo__text { font-family: var(--head); font-weight: 800; font-size: 1.1rem; color: var(--teal-900); letter-spacing: -.02em; line-height: 1.1; }
.logo__text span { display: block; font-size: .66rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-500); }
.nav__links { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav__links li { margin: 0; }
.nav__links a { font-family: var(--head); font-size: .9rem; font-weight: 600; color: var(--grey-700); padding-block: .3rem; border-bottom: 2px solid transparent; }
.nav__links a:hover { color: var(--teal-700); }
.nav__links a.active { color: var(--teal-800); border-bottom-color: var(--accent); }
.nav__toggle { display: none; background: none; border: none; cursor: pointer; padding: .4rem; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--teal-900); margin: 4px 0; border-radius: 2px; }

.hero { background: linear-gradient(160deg, var(--accent-100) 0%, #fbf7f3 55%, var(--white) 100%); padding-block: 5.5rem 5rem; position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; right: -12%; top: -30%; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(217,137,91,.22) 0%, rgba(217,137,91,0) 70%); }
.hero__inner { position: relative; z-index: 1; max-width: 660px; }
.hero p.lead { margin-block: 1.2rem 2rem; }
.hero__actions { display: flex; gap: .85rem; flex-wrap: wrap; }
.hero__note { margin-top: 2rem; font-size: .92rem; color: var(--grey-500); }

.pagehead { background: linear-gradient(150deg, var(--teal-900), var(--teal-700)); padding-block: 4rem; color: var(--white); }
.pagehead h1 { color: var(--white); max-width: 18ch; }
.pagehead p { color: #bcd0d7; max-width: 58ch; margin-top: .8rem; font-size: 1.05rem; }

.strip { background: var(--teal-800); color: var(--white); }
.strip__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.75rem; padding-block: 2.25rem; }
.strip__item h4 { color: var(--accent); font-size: .74rem; letter-spacing: .13em; text-transform: uppercase; margin-bottom: .3rem; }
.strip__item p { color: var(--white); font-size: .97rem; margin: 0; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1.5rem; }
.stat { text-align: center; }
.stat__num { font-family: var(--head); font-weight: 800; font-size: clamp(1.9rem, 3.4vw, 2.6rem); color: var(--accent); line-height: 1.1; }
.stat__label { font-size: .92rem; color: #c6d6dc; margin-top: .35rem; }

.grid { display: grid; gap: 1.5rem; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.card { background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius); padding: 1.9rem; transition: box-shadow var(--ease), transform var(--ease); }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card h3 { margin-bottom: .5rem; }
.card p { font-size: .97rem; color: var(--grey-500); }
.card__mark { width: 2.6rem; height: 2.6rem; border-radius: var(--radius-sm); background: var(--accent-100); color: var(--accent); display: grid; place-items: center; font-size: 1.2rem; margin-bottom: 1.1rem; }

.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; }
.steps > li { counter-increment: s; display: grid; grid-template-columns: 3.2rem 1fr; gap: 1.5rem; padding: 1.9rem 0; border-bottom: 1px solid var(--grey-200); margin: 0; }
.steps > li:last-child { border-bottom: none; }
.steps > li::before { content: counter(s, decimal-leading-zero); font-family: var(--head); font-weight: 800; font-size: .9rem; color: var(--accent); background: var(--accent-100); width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center; }
.steps h3 { margin-bottom: .4rem; }
.steps p { font-size: .99rem; }
.steps__who { display: inline-block; font-family: var(--head); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-500); background: var(--mint-100); padding: .18rem .6rem; border-radius: 100px; margin-top: .7rem; }

.person { background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius); padding: 1.9rem; }
.person__avatar { width: 3.4rem; height: 3.4rem; border-radius: 50%; background: linear-gradient(140deg, var(--teal-700), var(--accent)); color: var(--white); font-family: var(--head); font-weight: 800; font-size: 1.05rem; display: grid; place-items: center; margin-bottom: 1.1rem; }
.person__role { font-family: var(--head); font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-500); display: block; margin-bottom: .55rem; }
.person h3 { margin-bottom: .2rem; }
.person p { font-size: .96rem; color: var(--grey-500); }

.quote { background: var(--white); border-left: 4px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.9rem 2.1rem; box-shadow: var(--shadow); }
.quote p { font-size: 1.06rem; color: var(--teal-900); font-style: italic; }
.quote cite { display: block; margin-top: .8rem; font-size: .88rem; font-style: normal; font-weight: 700; color: var(--teal-500); font-family: var(--head); }

.rows { display: flex; flex-direction: column; }
.row { display: grid; grid-template-columns: 210px 1fr; gap: 2rem; padding: 1.4rem 0; border-bottom: 1px solid var(--grey-200); }
.row:last-child { border-bottom: none; }
.row__label { font-family: var(--head); font-weight: 700; color: var(--teal-800); font-size: .95rem; }
.row p { font-size: .99rem; }

.callout { background: var(--mint-100); border-radius: var(--radius); padding: 1.7rem 1.9rem; }
.callout h3 { margin-bottom: .45rem; }
.callout p { font-size: .97rem; }
.callout--sand { background: var(--sand); }
.callout--warm { background: var(--accent-100); border-left: 4px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; }
.callout--urgent { background: #fbeeea; border: 1.5px solid var(--coral); }
.callout--urgent h3 { color: var(--coral); }

.tablewrap { overflow-x: auto; border: 1px solid var(--grey-200); border-radius: var(--radius); background: var(--white); }
table.rooster { border-collapse: collapse; width: 100%; min-width: 520px; font-size: .95rem; }
table.rooster th, table.rooster td { padding: .85rem 1rem; text-align: left; border-bottom: 1px solid var(--grey-200); }
table.rooster thead th { background: var(--mint-100); font-family: var(--head); font-size: .78rem; letter-spacing: .09em; text-transform: uppercase; color: var(--teal-800); }
table.rooster tbody tr:last-child td { border-bottom: none; }
table.rooster td:first-child { font-family: var(--head); font-weight: 700; color: var(--teal-800); white-space: nowrap; }

.faq details { border: 1px solid var(--grey-200); border-radius: var(--radius-sm); padding: 1.1rem 1.4rem; margin-bottom: .85rem; background: var(--white); }
.faq summary { font-family: var(--head); font-weight: 700; color: var(--teal-900); cursor: pointer; list-style: none; position: relative; padding-right: 2rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: -.1rem; color: var(--accent); font-size: 1.35rem; font-weight: 600; line-height: 1; }
.faq details[open] summary::after { content: '\2013'; }
.faq details p { margin-top: .75rem; font-size: .97rem; color: var(--grey-500); }

.form { display: flex; flex-direction: column; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label { font-family: var(--head); font-size: .82rem; font-weight: 700; color: var(--teal-800); }
.field input, .field select, .field textarea { font-family: var(--body); font-size: 1rem; color: var(--grey-700); padding: .75rem .95rem; border: 1.5px solid var(--grey-200); border-radius: var(--radius-sm); background: var(--white); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-500); }
.field textarea { min-height: 120px; resize: vertical; }
.field__hint { font-size: .84rem; color: var(--grey-500); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.cta { background: linear-gradient(150deg, var(--teal-800), var(--teal-500)); padding-block: 4rem; text-align: center; }
.cta h2 { color: var(--white); }
.cta p { color: #d3e2e7; max-width: 56ch; margin: .8rem auto 2rem; }

.footer { background: var(--teal-900); color: #97b0b9; padding-block: 3.5rem 2rem; font-size: .93rem; }
.footer a { color: #97b0b9; }
.footer a:hover { color: var(--white); }
.footer__grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer h4 { color: var(--white); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .9rem; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: .45rem; }
.footer .logo__text { color: var(--white); }
.footer__about { margin-top: .9rem; max-width: 34ch; line-height: 1.7; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.4rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .86rem; }

@media (max-width: 1040px) {
  .nav__links { display: none; }
  .nav__links.open { display: flex; flex-direction: column; gap: .9rem; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--grey-200); padding: 1.3rem 1.5rem; }
  .nav__inner { position: relative; }
  .nav__toggle { display: block; order: 3; }
  .nav__cta { display: none; }
}
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 768px) {
  body { font-size: 16px; }
  .split, .split--wide { grid-template-columns: 1fr; gap: 2.5rem; }
  .row { grid-template-columns: 1fr; gap: .3rem; }
  .field-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .section { padding-block: 3.5rem; }
  .steps > li { grid-template-columns: 2.6rem 1fr; gap: 1rem; }
}
