/* ==========================================================================
   Radder Renovatie & Installatie — website styles
   ========================================================================== */

:root {
  --bg: #0b0b0d;
  --bg-elevated: #141416;
  --bg-alt: #f6f4f0;
  --bg-alt-2: #eeece6;

  --gold: #c6a15a;
  --gold-light: #e3c98c;
  --gold-dim: #8a6f3d;

  --text: #f3f0ea;
  --text-muted: #b9b3a8;
  --text-dark: #1a1a1a;
  --text-dark-muted: #5c584f;

  --border-light: rgba(198, 161, 90, 0.22);
  --border-dark: rgba(20, 20, 20, 0.1);

  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-head: "Manrope", "Inter", -apple-system, sans-serif;

  --container: 1200px;
  --radius: 6px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-head); font-weight: 800; }
p { margin: 0; }
button { font: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: #111;
  padding: 10px 16px;
  z-index: 1000;
  border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

section[id] { scroll-margin-top: 84px; }

.text-gold { color: var(--gold); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.eyebrow--dark { color: var(--gold-dim); }

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 40px;
  letter-spacing: -0.01em;
}
.section-title--light { color: var(--text); margin-bottom: 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #191204;
  box-shadow: 0 8px 24px -10px rgba(198, 161, 90, 0.55);
}
.btn--gold:hover { box-shadow: 0 12px 28px -8px rgba(198, 161, 90, 0.7); }
.btn--outline {
  background: transparent;
  color: var(--text);
  border-color: rgba(243, 240, 234, 0.35);
}
.btn--outline:hover { border-color: var(--gold-light); color: var(--gold-light); }
.btn--sm { padding: 10px 18px; font-size: 0.85rem; }
.btn--lg { padding: 17px 32px; font-size: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
/* Backdrop-filter lives on a ::before (not on .site-header itself) so that
   .site-header keeps a normal containing block for its position:fixed
   descendants (.main-nav) — filter/backdrop-filter on an element creates a
   new containing block for fixed children, which would otherwise break the
   mobile menu's full-viewport positioning. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(11, 11, 13, 0.7);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  transition: background-color 0.3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--border-light);
}
.site-header.is-scrolled::before {
  background: rgba(11, 11, 13, 0.92);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  color: var(--gold);
  background: rgba(198, 161, 90, 0.06);
  flex-shrink: 0;
}
.brand__mark--logo {
  background: #fdfcfa;
  border-color: rgba(255, 255, 255, 0.14);
  padding: 4px;
  overflow: hidden;
}
.brand__mark--logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  color: var(--text);
}
.brand__sub {
  font-size: 0.66rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gold);
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-link {
  position: relative;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 6px 0;
  transition: color 0.2s var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.25s var(--ease);
}
.nav-link:hover, .nav-link.is-active { color: var(--text); }
.nav-link:hover::after, .nav-link.is-active::after { width: 100%; }

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-cta { display: none; }
.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s var(--ease);
}
.header-phone:hover { color: var(--gold-light); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--border-light);
  border-radius: 6px;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin-inline: auto;
  background: var(--text);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--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;
  background: var(--bg);
  min-height: clamp(600px, 88vh, 820px);
  display: flex;
  align-items: stretch;
}

/* Full-bleed photo composition, positioned behind the content column so the
   two zones can blend without a hard vertical seam. */
.hero__visual {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: calc(40% - 70px);
  z-index: 1;
}
.hero__visual-row {
  display: flex;
  height: 100%;
  width: calc(100% + 90px);
  margin-left: -50px;
  transform: skewX(-8deg);
}
.hero__visual-panel {
  position: relative;
  flex: 1 1 0;
  overflow: hidden;
  border-left: 1px solid rgba(255, 255, 255, 0.07);
}
.hero__visual-panel:first-child { border-left: none; }
.hero__visual-panel img {
  position: absolute;
  top: -15%;
  left: -25%;
  width: 150%;
  height: 130%;
  object-fit: cover;
  transform: skewX(8deg) scale(1.08);
  filter: saturate(0.92) contrast(1.04);
}
/* Warm dark grading tying the three source photos into one consistent mood */
.hero__visual-fade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(10, 8, 5, 0.15), rgba(8, 7, 5, 0.5)),
    linear-gradient(15deg, rgba(198, 161, 90, 0.1), transparent 55%);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 40%;
  min-width: 420px;
  max-width: 600px;
  padding: 150px 64px 64px max(24px, calc((100vw - 1200px) / 2 + 24px));
  background: linear-gradient(90deg, var(--bg) 68%, rgba(11, 11, 13, 0.75) 88%, transparent 100%);
}

.hero__title {
  font-size: clamp(2.6rem, 4.6vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 26px;
}
.hero__rule {
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-bottom: 26px;
}
.hero__lead {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 460px;
  margin-bottom: 44px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 18px; }
.btn--uppercase { text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.88rem; }

/* ---------- Trust strip ---------- */
.trust {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 52px 0;
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
}
.trust__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.trust__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  color: var(--gold);
  background: rgba(198, 161, 90, 0.05);
}
.trust__item h3 {
  font-size: 0.98rem;
  color: var(--text);
  margin-bottom: 4px;
}
.trust__item p {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ---------- Services ---------- */
.services {
  background: var(--bg-alt);
  padding: 120px 0;
  color: var(--text-dark);
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border-dark);
  border-radius: 10px;
  padding: 32px 26px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 40px -20px rgba(20, 20, 20, 0.22);
  border-color: var(--gold);
}
.service-card__num {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--gold-dim);
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}
.service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: #14141608;
  border: 1px solid var(--border-dark);
  color: var(--gold-dim);
  margin-bottom: 20px;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.service-card:hover .service-card__icon {
  background: var(--text-dark);
  color: var(--gold-light);
  border-color: var(--text-dark);
}
.service-card h3 {
  font-size: 1.12rem;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.3;
}
.service-card p {
  font-size: 0.92rem;
  color: var(--text-dark-muted);
  line-height: 1.6;
}

