@charset "UTF-8";

/* Funnel Display – self-hosted (DSGVO-konform, lokal in /fonts/) */
@font-face {
  font-family: 'Funnel Display';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/funnel-display-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Funnel Display';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/funnel-display-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --hb-blue: #0000F0;
  --hb-blue-hover: #1414D6;
  --hb-blue-soft: #E8E8FF;
  --hb-black: #0B0B0B;
  --hb-ink: #222F30;
  /* Sekundärtext: 80 % Deckkraft (vorher 60 %) für besseren Kontrast */
  --hb-ink-60: rgba(34, 47, 48, 0.8);
  --hb-ink-40: rgba(34, 47, 48, 0.55);
  --hb-white: #FFFFFF;
  --hb-bg-soft: #F5F7FA;
  --hb-border: #E5E8EC;
  --hb-border-strong: #D1D5DB;
  --hb-danger: #DC2626;
  --hb-warning: #F59E0B;
  --hb-success: #10B981;
  --hb-font-display: 'Funnel Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --hb-font-body: 'Funnel Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --hb-fs-xs: clamp(0.75rem, 0.72rem + 0.15vw, 0.8125rem);
  --hb-fs-sm: clamp(0.875rem, 0.85rem + 0.15vw, 0.9375rem);
  --hb-fs-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --hb-fs-md: clamp(1.125rem, 1.05rem + 0.4vw, 1.375rem);
  --hb-fs-lg: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem);
  --hb-fs-xl: clamp(1.75rem, 1.4rem + 1.7vw, 2.5rem);
  --hb-fs-2xl: clamp(2rem, 1.5rem + 2.5vw, 3rem);
  --hb-fs-3xl: clamp(2.25rem, 1.6rem + 3.2vw, 3.75rem);
  --hb-space-1: 0.25rem;
  --hb-space-2: 0.5rem;
  --hb-space-3: 0.75rem;
  --hb-space-4: 1rem;
  --hb-space-5: 1.25rem;
  --hb-space-6: 1.5rem;
  --hb-space-8: 2rem;
  --hb-space-10: 2.5rem;
  --hb-space-12: 3rem;
  --hb-space-16: 4rem;
  --hb-space-20: 5rem;
  --hb-space-24: 6rem;
  --hb-space-32: 8rem;
  --hb-container: 1200px;
  --hb-container-narrow: 880px;
  --hb-gutter: clamp(1.25rem, 3vw, 2rem);
  --hb-section-y: clamp(4rem, 8vw, 7rem);
  --hb-radius-sm: 6px;
  --hb-radius: 12px;
  --hb-radius-lg: 20px;
  --hb-radius-xl: 28px;
  --hb-shadow-sm: 0 1px 2px rgba(11, 11, 11, 0.04), 0 2px 6px rgba(11, 11, 11, 0.04);
  --hb-shadow: 0 4px 14px rgba(11, 11, 11, 0.06), 0 10px 30px rgba(11, 11, 11, 0.04);
  --hb-shadow-lg: 0 20px 40px rgba(11, 11, 11, 0.08), 0 8px 16px rgba(11, 11, 11, 0.04);
  --hb-shadow-blue: 0 10px 30px rgba(0, 0, 240, 0.18);
  --hb-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --hb-duration: 240ms;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
body {
  margin: 0;
  font-family: var(--hb-font-body);
  font-size: var(--hb-fs-base);
  line-height: 1.55;
  color: var(--hb-ink);
  background: var(--hb-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 var(--hb-space-4);
  font-family: var(--hb-font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--hb-black);
}

h1 {
  font-size: var(--hb-fs-3xl);
  letter-spacing: -0.03em;
}

h2 {
  font-size: var(--hb-fs-2xl);
  letter-spacing: -0.025em;
}

h3 {
  font-size: var(--hb-fs-xl);
}

h4 {
  font-size: var(--hb-fs-lg);
}

p {
  margin: 0 0 var(--hb-space-4);
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--hb-blue);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--hb-duration) var(--hb-ease);
}

a:hover {
  color: var(--hb-blue-hover);
}

img, svg, video {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
}

ul, ol {
  padding-left: 1.2em;
}

ul li, ol li {
  margin-bottom: var(--hb-space-2);
}

.hb-container {
  width: 100%;
  max-width: var(--hb-container);
  margin-inline: auto;
  padding-inline: var(--hb-gutter);
}

.hb-container--narrow {
  max-width: var(--hb-container-narrow);
}

.hb-section {
  padding-block: var(--hb-section-y);
}

.hb-section--soft {
  background: var(--hb-bg-soft);
}

.hb-section--dark {
  background: var(--hb-ink);
  color: var(--hb-white);
}

.hb-section--dark h1,
.hb-section--dark h2,
.hb-section--dark h3 {
  color: var(--hb-white);
}

.hb-eyebrow {
  display: inline-block;
  font-size: var(--hb-fs-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hb-blue);
  margin-bottom: var(--hb-space-4);
}

.hb-lead {
  font-size: var(--hb-fs-md);
  color: var(--hb-ink-60);
  max-width: 60ch;
}

