/* Hanna Gebäudeservice 2.0 – Designsystem „Klare Bahn“
   Leitmotiv: beschlagenes Glas, eine saubere Abzieher-Bahn.
   Klassen mit hn-/hr-Präfix bleiben als Haken für Messung und Prüfungen erhalten. */

:root {
  --ink: #0b3446;
  --ink-soft: #3c5f6e;
  --blue: #0c6c9a;
  --teal: #00aebe;
  --teal-ink: #00707b;
  --glass: #e3f1f4;
  --fog: #f1f8f9;
  --line: #c9dfe5;
  --yellow: #ffcf33;
  --yellow-hover: #ffc107;
  --white: #ffffff;
  --font: "Archivo", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --r-s: 8px;
  --r-m: 16px;
  --r-l: 30px;
  --ease: cubic-bezier(.65, 0, .35, 1);
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5 10 17 19 7.5'/%3E%3C/svg%3E");
  --i-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M5 12h14m-6-6 6 6-6 6'/%3E%3C/svg%3E");
  --i-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M5 3h3.5l1.8 4.4-2.3 1.4a11 11 0 0 0 6.2 6.2l1.4-2.3L20 14.5V18a2 2 0 0 1-2 2A16 16 0 0 1 3 5a2 2 0 0 1 2-2z'/%3E%3C/svg%3E");
  --i-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m4 7 8 6 8-6'/%3E%3C/g%3E%3C/svg%3E");
  --i-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M12 21s-7-6.2-7-11.5a7 7 0 0 1 14 0C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/g%3E%3C/svg%3E");
  --i-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2.8 2.8 5.9 6.4.8-4.7 4.4 1.2 6.4L12 17.2l-5.7 3.1 1.2-6.4-4.7-4.4 6.4-.8z'/%3E%3C/svg%3E");
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body.hn-site {
  margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; color: var(--ink);
  background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body.hn-site img, body.hn-site svg { max-width: 100%; height: auto; }
.hn-site a { color: var(--blue); text-underline-offset: .18em; text-decoration-thickness: 1px; }
.hn-site a:hover { color: var(--ink); }
.hn-site :focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.hn-site h1, .hn-site h2, .hn-site h3, .hn-site h4 { color: var(--ink); text-wrap: balance; margin: 0; font-family: var(--font); }
.hn-site p { margin: 0 0 1em; }
.hn-site p:last-child { margin-bottom: 0; }
.hn-site .wp-block-post-content > * { margin-block: 0; }
.hn-main, .hn-error { display: block; }
.skip-link.screen-reader-text:focus, .hn-skip:focus { position: fixed; left: 12px; top: 12px; z-index: 100; clip: auto; width: auto; height: auto; background: var(--yellow); color: var(--ink); padding: 10px 16px; border-radius: var(--r-s); font-weight: 650; }
.hn-skip { position: absolute; left: -999px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.hb-wrap, .site-header__bar, .site-footer__inner { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Typografie ---------- */
.hb-display, .hn-site .hb-hero h1 {
  font-size: clamp(2.35rem, 1rem + 3.6vw, 4.4rem); font-weight: 780; font-stretch: 116%;
  line-height: 1.0; letter-spacing: -.02em; overflow-wrap: break-word;
}
.hn-site .hb-section h2, .hn-site .hb-h2 {
  font-size: clamp(1.85rem, 1.25rem + 2.2vw, 3rem); font-weight: 740; font-stretch: 112%;
  line-height: 1.06; letter-spacing: -.015em; overflow-wrap: break-word;
}
.hn-site .hb-section h3 { font-size: 1.25rem; font-weight: 700; font-stretch: 106%; line-height: 1.22; }
.hb-lead, .hn-site .hb-head p { font-size: clamp(1.1rem, 1rem + .35vw, 1.28rem); line-height: 1.55; color: var(--ink-soft); max-width: 40em; }
.hb-sub { font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); font-weight: 500; line-height: 1.3; color: var(--teal-ink); margin: .5em 0 0 !important; }
.hb-sub strong { font-weight: inherit; }
.hb-muted, .hb-prose p { color: var(--ink-soft); }
.hb-prose { max-width: 44em; }
.hn-site .hb-prose > * + * { margin-top: 1em; }

/* ---------- Buttons ---------- */
.hn-site .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.hn-site .wp-block-button { margin: 0; }
.hn-site .wp-block-button__link, .btn-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: .8em 1.35em; border-radius: var(--r-s); border: 2px solid transparent;
  font-family: var(--font); font-size: 1rem; font-weight: 700; font-stretch: 104%; line-height: 1.1;
  background: var(--yellow); color: var(--ink); text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s var(--ease-out);
}
.hn-site .wp-block-button__link:hover, .btn-cta:hover { background: var(--yellow-hover); color: var(--ink); }
.hn-site .wp-block-button__link:active, .btn-cta:active { transform: translateY(1px); }
.hn-site .wp-block-button.is-style-outline > .wp-block-button__link, .btn-ghost {
  background: transparent; color: var(--ink); border-color: var(--ink);
}
.hn-site .wp-block-button.is-style-outline > .wp-block-button__link:hover, .btn-ghost:hover { background: var(--ink); color: var(--white); }
.hn-site .wp-block-button__link[href^="tel:"]::before, .btn-ghost[href^="tel:"]::before {
  content: ""; width: 20px; height: 20px; flex: none; background: currentColor;
  -webkit-mask: var(--i-phone) center / contain no-repeat; mask: var(--i-phone) center / contain no-repeat;
}
.hb-section--ink .wp-block-button.is-style-outline > .wp-block-button__link { color: var(--white); border-color: rgba(255,255,255,.6); }
.hb-section--ink .wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--white); color: var(--ink); }

.hb-arrow-link, .hn-site .hb-arrow-link a { display: inline-flex; align-items: center; gap: .45em; font-weight: 650; text-decoration: none; }
.hb-arrow-link a::after, a.hb-arrow-link::after {
  content: ""; width: 18px; height: 18px; background: currentColor; transition: transform .2s var(--ease-out);
  -webkit-mask: var(--i-arrow) center / contain no-repeat; mask: var(--i-arrow) center / contain no-repeat;
}
.hb-arrow-link a:hover::after, a.hb-arrow-link:hover::after { transform: translateX(3px); }

