:root{
  --bg: #f4efe9;
  --ink: #2a1f18;
  --muted: #6d5b4f;
  --line: rgba(42,31,24,.15);
  --card: #efe6dd;
  --dark: #5a2f1a;
  --btn: #6a3a1f;
  --btn2:#4c2916;
  --max: 1120px;
  --pad: 18px;
}

*{ box-sizing:border-box; }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height:1.5;
}
.wrap{ max-width: var(--max); margin:0 auto; padding: 0 var(--pad); }

/* =========================
   TOPBAR (brand + slogan exact in midden)
   ========================= */

.topbar{
  background:#1a2230;
  color:#fff;
  font-size:13px;
}
.topbar__inner{
  display:grid;
  grid-template-columns: 1fr auto 1fr;
  align-items:center;
  padding: 10px var(--pad);
}
.topbar__brand{
  grid-column: 2;
  justify-self: center;
  display:flex;
  gap:10px;
  align-items:center;
  opacity:.95;
}
.topbar__brand span{
  font-family: "Times New Roman", Times, serif;
  letter-spacing: .3px;
}
.lang{
  grid-column: 3;
  justify-self: end;
}
.lang a{
  color:#fff;
  text-decoration:none;
  padding: 6px 10px;
  border-radius: 10px;
  opacity:.9;
}
.lang a[aria-current="page"]{ background: rgba(255,255,255,.14); opacity:1; }

.topbar-flag{
  width: 30px;
  height: auto;
  display: block;
}

/* =========================
   BRANDING BAR (onder topbar)
   ========================= */

.branding{
  background:#fff;
  border-bottom: 1px solid var(--line);
}
.branding__inner{
  display:flex;
  align-items:center;
  padding: 12px 0;
}
.branding__link{
  display:flex;
  align-items:center;
  text-decoration:none;
}
.branding__logo{
  height: auto;   /* pas aan: 38–50 */
  width: 250px;
  display:block;
  margin: 10px;
}
@media (max-width: 768px){

  .branding__logo{
    width: 180px;   /* kleiner op mobiel */
    margin: 10px;  /* netjes centreren */
  }
}

/* =========================
   HEADER / HERO
   ========================= */

.header{
  background: #f7f1ea;
  border-bottom: 1px solid var(--line);
}
.header h1{
  margin:0;
  padding: 22px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 44px;
  color:#3b2a21;
}

.hero{
  min-height: 210px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.15)),
    url("/assets/chesterfield-repair-craftsman-hero.webp") center / cover no-repeat;
  display:flex;
  align-items:flex-end;
}
.hero__inner{ width:100%; }
.hero__text{
  color:#fff;
  padding: 18px 0 24px;
  max-width: 760px;
  font-size: 18px;
  text-shadow: 0 1px 2px rgba(0,0,0,.35);
}

/* =========================
   MAIN LAYOUT
   ========================= */

.main{
  display:grid;
  grid-template-columns: 1fr 360px; /* desktop: links content, rechts formulier */
  gap: 26px;
  padding: 22px var(--pad);
}

.left h2{
  font-family: Georgia, "Times New Roman", serif;
  margin: 6px 0 12px;
  font-size: 24px;
  color:#3b2a21;
}

.repair-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.repair-card{
  background: transparent;
  padding: 10px 0;
  border-bottom: 1px solid rgba(42,31,24,.08);
}
.repair-card h3{
  margin:0 0 6px;
  font-size: 16px;
  color:#3b2a21;
}
.repair-card ul{
  margin:0;
  padding-left: 18px;
  color: var(--muted);
}
.repair-card li{ margin: 4px 0; }

.right .form-card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  position: sticky;
  top: 16px;
}
.form-card h2{
  margin: 6px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  color:#3b2a21;
}