:focus-visible {
  outline: 2px solid var(--hb-blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.hb-skip {
  position: absolute;
  top: -100px;
  left: var(--hb-gutter);
  background: var(--hb-black);
  color: var(--hb-white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--hb-radius-sm);
  z-index: 9999;
  text-decoration: none;
}
.hb-skip:focus {
  top: 1rem;
}

.hb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.95rem 1.5rem;
  font-family: var(--hb-font-display);
  font-size: var(--hb-fs-base);
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border: 1.5px solid transparent;
  border-radius: var(--hb-radius);
  cursor: pointer;
  transition: background var(--hb-duration) var(--hb-ease), color var(--hb-duration) var(--hb-ease), transform var(--hb-duration) var(--hb-ease), box-shadow var(--hb-duration) var(--hb-ease);
  will-change: transform;
}

.hb-btn:hover {
  transform: translateY(-1px);
}

.hb-btn:active {
  transform: translateY(0);
}

.hb-btn--primary {
  background: var(--hb-blue);
  color: var(--hb-white);
  box-shadow: var(--hb-shadow-blue);
}

.hb-btn--primary:hover {
  background: var(--hb-blue-hover);
  color: var(--hb-white);
}

.hb-btn--secondary {
  background: transparent;
  color: var(--hb-black);
  border-color: var(--hb-black);
}

.hb-btn--secondary:hover {
  background: var(--hb-black);
  color: var(--hb-white);
}

.hb-btn--ghost {
  background: transparent;
  color: var(--hb-blue);
  padding-inline: 0.25rem;
}

.hb-btn--ghost:hover {
  color: var(--hb-blue-hover);
}

.hb-btn--lg {
  padding: 1.15rem 2rem;
  font-size: var(--hb-fs-md);
}

.hb-btn--block {
  display: flex;
  width: 100%;
}

.hb-btn__arrow {
  transition: transform var(--hb-duration) var(--hb-ease);
}

.hb-btn:hover .hb-btn__arrow {
  transform: translateX(3px);
}

/* Brand-Bar: absolut am Seitenkopf, überlagert den Sticky-Header visuell.
   Scrollt mit dem Dokument weg. Pointer-events durchlassen, damit Klicks
   auf den darunterliegenden Header weiter funktionieren. */
.hb-lp-brandbar {
  position: absolute;
  top: 30px;
  left: 0;
  right: 0;
  z-index: 60;
  padding-block: var(--hb-space-5);
  pointer-events: none;
}

.hb-lp-brandbar__inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--hb-space-8);
}

.hb-lp-brandbar__logo {
  display: inline-block;
  line-height: 0;
  text-decoration: none;
  pointer-events: auto;
}

.hb-lp-brandbar__logo img {
  display: block;
  /* Mobile: 85 px, wächst fließend bis Desktop 110 px */
  width: clamp(85px, 10vw, 110px);
  height: auto;
}

/* Zurück-Link neben dem Logo (Impressum/Datenschutz) */
.hb-lp-brandbar__back {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--hb-fs-sm);
  font-weight: 500;
  color: var(--hb-ink-60);
  text-decoration: none;
  padding: 0.5rem 0.9rem;
  border-radius: var(--hb-radius-sm);
  transition: color var(--hb-duration) var(--hb-ease),
              background var(--hb-duration) var(--hb-ease);
}
.hb-lp-brandbar__back:hover {
  color: var(--hb-blue);
  background: rgba(0, 0, 240, 0.06);
}
.hb-lp-brandbar__back svg {
  transition: transform var(--hb-duration) var(--hb-ease);
}
.hb-lp-brandbar__back:hover svg {
  transform: translateX(-3px);
}

/* Fixed, transparenter Action-Header. Beim Scrollen blendet ein semi-transparenter
   Blur-Hintergrund ein, damit Text & Buttons lesbar bleiben. */
.hb-lp-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  transition: background var(--hb-duration) var(--hb-ease),
              box-shadow  var(--hb-duration) var(--hb-ease);
}
.hb-lp-header.is-scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 2px 12px rgba(11, 11, 11, 0.06);
}

.hb-lp-header__inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--hb-space-4);
  min-height: 60px;
  padding-block: var(--hb-space-3);
}

.hb-lp-header__meta {
  display: flex;
  align-items: center;
  gap: var(--hb-space-5);
  font-size: var(--hb-fs-sm);
}

/* Kontakt-Link (Mail + Tel) im Header */
.hb-lp-header__contact {
  color: var(--hb-ink);
  text-decoration: none;
  font-weight: 500;
  display: none;
}
@media (min-width: 720px) {
  .hb-lp-header__contact {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
  }
}
.hb-lp-header__contact:hover {
  color: var(--hb-blue);
}
.hb-lp-header__contact svg {
  flex-shrink: 0;
  color: var(--hb-blue);
}

.hb-lp-header__cta {
  padding: 0.6rem 1rem;
  font-size: var(--hb-fs-sm);
}

.hb-hero {
  position: relative;
  /* padding-top deckt Brand-Bar (Logo + Logo-Padding) ab und lässt zusätzlich
     ~55 px Atempause zwischen Logo und Hero-Content. */
  padding-top: clamp(12.5rem, 17vw, 15.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 80% 0%, rgba(0, 0, 240, 0.06), transparent 60%), radial-gradient(ellipse 60% 50% at 10% 100%, rgba(0, 0, 240, 0.04), transparent 60%), var(--hb-white);
}

.hb-hero__grid {
  display: grid;
  gap: var(--hb-space-10);
  align-items: center;
}
@media (min-width: 960px) {
  .hb-hero__grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--hb-space-16);
  }
}

/* Semantische H1 über dem Hero-Titel – klein gestylt wie ein Eyebrow,
   trägt aber das Haupt-Keyword „WordPress Wartungsservice“. */
.hb-hero__kicker,
h1.hb-eyebrow {
  display: inline-block;
  font-size: var(--hb-fs-xs);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hb-blue);
  margin: 0 0 var(--hb-space-4);
}

