/* =========================================================================
   BLT Group – Custom Stylesheet (OPTIMIERT)
   Monochromes, edles Design-System
   Basis: Bootstrap 5 (lokal eingebunden)
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. CSS-Variablen (Design Tokens)
   ------------------------------------------------------------------------- */
:root {
  /* Farbpalette – monochrom edel */
  --c-black:        #0A0A0A;
  --c-anthra:       #1A1A1A;
  --c-darkgrey:     #2C2C2C;
  --c-midgrey:      #6B6B6B;
  --c-lightgrey:    #D4D4D4;
  --c-offwhite:     #F5F5F5;
  --c-cream:        #EEEAE3;   /* warmes alt für Sektionswechsel */
  --c-stone:        #E8E5DF;   /* dezent für Referenzen-Sektion */
  --c-white:        #FFFFFF;
  --c-accent:       #8B8680;   /* warmes Grau für Hairlines / Hover */
  --c-warm-dark:    #2E2A26;   /* dunkles Erdbraun für Formular-Section */

  /* Semantische Farb-Aliase */
  --c-bg:           var(--c-offwhite);
  --c-bg-alt:       var(--c-white);
  --c-bg-dark:      var(--c-black);
  --c-text:         var(--c-anthra);
  --c-text-muted:   var(--c-midgrey);
  --c-text-invert:  var(--c-offwhite);
  --c-line:         var(--c-lightgrey);
  --c-line-strong:  var(--c-accent);

  /* Typografie */
  --f-display:      'Oswald', 'Arial Narrow', 'Helvetica Neue', sans-serif;
  --f-body:         'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --fs-base:        1rem;
  --lh-body:        1.6;
  --lh-display:     1.05;
  --ls-display:     0.01em;
  --ls-eyebrow:     0.22em;

  /* Spacing-Skala (8px-Rhythmus) */
  --s-1:  0.5rem;
  --s-2:  1rem;
  --s-3:  1.5rem;
  --s-4:  2.5rem;
  --s-5:  4rem;
  --s-6:  6rem;
  --s-7:  8rem;

  /* Section-Padding (responsive) */
  --section-py:     clamp(4rem, 8vw, 8rem);
  --section-py-sm:  clamp(2.5rem, 5vw, 5rem);
  --container-px:   clamp(1.25rem, 4vw, 3rem);

  /* Radii */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;

  /* Bewegung */
  --ease-out:       cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out:    cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast:         180ms;
  --t-base:         280ms;
  --t-slow:         600ms;
  --t-vslow:        1200ms;

  /* Schatten */
  --shadow-soft:    0 2px 12px rgba(10, 10, 10, 0.06);
  --shadow-md:      0 8px 24px -8px rgba(10, 10, 10, 0.12);
  --shadow-lg:      0 18px 40px -14px rgba(10, 10, 10, 0.22);
  --shadow-deep:    0 24px 60px -20px rgba(10, 10, 10, 0.35);

  /* Layout */
  --header-h:       80px;
}

@media (max-width: 991.98px) {
  :root { --header-h: 68px; }
}

/* -------------------------------------------------------------------------
   2. Webfonts – lokal, mit latin + latin-ext
   ------------------------------------------------------------------------- */
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/oswald-400.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/oswald-400-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; }
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/oswald-600.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/oswald-600-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; }
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/oswald-700.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/oswald-700-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; }

@font-face { font-family: 'Lato'; font-style: normal; font-weight: 300; font-display: swap;
  src: url('../fonts/lato-300.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+2074, U+20AC, U+2122, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 300; font-display: swap;
  src: url('../fonts/lato-300-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; }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/lato-400.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+2074, U+20AC, U+2122, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/lato-400-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; }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/lato-700.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+2074, U+20AC, U+2122, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/lato-700-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; }

/* -------------------------------------------------------------------------
   3. Reset & Basis
   ------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--f-body);
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: var(--lh-body);
  color: var(--c-text);
  background-color: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: auto;
  overflow-x: hidden;
}

html, body {
  overscroll-behavior-y: none;
  background-color: var(--c-anthra);
}

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

a {
  color: var(--c-text);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease-out),
              opacity var(--t-fast) var(--ease-out);
}
a:hover { color: var(--c-accent); }

::selection { background-color: var(--c-anthra); color: var(--c-offwhite); }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--c-anthra);
  outline-offset: 3px;
  border-radius: 2px;
}
.on-dark :focus-visible,
.site-header--scrolled :focus-visible,
.site-footer :focus-visible,
.hero :focus-visible {
  outline-color: var(--c-offwhite);
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.25rem;
  background: var(--c-anthra);
  color: var(--c-offwhite);
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
  transition: top var(--t-base) var(--ease-out);
}
.skip-link:focus,
.skip-link:focus-visible { top: 1rem; color: var(--c-offwhite); outline: 3px solid var(--c-offwhite); outline-offset: 2px; }
#main:focus { outline: none; }

/* -------------------------------------------------------------------------
   4. Typografie
   ------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 600;
  line-height: var(--lh-display);
  letter-spacing: var(--ls-display);
  color: var(--c-anthra);
  margin: 0 0 1rem;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0;
}
h2 {
  font-size: clamp(1.875rem, 4.5vw, 3.5rem);
  font-weight: 600;
}
h3 {
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  font-weight: 600;
}
h4 { font-size: 1.125rem; font-weight: 600; }

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

.lead {
  font-size: clamp(1.0625rem, 1.5vw, 1.375rem);
  font-weight: 300;
  line-height: 1.5;
  color: var(--c-darkgrey);
  max-width: 60ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: var(--ls-eyebrow);
  color: var(--c-midgrey);
  margin-bottom: 1.5rem;
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--c-line-strong);
  display: inline-block;
}
.on-dark .eyebrow { color: var(--c-lightgrey); }
.on-dark .eyebrow::before { background: var(--c-accent); }

.slogan {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(1.0625rem, 1.5vw, 1.375rem);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--c-darkgrey);
  margin: 0 0 2rem;
}
.slogan strong { font-weight: 700; color: var(--c-anthra); }

.on-dark { color: var(--c-text-invert); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: var(--c-white); }
.on-dark .lead { color: var(--c-lightgrey); }

/* Section-Label & Subtitle (für Referenzen-Section) */
.section-header { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-label {
  display: inline-block;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: var(--ls-eyebrow);
  color: var(--c-midgrey);
  margin-bottom: 1rem;
  position: relative;
  padding-left: 44px;
}
.section-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 32px;
  height: 1px;
  background: var(--c-accent);
}
.section-title {
  margin: 0 0 1rem;
}
.section-subtitle {
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  color: var(--c-darkgrey);
  font-weight: 300;
  max-width: 60ch;
  margin: 0 auto;
  line-height: 1.55;
}

/* -------------------------------------------------------------------------
   5. Layout-Utilities
   ------------------------------------------------------------------------- */
.container-edge {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding-left: var(--container-px);
  padding-right: var(--container-px);
}

.section {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
}
.section--tight {
  padding-top: var(--section-py-sm);
  padding-bottom: var(--section-py-sm);
}
.section--dark {
  background: var(--c-anthra);
  color: var(--c-text-invert);
}

/* Section-BG-Wechsel (alternierend hell/warm) – override of Bootstrap bg-*
   WICHTIG: höhere Spezifität als .bg-secondary/.bg-light */
.section.bg-secondary,
section.bg-secondary {
  background-color: var(--c-cream) !important;
  color: var(--c-text);
}
.section.bg-light,
section.bg-light {
  background-color: var(--c-stone) !important;
  color: var(--c-text);
}
.section.bg-white,
section.bg-white {
  background-color: var(--c-bg-alt) !important;
}

.hairline { height: 1px; background: var(--c-line); border: 0; margin: 0; }
.section--dark .hairline { background: rgba(255,255,255,0.08); }

/* Buttons */
.btn-blt {
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 1rem 1.75rem;
  border: 1px solid var(--c-anthra);
  background: var(--c-anthra);
  color: var(--c-offwhite);
  text-decoration: none;
  cursor: pointer;
  transition: background var(--t-base) var(--ease-out),
              color var(--t-base) var(--ease-out),
              border-color var(--t-base) var(--ease-out),
              transform var(--t-fast) var(--ease-out);
}
.btn-blt:hover, .btn-blt:focus-visible {
  background: var(--c-offwhite);
  color: var(--c-anthra);
  border-color: var(--c-anthra);
}
.btn-blt .bi { width: 14px; height: 14px; transition: transform var(--t-base) var(--ease-out); }
.btn-blt:hover .bi { transform: translate(2px, -2px); }

.btn-blt--ghost { background: transparent; color: var(--c-anthra); border-color: var(--c-anthra); }
.btn-blt--ghost:hover, .btn-blt--ghost:focus-visible { background: var(--c-anthra); color: var(--c-offwhite); }
.on-dark .btn-blt--ghost { color: var(--c-offwhite); border-color: var(--c-offwhite); }
.on-dark .btn-blt--ghost:hover, .on-dark .btn-blt--ghost:focus-visible { background: var(--c-offwhite); color: var(--c-anthra); }

/* Bootstrap primary-Button im BLT-Look */
.btn.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 0.875rem 1.75rem;
  background: var(--c-anthra);
  border: 1px solid var(--c-anthra);
  color: var(--c-offwhite);
  border-radius: 0;
  transition: background var(--t-base) var(--ease-out), color var(--t-base) var(--ease-out);
}
.btn.btn-primary:hover, .btn.btn-primary:focus-visible {
  background: transparent;
  color: var(--c-anthra);
  border-color: var(--c-anthra);
}

.bi {
  display: inline-block;
  width: 1em;
  height: 1em;
  fill: currentColor;
  vertical-align: -0.125em;
}

/* -------------------------------------------------------------------------
   6. Header & Navigation
   ------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  background: rgba(245, 245, 245, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--c-line);
  box-shadow: var(--shadow-soft);
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.125rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--c-anthra);
  text-decoration: none;
  transition: color var(--t-base) var(--ease-out);
  padding: 0 !important;
}
.brand img {
  height: clamp(48px, 6vw, 64px);
  width: auto;
  filter: none;
  transition: filter var(--t-base) var(--ease-out);
}
.brand__sub {
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: var(--c-midgrey);
  margin-left: 0.25rem;
}

.site-nav { display: none; align-items: center; gap: 0.25rem; }
@media (min-width: 992px) { .site-nav { display: inline-flex; } }

.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.875rem;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.9375rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--c-anthra);
  text-decoration: none;
  transition: color var(--t-base) var(--ease-out);
}
.site-nav__link:hover { color: var(--c-accent); }
.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0.875rem;
  right: 0.875rem;
  bottom: 0.2rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base) var(--ease-out);
}
.site-nav__link:hover::after,
.site-nav__link[aria-current="page"]::after { transform: scaleX(1); }

.site-nav__icon { width: 17px; height: 17px; fill: currentColor; color: var(--c-anthra); flex-shrink: 0; opacity: 0.85; }

/* Burger */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--c-line);
  color: var(--c-anthra);
  cursor: pointer;
  transition: background var(--t-base) var(--ease-out);
}
.nav-toggle:hover { background: rgba(0,0,0,0.05); }
.nav-toggle svg.bi { width: 22px; height: 22px; fill: var(--c-anthra); }
@media (min-width: 992px) { .nav-toggle { display: none; } }