/* ---------- Kopfbereich (Website und Ratgeber) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.95); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.admin-bar .site-header { top: 32px; }
.site-header__bar { display: flex; align-items: center; gap: 22px; height: var(--header-h); }
.site-logo { flex: none; display: block; }
.site-logo img { width: 210px; height: auto; display: block; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.site-nav > a, .nav-services > summary {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; border-radius: var(--r-s);
  font-size: .98rem; font-weight: 600; color: var(--ink); text-decoration: none; cursor: pointer; list-style: none; white-space: nowrap;
}
.nav-services > summary::-webkit-details-marker { display: none; }
.nav-services > summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s ease; }
.nav-services[open] > summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.site-nav > a:hover, .nav-services > summary:hover, .nav-services[open] > summary { background: var(--glass); color: var(--ink); }
.site-nav > a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--teal); border-radius: var(--r-s) var(--r-s) 0 0; }
.nav-services { position: relative; }
.nav-services__panel {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-38%);
  width: min(780px, 92vw); display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 28px;
  padding: 26px 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m);
  box-shadow: 0 24px 60px -24px rgba(11,52,70,.35);
}
.nav-services__label { font-size: .9rem; font-weight: 650; color: var(--ink-soft); margin: 0 0 8px !important; }
.nav-services__panel a { display: block; padding: 7px 10px; margin-left: -10px; border-radius: 6px; font-weight: 550; color: var(--ink); text-decoration: none; }
.nav-services__panel a:hover { background: var(--glass); }
.nav-services__panel a[aria-current="page"] { color: var(--blue); }
.nav-services__all { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 6px; }
.site-header__actions { display: flex; align-items: center; gap: 14px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; color: var(--ink) !important; text-decoration: none; white-space: nowrap; }
.header-phone::before { content: ""; width: 20px; height: 20px; background: var(--blue); -webkit-mask: var(--i-phone) center / contain no-repeat; mask: var(--i-phone) center / contain no-repeat; }
.site-header__actions .btn-cta { min-height: 46px; padding: .7em 1.1em; }
.menu-toggle { display: none; }
.site-nav__mobile-extra { display: none; }

@media (max-width: 1100px) {
  .site-header__actions { margin-left: auto; }
  .header-phone span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
    border-radius: var(--r-s); background: var(--glass); border: 0; color: var(--ink); cursor: pointer;
  }
  .menu-toggle svg { width: 24px; height: 24px; }
  .menu-toggle .icon-close { display: none; }
  .menu-open .menu-toggle .icon-open { display: none; }
  .menu-open .menu-toggle .icon-close { display: block; }
  .site-nav {
    display: none; position: fixed; inset: var(--header-h) 0 0 0; z-index: 59; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0; overflow-y: auto;
    background: var(--white); padding: 12px var(--gutter) 120px;
  }
  .admin-bar .site-nav { top: calc(var(--header-h) + 46px); }
  .menu-open .site-nav { display: flex; }
  .menu-open { overflow: hidden; }
  .site-nav > a { padding: 13px 0; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.15rem; }
  .site-nav > a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--teal); padding-left: 12px; }
  .nav-services > summary { display: none; }
  .nav-services__panel { position: static; transform: none; width: auto; display: block; padding: 0; border: 0; box-shadow: none; }
  .nav-services__panel > div { margin-bottom: 8px; }
  .nav-services__label { margin: 18px 0 4px !important; }
  .nav-services__panel a { margin: 0; padding: 11px 0; font-size: 1.12rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-services:not([open]) > .nav-services__panel { display: block; }
  .site-nav__mobile-extra { display: grid; gap: 10px; margin-top: 24px; }
  .site-nav__mobile-extra .btn-cta { width: 100%; }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .site-logo img { width: 168px; }
  .site-header__actions .btn-cta, .site-header__actions .header-phone { display: none; }
}

/* ---------- Mobile Aktionsleiste ---------- */
.action-bar { display: none; }
@media (max-width: 640px) {
  .action-bar {
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96);
    border-top: 1px solid var(--line); backdrop-filter: blur(8px);
  }
  .action-bar a { min-height: 48px; padding: .7em .8em; }
  body.hn-site { padding-bottom: 76px; }
  .menu-open .action-bar { display: none; }
}

/* ---------- Abschnitte ---------- */
.hb-section { padding: clamp(64px, 9vw, 124px) 0; position: relative; }
.hb-section--fog { background: var(--fog); }
.hb-section--glass { background: var(--glass); }
.hb-section--ink { background: var(--ink); color: var(--white); }
.hn-site .hb-section--ink h2, .hn-site .hb-section--ink h3 { color: var(--white); }
.hb-section--ink p, .hb-section--ink li { color: rgba(255,255,255,.82); }
.hb-section--ink a:not(.wp-block-button__link) { color: var(--yellow); }
.hb-head { display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 60px); max-width: 48rem; }
.hb-head > * { margin: 0 !important; }
.hb-head + .hb-head { margin-top: -20px; }
.hb-after { margin-top: clamp(28px, 4vw, 44px); }
.hn-site .hb-after > * + * { margin-top: 18px; }

/* ---------- Einstieg „Klare Bahn“ ---------- */
.hb-hero {
  position: relative; overflow: hidden;
  padding: clamp(36px, 6vw, 84px) 0 clamp(56px, 8vw, 108px);
  background-color: var(--glass);
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.9) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 70% 60%, rgba(255,255,255,.75) 0 1px, transparent 2px),
    radial-gradient(circle at 40% 80%, rgba(255,255,255,.6) 0 2px, transparent 3px),
    radial-gradient(ellipse 60% 50% at 85% 10%, rgba(255,255,255,.7), transparent 70%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(0,174,190,.10), transparent 70%);
  background-size: 23px 29px, 37px 31px, 53px 47px, 100% 100%, 100% 100%;
}
.hb-hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.hb-lane { position: relative; isolation: isolate; padding: clamp(28px, 4vw, 52px) clamp(24px, 4vw, 56px) clamp(28px, 4vw, 48px) 0; }
.hb-lane::before {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; right: 0; left: calc(-1 * (100vw - 100%));
  background: var(--white); clip-path: polygon(0 0, 100% 0, calc(100% - 22px) 100%, 0 100%);
}
.hb-lane::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none; left: calc(-1 * (100vw - 100%)); right: 11px; top: -1px; bottom: -1px;
  border-top: 2px solid rgba(0,174,190,.45); border-bottom: 2px solid rgba(0,174,190,.45);
}
.hn-site .hb-lane > * + * { margin-top: 22px !important; }
.hb-lane > .hb-sub { margin-top: .5em !important; }
.hb-lane > .hb-fx { margin: 0 !important; }
.lane__fog, .lane__track { position: absolute; top: -2px; bottom: -2px; right: 0; left: calc(-1 * (100vw - 100%)); pointer-events: none; }
.lane__fog {
  z-index: 2;
  background: radial-gradient(circle at 30% 40%, rgba(255,255,255,.95) 0 1.5px, transparent 2.5px) 0 0 / 19px 23px, rgba(227,241,244,.74);
  -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px);
  animation: hb-wipe-fog 1.35s var(--ease) .45s both;
}
.lane__track { z-index: 3; animation: hb-wipe-track 1.35s var(--ease) .45s both; }
.lane__blade {
  position: absolute; left: 0; top: -14px; bottom: -14px; width: 12px; margin-left: -6px; border-radius: 6px;
  background: linear-gradient(90deg, #072230, var(--ink) 55%, #2c5a6c);
  box-shadow: 0 0 0 1px rgba(255,255,255,.25), 8px 0 18px -6px rgba(11,52,70,.45);
  animation: hb-blade-out .35s ease 1.75s both;
}
.lane__blade::after { content: ""; position: absolute; top: 50%; left: 10px; width: 54px; height: 14px; margin-top: -7px; background: var(--yellow); border-radius: 0 7px 7px 0; box-shadow: inset 0 -3px 0 rgba(0,0,0,.08); }
@keyframes hb-wipe-fog { from { clip-path: inset(0 0 0 0); } to { clip-path: inset(0 0 0 100%); } }
@keyframes hb-wipe-track { from { transform: translateX(0); } to { transform: translateX(100%); } }
@keyframes hb-blade-out { to { opacity: 0; } }
.hb-hero h1 { max-width: 14em; }
.hb-hero .hb-lead { margin-bottom: 0; }

.hb-checks, .hb-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 0; list-style: none; font-weight: 550; font-size: .98rem; }
.hb-facts { display: grid; grid-template-columns: 1fr 1fr; }
.hb-checks li, .hb-facts li { display: flex; align-items: flex-start; gap: 8px; margin: 0; }
.hb-checks li::before, .hb-facts li::before, .hb-ticks li::before {
  content: ""; width: 20px; height: 20px; flex: none; margin-top: .15em; background: var(--teal-ink);
  -webkit-mask: var(--i-check) center / contain no-repeat; mask: var(--i-check) center / contain no-repeat;
}