/* Sichtbarer Hero-Titel (semantisch H2) – minimal kleiner als vorher */
.hb-hero__title {
  font-size: clamp(2rem, 1.5rem + 2.8vw, 3.25rem);
  margin-bottom: var(--hb-space-6);
  text-wrap: balance;
  hyphens: manual;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.hb-hero__title em {
  font-style: normal;
  background: linear-gradient(90deg, var(--hb-blue), #4C4CFF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hb-hero__sub {
  font-size: var(--hb-fs-base);
  color: var(--hb-ink-60);
  max-width: 56ch;
  margin-bottom: var(--hb-space-8);
  line-height: 1.6;
}

.hb-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--hb-space-4);
  margin-bottom: var(--hb-space-8);
}

.hb-hero__secondary {
  font-size: var(--hb-fs-sm);
  font-weight: 500;
  color: var(--hb-ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.hb-hero__secondary::after {
  content: "→";
  transition: transform var(--hb-duration) var(--hb-ease);
}
.hb-hero__secondary:hover {
  color: var(--hb-blue);
}
.hb-hero__secondary:hover::after {
  transform: translateX(3px);
}

.hb-hero__trust {
  display: grid;
  gap: var(--hb-space-6);
  padding-top: var(--hb-space-6);
  border-top: 1px solid var(--hb-border);
}
@media (min-width: 600px) {
  .hb-hero__trust {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.hb-trust-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.hb-trust-item__value {
  font-size: var(--hb-fs-lg);
  font-weight: 700;
  color: var(--hb-black);
  letter-spacing: -0.02em;
  line-height: 1;
}

.hb-trust-item__label {
  font-size: var(--hb-fs-sm);
  color: var(--hb-ink-60);
}

.hb-hero__visual {
  position: relative;
}

.hb-hero-card {
  position: relative;
  background: var(--hb-white);
  border: 1px solid var(--hb-border);
  border-radius: var(--hb-radius-lg);
  padding: var(--hb-space-6);
  box-shadow: var(--hb-shadow-lg);
}

.hb-hero-card::before {
  content: "";
  position: absolute;
  inset: -18px -18px auto auto;
  width: 120px;
  height: 120px;
  background: var(--hb-blue);
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.25;
  z-index: -1;
}

.hb-hero-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--hb-space-5);
  padding-bottom: var(--hb-space-4);
  border-bottom: 1px solid var(--hb-border);
}

.hb-hero-card__domain {
  font-family: "SFMono-Regular", ui-monospace, monospace;
  font-size: var(--hb-fs-sm);
  color: var(--hb-ink);
}

.hb-hero-card__status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--hb-fs-xs);
  font-weight: 600;
  color: var(--hb-success);
}

.hb-hero-card__status::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--hb-success);
  animation: hb-pulse 1.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  position: relative;
}

/* Radar-Ping – deutlich sichtbarer: wächst von 0 auf 18px und verblasst */
@keyframes hb-pulse {
  0% {
    box-shadow:
      0 0 0 0    rgba(16, 185, 129, 0.6),
      0 0 0 0    rgba(16, 185, 129, 0.35);
  }
  60% {
    box-shadow:
      0 0 0 12px rgba(16, 185, 129, 0),
      0 0 0 6px  rgba(16, 185, 129, 0.18);
  }
  100% {
    box-shadow:
      0 0 0 18px rgba(16, 185, 129, 0),
      0 0 0 6px  rgba(16, 185, 129, 0.18);
  }
}
.hb-hero-card__rows {
  display: grid;
  gap: var(--hb-space-3);
}

.hb-hero-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px dashed var(--hb-border);
  font-size: var(--hb-fs-sm);
}
.hb-hero-card__row:last-child {
  border-bottom: 0;
}

.hb-hero-card__row-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--hb-ink);
}

.hb-hero-card__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.14);
  color: var(--hb-success);
  flex-shrink: 0;
}

.hb-hero-card__check svg {
  width: 12px;
  height: 12px;
}

.hb-hero-card__value {
  font-family: "SFMono-Regular", ui-monospace, monospace;
  font-size: var(--hb-fs-xs);
  color: var(--hb-ink-60);
}

/* Trust-Footer innerhalb der Hero-Karte – ersetzt den ehemaligen überlagernden Badge */
.hb-hero-card__trust {
  margin-top: var(--hb-space-5);
  padding: var(--hb-space-4) var(--hb-space-5);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.22);
  border-radius: var(--hb-radius);
  display: flex;
  align-items: center;
  gap: var(--hb-space-3);
}

.hb-hero-card__trust-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.18);
  color: var(--hb-success);
}
.hb-hero-card__trust-icon svg {
  width: 22px;
  height: 22px;
}

.hb-hero-card__trust-text {
  font-size: var(--hb-fs-sm);
  color: var(--hb-ink);
  line-height: 1.45;
}
.hb-hero-card__trust-text strong {
  display: block;
  color: var(--hb-black);
  font-weight: 700;
}

.hb-pain__head {
  max-width: 52ch;
  margin-bottom: var(--hb-space-12);
}

.hb-pain__grid {
  display: grid;
  gap: var(--hb-space-5);
}
/* Breakpoint 720 -> 960: auf engen Tablets (iPad Portrait, kleine Landscape-Geräte)
   stapeln die drei Karten, damit 'Sicherheitslücken' etc. nicht abgeschnitten werden. */
@media (min-width: 960px) {
  .hb-pain__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.hb-pain-card {
  position: relative;
  background: var(--hb-white);
  border: 1px solid var(--hb-border);
  border-radius: var(--hb-radius-lg);
  padding: var(--hb-space-8) var(--hb-space-6);
  transition: transform var(--hb-duration) var(--hb-ease), border-color var(--hb-duration) var(--hb-ease), box-shadow var(--hb-duration) var(--hb-ease);
}

.hb-pain-card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: var(--hb-shadow);
}

