/* ============================================================
   ALVICOM huisstijl
   Kleuren afgeleid van het logo: oranje → rood gradient + zwart
   ============================================================ */

:root {
  --ink: #14141b;
  --ink-soft: #2a2a35;
  --muted: #5d6270;
  --paper: #f6f7f9;
  --card: #ffffff;
  --line: #e5e7ec;
  --sunset-1: #ffab2e;
  --sunset-2: #ff4757;
  --gradient: linear-gradient(135deg, var(--sunset-1) 0%, var(--sunset-2) 100%);
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 20, 27, 0.07);
  --font-display: "Sora", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
}

* { 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.7;
  color: var(--ink-soft);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }

p + p { margin-top: 1em; }

a { color: inherit; }

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

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

/* ---- Kicker / eyebrow met chevron-marker (uit het logo) ---- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

.kicker::before {
  content: "";
  width: 14px;
  height: 10px;
  background: var(--gradient);
  clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 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);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

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

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

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

.nav a:hover { color: var(--ink); border-color: var(--sunset-1); }

.nav a.active {
  color: var(--ink);
  border-image: var(--gradient) 1;
  border-bottom: 2px solid;
}

.nav a.btn {
  padding: 0.6rem 1.4rem;
  border-bottom: none;
}

.nav a.btn:hover,
.nav a.btn.active {
  border-bottom: none;
  color: #fff;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.45rem 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  cursor: pointer;
}

/* ---- Knoppen ---- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.8rem 1.6rem;
  border-radius: 10px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 6px 18px rgba(255, 71, 87, 0.28);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(255, 71, 87, 0.35); }

.btn-ghost {
  border: 1.5px solid var(--line);
  color: var(--ink);
  background: var(--card);
}

.btn-ghost:hover { border-color: var(--sunset-2); }

/* ---- Hero ---- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 6rem 0 5.5rem;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.97) 42%, rgba(255,255,255,0.72)),
    url("../assets/rotterdam-skyline.jpg") center 62% / cover no-repeat;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.hero h1 .accent {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  margin-top: 1.4rem;
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 34rem;
}

.hero-actions { margin-top: 2.2rem; display: flex; gap: 1rem; flex-wrap: wrap; }

/* Chevron-compositie rechts in de hero */
.hero-art {
  position: relative;
  height: 340px;
}

.hero-art .chev {
  position: absolute;
  clip-path: polygon(32% 0, 100% 0, 68% 100%, 0 100%);
}

.hero-art .chev-1 { width: 46%; height: 78%; left: 8%; top: 6%; background: var(--gradient); opacity: 0.95; }
.hero-art .chev-2 { width: 46%; height: 78%; left: 40%; top: 16%; background: var(--ink); opacity: 0.88; }
.hero-art .chev-3 { width: 46%; height: 78%; left: 66%; top: 28%; background: var(--gradient); opacity: 0.3; }

/* ---- Secties ---- */
.section { padding: 5rem 0; }
.section.alt { background: var(--card); border-block: 1px solid var(--line); }

.section-head { max-width: 40rem; margin-bottom: 3rem; }
.section-head p { color: var(--muted); margin-top: 0.8rem; }

/* ---- Kaarten ---- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.card:hover { transform: translateY(-4px); border-color: var(--sunset-1); }

.card .chev-icon {
  width: 30px;
  height: 22px;
  background: var(--gradient);
  clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%);
  margin-bottom: 1.1rem;
}

.card h3 { margin-bottom: 0.5rem; }
.card p { font-size: 0.98rem; color: var(--muted); }

.card-link {
  display: inline-block;
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--sunset-2);
}

/* ---- Route (aanpak) ---- */
.route { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }

.route::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 4%;
  right: 4%;
  height: 3px;
  background: var(--gradient);
  border-radius: 3px;
}

.route-step { position: relative; padding-top: 2.4rem; }

.route-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 22px;
  height: 16px;
  background: var(--gradient);
  clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%);
  box-shadow: 0 0 0 6px var(--paper);
}

.section.alt .route-step::before { box-shadow: 0 0 0 6px var(--card); }

.route-step h3 { font-size: 1.1rem; }

.route-step .quote {
  font-size: 0.95rem;
  color: var(--muted);
  font-style: italic;
  margin-top: 0.35rem;
}

/* ---- Referenties ---- */
.testimonial {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid;
  border-image: var(--gradient) 1;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.8rem;
  box-shadow: var(--shadow);
}

.testimonial blockquote { font-size: 1.02rem; color: var(--ink-soft); }

