/* ==========================================================================
   De Roos Techniek – stylesheet
   Kleuren afgeleid van het logo: rood #E51B20, antraciet #343435
   ========================================================================== */

:root {
  --red: #e51b20;
  --red-dark: #c2151a;
  --red-soft: #fdeaea;
  --dark: #343435;
  --dark-2: #232324;
  --ink: #1f1f20;
  --text: #3d3d3f;
  --muted: #6d6d70;
  --line: #e6e6e8;
  --bg: #ffffff;
  --bg-alt: #f6f6f7;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(35, 35, 36, 0.08);
  --shadow-lg: 0 20px 50px rgba(35, 35, 36, 0.14);
  --font: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 84px;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0 0 0.6em; font-weight: 800; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; font-weight: 800; }
p { margin: 0 0 1em; }

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

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

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--red); color: #fff; padding: 0.6rem 1rem; z-index: 999;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
  text-decoration: none !important;
  font-family: inherit;
}
.btn svg { width: 1.1em; height: 1.1em; fill: currentColor; }
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid rgba(229, 27, 32, 0.4); outline-offset: 2px; }

.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(229, 27, 32, 0.28); }
.btn-primary:hover { background: var(--red-dark); }

.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }

.btn-small { padding: 0.55rem 1.1rem; font-size: 0.92rem; }
.btn-block { width: 100%; }

/* Header ----------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}
.brand img { width: 180px; height: auto; }

.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav a:not(.btn) {
  color: var(--dark); font-weight: 700; position: relative; padding: 0.25rem 0;
}
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px;
  background: var(--red); border-radius: 2px; transform: scaleX(0); transition: transform 0.2s ease;
}
.site-nav a:not(.btn):hover { text-decoration: none; }
.site-nav a:not(.btn):hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  width: 44px; height: 44px; padding: 10px;
  background: transparent; border: 0; cursor: pointer; border-radius: var(--radius-sm);
}
.nav-toggle span { display: block; height: 3px; background: var(--dark); border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Hero ------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--dark-2) 0%, var(--dark) 60%, #3f3f41 100%);
  color: #fff;
  padding: clamp(4rem, 9vw, 7.5rem) 0;
}
.hero-inner { position: relative; z-index: 1; max-width: 720px; }
.hero h1 { color: #fff; }
.hero .accent { color: var(--red); }
.hero .eyebrow { color: #ff8a8d; }
.lead { font-size: 1.2rem; color: rgba(255, 255, 255, 0.85); max-width: 600px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin: 2rem 0; }

.hero-badges {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 0.6rem;
}
.hero-badges li {
  padding: 0.45rem 0.95rem; border-radius: 999px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 700; font-size: 0.9rem;
}

/* Diagonale strepen – knipoog naar het visitekaartje */
.hero-stripes { position: absolute; inset: 0; pointer-events: none; }
.stripe {
  position: absolute; width: 60px; height: 160%; top: -30%; transform: rotate(35deg);
  border-radius: 6px; opacity: 0.95;
}
.stripe-red { background: var(--red); right: 12%; }
.stripe-dark { background: #4a4a4c; right: 4%; width: 90px; }
.stripe-bottom { top: auto; bottom: -110%; height: 120%; right: auto; }
.stripe-red.stripe-bottom { left: -3%; width: 44px; opacity: 0.85; }
.stripe-dark.stripe-bottom { left: 5%; width: 70px; }

/* Sections --------------------------------------------------------------- */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin-bottom: 2.75rem; }
.section-intro { font-size: 1.1rem; color: var(--muted); }

/* Cards ------------------------------------------------------------------ */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem; box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #f3c5c6; }
.card-icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: var(--red-soft); color: var(--red); margin-bottom: 1.25rem;
}
.card-icon svg { width: 28px; height: 28px; fill: currentColor; }
.card p { color: var(--text); }

.check-list { list-style: none; padding: 0; margin: 1.25rem 0 0; }
.check-list li { position: relative; padding-left: 1.7rem; margin-bottom: 0.5rem; font-weight: 600; color: var(--dark); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.45em; width: 0.7em; height: 0.4em;
  border-left: 3px solid var(--red); border-bottom: 3px solid var(--red); transform: rotate(-45deg);
}