.site-nav__cta { margin-left: 1rem; padding: 0.65rem 1.1rem; font-size: 0.75rem; }

/* -------------------------------------------------------------------------
   7. Hero
   ------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 92vh;
  min-height: 92svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--c-black);
  color: var(--c-offwhite);
  padding: var(--header-h) 0 0;
}

.hero__media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__media img,
.hero__media picture,
.hero__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center 40%;
}
.hero__media picture img { position: static; }
.hero__media img,
.hero__media picture img {
  animation: ken-burns 16s var(--ease-in-out) infinite alternate;
  -webkit-animation: ken-burns 16s var(--ease-in-out) infinite alternate;
}
@keyframes ken-burns {
  0%   { transform: scale(1.0)  translate(0%, 0%); }
  50%  { transform: scale(2.00) translate(-2%, 1%); }
  100% { transform: scale(1.00) translate(-2%, 0%); }
}
@-webkit-keyframes ken-burns {
  0%   { -webkit-transform: scale(1.0)  translate(0%, 0%); }
  50%  { -webkit-transform: scale(2.00) translate(-2%, 1%); }
  100% { -webkit-transform: scale(1.00) translate(-2%, 0%); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.35) 30%, rgba(10,10,10,0.85) 100%),
    linear-gradient(90deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.0) 60%);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: clamp(3rem, 8vw, 7rem);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
  font-family: var(--f-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.75rem;
  color: var(--c-lightgrey);
  margin-bottom: 1.5rem;
}
.hero__eyebrow::before { content: ""; width: 48px; height: 1px; background: var(--c-accent); }

.hero__headline {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(2.25rem, 7vw, 6rem);
  line-height: 0.96;
  letter-spacing: -0.005em;
  color: var(--c-white);
  margin: 0 0 1.5rem;
  max-width: 18ch;
  text-transform: uppercase;
}
.hero__headline span { display: block; color: var(--c-accent); font-weight: 600; }

.hero__subline {
  font-family: var(--f-body);
  font-weight: 300;
  font-size: clamp(0.9375rem, 1.4vw, 1.25rem);
  line-height: 1.55;
  color: var(--c-lightgrey);
  max-width: 56ch;
  margin: 0;
}

.hero__scroll {
  position: absolute;
  z-index: 2;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--f-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.6875rem;
  color: var(--c-lightgrey);
  text-decoration: none;
}
.hero__scroll .bi { width: 14px; height: 14px; animation: scroll-bounce 2.4s var(--ease-in-out) infinite; }
@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50%      { transform: translateY(6px); opacity: 1; }
}
@media (max-width: 575.98px) {
  .hero__scroll { display: none; } /* zu eng auf kleinen Phones */
}

/* Hero-Animation der Texte */
.hero__eyebrow,
.hero__headline,
.hero__subline {
  opacity: 0;
  transform: translateY(28px);
  animation: hero-in 1100ms var(--ease-out) forwards;
}
.hero__eyebrow  { animation-delay: 200ms; }
.hero__headline { animation-delay: 380ms; }
.hero__subline  { animation-delay: 620ms; }
@keyframes hero-in { to { opacity: 1; transform: translateY(0); } }

/* Page-Hero */
.page-hero {
  background: var(--c-anthra);
  color: var(--c-offwhite);
  padding: calc(var(--header-h) + 3rem) 0 4rem;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--c-accent) 50%, transparent 100%);
}
.page-hero h1 { color: var(--c-white); margin: 0.5rem 0 0; font-size: clamp(2.25rem, 5vw, 4rem); }

/* -------------------------------------------------------------------------
   8. Section: Über uns – PROFI-Version
   ------------------------------------------------------------------------- */
.about {
  background: var(--c-bg-alt);
  position: relative;
  overflow: hidden;
}

/* dezente Hintergrund-Typo-Spur */
.about::before {
  content: "BLT";
  position: absolute;
  top: -2rem;
  right: -2rem;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(8rem, 18vw, 18rem);
  line-height: 1;
  color: var(--c-anthra);
  opacity: 0.025;
  pointer-events: none;
  letter-spacing: -0.02em;
  user-select: none;
  z-index: 0;
}

