/* =========================================================
   SCHLÜSSELDIENST AHNATAL — page-specific styles
   Design concept: "Direkt zu Ihnen" — a route / road-sign /
   signpost identity. Ahnatal has just two Ortsteile
   (Heckershausen & Weimar), so the whole page is built
   around the idea of a fast, direct route to your door:
   a compass in the hero, a road-line process, road-sign
   price plates, and a literal signpost for the two Ortsteile.

   Flat, high-contrast, mostly shadow-free "signage" system —
   thick rules, sharp chevrons, edge-to-edge colour blocks —
   deliberately different from the card/shadow language used
   on other location pages.

   Loaded AFTER /css/global.css. This page does NOT load
   /maps/assets/style.css and does NOT redefine :root tokens.
   Only existing global.css custom properties are used, and
   only the two typefaces already declared there (Roboto,
   Open Sans) — no external fonts are imported.

   Scoping: everything is scoped under .ah-page, which wraps
   <main> only — header.php / footer.php are siblings of
   <main> and are never touched by this file.
   ========================================================= */

.ah-page * { box-sizing: border-box; }
.ah-page { background: var(--c-bg); }
.ah-page section { position: relative; }
.ah-section { padding: 5.5rem 0; }
.ah-section-alt { background: var(--c-bg-alt); }
.ah-wrap { max-width: var(--container, 1200px); margin: 0 auto; padding: 0 24px; position: relative; }

.ah-label {
  font-family: 'Open Sans', var(--font-body), sans-serif;
  font-weight: 600; font-size: .74rem;
  letter-spacing: .14em; text-transform: uppercase;
}

/* ---------- Section head ---------- */
.ah-head { max-width: 680px; margin: 0 auto 3rem; text-align: center; }
.ah-head.left { margin: 0 0 2.6rem; text-align: left; }
.ah-kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--primary-hover);
  margin-bottom: 1rem;
}
.ah-kicker::before {
  content: ""; display: inline-block; width: 22px; height: 3px; background: var(--primary);
}
.ah-head h2 { font-size: 2rem; line-height: 1.2; margin: 0 0 .8rem; color: var(--c-text); font-weight: 900; }
.ah-head p { color: var(--c-text-soft); font-size: 1.02rem; line-height: 1.65; margin: 0; }

/* =========================================================
   BUTTONS — chevron / arrow-cut shape (signature shape)
   ========================================================= */
.ah-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-weight: 700; font-size: .95rem;
  padding: 1rem 2rem 1rem 1.6rem;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%);
}
.ah-btn i { font-size: 1.05em; }
.ah-btn-primary { background: var(--primary); color: #fff; }
.ah-btn-primary:hover { background: var(--primary-hover); transform: translateX(3px); color: #fff; }
.ah-btn-dark { background: var(--dark); color: #fff; }
.ah-btn-dark:hover { background: var(--c-dark); transform: translateX(3px); color: #fff; }
.ah-btn-light { background: #fff; color: var(--c-text); }
.ah-btn-light:hover { transform: translateX(3px); }
.ah-btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); clip-path: none; padding: .95rem 1.7rem; }
.ah-btn-outline:hover { border-color: #fff; transform: translateX(3px); }
.ah-btn-outline-dark { background: transparent; color: var(--c-text); border-color: var(--c-border); clip-path: none; padding: .95rem 1.7rem; }
.ah-btn-outline-dark:hover { border-color: var(--primary); color: var(--primary-hover); transform: translateX(3px); }
.ah-btn-lg { padding: 1.15rem 2.3rem 1.15rem 1.8rem; font-size: 1.02rem; }

/* =========================================================
   HERO — dark panel + compass rose
   ========================================================= */
.ah-hero {
  background: linear-gradient(155deg, var(--c-dark) 0%, var(--c-dark-2) 100%);
  padding: 5rem 0 0;
  overflow: hidden;
}
.ah-hero-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; align-items: center; }
.ah-hero-eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  color: var(--primary);
  margin-bottom: 1.4rem;
}
.ah-hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-success); animation: ahPulse 2s ease-in-out infinite; }
@keyframes ahPulse { 0%,100%{ box-shadow:0 0 0 0 rgba(16,185,129,.55);} 50%{ box-shadow:0 0 0 7px rgba(16,185,129,0);} }
.ah-hero h1 {
  color: #fff; font-weight: 900;
  font-size: 3rem !important; line-height: 1.1;
  margin: 0 0 1.2rem;
}
.ah-hero h1 span { color: var(--primary); }
.ah-hero-lead { color: rgba(255,255,255,.82); font-size: 1.1rem; line-height: 1.65; max-width: 50ch; margin: 0 0 2rem; }
.ah-hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.6rem; }

