/* =========================
   Design tokens
   ========================= */
:root{
  --bg:#F6F8FC;
  --surface:#FFFFFF;
  --text:#0F172A;
  --muted:#475569;
  --border:#E2E8F0;

  --primary:#1A73E8;
  --primary-hover:#1557C0;
  --success:#16A34A;
  --danger:#E11D48;

  --radius:18px;
  --radius-lg:24px;

  --shadow:0 18px 40px rgba(15,23,42,.10);
  --shadow-soft:0 10px 24px rgba(15,23,42,.08);
}

/* =========================
   Base reset
   ========================= */
*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  line-height:1.55;
}

/* =========================
   Full-width section system
   ========================= */
.section{
  width:100vw;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
  padding:32px 0;
}

.section-inner{
  max-width:1040px;
  margin:0 auto;
  padding:0 16px;
}

/* Variants */
.section--gradient{
  background:
    radial-gradient(900px 420px at 15% 0%, rgba(26,115,232,.18), transparent 60%),
    radial-gradient(900px 420px at 90% 0%, rgba(22,163,74,.14), transparent 62%),
    #fff;
}

.section--soft{
  background:var(--bg);
  border-top:1px solid rgba(226,232,240,.9);
  border-bottom:1px solid rgba(226,232,240,.9);
}

.section--white{
  background:#fff;
}

/* =========================
   Cards
   ========================= */
.card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-soft);
  padding:22px;
}

.card + .card{margin-top:24px}

.card-head{margin-bottom:14px}
.card-head h2{
  margin:0 0 6px;
  letter-spacing:-.01em;
}
.sub{
  margin:0;
  color:var(--muted);
  font-size:14px;
}

/* =========================
   Hero
   ========================= */
.hero{border-radius:var(--radius-lg)}
.hero-inner{text-align:center}

.hero-top{
  display:flex;
  justify-content:center;
  gap:8px;
  flex-wrap:wrap;
  margin-bottom:10px;
}

.badge{
  display:inline-flex;
  padding:7px 12px;
  border-radius:999px;
  background:rgba(26,115,232,.12);
  border:1px solid rgba(26,115,232,.18);
  font-size:13px;
  font-weight:700;
}

.badge-muted{
  background:rgba(71,85,105,.10);
  border-color:rgba(71,85,105,.18);
  color:var(--muted);
}

h1{
  margin:8px 0;
  font-size:36px;
  letter-spacing:-.02em;
}

.lead{
  max-width:760px;
  margin:0 auto;
  color:var(--muted);
  font-size:18px;
}

.hero-actions{
  display:flex;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
  margin-top:16px;
}

.trust{
  display:flex;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
  margin-top:16px;
}

.trust-item{
  padding:8px 12px;
  border-radius:999px;
  background:#F7FAFF;
  border:1px solid var(--border);
  font-size:13px;
  font-weight:600;
  color:var(--muted);
}

/* =========================
   Forms & grid
   ========================= */
.grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}

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

.field label{
  display:block;
  font-weight:700;
  margin-bottom:6px;
}

input,select{
  width:100%;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid var(--border);
  font-size:16px;
}

input:focus,select:focus{
  outline:none;
  border-color:rgba(26,115,232,.6);
  box-shadow:0 0 0 4px rgba(26,115,232,.18);
}

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

/* =========================
   Map
   ========================= */
.map-wrap{grid-column:1/-1}

#map{
  height:340px;
  border-radius:18px;
  border:1px solid var(--border);
  overflow:hidden;
}

/* =========================
   Stops
   ========================= */
.stops{
  grid-column:1/-1;
  padding:14px;
  border-radius:18px;
  background:#F8FAFF;
  border:1px dashed rgba(71,85,105,.25);
}

.stops-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  margin-bottom:10px;
}

.stop-row{
  display:flex;
  gap:10px;
  margin-top:8px;
}

/* =========================
   Buttons
   ========================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:11px 14px;
  border-radius:14px;
  border:1px solid transparent;
  font-weight:800;
  cursor:pointer;
  text-decoration:none;
}

.btn-primary{
  background:var(--primary);
  color:#fff;
}
.btn-primary:hover{background:var(--primary-hover)}

.btn-ghost{
  background:#fff;
  border-color:rgba(15,23,42,.15);
  color:var(--text);
}

.btn-pill{
  background:#0A1A3A;
  color:#fff;
  border-radius:999px;
}

.btn-danger{
  background:rgba(225,29,72,.12);
  border-color:rgba(225,29,72,.22);
  color:var(--danger);
}

/* =========================
   Result
   ========================= */
.result{
  margin-top:18px;
  padding:18px;
  border-radius:18px;
  border:1px solid rgba(22,163,74,.22);
  background:linear-gradient(180deg, rgba(22,163,74,.12), rgba(22,163,74,0));
}

.price{
  font-size:38px;
  font-weight:900;
  color:var(--success);
}

/* =========================
   Partners
   ========================= */
.partner-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
}

@media(max-width:760px){
  .partner-grid{grid-template-columns:1fr}
}

.partner-card{
  border:1px solid var(--border);
  border-radius:20px;
  background:#fff;
  padding:16px;
  position:relative;
}

.partner-card::before{
  content:"";
  position:absolute;
  top:0;left:0;right:0;
  height:6px;
  border-radius:20px 20px 0 0;
  background:var(--accent);
}

.partner-card.tilburg{--accent:#2B7DE9}
.partner-card.centrale{--accent:#42A54A}
.partner-card.city{--accent:#FF8A00}
.partner-card.ice{--accent:#6B57FF}

/* =========================
   Footer
   ========================= */
.footer{
  text-align:center;
  font-size:14px;
  color:var(--muted);
}

.powered{
  margin-top:6px;
  font-size:13px;
}

.powered a{
  color:var(--primary);
  font-weight:800;
  text-decoration:none;
}

.footer-links{
  margin-top:8px;
}

.footer-links a{
  color:var(--muted);
  text-decoration:none;
}

/* =========================
   Mobile polish
   ========================= */
@media(max-width:760px){
  h1{font-size:28px}
  .lead{font-size:15px}
  .section{padding:20px 0}
  .section-inner{padding:0 12px}
}

/* =========================
   Calculator – visueel één geheel
   ========================= */

/* Zorg dat de kaart niet “zweeft” */
.card #map{
  margin-top:16px;
  border-radius:16px;
}

/* Extra rust rond calculator */
.section--soft .card{
  background:#FFFFFF;
}

/* Mobiel: kaart iets minder hoog */
@media (max-width: 760px){
  #map{
    height:260px;
  }
}
/* =========================
   Calculator polish (band + kaart)
   ========================= */

/* Zorg dat de soft band altijd zichtbaar en egaal is over 100% breedte */
.section--soft{
  background: var(--bg);
}

/* Calculator card iets strakker en rustiger */
#calc .card{
  padding: 22px;
  border-radius: 24px;
}

/* Nettere spacing in de calculator */
#calc .card-head{
  margin-bottom: 14px;
}
#calc .card-head h2{
  margin: 0 0 6px;
}

/* Map voelt nu “ingebouwd” in de card */
#calc #map{
  margin-top: 14px;
  border-radius: 18px;
  overflow: hidden;
}

/* Inputs: mooiere afgeronde hoeken */
#calc input,
#calc select{
  border-radius: 14px;
}

/* Mobiel: minder hoog + betere padding */
@media (max-width: 760px){
  #calc .card{
    padding: 16px;
    border-radius: 20px;
  }

  #calc #map{
    height: 260px;
    border-radius: 16px;
  }
}

