/* ==========================================================================
   Staetvast — stylesheet
   Kleurenpalet "Cobalt sky": #0047AB · #000080 · #82C8E5 · #6D8196
   ========================================================================== */

:root{
  --cobalt: #0047AB;
  --navy: #000080;
  --sky: #82C8E5;
  --slate: #6D8196;

  --ink: #14213d;
  --muted: #52657d;
  --bg: #ffffff;
  --bg-soft: #f3f7fb;
  --sky-tint: #eaf4fa;
  --line: #dce6ef;

  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 71, 171, .08);
  --container: 1120px;

  /* Grootte van de afgesneden hoek — echoot de omgevouwen bladhoek in het logo */
  --cut: clamp(26px, 3.4vw, 54px);
}

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

body{
  margin: 0;
  font-family: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3{
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 800;
  letter-spacing: -.01em;
}
h1{ font-size: clamp(2rem, 5.5vw, 3.25rem); }
h2{ font-size: clamp(1.55rem, 3.6vw, 2.25rem); }
h3{ font-size: 1.15rem; }
p{ margin: 0 0 1em; }
a{ color: var(--cobalt); }

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

.section{ padding: 88px 0; }
.section--soft{ background: var(--bg-soft); }
.section--navy{
  background: linear-gradient(150deg, var(--navy) 0%, var(--cobalt) 100%);
  color: #fff;
}
.section--navy h2{ color: #fff; }

.eyebrow{
  display: inline-block;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cobalt);
  margin-bottom: 14px;
}
.section--navy .eyebrow{ color: var(--sky); }

.lead{
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 46em;
}
.section--navy .lead{ color: rgba(255,255,255,.85); }

/* --------------------------------------------------------------------------
   Knoppen
   -------------------------------------------------------------------------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover{ transform: translateY(-1px); }
.btn:focus-visible{ outline: 3px solid var(--sky); outline-offset: 2px; }

.btn--primary{
  background: var(--cobalt);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 71, 171, .25);
}
.btn--primary:hover{ background: #003a8c; }

.btn--light{
  background: #fff;
  color: var(--navy);
}
.btn--light:hover{ background: var(--sky-tint); }

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

.btn--outline{
  border-color: var(--cobalt);
  color: var(--cobalt);
  background: transparent;
}
.btn--outline:hover{ background: var(--sky-tint); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}
.brand{
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy);
}
.brand-mark{ flex: 0 0 auto; }
.brand-name{
  font-weight: 800;
  font-size: .95rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.main-nav{ display: flex; align-items: center; gap: 26px; }
/* :not(.btn) — anders overschrijft deze regel de tekstkleur van de knop */
.main-nav a:not(.btn){
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: .95rem;
}
.main-nav a:not(.btn):hover{ color: var(--cobalt); }
.main-nav .btn{ padding: 10px 20px; font-size: .95rem; }

/* Snelkoppeling naar de opnametool, links van de Boek nu-knop */
.main-nav .nav-app{
  display: inline-flex;
  align-items: center;
  margin-right: -10px; /* dichter bij de knop dan de gewone nav-gap */
  line-height: 0;
  transition: transform .15s ease, opacity .15s ease;
}
.main-nav .nav-app:hover{ transform: scale(1.08); opacity: .85; }

/* Mobiele variant: links van de menuknop, alleen zichtbaar onder de breakpoint */
.nav-app--mobile{
  display: none;
  align-items: center;
  line-height: 0;
}

.burger{
  display: none;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
}
.burger span{
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: transform .2s ease, opacity .2s ease;
}
.burger.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2){ opacity: 0; }
.burger.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.mobile-nav{
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 20px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.mobile-nav.open{ display: flex; }
.mobile-nav a:not(.btn){
  padding: 12px 4px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  border-bottom: 1px solid var(--bg-soft);
}
.mobile-nav .btn{ margin-top: 12px; }

@media (max-width: 900px){
  .main-nav{ display: none; }
  .burger{ display: block; }
  /* icoon en menuknop als paar rechts; de brand duwt ze weg */
  .brand{ margin-right: auto; }
  .nav-app--mobile{ display: inline-flex; margin-right: -8px; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero{
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(130, 200, 229, .25), transparent 60%),
    linear-gradient(150deg, var(--navy) 0%, var(--cobalt) 85%);
  color: #fff;
  padding: 104px 0 96px;
  overflow: hidden;
}
.hero-grid{
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 56px;
  align-items: center;
}
.hero h1{ color: #fff; margin-bottom: .4em; }
.hero .sub{
  font-size: 1.15rem;
  color: rgba(255,255,255,.88);
  max-width: 36em;
  margin-bottom: 32px;
}
.hero-actions{ display: flex; flex-wrap: wrap; gap: 14px; }
.hero-micro{
  margin-top: 18px;
  font-size: .95rem;
  color: var(--sky);
  font-weight: 600;
}
/* Omgevouwen bladhoek — zelfde vorm als in het logo.
   Het beeld wordt rechtsboven schuin afgesneden; het driehoekje ernaast is
   de omgeslagen flap in lichtblauw. Scherpe hoeken, want een blad papier
   heeft die ook. De schaduw staat op de wrapper via drop-shadow: een
   box-shadow op het beeld zelf wordt door de bijsnede mee weggeknipt. */
.cut-tr{
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
  border-radius: 0;
}

.photo-fold{
  position: relative;
  display: block;
  line-height: 0;
}
.photo-fold::after{
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: var(--cut);
  height: var(--cut);
  background: var(--sky);
  clip-path: polygon(0 0, 0 100%, 100% 100%);
}
.photo-fold--shadow{ filter: drop-shadow(0 20px 40px rgba(0, 0, 40, .32)); }

.hero-photo{
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

@media (max-width: 900px){
  .hero{ padding: 72px 0; }
  .hero-grid{ grid-template-columns: 1fr; gap: 40px; }
  .hero-actions .btn{ flex: 1 1 100%; }
}

/* --------------------------------------------------------------------------
   USP-balk
   -------------------------------------------------------------------------- */
.usp-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.usp-card{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow);
}
.usp-card .icon{
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--sky-tint);
  color: var(--cobalt);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.usp-card .icon--euro{
  font-size: 1.5rem;
  font-weight: 800;
}
.usp-card h3{ color: var(--navy); }
.usp-card p{ color: var(--muted); margin: 0; font-size: .98rem; }

@media (max-width: 900px){
  .usp-grid{ grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Tekstblokken / twee kolommen
   -------------------------------------------------------------------------- */
.split{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
@media (max-width: 900px){
  .split{ grid-template-columns: 1fr; gap: 32px; }
}

/* Foto's in tekstsecties */
.section-photo{
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.split .photo-fold{ margin-bottom: 24px; }

/* Brede fotoband tussen secties. Loopt van rand tot rand en krijgt daarom
   geen afgesneden hoek — die hoort bij de foto's die als kaart staan. */
.photo-band{
  width: 100%;
  height: clamp(220px, 32vw, 380px);
  object-fit: cover;
  display: block;
}

.callout{
  background: var(--sky-tint);
  border-left: 4px solid var(--cobalt);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 22px 26px;
  color: var(--ink);
}
.callout strong{ color: var(--navy); }

/* --------------------------------------------------------------------------
   Werkwijze
   -------------------------------------------------------------------------- */
.steps{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
}
.step-num{
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  margin-bottom: 16px;
}
.step h3{ font-size: 1.05rem; color: var(--navy); }
.step p{ color: var(--muted); font-size: .95rem; margin: 0; }

@media (max-width: 1000px){
  .steps{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px){
  .steps{ grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Expertise (navy blok)
   -------------------------------------------------------------------------- */
.expertise-body{ max-width: 52em; }
.expertise-body p{ color: rgba(255,255,255,.88); }
.expertise-body strong{ color: #fff; }
.stamps{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.stamp{
  border: 1px solid rgba(130, 200, 229, .6);
  color: var(--sky);
  border-radius: 999px;
  padding: 8px 18px;
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .04em;
}

/* --------------------------------------------------------------------------
   Tarieven
   -------------------------------------------------------------------------- */
.table-wrap{
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.price-table{
  width: 100%;
  border-collapse: collapse;
  min-width: 420px;
  font-size: .97rem;
}
.price-table th,
.price-table td{
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.price-table thead th{
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: .88rem;
  letter-spacing: .02em;
}
.price-table thead th.ours{ background: var(--cobalt); }
.price-table tbody tr:last-child td{ border-bottom: 0; }
.price-table tbody tr:nth-child(even){ background: var(--bg-soft); }
.price-table td.ours{
  color: var(--cobalt);
  font-weight: 800;
}
.price-micro{
  margin-top: 20px;
  font-size: .95rem;
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   Immokantoren-teaser
   -------------------------------------------------------------------------- */
.teaser{
  background: var(--sky-tint);
  border: 1px solid rgba(130, 200, 229, .7);
  border-radius: var(--radius);
  padding: 44px 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
  gap: 36px;
  align-items: center;
}
.teaser h2{ color: var(--navy); margin-bottom: .3em; }
.teaser p{ color: var(--ink); margin: 0 0 22px; max-width: 44em; }
.teaser .photo-fold{
  --cut: clamp(22px, 2.6vw, 40px);
  height: 100%;
}
.teaser-photo{
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}
@media (max-width: 800px){
  .teaser{ grid-template-columns: 1fr; padding: 32px 26px; }
  .teaser-photo{ min-height: 200px; }
}

/* --------------------------------------------------------------------------
   Checklist (immokantoren)
   -------------------------------------------------------------------------- */
.checklist{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}
.checklist li{
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.checklist .check{
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--cobalt);
  color: #fff;
  display: grid;
  place-items: center;
  margin-top: 2px;
}
.checklist strong{ color: var(--navy); }
.checklist p{ margin: 2px 0 0; color: var(--muted); font-size: .96rem; }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq{ max-width: 780px; margin: 0 auto; }
.faq details{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq summary{
  cursor: pointer;
  list-style: none;
  padding: 20px 52px 20px 24px;
  font-weight: 700;
  color: var(--navy);
  position: relative;
}
.faq summary::-webkit-details-marker{ display: none; }
.faq summary::after{
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--cobalt);
  transition: transform .2s ease;
}
.faq details[open] summary::after{ content: "–"; }
.faq details p{
  padding: 0 24px 20px;
  margin: 0;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Contact / boeken
   -------------------------------------------------------------------------- */
.booking-grid{
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px){
  .booking-grid{ grid-template-columns: 1fr; }
}

.booking-form{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
}
.field{ display: grid; gap: 6px; }
.field label{
  font-weight: 700;
  font-size: .92rem;
  color: var(--navy);
}
.field input,
.field select{
  font: inherit;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-soft);
  color: var(--ink);
  width: 100%;
}
.field input:focus,
.field select:focus{
  outline: 2px solid var(--cobalt);
  outline-offset: 1px;
  background: #fff;
}
.field-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 560px){
  .field-row{ grid-template-columns: 1fr; }
}
.form-status{
  min-height: 1.4em;
  font-size: .95rem;
  font-weight: 600;
  color: var(--cobalt);
  margin: 0;
}

.booking-aside h3{ color: var(--navy); }
.booking-aside p{ color: var(--muted); }
.contact-line{
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  text-decoration: none;
}
.contact-line svg{ color: var(--cobalt); flex: 0 0 auto; }

/* --------------------------------------------------------------------------
   Reviews (verborgen tot er echte reviews zijn)
   -------------------------------------------------------------------------- */
.reviews[hidden]{ display: none; }

/* --------------------------------------------------------------------------
   Pagina-hero (subpagina's)
   -------------------------------------------------------------------------- */
.page-hero{
  background: linear-gradient(150deg, var(--navy) 0%, var(--cobalt) 100%);
  color: #fff;
  padding: 80px 0 64px;
}
.page-hero h1{ color: #fff; max-width: 18em; }
.page-hero .lead{ color: rgba(255,255,255,.88); }

/* --------------------------------------------------------------------------
   CTA-band
   -------------------------------------------------------------------------- */
.cta-band{
  text-align: center;
}
.cta-band .btn{ margin-top: 8px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer{
  background: var(--navy);
  color: rgba(255,255,255,.8);
  padding: 48px 0 40px;
  font-size: .92rem;
}
.footer-grid{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}
.site-footer .brand{ color: #fff; margin-bottom: 10px; }
.site-footer a{ color: var(--sky); text-decoration: none; }
.site-footer a:hover{ text-decoration: underline; }
.footer-meta{ margin: 0; line-height: 1.9; }
.footer-tagline{
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.6);
}

/* --------------------------------------------------------------------------
   Diversen
   -------------------------------------------------------------------------- */
.section-head{ max-width: 46em; margin-bottom: 44px; }
.center{ text-align: center; }
.center .section-head{ margin-left: auto; margin-right: auto; }

::selection{ background: var(--sky); color: var(--navy); }
