/* Gemeentepagina's (/levering/…) */
.town-cta-sm { text-decoration: none; padding: 10px 16px; }

/* Hero */
.town-hero { position: relative; overflow-x: clip; padding: 56px 0 48px; }
.town-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.town-hero h1 { font-size: clamp(2.3rem, 5.6vw, 4rem); font-weight: 800; line-height: 1.02; margin: 6px 0 0; }
.town-hero h1 .accent { color: var(--lime); display: block; }
.town-lead { color: var(--muted); font-size: clamp(1.02rem, 1.8vw, 1.15rem); line-height: 1.65; max-width: 58ch; margin: 18px 0 0; }
.town-lead strong { color: var(--text); }
.crumbs { font-size: .8rem; color: var(--muted); margin-bottom: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--lime); }
.crumbs b { color: var(--text); font-weight: 600; }
.town-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.town-cta .btn { text-decoration: none; }
.town-facts { list-style: none; padding: 0; margin: 28px 0 0; display: flex; gap: 10px; flex-wrap: wrap; }
.town-facts li { display: grid; gap: 2px; padding: 12px 16px; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--line); min-width: 120px; }
.town-facts b { font: 800 1rem var(--font-display); color: var(--lime); }
.town-facts span { font-size: .78rem; color: var(--muted); }

.town-stickers { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 360px; justify-self: end; }
.town-sticker { aspect-ratio: 1; background: #fff; border-radius: 26px; display: grid; place-items: center; padding: 18px; box-shadow: 0 20px 40px rgba(0,0,0,.35); }
.town-sticker img { max-width: 100%; max-height: 100%; object-fit: contain; }
.town-sticker:nth-child(1) { transform: rotate(-6deg); }
.town-sticker:nth-child(2) { transform: rotate(5deg) translateY(18px); }
.town-sticker:nth-child(3) { transform: rotate(4deg) translateY(-6px); }
.town-sticker:nth-child(4) { transform: rotate(-5deg) translateY(12px); }

/* Tekst + vaste infokaart */
.town-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; margin-top: 24px; }
.town-article { display: grid; gap: 52px; }
.town-text { max-width: 70ch; }
.town-text h2 { font-size: clamp(1.35rem, 2.6vw, 1.8rem); line-height: 1.2; margin: 0 0 14px; }
.town-text h3 { font-size: 1.05rem; margin: 24px 0 6px; }
.town-text p { line-height: 1.75; color: rgba(255,255,255,.82); margin: 0 0 12px; }
.town-text strong { color: var(--text); }
.town-section a, .town-text a { color: var(--lime); }

.town-tip { display: flex; gap: 14px; align-items: flex-start; margin-top: 18px; padding: 16px 18px; border-radius: 16px; background: rgba(198,255,61,.08); border: 1px solid rgba(198,255,61,.25); }
.town-tip span { font-size: 1.3rem; line-height: 1.3; }
.town-tip p { margin: 0; }
.town-tip b { color: var(--lime); }

.town-examples { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 16px 0 18px; }
.town-examples div { display: grid; gap: 4px; padding: 14px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); }
.town-examples span { font-size: .8rem; color: var(--muted); }
.town-examples b { font-size: .95rem; }
.town-examples b.is-free { color: var(--lime); }

.town-villages { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.town-villages li { display: grid; gap: 3px; padding: 14px 16px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); }
.town-villages strong { font-size: .95rem; }
.town-villages span { font-size: .8rem; color: var(--lime); font-weight: 600; }
.town-villages small { font-size: .78rem; color: var(--muted); line-height: 1.45; }

.town-aside { position: sticky; top: 88px; }
.town-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: 22px; padding: 22px; display: grid; gap: 10px; }
.town-card hr { border: 0; border-top: 1px dashed var(--line); margin: 6px 0; width: 100%; }
.town-card__label { margin: 0; font: 800 .72rem var(--font-display); letter-spacing: .12em; text-transform: uppercase; color: var(--lime); }
.town-card__zone { margin: 4px 0 0; font-size: .8rem; color: var(--muted); }
.town-card__small { margin: 0; font-size: .78rem; color: var(--muted); text-align: center; }
.town-card .tiers { list-style: none; padding: 0; margin: 0; display: grid; }
.town-card .tiers li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.town-card .tiers li:last-child { border-bottom: 0; }
.town-card .tiers span { color: var(--muted); }
.town-card .is-free { color: var(--lime); }
.town-card .is-off { color: var(--muted); font-weight: 600; }
.town-card .btn { text-decoration: none; margin-top: 6px; }

/* Secties over volle breedte */
.town-section { margin-top: 72px; }
.town-section > h2 { font-size: clamp(1.35rem, 2.6vw, 1.8rem); margin: 0 0 6px; }
.town-section > p { margin: 8px 0 0; }
.town-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.town-head h2 { font-size: clamp(1.35rem, 2.6vw, 1.8rem); margin: 0; }
.town-head a { text-decoration: none; font-weight: 600; white-space: nowrap; }

.town-products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.town-product { background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; text-decoration: none; display: grid; transition: transform .15s, border-color .15s; }
.town-product:hover { transform: translateY(-3px); border-color: var(--lime); }
.town-product__img { background: #fff; display: grid; place-items: center; height: 140px; padding: 14px; }
.town-product__img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.town-product__name { padding: 12px 12px 0; font-size: .88rem; font-weight: 700; color: var(--text); }
.town-product__meta { padding: 2px 12px 12px; font-size: .78rem; color: var(--muted); }

.town-cats { list-style: none; padding: 0; margin: 20px 0 14px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.town-cats li { display: grid; gap: 4px; padding: 14px 16px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); font-size: .85rem; color: var(--muted); line-height: 1.5; }
.town-cats strong { color: var(--text); font-size: .9rem; }

.town-steps { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; counter-reset: st; }
.town-steps li { counter-increment: st; position: relative; padding: 52px 18px 18px; border-radius: 18px; background: var(--bg-2); border: 1px solid var(--line); }
.town-steps li::before { content: counter(st); position: absolute; top: 16px; left: 18px; width: 28px; height: 28px; border-radius: 50%; background: var(--lime); color: #0B0B1A; display: grid; place-items: center; font: 800 .85rem var(--font-display); }
.town-steps p { margin: 0; font-size: .9rem; line-height: 1.6; color: var(--muted); }
.town-steps strong { color: var(--text); display: block; margin-bottom: 4px; }

.town-section.faq { max-width: none; }
.town-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.town-links a { padding: 8px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); text-decoration: none; font-size: .88rem; font-weight: 600; color: var(--text); }
.town-links a:hover { border-color: var(--lime); color: var(--lime); }

/* Overzichtspagina /levering */
.town-hero--index { padding-bottom: 28px; }
.town-zones { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: start; }
.town-zones h2 { font-size: 1rem; margin: 0; }

.town-footer { margin-top: 90px; }

@media (max-width: 960px) {
  .town-layout { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .town-aside { position: static; }
  .town-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .town-zones { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .town-hero { padding: 32px 0 24px; }
  .town-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .town-stickers { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; max-width: none; justify-self: stretch; }
  .town-sticker:nth-child(n) { transform: none; }
  .town-sticker { border-radius: 16px; padding: 10px; }
  .town-cats { grid-template-columns: 1fr; }
  .town-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .town-section { margin-top: 56px; }
  .nav a[href="/levering"] { display: none; }
}
@media (max-width: 460px) {
  .town-steps { grid-template-columns: 1fr; }
  .town-facts li { min-width: 0; flex: 1; padding: 10px 12px; }
}
