/* ==========================================================================
   Breed Inzetbaar — administratiekantoor Oudega
   Palet afgeleid van het logo: signaalrood + antraciet op warm papierwit
   ========================================================================== */

:root {
  --paper: #faf8f4;
  --paper-deep: #f2eee6;
  --ink: #26282b;
  --ink-soft: #55585e;
  --red: #c22026;
  --red-deep: #9d181d;
  --line: #e4dfd5;
  --card: #ffffff;
  --footer-bg: #232528;
  --footer-ink: #b9bcc1;
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(38, 40, 43, 0.18);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Karla", "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--paper);
  background-image: radial-gradient(rgba(38, 40, 43, 0.04) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red-deep); }

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

/* ---------- typografie ---------- */

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
h3 { font-size: 1.25rem; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.9rem;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 2px;
  background: var(--red);
  vertical-align: middle;
  margin-right: 0.6rem;
}

/* ---------- knoppen ---------- */

.btn {
  display: inline-block;
  padding: 0.8rem 1.7rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(194, 32, 38, 0.55);
}
.btn-primary:hover { background: var(--red-deep); color: #fff; transform: translateY(-2px); }

.btn-ghost {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }

/* ---------- header ---------- */

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

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 84px;
}

.brand img { height: 52px; width: auto; }

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
}

.main-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.main-nav a:hover { color: var(--red); }
.main-nav a[aria-current="page"] { color: var(--red); border-bottom-color: var(--red); }

.main-nav .nav-cta {
  background: var(--ink);
  color: var(--paper);
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  border-bottom: none;
}
.main-nav .nav-cta:hover { background: var(--red); color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(3rem, 7vw, 5.5rem);
}

.hero::after {
  content: "%";
  position: absolute;
  right: -0.05em;
  top: -0.28em;
  font-family: var(--font-display);
  font-size: clamp(16rem, 34vw, 30rem);
  font-weight: 700;
  line-height: 1;
  color: rgba(194, 32, 38, 0.06);
  pointer-events: none;
  user-select: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  position: relative;
  z-index: 1;
}

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

.hero .lead {
  font-size: 1.2rem;
  color: var(--ink-soft);
  margin: 1.4rem 0 2.1rem;
  max-width: 34em;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }

.hero-phone {
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  font-size: 1.05rem;
}
.hero-phone span { color: var(--red); }

/* infokaart in hero */
.hero-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.8rem;
  position: relative;
  rotate: 1.2deg;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0.55rem;
  border: 1px dashed var(--line);
  border-radius: calc(var(--radius) - 6px);
  pointer-events: none;
}

.hero-card h3 { margin-bottom: 0.9rem; }

.hero-card dl { display: grid; gap: 0.45rem; font-size: 0.98rem; }
.hero-card dt { font-weight: 700; }
.hero-card dd { color: var(--ink-soft); margin-bottom: 0.4rem; }

.hero-card .hint {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* ---------- secties ---------- */

.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-alt { background: var(--paper-deep); border-block: 1px solid var(--line); }

.section-head { max-width: 46em; margin-bottom: 2.4rem; }
.section-head p { color: var(--ink-soft); margin-top: 0.8rem; }

/* dienstenkaarten */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px -14px rgba(38, 40, 43, 0.25); }

.card .card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(194, 32, 38, 0.09);
  color: var(--red);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
}

.card p { color: var(--ink-soft); }
.card .card-link { margin-top: auto; font-weight: 700; text-decoration: none; }
.card .card-link::after { content: " →"; transition: margin-left 0.15s ease; }
.card .card-link:hover::after { margin-left: 4px; }

/* usp-strip */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.usp {
  border-left: 3px solid var(--red);
  padding-left: 1.1rem;
}
.usp strong { display: block; font-size: 1.05rem; margin-bottom: 0.2rem; }
.usp span { color: var(--ink-soft); font-size: 0.97rem; }

/* nieuws */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.news-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.news-card time {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}

.news-card p { color: var(--ink-soft); font-size: 0.98rem; }
.news-card a { font-weight: 700; text-decoration: none; margin-top: auto; }
.news-card a::after { content: " →"; }

/* ---------- contentpagina's ---------- */

.page-hero {
  padding: clamp(2.8rem, 6vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2.5rem);
}

.page-hero .lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 44em;
  margin-top: 1rem;
}

.content-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.prose > * + * { margin-top: 1.1rem; }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.8rem; }
.prose ul { padding-left: 1.2rem; display: grid; gap: 0.45rem; }
.prose li::marker { color: var(--red); }
.prose blockquote {
  border-left: 3px solid var(--red);
  padding: 0.6rem 0 0.6rem 1.3rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--ink);
}
.prose .signature { font-family: var(--font-display); font-style: italic; font-size: 1.1rem; }

.figure-stack { display: grid; gap: 1.5rem; position: sticky; top: 110px; }

