/* ============================================================
   Benoit Gerüstbau – Lokale Landingpages (handcodiert)
   Ergänzt style.css; nutzt deren Design-Tokens (:root).
   Nur für geruestbau-*.html und einsatzgebiete.html geladen.
   ============================================================ */

/* ---- Lokaler Hero-Zusatz ---- */
.local-hero .crumbs { margin-bottom: .6rem; }
.local-hero .hero-sub {
  margin-top: .8rem; max-width: 62ch;
  font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--muted);
}
.local-hero .region-tag {
  display: inline-flex; align-items: center; gap: .45rem;
  margin-top: 1rem; padding: .4rem .85rem;
  background: var(--red-soft); color: var(--red-dark);
  border-radius: 999px; font-weight: 700; font-size: .82rem;
  letter-spacing: .02em;
}
.local-hero .region-tag svg { width: 16px; height: 16px; fill: currentColor; }

/* ---- Fakten-Box ---- */
.local-facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; margin: 1.6rem 0 .5rem;
}
.local-facts .fact {
  background: var(--bg); padding: 1.05rem 1.15rem;
  display: flex; gap: .8rem; align-items: flex-start;
}
.local-facts .fact svg { width: 22px; height: 22px; fill: var(--red); flex: none; margin-top: 2px; }
.local-facts .fact b { display: block; font-size: .78rem; text-transform: uppercase;
  letter-spacing: .04em; color: var(--muted); font-weight: 700; }
.local-facts .fact span { font-size: 1.02rem; font-weight: 700; color: var(--ink); line-height: 1.3; }

/* ---- Leistungs-Kacheln ---- */
.svc-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: 1.1rem; margin-top: 1.6rem;
}
.svc-card {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.4rem 1.35rem;
  box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.svc-card .svc-ico {
  width: 52px; height: 52px; border-radius: 12px;
  display: grid; place-items: center; background: var(--red-soft); margin-bottom: .9rem;
}
.svc-card .svc-ico svg { width: 28px; height: 28px; fill: var(--red); }
.svc-card h3 { font-size: 1.12rem; margin: 0 0 .4rem; }
.svc-card p { margin: 0; color: var(--muted); font-size: .96rem; line-height: 1.6; }

/* ---- FAQ ---- */
.faq-list { margin-top: 1.4rem; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.1rem .2rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-weight: 700; font-size: 1.05rem; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none; width: 22px; height: 22px;
  background: var(--red-soft); border-radius: 50%; position: relative;
  transition: transform .25s ease;
  -webkit-mask: none;
}
.faq-item summary .plus { flex: none; width: 22px; height: 22px; position: relative; }
.faq-item summary .plus::before,
.faq-item summary .plus::after {
  content: ""; position: absolute; background: var(--red); border-radius: 2px;
  top: 50%; left: 50%; transform: translate(-50%,-50%);
}
.faq-item summary .plus::before { width: 12px; height: 2px; }
.faq-item summary .plus::after  { width: 2px; height: 12px; transition: transform .25s ease; }
.faq-item[open] summary .plus::after { transform: translate(-50%,-50%) scaleY(0); }
.faq-item summary::after { display: none; } /* wir nutzen .plus */
.faq-item .faq-a { padding: 0 .2rem 1.15rem; color: var(--muted); line-height: 1.7; max-width: 74ch; }

/* ---- Nachbarorte / Chips ---- */
.nearby { margin-top: 1.2rem; }
.nearby-chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .9rem; }
.chip {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .5rem .95rem; border: 1px solid var(--line); border-radius: 999px;
  background: var(--bg); color: var(--ink); font-weight: 600; font-size: .92rem;
  text-decoration: none; transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.chip:hover { border-color: var(--red); color: var(--red-dark); background: var(--red-soft); }
.chip svg { width: 14px; height: 14px; fill: var(--red); }

/* ---- Lokaler CTA-Streifen ---- */
.local-cta {
  background: linear-gradient(135deg, var(--steel-900), var(--steel-700));
  color: #fff; border-radius: var(--radius); padding: 2.1rem 1.8rem;
  display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; align-items: center;
  justify-content: space-between; box-shadow: var(--shadow-lg);
}
.local-cta h2 { color: #fff; margin: 0 0 .35rem; font-size: clamp(1.3rem,2.4vw,1.7rem); }
.local-cta p { margin: 0; color: #e7e9ec; max-width: 54ch; }
.local-cta .btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }

/* ---- Einsatzgebiete-Hub ---- */
.geo-intro { max-width: 70ch; }
.geo-kreis { margin-top: 2.2rem; }
.geo-kreis h2 {
  font-size: 1.22rem; padding-bottom: .5rem; margin-bottom: .9rem;
  border-bottom: 2px solid var(--red); display: inline-block;
}
.geo-kreis .kreis-meta { color: var(--muted); font-size: .9rem; margin: -.4rem 0 1rem; }
.geo-cols {
  columns: 4 210px; column-gap: 1.6rem;
}
.geo-cols a {
  display: block; padding: .32rem 0; color: var(--ink); text-decoration: none;
  font-size: .96rem; break-inside: avoid; border-bottom: 1px solid transparent;
  transition: color .2s ease;
}
.geo-cols a:hover { color: var(--red-dark); }
.geo-cols a .km { color: var(--muted); font-size: .82rem; font-weight: 600; }

/* ---- Responsiv ---- */
@media (max-width: 640px) {
  .local-cta { flex-direction: column; align-items: flex-start; }
  .geo-cols { columns: 2 150px; }
}
@media (prefers-reduced-motion: reduce) {
  .svc-card { transition: none; }
}