.hb-hero__media { position: relative; min-height: 520px; }
.hb-hero__media > figure { margin: 0 !important; position: absolute; overflow: hidden; background: var(--white); }
.hb-hero__media > figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hb-photo-back { top: 0; right: 0; width: 64%; aspect-ratio: 450 / 520; border-radius: var(--r-l) var(--r-l) var(--r-l) 6px; }
.hb-photo-front { left: 0; bottom: 0; width: 58%; aspect-ratio: 340 / 490; border-radius: 6px var(--r-l) var(--r-l) var(--r-l); border: 6px solid var(--white); box-shadow: 0 30px 60px -30px rgba(11,52,70,.55); }
.hb-hero--service .hb-hero__media { min-height: 0; }
.hb-photo-single { position: relative !important; width: 100%; border-radius: var(--r-l) var(--r-l) var(--r-l) 6px; }
.hb-photo-single img { aspect-ratio: 4 / 4.2; }
.hb-badge { position: absolute; right: 0; bottom: 34px; z-index: 2; margin: 0 !important; }
.hb-hero--service .hb-badge { right: auto; left: -24px; bottom: 28px; }
.hb-badge a {
  display: grid; gap: 4px; padding: 14px 18px 14px; background: var(--white); color: var(--ink); text-decoration: none;
  border-radius: var(--r-m); box-shadow: 0 18px 40px -18px rgba(11,52,70,.45); font-size: .92rem; font-weight: 600; line-height: 1.3;
}
.hb-badge a::before { content: ""; width: 98px; height: 18px; background: #e3a400; -webkit-mask: var(--i-star) 0 0 / 18px 18px repeat-x; mask: var(--i-star) 0 0 / 20px 18px repeat-x; }
.hb-badge a:hover { color: var(--blue); }

.hb-crumbs { font-size: .9rem; color: var(--ink-soft); }
.hb-crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.hb-crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.hb-crumbs a { color: var(--ink-soft); }

@media (max-width: 920px) {
  .hb-hero__grid { grid-template-columns: 1fr; }
  .hb-lane { padding-right: 32px; }
  .hb-hero__media { min-height: 0; height: clamp(300px, 72vw, 460px); max-width: 560px; }
  .hb-hero--service .hb-hero__media { height: auto; }
  .hb-photo-single img { aspect-ratio: 4 / 3; }
  .hb-hero--service .hb-badge { left: 16px; }
}
@media (max-width: 640px) {
  .hb-lane { padding: 26px 26px 28px 0; }
  .hb-checks { display: grid; gap: 8px; }
  .hb-facts { grid-template-columns: 1fr; }
  .hb-lane .wp-block-button { flex: 1 1 100%; }
  .hb-lane .wp-block-button__link { width: 100%; }
}
@media (min-width: 921px) and (max-width: 1100px) { .hb-hero h1 { font-stretch: 104%; } }

/* ---------- Abschnittsnavigation ---------- */
.hb-subnav { position: sticky; top: var(--header-h); z-index: 40; background: var(--white); border-bottom: 1px solid var(--line); }
.admin-bar .hb-subnav { top: calc(var(--header-h) + 32px); }
.hb-subnav ul { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; list-style: none; margin: 0; padding: 0; }
.hb-subnav ul::-webkit-scrollbar { display: none; }
.hb-subnav li { margin: 0; flex: none; }
.hb-subnav a { display: block; padding: 14px 14px 12px; white-space: nowrap; font-weight: 600; font-size: .95rem; color: var(--ink-soft); text-decoration: none; border-bottom: 3px solid transparent; }
.hb-subnav a:hover { color: var(--ink); }
.hb-subnav a.is-current { color: var(--ink); border-bottom-color: var(--teal); }

/* ---------- Listen mit Titel (Nutzen, Gründe, Module) ---------- */
.hn-site ul.hb-cards, .hn-site ul.hb-ticks, .hn-site ol.hb-flow, .hn-site ol.hb-steps, .hn-site ul.hb-strip, .hn-site ul.hb-factors,
.hn-site ul.hb-reasons, .hn-site ul.hb-promise, .hn-site ul.hb-places, .hn-site ul.hb-direct, .hn-site ul.hb-hint-list { list-style: none; margin: 0; padding: 0; }
.hb-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); border-top: 2px solid var(--ink); }
.hb-cards li { padding: 24px 24px 22px 0; margin: 0; color: var(--ink-soft); border-bottom: 1px solid var(--line); }
.hb-cards li strong:first-child { display: block; font-size: 1.15rem; font-weight: 700; font-stretch: 106%; color: var(--ink); margin-bottom: 8px; line-height: 1.25; }
@media (min-width: 761px) { .hb-cards li + li { padding-left: 24px; border-left: 1px solid var(--line); } .hb-cards { border-bottom: 0; } }
.hb-section--fog .hb-cards, .hb-section--glass .hb-cards { border-top-color: var(--ink); }

.hb-ticks { display: grid; gap: 12px; }
.hb-ticks li { position: relative; display: block; padding-left: 32px; margin: 0; color: var(--ink-soft); }
.hn-site .hb-ticks li::before { position: absolute; left: 0; top: .15em; margin: 0; }
.hb-ticks li strong:first-child { color: var(--ink); }
.hb-module .hb-ticks li { padding-left: 28px; }
.hn-site .hb-body > * + * { margin-top: 28px; }
.hb-body > p { max-width: 46em; }

.hb-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.hb-strip li { padding-top: 18px; border-top: 4px solid var(--teal); margin: 0; color: var(--ink-soft); }
.hb-strip li strong:first-child { display: block; font-size: 1.1rem; font-weight: 700; font-stretch: 106%; margin-bottom: 4px; color: var(--ink); }

.hb-reasons li { padding: 22px 0; border-bottom: 1px solid var(--line); margin: 0; color: var(--ink-soft); }
.hb-reasons li:first-child { border-top: 2px solid var(--ink); }
.hb-reasons li strong:first-child { display: block; font-size: 1.2rem; font-weight: 700; font-stretch: 106%; color: var(--ink); margin-bottom: 6px; }

/* Module mit Unterüberschriften */
.hb-modules { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.hb-module { padding: 26px 26px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m); }
.hb-section--fog .hb-module, .hb-section--glass .hb-module { border-color: transparent; }
.hb-section:not(.hb-section--fog):not(.hb-section--glass):not(.hb-section--ink) .hb-module { background: var(--fog); border-color: transparent; }
.hn-site .hb-module > * + * { margin-top: 12px !important; }
.hb-module h3 { display: flex; gap: 12px; align-items: baseline; }
.hb-module h3::before { content: ""; flex: none; width: 18px; height: 4px; border-radius: 2px; background: var(--teal); transform: translateY(-.3em); }
.hb-module p { color: var(--ink-soft); }
.hb-module .hb-ticks { gap: 8px; font-size: .98rem; }
.hb-module .hb-ticks li::before { width: 18px; height: 18px; }

/* Zweispaltig mit Bild */
.hb-split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.hb-split--media-left { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.hb-split--media-left > .hb-media { order: -1; }
.hb-media { margin: 0 !important; position: sticky; top: calc(var(--header-h) + 80px); }
.hb-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--r-l) var(--r-l) 6px var(--r-l); display: block; }
.hn-site .hb-split > div > * + * { margin-top: 22px; }
.hb-split .hb-head { margin-bottom: 8px; }
@media (max-width: 900px) { .hb-split, .hb-split--media-left { grid-template-columns: 1fr; } .hb-media { position: static; max-width: 520px; } .hb-split--media-left > .hb-media { order: 0; } .hb-media img { aspect-ratio: 4 / 3; } }