.figure-stack figure {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.8rem;
  box-shadow: var(--shadow);
  rotate: -1deg;
}
.figure-stack figure:nth-child(even) { rotate: 1.2deg; }
.figure-stack img { border-radius: calc(var(--radius) - 6px); width: 100%; }
.figure-stack figcaption {
  font-size: 0.88rem;
  color: var(--ink-soft);
  padding: 0.6rem 0.3rem 0.2rem;
  text-align: center;
}

.partner-note {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  box-shadow: var(--shadow);
}
.partner-note img { max-height: 60px; width: auto; }
.partner-note p { flex: 1 1 280px; color: var(--ink-soft); font-size: 0.98rem; }

/* checklist met diensten */
.check-list { list-style: none; padding: 0; display: grid; gap: 0.55rem; }
.check-list li { padding-left: 1.8rem; position: relative; }
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--red);
  font-weight: 700;
}

/* ---------- vacatures ---------- */

.vacancy {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.6rem, 4vw, 2.6rem);
  margin-bottom: 2rem;
}

.vacancy-tag {
  display: inline-block;
  background: rgba(194, 32, 38, 0.1);
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  margin-bottom: 0.9rem;
}

.vacancy h2 { margin-bottom: 0.4rem; }
.vacancy .prose { margin-top: 1rem; }

/* ---------- contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-block { display: grid; gap: 1.6rem; }

.contact-item h3 { margin-bottom: 0.35rem; }
.contact-item p { color: var(--ink-soft); }
.contact-item a { font-weight: 700; }

.map-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.map-frame iframe { display: block; width: 100%; height: 340px; border: 0; }

/* formulier */
.form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.6rem, 4vw, 2.4rem);
}

.form-card .field { margin-bottom: 1.1rem; }

.form-card label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.form-card input,
.form-card textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-card input:focus,
.form-card textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(194, 32, 38, 0.12);
}

.form-card textarea { min-height: 140px; resize: vertical; }

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

.form-alert {
  display: none;
  border-radius: 10px;
  padding: 0.9rem 1.1rem;
  margin-bottom: 1.2rem;
  font-weight: 700;
}
.form-alert.success { display: block; background: #e7f3e7; color: #256029; border: 1px solid #bcd9bd; }
.form-alert.error { display: block; background: #fbe9e9; color: var(--red-deep); border: 1px solid #efc4c4; }

.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* download-knop privacy */
.download-tile {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.2rem 1.6rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  transition: transform 0.15s ease;
}
.download-tile:hover { transform: translateY(-3px); color: var(--red); }
.download-tile .ext {
  background: var(--red);
  color: #fff;
  border-radius: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  padding: 0.45rem 0.6rem;
}
.download-tile small { display: block; font-weight: 400; color: var(--ink-soft); }

/* ---------- nieuwspagina ---------- */

.article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.6rem, 4vw, 2.4rem);
  margin-bottom: 1.8rem;
  scroll-margin-top: 110px;
}
.article time {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}
.article h2 { margin: 0.4rem 0 0.9rem; }
.article p + p { margin-top: 0.9rem; }
.article p { color: var(--ink-soft); }

/* ---------- cta-band ---------- */

.cta-band {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  padding: clamp(2rem, 5vw, 3.2rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "%";
  position: absolute;
  right: 1rem;
  bottom: -2.2rem;
  font-family: var(--font-display);
  font-size: 11rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.05);
  line-height: 1;
}

.cta-band h2 { color: #fff; max-width: 18em; }
.cta-band p { color: var(--footer-ink); margin-top: 0.5rem; }

/* ---------- footer ---------- */

.site-footer {
  background: var(--footer-bg);
  color: var(--footer-ink);
  margin-top: clamp(3rem, 7vw, 5rem);
  padding: clamp(2.5rem, 6vw, 4rem) 0 1.5rem;
  font-size: 0.97rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.2rem;
  padding-bottom: 2.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.site-footer h3 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 0.9rem;
}

.site-footer ul { list-style: none; display: grid; gap: 0.45rem; }
.site-footer a { color: var(--footer-ink); text-decoration: none; }
.site-footer a:hover { color: #fff; }

.footer-brand img {
  height: 46px;
  width: auto;
  background: #fff;
  padding: 6px 10px;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.footer-brand p { max-width: 26em; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  padding-top: 1.4rem;
  font-size: 0.88rem;
  color: #85888e;
}

/* ---------- scroll-reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .hero .container,
  .content-grid,
  .contact-grid { grid-template-columns: 1fr; }

  .figure-stack { position: static; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

  .hero-card { rotate: 0deg; max-width: 480px; }
}

@media (max-width: 920px) {
  .nav-toggle { display: flex; }

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

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

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
  }

  .main-nav a {
    display: block;
    padding: 0.7rem 0.4rem;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }

  .main-nav .nav-cta {
    margin-top: 0.8rem;
    text-align: center;
    border-radius: 999px;
  }

  .brand img { height: 44px; }
}