.form{
  display:grid;
  gap: 10px;
}
label{ display:grid; gap: 6px; font-size: 13px; color:#3b2a21; }
input, select, textarea{
  width:100%;
  padding: 10px 10px;
  border-radius: 4px;
  border: 1px solid rgba(0,0,0,.18);
  background:#fff;
  font: inherit;
}
.check{
  display:flex;
  gap: 8px;
  align-items:flex-start;
  color: var(--muted);
}
.check input{ width:auto; margin-top: 2px; }
.hp{ display:none; }

.btn{
  border:0;
  border-radius: 6px;
  padding: 12px 14px;
  color:#fff;
  font-weight: 600;
  cursor:pointer;
  background: linear-gradient(180deg, var(--btn), var(--btn2));
}

/* =========================
   HOW
   ========================= */

.how{
  padding: 8px var(--pad) 36px;
}
.how__title{
  text-align:center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  margin: 8px 0 16px;
  color:#3b2a21;
}
.how__grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.how__box{
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 18px;
  min-height: 110px;
}
.how__box h3{
  margin:0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
}
.how__box ul{ margin:0; padding-left: 18px; }
.how__box--light{ background: #e9ded4; }
.how__box--dark{
  background: var(--dark);
  color:#fff;
  border-color: rgba(255,255,255,.12);
}
.how__box--dark h3{ color:#fff; }

/* =========================
   FOOTER
   ========================= */

.footer{
  border-top: 1px solid var(--line);
  padding: 18px 0;
  background: #f7f1ea;
}
.footer__inner{ color: var(--muted); }

.footer__grid{
  display:grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 24px;
}

.footer__col strong{
  display:block;
  margin-bottom:8px;
  font-family: Georgia, "Times New Roman", serif;
  color:#3b2a21;
}

.footer__col p{
  margin:0;
  color: var(--muted);
  font-size:14px;
}

.footer__col ul{
  list-style:none;
  margin:0;
  padding:0;
}

.footer__col li{
  margin-bottom:6px;
}

.footer__col a{
  color: var(--ink);
  text-decoration:none;
}
.footer__col a:hover{
  text-decoration:underline;
}

/* footer bottom: blok gecentreerd, tekst links in het blok */
.footer__bottom{
  margin-top:16px;
  padding-top:12px;
  border-top:1px solid var(--line);
  color: var(--muted);

  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

/* =========================
   VOORBEELDEN (2 HELFTEN PER SLIDE)
   ========================= */

.examples { padding: 10px var(--pad) 36px; }

.ba2{
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.ba2-slide{
  display:none;
  opacity:0;
  transform: translateY(6px);
}
.ba2-slide.is-active{
  display:block;
  opacity:1;
  transform: translateY(0);
  transition: opacity .35s ease, transform .35s ease;
}

.ba2-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 10px;
}

.ba2-half{
  margin:0;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow:hidden;
  background:#111;
  aspect-ratio: 430 / 482;
}

.ba2-half img{
  width:100%;
  height:100%;
  display:block;
  object-fit: contain;
}

.ba2-badge{
  position:absolute;
  top:10px;
  left:10px;
  z-index:2;
  background: rgba(0,0,0,.55);
  color:#fff;
  padding:6px 10px;
  font-size:12px;
  border-radius:999px;
}

.ba2-controls{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  margin-top:12px;
}

.ba2-btn{
  width:42px;
  height:38px;
  border-radius:10px;
  border:1px solid var(--line);
  background:#f7f1ea;
  cursor:pointer;
  font-size:22px;
  line-height:1;
}

.ba2-dots{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:center;
}
.ba2-dot{
  width:10px;
  height:10px;
  border-radius:50%;
  border: 1px solid rgba(0,0,0,.25);
  background: transparent;
  cursor:pointer;
  opacity:.75;
}
.ba2-dot.is-active{
  background: rgba(0,0,0,.6);
  opacity:1;
}

.success{
  max-width: var(--max);
  margin: 14px auto 0;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid rgba(40,130,60,.35);
  background: rgba(40,130,60,.10);
  color: #1f4d2b;
}

.intro{
  margin: 0 0 12px;
  color: var(--muted);
  max-width: 780px;
}

.note{
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: #f7f1ea;
  border-radius: 10px;
  color: #3b2a21;
}
.note em{ font-style: normal; text-decoration: underline; }

/* =========================
   FAQ PAGE
   ========================= */

.page{ padding: 22px var(--pad) 36px; }

.page h2{
  font-family: Georgia, "Times New Roman", serif;
  color:#3b2a21;
  margin: 10px 0 8px;
}

.page .lead{
  margin:0 0 16px;
  color: var(--muted);
  max-width: 820px;
}

.faq-grid{
  display:grid;
  grid-template-columns: 1fr 360px;
  gap: 26px;
  align-items:start;
}

.faq-list{
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

details.faq{
  border-bottom: 1px solid rgba(42,31,24,.10);
  padding: 12px 0;
}

details.faq summary{
  cursor:pointer;
  list-style:none;
  font-weight: 700;
  color:#3b2a21;
  position: relative;
  padding-right: 28px;
}

details.faq summary::-webkit-details-marker{ display:none; }

details.faq summary:after{
  content:"+";
  position:absolute;
  right:0;
  top:0;
  font-weight:900;
  opacity:.7;
}

details.faq[open] summary:after{ content:"–"; }

.faq-answer{
  margin-top: 8px;
  color: var(--muted);
  max-width: 780px;
}

.faq-answer ul{
  margin: 8px 0 0;
  padding-left: 18px;
}

.faq-answer li{ margin: 6px 0; }

.faq-aside .form-card{
  position: sticky;
  top: 16px;
}

.mini-note{
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}

/* =========================
   BLOG OVERVIEW
   ========================= */

.blog-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.blog-card{
  background: #f7f1ea;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
}

.blog-card h3{
  margin: 0 0 8px;
  font-size: 18px;
  color:#3b2a21;
}

.blog-card a{
  color:#3b2a21;
  text-decoration:none;
}

.blog-card a:hover{
  text-decoration: underline;
}

.blog-meta{
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--muted);
}

.blog-excerpt{
  margin: 0 0 12px;
  color: var(--muted);
}

.blog-more{
  font-weight: 700;
}

.blog-card--cta{
  background: var(--card);
}

/* =========================
   RESPONSIVE
   ========================= */

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

@media (max-width: 980px){
  .main{ grid-template-columns: 1fr; }
  .right .form-card{ position: static; }
  .repair-grid{ grid-template-columns: 1fr; }
  .how__grid{ grid-template-columns: 1fr; }
  .header h1{ font-size: 34px; }
  .ba2-grid{ grid-template-columns: 1fr; }

  .faq-grid{ grid-template-columns: 1fr; }
  .faq-aside .form-card{ position: static; }

  .blog-grid{ grid-template-columns: 1fr; }

  /* topbar op mobiel iets netter */
  .topbar__inner{ grid-template-columns: auto 1fr auto; }
  .topbar__brand{ grid-column: 2; }
}
/* =========================
   Interne links in content
   ========================= */

.repair-card a,
.left a {
  color: #3b2a21;              /* zelfde warme donkerbruine tint */
  text-decoration: none;
  border-bottom: 1px solid rgba(59,42,33,.25);  /* subtiele hint */
  transition: all .2s ease;
}

.repair-card a:hover,
.left a:hover {
  border-bottom-color: rgba(59,42,33,.7);
  color: #2a1f18;
}

.repair-card a:active,
.left a:active {
  opacity: .7;
}


.preview-container {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.preview-item {
  position: relative;
  width: 90px;
  height: 90px;
}

.preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #ddd;
}

.remove-btn {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  cursor: pointer;
  font-size: 14px;
  line-height: 20px;
}

