/* ============================================================================
   HZ Frontend v10 — Stadt-Hub / Spoke / Wissen Design-System
   Phase 11 redesign. Class-based (no inline styles). Decorates post_content
   that is produced by the fixed markdown converter (h2/h3/p/table/h4/[hz_map]).
   Brand: deep navy #0b2e5b + bright blue #2e90fa, trust-driven, NRW-weit.
   ============================================================================ */

:root {
  /* Brand palette. Primary #0b2e5b is the non-negotiable brand anchor (hero,
     CTAs, section accents). It is extended by darker shades ONLY for page-anatomy
     hierarchy — industry standard for B2B trust sites (header light -> body
     normal -> footer darker). The footer uses --hz-primary-900 as a named
     semantic token (not a magic number); this respects "Primary unverhandelbar".
     F12: documented as intentional, not changed. */
  --hz-primary: #0b2e5b;       /* brand anchor */
  --hz-primary-700: #0a264a;   /* mid shade */
  --hz-primary-900: #061a33;   /* darkest shade — footer / page-base section */
  --hz-accent: #2e90fa;
  --hz-accent-600: #1a78dd;
  --hz-success: #25d366;
  --hz-text: #1f2a37;
  --hz-text-light: #5b6776;
  --hz-bg: #ffffff;
  --hz-bg-light: #f5f8fc;
  --hz-bg-tint: #eef4fb;
  --hz-border: #e2e8f0;
  --hz-radius: 12px;
  --hz-radius-sm: 8px;
  --hz-shadow-sm: 0 1px 2px rgba(11, 46, 91, .06), 0 2px 8px rgba(11, 46, 91, .05);
  --hz-shadow-md: 0 4px 14px rgba(11, 46, 91, .08), 0 10px 30px rgba(11, 46, 91, .07);
  --hz-maxw: 1140px;
  --hz-font: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ---- Content shell: give the raw body a readable measure + rhythm -------- */
.hz-city-page .entry-content,
.hz-hub-body {
  font-family: var(--hz-font);
  color: var(--hz-text);
  font-size: 1.0625rem;
  line-height: 1.72;
}
.hz-hub-body { max-width: var(--hz-maxw); margin: 0 auto; padding: 0 30px; }

.hz-hub-body h2 {
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2rem);
  color: var(--hz-primary);
  line-height: 1.2;
  margin: 2.6em 0 .6em;
  letter-spacing: -.01em;
  position: relative;
  padding-top: .7em;
}
.hz-hub-body h2::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 52px; height: 4px; border-radius: 3px;
  background: linear-gradient(90deg, var(--hz-accent), var(--hz-primary));
}
.hz-hub-body h3 {
  font-size: 1.3rem; color: var(--hz-primary-700);
  margin: 1.8em 0 .5em; letter-spacing: -.005em;
}
.hz-hub-body p { margin: 0 0 1.1em; }
.hz-hub-body a { color: var(--hz-accent-600); text-underline-offset: 3px; }
.hz-hub-body a:hover { color: var(--hz-primary); }