/* ---------- Ablauf ---------- */
.hb-steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); counter-reset: step; }
.hb-steps::before { content: ""; position: absolute; left: 0; right: 0; top: 34px; height: 14px; border-radius: 7px; background: linear-gradient(90deg, var(--line), var(--teal)); }
.hb-steps li { position: relative; margin: 0; color: var(--ink-soft); counter-increment: step; }
.hb-steps li::before {
  content: counter(step); position: relative; z-index: 1; display: grid; place-items: center; width: 82px; height: 82px; margin-bottom: 24px;
  background: var(--white); border: 2px solid var(--ink); border-radius: 50%; color: var(--ink);
  font-size: 2.1rem; font-weight: 800; font-stretch: 120%; line-height: 1;
}
.hb-steps li:last-child::before { background: var(--yellow); border-color: var(--yellow); }
.hb-steps li strong:first-child { display: block; font-size: 1.3rem; font-weight: 700; font-stretch: 106%; color: var(--ink); margin-bottom: 10px; }
@media (max-width: 860px) {
  .hb-steps { grid-template-columns: 1fr; gap: 32px; }
  .hb-steps::before { left: 34px; right: auto; top: 0; bottom: 0; width: 14px; height: auto; background: linear-gradient(180deg, var(--line), var(--teal)); }
  .hb-steps li { padding-left: 102px; min-height: 82px; }
  .hb-steps li::before { position: absolute; left: 0; top: 0; margin: 0; }
}

.hb-flow { display: grid; grid-template-columns: repeat(3, 1fr); counter-reset: flow; }
.hb-flow li { position: relative; padding: 0 28px 36px 0; margin: 0; color: var(--ink-soft); counter-increment: flow; }
.hb-flow li::before {
  content: counter(flow); position: relative; z-index: 1; display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 18px;
  border-radius: 50%; background: var(--white); border: 2px solid var(--ink); color: var(--ink); font-weight: 800; font-size: 1.35rem; font-stretch: 120%;
}
.hb-section--fog .hb-flow li::before { background: var(--fog); }
.hb-flow li::after { content: ""; position: absolute; top: 26px; left: 54px; right: 0; height: 2px; background: repeating-linear-gradient(90deg, var(--ink-soft) 0 6px, transparent 6px 12px); opacity: .5; }
.hb-flow li:nth-child(3n)::after, .hb-flow li:last-child::after { display: none; }
.hb-flow li:last-child::before { background: var(--yellow); border-color: var(--yellow); }
.hb-flow li strong:first-child { display: block; font-size: 1.15rem; font-weight: 700; font-stretch: 106%; color: var(--ink); margin-bottom: 6px; }
.hb-flow--4 { grid-template-columns: repeat(4, 1fr); }
.hb-flow--4 li:nth-child(3n)::after { display: block; }
.hb-flow--4 li:nth-child(4n)::after, .hb-flow--4 li:last-child::after { display: none; }
@media (max-width: 860px) {
  .hb-flow, .hb-flow--4 { grid-template-columns: 1fr; }
  .hb-flow li { padding: 0 0 28px 74px; }
  .hb-flow li::before { position: absolute; left: 0; top: 0; margin: 0; }
  .hb-flow li::after, .hb-flow--4 li::after { display: block !important; top: 54px; bottom: 0; left: 26px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--ink-soft) 0 6px, transparent 6px 12px); }
  .hb-flow li:last-child::after { display: none !important; }
}

/* ---------- Kosten (dunkel) ---------- */
.hb-costs { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.hn-site .hb-costs > div > * + * { margin-top: 22px; }
.hb-quote { font-size: clamp(1.3rem, 1rem + 1vw, 1.8rem) !important; font-weight: 700; font-stretch: 110%; line-height: 1.18; color: var(--white) !important; }
.hb-factors { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.18); border-radius: var(--r-m); overflow: hidden; border: 1px solid rgba(255,255,255,.18); }
.hb-factors li { background: var(--ink); padding: 24px; margin: 0; color: rgba(255,255,255,.76); }
.hb-factors li strong:first-child { display: block; font-size: 1.12rem; font-weight: 700; font-stretch: 106%; color: var(--white); margin-bottom: 6px; }
.hb-factors li:nth-last-child(1):nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 900px) { .hb-costs { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .hb-factors { grid-template-columns: 1fr; } }

/* ---------- Qualitätsversprechen (dunkel) ---------- */
.hb-promise__top { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(28px, 5vw, 72px); align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.hn-site .hb-promise__top > div > * + * { margin-top: 20px; }
.hb-promise__img { position: relative; justify-self: end; width: min(100%, 300px); margin: 0 !important; }
.hb-promise__img img { border-radius: 50% 50% 50% 8px; aspect-ratio: 1; object-fit: cover; width: 100%; display: block; }
.hb-promise__img::before { content: ""; position: absolute; inset: -14px; border-radius: 50% 50% 50% 14px; border: 2px dashed rgba(255,207,51,.6); }
.hb-promise { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.22); }
.hb-promise li { padding: 28px 28px 0 0; margin: 0; }
.hb-promise li + li { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.22); }
.hb-promise li strong:first-child { display: flex; gap: 10px; align-items: flex-start; font-size: 1.25rem; font-weight: 700; font-stretch: 108%; color: var(--white); margin-bottom: 10px; }
.hb-promise li strong:first-child::before { content: ""; width: 24px; height: 24px; flex: none; background: var(--yellow); -webkit-mask: var(--i-check) center / contain no-repeat; mask: var(--i-check) center / contain no-repeat; }
@media (max-width: 860px) {
  .hb-promise__top { grid-template-columns: 1fr; }
  .hb-promise__img { justify-self: start; width: 200px; order: -1; }
  .hb-promise { grid-template-columns: 1fr; }
  .hb-promise li, .hb-promise li + li { padding: 24px 0; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.22); }
}