.about__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}
@media (min-width: 992px) {
  .about__grid {
    grid-template-columns: 5fr 7fr;
  }
}

/* Bild-Wrapper mit Akzent-Frame */
.about__media-wrap {
  position: relative;
  padding: clamp(0.875rem, 2vw, 1.5rem);
}
.about__media-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 60%;
  border-top: 1px solid var(--c-accent);
  border-left: 1px solid var(--c-accent);
  pointer-events: none;
}
.about__media-wrap::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60%;
  height: 60%;
  border-bottom: 1px solid var(--c-accent);
  border-right: 1px solid var(--c-accent);
  pointer-events: none;
}

.about__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 2px;
  box-shadow: var(--shadow-lg);
}
.about__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-vslow) var(--ease-out);
}
.about.is-visible .about__media img { transform: scale(1.04); }

/* Floating Badge */
.about__badge {
  position: absolute;
  bottom: -1.25rem;
  right: -1.25rem;
  z-index: 2;
  background: var(--c-anthra);
  color: var(--c-offwhite);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 180px;
  box-shadow: var(--shadow-deep);
  border-radius: 2px;
}
.about__badge-num {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1;
  color: var(--c-white);
  letter-spacing: -0.01em;
}
.about__badge-label {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--c-lightgrey);
  line-height: 1.4;
}

@media (max-width: 575.98px) {
  .about__badge {
    right: 0;
    bottom: -1rem;
    padding: 1rem 1.25rem;
    min-width: 150px;
  }
}

/* Body */
.about__body {
  max-width: 60ch;
}
.about__body h2 {
  margin-bottom: 1.5rem;
}
.about__accent {
  color: var(--c-accent);
  font-weight: 600;
}
.about__body p {
  color: var(--c-darkgrey);
}
.about__body p + p {
  margin-top: 1.25rem;
}
.about__body strong {
  color: var(--c-anthra);
  font-weight: 700;
}

/* Pillars-Liste */
.about__pillars {
  list-style: none;
  padding: 0;
  margin: 2.5rem 0 2.5rem;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--c-line);
}
.about__pillar {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--c-line);
}
.about__pillar-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--c-midgrey);
  color: var(--c-anthra);
  flex-shrink: 0;
  transition: background var(--t-base) var(--ease-out),
              color var(--t-base) var(--ease-out),
              border-color var(--t-base) var(--ease-out);
}
.about__pillar-icon .bi {
  width: 20px;
  height: 20px;
}
.about__pillar:hover .about__pillar-icon {
  background: var(--c-anthra);
  color: var(--c-offwhite);
  border-color: var(--c-anthra);
}
.about__pillar-title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c-anthra);
  margin: 0.25rem 0 0.375rem;
}
.about__pillar-text {
  font-size: 0.9375rem;
  color: var(--c-darkgrey);
  line-height: 1.55;
  margin: 0;
}

.about__cta {
  margin-top: 0.5rem;
}


/* -------------------------------------------------------------------------
   9. Pillars-Grid
   ------------------------------------------------------------------------- */
.pillars {
  background: var(--c-anthra);
  color: var(--c-offwhite);
  padding-top: clamp(3rem, 6vw, 6rem);
  padding-bottom: 0;
}
.pillars__head { margin-bottom: clamp(2.5rem, 5vw, 5rem); max-width: 720px; }
.pillars__head .lead { color: var(--c-lightgrey); }
.pillars__head h2 { color: var(--c-white); }

.pillar-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  background: var(--c-darkgrey);
}
@media (min-width: 768px) { .pillar-grid { grid-template-columns: repeat(3, 1fr); } }

.pillar {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--c-black);
  text-decoration: none;
  color: var(--c-offwhite);
}
@media (min-width: 768px) { .pillar { aspect-ratio: 4 / 5; } }

.pillar__media { position: absolute; inset: 0; }
.pillar__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-vslow) var(--ease-out);
  filter: grayscale(0.2) brightness(0.85);
}
.pillar__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.15) 0%, rgba(10,10,10,0.8) 100%);
  transition: background var(--t-base) var(--ease-out);
}
.pillar__arrow {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--c-offwhite);
  background: rgba(10,10,10,0.25);
  transition: background var(--t-base) var(--ease-out),
              border-color var(--t-base) var(--ease-out),
              transform var(--t-base) var(--ease-out);
}
.pillar__arrow .bi { width: 18px; height: 18px; }
.pillar__content { position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem 1.75rem 2.25rem; z-index: 2; }
.pillar__kicker {
  display: block;
  font-family: var(--f-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.6875rem;
  color: var(--c-lightgrey);
  margin-bottom: 0.5rem;
}
.pillar__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.05;
  color: var(--c-white);
  text-transform: uppercase;
  letter-spacing: 0.005em;
  margin: 0 0 0.75rem;
}
.pillar__desc { font-size: 0.95rem; color: var(--c-lightgrey); margin: 0; max-width: 32ch; line-height: 1.5; }

.pillar:hover .pillar__media img,
.pillar:focus-visible .pillar__media img { transform: scale(1.05); }
.pillar:hover .pillar__overlay,
.pillar:focus-visible .pillar__overlay { background: linear-gradient(180deg, rgba(26,26,26,0.55) 0%, rgba(10,10,10,0.85) 100%); }
.pillar:hover .pillar__arrow,
.pillar:focus-visible .pillar__arrow {
  background: var(--c-offwhite);
  color: var(--c-anthra);
  border-color: var(--c-offwhite);
  transform: translate(2px, -2px);
}

/* -------------------------------------------------------------------------
   10. Facility – Service-Cards (warm-helle Sektion)
   ------------------------------------------------------------------------- */
.facility { background: var(--c-cream); }
.facility__head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  align-items: end;
}
@media (min-width: 992px) {
  .facility__head { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

.facility__brand { display: inline-flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.facility__brand img { height: 56px; width: auto; }

.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--c-line);
  border: 1px solid var(--c-line);
}
@media (min-width: 768px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .service-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  background: var(--c-bg-alt);
  padding: clamp(1.75rem, 3vw, 2.5rem) clamp(1.5rem, 2.5vw, 2rem);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: background var(--t-base) var(--ease-out);
}
.service-card:hover { background: var(--c-offwhite); }

.service-card__icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--c-line);
  color: var(--c-anthra);
  margin-bottom: 1.5rem;
  transition: background var(--t-base) var(--ease-out),
              color var(--t-base) var(--ease-out),
              border-color var(--t-base) var(--ease-out);
}
.service-card__icon .bi { width: 24px; height: 24px; }
.service-card:hover .service-card__icon {
  background: var(--c-anthra);
  color: var(--c-offwhite);
  border-color: var(--c-anthra);
}

.service-card__title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  text-transform: uppercase;
  letter-spacing: 0.005em;
  color: var(--c-anthra);
  margin: 0 0 0.75rem;
}
.service-card__text { color: var(--c-darkgrey); font-size: 0.9375rem; line-height: 1.55; margin: 0 0 1.25rem; }

.service-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--c-line);
  padding-top: 1.25rem;
}
.service-card__list li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.5rem;
  font-size: 0.9375rem;
  color: var(--c-darkgrey);
  line-height: 1.4;
}
.service-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.0625rem;
  width: 8px;
  height: 1px;
  background: var(--c-accent);
}

/* -------------------------------------------------------------------------
   11. Construction
   ------------------------------------------------------------------------- */
.construction { background: var(--c-bg-alt); }
.construction__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
@media (min-width: 992px) { .construction__grid { grid-template-columns: 7fr 5fr; } }