/* USP strip -------------------------------------------------------------- */
.usp-strip { background: var(--dark); color: #fff; padding: 2.25rem 0; }
.usp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.usp { display: flex; flex-direction: column; gap: 0.2rem; padding-left: 1rem; border-left: 3px solid var(--red); }
.usp strong { font-size: 1.05rem; font-weight: 800; }
.usp span { color: rgba(255, 255, 255, 0.75); font-size: 0.95rem; }

/* Steps ------------------------------------------------------------------ */
.steps {
  list-style: none; padding: 0; margin: 0; counter-reset: step;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.steps li { position: relative; padding: 1.75rem 1.75rem 1.5rem; background: var(--bg-alt); border-radius: var(--radius); }
.step-num {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--red); color: #fff; font-weight: 900; font-size: 1.1rem; margin-bottom: 1rem;
}
.steps h3 { margin-bottom: 0.4rem; }
.steps p { margin: 0; color: var(--text); }

/* About ------------------------------------------------------------------ */
.about { display: grid; grid-template-columns: 1.3fr 0.9fr; gap: 3rem; align-items: center; }
.about-text .btn { margin-top: 0.5rem; }
.about-card {
  background: #fff; border-radius: var(--radius); padding: 2.25rem; box-shadow: var(--shadow-lg);
  border-top: 5px solid var(--red);
}
.about-avatar {
  width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center;
  background: var(--dark); color: #fff; font-weight: 900; font-size: 1.5rem; margin-bottom: 1rem;
}
.about-card h3 { margin-bottom: 0.1rem; }
.about-card .muted { margin-bottom: 1.25rem; }

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.8rem; }
.contact-list li { display: flex; align-items: center; gap: 0.8rem; }
.contact-list svg { flex: 0 0 auto; width: 22px; height: 22px; fill: var(--red); }
.contact-list a { color: var(--dark); font-weight: 700; }
.contact-list a:hover { color: var(--red); }
.contact-list.big { gap: 1.25rem; margin-top: 1.5rem; }
.contact-list.big li { align-items: flex-start; }
.contact-list.big svg { width: 26px; height: 26px; margin-top: 0.15rem; }
.contact-list.big div { display: flex; flex-direction: column; }
.contact-list.big .muted { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.contact-list.big a { font-size: 1.15rem; }

/* Contact ---------------------------------------------------------------- */
.contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; align-items: start; }

.contact-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem; box-shadow: var(--shadow);
  display: grid; gap: 1.1rem;
}
.field { display: grid; gap: 0.35rem; }
.field label { font-weight: 800; color: var(--dark); font-size: 0.95rem; }
.field label span { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.8rem 1rem;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; color: var(--ink); background: #fbfbfc;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(229, 27, 32, 0.12); background: #fff;
}
.field.invalid input, .field.invalid textarea { border-color: var(--red); }
.error { display: none; margin: 0; font-size: 0.85rem; color: var(--red-dark); font-weight: 700; }
.field.invalid .error { display: block; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-note { margin: 0; font-size: 0.85rem; color: var(--muted); }
.form-status { display: none; padding: 0.9rem 1rem; border-radius: var(--radius-sm); font-weight: 700; }
.form-status.success { display: block; background: #e8f6ec; color: #1d6b34; border: 1px solid #b9e2c4; }
.form-status.error { display: block; background: var(--red-soft); color: var(--red-dark); border: 1px solid #f3c5c6; }

.btn-loading { display: none; }
.contact-form.is-sending .btn-label { display: none; }
.contact-form.is-sending .btn-loading { display: inline; }
.contact-form.is-sending button { opacity: 0.75; pointer-events: none; }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: var(--dark-2); color: rgba(255, 255, 255, 0.75); padding: 3rem 0 2rem; }
.footer-inner { display: grid; gap: 1rem; justify-items: center; text-align: center; }
.footer-logo {
  width: 150px; background: #fff; padding: 0.6rem 0.9rem; border-radius: var(--radius-sm);
}
.footer-tagline { margin: 0; font-weight: 700; color: #fff; }
.footer-nav { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
.footer-nav a { color: rgba(255, 255, 255, 0.75); font-weight: 700; }
.footer-nav a:hover { color: #fff; }
.copyright { margin: 0.75rem 0 0; font-size: 0.85rem; }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 960px) {
  .cards, .steps { grid-template-columns: 1fr; }
  .usp-grid { grid-template-columns: repeat(2, 1fr); }
  .about, .contact { grid-template-columns: 1fr; gap: 2rem; }
  .stripe-red { right: 4%; } .stripe-dark { right: -4%; }
}

@media (max-width: 760px) {
  :root { --header-h: 72px; }
  .brand img { width: 140px; }
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 0.5rem 1.25rem 1.25rem;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav .btn { margin-top: 1rem; justify-content: center; }
  .usp-grid { grid-template-columns: 1fr; }
  .contact-form, .card, .about-card { padding: 1.5rem; }
  .stripe-bottom { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