/* ---------- Warum Hanna ---------- */
.hb-why { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.hn-site .hb-why > div > * + * { margin-top: 22px; }
.hb-why figure { margin: 32px 0 0 !important; }
.hb-why figure img { border-radius: var(--r-m) var(--r-m) var(--r-m) 4px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; display: block; }
.hb-statement { margin-top: clamp(56px, 8vw, 100px) !important; font-size: clamp(1.9rem, 1rem + 3.6vw, 4rem); font-weight: 800; font-stretch: 122%; line-height: 1.02; letter-spacing: -.02em; color: var(--ink); max-width: 18em; }
@media (max-width: 860px) { .hb-why { grid-template-columns: 1fr; } }

/* ---------- Leistungsverzeichnis ---------- */
.hb-services { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.hb-services__preview { position: sticky; top: calc(var(--header-h) + 28px); margin: 0; }
.hb-services__preview .frame { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-l) var(--r-l) var(--r-l) 6px; overflow: hidden; background: var(--glass); }
.hb-services__preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .25s ease; }
.hb-services__preview img.is-swapping { opacity: 0; }
.hb-services__preview figcaption { margin-top: 18px; display: grid; gap: 4px; }
.hb-services__preview figcaption strong { font-size: 1.35rem; font-weight: 720; font-stretch: 110%; }
.hb-services__preview figcaption span { color: var(--ink-soft); }
.svc-group + .svc-group { margin-top: 40px; }
.hn-site .svc-group h3 { display: flex; align-items: baseline; gap: 10px; font-size: 1rem; font-weight: 650; font-stretch: 100%; color: var(--ink-soft); padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.svc-group h3 small { font-weight: 500; font-size: .9rem; }
.svc-group ul { list-style: none; margin: 0; padding: 0; }
.svc-group li { margin: 0; }
.svc {
  position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 16px;
  padding: 16px 12px 16px 0; text-decoration: none; color: var(--ink) !important; border-bottom: 1px solid var(--line);
}
.svc::before { content: ""; position: absolute; inset: 0 0 0 -14px; z-index: -1; background: var(--glass); border-radius: var(--r-s); transform: scaleX(0); transform-origin: left center; transition: transform .32s var(--ease); }
.svc:hover::before, .svc:focus-visible::before, .svc.is-active::before { transform: scaleX(1); }
.svc__name { font-size: clamp(1.2rem, 1rem + .7vw, 1.6rem); font-weight: 700; font-stretch: 110%; line-height: 1.15; }
.svc__tag { grid-column: 1; color: var(--ink-soft); font-size: .98rem; min-width: 0; }
.svc__go, .hgr-go { grid-row: 1 / span 2; grid-column: 2; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--line); color: var(--ink); transition: background-color .2s ease, border-color .2s ease; }
.svc__go::after, .hgr-go::after { content: ""; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--i-arrow) center / contain no-repeat; mask: var(--i-arrow) center / contain no-repeat; }
.svc:hover .svc__go, .svc:focus-visible .svc__go { background: var(--yellow); border-color: var(--yellow); }
.svc__thumb { display: none; }
@media (max-width: 860px) {
  .hb-services { grid-template-columns: 1fr; }
  .hb-services__preview { display: none; }
  .svc { grid-template-columns: 76px minmax(0, 1fr) auto; padding: 12px 0; }
  .svc::before { left: -8px; right: -8px; }
  .svc__thumb { display: block; grid-row: 1 / span 2; width: 76px; height: 60px; object-fit: cover; border-radius: 6px; }
  .svc__name, .svc__tag { grid-column: 2; }
  .svc__name { font-stretch: 100%; hyphens: auto; }
  .svc__go { grid-column: 3; width: 36px; height: 36px; }
}

/* ---------- Einsatzgebiet ---------- */
.hb-area { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hn-site .hb-area > div > * + * { margin-top: 18px; }
.hb-places { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px !important; }
.hb-places li { padding: 6px 14px; margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: 999px; font-weight: 550; font-size: .95rem; }
.hb-places li:first-child { background: var(--ink); color: var(--white); border-color: var(--ink); }
.hb-map { margin: 0; }
.hb-map svg { width: 100%; height: auto; display: block; }
.hb-map figcaption { font-size: .88rem; color: var(--ink-soft); margin-top: 8px; text-align: left; }
@media (max-width: 860px) { .hb-area { grid-template-columns: 1fr; } }

/* ---------- Bewertungen (Plugin Google Business Reviews) ---------- */
.hb-reviews .gbr-reviews-wrapper { font-family: var(--font); color: var(--ink); margin: 0; padding: 0; max-width: none; background: none; }
.hb-reviews p:has(> .gbr-reviews-wrapper) { margin: 0; }
.hb-reviews .gbr-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 24px; margin: 0 0 36px; text-align: left; }
.hn-site .hb-reviews .gbr-title { font-size: clamp(1.85rem, 1.25rem + 2.2vw, 3rem); font-weight: 740; font-stretch: 112%; line-height: 1.06; letter-spacing: -.015em; margin: 0; color: var(--ink); }
.hb-reviews .gbr-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 0; }
.hb-reviews .gbr-count { color: var(--ink-soft); font-size: .95rem; }
.hb-reviews .gbr-star { color: #e3a400; font-size: 1.1rem; letter-spacing: 1px; }
.hb-reviews .gbr-all-reviews-button {
  display: inline-flex; align-items: center; gap: .45em; padding: 0; background: none !important; border: 0; box-shadow: none;
  color: var(--blue) !important; font-weight: 650; text-decoration: none; font-size: 1rem;
}
.hb-reviews .gbr-all-reviews-button::after { content: ""; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--i-arrow) center / contain no-repeat; mask: var(--i-arrow) center / contain no-repeat; }
.hb-reviews .gbr-review-card {
  height: 100%; display: flex; flex-direction: column; gap: 12px; padding: 26px 26px 22px; margin: 0;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: none; text-align: left;
}
.hb-reviews .splide__slide:first-child .gbr-review-card { background: var(--ink); border-color: var(--ink); color: var(--white); }
.hb-reviews .splide__slide:first-child .gbr-review-card * { color: var(--white); }
.hb-reviews .splide__slide:first-child .gbr-star { color: var(--yellow); }
.hb-reviews .gbr-review-author { order: 3; margin-top: auto; font-weight: 650; font-size: .95rem; }
.hb-reviews .gbr-review-text, .hb-reviews .gbr-review-card p { font-size: 1.02rem; line-height: 1.55; color: inherit; margin: 0; }
.hb-reviews .gbr-read-more, .hb-reviews .gbr-toggle { color: var(--blue); font-weight: 600; background: none; border: 0; padding: 0; cursor: pointer; }
.hb-reviews .splide__arrow { background: var(--white); border: 1.5px solid var(--line); opacity: 1; width: 44px; height: 44px; }
.hb-reviews .splide__arrow svg { fill: var(--ink); }
.hb-reviews .splide__pagination__page.is-active { background: var(--teal) !important; }

/* ---------- FAQ ---------- */
.hb-faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.hb-faq__intro { position: sticky; top: calc(var(--header-h) + 80px); }
.hn-site .hb-faq__intro > * + * { margin-top: 18px; }
.hb-faq__intro p { color: var(--ink-soft); }
.hb-faq__intro a { font-weight: 650; }
.hb-faq .wp-block-details { border-bottom: 1px solid var(--line); margin: 0; padding: 0; }
.hb-faq .wp-block-details:first-child { border-top: 2px solid var(--ink); }
.hb-faq summary {
  position: relative; display: block; padding: 20px 54px 20px 0; cursor: pointer; list-style: none;
  font-size: 1.12rem; font-weight: 650; font-stretch: 104%; color: var(--ink);
}
.hb-faq summary::-webkit-details-marker { display: none; }
.hb-faq summary::before, .hb-faq summary::after { content: ""; position: absolute; right: 11px; top: 50%; width: 12px; height: 2px; margin-top: -1px; background: var(--ink); border-radius: 1px; transition: transform .25s var(--ease-out); }
.hb-faq summary::after { transform: rotate(90deg); }
.hb-faq .wp-block-details[open] summary::after { transform: rotate(0deg); }
.hb-faq summary:hover { color: var(--blue); }
.hb-faq .wp-block-details > :not(summary) { margin: 0 0 22px; padding-right: 54px; color: var(--ink-soft); max-width: 44em; }
.hb-faq .wp-block-details summary + * { margin-top: 0; }
.hb-faq__list { position: relative; }
.hb-faq .wp-block-details summary { background-image: radial-gradient(circle, transparent 15.5px, var(--line) 16px, var(--line) 17px, transparent 17.5px); background-position: right 0 center; background-size: 34px 34px; background-repeat: no-repeat; }
.hb-faq .wp-block-details[open] summary { background-image: radial-gradient(circle, var(--yellow) 17px, transparent 17.5px); }
@media (max-width: 860px) { .hb-faq { grid-template-columns: 1fr; } .hb-faq__intro { position: static; } .hb-faq .wp-block-details > :not(summary) { padding-right: 0; } }