.hb-pain-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--hb-radius);
  margin-bottom: var(--hb-space-5);
}

.hb-pain-card__icon svg {
  width: 24px;
  height: 24px;
}

.hb-pain-card--security .hb-pain-card__icon {
  background: rgba(220, 38, 38, 0.1);
  color: var(--hb-danger);
}

.hb-pain-card--time .hb-pain-card__icon {
  background: rgba(245, 158, 11, 0.12);
  color: var(--hb-warning);
}

.hb-pain-card--cost .hb-pain-card__icon {
  background: rgba(0, 0, 240, 0.08);
  color: var(--hb-blue);
}

.hb-pain-card__title {
  font-size: var(--hb-fs-lg);
  margin-bottom: var(--hb-space-3);
  /* Automatische deutsche Silbentrennung als Fallback bei engen Breiten */
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: break-word;
}

.hb-pain-card__text {
  color: var(--hb-ink-60);
  font-size: var(--hb-fs-base);
  line-height: 1.6;
}

.hb-solution__head {
  max-width: 62ch;
  margin-bottom: var(--hb-space-12);
}

.hb-solution__grid {
  display: grid;
  gap: var(--hb-space-6);
}
@media (min-width: 620px) {
  .hb-solution__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 960px) {
  .hb-solution__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.hb-feature {
  padding: var(--hb-space-5);
  border-radius: var(--hb-radius);
  background: var(--hb-white);
  border: 1px solid var(--hb-border);
  display: flex;
  flex-direction: column;
  gap: var(--hb-space-3);
}

.hb-feature__tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--hb-blue);
  color: var(--hb-white);
  flex-shrink: 0;
}

.hb-feature__tick svg {
  width: 14px;
  height: 14px;
}

.hb-feature__title {
  font-size: var(--hb-fs-md);
  font-weight: 700;
  color: var(--hb-black);
  letter-spacing: -0.01em;
}

.hb-feature__text {
  font-size: var(--hb-fs-sm);
  color: var(--hb-ink-60);
  line-height: 1.55;
}

.hb-packages__head {
  text-align: center;
  max-width: 60ch;
  margin-inline: auto;
  margin-bottom: var(--hb-space-12);
}

.hb-packages__grid {
  display: grid;
  gap: var(--hb-space-4);
}
@media (min-width: 720px) {
  .hb-packages__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .hb-packages__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--hb-space-5);
  }
}

.hb-package {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--hb-space-6);
  background: var(--hb-white);
  border: 1.5px solid var(--hb-border);
  border-radius: var(--hb-radius-lg);
  transition: transform var(--hb-duration) var(--hb-ease), box-shadow var(--hb-duration) var(--hb-ease), border-color var(--hb-duration) var(--hb-ease);
}

.hb-package:hover {
  transform: translateY(-4px);
  box-shadow: var(--hb-shadow);
  border-color: transparent;
}

.hb-package--featured {
  border-color: var(--hb-blue);
  box-shadow: var(--hb-shadow-blue);
}
@media (min-width: 1024px) {
  .hb-package--featured {
    transform: translateY(-12px);
  }
}

@media (min-width: 1024px) {
  .hb-package--featured:hover {
    transform: translateY(-16px);
  }
}

.hb-package__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--hb-blue);
  color: var(--hb-white);
  font-size: var(--hb-fs-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  white-space: nowrap;
}

.hb-package__size {
  font-size: var(--hb-fs-md);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hb-blue);
  margin-bottom: var(--hb-space-1);
}

.hb-package--featured .hb-package__size {
  color: var(--hb-blue);
}

.hb-package__name {
  font-size: var(--hb-fs-md);
  font-weight: 600;
  color: var(--hb-ink-60);
  margin-bottom: var(--hb-space-4);
}

.hb-package__price {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  margin-bottom: var(--hb-space-2);
}

.hb-package__price-value {
  font-size: clamp(2rem, 1.4rem + 2vw, 2.75rem);
  font-weight: 800;
  color: var(--hb-black);
  letter-spacing: -0.02em;
  line-height: 1;
}

.hb-package__price-period {
  font-size: var(--hb-fs-sm);
  color: var(--hb-ink-60);
}

.hb-package__vat {
  font-size: var(--hb-fs-xs);
  color: var(--hb-ink-40);
  margin-bottom: var(--hb-space-6);
}

.hb-package__features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--hb-space-6);
  display: flex;
  flex-direction: column;
  gap: var(--hb-space-3);
  flex-grow: 1;
}

.hb-package__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: var(--hb-fs-sm);
  line-height: 1.5;
  color: var(--hb-ink);
  margin: 0;
}

.hb-package__features li svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--hb-blue);
}

.hb-package__cta {
  margin-top: auto;
}

.hb-packages__note {
  text-align: center;
  margin-top: var(--hb-space-8);
  font-size: var(--hb-fs-sm);
  color: var(--hb-ink-60);
}

.hb-packages__under-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--hb-space-3);
  margin-top: var(--hb-space-10);
  text-align: center;
}

.hb-process__head {
  text-align: center;
  max-width: 60ch;
  margin-inline: auto;
  margin-bottom: var(--hb-space-12);
}

.hb-process__steps {
  display: grid;
  gap: var(--hb-space-8);
  counter-reset: hb-step;
  position: relative;
  /* Browser-default-Nummerierung entfernen (ol/li) */
  list-style: none;
  padding: 0;
  margin: 0;
}
@media (min-width: 820px) {
  .hb-process__steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--hb-space-10);
  }
}