.construction__media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; order: 1; border-radius: var(--radius-sm); }
@media (min-width: 992px) { .construction__media { aspect-ratio: 5 / 4; } }
.construction__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-vslow) var(--ease-out); }
.construction.is-visible .construction__media img { transform: scale(1.03); }

.construction__body { order: 2; }
.construction__brand img { height: 56px; width: auto; margin-bottom: 1.5rem; }

.feature-list { list-style: none; padding: 0; margin: 2rem 0 2.5rem; border-top: 1px solid var(--c-line); }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.125rem 0;
  border-bottom: 1px solid var(--c-line);
  font-size: 1rem;
  color: var(--c-darkgrey);
}
.feature-list li .bi { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 0.2rem; color: var(--c-accent); }

/* -------------------------------------------------------------------------
   12. Immobilien – CTA-Section (jetzt dunkel als Section-Wechsel)
   ------------------------------------------------------------------------- */
.immobilien {
  background: var(--c-black);
  color: var(--c-offwhite);
  position: relative;
  overflow: hidden;
}
.immobilien::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(139, 134, 128, 0.10) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(139, 134, 128, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.cta__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: end;
}
@media (min-width: 992px) { .cta__inner { grid-template-columns: 1fr auto; } }

.cta__headline {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 1.0;
  text-transform: uppercase;
  color: var(--c-white) !important;
  margin: 0;
  max-width: 16ch;
}
.cta__headline.text-dark { color: var(--c-white) !important; }
.cta__headline span { color: var(--c-accent); font-weight: 600; }
.cta__sub { margin-top: 1.25rem; color: var(--c-lightgrey); font-size: 1.0625rem; max-width: 40ch; }

.immobilien .btn-blt {
  background: var(--c-offwhite);
  color: var(--c-anthra);
  border-color: var(--c-offwhite);
}
.immobilien .btn-blt:hover,
.immobilien .btn-blt:focus-visible {
  background: transparent;
  color: var(--c-offwhite);
  border-color: var(--c-offwhite);
}

/* -------------------------------------------------------------------------
   13. Referenzen – Slider (warm-helle Sektion mit Stone-Hintergrund)
   ------------------------------------------------------------------------- */
.section-clients {
  background-color: var(--c-stone) !important;
}

.client-slider-custom {
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.client-logo-box {
  background: var(--c-bg-alt);
  padding: clamp(1.25rem, 2.5vw, 2rem) clamp(1rem, 2vw, 1.5rem);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  box-shadow: var(--shadow-md);
  transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out);
  margin: 0.5rem;
  border: 1px solid rgba(0,0,0,0.04);
}
.client-logo-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.client-logo-box img {
  max-height: 80px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.65;
  transition: filter var(--t-base) var(--ease-out), opacity var(--t-base) var(--ease-out);
}
.client-logo-box:hover img {
  filter: grayscale(0);
  opacity: 1;
}

@media (min-width: 992px) {
  .client-logo-box { min-height: 160px; }
  .client-logo-box img { max-height: 100px; }
}

/* Carousel-Nav */
.client-slider-custom .carousel-control-prev,
.client-slider-custom .carousel-control-next {
  width: 48px;
  height: 48px;
  background: var(--c-bg-alt);
  border: 1px solid var(--c-line);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
  box-shadow: var(--shadow-md);
  transition: background var(--t-base) var(--ease-out),
              border-color var(--t-base) var(--ease-out),
              transform var(--t-base) var(--ease-out);
}
.client-slider-custom .carousel-control-prev { left: -12px; }
.client-slider-custom .carousel-control-next { right: -12px; }

.client-slider-custom .carousel-control-prev:hover,
.client-slider-custom .carousel-control-next:hover {
  background: var(--c-anthra);
  border-color: var(--c-anthra);
  transform: translateY(-50%) scale(1.05);
}

.carousel-control-prev-icon.dark,
.carousel-control-next-icon.dark {
  filter: invert(1) brightness(0.15);
  width: 16px;
  height: 16px;
  background-size: 16px 16px;
  transition: filter var(--t-base) var(--ease-out);
}
.client-slider-custom .carousel-control-prev:hover .carousel-control-prev-icon.dark,
.client-slider-custom .carousel-control-next:hover .carousel-control-next-icon.dark {
  filter: invert(0) brightness(2);
}

@media (max-width: 767.98px) {
  .client-slider-custom .carousel-control-prev,
  .client-slider-custom .carousel-control-next { display: none; }
  .client-logo-box { min-height: 110px; margin: 0.25rem; }
  .client-logo-box img { max-height: 64px; }
}

/* -------------------------------------------------------------------------
   14. Referenzen – Stats & Work-Gallery
   ------------------------------------------------------------------------- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2rem);
}
@media (min-width: 768px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }

.stat-item { text-align: center; }
.stat-item__num {
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--c-black);
  line-height: 1;
}
.stat-item__num span { color: var(--c-accent); }
.stat-item__label {
  font-size: 0.875rem;
  color: var(--c-midgrey);
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.immobilien .section-label { color: var(--c-accent); }
.immobilien .section-title { color: var(--c-white); }
.immobilien .section-subtitle { color: var(--c-lightgrey); font-weight: 300; }
.immobilien .stat-item__num { color: var(--c-white); }
.immobilien .stat-item__label { color: var(--c-lightgrey);
}

.work-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
@media (min-width: 768px) { .work-gallery { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }

.work-gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 4 / 3;
  background: var(--c-anthra);
}
.work-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
  display: block;
}
.work-gallery__item:hover img { transform: scale(1.06); }
.work-gallery__caption {
  position: absolute;
  inset: auto 0 0;
  background: linear-gradient(to top, rgba(10,10,10,0.78) 0%, transparent 100%);
  padding: 2rem 1rem 0.875rem;
  color: var(--c-white);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  translate: 0 100%;
  transition: translate 0.32s var(--ease-out);
}
.work-gallery__item:hover .work-gallery__caption,
.work-gallery__item:focus-within .work-gallery__caption { translate: 0 0; }

/* -------------------------------------------------------------------------
   15. Footer
   ------------------------------------------------------------------------- */
.site-footer {
  background: var(--c-anthra);
  color: var(--c-lightgrey);
  padding: clamp(3rem, 6vw, 6rem) 0 0;
}
.site-footer h3 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--c-white);
  margin: 0 0 1.5rem;
}
.site-footer a { color: var(--c-lightgrey); text-decoration: none; }
.site-footer a:hover { color: var(--c-white); }

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 576px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .site-footer__grid { grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 3rem; } }

.site-footer__brand-col a { display: inline-block; }
.site-footer__brand,
.site-footer__brand-col img {
  height: 64px;
  width: auto;
  filter: invert(1) brightness(1.4);
  margin-bottom: 1.25rem;
}
.site-footer__about { font-size: 0.9rem; line-height: 1.6; max-width: 32ch; }

.footer-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.75rem; font-size: 0.95rem; }
.footer-meta { font-size: 0.95rem; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-meta strong { color: var(--c-white); font-weight: 700; }

.site-footer__memberships {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 2.25rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}
@media (min-width: 768px) {
  .site-footer__memberships { flex-direction: row; justify-content: center; gap: 2.25rem; text-align: left; }
}
.site-footer__memberships-label {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--c-white);
  opacity: 0.85;
}
.site-footer__memberships-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.9rem;
}
.site-footer__memberships-list a {
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; border-radius: 10px; padding: 0.6rem 1rem;
  width: 220px; height: 76px;
  transition: transform 250ms ease, box-shadow 250ms ease; text-decoration: none;
}
.site-footer__memberships-list a:hover,
.site-footer__memberships-list a:focus-visible {
  transform: translateY(-2px); box-shadow: 0 12px 28px -14px rgba(0,0,0,0.55);
}
.site-footer__memberships-list img {
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  object-fit: contain; display: block;
}
@media (prefers-reduced-motion: reduce) {
  .site-footer__memberships-list a { transition: none; }
  .site-footer__memberships-list a:hover,
  .site-footer__memberships-list a:focus-visible { transform: none; }
}