/* ---------- Ratgeber-Verweise auf Leistungsseiten (siehe service-guides.css) ---------- */

/* ---------- Kontakt und Formular ---------- */
.hb-contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.hn-site .hb-contact > div > * + * { margin-top: 20px; }
.hb-direct { display: grid; gap: 2px; margin-top: 28px !important; }
.hb-direct li { margin: 0; }
.hb-direct a { display: flex; align-items: center; gap: 12px; padding: 10px 0; font-weight: 650; font-size: 1.08rem; color: var(--ink); text-decoration: none; }
.hb-direct a:hover { color: var(--blue); }
.hb-direct a::before { content: ""; width: 22px; height: 22px; flex: none; background: var(--teal-ink); -webkit-mask: var(--i-pin) center / contain no-repeat; mask: var(--i-pin) center / contain no-repeat; }
.hb-direct a[href^="tel:"]::before { -webkit-mask-image: var(--i-phone); mask-image: var(--i-phone); }
.hb-direct a[href^="mailto:"]::before { -webkit-mask-image: var(--i-mail); mask-image: var(--i-mail); }
.hb-hint { padding: 22px 24px; background: var(--white); border-radius: var(--r-m); border-left: 6px solid var(--teal); margin-top: 32px !important; }
.hn-site .hb-hint h3 { font-size: 1.05rem; font-weight: 700; font-stretch: 100%; margin-bottom: 10px; }
.hb-hint-list { display: grid; gap: 6px; color: var(--ink-soft); font-size: .98rem; }
.hb-hint-list li { padding-left: 18px; position: relative; margin: 0; }
.hb-hint-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 3px; border-radius: 2px; background: var(--teal); }
.hb-form { padding: clamp(24px, 4vw, 44px); background: var(--white); border-radius: var(--r-l) var(--r-l) var(--r-l) 8px; box-shadow: 0 40px 80px -48px rgba(11,52,70,.5); }
.hb-form .wpcf7 { margin: 0; }
.hb-form .wpcf7 form > p, .hb-form .wpcf7 form > div { margin: 0; }
.hb-form fieldset { border: 0; padding: 0; margin: 0 0 24px; min-width: 0; }
.hb-form legend, .hb-form .hf-label { display: block; font-weight: 650; font-size: .98rem; margin-bottom: 10px; padding: 0; color: var(--ink); }
.hb-form legend small, .hb-form .hf-label small { font-weight: 450; color: var(--ink-soft); }
.hb-form .wpcf7-checkbox { display: flex; flex-wrap: wrap; gap: 8px; }
.hb-form .wpcf7-list-item { margin: 0; }
.hb-form .hf-chips .wpcf7-list-item label { position: relative; display: block; cursor: pointer; }
.hb-form .hf-chips .wpcf7-list-item input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.hb-form .hf-chips .wpcf7-list-item-label {
  display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 999px;
  font-size: .95rem; font-weight: 550; background: var(--white); transition: background-color .15s ease, border-color .15s ease;
}
.hb-form .hf-chips input:hover + .wpcf7-list-item-label { border-color: var(--ink-soft); }
.hb-form .hf-chips input:checked + .wpcf7-list-item-label { background: var(--ink); color: var(--white); border-color: var(--ink); }
.hb-form .hf-chips input:checked + .wpcf7-list-item-label::before { content: ""; width: 10px; height: 6px; border-left: 2px solid var(--yellow); border-bottom: 2px solid var(--yellow); transform: rotate(-45deg) translateY(-2px); }
.hb-form .hf-chips input:focus-visible + .wpcf7-list-item-label { outline: 3px solid var(--blue); outline-offset: 2px; }
.hb-form .hf-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 20px; }
.hb-form .hf-field { display: block; margin: 0; font-weight: 650; font-size: .95rem; color: var(--ink); }
.hb-form .hf-field--full { grid-column: 1 / -1; }
.hb-form .wpcf7-form-control-wrap { display: block; margin-top: 6px; }
.hb-form .hf-quiz .wpcf7-form-control-wrap { margin-top: 0; }
.hb-form input[type="text"], .hb-form input[type="email"], .hb-form input[type="tel"], .hb-form input[type="number"], .hb-form textarea {
  width: 100%; font: inherit; font-size: 1rem; font-weight: 400; color: var(--ink); padding: 13px 14px; min-height: 50px;
  background: var(--fog); border: 1.5px solid var(--line); border-radius: var(--r-s); transition: border-color .15s ease, background-color .15s ease;
}
.hb-form textarea { min-height: 120px; height: 140px; resize: vertical; }
.hb-form input:hover, .hb-form textarea:hover { border-color: var(--ink-soft); }
.hb-form input:focus, .hb-form textarea:focus { outline: none; border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 3px rgba(12,108,154,.18); }
.hb-form .hf-quiz { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0 0 18px; font-weight: 650; font-size: .95rem; }
.hb-form .hf-quiz .wpcf7-form-control-wrap { display: inline-flex; align-items: center; gap: 10px; }
.hb-form .hf-quiz input { width: 96px; min-height: 46px; }
.hb-form .hf-consent { margin: 4px 0 24px; font-size: .92rem; color: var(--ink-soft); }
.hb-form .hf-consent .wpcf7-list-item label { display: flex; gap: 12px; align-items: flex-start; }
.hb-form .hf-consent input[type="checkbox"] { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--ink); }
.hb-form .wpcf7-submit {
  width: 100%; min-height: 54px; border: 0; border-radius: var(--r-s); background: var(--yellow); color: var(--ink);
  font: inherit; font-weight: 700; font-stretch: 104%; font-size: 1.02rem; cursor: pointer; transition: background-color .18s ease;
}
.hb-form .wpcf7-submit:hover:not(:disabled) { background: var(--yellow-hover); }
.hb-form .wpcf7-submit:disabled { opacity: .55; cursor: not-allowed; }
.hb-form .wpcf7-spinner { display: block; margin: 10px auto 0; }
.hb-form .wpcf7-not-valid-tip { color: #b3261e; font-size: .88rem; font-weight: 550; margin-top: 4px; }
.hb-form .wpcf7 form .wpcf7-response-output { margin: 16px 0 0; padding: 12px 14px; border-radius: var(--r-s); border-width: 2px; font-size: .95rem; }
.hb-form .hf-note { margin: 12px 0 0; font-size: .88rem; color: var(--ink-soft); }
@media (max-width: 860px) { .hb-contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .hb-form .hf-fields { grid-template-columns: 1fr; } }

/* ---------- Fußbereich ---------- */
.site-footer { background: var(--white); border-top: 1px solid var(--line); padding: 64px 0 32px; font-size: .97rem; color: var(--ink); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.hn-site .site-footer h2 { font-size: .95rem; font-weight: 700; font-stretch: 100%; margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--blue); text-decoration: underline; }
.site-footer address { font-style: normal; color: var(--ink-soft); margin-bottom: 12px; }
.site-footer__brand img { width: 200px; height: auto; margin-bottom: 16px; display: block; }
.site-footer__brand p { color: var(--ink-soft); max-width: 22em; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 12px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .9rem; }
.site-footer__legal { display: grid; gap: 4px; }
.site-footer__legal a { color: var(--ink-soft); text-decoration: underline; }
.site-footer button[data-webseo-consent-open] { font: inherit; color: var(--ink); background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.site-footer button[data-webseo-consent-open]:hover { color: var(--blue); text-decoration: underline; }
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 420px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ---------- Ratgeber-Kontaktband ---------- */
.hb-band { background: var(--ink); color: var(--white); padding: clamp(56px, 7vw, 96px) 0; }
.hb-band__inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hn-site .hb-band h2 { color: var(--white); font-size: clamp(1.85rem, 1.25rem + 2.2vw, 3rem); font-weight: 740; font-stretch: 112%; line-height: 1.06; }
.hb-band p { color: rgba(255,255,255,.82); margin-top: 16px; max-width: 34em; }
.hb-band__actions { display: grid; gap: 14px; justify-items: start; }
.hb-band__actions a:not(.btn-cta) { color: var(--white); font-weight: 650; }
.hb-band__phone { font-size: 1.4rem; font-stretch: 110%; text-decoration: none; }
@media (max-width: 860px) { .hb-band__inner { grid-template-columns: 1fr; } }

/* ---------- Rechtliche Seiten, Suche, 404 ---------- */
.hb-legal { padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 9vw, 120px); }
.hb-legal .hb-prose { max-width: 46em; }
.hb-legal .hb-prose h2 { font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2rem); font-weight: 720; font-stretch: 108%; margin: 2.2em 0 .6em; line-height: 1.15; }
.hb-legal .hb-prose h3 { font-size: 1.2rem; font-weight: 700; font-stretch: 104%; margin: 1.8em 0 .5em; }
.hb-legal .hb-prose h4 { font-size: 1.05rem; font-weight: 700; margin: 1.4em 0 .4em; }
.hb-legal .hb-prose p, .hb-legal .hb-prose li { color: var(--ink-soft); }
.hb-legal .hb-prose ul { padding-left: 1.2em; }
.hb-legal .hb-prose > :first-child { margin-top: 0; }
.hb-hero--slim { padding-bottom: clamp(40px, 5vw, 64px); }
.hb-hero--slim .hb-hero__grid { grid-template-columns: minmax(0, 1fr); }
.hb-hero--slim .hb-lane { max-width: 860px; }