@media (min-width: 820px) {
  .hb-process__steps::before {
    content: "";
    position: absolute;
    top: 32px;
    left: 16.6666666667%;
    right: 16.6666666667%;
    height: 2px;
    background: linear-gradient(90deg, var(--hb-blue), var(--hb-blue) 50%, transparent 50%);
    background-size: 12px 2px;
    background-repeat: repeat-x;
    opacity: 0.35;
    z-index: 0;
  }
}

.hb-step {
  position: relative;
  text-align: center;
  z-index: 1;
  background: var(--hb-white);
  border: 1px solid var(--hb-border);
  border-radius: var(--hb-radius-lg);
  padding: var(--hb-space-10) var(--hb-space-8);
}

.hb-step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--hb-blue);
  color: var(--hb-white);
  font-size: var(--hb-fs-xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 auto var(--hb-space-5);
  box-shadow: var(--hb-shadow-blue);
}

.hb-step__title {
  font-size: var(--hb-fs-lg);
  margin-bottom: var(--hb-space-3);
}

.hb-step__text {
  color: var(--hb-ink-60);
  font-size: var(--hb-fs-base);
  max-width: 30ch;
  margin-inline: auto;
}

.hb-proof__head {
  text-align: center;
  max-width: 60ch;
  margin-inline: auto;
  margin-bottom: var(--hb-space-10);
}

/* "Kurz zu uns" – Intro-Block zwischen H2 und Stats */
.hb-proof__about {
  max-width: 760px;
  margin: 0 auto var(--hb-space-16);
  text-align: center;
}

.hb-proof__about-text {
  font-size: var(--hb-fs-md);
  color: var(--hb-ink-60);
  line-height: 1.7;
  margin-bottom: var(--hb-space-5);
}

.hb-proof__about-text strong {
  color: var(--hb-black);
  font-weight: 700;
}

.hb-proof__about-text em {
  font-style: normal;
  color: var(--hb-blue);
  font-weight: 600;
}

.hb-proof__about-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: var(--hb-fs-sm);
  font-weight: 600;
  color: var(--hb-blue);
  text-decoration: none;
  border-bottom: 1.5px solid transparent;
  padding-bottom: 2px;
  transition: color var(--hb-duration) var(--hb-ease),
              border-color var(--hb-duration) var(--hb-ease);
}
.hb-proof__about-link:hover {
  color: var(--hb-blue-hover);
  border-bottom-color: currentColor;
}
.hb-proof__about-link svg {
  transition: transform var(--hb-duration) var(--hb-ease);
}
.hb-proof__about-link:hover svg {
  transform: translate(2px, -2px);
}

.hb-proof__stats {
  display: grid;
  gap: var(--hb-space-6);
  /* Gap zu Karussell: 30 px gesamt (10 px margin + 20 px viewport-padding-top) */
  margin-bottom: 10px;
}
@media (min-width: 640px) {
  .hb-proof__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.hb-stat {
  position: relative;
  text-align: center;
  padding: var(--hb-space-10) var(--hb-space-6);
  border-radius: var(--hb-radius-lg);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0, 0, 240, 0.08), transparent 70%),
    linear-gradient(180deg, var(--hb-white) 0%, #F6F7FF 100%);
  border: 1px solid var(--hb-border);
  overflow: hidden;
  transition: transform var(--hb-duration) var(--hb-ease),
              box-shadow var(--hb-duration) var(--hb-ease),
              border-color var(--hb-duration) var(--hb-ease);
}

.hb-stat:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: var(--hb-shadow-lg);
}

/* Icon-Container oben in der Stat-Karte – Brand-Blau auf weichem Blau-Hintergrund */
.hb-stat__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0, 0, 240, 0.1);
  color: var(--hb-blue);
  margin-bottom: var(--hb-space-5);
  transition: transform var(--hb-duration) var(--hb-ease),
              background var(--hb-duration) var(--hb-ease);
}
.hb-stat__icon svg {
  width: 28px;
  height: 28px;
}

.hb-stat:hover .hb-stat__icon {
  transform: scale(1.08);
  background: rgba(0, 0, 240, 0.16);
}

