/* Thuisverpleging met een hart — first-draft site styles */

:root {
  --red: #E93918;
  --red-deep: #A90C00;
  --red-dark: #8c0a00;
  --blue: #8DB6FF;
  --blue-soft: color-mix(in srgb, var(--blue) 22%, var(--cream));
  --cream: #F0EEE0;
  --cream-warm: #e8e5d4;
  --paper: #fbfaf4;
  --ink: #201A1B;
  --ink-soft: #5a5354;
  --line: color-mix(in srgb, var(--ink) 12%, var(--cream));
  --font-serif: "Cormorant Garamond", "Palatino Linotype", Palatino, Georgia, serif;
  --font-sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --wrap: 70rem;
  --header-h: 4.75rem;
  --radius: 1.35rem;
  --shadow: 0 18px 40px color-mix(in srgb, var(--ink) 10%, transparent);
  --ease: 180ms ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: var(--red-deep);
  text-underline-offset: 0.18em;
}

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

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

::selection {
  background: var(--blue);
  color: var(--ink);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  background: var(--ink);
  color: var(--cream);
  padding: 0.6rem 1rem;
  text-decoration: none;
  border-radius: 0 0 0.4rem 0.4rem;
}

.skip-link:focus {
  top: 0;
  color: var(--cream);
}

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

@media (min-width: 720px) {
  .wrap {
    width: min(100% - 3.5rem, var(--wrap));
  }
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(100% - 1.5rem, var(--wrap));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  color: var(--red);
  flex-shrink: 0;
}

.logo:hover {
  color: var(--red-deep);
}

.logo-mark,
.footer-logo {
  display: block;
  background-color: currentColor;
  -webkit-mask: url("assets/logo-wordmark.svg") no-repeat center / contain;
  mask: url("assets/logo-wordmark.svg") no-repeat center / contain;
}

.logo-mark {
  width: 6.6rem;
  height: 3.85rem;
}

.footer-logo {
  width: 8.5rem;
  height: 4.9rem;
  color: var(--cream);
}

.nav-toggle {
  appearance: none;
  background: transparent;
  border: 0;
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
  border-radius: 0.4rem;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  position: relative;
  transition: transform var(--ease), opacity var(--ease);
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }

body.nav-open .nav-toggle-bar {
  background: transparent;
}

body.nav-open .nav-toggle-bar::before {
  top: 0;
  transform: rotate(45deg);
}

body.nav-open .nav-toggle-bar::after {
  top: 0;
  transform: rotate(-45deg);
}

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

.site-nav ul {
  display: flex;
  gap: 0.2rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
}

.site-nav ul a {
  display: inline-block;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}

.site-nav ul a:hover,
.site-nav ul a:focus-visible {
  color: var(--red-deep);
  border-bottom-color: var(--red);
}

.btn-nav {
  flex-shrink: 0;
}

@media (max-width: 839px) {
  .site-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 40;
    width: 100%;
    height: auto;
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 1.5rem 1.5rem 2.5rem;
    gap: 1.5rem;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 220ms ease, visibility 220ms ease;
    overflow: auto;
  }

  body.nav-open .site-nav {
    transform: none;
    visibility: visible;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .site-nav ul a {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.2;
    padding: 0.55rem 0;
    border-bottom-color: transparent;
  }

  .btn-nav {
    align-self: flex-start;
  }
}

@media (min-width: 840px) {
  .nav-toggle {
    display: none;
  }

  .logo-mark {
    width: 7.6rem;
    height: 4.4rem;
  }

  :root {
    --header-h: 5.25rem;
  }
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--ease), color var(--ease), border-color var(--ease), transform var(--ease);
}

.btn-icon {
  flex-shrink: 0;
}

.btn-primary {
  background: var(--red-deep);
  color: #fff;
  border-color: var(--red-deep);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: var(--ink);
  color: var(--cream);
}

/* Typography helpers */

.eyebrow {
  margin: 0 0 0.7rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red-deep);
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 {
  margin: 0 0 1.15rem;
  font-size: clamp(2.45rem, 6.4vw, 4.6rem);
}

h1 em {
  font-style: italic;
  color: var(--red-deep);
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3.15rem);
}

h3 {
  margin: 0 0 0.45rem;
  font-size: 1.55rem;
  letter-spacing: -0.015em;
}