.site-footer__bar {
  margin-top: 2.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.825rem;
  color: var(--c-lightgrey);
  text-align: center;
}
@media (min-width: 768px) {
  .site-footer__bar { flex-direction: row; justify-content: space-between; text-align: left; }
}
.site-footer__bar-links { display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; padding: 0; margin: 0; }

/* -------------------------------------------------------------------------
   15. Jobs – Karten & Bewerbungsformular
   ------------------------------------------------------------------------- */
.job-card {
  background: var(--c-bg-alt);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: box-shadow var(--t-base) var(--ease-out), transform var(--t-base) var(--ease-out);
}
.job-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.job-card__badges { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.job-card__badge {
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; padding: 0.25rem 0.75rem;
  border-radius: 100px; background: var(--c-stone); color: var(--c-midgrey);
}
.job-card__title {
  font-family: var(--f-display); font-size: 1.1875rem; font-weight: 700;
  color: var(--c-black); text-transform: uppercase; letter-spacing: 0.05em; margin: 0;
}
.job-card__desc { color: var(--c-darkgrey); font-size: 0.9375rem; line-height: 1.65; flex: 1; margin: 0; }
.job-card__link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--f-display); font-size: 0.8125rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--c-anthra); text-decoration: none;
  transition: color var(--t-base) var(--ease-out);
  margin-top: auto;
}
.job-card__link .bi { width: 14px; height: 14px; transition: transform var(--t-base) var(--ease-out); }
.job-card__link:hover { color: var(--c-accent); }
.job-card__link:hover .bi { transform: translate(2px, -2px); }

/* Bewerbungsformular */
.blt-form .form-label {
  font-family: var(--f-display); font-weight: 600; font-size: 0.8125rem;
  letter-spacing: 0.07em; text-transform: uppercase; color: var(--c-anthra); margin-bottom: 0.5rem;
}
.blt-form .required-mark { color: var(--c-accent); margin-left: 2px; }
.blt-form .form-control,
.blt-form .form-select {
  border: 1.5px solid var(--c-line); border-radius: var(--radius-sm);
  padding: 0.75rem 1rem; font-family: var(--f-body); font-size: 1rem;
  color: var(--c-anthra); background: var(--c-white);
  transition: border-color var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out);
  box-shadow: none;
}
.blt-form .form-control:focus,
.blt-form .form-select:focus {
  border-color: var(--c-anthra); box-shadow: 0 0 0 3px rgba(10,10,10,0.07); outline: none;
}
.blt-form textarea.form-control { resize: vertical; min-height: 130px; }
.blt-form .form-check-input:checked { background-color: var(--c-anthra); border-color: var(--c-anthra); }
.blt-form .form-check-input:focus { box-shadow: 0 0 0 3px rgba(10,10,10,0.07); border-color: var(--c-anthra); }
.blt-form .form-check-label { font-size: 0.9rem; color: var(--c-midgrey); }
.blt-form .form-check-label a { color: var(--c-anthra); }

.form-alert {
  padding: 1rem 1.25rem; border-radius: var(--radius-sm); margin-bottom: 1.5rem;
  font-weight: 600; font-size: 0.9375rem;
}
.form-alert--success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.form-alert--error   { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* Formular auf dunklem Hintergrund */
.immobilien .blt-form .form-label { color: var(--c-white); }
.immobilien .blt-form .form-check-label { color: var(--c-lightgrey); }
.immobilien .blt-form .form-check-label a { color: var(--c-offwhite); }
.immobilien .blt-form p { color: var(--c-lightgrey); }
.immobilien .blt-form .form-check-input:focus { box-shadow: 0 0 0 3px rgba(255,255,255,0.25); border-color: var(--c-offwhite); }

/* Impressum / statische Textseiten */
.impressum-block h2 {
  font-family: var(--f-display);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-black);
  margin: 2.5rem 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--c-line);
}
.impressum-block h2:first-child { margin-top: 0; }
.impressum-block h3 {
  font-family: var(--f-display);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-darkgrey);
  margin: 1.75rem 0 0.5rem;
}
.impressum-block ul {
  margin: 0.25rem 0 1rem 0;
  padding-left: 1.25rem;
}
.impressum-block li {
  color: var(--c-darkgrey);
  line-height: 1.75;
  margin-bottom: 0.25rem;
}
.impressum-block p,
.impressum-block address { color: var(--c-darkgrey); line-height: 1.75; margin: 0 0 0.5rem; font-style: normal; }
.impressum-block a { color: var(--c-anthra); text-decoration: underline; text-underline-offset: 3px; }
.impressum-block a:hover { color: var(--c-accent); }
.impressum-block a:focus-visible { outline: 2px solid var(--c-anthra); outline-offset: 2px; border-radius: 2px; }
.impressum-block .footer-cookie-btn { color: var(--c-anthra); text-underline-offset: 3px; }
.impressum-block .footer-cookie-btn:hover { color: var(--c-accent); }

/* Dunkle Variante */
.impressum-block--dark h2 {
  color: var(--c-white);
  border-bottom-color: rgba(255,255,255,0.12);
}
.impressum-block--dark p,
.impressum-block--dark address,
.impressum-block--dark strong { color: var(--c-lightgrey); }
.impressum-block--dark strong { color: var(--c-offwhite); }
.impressum-block--dark a { color: var(--c-offwhite); }
.impressum-block--dark a:hover { color: var(--c-accent); }

/* Warme Erdton-Variante für Kontakt/Bewerbungsformular */
.section--warm {
  background: var(--c-warm-dark);
  position: relative;
  overflow: hidden;
}
.section--warm::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 50%, rgba(139,134,128,0.12) 0%, transparent 55%),
    radial-gradient(circle at 85% 20%, rgba(139,134,128,0.07) 0%, transparent 45%);
  pointer-events: none;
}

/* -------------------------------------------------------------------------
   16. Reveal-Animationen
   ------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms var(--ease-out),
              transform 700ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

[data-stagger] > * { --reveal-delay: 0ms; }
[data-stagger] > *:nth-child(2) { --reveal-delay: 80ms; }
[data-stagger] > *:nth-child(3) { --reveal-delay: 160ms; }
[data-stagger] > *:nth-child(4) { --reveal-delay: 240ms; }
[data-stagger] > *:nth-child(5) { --reveal-delay: 320ms; }
[data-stagger] > *:nth-child(6) { --reveal-delay: 400ms; }

/* -------------------------------------------------------------------------
   Barrierefreiheit: Video-Pause, Carousel-Pause, Cookie-Button
   ------------------------------------------------------------------------- */