.hb-stat__value {
  font-size: clamp(2.75rem, 1.8rem + 4vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  margin-bottom: var(--hb-space-3);
  /* Gradient-Blau für mehr Tiefe als flaches #0000F0 */
  background: linear-gradient(135deg, var(--hb-blue) 0%, #4C4CFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hb-stat__label {
  font-size: var(--hb-fs-base);
  font-weight: 500;
  color: var(--hb-ink);
  line-height: 1.35;
}

.hb-testimonials {
  display: grid;
  gap: var(--hb-space-6);
}
@media (min-width: 860px) {
  .hb-testimonials {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.hb-testimonial {
  background: var(--hb-white);
  border: 1px solid var(--hb-border);
  border-radius: var(--hb-radius-lg);
  /* Responsive Innenabstand: mobile kompakt (1.25rem), Desktop 2rem.
     Dadurch bleibt auf schmalen Geräten mehr Platz für den Zitat-Text. */
  padding: clamp(1.1rem, 3.5vw, 2rem);
  position: relative;
  /* Flex-Layout sorgt dafür, dass das Zitat den freien Raum ausfüllt
     und der Autor immer unten sitzt – kein Weißraum mehr unter dem Namen. */
  display: flex;
  flex-direction: column;
  height: 100%;
}

.hb-testimonial__quote {
  flex-grow: 1;
}

.hb-testimonial::before {
  content: "„";
  position: absolute;
  top: clamp(8px, 2vw, 16px);
  left: clamp(12px, 3vw, 24px);
  font-family: Georgia, serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1;
  color: var(--hb-blue);
  opacity: 0.18;
}

.hb-testimonial__quote {
  font-size: var(--hb-fs-md);
  line-height: 1.55;
  color: var(--hb-ink);
  margin-bottom: var(--hb-space-5);
  position: relative;
  z-index: 1;
}

.hb-testimonial__author {
  display: flex;
  align-items: center;
  gap: var(--hb-space-3);
  padding-top: var(--hb-space-4);
  border-top: 1px solid var(--hb-border);
}

.hb-testimonial__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--hb-blue-soft);
  color: var(--hb-blue);
  font-weight: 700;
  font-size: var(--hb-fs-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hb-testimonial__name {
  display: block;
  font-weight: 600;
  color: var(--hb-black);
  font-size: var(--hb-fs-sm);
  line-height: 1.2;
}

.hb-testimonial__meta {
  display: block;
  font-size: var(--hb-fs-xs);
  color: var(--hb-ink-60);
  margin-top: 2px;
  line-height: 1.3;
}

.hb-faq {
  max-width: 820px;
  margin-inline: auto;
}

.hb-faq__head {
  text-align: center;
  margin-bottom: var(--hb-space-10);
}

.hb-faq__list {
  display: flex;
  flex-direction: column;
  gap: var(--hb-space-3);
}

.hb-faq-item {
  background: var(--hb-white);
  border: 1px solid var(--hb-border);
  border-radius: var(--hb-radius);
  overflow: hidden;
  transition: border-color var(--hb-duration) var(--hb-ease), box-shadow var(--hb-duration) var(--hb-ease);
}

.hb-faq-item[open] {
  border-color: var(--hb-ink);
  box-shadow: var(--hb-shadow-sm);
}

.hb-faq-item__q {
  padding: var(--hb-space-5) var(--hb-space-6);
  font-size: var(--hb-fs-md);
  font-weight: 600;
  color: var(--hb-black);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--hb-space-4);
}
.hb-faq-item__q::-webkit-details-marker {
  display: none;
}

.hb-faq-item__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--hb-border-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--hb-duration) var(--hb-ease), border-color var(--hb-duration) var(--hb-ease), transform var(--hb-duration) var(--hb-ease);
}

.hb-faq-item__icon::before,
.hb-faq-item__icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform var(--hb-duration) var(--hb-ease);
}

.hb-faq-item__icon::before {
  width: 10px;
  height: 1.5px;
}

.hb-faq-item__icon::after {
  width: 1.5px;
  height: 10px;
}

.hb-faq-item[open] .hb-faq-item__icon {
  background: var(--hb-blue);
  border-color: var(--hb-blue);
  color: var(--hb-white);
  transform: rotate(180deg);
}

.hb-faq-item[open] .hb-faq-item__icon::after {
  transform: scaleY(0);
}

.hb-faq-item__a {
  padding: 0 var(--hb-space-6) var(--hb-space-6);
  color: var(--hb-ink-60);
  font-size: var(--hb-fs-base);
  line-height: 1.65;
}

/* CD-konformer Kontakt-Hintergrund: Brand-Schwarz mit Brand-Blau-Verlauf.
   Nutzt gezielt --hb-blue (#0000F0) + --hb-black (#0B0B0B) statt des alten
   grünstichigen --hb-ink (#222F30). */
.hb-final {
  background:
    radial-gradient(ellipse 75% 85% at 10% 0%,  rgba(0, 0, 240, 0.50), transparent 58%),
    radial-gradient(ellipse 65% 75% at 95% 100%, rgba(0, 0, 240, 0.30), transparent 55%),
    linear-gradient(165deg, #0A0A18 0%, #06060C 50%, #020208 100%);
  color: var(--hb-white);
  position: relative;
  overflow: hidden;
}

/* Feiner zusätzlicher Blau-Akzent + subtile Vignette für Tiefe */
.hb-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 40% 50% at 50% 0%,  rgba(0, 0, 240, 0.18), transparent 60%),
    radial-gradient(ellipse 120% 80% at 50% 100%, rgba(0, 0, 0, 0.35), transparent 70%);
  pointer-events: none;
}

.hb-final__inner {
  position: relative;
  max-width: 920px;
  margin-inline: auto;
  text-align: center;
}

.hb-final__title {
  color: var(--hb-white);
  margin-bottom: var(--hb-space-5);
  /* Kleiner als H2-Default, damit der Satz auf Desktop einzeilig bleibt */
  font-size: clamp(1.75rem, 1.25rem + 2vw, 2.5rem);
  text-wrap: balance;
}

.hb-final__sub {
  font-size: var(--hb-fs-md);
  color: rgba(255, 255, 255, 0.75);
  max-width: 56ch;
  margin: 0 auto var(--hb-space-10);
}

.hb-form {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--hb-radius-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  text-align: left;
  display: grid;
  gap: var(--hb-space-4);
}

.hb-form__grid {
  display: grid;
  gap: var(--hb-space-4);
}
@media (min-width: 620px) {
  .hb-form__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.hb-field {
  display: flex;
  flex-direction: column;
  gap: var(--hb-space-2);
}

.hb-field--full {
  grid-column: 1/-1;
}

.hb-field label {
  font-size: var(--hb-fs-sm);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}

.hb-field label .hb-req {
  color: #FF6B6B;
  margin-left: 0.2rem;
}

.hb-field input,
.hb-field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font: inherit;
  font-size: var(--hb-fs-base);
  color: var(--hb-white);
  background: rgba(0, 0, 0, 0.3);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--hb-radius-sm);
  transition: border-color var(--hb-duration) var(--hb-ease), background var(--hb-duration) var(--hb-ease);
}

