/* vietnamese */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url("assets/fonts/bricolage-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url("assets/fonts/bricolage-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;
}
/* latin */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url("assets/fonts/bricolage-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;
}
/* vietnamese */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url("assets/fonts/bricolage-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url("assets/fonts/bricolage-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;
}
/* latin */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url("assets/fonts/bricolage-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;
}
/* vietnamese */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("assets/fonts/bricolage-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("assets/fonts/bricolage-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;
}
/* latin */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("assets/fonts/bricolage-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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/manrope-cyrillic-ext.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/manrope-cyrillic.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/manrope-greek.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/manrope-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/manrope-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;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/manrope-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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/manrope-cyrillic-ext.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/manrope-cyrillic.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/manrope-greek.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/manrope-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/manrope-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;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/manrope-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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/manrope-cyrillic-ext.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/manrope-cyrillic.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/manrope-greek.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/manrope-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/manrope-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;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/manrope-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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/manrope-cyrillic-ext.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/manrope-cyrillic.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/manrope-greek.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/manrope-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/manrope-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;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/manrope-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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("assets/fonts/manrope-cyrillic-ext.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("assets/fonts/manrope-cyrillic.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("assets/fonts/manrope-greek.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("assets/fonts/manrope-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("assets/fonts/manrope-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;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("assets/fonts/manrope-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;
}

/* =====================================================================
   Hausmeisterservice Bernad — Stylesheet
   Schriften (oben): Bricolage Grotesque + Manrope (lokal eingebunden)
   ===================================================================== */

/* ---------- Basis ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', system-ui, sans-serif;
  color: #14213A;
  background: #F6F4EF;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea { font-family: inherit; }
::selection { background: #C6A253; color: #0E1B33; }

@keyframes hb-pulse { 0% { box-shadow: 0 0 0 0 rgba(198,162,83,.5); } 70% { box-shadow: 0 0 0 18px rgba(198,162,83,0); } 100% { box-shadow: 0 0 0 0 rgba(198,162,83,0); } }
@keyframes hb-bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 7px); } }

/* ---------- Ladeanimation (erster Seitenaufruf) ---------- */
#hb-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0E1B33;
  transition: opacity .6s ease, visibility .6s ease;
}
html:not(.js) #hb-loader { display: none; }            /* ohne JS keinen Loader */
#hb-loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.hb-loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(22px, 4vw, 30px);
}
.hb-loader-logo {
  width: clamp(78px, 15vw, 116px);
  height: auto;
  filter: drop-shadow(0 8px 34px rgba(0,0,0,.5));
  animation:
    hb-loader-pop .7s cubic-bezier(.16,.84,.44,1) both,
    hb-loader-breathe 2.4s ease-in-out .7s infinite;
}
.hb-loader-bar {
  position: relative;
  width: clamp(120px, 32vw, 180px);
  height: 3px;
  border-radius: 3px;
  background: rgba(255,255,255,.14);
  overflow: hidden;
}
.hb-loader-bar span {
  position: absolute;
  top: 0;
  left: -40%;
  width: 40%;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, #C6A253, #E0C079);
  animation: hb-loader-slide 1.15s ease-in-out infinite;
}
@keyframes hb-loader-pop {
  from { opacity: 0; transform: translateY(10px) scale(.9); }
  to   { opacity: 1; transform: none; }
}
@keyframes hb-loader-breathe {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.05); }
}
@keyframes hb-loader-slide {
  0%   { left: -40%; }
  100% { left: 100%; }
}

.hb-dark-form input::placeholder,
.hb-dark-form textarea::placeholder { color: rgba(255,255,255,.42); }