.hero__pause {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 3;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 50%;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: background var(--t-base);
}
.hero__pause:hover,
.hero__pause:focus-visible { background: rgba(0,0,0,0.8); outline: 2px solid #fff; outline-offset: 2px; }
.hero__pause[aria-pressed="true"] { background: rgba(0,0,0,0.8); }

.carousel-pause-btn {
  position: absolute;
  bottom: -2.75rem;
  right: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: transparent;
  border: 1px solid var(--c-line);
  border-radius: 50%;
  color: var(--c-anthra);
  font-size: 0.8125rem;
  cursor: pointer;
  transition: background var(--t-base), border-color var(--t-base);
}
.carousel-pause-btn:hover,
.carousel-pause-btn:focus-visible { background: var(--c-anthra); border-color: var(--c-anthra); color: #fff; outline: 2px solid var(--c-anthra); outline-offset: 2px; }

.footer-cookie-btn {
  background: none;
  border: none;
  padding: 0;
  color: var(--c-lightgrey);
  font: inherit;
  font-size: inherit;
  text-decoration: underline;
  cursor: pointer;
  text-align: left;
}
.footer-cookie-btn:hover { color: var(--c-offwhite); }
.footer-cookie-btn:focus-visible { outline: 2px solid var(--c-offwhite); outline-offset: 2px; border-radius: 2px; }

/* -------------------------------------------------------------------------
   16. Reduced-Motion
   ------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero__media img,
  .hero__media picture img,
  .hero__media video { animation: none !important; transform: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hero__eyebrow,
  .hero__headline,
  .hero__subline { opacity: 1 !important; transform: none !important; animation: none !important; }
}

/* -------------------------------------------------------------------------
   17. Kontakt-Seite, Legal, Forms (unverändert)
   ------------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
@media (min-width: 992px) { .contact-grid { grid-template-columns: 5fr 7fr; } }

.contact-info { position: relative; }
.contact-list { list-style: none; padding: 0; margin: 2.5rem 0 0; border-top: 1px solid var(--c-line); }
.contact-list li { padding: 1.25rem 0; border-bottom: 1px solid var(--c-line); display: grid; grid-template-columns: 1fr; gap: 0.5rem; }
@media (min-width: 576px) { .contact-list li { grid-template-columns: 140px 1fr; gap: 1.5rem; align-items: baseline; } }
.contact-list__label { font-family: var(--f-display); font-weight: 600; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--c-midgrey); }
.contact-list__value { color: var(--c-darkgrey); font-size: 1rem; line-height: 1.5; }
.contact-list__value a { color: var(--c-anthra); }
.contact-list__value a:hover { color: var(--c-accent); }
.contact-list__value a:focus-visible { outline: 2px solid var(--c-anthra); outline-offset: 2px; border-radius: 2px; }
.contact-list small { font-size: 0.8rem; color: var(--c-midgrey); }

.contact-form-wrapper { background: var(--c-bg-alt); padding: clamp(1.75rem, 3vw, 2.5rem); border: 1px solid var(--c-line); }
.contact-form-wrapper h2 { margin-top: 0.5rem; }
.contact-form-wrapper > p { font-size: 0.9rem; color: var(--c-midgrey); margin-bottom: 1.5rem; }

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.legal-prose { max-width: 72ch; font-size: 1rem; line-height: 1.65; }
.legal-prose h2 { font-family: var(--f-display); font-weight: 600; font-size: 1.25rem; text-transform: uppercase; letter-spacing: 0.06em; margin: 2.5rem 0 0.75rem; padding-top: 1.5rem; border-top: 1px solid var(--c-line); color: var(--c-anthra); }
.legal-prose h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-prose h3 { font-size: 1rem; margin: 1.5rem 0 0.5rem; letter-spacing: 0.02em; }
.legal-prose p { color: var(--c-darkgrey); }
.legal-prose a { color: var(--c-anthra); border-bottom: 1px solid var(--c-line-strong); transition: color var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out); }
.legal-prose a:hover { color: var(--c-accent); border-bottom-color: var(--c-accent); }
.legal-note { margin-top: 2.5rem; padding: 1rem 1.25rem; border-left: 2px solid var(--c-accent); background: var(--c-bg-alt); font-size: 0.9rem; color: var(--c-midgrey); }
.legal-content { background: var(--c-bg); }

.form-blt { display: grid; gap: 1.5rem; max-width: 640px; }
.form-row { display: grid; gap: 1.5rem; }
@media (min-width: 576px) { .form-row { grid-template-columns: 1fr 1fr; } }

.form-blt label { display: block; font-family: var(--f-display); font-weight: 600; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--c-anthra); margin-bottom: 0.5rem; }
.form-blt label .req { color: var(--c-accent); }

.form-blt input[type="text"],
.form-blt input[type="email"],
.form-blt input[type="tel"],
.form-blt textarea {
  width: 100%;
  font-family: var(--f-body);
  font-size: 1rem;
  padding: 0.875rem 1rem;
  background: var(--c-bg-alt);
  color: var(--c-anthra);
  border: 1px solid var(--c-line);
  border-radius: 0;
  transition: border-color var(--t-base) var(--ease-out);
}
.form-blt input:focus,
.form-blt textarea:focus { border-color: var(--c-anthra); outline: none; }
.form-blt textarea { min-height: 160px; resize: vertical; }
.form-blt .form-help { font-size: 0.825rem; color: var(--c-midgrey); margin-top: 0.375rem; }

.form-blt .checkbox-row { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.9rem; color: var(--c-darkgrey); }
.form-blt input[type="checkbox"] { margin-top: 0.25rem; accent-color: var(--c-anthra); }

/* -------------------------------------------------------------------------
   18. Print
   ------------------------------------------------------------------------- */
@media print {
  .site-header, .site-footer__bar, .nav-toggle, .hero__scroll { display: none; }
  .hero, .pillars, .immobilien, .section--dark { background: #fff !important; color: #000 !important; }
  * { box-shadow: none !important; }
}

/* -------------------------------------------------------------------------
   19. Responsive Feinschliff
   ------------------------------------------------------------------------- */
@media (max-width: 575.98px) {
  .hero { min-height: 88vh; min-height: 88svh; }
  .pillar { aspect-ratio: 4 / 5; }
  .service-card { padding: 1.75rem 1.5rem 2rem; }
  .container-edge { padding-left: 1.25rem; padding-right: 1.25rem; }

  /* Typografie: ALL-CAPS-Displayschriften kleiner für schmale Spalten */
  .hero__headline { font-size: 2.25rem;  max-width: 100%; }
  .cta__headline  { font-size: 1.875rem; }
  .pillar__title  { font-size: 1.375rem; }
  h2              { font-size: 1.625rem; }

  /* About-Pillars enger */
  .about__pillar          { gap: 0.875rem; padding: 1rem 0; }
  .about__pillar-icon     { width: 36px; height: 36px; }
  .about__pillar-icon .bi { width: 16px; height: 16px; }
  .about__pillar-title    { font-size: 0.9375rem; }
  .about__pillar-text     { font-size: 0.875rem; }

  /* About-Watermark zähmen */
  .about::before { font-size: 6rem; top: -1rem; right: -1rem; }

  /* Footer-About darf voll auslaufen */
  .site-footer__about { max-width: 100%; }
}

@media (max-width: 991.98px) {
  .site-header__inner { height: var(--header-h); }
  .brand img { height: 48px; }
}

.brand img { transition: filter var(--t-base) var(--ease-out), opacity var(--t-base) var(--ease-out); }

/* =====================================================
   20. Offcanvas Mobile Navigation
===================================================== */
.offcanvas-blt {
  width: min(360px, 92vw) !important;
  border-left: none !important;
  background-color: #1f1f1f;
  display: flex;
  flex-direction: column;
}
.offcanvas-blt__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background-color: var(--c-black);
}
.offcanvas-blt__logo {
  height: 36px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}
.offcanvas-blt__body { padding: 1.5rem; display: flex; flex-direction: column; gap: 2rem; overflow-y: auto; flex: 1; }

.offcanvas-blt__section-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin: 0 0 0.75rem 0;
}

.offcanvas-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.25rem; }
.offcanvas-nav__link {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 0.2s ease, color 0.2s ease;
  border: 1px solid transparent;
}
.offcanvas-nav__link:hover,
.offcanvas-nav__link:focus-visible {
  background-color: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.1);
}
.offcanvas-nav__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.375rem;
  background-color: rgba(255, 255, 255, 0.07);
  flex-shrink: 0;
  transition: background 0.2s;
}
.offcanvas-nav__link:hover .offcanvas-nav__icon { background-color: rgba(255, 255, 255, 0.12); }
.offcanvas-nav__icon .bi { width: 1rem; height: 1rem; fill: currentColor; }