.hn-error { width: 100%; max-width: calc(860px + 2 * var(--gutter)); margin: 0 auto; padding: clamp(48px, 7vw, 96px) var(--gutter) clamp(64px, 9vw, 120px); }
.hn-error h1 { font-size: clamp(2rem, 1.2rem + 3vw, 3.4rem); font-weight: 780; font-stretch: 114%; line-height: 1.04; margin-bottom: 24px; }
.hn-error .wp-block-post-title { font-size: 1.35rem; font-weight: 700; font-stretch: 106%; margin: 32px 0 6px; }
.hn-error .wp-block-post-title a { color: var(--ink); text-decoration: none; }
.hn-error .wp-block-post-title a:hover { color: var(--blue); }
.hn-error .wp-block-post-excerpt { color: var(--ink-soft); }
.hn-error .wp-block-search__inside-wrapper { display: flex; gap: 8px; max-width: 560px; }
.hn-error .wp-block-search__input { flex: 1; min-height: 52px; padding: 12px 14px; font: inherit; border: 1.5px solid var(--line); border-radius: var(--r-s); background: var(--fog); }
.hn-error .wp-block-search__button { min-height: 52px; padding: 0 20px; border: 0; border-radius: var(--r-s); background: var(--yellow); color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; }
.hn-error .wp-block-search__label { display: block; font-weight: 650; margin-bottom: 8px; }

