/* HAMAG-Startseite. Unslop: Damir Sokolovsky (@heydamir), CC BY 4.0. */

/* 1. Abstände: bestehende Gruppen und Abschnittsfolge erhalten. */
body .site-header-inner { gap: 24px; padding-block: 16px; }
body .site-top-contact { gap: 8px; }
body .site-nav .site-cta { padding: 12px 24px; }
body .hs-hero2-text { padding: 32px; }
body .hs-hero2-kicker { margin-bottom: 16px; }
body .hs-hero2-points { gap: 12px; margin-bottom: 24px; }
body .hs-hero2-cta { gap: 24px; }
body .hs-sec-label { margin-bottom: 12px; }
body .hs-startbonus-list { gap: 12px; }
body .hs-startbonus-list li { gap: 12px; }
body .hs-feat3-box { padding: 24px; }
body .hs-startbonus-badge { padding: 16px 20px; }

/* 2. Farben: HAMAG-Grün bleibt, Textflächen erhalten genug Kontrast. */
body .hs-startbonus { background: #064d29 !important; }
body .hs-feat3 { background: #0a7d3a; }
body .hs-svc-card-name { background: #0a7d3a; }
body .hs-startbonus-badge { background: #064d29; }
body .hs-startbonus-badge-label,
body .hs-startbonus-badge-sub { opacity: 1; }
body .hs-testimonials .hs-sec-label { color: #fff; }
body .hs-testi-co { color: #4b5565 !important; }
body .hs-hero2-text { background: rgba(6, 77, 41, .94); }
body .hs-hero2-kicker { color: #fff; }
body .site-header { background: #fff !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
body .site-header-inner { background: #fff; border-bottom: 1px solid rgba(6,77,41,.1); }

/* 3. Icons: gleiche Linienführung statt Emoji und animierter Maske. */
body .site-topbar-inner .site-top-phone .site-phone-icon,
body .site-top-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; flex: 0 0 20px; color: inherit;
  background: none !important; mask: none !important; -webkit-mask: none !important;
  animation: none !important; transform: none !important;
}
body .hs-polish-icon { display: block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
body .hs-startbonus-list li > span {
  width: 16px; height: 16px; margin-top: 4px; background: none;
  border-radius: 0; color: #fff;
}
body .hs-startbonus-list .hs-polish-icon { width: 16px; height: 16px; }

/* 4–5. Texte und Typografie: vorhandene Manrope, ruhige Hierarchie. */
body :is(h1,h2,h3,h4),
body :is(.hs-hero2-title,.hs-ht-h2,.hs-why-title,.hs-about-hl,.hs-funnel-title,.hs-sec-title) {
  font-weight: 600 !important; font-style: normal !important;
}
body :is(.hs-sec-label,.hs-hero2-kicker,.hs-mobile-hero-kicker,.hs-startbonus-kicker,
  .hs-startbonus-badge-label,.hs-ht-eyebrow,.hs-ht-obj,.hs-ht-pill,.hs-onb-kicker,
  .hs-pr-eyebrow,.hs-pr-price span,.hs-cs-eyebrow,.hs-cs-row b,.hs-case-kicker,
  .hs-case-stat-label,.hs-case-body h3,.hs-rz-cat,.hs-stat-label,.hs-kontakt-roof,
  .hs-test-roofline,.hs-footer-col h3) {
  text-transform: none !important; letter-spacing: .02em !important;
  font-size: 12px !important; font-weight: 500 !important; line-height: 1.5 !important;
}
body .hs-why-title { text-transform: none; letter-spacing: 0; }
body .hs-startbonus-text h2 em { font-style: normal; }
body .site-nav > a, body .site-nav > details > summary { font-weight: 600; }
body :is(.hs-btn-orange,.hs-btn-next,.site-cta,.hs-gr-btn,.hs-cf-submit) { font-weight: 600 !important; }
body :is(.hs-testi-co,.hs-startbonus-note,.hs-funnel-sub) { font-size: 12px !important; letter-spacing: 0 !important; }
body :is(.hs-pr-price,.hs-case-stat-val,.hs-stat-num,.hs-startbonus-badge-val) { font-variant-numeric: tabular-nums; }

/* 6. Layout: Einsatzgebiete nutzen eine eigene, lesbare Zeile. */
body .hs-footer-areas { grid-column: 1 / -1; }
body .hs-footer-locations { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px 24px; }
body .hs-footer-locations a { margin: 0; }
body .site-topbar-inner > .hs-notfall-tab {
  position: static; transform: none; margin-left: auto; flex-shrink: 0;
  padding: 8px 16px; border-radius: 8px; font-weight: 600;
  box-shadow: none; min-height: 36px;
}
body.hs-unslop-footer-visible .hs-test-sticky {
  opacity: 0 !important; visibility: hidden !important; pointer-events: none !important;
}

/* 7. Details: kleine neutrale Schatten, abgestufte Radien. */
body :is(.site-cta,.hs-btn-orange,.hs-gr-btn,.hs-cf-submit,.hs-test-sticky a,.hs-funnel,
  .hs-btn-next,.hs-notfall-tab,.hs-startbonus-badge,.hs-feat3-box) {
  box-shadow: 0 8px 24px rgba(0,0,0,.06) !important;
}
body :is(.hs-btn-orange,.hs-gr-btn,.hs-cf-submit,.site-cta,.hs-test-sticky a,.hs-btn-next) { border-radius: 8px !important; }
body :is(.hs-svc-card,.hs-testi-card,.hs-startbonus-img) { border-radius: 12px !important; }
body :is(.hs-funnel,.hs-startbonus-badge,.hs-feat3-box) { border-radius: 16px !important; }
body .hs-svc-card-name { border-radius: 8px; padding: 12px 16px; box-shadow: none; }
body .hs-svc-card:is(:hover,:focus-within,.is-open) .hs-svc-card-name {
  background: #0a7d3a; padding: 12px 16px; font-size: 18px !important;
  transform: none; text-shadow: none; box-shadow: none;
}
body :is(a,button,input,select,textarea):focus-visible { outline: 2px solid #0a7d3a; outline-offset: 4px; }
body .hs-footer :is(a,button):focus-visible { outline-color: #fff; }
body .site-topbar :is(a,button):focus-visible { outline-color: #fff; outline-offset: 2px; }
body :is(.hs-startbonus,.hs-feat3) :is(a,button):focus-visible { outline-color: #fff; }

/* 8. Bildwelt, Logos, Bewertungssterne und Putzi bleiben erhalten. */

/* 9. Bewegung: keine Endloswerbung; vorhandene Putzi-Animation bleibt. */
body #hs-heromini,
body .hs-btn-next:not(:disabled),
body .hs-hero-cta-mobile .hs-btn-orange,
body .hs-funnel-pulse, body .hs-funnel-pulse-load { animation: none !important; }
body .hs-svc-btn { transition: color 160ms ease-out, background-color 160ms ease-out, border-color 160ms ease-out; }
body .hs-svc-card-name { transition: background-color 160ms ease-out; }
body .hs-test-gallery-card:hover img { transform: none; }
@media (prefers-reduced-motion: reduce) {
  body .hs-btn-next, body .hs-funnel, body .hs-polish-icon { animation: none !important; transition: none !important; }
}
@media (max-width: 1024px) {
  body .site-header-inner { padding-block: 12px; }
  body .hs-footer-locations { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 24px; }
  body .hs-mobile-early-funnel .hs-funnel { padding: 24px !important; border-radius: 16px !important; }
  body .hs-startbonus .hs-startbonus-list { margin-bottom: 24px !important; }
  body .hs-startbonus .hs-startbonus-actions { margin-bottom: 24px !important; }
  body .hs-startbonus .hs-startbonus-text h2 { font-weight: 600 !important; }
  body .hs-svc-card-name { font-size: 18px !important; }
}
@media (max-width: 600px) {
  body .hs-footer-locations { grid-template-columns: 1fr; }
}