.offcanvas-nav__arrow {
  margin-left: auto;
  width: 0.875rem;
  height: 0.875rem;
  fill: currentColor;
  opacity: 0.4;
  flex-shrink: 0;
  transition: opacity 0.2s, transform 0.2s;
}
.offcanvas-nav__link:hover .offcanvas-nav__arrow { opacity: 1; transform: translate(2px, -2px); }
.offcanvas-nav__link[aria-current="page"] {
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.15);
}
.offcanvas-nav__link[aria-current="page"] .offcanvas-nav__icon { background-color: rgba(255, 255, 255, 0.14); }
.offcanvas-nav__link[aria-current="page"] .offcanvas-nav__arrow { opacity: 1; }

.offcanvas-blt__contact { display: flex; flex-direction: column; gap: 0.25rem; }
.offcanvas-blt__contact-link {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s ease, background 0.2s ease;
}
.offcanvas-blt__contact-link:hover { color: #ffffff; background-color: rgba(255, 255, 255, 0.05); }
.offcanvas-blt__contact-link .bi { width: 1rem; height: 1rem; fill: currentColor; }

.nav-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 0.375rem;
  color: #fff;
  cursor: pointer;
  transition: background var(--t-fast) var(--ease-out);
}
.nav-close:hover { background: rgba(255,255,255,0.08); }
.nav-close svg.bi { width: 18px; height: 18px; fill: #fff; }



/* -------------------------------------------------------------------------
   Hero – Slogan-Headline, Actions, Trust-Liste
   ------------------------------------------------------------------------- */
 
/* Slogan-Look: "Ihr GEBÄUDE. Unser SERVICE." */
.hero__headline span {
  display: inline-block;
  color: var(--c-accent);
  font-weight: 700;
}
.hero__headline {
  max-width: 22ch;
}
 
/* Subline: hervorgehobene Keywords */
.hero__subline strong {
  color: var(--c-white);
  font-weight: 600;
  font-style: normal;
}
 
/* Action-Buttons */
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
  opacity: 0;
  transform: translateY(28px);
  animation: hero-in 1100ms var(--ease-out) forwards;
  animation-delay: 800ms;
}
.hero__actions .btn-blt {
  background: var(--c-offwhite);
  color: var(--c-anthra);
  border-color: var(--c-offwhite);
}
.hero__actions .btn-blt:hover,
.hero__actions .btn-blt:focus-visible {
  background: transparent;
  color: var(--c-offwhite);
  border-color: var(--c-offwhite);
}
.hero__actions .btn-blt--ghost {
  background: transparent;
  color: var(--c-offwhite);
  border-color: rgba(255, 255, 255, 0.4);
}
.hero__actions .btn-blt--ghost:hover,
.hero__actions .btn-blt--ghost:focus-visible {
  background: var(--c-offwhite);
  color: var(--c-anthra);
  border-color: var(--c-offwhite);
}
 
/* Trust-Liste */
.hero__trust {
  list-style: none;
  padding: 0;
  margin: 2.5rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  opacity: 0;
  transform: translateY(28px);
  animation: hero-in 1100ms var(--ease-out) forwards;
  animation-delay: 980ms;
}
.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--c-white);
}
.hero__trust li .bi {
  width: 16px;
  height: 16px;
  color: var(--c-white);
  flex-shrink: 0;
}
 
@media (max-width: 575.98px) {
  .hero__actions { gap: 0.75rem; }
  .hero__actions .btn-blt {
    flex: 1 1 100%;
    justify-content: center;
  }
  .hero__trust {
    gap: 0.875rem 1.5rem;
    margin-top: 2rem;
  }
  .hero__trust li {
    font-size: 0.6875rem;
    letter-spacing: 0.14em;
  }
}
 
 
 
 /* -------------------------------------------------------------------------
   Reveal-Erweiterung: Slide-In aus Richtungen (links / rechts)
   ------------------------------------------------------------------------- */

/* Über uns – Bild kommt immer von links */
.about [data-reveal].about__media-wrap {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 900ms var(--ease-out),
              transform 900ms var(--ease-out);
}
.about [data-reveal].about__media-wrap.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Über uns – Text kommt immer von rechts */
.about [data-reveal].about__body {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 900ms var(--ease-out),
              transform 900ms var(--ease-out);
  transition-delay: 150ms;
}
.about [data-reveal].about__body.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Leistungen / Facility – Kopfbereich (zweispaltig) */
.facility__head > [data-reveal]:first-child {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 900ms var(--ease-out),
              transform 900ms var(--ease-out);
}
.facility__head > [data-reveal]:first-child.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.facility__head > [data-reveal]:last-child {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 900ms var(--ease-out),
              transform 900ms var(--ease-out);
  transition-delay: 150ms;
}
.facility__head > [data-reveal]:last-child.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Leistungen – Service-Cards alternierend (ungerade von links, gerade von rechts) */
.service-grid [data-reveal]:nth-child(odd) {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 800ms var(--ease-out),
              transform 800ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.service-grid [data-reveal]:nth-child(odd).is-visible {
  opacity: 1;
  transform: translateX(0);
}

.service-grid [data-reveal]:nth-child(even) {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 800ms var(--ease-out),
              transform 800ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.service-grid [data-reveal]:nth-child(even).is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Mobile: horizontale Bewegung reduzieren (sonst horizontal-Scrollbar) */
@media (max-width: 767.98px) {
  .about [data-reveal].about__media-wrap,
  .about [data-reveal]:first-child,
  .facility__head > [data-reveal]:first-child,
  .service-grid [data-reveal]:nth-child(odd) {
    transform: translateX(-24px);
  }
  .about [data-reveal].about__body,
  .about [data-reveal]:last-child,
  .facility__head > [data-reveal]:last-child,
  .service-grid [data-reveal]:nth-child(even) {
    transform: translateX(24px);
  }
}

/* Reduced-Motion respektieren */
@media (prefers-reduced-motion: reduce) {
  .about [data-reveal],
  .facility__head > [data-reveal],
  .service-grid [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}


/* =========================================================================
   CONSTRUCTION – Hero-Erweiterungen (Blueprint, Animation)
   ========================================================================= */
.hero--construction {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero--construction .hero__media video,
.hero--construction .hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroSlowZoom 18s ease-out forwards;
  will-change: transform;
}
@keyframes heroSlowZoom {
  to { transform: scale(1.0); }
}

/* Blueprint-Overlay (SVG-Grid mit Eck-Brackets und Scanlinie) */
.hero__blueprint {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: rgba(255, 255, 255, 0.18);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  animation: bpFadeIn 1.2s ease-out 0.15s forwards;
}
@keyframes bpFadeIn {
  to { opacity: 1; }
}

/* Eck-Brackets erscheinen leicht versetzt */
.hero__brackets path {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: bpDraw 1.1s cubic-bezier(.6,.2,.2,1) 0.5s forwards;
}
.hero__brackets path:nth-child(2) { animation-delay: 0.65s; }
.hero__brackets path:nth-child(3) { animation-delay: 0.8s; }
.hero__brackets path:nth-child(4) { animation-delay: 0.95s; }
@keyframes bpDraw {
  to { stroke-dashoffset: 0; }
}

/* Diagonale Scan-Linie zeichnet sich von links oben nach rechts unten */
.hero__scan {
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  opacity: 0.6;
  animation: bpScan 1.6s cubic-bezier(.7,.05,.3,1) 0.6s forwards;
}
@keyframes bpScan {
  to { stroke-dashoffset: 0; }
}

/* Hero-Content kommt darüber */
.hero--construction .hero__content { position: relative; z-index: 2; }

/* Headline-Block selbst nicht animieren – die einzelnen Wörter übernehmen das */
.hero__headline--anim {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}
.hero__headline--anim .hero__word {
  display: inline-block;
  opacity: 0;
  transform: translateY(28px);
  animation: heroWordIn 0.85s cubic-bezier(.2,.7,.25,1) forwards;
  margin-right: 0.18em;
  will-change: transform, opacity;
}
.hero__headline--anim .hero__word:nth-child(1) { animation-delay: 0.55s; }
.hero__headline--anim .hero__word:nth-child(2) { animation-delay: 0.75s; }
.hero__headline--anim .hero__word:nth-child(3) { animation-delay: 0.95s; }
@keyframes heroWordIn {
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero--construction .hero__media video,
  .hero--construction .hero__media img { animation: none; transform: none; }
  .hero__blueprint,
  .hero__brackets path,
  .hero__scan,
  .hero__headline--anim .hero__word {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    stroke-dashoffset: 0 !important;
  }
}


/* =========================================================================
   CONSTRUCTION – Prozess-Sektion (dunkel, nummerierte Steps)
   ========================================================================= */
.process {
  background: var(--c-black);
  color: var(--c-text-invert);
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
  position: relative;
}

.process__head {
  max-width: 720px;
  margin: 0 auto var(--s-5);
  text-align: center;
}
.process__head h2 {
  color: var(--c-white);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: var(--lh-display);
  margin: 0 0 var(--s-2);
}
.process__head h2 span {
  color: var(--c-accent);
}
.process__head .lead {
  color: rgba(245,245,245,0.78);
  font-size: 1.0625rem;
  margin: 0;
}

.process__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-3);
  counter-reset: step;
}

.process__step {
  position: relative;
  padding: var(--s-4) var(--s-3);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0));
  transition: border-color .3s ease, transform .3s ease, background .3s ease;
}
.process__step:hover {
  border-color: rgba(255,255,255,0.25);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0));
  transform: translateY(-4px);
}