/* ---------- Hover- / Focus-Zustände (ersetzen die alten Editor-Attribute) ---------- */
.hb-lift-3 { transition: transform .2s, box-shadow .2s; }
.hb-lift-3:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(198,162,83,.55); }
.hb-lift-2a { transition: transform .2s, box-shadow .2s; }
.hb-lift-2a:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(198,162,83,.55); }
.hb-lift-2b { transition: transform .2s, box-shadow .2s; }
.hb-lift-2b:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(198,162,83,.55); }
.hb-card { transition: transform .4s ease, box-shadow .4s ease; }
.hb-card:hover { transform: translateY(-8px); box-shadow: 0 28px 56px rgba(0,0,0,.45); }
.hb-ghost { transition: background .2s, border-color .2s; }
.hb-ghost:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.45); }
.hb-navlink {
  position: relative;
  padding: 10px 15px;
  color: rgba(255,255,255,.82);
  font-weight: 600;
  font-size: .96rem;
  letter-spacing: .01em;
  text-shadow: 0 1px 10px rgba(0,0,0,.3);
  transition: color .25s;
}
.hb-navlink::after {
  content: "";
  position: absolute;
  left: 15px; right: 15px; bottom: 4px;
  height: 2px; border-radius: 2px;
  background: var(--gold2, #E0C079);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .32s cubic-bezier(.16,.84,.44,1);
}
.hb-navlink:hover { color: #fff; }
.hb-navlink:hover::after,
.hb-navlink.is-active::after { transform: scaleX(1); }
.hb-navlink.is-active { color: #fff; }

.hb-nav-cta {
  margin-left: 12px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 999px;
  background: linear-gradient(135deg, var(--gold2, #E0C079), var(--gold, #C6A253));
  color: #0E1B33; font-weight: 700; font-size: .96rem;
  box-shadow: 0 8px 24px rgba(198,162,83,.4);
}
.hb-imp-row { transition: transform .2s; }
.hb-imp-row:hover { transform: translateX(3px); }
.hb-link-light { transition: color .2s; }
.hb-link-light:hover { color: #fff; }
.hb-link-gold:hover { color: var(--gold, #C6A253); }
.hb-close { transition: background .2s; }
.hb-close:hover { background: rgba(255,255,255,.18); }
.hb-float { transition: transform .3s ease, opacity .3s ease; }
.hb-float:hover { transform: scale(1.08); }
.hb-input { transition: border-color .2s, box-shadow .2s; }
.hb-input:focus { border-color: var(--gold, #C6A253); box-shadow: 0 0 0 3px rgba(198,162,83,.22); }

/* ---------- Hero ---------- */
.hb-hero-wrap    { min-width: 0; }
.hb-hero-content { position: relative; max-width: 600px; }
.hb-hero-content h1,
.hb-hero-p { text-shadow: 0 2px 24px rgba(9,17,34,.55); }

/* Große Screens: Split — Bernad links im Bild sichtbar, Text rechtsbündig */
@media (min-width: 1200px) {
  .hb-hero-overlay {
    background:
      linear-gradient(90deg,
        rgba(9,17,34,0)   0%,
        rgba(9,17,34,0)   24%,
        rgba(9,17,34,.48) 48%,
        rgba(9,17,34,.85) 72%,
        rgba(9,17,34,.95) 100%),
      linear-gradient(180deg, rgba(9,17,34,.4) 0%, rgba(9,17,34,0) 16%);
  }
  .hb-hero-img     { object-position: 74% 6%; }
  .hb-hero-content { max-width: 820px; margin-left: auto; text-align: right; }
  .hb-hero-p       { max-width: 560px; margin-left: auto; }
  .hb-hero-btns    { justify-content: flex-end; }
  .hb-hero-trust   { justify-content: flex-end; }
}

/* Tablet & Mobile: Foto zentriert, Vollton-Overlay (kein Verlauf), Text zentriert */
@media (max-width: 1199px) {
  .hb-hero-overlay { background: rgba(9,17,34,.6); }
  .hb-hero-img     { object-position: 42% 8%; }
  .hb-hero-content { max-width: 660px; margin: 0 auto; text-align: center; }
  .hb-hero-p       { max-width: 60ch; margin-left: auto; margin-right: auto; }
  .hb-hero-btns    { justify-content: center; }
  .hb-hero-trust   { justify-content: center; }
}

/* ---------- Über-uns: Stärken-Grid ---------- */
.hb-about-grid {
  margin-top: clamp(60px,7vw,96px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(32px,4vw,56px);
}
/* Auf kleinen Screens: horizontaler Snap-Scroller (~2–2,5 sichtbar) */
@media (max-width: 640px) {
  .hb-about-grid {
    display: flex;
    grid-template-columns: none;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-left: calc(-1 * var(--nav-x));
    margin-right: calc(-1 * var(--nav-x));
    padding: 6px var(--nav-x) 8px;
    scroll-padding-left: var(--nav-x);
  }
  .hb-about-grid::-webkit-scrollbar { display: none; }
  .hb-about-grid > * {
    flex: 0 0 44%;
    min-width: 152px;
    scroll-snap-align: start;
  }
  .hb-about-grid > * p { max-width: none; }
}

/* ---------- Navigation ---------- */
#hb-nav {
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .4s, box-shadow .4s, border-color .4s, backdrop-filter .4s;
}
#hb-nav.is-scrolled {
  background: rgba(11,21,42,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 40px rgba(0,0,0,.32);
  border-bottom-color: rgba(255,255,255,.09);
}
.hb-nav-row {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: clamp(20px,2.4vw,30px) var(--nav-x, clamp(22px,5vw,64px));
}
/* Höhe bleibt beim Scrollen konstant (nur Hintergrund ändert sich) */
.hb-nav-desktop { display: flex; }
.hb-nav-mobile  { display: none; }
@media (max-width: 899px) {
  .hb-nav-desktop { display: none; }
  .hb-nav-mobile  { display: flex; }
}

/* ---------- Mobiles Menü (animiert) ---------- */
#hb-menu {
  display: flex;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .35s ease, visibility .35s ease;
}
#hb-menu.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
#hb-menu .hb-mlink {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .45s ease, transform .45s cubic-bezier(.16,.84,.44,1);
}
#hb-menu.is-open .hb-mlink { opacity: 1; transform: none; }
#hb-menu.is-open .hb-mlink:nth-child(1) { transition-delay: .06s; }
#hb-menu.is-open .hb-mlink:nth-child(2) { transition-delay: .12s; }
#hb-menu.is-open .hb-mlink:nth-child(3) { transition-delay: .18s; }
#hb-menu.is-open .hb-mlink:nth-child(4) { transition-delay: .24s; }
#hb-menu.is-open .hb-mlink:last-child   { transition-delay: .30s; }
.hb-mlink { transition: opacity .45s ease, transform .45s cubic-bezier(.16,.84,.44,1), background .2s, color .2s; }

/* ---------- Kontaktformular (Schritt-Akkordeon) ---------- */
.hb-step .s-edit,
.hb-step .s-done,
.hb-step .s-locked { display: none; }
.hb-step.is-active .s-edit  { display: block; }
.hb-step.is-done   .s-done  { display: block; }
.hb-step.is-locked .s-locked { display: block; }

.hb-chip { display: flex; align-items: center; justify-content: space-between; gap: 8px; text-align: left; padding: 18px; border-radius: 13px; font-size: 1rem; font-weight: 600; line-height: 1.3; cursor: pointer; transition: all .2s; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); color: rgba(255,255,255,.82); }
.hb-chip .hb-chip-check { flex: 0 0 auto; opacity: 0; }
.hb-chip.is-selected { border-color: var(--gold, #C6A253); background: rgba(198,162,83,.16); color: #fff; }
.hb-chip.is-selected .hb-chip-check { opacity: 1; }

/* Honeypot – für Menschen unsichtbar, Bots füllen es aus */
.hb-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0; pointer-events: none;
}

#hb-sent { display: none; }

/* ---------- Modals (Impressum & Datenschutz, animiert) ---------- */
#hb-modal,
#hb-privacy {
  display: flex;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .3s ease, visibility .3s ease;
}
#hb-modal.is-open,
#hb-privacy.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
#hb-modal .hb-modal-card,
#hb-privacy .hb-modal-card {
  opacity: 0;
  transform: translateY(26px) scale(.96);
  transition: opacity .4s ease, transform .45s cubic-bezier(.16,.84,.44,1);
}
#hb-modal.is-open .hb-modal-card,
#hb-privacy.is-open .hb-modal-card { opacity: 1; transform: none; }

/* ---------- Cookie-/Datenschutz-Hinweis (Full-Width-Leiste unten) ---------- */
#hb-cookie {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 98;
  background: rgba(11,21,42,.97);
  border-top: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 -14px 40px rgba(9,17,34,.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateY(100%);
  transition: transform .5s cubic-bezier(.16,.84,.44,1), opacity .4s ease;
  pointer-events: none;
}
#hb-cookie.is-in { opacity: 1; transform: none; pointer-events: auto; }
.hb-cookie-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(14px,2vw,18px) var(--nav-x);
  padding-bottom: max(clamp(14px,2vw,18px), env(safe-area-inset-bottom, 0px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(14px,3vw,36px);
  flex-wrap: wrap;
}
.hb-cookie-text {
  flex: 1 1 340px;
  color: rgba(255,255,255,.78);
  font-size: .9rem;
  line-height: 1.55;
}
.hb-cookie-link {
  color: var(--gold2, #E0C079);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  background: none; border: 0; padding: 0; cursor: pointer; font: inherit;
}
.hb-cookie-actions { flex: 0 0 auto; }
.hb-cookie-ok {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 28px; border-radius: 999px;
  background: var(--gold, #C6A253); color: #0E1B33;
  font-weight: 700; font-size: .9rem; white-space: nowrap;
  transition: transform .2s, box-shadow .2s;
}
.hb-cookie-ok:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(198,162,83,.4); }

/* Anruf-Button ausblenden, solange die Leiste sichtbar ist */
body.hb-cookie-open .hb-float {
  opacity: 0;
  pointer-events: none;
  transform: translateY(30px);
}

@media (max-width: 560px) {
  .hb-cookie-inner { gap: 12px; }
  .hb-cookie-actions { flex: 1 1 100%; }
  .hb-cookie-ok { width: 100%; }
}

/* ---------- Scroll-Animationen (ersetzen GSAP) ---------- */
.js [data-hero],
.js [data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s cubic-bezier(.16,.84,.44,1), transform .8s cubic-bezier(.16,.84,.44,1);
}
.js [data-hero] { transform: translateY(36px); }
.js [data-hero].is-in,
.js [data-reveal].is-in { opacity: 1; transform: none; }

.js [data-stagger] > *,
.js [data-cards] > * {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity .7s ease, transform .7s ease;
}
.js [data-cards] > * { transform: translateY(58px) scale(.94); }
.js [data-stagger].is-in > *,
.js [data-cards].is-in > * { opacity: 1; transform: none; }
.js .is-in > *:nth-child(2) { transition-delay: .09s; }
.js .is-in > *:nth-child(3) { transition-delay: .18s; }
.js .is-in > *:nth-child(4) { transition-delay: .27s; }
.js .is-in > *:nth-child(5) { transition-delay: .36s; }
.js .is-in > *:nth-child(6) { transition-delay: .45s; }

/* Sicherheitsnetz per CSS: falls das Skript nicht lädt, werden Inhalte
   nach 4 s auf jeden Fall sichtbar (kein dauerhaft verstecktes Layout). */
@keyframes hb-reveal-failsafe { to { opacity: 1; transform: none; } }
.js [data-hero], .js [data-reveal],
.js [data-stagger] > *, .js [data-cards] > * {
  animation: hb-reveal-failsafe .01s linear 4s forwards;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-hero], .js [data-reveal],
  .js [data-stagger] > *, .js [data-cards] > * {
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
  .hb-float { animation: none !important; }
  [style*="hb-bob"] { animation: none !important; }
  #hb-menu, #hb-menu .hb-mlink,
  #hb-modal, #hb-modal .hb-modal-card,
  #hb-privacy, #hb-privacy .hb-modal-card,
  #hb-cookie,
  .hb-nav-row { transition: none !important; }
  #hb-menu .hb-mlink,
  #hb-modal .hb-modal-card,
  #hb-privacy .hb-modal-card { transform: none !important; }
  .hb-loader-logo { animation: none !important; opacity: 1 !important; transform: none !important; }
  .hb-loader-bar span { animation: none !important; }
}