/* ---------- About ---------- */
.about {
  background: #101012;
  padding: 120px 0;
}
.about__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}
.about__lead {
  font-size: 1.08rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 18px;
}
.about__copy > p { color: var(--text-muted); line-height: 1.75; margin-bottom: 18px; }

.check-list {
  margin-top: 30px;
  display: grid;
  gap: 14px;
}
.check-list li {
  position: relative;
  padding-left: 32px;
  font-size: 0.96rem;
  color: var(--text);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: rgba(198, 161, 90, 0.08);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 7px;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--gold-light);
  border-bottom: 2px solid var(--gold-light);
  transform: rotate(-45deg);
}

.about__panel-frame {
  aspect-ratio: 320 / 380;
  border-radius: 12px;
  background: linear-gradient(155deg, #15151780, #0c0c0d);
  border: 1px solid var(--border-light);
  color: var(--gold);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Process ---------- */
.process {
  background: var(--bg-alt-2);
  padding: 120px 0;
  color: var(--text-dark);
}
.process__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: step;
}
.process__item {
  position: relative;
  padding: 0 28px 0 0;
  border-left: 1px solid var(--border-dark);
  padding-left: 28px;
}
.process__item:first-child { border-left: none; padding-left: 0; }
.process__num {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 14px;
}
.process__item h3 {
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.process__item p {
  font-size: 0.92rem;
  color: var(--text-dark-muted);
  line-height: 1.6;
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  background: linear-gradient(160deg, #0d0d0f, #08080a);
  padding: 130px 0;
  text-align: center;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 700px 400px at 50% 0%, rgba(198, 161, 90, 0.12), transparent 70%);
  pointer-events: none;
}
.cta__inner {
  position: relative;
  max-width: 680px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta__title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 20px;
}
.cta__lead {
  font-size: 1.08rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 520px;
}
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-bottom: 36px;
}
.cta__contact {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.98rem;
  color: var(--text-muted);
}
.cta__contact a { font-weight: 600; color: var(--text); transition: color 0.2s var(--ease); }
.cta__contact a:hover { color: var(--gold-light); }
.cta__divider { color: var(--border-light); }

/* ---------- Footer ---------- */
.site-footer { background: #08080a; }
.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  padding: 56px 24px;
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand__name { font-family: var(--font-head); font-weight: 800; color: var(--text); font-size: 1rem; }
.footer-brand__tag { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }

.footer-nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-nav a { font-size: 0.9rem; color: var(--text-muted); transition: color 0.2s var(--ease); }
.footer-nav a:hover { color: var(--gold-light); }

.footer-contact { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; text-align: right; }
.footer-contact a,
.footer-contact span { font-size: 0.9rem; color: var(--text-muted); transition: color 0.2s var(--ease); }
.footer-contact a:hover { color: var(--gold-light); }

.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 22px 0;
}
.site-footer__bottom p {
  font-size: 0.8rem;
  color: rgba(185, 179, 168, 0.6);
  text-align: center;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

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

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .about__grid { grid-template-columns: 1fr; gap: 56px; }
  .about__panel { max-width: 420px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .trust__grid { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .process__list { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .process__item:nth-child(3) { border-left: none; padding-left: 0; }
}

@media (max-width: 860px) {
  .header-phone { display: none; }
  .site-header__actions .btn--gold.btn--sm { display: none; }
  .main-nav {
    position: fixed;
    inset: 78px 0 0 0;
    background: rgba(10, 10, 11, 0.98);
    backdrop-filter: blur(14px);
    overflow-y: auto;
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
    border-top: 1px solid var(--border-light);
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 24px 24px; }
  .main-nav li { width: 100%; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .nav-link { display: block; padding: 16px 0; font-size: 1.05rem; }
  .nav-toggle { display: flex; }
  .nav-cta { display: flex; margin: 4px 24px 24px; justify-content: center; }

  .hero { flex-direction: column; min-height: auto; }
  .hero__visual { position: relative; inset: auto; height: 360px; order: 2; }
  .hero__visual-row { transform: none; width: 100%; margin-left: 0; }
  .hero__visual-panel img { top: 0; left: 0; width: 100%; height: 100%; transform: none; }
  .hero__content {
    order: 1;
    width: 100%;
    min-width: 0;
    max-width: none;
    padding: 128px 24px 40px;
    background: var(--bg);
  }
}

@media (max-width: 640px) {
  .hero__visual { height: 280px; }
  .hero__content { padding-top: 118px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { justify-content: center; }
  .services, .about, .process { padding: 80px 0; }
  .services__grid { grid-template-columns: 1fr; }
  .trust__grid { grid-template-columns: 1fr; }
  .process__list { grid-template-columns: 1fr; }
  .process__item { border-left: none; padding-left: 0; border-top: 1px solid var(--border-dark); padding-top: 24px; }
  .process__item:first-child { border-top: none; padding-top: 0; }
  .site-footer__inner { flex-direction: column; align-items: flex-start; text-align: left; }
  .footer-contact { align-items: flex-start; text-align: left; }
  .cta { padding: 90px 0; }
  .cta__actions { flex-direction: column; width: 100%; }
  .cta__actions .btn { justify-content: center; }
  .cta__contact { flex-direction: column; gap: 4px; }
  .cta__divider { display: none; }
}