/* ---- Hero title bar (extends existing .hz-city-title-bar) ---------------- */
.hz-city-title-bar {
  background:
    radial-gradient(1200px 320px at 18% -40%, rgba(46,144,250,.30), transparent 60%),
    linear-gradient(180deg, var(--hz-primary) 0%, var(--hz-primary-900) 100%);
  padding: 56px 0 60px;
  width: 100vw; margin-left: calc(-50vw + 50%);
  box-sizing: border-box; position: relative; overflow: hidden;
}
.hz-city-title-bar::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 22px 22px; opacity: .5; pointer-events: none;
}
.hz-city-title-bar-inner { max-width: var(--hz-maxw); margin: 0 auto; padding: 0 30px; position: relative; }
.hz-title-bar-h1 {
  font-family: var(--hz-font); color: #fff;
  font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3rem);
  line-height: 1.08; font-weight: 700; letter-spacing: -.02em; margin: 0 0 14px;
}
.hz-breadcrumb { font-size: .95rem; color: #9fb6d4; }
.hz-breadcrumb a { color: #9fb6d4; text-decoration: none; }
.hz-breadcrumb a:hover { color: #fff; }

/* ---- Trust bar: festpreis / versichert / besichtigung -------------------- */
.hz-trust-bar {
  max-width: var(--hz-maxw); margin: -28px auto 0; padding: 0 30px; position: relative; z-index: 3;
}
.hz-trust-bar__inner {
  background: #fff; border: 1px solid var(--hz-border); border-radius: var(--hz-radius);
  box-shadow: var(--hz-shadow-md); display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; overflow: hidden;
}
.hz-trust-item {
  display: flex; align-items: center; gap: 12px; padding: 18px 20px;
  border-right: 1px solid var(--hz-border); font-size: .95rem; font-weight: 600; color: var(--hz-primary);
}
.hz-trust-item:last-child { border-right: 0; }
.hz-trust-item svg { flex: 0 0 24px; width: 24px; height: 24px; color: var(--hz-accent); }
.hz-trust-item span small { display: block; font-weight: 500; color: var(--hz-text-light); font-size: .8rem; }

/* ---- Stats band ---------------------------------------------------------- */
.hz-stats {
  background: var(--hz-bg-tint); width: 100vw; margin-left: calc(-50vw + 50%);
  padding: 40px 0; margin-top: 56px;
}
.hz-stats__grid {
  max-width: var(--hz-maxw); margin: 0 auto; padding: 0 30px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center;
}
.hz-stat__num { font-size: 2.4rem; font-weight: 800; color: var(--hz-primary); letter-spacing: -.02em; line-height: 1; }
.hz-stat__num span { color: var(--hz-accent); }
.hz-stat__label { font-size: .9rem; color: var(--hz-text-light); margin-top: 8px; }

/* ---- USP cards ----------------------------------------------------------- */
.hz-usp { max-width: var(--hz-maxw); margin: 56px auto; padding: 0 30px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hz-usp__card {
  background: #fff; border: 1px solid var(--hz-border); border-radius: var(--hz-radius);
  padding: 26px; box-shadow: var(--hz-shadow-sm); transition: transform .18s ease, box-shadow .18s ease;
}
.hz-usp__card:hover { transform: translateY(-3px); box-shadow: var(--hz-shadow-md); }
.hz-usp__icon { width: 46px; height: 46px; border-radius: 11px; display: grid; place-items: center; background: var(--hz-bg-tint); color: var(--hz-accent); margin-bottom: 14px; }
.hz-usp__icon svg { width: 24px; height: 24px; }
.hz-usp__card h3 { margin: 0 0 6px; font-size: 1.15rem; color: var(--hz-primary); }
.hz-usp__card p { margin: 0; color: var(--hz-text-light); font-size: .95rem; line-height: 1.6; }

/* ---- Tables from markdown (.hz-table or plain table in body) ------------- */
.hz-hub-body table { border-collapse: collapse; width: 100%; margin: 1.4em 0; font-size: .96rem; box-shadow: var(--hz-shadow-sm); border-radius: var(--hz-radius-sm); overflow: hidden; }
.hz-hub-body thead th { background: var(--hz-primary); color: #fff; text-align: left; padding: 12px 16px; font-weight: 600; }
.hz-hub-body tbody td { padding: 11px 16px; border-top: 1px solid var(--hz-border); }
.hz-hub-body tbody tr:nth-child(even) { background: var(--hz-bg-light); }

/* Table wrapper: horizontal scroll so wide tables never squish (mobile/callout) */
.hz-tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1.4em 0; max-width: 100%;
  border: 1px solid var(--hz-border); border-radius: var(--hz-radius-sm); }
/* prevent grid/flex content tracks from refusing to shrink (min-width:auto) -> no page-level horizontal scroll */
.hz-hub-body, .hz-wiki, .hz-wiki__body, .hz-callout { min-width: 0; }
.hz-wiki__body { overflow-wrap: anywhere; }
.hz-tablewrap table.hz-table { margin: 0; box-shadow: none; border-radius: 0; min-width: 540px; }
.hz-tablewrap { position: relative; }
table.hz-table thead th { background: var(--hz-primary); color: #fff; text-align: left; padding: 13px 18px; font-weight: 600; white-space: nowrap; }
table.hz-table tbody td { padding: 12px 18px; border-top: 1px solid var(--hz-border); vertical-align: top; }
table.hz-table tbody tr:nth-child(even) { background: var(--hz-bg-light); }
table.hz-table tbody tr:hover { background: var(--hz-bg-tint); }
/* tables inside callouts: cancel the callout's left icon-padding so they use full width */
.hz-callout .hz-tablewrap { margin-left: -38px; }
@media (max-width: 600px) {
  table.hz-table thead th, table.hz-table tbody td { padding: 10px 12px; font-size: .92rem; }
  .hz-callout .hz-tablewrap { margin-left: 0; }
}

/* ---- FAQ accordion (built from h4 + following p) ------------------------- */
.hz-faq { max-width: 860px; margin: 1.4em auto; }
.hz-faq__item { border: 1px solid var(--hz-border); border-radius: var(--hz-radius-sm); margin-bottom: 12px; background: #fff; overflow: hidden; }
.hz-faq__q {
  margin: 0; width: 100%; text-align: left; cursor: pointer; border: 0; background: none;
  font-family: var(--hz-font); font-size: 1.08rem; font-weight: 600; color: var(--hz-primary);
  padding: 18px 52px 18px 20px; position: relative;
}
.hz-faq__q::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 11px; height: 11px;
  border-right: 2px solid var(--hz-accent); border-bottom: 2px solid var(--hz-accent);
  transform: translateY(-65%) rotate(45deg); transition: transform .2s ease;
}
.hz-faq__item[open] .hz-faq__q::after { transform: translateY(-35%) rotate(225deg); }
.hz-faq__a { padding: 0 20px 18px; color: var(--hz-text-light); line-height: 1.7; }

/* ---- Map embed (rendered by [hz_map] shortcode) -------------------------- */
.hz-map { margin: 1.6em 0; border-radius: var(--hz-radius); overflow: hidden; border: 1px solid var(--hz-border); box-shadow: var(--hz-shadow-sm); }
.hz-map iframe { display: block; width: 100%; height: 360px; border: 0; }

/* ---- CTA block ----------------------------------------------------------- */
.hz-cta { width: 100vw; margin-left: calc(-50vw + 50%); margin-top: 64px;
  background: radial-gradient(900px 300px at 80% -30%, rgba(46,144,250,.35), transparent 60%), linear-gradient(180deg, var(--hz-primary), var(--hz-primary-900)); padding: 52px 0; }
.hz-cta__inner { max-width: var(--hz-maxw); margin: 0 auto; padding: 0 30px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.hz-cta__text h2 { color: #fff; margin: 0 0 6px; font-size: 1.7rem; }
.hz-cta__text h2::before { display: none; }
.hz-cta__text p { color: #b9cce6; margin: 0; }
.hz-cta__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hz-btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 10px; font-weight: 700; text-decoration: none; font-size: 1.05rem; transition: transform .15s ease, box-shadow .15s ease; }
.hz-btn--phone { background: var(--hz-success); color: #04331a; box-shadow: 0 8px 22px rgba(37,211,102,.3); }
.hz-btn--quote { background: #fff; color: var(--hz-primary); }
.hz-btn:hover { transform: translateY(-2px); }
.hz-btn svg { width: 18px; height: 18px; flex: 0 0 auto; }

/* ---- Internal-link cards (extends existing .hz-internal-links) ----------- */
.hz-internal-links h2 { position: relative; }

/* ---- Responsive ---------------------------------------------------------- */
@media (max-width: 900px) {
  .hz-trust-bar__inner { grid-template-columns: repeat(2, 1fr); }
  .hz-trust-item:nth-child(2) { border-right: 0; }
  .hz-stats__grid { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .hz-usp { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .hz-city-title-bar { padding: 36px 0 40px; }
  .hz-hub-body, .hz-trust-bar, .hz-cta__inner, .hz-stats__grid, .hz-usp { padding-left: 18px; padding-right: 18px; }
  .hz-cta__inner { flex-direction: column; align-items: flex-start; }
  .hz-btn { width: 100%; justify-content: center; }
}
@media (max-width: 480px) {
  .hz-trust-bar__inner { grid-template-columns: 1fr; }
  .hz-trust-item { border-right: 0; border-bottom: 1px solid var(--hz-border); }
  .hz-stats__grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================================
   v2 ADDITIONS — split hero, service cards w/ images, process steps,
   local map, reviews, before/after, sticky mobile CTA, scroll-reveal.
   ============================================================================ */

/* ---- Split hero: navy text panel + offset image card ---------------------- */
.hz-hero {
  background:
    radial-gradient(900px 360px at 12% -30%, rgba(46,144,250,.30), transparent 60%),
    linear-gradient(160deg, var(--hz-primary) 0%, var(--hz-primary-900) 100%);
  width: 100vw; margin-left: calc(-50vw + 50%); position: relative; overflow: hidden;
  padding: 64px 0 72px;
}
.hz-hero::after { content:""; position:absolute; inset:0; pointer-events:none;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px); background-size: 24px 24px; opacity:.45; }
.hz-hero__grid { max-width: var(--hz-maxw); margin:0 auto; padding:0 30px; position:relative; z-index:2;
  display:grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items:center; }
.hz-hero__eyebrow { display:inline-flex; align-items:center; gap:8px; color:#9fc2f0; font-weight:600;
  font-size:.86rem; letter-spacing:.08em; text-transform:uppercase; margin-bottom:16px; }
.hz-hero__eyebrow::before { content:""; width:26px; height:2px; background:var(--hz-accent); }
.hz-hero h1 { color:#fff; font-size: clamp(2rem, 1.3rem + 2.8vw, 3.2rem); line-height:1.05;
  font-weight:800; letter-spacing:-.02em; margin:0 0 18px; }
.hz-hero h1 em { font-style:normal; color:var(--hz-accent); }
.hz-hero__sub { color:#c2d4ec; font-size:1.12rem; line-height:1.6; margin:0 0 26px; max-width:34em; }
.hz-hero__ctas { display:flex; gap:14px; flex-wrap:wrap; margin-bottom:22px; }
.hz-hero__usps { display:flex; gap:22px; flex-wrap:wrap; color:#aebfd6; font-size:.92rem; }
.hz-hero__usps span { display:inline-flex; align-items:center; gap:7px; }
.hz-hero__usps svg { width:16px; height:16px; color:var(--hz-success); }
.hz-hero__media { position:relative; }
.hz-hero__media img { width:100%; height:380px; object-fit:cover; border-radius:16px;
  box-shadow:0 24px 60px rgba(0,0,0,.4); }
.hz-hero__badge { position:absolute; left:-22px; bottom:24px; background:#fff; border-radius:14px;
  padding:16px 20px; box-shadow:var(--hz-shadow-md); display:flex; align-items:center; gap:12px; }
.hz-hero__badge b { font-size:1.5rem; color:var(--hz-primary); display:block; line-height:1; }
.hz-hero__badge small { color:var(--hz-text-light); font-size:.8rem; }

/* ---- Section heading helper ---------------------------------------------- */
.hz-sec { max-width: var(--hz-maxw); margin: 64px auto; padding: 0 30px; }
.hz-sec__head { text-align:center; max-width:42em; margin:0 auto 36px; }
.hz-sec__head h2 { color:var(--hz-primary); font-size:clamp(1.5rem,1.1rem+1.4vw,2.1rem); margin:0 0 10px; letter-spacing:-.01em; }
.hz-sec__head p { color:var(--hz-text-light); margin:0; font-size:1.05rem; }

/* ---- Service cards with real images -------------------------------------- */
.hz-svc-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.hz-svc-card { display:block; text-decoration:none; border-radius:var(--hz-radius); overflow:hidden;
  border:1px solid var(--hz-border); background:#fff; box-shadow:var(--hz-shadow-sm);
  transition:transform .18s ease, box-shadow .18s ease; }
.hz-svc-card:hover { transform:translateY(-4px); box-shadow:var(--hz-shadow-md); }
.hz-svc-card__img { position:relative; aspect-ratio:16/10; overflow:hidden; }
.hz-svc-card__img img { width:100%; height:100%; object-fit:cover; transition:transform .4s ease; }
.hz-svc-card:hover .hz-svc-card__img img { transform:scale(1.05); }
.hz-svc-card__body { padding:16px 18px; display:flex; align-items:center; justify-content:space-between; gap:10px; }
.hz-svc-card__body h3 { margin:0; font-size:1.05rem; color:var(--hz-primary); }
.hz-svc-card__arrow { color:var(--hz-accent); font-weight:700; transition:transform .18s ease; }
.hz-svc-card:hover .hz-svc-card__arrow { transform:translateX(4px); }

/* ---- Process steps -------------------------------------------------------- */
.hz-steps { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; counter-reset:step; }
.hz-step { background:#fff; border:1px solid var(--hz-border); border-radius:var(--hz-radius); padding:24px 20px; position:relative; }
.hz-step::before { counter-increment:step; content:counter(step); position:absolute; top:-16px; left:20px;
  width:36px; height:36px; border-radius:50%; background:var(--hz-primary); color:#fff; display:grid; place-items:center; font-weight:700; box-shadow:var(--hz-shadow-sm); }
.hz-step h3 { margin:14px 0 6px; font-size:1.05rem; color:var(--hz-primary); }
.hz-step p { margin:0; font-size:.92rem; color:var(--hz-text-light); line-height:1.6; }

/* ---- Local map + district pins ------------------------------------------- */
.hz-localmap { display:grid; grid-template-columns:1.1fr .9fr; gap:28px; align-items:stretch; }
.hz-localmap .hz-map { margin:0; height:100%; }
.hz-localmap .hz-map iframe { height:100%; min-height:340px; }
.hz-districts { display:flex; flex-wrap:wrap; gap:10px; align-content:flex-start; }
.hz-districts__pin { display:inline-flex; align-items:center; gap:7px; background:var(--hz-bg-tint);
  color:var(--hz-primary); border:1px solid var(--hz-border); border-radius:999px; padding:8px 14px; font-size:.92rem; font-weight:500; }
.hz-districts__pin svg { width:14px; height:14px; color:var(--hz-accent); }

/* ---- Reviews (real ProvenExpert widget mount) ---------------------------- */
.hz-reviews { background:var(--hz-bg-tint); width:100vw; margin-left:calc(-50vw + 50%); padding:56px 0; }
.hz-reviews__mount { max-width:760px; margin:0 auto; padding:0 30px; text-align:center; }
.hz-reviews__mount .hz-widget-note { color:var(--hz-text-light); font-size:.9rem; border:1px dashed var(--hz-border); border-radius:var(--hz-radius); padding:28px; background:#fff; }

/* ---- Before/After slider (used only where a real "before" image exists) -- */
.hz-ba { position:relative; border-radius:var(--hz-radius); overflow:hidden; box-shadow:var(--hz-shadow-sm); aspect-ratio:16/9; }
.hz-ba img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.hz-ba__after { clip-path: inset(0 0 0 var(--pos,50%)); }
.hz-ba__range { position:absolute; inset:0; width:100%; height:100%; opacity:0; cursor:ew-resize; }
.hz-ba__handle { position:absolute; top:0; bottom:0; left:var(--pos,50%); width:3px; background:#fff; box-shadow:0 0 0 1px rgba(0,0,0,.2); }
.hz-ba__handle::after { content:"⟷"; position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); background:#fff; color:var(--hz-primary); width:38px; height:38px; border-radius:50%; display:grid; place-items:center; box-shadow:var(--hz-shadow-md); }
.hz-ba__label { position:absolute; bottom:12px; padding:5px 12px; border-radius:999px; font-size:.8rem; font-weight:600; color:#fff; background:rgba(11,46,91,.8); }
.hz-ba__label--b { left:12px; } .hz-ba__label--a { right:12px; background:rgba(37,211,102,.9); color:#04331a; }

/* ---- Sticky mobile CTA bar ----------------------------------------------- */
.hz-sticky-cta { position:fixed; left:0; right:0; bottom:0; z-index:9999; display:none;
  background:#fff; border-top:1px solid var(--hz-border); box-shadow:0 -6px 20px rgba(11,46,91,.12);
  padding:9px 12px; gap:10px; }
.hz-sticky-cta a { flex:1; display:flex; align-items:center; justify-content:center; gap:8px; padding:13px; border-radius:10px; font-weight:700; text-decoration:none; font-size:1rem; }
.hz-sticky-cta svg { width:20px; height:20px; flex:0 0 auto; }
.hz-sticky-cta .hz-btn--phone { animation: hz-pulse 2s infinite; }
@keyframes hz-pulse { 0%,100%{ box-shadow:0 0 0 0 rgba(37,211,102,.5);} 50%{ box-shadow:0 0 0 10px rgba(37,211,102,0);} }

/* ---- Scroll reveal (progressive enhancement: visible by default; hidden
   only once JS flags <html class="hz-anim"> = IntersectionObserver available
   AND prefers-reduced-motion: no-preference. No JS / JS fail => content stays
   visible. F3.) ------------------------------------------------------------- */
.hz-reveal { opacity:1; transform:none; }
html.hz-anim .hz-reveal { opacity:0; transform:translateY(22px); transition:opacity .6s ease, transform .6s ease; }
html.hz-anim .hz-reveal.is-in { opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce) { html.hz-anim .hz-reveal { opacity:1; transform:none; transition:none; } }

/* ---- v2 responsive -------------------------------------------------------- */
@media (max-width: 900px) {
  .hz-hero__grid { grid-template-columns:1fr; gap:32px; }
  .hz-hero__media img { height:280px; }
  .hz-svc-grid { grid-template-columns:repeat(2,1fr); }
  .hz-steps { grid-template-columns:repeat(2,1fr); row-gap:30px; }
  .hz-localmap { grid-template-columns:1fr; }
}
@media (max-width: 767px) {
  .hz-sticky-cta { display:flex; }
  body { padding-bottom: 68px; }
  .hz-hero { padding:40px 0 48px; }
  .hz-sec, .hz-hero__grid { padding-left:18px; padding-right:18px; }
}
@media (max-width: 560px) {
  .hz-svc-grid { grid-template-columns:1fr; }
  .hz-steps { grid-template-columns:1fr; }
}

/* ============================================================================
   v2.1 BOLD — diagonal hero w/ overlapping image, display type, section
   dividers, link underline-slide, button shine, staggered reveal.
   ============================================================================ */
:root { --hz-font-display: "Bricolage Grotesque", "Outfit", sans-serif; }

.hz-hub-body h2, .hz-sec__head h2, .hz-hero h1, .hz-cta__text h2,
.hz-stat__num, .hz-title-bar-h1 { font-family: var(--hz-font-display); }

/* --- Diagonal bold hero --- */
.hz-hero--bold { padding: 0; min-height: 560px; display:flex; align-items:center;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 46px)); }
.hz-hero--bold .hz-hero__media-bg { position:absolute; inset:0 0 0 46%; z-index:1;
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); overflow:hidden; }
.hz-hero--bold .hz-hero__media-bg img { width:100%; height:100%; object-fit:cover; }
.hz-hero--bold .hz-hero__media-bg::after { content:""; position:absolute; inset:0;
  background: linear-gradient(110deg, var(--hz-primary) 0%, rgba(11,46,91,.55) 38%, rgba(11,46,91,0) 72%); }
.hz-hero--bold .hz-hero__grid { display:block; max-width:var(--hz-maxw); margin:0 auto;
  padding:72px 30px; position:relative; z-index:3; }
.hz-hero--bold .hz-hero__copy { max-width: 38rem; }
.hz-hero--bold h1 { font-size: clamp(2.3rem, 1.4rem + 3.4vw, 3.9rem); line-height:1.0; font-weight:800; }
.hz-hero__chip { display:inline-flex; align-items:center; gap:8px; background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.18); color:#dbe8fb; padding:7px 14px; border-radius:999px;
  font-size:.82rem; font-weight:600; letter-spacing:.04em; margin-bottom:18px; backdrop-filter:blur(4px); }
.hz-hero__chip svg { width:15px; height:15px; color:var(--hz-success); }
.hz-hero__floats { display:flex; gap:10px; flex-wrap:wrap; margin-top:24px; }
.hz-hero__floats span { background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.16);
  color:#cfe0f5; padding:9px 14px; border-radius:10px; font-size:.86rem; font-weight:600;
  display:inline-flex; align-items:center; gap:8px; }
.hz-hero__floats svg { width:16px; height:16px; color:var(--hz-accent); }
@media (max-width:900px){
  .hz-hero--bold { min-height:0; flex-direction:column; clip-path:none; }
  .hz-hero--bold .hz-hero__media-bg { position:relative; inset:auto; clip-path:none; width:100%; height:190px; }
  .hz-hero--bold .hz-hero__media-bg::after { background:linear-gradient(180deg, rgba(11,46,91,.15), var(--hz-primary)); }
  .hz-hero--bold .hz-hero__grid { padding:26px 18px 34px; width:100%; box-sizing:border-box; }
  .hz-hero--bold h1 { font-size:2rem; }
  .hz-hero__floats { gap:8px; }
  .hz-hero__floats span { font-size:.8rem; padding:8px 11px; }
}

/* --- Section dividers: angled navy bands --- */
.hz-stats { clip-path: polygon(0 22px, 100% 0, 100% 100%, 0 calc(100% - 22px)); }
.hz-cta { clip-path: polygon(0 30px, 100% 0, 100% 100%, 0 100%); }
.hz-reviews { position:relative; }
.hz-reviews::before { content:""; position:absolute; top:-1px; left:0; right:0; height:40px;
  background:#fff; clip-path: polygon(0 0, 100% 0, 0 100%); }

/* --- Link underline-slide (body) --- */
.hz-hub-body p a { position:relative; text-decoration:none; background-image:linear-gradient(var(--hz-accent),var(--hz-accent));
  background-size:0% 2px; background-position:0 100%; background-repeat:no-repeat; transition:background-size .25s ease; }
.hz-hub-body p a:hover { background-size:100% 2px; }

/* --- Button shine on hover --- */
.hz-btn { position:relative; overflow:hidden; }
.hz-btn::after { content:""; position:absolute; top:0; left:-120%; width:60%; height:100%;
  background:linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform:skewX(-18deg); transition:left .5s ease; }
.hz-btn:hover::after { left:140%; }

/* --- Staggered reveal --- */
.hz-svc-grid .hz-reveal:nth-child(3n+2){ transition-delay:.08s; }
.hz-svc-grid .hz-reveal:nth-child(3n+3){ transition-delay:.16s; }
.hz-steps .hz-step:nth-child(2){ transition-delay:.08s; }
.hz-steps .hz-step:nth-child(3){ transition-delay:.16s; }
.hz-steps .hz-step:nth-child(4){ transition-delay:.24s; }
.hz-usp .hz-usp__card:nth-child(2){ transition-delay:.1s; }
.hz-usp .hz-usp__card:nth-child(3){ transition-delay:.2s; }

/* --- Tinted full-bleed band for section colour rhythm --- */
.hz-band { background: var(--hz-bg-light); width:100vw; margin-left:calc(-50vw + 50%); }
.hz-band > .hz-sec { margin-top:0; margin-bottom:0; padding-top:60px; padding-bottom:60px; }

/* --- Wissensartikel: sticky TOC, author box, related --- */
.hz-wiki { max-width: var(--hz-maxw); margin: 48px auto; padding: 0 30px; display:grid; grid-template-columns: 250px 1fr; gap: 48px; align-items:start; }
.hz-toc { position: sticky; top: 24px; border:1px solid var(--hz-border); border-radius: var(--hz-radius); padding: 20px; background:#fff; font-size:.92rem; }
.hz-toc strong { display:block; color:var(--hz-primary); margin-bottom:12px; font-family:var(--hz-font-display); }
.hz-toc a { display:block; color:var(--hz-text-light); text-decoration:none; padding:6px 0 6px 12px; border-left:2px solid var(--hz-border); transition:.15s; }
.hz-toc a:hover { color:var(--hz-accent); border-left-color:var(--hz-accent); }
.hz-author { display:flex; gap:16px; align-items:center; background:var(--hz-bg-tint); border:1px solid var(--hz-border); border-radius:var(--hz-radius); padding:20px 24px; margin:32px 0; }
.hz-author__avatar { width:54px; height:54px; border-radius:50%; background:var(--hz-primary); color:#fff; display:grid; place-items:center; font-weight:700; font-family:var(--hz-font-display); flex:0 0 auto; }
.hz-author b { color:var(--hz-primary); } .hz-author small { color:var(--hz-text-light); }
.hz-related { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.hz-related a { display:block; padding:18px; background:#fff; border:1px solid var(--hz-border); border-radius:var(--hz-radius); text-decoration:none; color:var(--hz-primary); font-weight:600; box-shadow:var(--hz-shadow-sm); transition:.18s; }
.hz-related a:hover { transform:translateY(-3px); box-shadow:var(--hz-shadow-md); }
@media (max-width:900px){ .hz-wiki { grid-template-columns:1fr; gap:24px; } .hz-toc { position:static; } .hz-related { grid-template-columns:1fr; } }

/* ============================================================================
   v2.1 WISSEN MAGAZINE — reading progress, magazine hero, lead, callouts,
   pull-quotes, alternating bands, heading icons, scrollspy TOC.
   ============================================================================ */
.hz-progress { position:fixed; top:0; left:0; height:3px; width:0; z-index:10000;
  background:linear-gradient(90deg,var(--hz-accent),var(--hz-primary)); transition:width .1s linear; }

.hz-wiki-hero { background:
    radial-gradient(800px 300px at 85% -20%, rgba(46,144,250,.30), transparent 60%),
    linear-gradient(160deg,var(--hz-primary),var(--hz-primary-900));
  width:100vw; margin-left:calc(-50vw + 50%); padding:54px 0 60px; position:relative; overflow:hidden; }
.hz-wiki-hero::after { content:""; position:absolute; inset:0;
  background-image:radial-gradient(rgba(255,255,255,.05) 1px,transparent 1px); background-size:24px 24px; opacity:.5; }
.hz-wiki-hero__inner { max-width:880px; margin:0 auto; padding:0 30px; position:relative; z-index:2; }
.hz-wiki-hero h1 { font-family:var(--hz-font-display); color:#fff; font-size:clamp(2.1rem,1.4rem+2.6vw,3.2rem);
  line-height:1.06; font-weight:800; letter-spacing:-.02em; margin:14px 0 18px; }
.hz-wiki-meta { display:flex; flex-wrap:wrap; gap:18px; color:#aec3e3; font-size:.9rem; }
.hz-wiki-meta span { display:inline-flex; align-items:center; gap:7px; }
.hz-wiki-meta svg { width:16px; height:16px; color:var(--hz-accent); }

.hz-wiki__body { font-size:1.12rem; line-height:1.85; color:#243140; }
.hz-wiki__body > p:first-of-type, .hz-lead { font-size:1.28rem; line-height:1.7; color:var(--hz-primary-700); font-weight:500; }
.hz-wiki__body h2, .hz-wiki__body h3 { font-family:var(--hz-font-display); color:var(--hz-primary);
  scroll-margin-top:80px; display:flex; align-items:center; gap:12px; margin:2em 0 .6em; }
.hz-wiki__body h2::before, .hz-wiki__body h3::before { content:""; flex:0 0 auto; width:30px; height:30px; border-radius:9px;
  background:var(--hz-bg-tint) center/18px no-repeat; box-shadow:inset 0 0 0 1px var(--hz-border);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232e90fa' stroke-width='2'%3E%3Cpath d='M4 6h16M4 12h16M4 18h10'/%3E%3C/svg%3E"); }
.hz-wiki__body p a { color:var(--hz-accent-600); }

/* Callout boxes (built from existing sections; no invented text) */
.hz-callout { border-radius:var(--hz-radius); padding:18px 22px 18px 56px; margin:1.6em 0; position:relative;
  border:1px solid var(--hz-border); background:#fff; box-shadow:var(--hz-shadow-sm); line-height:1.7; }
.hz-callout::before { content:""; position:absolute; left:18px; top:18px; width:24px; height:24px; background:center/contain no-repeat; }
.hz-callout__title { font-family:var(--hz-font-display); font-weight:700; margin:0 0 4px; }
.hz-callout--tip { background:#f0fbf4; border-color:#bdebcd; }
.hz-callout--tip .hz-callout__title { color:#1c8a4a; }
.hz-callout--tip::before { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c8a4a' stroke-width='2'%3E%3Cpath d='M9 18h6M10 22h4M12 2a7 7 0 00-4 12c.6.5 1 1.2 1 2h6c0-.8.4-1.5 1-2a7 7 0 00-4-12z'/%3E%3C/svg%3E"); }
.hz-callout--info { background:#eff6ff; border-color:#bcd9fb; }
.hz-callout--info .hz-callout__title { color:var(--hz-accent-600); }
.hz-callout--info::before { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a78dd' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v5M12 7.5v.5'/%3E%3C/svg%3E"); }
.hz-callout--warn { background:#fff7ed; border-color:#fcd9a8; }
.hz-callout--warn .hz-callout__title { color:#c2710c; }
.hz-callout--warn::before { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c2710c' stroke-width='2'%3E%3Cpath d='M12 3l9 16H3z'/%3E%3Cpath d='M12 10v4M12 17v.5'/%3E%3C/svg%3E"); }

/* Pull-quote (repeats an existing key sentence in large type) */
.hz-pullquote { border-left:5px solid var(--hz-accent); background:var(--hz-bg-light); padding:20px 26px;
  margin:2em 0; font-family:var(--hz-font-display); font-size:1.45rem; line-height:1.4; color:var(--hz-primary);
  border-radius:0 var(--hz-radius) var(--hz-radius) 0; }

/* Section tint band inside the article */
.hz-wiki__body .hz-zone { background:var(--hz-bg-light); border-radius:var(--hz-radius); padding:4px 26px; margin:1.6em -26px; }

/* Sidebox mini-facts */
.hz-sidebox { float:right; width:240px; margin:6px 0 18px 26px; background:var(--hz-primary); color:#fff;
  border-radius:var(--hz-radius); padding:18px 20px; box-shadow:var(--hz-shadow-md); }
.hz-sidebox b { display:block; font-size:1.6rem; font-family:var(--hz-font-display); }
.hz-sidebox small { color:#aec3e3; }

/* TOC active state (scrollspy) */
.hz-toc a.is-active { color:var(--hz-accent); border-left-color:var(--hz-accent); font-weight:600; }

@media (max-width:900px){
  .hz-wiki__body { font-size:1.06rem; }
  .hz-sidebox { float:none; width:auto; margin:18px 0; }
  .hz-wiki__body .hz-zone { margin-left:-18px; margin-right:-18px; padding-left:18px; padding-right:18px; }
}

/* ============================================================================
   v10 FOOTER. Hides the old Elementor footer on pages where this CSS loads
   (target pages for the canary). Dark navy, 4 columns, mobile <details> accordions.
   ============================================================================ */
.wdt-footer-tpl, #footer .wdt-footer-tpl { display: none !important; }

.hz-footer-v10 { background: var(--hz-primary-900); color: #c7d6ea; font-family: var(--hz-font);
  width: 100vw; margin-left: calc(-50vw + 50%); }
.hz-foot__grid { max-width: var(--hz-maxw); margin: 0 auto; padding: 56px 30px 36px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 36px; }
.hz-footer-v10 h3 { font-family: var(--hz-font-display); color: #fff; font-size: 1.05rem; margin: 0 0 16px; }
.hz-footer-v10 a { color: #c7d6ea; text-decoration: none; transition: color .15s; }
.hz-footer-v10 a:hover { color: #fff; }
.hz-foot__col ul { list-style: none; margin: 0; padding: 0; }
.hz-foot__col li { margin: 0 0 9px; font-size: .95rem; }
.hz-foot__col summary { list-style: none; cursor: default; }
.hz-foot__col summary::-webkit-details-marker { display: none; }
.hz-foot__name { font-family: var(--hz-font-display); color: #fff; font-size: 1.5rem; font-weight: 800; }
.hz-foot__claim { margin: 10px 0 16px; font-size: .95rem; line-height: 1.6; max-width: 30ch; }
.hz-foot__phone { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; font-size: 1.1rem; }
.hz-foot__phone svg { width: 18px; height: 18px; color: var(--hz-success); }
.hz-foot__contact { margin: 0 0 18px; line-height: 1.9; }
.hz-foot__addr { font-style: normal; font-size: .9rem; line-height: 1.6; color: #9fb6d4; border-top: 1px solid rgba(255,255,255,.12); padding-top: 14px; }
.hz-foot__addr-label { display: block; text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; color: #7d97bb; margin-bottom: 4px; }
.hz-foot__addr-note { display: block; margin-top: 8px; font-size: .8rem; color: #7d97bb; }
.hz-foot__more { margin: 14px 0 0; }
.hz-foot__more a { color: var(--hz-accent); font-weight: 600; }
.hz-foot__pe { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--hz-radius-sm); padding: 12px 14px; font-size: .92rem; display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.hz-foot__pe svg { width: 16px; height: 16px; color: var(--hz-success); }
.hz-foot__pe strong { color: #ffd14a; }
.hz-foot__usps { list-style: none; margin: 0; padding: 0; }
.hz-foot__usps li { display: flex; align-items: center; gap: 9px; margin: 0 0 10px; font-size: .92rem; }
.hz-foot__usps svg { width: 16px; height: 16px; color: var(--hz-accent); flex: 0 0 auto; }
.hz-foot__bottom { border-top: 1px solid rgba(255,255,255,.12); }
.hz-foot__bottom-inner { max-width: var(--hz-maxw); margin: 0 auto; padding: 18px 30px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; font-size: .85rem; color: #8aa2c2; }
.hz-foot__legal { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.hz-foot__col summary h3 { display: inline-block; }
/* Desktop: footer columns expanded (open in markup); summary inert, no chevron.
   Mobile: JS removes [open] so they start collapsed (initFooterAccordion). */
@media (min-width: 601px) {
  details.hz-foot__col > summary { pointer-events: none; }
  details.hz-foot__col summary::after { display: none; }
}
@media (max-width: 900px) {
  .hz-foot__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .hz-foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .hz-foot__grid { grid-template-columns: 1fr; gap: 4px; padding: 40px 18px 28px; }
  .hz-foot__brand { margin-bottom: 18px; }
  details.hz-foot__col { border-top: 1px solid rgba(255,255,255,.12); padding: 14px 0; }
  details.hz-foot__col summary { cursor: pointer; position: relative; }
  details.hz-foot__col summary h3 { margin: 0; }
  details.hz-foot__col summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--hz-accent); border-bottom: 2px solid var(--hz-accent); transform: translateY(-65%) rotate(45deg); transition: transform .2s; }
  details.hz-foot__col[open] summary::after { transform: translateY(-35%) rotate(225deg); }
  details.hz-foot__col ul { padding-top: 12px; }
  .hz-foot__bottom-inner { flex-direction: column; align-items: flex-start; padding: 16px 18px 28px; }
}

/* --- Mobile polish: calmer type scale, tighter rhythm --- */
@media (max-width:767px){
  .hz-sec { margin:40px auto; }
  .hz-band > .hz-sec { padding-top:40px; padding-bottom:40px; }
  .hz-stats { padding:30px 0; }
  .hz-stat__num { font-size:1.9rem; }
  .hz-sec__head { margin-bottom:24px; }
  .hz-sec__head h2 { font-size:1.45rem; }
  .hz-sec__head p { font-size:.98rem; }
  .hz-hub-body { font-size:1rem; line-height:1.72; }
  .hz-hub-body h2 { font-size:1.4rem; margin:1.9em 0 .5em; }
  .hz-hub-body h3 { font-size:1.15rem; }
  .hz-cta { margin-top:44px; }
  .hz-cta__text h2 { font-size:1.45rem; }
  .hz-reviews { padding:40px 0; }
}

/* ============================================================================
   PHASE 11 ITERATION — appended overrides (F1 reading surface, F12 footer).
   ============================================================================ */

/* F1 — opaque, full-bleed WHITE reading surface behind all decorated content.
   Spoke + Wissen previously had a transparent content area, so the dark v10
   footer (#061a33) painted through behind the dark body text (dark-on-dark,
   unreadable). This guarantees a white surface on all 3 page types — like the
   Hub. Coloured accent sections (hero, stats, CTA, callouts, cards) are direct
   children at z-index:1 and paint their own full-bleed backgrounds on top, so
   "more colour / not boring" stays intact; only the plain body sits on white. */
.hz-content-surface { position: relative; background: #fff; }
.hz-content-surface::before {
  content: ""; position: absolute; z-index: 0; top: 0; bottom: 0;
  left: 50%; transform: translateX(-50%); width: 100vw; background: #fff;
}
.hz-content-surface > * { position: relative; z-index: 1; }
/* Body text colour explicitly set on the wrapper (not inherited) so it can
   never resolve against a dark backdrop again. */
.hz-content-surface .hz-hub-body { color: var(--hz-text); }
.hz-content-surface .hz-wiki__body { color: #243140; }

/* ============================================================================
   REBUILD — featured-image hero card + service grid (prototype look, real imgs)
   ========================================================================== */
/* Hero image card: pulls the navy title-bar up, overlaps a wide photo card. */
.hz-herocard { max-width: var(--hz-maxw); margin: -34px auto 0; padding: 0 30px; position: relative; z-index: 4; }
.hz-herocard__inner { position: relative; border-radius: 16px; overflow: hidden; box-shadow: var(--hz-shadow-md); }
.hz-herocard__media { margin: 0; aspect-ratio: 3 / 1; }
.hz-herocard__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hz-herocard__inner::after { content:""; position:absolute; inset:0; pointer-events:none;
  background: linear-gradient(180deg, rgba(11,46,91,0) 55%, rgba(11,46,91,.35) 100%); }
.hz-herocard__badge { position: absolute; left: 22px; bottom: 18px; z-index: 2; display: flex; align-items: center; gap: 12px;
  background: #fff; border-radius: 12px; padding: 12px 18px; box-shadow: var(--hz-shadow-md); }
.hz-herocard__badge svg { width: 26px; height: 26px; color: var(--hz-accent); flex: 0 0 26px; }
.hz-herocard__badge b { display: block; font-family: var(--hz-font-display); font-size: 1.25rem; color: var(--hz-primary); line-height: 1; }
.hz-herocard__badge small { color: var(--hz-text-light); font-size: .82rem; }

/* Service section header + card price-free labels (cards use real spoke images) */
.hz-svc-sec { margin-top: 64px; }
.hz-svc-sec .hz-svc-grid { margin-top: 8px; }
.hz-svc-card__body { padding: 16px 18px; }
.hz-svc-card__body h3 { font-size: 1.06rem; }

@media (max-width: 767px) {
  .hz-herocard { margin-top: -20px; padding: 0 14px; }
  .hz-herocard__media { aspect-ratio: 16 / 10; }
  .hz-herocard__badge { left: 12px; bottom: 12px; padding: 9px 13px; }
  .hz-herocard__badge b { font-size: 1.1rem; }
  .hz-svc-sec { margin-top: 44px; }
}