/* ---------- Büro: Grundriss und Intervalle ---------- */
.hb-plan { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 64px); align-items: center; margin-top: 28px; }
.hb-plan__figure { margin: 0; padding: clamp(16px, 3vw, 32px); background: var(--white); border-radius: var(--r-l); border: 1px solid var(--line); }
.hb-plan__figure figcaption { font-size: .88rem; color: var(--ink-soft); margin-top: 12px; }
.hb-plan svg .zone { fill: var(--fog); transition: fill .25s ease; }
.hb-plan svg .zone.is-active { fill: rgba(0,174,190,.22); }
.hb-plan svg .wall { fill: none; stroke: var(--ink); stroke-width: 4; stroke-linecap: round; }
.hb-plan svg .furn { fill: var(--white); stroke: #9fbfc9; stroke-width: 1.5; }
.hb-plan svg .lbl { font: 650 13px var(--font); fill: var(--ink-soft); }
.hb-plan svg .zone-g { cursor: pointer; }
.hb-plan svg .zone-g.is-active .lbl { fill: var(--ink); }
.hb-modules-pick { display: grid; gap: 8px; }
.hb-module-btn {
  display: grid; grid-template-columns: 34px 1fr; gap: 2px 14px; width: 100%; padding: 14px 16px; text-align: left;
  font: inherit; color: var(--ink); background: transparent; border: 1.5px solid var(--line); border-radius: var(--r-m); cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease;
}
.hb-module-btn:hover { border-color: var(--ink-soft); }
.hb-module-btn[aria-pressed="true"] { background: var(--white); border-color: var(--teal); box-shadow: inset 4px 0 0 var(--teal); }
.hb-module-btn .key { grid-row: 1 / span 2; width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; background: var(--glass); font-weight: 750; font-stretch: 115%; }
.hb-module-btn[aria-pressed="true"] .key { background: var(--teal); color: var(--white); }
.hb-module-btn strong { font-weight: 700; font-size: 1.05rem; }
.hb-module-btn span:last-child { color: var(--ink-soft); font-size: .96rem; }
@media (max-width: 900px) { .hb-plan { grid-template-columns: 1fr; } }

.hb-interval { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 64px); align-items: center; margin-top: clamp(56px, 7vw, 88px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.hn-site .hb-interval > div > * + * { margin-top: 14px; }
.hb-seg { display: inline-flex; padding: 5px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; margin: 20px 0 8px !important; }
.hb-seg button { font: inherit; font-weight: 650; padding: 10px 18px; min-height: 44px; border: 0; border-radius: 999px; background: none; color: var(--ink-soft); cursor: pointer; }
.hb-seg button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.hb-interval__text { min-height: 3.4em; color: var(--ink-soft); }
.hb-cal { padding: clamp(18px, 3vw, 28px); background: var(--white); border-radius: var(--r-l); border: 1px solid var(--line); }
.hb-cal__head, .hb-cal__week { display: grid; grid-template-columns: 76px repeat(5, 1fr); gap: 8px; align-items: center; }
.hb-cal__head { font-size: .82rem; font-weight: 650; color: var(--ink-soft); margin-bottom: 8px; text-align: center; }
.hb-cal__week + .hb-cal__week { margin-top: 8px; }
.hb-cal__week span:first-child { font-size: .85rem; color: var(--ink-soft); font-weight: 600; }
.hb-cal__day { height: 40px; border-radius: 8px; background: var(--fog); border: 1px dashed var(--line); transition: background-color .25s ease, border-color .25s ease; }
.hb-cal__day.is-on { background: var(--teal); border: 1px solid var(--teal); }
.hb-cal__note { font-size: .86rem; color: var(--ink-soft); margin: 14px 0 0; }
@media (max-width: 900px) { .hb-interval { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .hb-seg { display: flex; width: 100%; } .hb-seg button { flex: 1 1 0; min-width: 0; padding: 10px 6px; font-size: .92rem; } .hb-cal__head, .hb-cal__week { grid-template-columns: 58px repeat(5, 1fr); gap: 5px; } }

/* ---------- Schmale Geräte ---------- */
@media (max-width: 420px) {
  .hn-site .hb-section h2, .hn-site .hb-h2, .hn-site .hb-reviews .gbr-title { font-stretch: 104%; font-size: 1.75rem; }
  .hb-display, .hn-site .hb-hero h1 { font-size: 2.15rem; font-stretch: 104%; }
  .hb-statement { font-stretch: 108%; }
}

/* ---------- Bewegung reduzieren und Druck ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lane__fog, .lane__track { display: none; }
  .hn-site *, .hn-site *::before, .hn-site *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media print {
  .site-header, .hb-subnav, .action-bar, .lane__fog, .lane__track, .hb-form, #webseo-cookie-manager { display: none !important; }
  body.hn-site { padding: 0; }
  .hb-section { padding: 24px 0; }
}

/* Hinweisbox in Fließtext */
.hb-note-box { padding: 20px 22px; background: var(--white); border-radius: var(--r-m); color: var(--ink) !important; }
.hb-section--fog .hb-note-box, .hb-section--glass .hb-note-box { background: var(--white); }
.hb-section:not(.hb-section--fog):not(.hb-section--glass) .hb-note-box { background: var(--glass); }

/* Bewertungs-Karussell: Pfeile innerhalb des Inhaltsbereichs */
.hb-reviews .splide { position: relative; }
.hb-reviews .splide__arrow--prev { left: -8px; }
.hb-reviews .splide__arrow--next { right: -8px; }
@media (max-width: 760px) { .hb-reviews .splide__arrow { display: none; } }

/* backdrop-filter würde das fest positionierte Mobilmenü auf den Kopfbereich begrenzen */
@media (max-width: 1100px) { .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--white); } }
.hn-site a.btn-cta, .hn-site a.btn-cta:hover { color: var(--ink); }
.hn-site a.btn-ghost:hover { color: var(--white); }

/* ---------- Above the fold: Handy und Tablet – Bild kompakt über dem Titel ---------- */
.hb-after-cta { font-size: .98rem; }
@media (max-width: 920px) {
  .hb-hero { padding-top: 16px; padding-bottom: clamp(40px, 8vw, 64px); }
  .hb-hero__grid { gap: 16px; }
  .hb-hero__media, .hb-hero--service .hb-hero__media {
    order: -1; width: 100%; max-width: none; min-height: 0;
    height: clamp(150px, min(44vw, 27vh), 320px);
  }
  /* Startseite: beide Motive nebeneinander statt überlappend */
  .hb-hero__media > figure.hb-photo-front, .hb-hero__media > figure.hb-photo-back {
    top: 0; bottom: 0; height: 100%; aspect-ratio: auto; border: 0; box-shadow: none;
  }
  .hb-hero__media > figure.hb-photo-front { left: 0; width: 40%; border-radius: var(--r-m) 4px 4px var(--r-m); }
  .hb-hero__media > figure.hb-photo-back { right: 0; left: auto; width: calc(60% - 6px); border-radius: 4px var(--r-m) var(--r-m) 4px; }
  /* Leistungsseiten: ein Bild als Band */
  .hb-hero__media > figure.hb-photo-single { position: absolute !important; inset: 0; width: 100%; height: 100%; border-radius: var(--r-m); }
  .hb-photo-single img { aspect-ratio: auto; height: 100%; }
  .hb-hero__media .hb-badge, .hb-hero--service .hb-hero__media .hb-badge { left: 10px; right: auto; bottom: 10px; }
  .hb-badge a { padding: 7px 11px; font-size: .78rem; gap: 2px; border-radius: 10px; }
  .hb-badge a::before { width: 74px; height: 13px; -webkit-mask-size: 15px 13px; mask-size: 15px 13px; }
  .hb-lane { padding-top: 22px; padding-bottom: 24px; }
  .hn-site .hb-lane > * + * { margin-top: 16px !important; }
  .hn-site .hb-lane > .hb-sub { margin-top: .4em !important; }
}
@media (max-width: 640px) {
  .hb-hero .hb-lead { font-size: 1.05rem; line-height: 1.5; }
}

/* ---------- Nach oben ---------- */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 54;
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink);
  box-shadow: 0 8px 20px -10px rgba(11,52,70,.45); backdrop-filter: blur(6px); cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s ease, transform .25s var(--ease-out), visibility 0s linear .25s, background-color .18s ease;
}
.to-top svg { width: 20px; height: 20px; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity .25s ease, transform .25s var(--ease-out), visibility 0s, background-color .18s ease; }
.to-top:hover { background: var(--yellow); border-color: var(--yellow); }
.to-top:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.menu-open .to-top { display: none; }
.site-footer { padding-bottom: 80px; }
@media (max-width: 640px) {
  .to-top { right: 12px; bottom: calc(80px + env(safe-area-inset-bottom)); width: 40px; height: 40px; }
  .site-footer { padding-bottom: 64px; }
}
@media print { .to-top { display: none !important; } }

/* ---------- Titel im Einstieg: lange Wörter wie „Reinigungsfirma“ ohne Umbruch ----------
   Wortbreite ≈ 9,1 × Schriftgröße (Breite 116 %) bzw. 8,3 × (104 %); Größen mit Reserve zur Spaltenbreite. */
.hn-site .hb-hero h1 { hyphens: manual; overflow-wrap: break-word; }
@media (min-width: 921px) { .hn-site .hb-hero h1 { font-size: clamp(2.35rem, 1rem + 3.6vw, 4.1rem); } }
@media (min-width: 921px) and (max-width: 1180px) { .hn-site .hb-hero h1 { font-stretch: 104%; } }
@media (max-width: 420px) { .hn-site .hb-hero h1 { font-size: min(2.15rem, 9.2vw); } }

/* ---------- Kleben an der Oberkante (Kopfbereich scrollt mit der Seite) ---------- */
.hn-site .hb-subnav { top: 0; }
.admin-bar .hb-subnav { top: 32px; }
@media (max-width: 782px) { .admin-bar .hb-subnav { top: 46px; } }
@media (max-width: 600px) { .admin-bar .hb-subnav { top: 0; } }
.admin-bar .site-header { top: 0; }
.hn-site .hb-services__preview { top: 28px; }
.hn-site .hb-faq__intro { top: 80px; }
.hn-site .hb-media { top: 80px; }

/* Lange Wörter und Ausdrücke im Fließtext dürfen umbrechen */
.hn-site .hb-section p, .hn-site .hb-section li, .hn-site .hb-legal p, .hn-site .hb-legal li { overflow-wrap: break-word; }
.hn-site .hb-module p, .hn-site .hb-module li { hyphens: auto; }
.hn-site .hb-section p, .hn-site .hb-section li { overflow-wrap: anywhere; }
@media (max-width: 860px) { .hb-flow, .hb-flow--4, .hb-steps { grid-template-columns: minmax(0, 1fr); } }
.hn-site .hb-reviews .gbr-title { overflow-wrap: break-word; hyphens: auto; min-width: 0; }
.hb-reviews .gbr-header > * { min-width: 0; }
@media (max-width: 420px) {
  .hn-site .hb-section h2, .hn-site .hb-h2, .hn-site .hb-reviews .gbr-title { font-size: min(1.75rem, 9vw); }
}
@media (max-width: 920px) {
  .hb-hero__grid, .hb-promise__top, .hb-why, .hb-area, .hb-faq, .hb-contact, .hb-costs, .hb-split, .hb-split--media-left, .hb-services, .hb-plan, .hb-interval { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 360px) { .svc::before { left: -4px; right: 0; } .hb-promise__img::before { inset: -10px; } }