.ah-compass { position: relative; width: 100%; max-width: 340px; margin: 0 auto; aspect-ratio: 1; }
.ah-compass svg { width: 100%; height: 100%; }
.ah-compass-label {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  text-align: center;
}
.ah-compass-label strong { display: block; color: #fff; font-weight: 900; font-size: 1.05rem; letter-spacing: .02em; }
.ah-compass-label span { display: block; color: var(--c-muted); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; margin-top: .2rem; }

/* ---------- Edge-to-edge distance strip ---------- */
.ah-strip { display: flex; margin-top: 3.4rem; }
.ah-strip > div {
  flex: 1; text-align: center; padding: 1.4rem 1rem;
  border-right: 1px solid rgba(255,255,255,.1);
}
.ah-strip > div:last-child { border-right: none; }
.ah-strip strong { display: block; color: #fff; font-weight: 900; font-size: 1.5rem; line-height: 1; margin-bottom: .35rem; }
.ah-strip span { color: var(--c-muted); font-size: .78rem; }
.ah-strip > div:nth-child(odd) strong { color: var(--primary); }

/* =========================================================
   INTRO — big watermark numeral + statement
   ========================================================= */
.ah-intro { display: grid; grid-template-columns: auto 1fr; gap: 3rem; align-items: center; }
.ah-intro-num {
  font-weight: 900; font-size: 9rem; line-height: 1;
  color: var(--c-bg-alt);
  -webkit-text-stroke: 2px var(--c-border);
  position: relative;
}
.ah-intro-num span {
  position: absolute; bottom: -.3rem; left: 0;
  font-size: 1rem; -webkit-text-stroke: 0; color: var(--primary-hover);
  font-weight: 700; white-space: nowrap;
}
.ah-intro-text { border-left: 4px solid var(--primary); padding-left: 2rem; }
.ah-intro-text p { font-size: 1.08rem; line-height: 1.75; color: var(--c-text-soft); margin: 0 0 1.1rem; }
.ah-intro-text p:last-child { margin-bottom: 0; }
.ah-intro-text strong { color: var(--c-text); }
.ah-breadcrumb { display: flex; align-items: center; gap: .5rem; font-size: .84rem; color: var(--c-text-soft); margin-bottom: 2rem; }
.ah-breadcrumb a { color: var(--c-text-soft); }
.ah-breadcrumb a:hover { color: var(--primary); }
.ah-breadcrumb i { font-size: .7rem; color: var(--c-muted); }
.ah-breadcrumb span { color: var(--c-text); font-weight: 700; }

/* =========================================================
   SERVICES — numbered poster list
   ========================================================= */
.ah-list { border-top: 3px solid var(--c-text); }
.ah-row {
  display: flex; align-items: center; gap: 1.6rem;
  padding: 1.7rem 0;
  border-bottom: 3px solid var(--c-text);
  transition: background .18s ease;
}
.ah-row:hover { background: var(--c-bg-alt); }
.ah-row-num {
  flex: 0 0 auto; width: 70px;
  font-weight: 900; font-size: 2.1rem; line-height: 1;
  color: var(--primary);
}
.ah-row-icon {
  flex: 0 0 auto; width: 46px; height: 46px;
  display: grid; place-items: center;
  background: var(--dark); color: #fff;
  font-size: 1.2rem;
}
.ah-row-body { flex: 1; min-width: 0; }
.ah-row-body h3 { margin: 0 0 .3rem; font-size: 1.12rem; font-weight: 900; color: var(--c-text); }
.ah-row-body p { margin: 0; font-size: .92rem; color: var(--c-text-soft); line-height: 1.55; }
.ah-row-price {
  flex: 0 0 auto; text-align: right;
  font-weight: 900; font-size: 1.15rem; color: var(--c-text);
  white-space: nowrap;
}
.ah-row-price small { display: block; font-weight: 600; font-size: .68rem; color: var(--c-muted); text-transform: uppercase; letter-spacing: .06em; }
.ah-row.is-highlight { background: var(--dark); border-color: var(--dark); }
.ah-row.is-highlight .ah-row-body h3, .ah-row.is-highlight .ah-row-price { color: #fff; }
.ah-row.is-highlight .ah-row-body p { color: var(--c-muted); }
.ah-row.is-highlight .ah-row-num { color: var(--primary); }
.ah-row.is-highlight .ah-row-icon { background: rgba(255,255,255,.1); }
.ah-row.is-highlight:hover { background: var(--c-dark-2); }

/* =========================================================
   PRICING — road-sign plates
   ========================================================= */
.ah-signs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.ah-sign {
  position: relative;
  background: var(--dark);
  border: 3px solid var(--primary);
  border-radius: 10px;
  padding: 1.4rem 1.3rem 1.2rem;
  color: #fff;
}
.ah-sign::before, .ah-sign::after,
.ah-sign .bolt-b1, .ah-sign .bolt-b2 {
  content: ""; position: absolute; width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,.45);
}
.ah-sign::before { top: 8px; left: 8px; }
.ah-sign::after { top: 8px; right: 8px; }
.ah-sign .bolt-b1 { bottom: 8px; left: 8px; }
.ah-sign .bolt-b2 { bottom: 8px; right: 8px; }
.ah-sign-label { font-family: 'Open Sans', sans-serif; font-weight: 600; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--c-muted); margin-bottom: .5rem; display: block; }
.ah-sign h3 { margin: 0 0 .6rem; font-size: 1rem; font-weight: 900; color: #fff; min-height: 2.4em; }
.ah-sign-price { font-weight: 900; font-size: 1.7rem; color: var(--primary); line-height: 1; }
.ah-sign-price sub { font-weight: 600; font-size: .62rem; color: var(--c-muted); text-transform: uppercase; letter-spacing: .06em; }
.ah-sign.is-wide { grid-column: span 3; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; background: var(--primary); border-color: var(--dark); }
.ah-sign.is-wide h3 { color: #fff; min-height: 0; }
.ah-sign.is-wide .ah-sign-price { color: #fff; }
.ah-sign.is-wide .ah-sign-label { color: rgba(255,255,255,.75); }

/* =========================================================
   PROCESS — road line with pins
   ========================================================= */
.ah-road { position: relative; padding-top: 2.4rem; }
.ah-road-line {
  position: absolute; top: 68px; left: 5%; right: 5%; height: 6px;
  background-image: repeating-linear-gradient(90deg, #fff 0 18px, transparent 18px 34px);
  background-color: var(--c-border);
  border-radius: 3px;
}
.ah-road-steps { display: flex; justify-content: space-between; position: relative; }
.ah-road-step { flex: 1; text-align: center; padding: 0 .6rem; }
.ah-pin {
  width: 40px; height: 40px;
  background: var(--primary);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  margin: 0 auto 1.6rem;
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
}
.ah-pin span { transform: rotate(45deg); color: #fff; font-weight: 900; font-size: .95rem; }
.ah-road-step h3 { margin: 0 0 .5rem; font-size: 1rem; font-weight: 900; color: var(--c-text); }
.ah-road-step p { margin: 0; font-size: .85rem; color: var(--c-text-soft); line-height: 1.55; }

/* =========================================================
   WHY US — edge-to-edge colour blocks
   ========================================================= */
.ah-blocks { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 3rem; }
.ah-block { padding: 2.2rem 1.2rem; text-align: center; }
.ah-block:nth-child(odd) { background: var(--primary); color: #fff; }
.ah-block:nth-child(even) { background: var(--dark); color: #fff; }
.ah-block strong { display: block; font-weight: 900; font-size: 2rem; line-height: 1; margin-bottom: .5rem; }
.ah-block span { font-size: .8rem; opacity: .85; }

.ah-benefits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--c-border); }
.ah-benefits li {
  display: flex; align-items: flex-start; gap: .9rem;
  padding: 1.3rem 0; border-bottom: 1px solid var(--c-border);
}
.ah-benefits li:nth-child(odd) { padding-right: 1.5rem; border-right: 1px solid var(--c-border); }
.ah-benefits i { color: var(--primary); font-size: 1.15rem; margin-top: .15rem; flex: 0 0 auto; }
.ah-benefits strong { display: block; color: var(--c-text); font-size: .95rem; margin-bottom: .2rem; }
.ah-benefits span.txt { font-size: .85rem; color: var(--c-text-soft); line-height: 1.5; }

/* =========================================================
   DISTRICTS — literal signpost + nearby towns
   ========================================================= */
.ah-districts { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; align-items: center; }
.ah-signpost { position: relative; height: 340px; display: flex; justify-content: center; }
.ah-signpost-pole {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 12px; height: 100%;
  background: var(--dark);
  border-radius: 3px 3px 0 0;
}
.ah-signpost-pole::after {
  content: ""; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%);
  width: 60px; height: 14px; background: var(--c-border); border-radius: 4px;
}
.ah-arm {
  position: absolute; left: 50%;
  min-width: 190px;
  padding: .8rem 1.2rem .8rem 1.4rem;
  color: #fff; font-weight: 800; font-size: .95rem;
  display: flex; align-items: center; justify-content: space-between; gap: .8rem;
}
.ah-arm span.dist { font-weight: 600; font-size: .74rem; opacity: .8; white-space: nowrap; }
.ah-arm.right {
  transform: translateX(0);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%);
}
.ah-arm.left {
  transform: translateX(-100%);
  clip-path: polygon(16px 0, 100% 0, 100% 100%, 16px 100%, 0 50%);
  flex-direction: row-reverse;
  text-align: right;
}
.ah-arm.arm-1 { top: 18px; background: var(--primary); }
.ah-arm.arm-2 { top: 92px; background: var(--dark); }
.ah-arm.arm-3 { top: 166px; background: var(--c-text-soft); font-size: .82rem; padding-top: .6rem; padding-bottom: .6rem; }

.ah-towns-label { margin: 0 0 1rem; }
.ah-towns { list-style: none; margin: 0; padding: 0; }
.ah-towns li {
  display: flex; align-items: center; justify-content: space-between;
  padding: .9rem 0; border-bottom: 2px solid var(--c-border);
  font-weight: 700; color: var(--c-text);
}
.ah-towns li span.km { font-weight: 600; color: var(--c-muted); font-size: .85rem; }
.ah-towns li:first-child { border-top: 2px solid var(--c-border); }

/* =========================================================
   MAP — flat signage-style frame
   ========================================================= */
.ah-map-wrap { display: grid; grid-template-columns: 1fr 320px; gap: 0; margin-top: 2.4rem; border: 3px solid var(--dark); border-radius: 12px; overflow: hidden; }
.ah-map-frame { position: relative; }
.ah-map-frame .bolt { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--dark); opacity: .3; z-index: 5; }
.ah-map-frame .bolt.tl { top: 10px; left: 10px; }
.ah-map-frame .bolt.tr { top: 10px; right: 10px; }
.ah-map-frame .bolt.bl { bottom: 10px; left: 10px; }
.ah-map-frame .bolt.br { bottom: 10px; right: 10px; }
.ah-leaflet-map { width: 100%; height: 430px; background: var(--c-bg-alt); }
.ah-map-card {
  background: var(--dark); color: #fff;
  padding: 1.9rem 1.6rem; display: flex; flex-direction: column; justify-content: center; gap: .3rem;
}
.ah-map-card i.bi-signpost-2-fill { color: var(--primary); font-size: 1.7rem; margin-bottom: .6rem; }
.ah-map-card strong { font-size: 1.05rem; font-weight: 900; }
.ah-map-card p { margin: .2rem 0 1.2rem; color: var(--c-muted); font-size: .88rem; line-height: 1.6; }
.ah-map-note {
  display: flex; align-items: flex-start; gap: .6rem;
  margin-top: 1.2rem; padding: .9rem 1.1rem;
  background: var(--c-bg-alt); border-left: 4px solid var(--primary);
  font-size: .85rem; color: var(--c-text-soft);
}
.ah-map-note i { color: var(--primary-hover); margin-top: .1rem; }

/* =========================================================
   FAQ — numbered rows (reuses poster-list language)
   ========================================================= */
.ah-faq-list { border-top: 3px solid var(--c-text); }
.ah-faq-item { border-bottom: 3px solid var(--c-text); }
.ah-faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 1.6rem;
  padding: 1.6rem 0;
}
.ah-faq-item summary::-webkit-details-marker { display: none; }
.ah-faq-num { flex: 0 0 auto; width: 56px; font-weight: 900; font-size: 1.7rem; color: var(--primary); }
.ah-faq-item summary span.q { flex: 1; font-weight: 800; font-size: 1.02rem; color: var(--c-text); }
.ah-faq-item summary i { flex: 0 0 auto; font-size: 1.3rem; color: var(--c-muted); transition: transform .2s ease; }
.ah-faq-item[open] summary i { transform: rotate(45deg); color: var(--primary); }
.ah-faq-item p { margin: 0; padding: 0 0 1.6rem 5.6rem; color: var(--c-text-soft); font-size: .95rem; line-height: 1.65; max-width: 60ch; }

/* =========================================================
   CTA BAND
   ========================================================= */
.ah-cta-band { background: var(--primary); padding: 3.8rem 0; }
.ah-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2.5rem; flex-wrap: wrap; }
.ah-cta-text h2 { color: #fff; font-weight: 900; font-size: 1.8rem; margin: 0 0 .5rem; }
.ah-cta-text p { color: rgba(255,255,255,.92); margin: 0; font-size: 1rem; }
.ah-cta-actions { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.ah-cta-badge {
  width: 74px; height: 74px; flex: 0 0 auto;
  background: var(--dark);
  transform: rotate(45deg);
  display: grid; place-items: center;
}
.ah-cta-badge i { transform: rotate(-45deg); color: #fff; font-size: 1.7rem; }

/* =========================================================
   CONTACT
   ========================================================= */
.ah-contact-list { border-top: 1px solid var(--c-border); margin-bottom: 2.2rem; }
.ah-contact-row {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.3rem 0; border-bottom: 1px solid var(--c-border);
  border-left: 4px solid var(--primary); padding-left: 1.2rem;
}
.ah-contact-row i { color: var(--primary-hover); font-size: 1.2rem; margin-top: .1rem; flex: 0 0 auto; width: 24px; }
.ah-contact-row strong { display: block; font-size: .88rem; color: var(--c-text); margin-bottom: .2rem; }
.ah-contact-row a, .ah-contact-row span.txt { color: var(--c-text-soft); font-size: .92rem; line-height: 1.5; }
.ah-contact-row a:hover { color: var(--primary); }
.ah-contact-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.ah-payments { display: flex; align-items: center; justify-content: center; gap: 1rem; color: var(--c-text-soft); font-size: .88rem; }
.ah-payments i { font-size: 1.2rem; color: var(--c-muted); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .ah-hero-inner { grid-template-columns: 1fr; text-align: center; }
  .ah-hero-lead { margin-left: auto; margin-right: auto; }
  .ah-hero-ctas { justify-content: center; }
  .ah-compass { margin-top: 1rem; }
  .ah-strip { flex-wrap: wrap; }
  .ah-strip > div { flex: 1 1 50%; border-bottom: 1px solid rgba(255,255,255,.1); }
  .ah-intro { grid-template-columns: 1fr; }
  .ah-intro-num { font-size: 6rem; }
  .ah-intro-text { border-left: none; border-top: 4px solid var(--primary); padding-left: 0; padding-top: 1.6rem; }
  .ah-signs { grid-template-columns: repeat(2, 1fr); }
  .ah-sign.is-wide { grid-column: span 2; }
  .ah-blocks { grid-template-columns: repeat(2, 1fr); }
  .ah-benefits { grid-template-columns: 1fr; }
  .ah-benefits li:nth-child(odd) { border-right: none; padding-right: 0; }
  .ah-districts { grid-template-columns: 1fr; }
  .ah-signpost { margin-bottom: 1rem; }
  .ah-map-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .ah-section { padding: 3.6rem 0; }
  .ah-hero h1 { font-size: 2.1rem !important; }
  .ah-row { flex-wrap: wrap; }
  .ah-row-price { margin-left: auto; }
  .ah-signs { grid-template-columns: 1fr; }
  .ah-sign.is-wide { grid-column: span 1; flex-direction: column; align-items: flex-start; }
  .ah-road-steps { flex-direction: column; gap: 1.8rem; }
  .ah-road-line { display: none; }
  .ah-road-step { display: flex; align-items: center; gap: 1.2rem; text-align: left; }
  .ah-pin { margin: 0; flex: 0 0 auto; }
  .ah-blocks { grid-template-columns: 1fr 1fr; }
  .ah-arm { min-width: 150px; font-size: .85rem; }
  .ah-cta-inner { flex-direction: column; text-align: center; }
  .ah-faq-item p { padding-left: 0; }
}

@media (max-width: 560px) {
  .ah-head h2 { font-size: 1.5rem; }
  .ah-intro-num { font-size: 4.2rem; }
  .ah-signpost { height: 300px; }
  .ah-arm { min-width: 130px; font-size: .78rem; padding: .6rem .9rem; }
}