.testimonial cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* ---- CTA-band ---- */
.cta-band {
  position: relative;
  background:
    linear-gradient(100deg, rgba(20, 20, 27, 0.94) 30%, rgba(20, 20, 27, 0.78)),
    url("../assets/rotterdam-lucht.jpg") center 40% / cover no-repeat;
  color: #fff;
  padding: 4.5rem 0;
}

.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.7); margin-top: 0.8rem; max-width: 36rem; }
.cta-band .btn { margin-top: 2rem; }

/* ---- Formulier ---- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-grid .full { grid-column: 1 / -1; }

label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

input, textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  color: var(--ink);
  transition: border-color 0.15s ease;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--sunset-2);
}

/* ---- Contactinfo ---- */
.contact-info {
  display: grid;
  gap: 1rem;
}

.contact-info .item {
  display: flex;
  gap: 0.9rem;
  align-items: baseline;
}

.contact-info .item::before {
  content: "";
  flex: 0 0 14px;
  width: 14px;
  height: 10px;
  background: var(--gradient);
  clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%);
}

/* ---- Footer ---- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  padding: 3.5rem 0 2rem;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer img { height: 26px; margin-bottom: 1rem; }

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

.site-footer a { color: rgba(255, 255, 255, 0.72); text-decoration: none; }
.site-footer a:hover { color: #fff; }

.site-footer ul { list-style: none; display: grid; gap: 0.5rem; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding-top: 1.6rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---- Page hero (subpagina's) ---- */
.page-hero {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  padding: 4.5rem 0;
}

.page-hero p { margin-top: 1rem; color: var(--muted); max-width: 38rem; }

/* ---- Toegankelijkheid & motion ---- */
:focus-visible {
  outline: 3px solid var(--sunset-2);
  outline-offset: 2px;
}

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

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { height: 220px; margin-top: 1rem; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .route { grid-template-columns: 1fr 1fr; }
  .route::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .grid-3, .grid-2, .route, .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  .nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--card);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.2rem 4%;
    gap: 1rem;
  }

  .nav.open { display: flex; }
  .nav-toggle { display: block; }
}

/* ---- Teamfoto's ---- */
.photo-frame {
  position: relative;
  display: inline-block;
}

.photo-frame img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.photo-frame::after {
  content: "";
  position: absolute;
  right: -14px;
  bottom: -14px;
  width: 64px;
  height: 46px;
  background: var(--gradient);
  clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%);
  z-index: -1;
}

.person-card {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 3rem;
  align-items: center;
}

.person-card .role {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sunset-2);
  margin-top: 0.3rem;
  margin-bottom: 1rem;
}

@media (max-width: 780px) {
  .person-card { grid-template-columns: 1fr; }
  .person-card .photo-frame { max-width: 320px; }
}

/* ---- Page-hero met sfeerfoto ---- */
.page-hero.with-photo {
  background-color: var(--card);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero.with-photo .container {
  position: relative;
}

.page-hero.ph-diensten {
  background-image: linear-gradient(90deg, rgba(255,255,255,0.97) 40%, rgba(255,255,255,0.78)), url("../assets/rotterdam-skyline.jpg");
  background-position: center 30%;
}

.page-hero.ph-overons {
  background-image: linear-gradient(90deg, rgba(255,255,255,0.97) 40%, rgba(255,255,255,0.78)), url("../assets/rotterdam-lucht.jpg");
  background-position: center 55%;
}

.page-hero.ph-referenties {
  background-image: linear-gradient(90deg, rgba(255,255,255,0.97) 40%, rgba(255,255,255,0.78)), url("../assets/rotterdam-lucht.jpg");
}

.page-hero.ph-contact {
  background-image: linear-gradient(90deg, rgba(255,255,255,0.97) 40%, rgba(255,255,255,0.75)), url("../assets/rotterdam-skyline.jpg");
  background-position: center 65%;
}



/* ---- Social media ---- */
.socials {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.socials a:hover {
  border-color: var(--sunset-1);
  background: rgba(255, 255, 255, 0.06);
}

.socials svg {
  width: 18px;
  height: 18px;
  fill: rgba(255, 255, 255, 0.85);
}

/* ---- Juridische pagina's ---- */
.legal-content { max-width: 46rem; }
.legal-content h2 { margin-top: 2.5rem; margin-bottom: 0.6rem; font-size: 1.35rem; }
.legal-content ul { margin: 0.6rem 0 0 1.2rem; }
.legal-content li { margin-top: 0.35rem; }

/* ---- Anker-offset voor sticky header ---- */
section[id] { scroll-margin-top: 90px; }