.lead {
  font-size: 1.18rem;
  line-height: 1.6;
  max-width: 38rem;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

/* Hero */

.hero {
  padding: 2.2rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  gap: 2.4rem;
  align-items: center;
}

.hero-copy .lead {
  margin-bottom: 1.6rem;
  color: var(--ink);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-photo {
  margin: 0;
  max-width: 26rem;
  justify-self: center;
  width: 100%;
}

.photo-stack {
  position: relative;
}

.photo-backdrop {
  position: absolute;
  inset: 1.15rem -0.95rem -0.95rem 1.15rem;
  background: var(--blue);
  border-radius: var(--radius);
  z-index: 0;
}

.photo-frame {
  position: relative;
  z-index: 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream-warm);
  aspect-ratio: 1;
  box-shadow: var(--shadow);
}

.photo-frame picture,
.photo-frame img {
  width: 100%;
  height: 100%;
  display: block;
}

.photo-frame img {
  object-fit: cover;
  object-position: center 22%;
}

.hero-photo figcaption {
  position: relative;
  z-index: 1;
  margin-top: 0.85rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

@media (min-width: 840px) {
  .hero {
    padding: 3.2rem 0 5.5rem;
  }

  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
  }

  .hero-photo {
    max-width: none;
    justify-self: end;
    width: min(100%, 26.5rem);
  }

  .hero-photo .photo-frame {
    aspect-ratio: 4 / 5;
  }
}

/* Sections */

.section {
  padding: 4rem 0;
}

@media (min-width: 840px) {
  .section {
    padding: 5.5rem 0;
  }
}

.section-intro {
  max-width: 40rem;
  margin-bottom: 2.4rem;
}

.section-intro p:not(.eyebrow) {
  color: var(--ink-soft);
  font-size: 1.12rem;
}

.section-note {
  margin-top: 2rem;
  color: var(--ink-soft);
  max-width: 40rem;
}

/* Care grid */

.zorg-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.15rem 1.5rem;
  grid-template-columns: 1fr;
}

.zorg-grid li {
  background: var(--paper);
  border-radius: 1rem;
  padding: 1.3rem 1.25rem 1.35rem;
  border-top: 3px solid var(--red);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--ink) 6%, transparent);
}

.zorg-grid p {
  color: var(--ink-soft);
  margin: 0;
  font-size: 1rem;
}

@media (min-width: 620px) {
  .zorg-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .zorg-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.35rem;
  }
}

/* Steps */

.section-werk {
  background: var(--paper);
  border-block: 1px solid var(--line);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2rem;
  counter-reset: none;
}

.steps li {
  max-width: 38rem;
}

.step-num {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--red);
  margin-bottom: 0.55rem;
}

.steps p {
  color: var(--ink-soft);
}

@media (min-width: 860px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.25rem;
  }

  .steps li {
    max-width: none;
  }
}

/* Over ons */

.over-grid {
  display: grid;
  gap: 2.2rem;
  align-items: center;
}

.over-photo {
  margin: 0;
  max-width: 24rem;
}

.over-photo .photo-frame {
  aspect-ratio: 1;
  box-shadow: var(--shadow);
}

.over-photo img {
  object-position: center 12%;
}

.over-copy p + p {
  margin-top: 0.95rem;
}

.over-copy p:not(.eyebrow) {
  max-width: 38rem;
}

@media (min-width: 840px) {
  .over-grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 4rem;
  }

  .over-photo {
    max-width: none;
  }
}

/* Werkgebied */

.section-gebied {
  background: var(--blue-soft);
}

.gebied-inner {
  max-width: 42rem;
  text-align: center;
  margin-inline: auto;
}

.gebied-inner .eyebrow,
.gebied-inner h2,
.gebied-inner .lead {
  margin-inline: auto;
}

.gebied-inner .lead {
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
}

/* Contact */

.contact-grid {
  display: grid;
  gap: 2.5rem;
}

.contact-list {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.05rem;
}

.contact-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.15rem;
}

.contact-list a,
.contact-list span:not(.contact-label):not(.placeholder) {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.15rem;
}

.contact-list a:hover {
  color: var(--red-deep);
  text-decoration: underline;
}

.placeholder {
  display: inline-block;
  background: color-mix(in srgb, var(--blue) 45%, var(--cream));
  border-bottom: 2px dashed var(--red-deep);
  color: var(--ink);
  font-style: italic;
  font-weight: 600;
  padding: 0.05em 0.35em;
  border-radius: 0.2rem;
}

.contact-form {
  background: var(--paper);
  border-radius: calc(var(--radius) + 0.15rem);
  padding: 1.4rem 1.25rem 1.5rem;
  box-shadow: 0 1px 0 color-mix(in srgb, var(--ink) 6%, transparent);
}

.field {
  margin-bottom: 1rem;
}

.field-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 560px) {
  .field-row {
    grid-template-columns: 1fr 1fr;
  }
}