.hb-field input::placeholder,
.hb-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.hb-field input:focus,
.hb-field textarea:focus {
  outline: none;
  border-color: var(--hb-blue);
  background: rgba(0, 0, 0, 0.45);
}

.hb-field textarea {
  resize: vertical;
  min-height: 120px;
}

.hb-hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.hb-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: var(--hb-fs-sm);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
  cursor: pointer;
}

.hb-consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--hb-blue);
  flex-shrink: 0;
}

.hb-consent a {
  color: var(--hb-white);
  text-decoration: underline;
}

.hb-form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--hb-space-4);
  margin-top: var(--hb-space-2);
}

.hb-form__note {
  font-size: var(--hb-fs-xs);
  color: rgba(255, 255, 255, 0.6);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hb-form__note::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hb-success);
}

.hb-form__status {
  font-size: var(--hb-fs-sm);
  padding: 0.75rem 1rem;
  border-radius: var(--hb-radius-sm);
  display: none;
}

.hb-form__status.is-visible {
  display: block;
}

.hb-form__status--ok {
  background: rgba(16, 185, 129, 0.15);
  color: #6EE7B7;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.hb-form__status--err {
  background: rgba(220, 38, 38, 0.15);
  color: #FCA5A5;
  border: 1px solid rgba(220, 38, 38, 0.3);
}

.hb-field.has-error input,
.hb-field.has-error textarea {
  border-color: #FCA5A5;
}

.hb-field__error {
  font-size: var(--hb-fs-xs);
  color: #FCA5A5;
  display: none;
}

.hb-field.has-error .hb-field__error {
  display: block;
}

.hb-final__under {
  margin-top: var(--hb-space-10);
  padding-top: var(--hb-space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--hb-space-2);
}

.hb-final__under-label {
  font-size: var(--hb-fs-sm);
  color: rgba(255, 255, 255, 0.6);
}

.hb-final__phone {
  font-family: var(--hb-font-display);
  font-size: clamp(1.5rem, 1rem + 2.5vw, 2.25rem);
  font-weight: 700;
  color: var(--hb-white);
  text-decoration: none;
  letter-spacing: -0.01em;
  line-height: 1.1;
  transition: color var(--hb-duration) var(--hb-ease);
}
.hb-final__phone:hover {
  color: var(--hb-blue-soft);
}

.hb-sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  padding: var(--hb-space-3) var(--hb-gutter);
  background: var(--hb-white);
  border-top: 1px solid var(--hb-border);
  box-shadow: 0 -10px 24px rgba(11, 11, 11, 0.08);
  transform: translateY(100%);
  transition: transform 320ms var(--hb-ease);
  display: flex;
  gap: var(--hb-space-3);
  align-items: center;
  justify-content: center;
}
@media (min-width: 960px) {
  .hb-sticky-cta {
    display: none;
  }
}

.hb-sticky-cta.is-visible {
  transform: translateY(0);
}

.hb-sticky-cta .hb-btn {
  flex: 1;
  padding: 0.8rem 1rem;
  font-size: var(--hb-fs-sm);
}

.hb-lp-footer {
  padding-block: var(--hb-space-10);
  background: var(--hb-black);
  color: rgba(255, 255, 255, 0.55);
}

.hb-lp-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--hb-space-5);
  font-size: var(--hb-fs-xs);
}

.hb-lp-footer__copy {
  order: 2;
}
@media (min-width: 620px) {
  .hb-lp-footer__copy {
    order: 1;
  }
}

.hb-lp-footer__links {
  order: 1;
  display: flex;
  flex-wrap: wrap;
  gap: var(--hb-space-5);
}
@media (min-width: 620px) {
  .hb-lp-footer__links {
    order: 2;
  }
}

.hb-lp-footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.hb-lp-footer a:hover {
  color: var(--hb-white);
}

@media (max-width: 959px) {
  body.hb-lp {
    padding-bottom: 72px;
  }
}
.hb-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--hb-ease), transform 0.6s var(--hb-ease);
}

.hb-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .hb-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ========================================================== */
/* Legal-Pages (Impressum, Datenschutz)                         */
/* ========================================================== */

/* Legal-Section: mehr Top-Padding, damit Content unter dem
   fixierten Header + der überlagernden Brandbar wieder frei liegt.
   Bottom-Padding bleibt wie Standard-Section. */
.hb-legal-section {
  padding-top: clamp(10rem, 14vw, 13rem);
}

/* Inhalts-Container Legal-Text */
.hb-legal {
  color: var(--hb-ink);
  font-size: var(--hb-fs-base);
  line-height: 1.65;
}

.hb-legal h1 {
  font-size: clamp(1.875rem, 1.4rem + 2vw, 2.75rem);
  margin-bottom: var(--hb-space-10);
  letter-spacing: -0.025em;
}

.hb-legal h2 {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  margin-top: var(--hb-space-16);
  margin-bottom: var(--hb-space-5);
  letter-spacing: -0.02em;
  padding-top: var(--hb-space-8);
  border-top: 1px solid var(--hb-border);
}

.hb-legal h2:first-of-type {
  padding-top: 0;
  border-top: 0;
  margin-top: var(--hb-space-8);
}

.hb-legal h3 {
  font-size: var(--hb-fs-lg);
  margin-top: var(--hb-space-8);
  margin-bottom: var(--hb-space-3);
}