.process__num {
  display: block;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 2.25rem;
  line-height: 1;
  color: var(--c-accent);
  letter-spacing: 0.02em;
  margin-bottom: var(--s-2);
}

.process__title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.25rem;
  margin: 0 0 var(--s-1);
  color: var(--c-white);
}

.process__text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: rgba(245,245,245,0.72);
}

/* Verbindungslinie zwischen Steps – dezente Hairline */
.process__steps {
  position: relative;
}
.process__steps::before {
  content: '';
  position: absolute;
  top: calc(var(--s-4) + 1.125rem);
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255,255,255,0.18) 12%,
    rgba(255,255,255,0.18) 88%,
    transparent 100%);
  z-index: 0;
  pointer-events: none;
}
.process__step { z-index: 1; }

@media (max-width: 991.98px) {
  .process__steps { grid-template-columns: repeat(2, 1fr); }
  .process__steps::before { display: none; }
}
@media (max-width: 575.98px) {
  .process__steps { grid-template-columns: 1fr; gap: var(--s-2); }
  .process__step  { padding: var(--s-3) var(--s-3); }
  .process__num   { font-size: 1.875rem; }
  .process__head h2 { font-size: 1.75rem; }
}


/* =========================================================================
   CONSTRUCTION – Werte-Sektion (weiß, 3-Card-Grid)
   ========================================================================= */
.values {
  background: var(--c-white);
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
}

.values__head {
  max-width: 720px;
  margin: 0 auto var(--s-5);
  text-align: center;
}
.values__head h2 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: var(--lh-display);
  margin: 0;
}

.values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3);
}

.value-card {
  padding: var(--s-4) var(--s-3);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  background: var(--c-bg-alt);
  transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.value-card:hover {
  border-color: var(--c-accent);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px -20px rgba(0,0,0,.18);
}

.value-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--c-cream);
  color: var(--c-black);
  margin-bottom: var(--s-2);
}
.value-card__icon .bi { width: 24px; height: 24px; }

.value-card h3 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.375rem;
  margin: 0 0 var(--s-1);
  color: var(--c-text);
}

.value-card p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--c-text-muted);
}

@media (max-width: 991.98px) {
  .values__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575.98px) {
  .values__grid { grid-template-columns: 1fr; }
  .values__head h2 { font-size: 1.75rem; }
}


/* =========================================================================
   CONSTRUCTION – Mobile Hero Tuning
   ========================================================================= */
@media (max-width: 575.98px) {
  .hero--construction .hero__blueprint { opacity: 0.55; }
  .hero__headline--anim .hero__word { margin-right: 0.12em; }
}


/* =========================================================================
   Desktop-Nav: Icons (<svg> oder <i>) sauber an Text-Baseline ausrichten
   ========================================================================= */
.site-nav__link .bi {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.05em;
  height: 1.05em;
  font-size: 1.05em;
  line-height: 1;
  vertical-align: 0;
  flex-shrink: 0;
}
.site-nav__link i.bi::before {
  display: block;
  line-height: 1;
  vertical-align: 0;
}


/* =========================================================================
   BITV / Responsive / Touch-Polish (Construction)
   ========================================================================= */

/* SR-only Helper (zusätzlich zu Bootstraps .visually-hidden) */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Mindest-Touch-Target 44×44 für interaktive Elemente (WCAG 2.5.5/2.5.8) */
.btn-blt,
.site-nav__link,
.offcanvas-nav__link,
.nav-toggle,
.nav-close,
.hero__pause,
.hero__scroll {
  min-height: 44px;
}
.nav-toggle,
.nav-close { min-width: 44px; }

/* Sichtbarer Fokusring – konsistent für Tastatur-Navigation */
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--c-anthra);
  outline-offset: 3px;
  border-radius: 3px;
}
.hero a:focus-visible,
.hero button:focus-visible,
.process a:focus-visible,
.process button:focus-visible,
.on-dark a:focus-visible,
.on-dark button:focus-visible {
  outline-color: var(--c-offwhite);
}

/* Overflow-X-Schutz nur auf body (nicht html) – sonst kollidiert es mit Klaro's fixed-position Modal */
body { overflow-x: clip; }

/* Hero-Sublime: nicht über die Containerbreite hinausschießen */
.hero__subline { max-width: 56ch; }

/* Process-Sektion: bessere Mobile-Layouts */
@media (max-width: 767.98px) {
  .process__step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem 1rem;
  }
  .process__num {
    margin-bottom: 0;
    font-size: 2rem;
    line-height: 1;
    flex-shrink: 0;
    min-width: 2.5rem;
  }
  .process__body { flex: 1; }
}

/* Hero-Pause-Button bleibt erreichbar (auch klein) */
@media (max-width: 575.98px) {
  .hero__pause {
    bottom: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
  }
  .hero__scroll { display: none; }
  .hero__trust { font-size: 0.8125rem; gap: 0.4rem 0.875rem; }
  .hero__actions { width: 100%; }
  .hero__actions .btn-blt { flex: 1 1 100%; justify-content: center; min-height: 48px; }
  .values__head h2,
  .process__head h2 { font-size: 1.625rem; }
  .value-card { padding: 1.5rem 1.25rem; }
  .value-card h3 { font-size: 1.25rem; }
}

/* prefers-reduced-motion – Video sanft handhaben */
@media (prefers-reduced-motion: reduce) {
  .hero--construction .hero__media video {
    animation-play-state: paused !important;
  }
}

/* High-Contrast-Modus (Windows) – sicherstellen, dass Borders sichtbar bleiben */
@media (forced-colors: active) {
  .btn-blt,
  .service-card,
  .value-card,
  .process__step,
  .about__pillar-icon {
    border: 1px solid CanvasText;
  }
}

/* Decorative SVGs ohne aria-hidden trotzdem aus dem AccTree halten */
svg[aria-hidden="true"],
svg[focusable="false"] {
  pointer-events: none;
}