.field label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.field input,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid color-mix(in srgb, var(--ink) 18%, var(--cream));
  border-radius: 0.55rem;
  padding: 0.7rem 0.8rem;
  appearance: none;
}

.field textarea {
  resize: vertical;
  min-height: 8.5rem;
}

.field input:hover,
.field textarea:hover {
  border-color: color-mix(in srgb, var(--ink) 35%, var(--cream));
}

.field input:focus-visible,
.field textarea:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 1px;
  border-color: var(--red-deep);
  background: #fff;
}

.form-note {
  margin-top: 1rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

@media (min-width: 880px) {
  .contact-grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 3.5rem;
    align-items: start;
  }

  .contact-form {
    padding: 1.75rem;
  }
}

/* Footer */

.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.footer-brand p {
  margin-top: 0.7rem;
  color: color-mix(in srgb, var(--cream) 80%, var(--ink));
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

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

.footer-nav a:hover,
.footer-contact a:hover {
  color: var(--blue);
  text-decoration: underline;
}

.footer-contact p {
  margin: 0 0 0.35rem;
}

.footer-bottom {
  margin-top: 2.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid color-mix(in srgb, var(--cream) 16%, transparent);
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--cream) 70%, var(--ink));
}

@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1.1fr;
    gap: 2.5rem;
    align-items: start;
  }
}

/* Motion */

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

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

.site-nav a.btn-primary,
.site-nav a.btn-primary:hover,
.site-nav a.btn-primary:focus-visible { color: #fff; border-bottom-color: transparent; }

/* ===== Variant F: Beige & bruin =====
   Warm sand/beige grounds echoing the gold cuff of the uniform,
   dark brown text, brown logo, gold-beige photo accent. */

:root {
  --red: #8A5A3C;
  --red-deep: #6B4A33;
  --red-dark: #3B2A20;
  --blue: #C4A574; /* gold-beige, used for focus/selection/photo */
  --blue-soft: #E8DCC8;
  --cream: #F4EEE4;
  --cream-warm: #E8DCC8;
  --paper: #FFF9F3;
  --ink: #3B2A20;
  --ink-soft: #6B4A33;
  --line: color-mix(in srgb, var(--ink) 14%, var(--cream));
}

html,
body {
  background: #F4EEE4;
  color: var(--ink);
}

.logo { color: #6B4A33; }
.logo:hover { color: #3B2A20; }

.site-header {
  background: #F4EEE4;
  border-bottom-color: var(--line);
}

.site-nav a { color: #3B2A20; }
.site-nav ul a:hover,
.site-nav ul a:focus-visible {
  color: #6B4A33;
  border-bottom-color: #8A5A3C;
}

.hero {
  background: #F4EEE4;
}

.hero .eyebrow { color: #6B4A33; }
.hero h1 em { color: #6B4A33; }

.photo-backdrop { background: #C4A574; }

.btn-primary {
  background: #3B2A20;
  border-color: #3B2A20;
  color: #F4EEE4;
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: #2A1D16;
  border-color: #2A1D16;
  color: #F4EEE4;
}

.btn-secondary {
  color: #3B2A20;
  border-color: #3B2A20;
}
.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: #3B2A20;
  color: #F4EEE4;
}

.zorg-grid li { border-top-color: #8A5A3C; }
.step-num { color: #6B4A33; }

.section-werk {
  background: #E8DCC8;
  border-block-color: var(--line);
}

.section-gebied {
  background: #E8DCC8;
}

.contact-form { background: var(--paper); }

.field input,
.field textarea {
  background: #F4EEE4;
  color: #3B2A20;
  border-color: color-mix(in srgb, #3B2A20 20%, #F4EEE4);
}

.placeholder {
  background: color-mix(in srgb, #C4A574 40%, #F4EEE4);
  border-bottom-color: #6B4A33;
  color: #3B2A20;
}

.site-footer {
  background: #3B2A20;
  color: #F4EEE4;
}
.footer-logo { color: #F4EEE4; }
.footer-nav a:hover,
.footer-contact a:hover {
  color: #C4A574;
}

::selection {
  background: #C4A574;
  color: #3B2A20;
}

:focus-visible {
  outline-color: #6B4A33;
}

.site-nav a.btn-primary,
.site-nav a.btn-primary:hover,
.site-nav a.btn-primary:focus-visible {
  color: #F4EEE4;
  border-bottom-color: transparent;
}

@media (max-width: 839px) {
  .site-nav { background: #F4EEE4; }
  .site-nav a { color: #3B2A20; }
  .site-nav a.btn-primary,
  .site-nav a.btn-primary:hover,
  .site-nav a.btn-primary:focus-visible {
    color: #F4EEE4;
    border-bottom-color: transparent;
  }
}