.hb-legal h4 {
  font-size: var(--hb-fs-md);
  margin-top: var(--hb-space-6);
  margin-bottom: var(--hb-space-3);
  color: var(--hb-ink);
  font-weight: 700;
}

.hb-legal h5 {
  font-size: var(--hb-fs-base);
  margin-top: var(--hb-space-5);
  margin-bottom: var(--hb-space-2);
  color: var(--hb-ink);
  font-weight: 700;
}

.hb-legal p {
  margin-bottom: var(--hb-space-4);
  color: var(--hb-ink-60);
}

.hb-legal ul,
.hb-legal ol {
  margin-bottom: var(--hb-space-4);
  padding-left: 1.4rem;
  color: var(--hb-ink-60);
}

.hb-legal li {
  margin-bottom: var(--hb-space-2);
}

.hb-legal a {
  color: var(--hb-blue);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  /* Lange URLs in Legal-Texten brechen umlaufend statt über den Rand zu laufen */
  word-break: break-word;
  overflow-wrap: anywhere;
}
.hb-legal a:hover {
  color: var(--hb-blue-hover);
}

.hb-legal strong {
  color: var(--hb-ink);
  font-weight: 700;
}

.hb-legal p {
  overflow-wrap: break-word;
}

/* ========================================================== */
/* To-Top-Button – fixed unten rechts, fade-in nach dem Hero    */
/* ========================================================== */

.hb-to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1.5rem, 3vw, 2rem);
  z-index: 41;
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--hb-blue);
  color: var(--hb-white);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--hb-shadow-blue);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 220ms var(--hb-ease),
              transform 220ms var(--hb-ease),
              background var(--hb-duration) var(--hb-ease);
}

.hb-to-top svg {
  width: 20px;
  height: 20px;
}

.hb-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.hb-to-top:hover {
  background: var(--hb-blue-hover);
}
.hb-to-top:hover svg {
  transform: translateY(-2px);
  transition: transform var(--hb-duration) var(--hb-ease);
}

/* Mobile: Button sitzt über dem Sticky-CTA-Bar (≈ 72 px hoch),
   damit er nicht überlagert wird. Auf Legal-Pages ohne CTA-Bar
   bleibt er einfach etwas höher, das stört nicht. */
@media (max-width: 959px) {
  .hb-to-top {
    bottom: 84px;
  }
}

/* ========================================================== */
/* Testimonials – Karussell (Scroll-Snap + Buttons + Dots)      */
/* ========================================================== */

.hb-carousel {
  position: relative;
}

/* Transform-basiertes Karussell: kein Scroll-Snap, keine Browser-Eigenheiten.
   Der Track bewegt sich per CSS transform, die JS berechnet den Offset exakt.
   Viewport hat overflow: hidden – was aus dem Viewport raushängt, ist einfach unsichtbar. */
.hb-carousel__viewport {
  overflow: hidden;
  /* Container-Query-Kontext, damit 100cqi unten = exakte Viewport-Breite ergibt */
  container-type: inline-size;
  /* Atmungsraum, damit Testimonial-Kanten (Radius/Schatten) nicht am Rand kleben */
  padding-block: 20px;
}

.hb-carousel__track {
  position: relative;
  display: flex;
  gap: var(--hb-space-5);
  transition: transform 0.45s var(--hb-ease);
  will-change: transform;
  /* Touch-Gesten: vertikales Scrollen bleibt der Seite, horizontal managen wir */
  touch-action: pan-y;
}

.hb-carousel__slide {
  flex: 0 0 100cqi;
  width: 100cqi;
  min-width: 0;
}

.hb-carousel__slide .hb-testimonial {
  height: 100%;
}

/* Stage = Viewport + Prev/Next auf der gleichen Ebene.
   Pfeile sitzen absolut am linken/rechten Rand und „überlagern" die Kanten visuell. */
.hb-carousel__stage {
  position: relative;
}

.hb-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--hb-border-strong);
  background: var(--hb-white);
  color: var(--hb-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--hb-shadow-sm);
  transition: background var(--hb-duration) var(--hb-ease),
              border-color var(--hb-duration) var(--hb-ease),
              color var(--hb-duration) var(--hb-ease),
              box-shadow var(--hb-duration) var(--hb-ease);
}
.hb-carousel__btn svg { width: 18px; height: 18px; }
.hb-carousel__btn:hover {
  background: var(--hb-blue);
  border-color: var(--hb-blue);
  color: var(--hb-white);
  box-shadow: var(--hb-shadow-blue);
}
.hb-carousel__btn:disabled {
  opacity: 0.4;
  cursor: default;
}
.hb-carousel__btn:disabled:hover {
  background: var(--hb-white);
  border-color: var(--hb-border-strong);
  color: var(--hb-ink);
  box-shadow: var(--hb-shadow-sm);
}

/* Pfeile sitzen fest innerhalb der Slide-Kanten, überlappen die Testimonial-Padding-Area
   (nicht den Text). Vertikal mittig. */
.hb-carousel__btn--prev { left: 10px; }
.hb-carousel__btn--next { right: 10px; }

@media (min-width: 768px) {
  .hb-carousel__btn--prev { left: 16px; }
  .hb-carousel__btn--next { right: 16px; }
}

/* Dots jetzt als eigenständiger Block unter der Stage */
.hb-carousel__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: var(--hb-space-6);
}

.hb-carousel__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--hb-border-strong);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background var(--hb-duration) var(--hb-ease),
              transform var(--hb-duration) var(--hb-ease);
}
.hb-carousel__dot:hover { background: var(--hb-ink-40); }
.hb-carousel__dot.is-active {
  background: var(--hb-blue);
  transform: scale(1.25);
}

