@import url("fonts.css");

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

.hide { display: none !important; }

:root {
  --blue: #207EC1;
  --blue: #1c9eda;
  --blue-dim: rgba(32,126,193,0.10);
  --blue-border: rgba(32,126,193,0.20);
  --silver: #6b7f8e;
  --dark: #f7f7f7;
  --mid: #fafafa;
  --glass: rgba(255,255,255,0.92);
  --textp: #4a6070;
  --textp: #132939;
  --text: var(--textp);
  --headline: #0d2235;
  --orbit-scene-max: 28rem;
  --orbit-text-gap: 21rem;
  --about-img-radius: 15px;
  --radius-12: 12px;
}

html {
  font-size: 125%;
  scroll-behavior: smooth;
}

/* ─── Scroll-Animationen (CMS-Klassen sa-*) ───
   sa-up | sa-left | sa-right | sa-stagger | sa-scrub-x | sa-section | sa-delay-1
   Siehe js/scroll-animations.js
*/

/* Lenis smooth scroll (footer_inc.php) */
html.lenis,
html.lenis body {
  height: auto;
}
html.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
html.lenis.lenis-stopped {
  overflow: hidden;
}
html.lenis.lenis-scrolling iframe {
  pointer-events: none;
}
body {
  background: #ffffff;
  color: var(--text);
  font-family: 'Barlow', sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}
 /* ══════════════════════════════════════════════════════════════════════
       CUSTOM CURSOR
       – Dot:  kleiner weißer Punkt in der Mitte
       – Ring: äußerer Kreis, folgt leicht verzögert
    ══════════════════════════════════════════════════════════════════════ */

 #cursor-dot {
   position: fixed;
   width: 6px;
   height: 6px;
   background: #ffffff;
   border-radius: 50%;
   pointer-events: none;
   z-index: 9999;
   /* zentrieren auf Mauszeiger */
   transform: translate(-50%, -50%);
   /* kein Delay – folgt sofort */
   transition: opacity 0.3s;
 }

 #cursor-ring {
   position: fixed;
   width: 26px;
   height: 26px;
   border: 1.5px solid rgba(255, 255, 255, 0.55);
   border-radius: 50%;
   pointer-events: none;
   z-index: 9998;
   transform: translate(-50%, -50%);
   /* Ring folgt mit sanftem Lag */
   transition: left 0.08s ease, top 0.08s ease, opacity 0.3s;
 }

 /* Hover-State: Ring wird größer, Dot verschwindet */
 body.cursor-hover #cursor-ring {
   width: 30px;
   height: 30px;
   border-color: rgba(255, 255, 255, 0.8);
   transition: left 0.08s ease, top 0.08s ease,
     width 0.25s ease, height 0.25s ease, border-color 0.25s;
 }

 body.cursor-hover #cursor-dot {
   opacity: 0;
 }
/* Headlines: Barlow Condensed — Fließtext bleibt Barlow auf body */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--headline);
  margin: 1.5rem 0;
}
h1 {
  font-size: clamp(2.5rem, 8vw, 3.5rem);
}
h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}
h3 {
  font-size: 2rem;
  font-weight: 600;
}
/* Bootstrap setzt sonst --bs-body-font-family (Barlow) auf Accordion-Titel */
.accordion-header .accordion-button {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--headline);
}
h1 em, h2 em, h3 em {
  color: var(--blue);
  font-style: normal;
}

ul { padding-left: 0; }
/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
}
nav.scrolled {
  padding: .5rem 2rem;
  transition: padding 0.4s ease;
}
.nav-logo {
  width: 15.625rem;
  height: auto;
  transition: width 0.4s ease;
}
.nav-logo img {
  width: 100%;
  height: auto;
}
nav.scrolled .nav-logo {
  width: 12rem;
}
.nav-logo span { color: var(--blue); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}
.nav-links > li {
  display: flex;
  align-items: center;
}
.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #2a3d4e;
  text-decoration: none;
  transition: color 0.2s;
  line-height: 1;
}
.nav-links > li > a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.nav-links a:hover { color: var(--blue); }
.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}
.nav-logo-sub {
  display: flex;
  align-items: center;
  line-height: 0;
}
.nav-logo-sub img {
  height: auto;
  width: 7rem;
  max-width: min(10rem, 28vw);
  object-fit: contain;
  transition: width 0.4s ease;
}
nav.scrolled .nav-logo-sub img {
  width: 6rem;
}
.nav-cta {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
  border: 1px solid var(--blue-border);
  padding: 0.55rem 1.25rem;
  text-decoration: none;
  transition: all 0.2s;
  background: rgba(255,255,255,0.9);
}
.nav-cta:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.nav-cta--fixed {
  position: fixed;
  right: 2px;
  top: 25%;
  transform: translateY(-50%);
  z-index: 110;
  box-shadow: 0 0.25rem 1.5rem rgba(0,0,0,0.08);
}
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  cursor: pointer;
  background: transparent;
  border: none;
  flex-shrink: 0;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--headline);
  border-radius: 0;
  transform-origin: center center;
  transition: transform 0.32s ease, opacity 0.22s ease, background 0.22s ease;
}

/* ─── MEGA-MENU (eigene Klassen, kein Bootstrap .dropdown-item / .nav-item) ─── */
.nav-has-dropdown { position: relative; flex: none; text-align: left; }
.nav-has-dropdown > a .nav-arrow {
  width: .5rem;
  height: .5rem;
  border-right: 0.09375rem solid var(--silver);
  border-bottom: 0.09375rem solid var(--silver);
  transform: rotate(45deg);
  transition: transform 0.25s, border-color 0.2s;
  flex-shrink: 0;
  align-self: center;
  margin-top: -0.25rem;
}
.nav-has-dropdown:hover > a .nav-arrow,
.nav-has-dropdown > a:hover .nav-arrow {
  transform: rotate(-135deg);
  margin-top: 0.0625rem;
  border-color: var(--blue);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 1.2rem);
  left: 50%;
  transform: translateX(-50%) translateY(-0.5rem);
  width: min(35rem, calc(100vw - 2.5rem));
  background: rgba(255,255,255,0.98);
  border: 1px solid rgba(32,126,193,0.15);
  box-shadow: 0 0.5rem 2rem rgba(0,0,0,0.08);
  padding: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 200;
}
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -0.3125rem;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 0.5625rem;
  height: 0.5625rem;
  background: #ffffff;
  border-left: 1px solid rgba(32,126,193,0.15);
  border-top: 1px solid rgba(32,126,193,0.15);
}
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: -1.4rem;
  left: 0;
  right: 0;
  height: 1.4rem;
}
.nav-has-dropdown:hover .nav-dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.mega-menu-arc {
  position: absolute;
  top: -0.0625rem;
  right: -0.0625rem;
  width: 5.625rem;
  height: 5.625rem;
  overflow: hidden;
  pointer-events: none;
}
.mega-menu-arc svg {
  position: absolute;
  top: -1.25rem;
  right: -1.25rem;
  width: 6.875rem;
  height: 6.875rem;
  opacity: 0.12;
}

.mega-menu-grid.p3 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

/* Schmalere Einträge — Ausnahme: 2-Spalten-Mega-Menü (Parent .p3) */
.mega-menu-grid:not(.p3) {
  width: 100%;
  max-width: 100%;
}
.mega-menu-grid:not(.p3) .mega-menu-item {
  width: auto;
  /* max-width: 12.5rem; */
  border-right: none;
}
.mega-menu-grid:not(.p3) .mega-menu-item:last-child {
  border-bottom: none;
}
.nav-dropdown:has(.mega-menu-grid:not(.p3)) {
  width: max-content;
  min-width: 12.5rem;
  max-width: min(35rem, calc(100vw - 2.5rem));
}

.mega-menu-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  border-right: 1px solid rgba(0,0,0,0.04);
  text-decoration: none;
  color: inherit;
  white-space: normal;
  background-color: transparent;
  transition: background 0.2s;
  position: relative;
  width: auto;
  clear: none;
  font-weight: inherit;
  border-radius: 0;
}
.mega-menu-item:nth-child(2n) { border-right: none; }
.mega-menu-item:nth-last-child(-n+2) { border-bottom: none; }
.mega-menu-item:hover,
.mega-menu-item:focus {
  background: rgba(32,126,193,0.06);
  color: inherit;
}
.mega-menu-item:hover .di-title { color: var(--headline); }
.mega-menu-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0.125rem;
  background: var(--blue);
  opacity: 0;
  transition: opacity 0.2s;
}
.mega-menu-item:hover::before { opacity: 1; }

.di-icon,
img.di-icon {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  display: block;
  transition: opacity 0.2s;
  margin-top: 0.125rem;
}
.mega-menu-item:hover .di-icon {
  opacity: 0.85;
}
.di-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.35em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.di-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1e3850;
  transition: color 0.2s;
  line-height: 1.1;
  margin-bottom: 0.3rem;
}

/* Philosophie-Seite: Timeline & Partner */
.philosophie-timeline .timeline-year {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--blue);
  min-width: 3.25rem;
  flex-shrink: 0;
  line-height: 1.2;
}
.partner-logos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.partner-logos li {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--headline);
  padding: 1.5rem 1.25rem;
  border: 1px solid rgba(32, 126, 193, 0.15);
  background: rgba(32, 126, 193, 0.04);
  text-align: center;
}
.section--alt {
  background: rgba(32, 126, 193, 0.04);
}

.di-sub {
  font-size: 0.68rem;
  color: #5a7285;
  font-weight: 300;
  line-height: 1.5;
}

/* ─── HERO ─── */
#hero {
  position: relative;
  height: 100vh;
  min-height: 37.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  background: #ffffff;
}
#hero a, #hero .hero-content, #hero .hero-scroll, #hero .nav-burger {
  pointer-events: auto;
}
/* Rotierende Kreise */
.hero-arc {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  pointer-events: none;
  opacity: 0;
}
.hero-arc::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(100vmin, 48.75rem);
  height: min(100vmin, 48.75rem);
  border-radius: 50%;
  border: 1px solid rgba(32,126,193,0.08);
  pointer-events: none;
}
.hero-arc svg {
  width: min(33.75rem, 92vmin);
  max-width: 100%;
  height: auto;
  aspect-ratio: 1;
  overflow: visible;
  animation: heroArcRotate 22s linear infinite;
}
@keyframes heroArcRotate {
  to { transform: rotate(360deg); }
}
.hero-content {
  position: relative;
  z-index: 10;
  max-width: 56.25rem;
  padding: 0 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* DOM-Reihenfolge = SEO; visuelle Reihenfolge per order */
.hero-eyebrow { order: 1; }
.hero-title   { order: 2; }
.hero-divider { order: 3; }
.hero-sub     { order: 4; }
.hero-buttons { order: 5; }
.hero-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.5em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  opacity: 0;
}
.hero-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(3.5rem, 11vw, 5rem);
  font-weight: 500;
  line-height: 0.88;
  letter-spacing: -0.01em;
  opacity: 0;
  transform: translateY(2.5rem);
  color: var(--blue); 
}
.hero-title i { 
  color: #888;
  font-style: normal;
}
.hero-divider {
  width: 2.5rem;
  height: 0.0625rem;
  background: var(--blue);
  margin: 2rem auto;
  opacity: 0;
}
.hero-sub {
  font-family: 'Barlow', sans-serif;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  font-weight: 300;
  color: var(--textp);
  max-width: 32.5rem;
  margin: 0 auto 2.5rem;
  opacity: 0;
  line-height: 1.7;
  text-transform: none;
}
h1.hero-sub,
h2.hero-eyebrow {
  margin-top: 0;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
}
.hero-photo { width: 100%; height: 250px; overflow: hidden; margin-top: 130px; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

.btn { border-radius: 0; border: none; }

/* Primary-Buttons: Glow nach außen beim Hover */
.btn.btn-primary,
.hero-buttons .btn-pr,
.cta-contact .btn-pr,
.leistung-card .btn-pr {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(28, 158, 218, 0.12);
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.35s ease,
    transform 0.25s ease;
}

.btn.btn-primary {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  padding: 0.85rem 2rem;
}

.hero-buttons .btn-pr,
.cta-contact .btn-pr,
.leistung-card .btn-pr {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  border: 1px solid var(--blue);
  padding: 0.85rem 1.75rem;
  display: inline-block;
}

.btn.btn-primary:hover,
.btn.btn-primary:focus-visible,
.hero-buttons .btn-pr:hover,
.cta-contact .btn-pr:hover,
.leistung-card .btn-pr:hover {
  background: #1a6aa3;
  color: #fff;
  border-color: #1a6aa3;
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(28, 158, 218, 0.55),
    0 14px 34px rgba(28, 158, 218, 0.42),
    0 0 52px rgba(28, 158, 218, 0.38);
}

.btn.btn-primary:focus-visible {
  outline: 2px solid rgba(28, 158, 218, 0.65);
  outline-offset: 3px;
}

/* Zwei interne Buttons: links / rechts */
.interner-link-2-button {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  width: 100%;
  margin: 0.5rem 0 1rem;
}
.interner-link-2-button__left,
.interner-link-2-button__right {
  display: flex;
}
.interner-link-2-button__right {
  margin-left: auto;
}
.btn-ghost {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid rgba(32,126,193,0.4);
  background: transparent;
  color: #2a3d4e;
  padding: 0.85rem 2rem;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-ghost:hover {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}
.hero-scroll {
  position: absolute;
  bottom: 1.5rem; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  z-index: 10;
  pointer-events: none;
}
.hero-scroll span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  color: #8a9fad;
  text-transform: uppercase;
}
.hero-scroll-line {
  width: 0.0625rem;
  height: 3.125rem;
  background: linear-gradient(to bottom, var(--blue), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity:0.3; transform:scaleY(0.6) }
  50% { opacity:1; transform:scaleY(1) }
}

/* ─── HERO VARIANTE A ─── */

/* Variante A — Split 50/50 */
#hero-a {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
  isolation: isolate;
  overflow: hidden;
}
@media (min-width: 768px) {
  #hero-a { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 901px) and (max-width: 1120px) {
  #hero-a {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  }
  #hero-a .ha-text {
    padding: 7rem clamp(1.25rem, 3vw, 2.5rem) 4rem;
  }
  #hero-a .hero-eyebrow {
    font-size: 0.62rem;
    letter-spacing: 0.38em;
    margin-bottom: 1rem;
  }
  #hero-a .hero-title {
    font-size: clamp(2.8rem, 7vw, 4rem);
    line-height: 0.92;
    max-width: 100%;
  }
  #hero-a .hero-divider {
    margin: 1.4rem auto;
  }
  #hero-a .hero-sub {
    max-width: 26rem;
    font-size: clamp(0.85rem, 1.65vw, 1rem);
    line-height: 1.6;
    margin-bottom: 1.8rem;
  }
  #hero-a .hero-buttons .btn-pr {
    padding: 0.75rem 1.35rem;
  }
  #hero-a .ha-arc svg {
    width: min(25rem, 120%);
  }
}
@media (min-width: 768px) and (max-width: 900px) {
  #hero-a {
    grid-template-columns: 1fr;
  }
  #hero-a .ha-text {
    min-height: 58vh;
    padding: 7rem 1.5rem 3rem;
  }
  #hero-a .ha-img {
    min-height: 42vh;
  }
  #hero-a .hero-title {
    font-size: clamp(3rem, 9vw, 4.5rem);
  }
  #hero-a .scroll-indicator {
    display: none;
  }
}
.ha-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 8rem 3.5rem 5rem;
  background: #fff;
  position: relative;
  overflow: hidden;
}
/* Hero-Elemente in allen Varianten sichtbar (kein GSAP-Entrance) */
#hero-a .hero-eyebrow, #hero-b .hero-eyebrow, #hero-c .hero-eyebrow,
#hero-a .hero-title,   #hero-b .hero-title,   #hero-c .hero-title,
#hero-a .hero-divider, #hero-b .hero-divider, #hero-c .hero-divider,
#hero-a .hero-sub,     #hero-b .hero-sub,     #hero-c .hero-sub,
#hero-a .hero-buttons, #hero-b .hero-buttons, #hero-c .hero-buttons {
  opacity: 1;
  transform: none;
}

.ha-arc {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
}
.ha-arc svg {
  width: min(32rem, 110%);
  height: auto;
  aspect-ratio: 1;
  overflow: visible;
  animation: heroArcRotate 22s linear infinite;
  opacity: 0.55;
}
.ha-text-inner {
  position: relative;
  z-index: 1;
}
.ha-img {
  position: relative;
  min-height: 50vw;
  overflow: hidden;
}
@media (min-width: 768px) {
  .ha-img { min-height: unset; }
}
.ha-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) brightness(0.95);
}
.ha-img-tag {
  position: absolute;
  bottom: 0; left: 0;
  background: var(--blue);
  padding: 0.4rem 1rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #fff;
  z-index: 2;
}


/* ─── SECTION UTILITIES ─── */
.section-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.5em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
}
h2,
.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--headline);
}
h2 i { color: var(--blue); font-style: normal; }
.section-lead {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text);
  line-height: 1.65;
  margin-top: 1.25rem;
}

/* ─── STATS BAR ─── */
#stats,
.stats-section {
  background: #f5f5f5;
  border-top: 1px solid rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 0 0 1rem;
}
.stats-inner {
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  text-align: center;
  padding: 1rem;
}
.stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--headline);
  line-height: 1;
}
.stat-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: #5a7080;
  text-transform: uppercase;
  margin-top: 0.4rem;
}

/* ─── PROZESS SECTION ─── */
#prozess {
  background: #f7f7f7;
  border-top: 1px solid rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 7rem 2rem;
}
.prozess-inner {
  margin: 0 auto;
}
.prozess-grid {
  margin-top: 4rem;
}
/* CMS: .prozess-grid.row + .col (wie basis.html) – Flex statt Grid */
.prozess-grid.row {
  display: flex;
  flex-wrap: wrap;
}
/* Nur ohne Bootstrap-.row (statisches Markup) */
.prozess-grid:not(.row) {
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .prozess-grid:not(.row) { grid-template-columns: 1fr 1fr; }
}
.prozess-step {
  padding: 2.5rem 2rem;
  border: 1px solid rgba(0,0,0,0.07);
  margin: -1px 0 0 -1px;
  position: relative;
  background: #ffffff;
  transition: background 0.25s;
  overflow: hidden;
}
.prozess-step .prozess-label,
.prozess-step h3,
.prozess-step p {
  transform: translateX(8px);
  transition: transform 0.5s ease;
}
.prozess-step.active .prozess-label {
  transform: translateX(0);
  transition-delay: 0s;
}
.prozess-step.active h3 {
  transform: translateX(0);
  transition-delay: 0.07s;
}
.prozess-step.active p {
  transform: translateX(0);
  transition-delay: 0.14s;
}

.prozess-step:hover,
.prozess-step.active { background: #fefefe; }
.prozess-step::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 0.125rem;
  background: linear-gradient(to right, var(--blue), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s ease;
}
.prozess-step:hover::before,
.prozess-step.active::before { transform: scaleX(1); }
.prozess-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(3.5rem, 8vw, 5rem);
  font-weight: 700;
  color: rgba(32,126,193,0.08);
  line-height: 1;
  margin-bottom: 0.75rem;
  transition: color 0.4s;
}
.prozess-step:hover .prozess-num,
.prozess-step.active .prozess-num { color: rgba(32,126,193,0.18); }
.prozess-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.4em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.prozess-step h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--headline);
  margin-bottom: 0.75rem;
  line-height: 1.05;
}
/* ─── COPYTEXT STANDARD ─── */
/* .about-text p:not(.section-eyebrow):not(.section-title):not(.section-lead),
.split-text p:not(.section-eyebrow):not(.section-title):not(.section-lead), */
.intro-body {
  color: var(--text);
  font-weight: 300;
  line-height: 1.65;
  font-size: 0.95rem;
}

.prozess-step p {
  font-size: 0.88rem;
  color: var(--text);
  font-weight: 300;
  line-height: 1.65;
}

/* ─── TEXT + IMAGE SECTION ─── */
.section {
  padding: 5rem 0;
  margin: 2rem 0;
}
@media (max-width: 767.98px) {
  .section {
    padding: 1rem 0;
  }
}
.section-media {
  position: relative;
  backface-visibility: hidden;
}
.about-text,
.split-text,
.pfalz-text,
.retrofit-text,
.intro-text-col {
  backface-visibility: hidden;
}
.section-media img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  border-radius: var(--about-img-radius);
  filter: saturate(0.85) brightness(0.95);
  transition: filter 0.4s;
}
.section-media img:hover { filter: saturate(1) brightness(1); }
.section-media-tag {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 3;
  background: var(--blue);
  padding: 0.4rem 1rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #ffffff;
}

/* ─── MEDIA GALLERY (section-media & leistung-card) ─── */
.media-gallery {
  position: relative;
}
.media-gallery-viewport {
  overflow: hidden;
  border-radius: var(--about-img-radius);
}
.media-gallery-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.media-gallery-slide {
  flex: 0 0 100%;
  min-width: 0;
}
.media-gallery-slide img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  filter: saturate(0.85) brightness(0.95);
  transition: filter 0.4s;
}
.media-gallery:hover .media-gallery-slide img {
  filter: saturate(1) brightness(1);
}
.media-gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.92);
  color: var(--headline);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s, background 0.2s, color 0.2s;
  padding: 0;
}
.media-gallery-btn img {
  width: 1rem;
  height: 1rem;
  display: block;
}
.media-gallery-btn:hover {
  background: var(--blue);
  color: #fff;
}
.media-gallery:hover .media-gallery-btn,
.media-gallery:focus-within .media-gallery-btn {
  opacity: 1;
}
.media-gallery-prev { left: 0.75rem; }
.media-gallery-next { right: 0.75rem; }
.media-gallery-dots {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 0.4rem;
  padding: 0.35rem 0.5rem;
  /* background: rgba(255, 255, 255, 0.88); */
}
.media-gallery-dot {
  width: 0.4rem;
  height: 0.4rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(19, 41, 57, 0.25);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.media-gallery-dot.is-active {
  background: var(--blue);
  transform: scale(1.15);
}
.media-gallery-dot:hover:not(.is-active) {
  background: rgba(19, 41, 57, 0.45);
}
/* Kompakt: Leistungs-Karten */
.media-gallery.is-compact .media-gallery-viewport {
  border-radius: 0;
}
.media-gallery.is-compact .media-gallery-slide img {
  aspect-ratio: 16/9;
  filter: saturate(0.8) brightness(0.95);
}
.media-gallery.is-compact:hover .media-gallery-slide img {
  filter: saturate(0.95) brightness(1);
}
.media-gallery.is-compact .media-gallery-dots {
  bottom: 0.5rem;
  padding: 0.25rem 0.4rem;
}
.media-gallery.is-compact .media-gallery-btn {
  width: 1.85rem;
  height: 1.85rem;
}
.media-gallery.is-compact .media-gallery-prev { left: 0.5rem; }
.media-gallery.is-compact .media-gallery-next { right: 0.5rem; }
/* Tag + Dots: Tag links, Dots zentriert */
.section-media .media-gallery-dots {
  bottom: 0.75rem;
}
.section-media:has(.section-media-tag) .media-gallery-dots {
  left: auto;
  right: 0.75rem;
  transform: none;
}
@media (max-width: 767px) {
  .media-gallery-btn {
    opacity: 1;
    width: 2rem;
    height: 2rem;
  }
}

/* Nur ohne Bootstrap-.row (z. B. basis.html statisch); CMS nutzt .about-highlights.row */
.about-highlights:not(.row) {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
.about-highlights.row {
  display: flex;
  flex-wrap: wrap;
  margin-top: 2rem;
  width: 100%;
}
.highlight-item {
  border-left: 0.125rem solid var(--blue);
  padding-left: 1rem;
  min-width: 0;
}
/* Grid-Fallback ohne Bootstrap-.row */
.about-highlights:not(.row) .highlight-item {
  width: 100%;
}
.highlight-item strong {
  display: block;
  width: 100%;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--headline);
  margin-bottom: 0.25rem;
}
.highlight-item span {
  display: block;
  width: 100%;
  font-size: 0.75rem;
  color: var(--textp);
  font-weight: 300;
  line-height: 1.5;
}

/* ─── PFALZ / REFERENZEN SECTION ─── */
.split-section {
  
  margin: 0 auto;
  padding: 7rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.split-section.reverse { direction: rtl; }
.split-section.reverse > * { direction: ltr; }
.split-values {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}
.value-row {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: #f8f8f8;
  border: 1px solid rgba(0,0,0,0.06);
  margin-bottom: 1rem;
}
.value-icon,
img.value-icon {
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  display: block;
}
.value-row h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--headline);
  margin-bottom: 0.35rem;
}
.value-row p {
  font-size: 0.85rem;
  color: var(--textp);
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ─── GALLERY SECTION ─── */
#gallery-section {
  padding: 7rem 2rem;
  position: relative;
  overflow: hidden;
  background: #f7f7f7;
  border-top: 1px solid rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.gallery-inner {
  
  margin: 0 auto;
  position: relative;
}
.gallery-header {
  text-align: center;
  position: relative;
  z-index: 1;
}
.gallery-deco {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(52rem, 130vw);
  height: min(52rem, 130vw);
  pointer-events: none;
  z-index: 2;
  animation: galleryDecoSpin 35s linear infinite;
}
@keyframes galleryDecoSpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}
.gallery-grid {
  display: flex;
  margin-top: 2rem;
  position: relative;
  z-index: 1;
}
@media (max-width: 1300px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
.gallery-card {
  border: 1px solid rgba(0,0,0,0.07);
  padding: 2rem 1.5rem;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  text-decoration: none;
  color: inherit;
}
.gallery-card:hover {
  border-color: rgba(32,126,193,0.2);
  box-shadow: 0 0.25rem 1rem rgba(0,0,0,0.05);
}
.gallery-card-icon,
.gallery-card svg {
  width: 1.75rem;
  height: 1.75rem;
  display: block;
  flex-shrink: 0;
}
.gallery-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}
.gallery-card-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--headline);
  line-height: 1.1;
}
.gallery-card-sub {
  font-size: 0.78rem;
  color: var(--textp);
  font-weight: 300;
  line-height: 1.5;
}
@media (max-width: 767.98px) {
  .gallery-card {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    padding: 1.15rem 1.25rem;
  }
  .gallery-card-icon,
  .gallery-card svg {
    width: 1.5rem;
    height: 1.5rem;
  }
}

/* ─── LEISTUNGEN TEXT SECTION ─── */
#leistungen {
  margin: 0 auto;
  
}
.leistungen-grid:not(.row) {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.leistungen-grid.row {
  display: flex;
  flex-wrap: wrap;
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
}
.leistungen-grid.row > [class*="col-"] {
  padding: 0;
}
.leistungen-grid.row > [class*="col-"] > .leistung-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.leistung-card {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-12);
  margin: 10px;
  position: relative;
  transition: border-color 0.3s, box-shadow 0.3s;
  overflow: hidden;
  background: #fff;
}
.leistung-card:hover {
  border-color: rgba(32,126,193,0.25);
  box-shadow: 0 0.5rem 2rem rgba(0,0,0,0.06);
}
.leistung-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 0.125rem;
  background: linear-gradient(to right, var(--blue), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s ease;
}
.leistung-card:hover::before,
.leistung-card.active::before { transform: scaleX(1); }

.leistung-card-body .leistung-num,
.leistung-card-body h3,
.leistung-card-body p,
.leistung-card-body ul {
  transform: translateX(8px);
  transition: transform 0.5s ease;
}
.leistung-card:hover .leistung-num,
.leistung-card.active .leistung-num { transform: translateX(0); transition-delay: 0s; }
.leistung-card:hover h3,
.leistung-card.active h3            { transform: translateX(0); transition-delay: 0.07s; }
.leistung-card:hover p,
.leistung-card.active p             { transform: translateX(0); transition-delay: 0.12s; }
.leistung-card:hover ul,
.leistung-card.active ul            { transform: translateX(0); transition-delay: 0.17s; }

/* Bild mit Innenrahmen: Rahmen direkt am Bild, kleiner weißer Freiraum */
.leistung-card-media {
  box-sizing: border-box;
}
.leistung-card-media .media-gallery {
  position: relative;
  line-height: normal;
}
.leistung-card-media .media-gallery-viewport {
  border-top-left-radius: var(--radius-12);
  border-top-right-radius: var(--radius-12);
  overflow: hidden;
}
.leistung-card > img,
.leistung-card-img,
.leistung-card-media .media-gallery-slide img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  border-top-left-radius: var(--radius-12);
  border-top-right-radius: var(--radius-12);
  filter: saturate(0.8) brightness(0.95);
  transition: filter 0.4s;
}
.leistung-card:hover .leistung-card-img,
.leistung-card:hover .leistung-card-media .media-gallery-slide img {
  filter: saturate(0.95) brightness(1);
}
.leistung-card-media > a {
  display: block;
  border-top-left-radius: var(--radius-12);
  border-top-right-radius: var(--radius-12);
  overflow: hidden;
}
.leistung-card-body {
  flex: 1;
  padding: 1.25rem 1.75rem 2rem;
  display: flex;
  flex-direction: column;
}
.leistung-card-body > .btn.btn-pr {
  margin-top: 2rem;
  align-self: center;
}
.leistung-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.4em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: .5rem;
}
.leistung-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--headline);
  margin: 0 0 1rem;
  line-height: 1.1;
}
.leistung-card p {
  font-size: 0.82rem;
  color: var(--text);
  line-height: 1.65;
  font-weight: 300;
}

/* ─── CD-Listen (blaue Punkte + Trennlinien, wie .leistung-card) ─── */
.about-text ul,
.text-editor ul,
.brick-text ul,
.split-text ul,
.pfalz-text ul,
.retrofit-text ul,
.intro-text-col ul,
.intro-body ul,
.t1-faq-answer ul,
.t1-job-body ul,
.leistung-card ul {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.about-text ul li,
.text-editor ul li,
.brick-text ul li,
.split-text ul li,
.pfalz-text ul li,
.retrofit-text ul li,
.intro-text-col ul li,
.intro-body ul li,
.t1-faq-answer ul li,
.t1-job-body ul li,
.leistung-card ul li {
  font-size: 0.95rem;
  color: var(--textp);
  font-weight: 300;
  line-height: 1.55;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}

.about-text ul li::before,
.text-editor ul li::before,
.brick-text ul li::before,
.split-text ul li::before,
.pfalz-text ul li::before,
.retrofit-text ul li::before,
.intro-text-col ul li::before,
.intro-body ul li::before,
.t1-faq-answer ul li::before,
.t1-job-body ul li::before,
.leistung-card ul li::before {
  content: '';
  width: 0.3rem;
  height: 0.3rem;
  margin-top: 0.55em;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

.leistung-card ul li {
  font-size: 0.78rem;
  padding: 0.4rem 0;
  gap: 0.6rem;
}

.leistung-card ul li::before {
  width: 0.25rem;
  height: 0.25rem;
}
#pfalz2{
  position: relative;
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: center;
}
.pfalz-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1467269204594-9661b134dd2b?w=1600&q=80&auto=format&fit=crop');
  background-size: cover;
  background-position: center 40%;
  filter: brightness(0.78) saturate(0.72);
  z-index: -1;
}
.pfalz-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(234,245,255,1) 0%, rgba(234,245,255,0.7) 45%, rgba(234,245,255,0.25) 100%);
  z-index: -1;
}
.pfalz-content {
  position: relative;
  z-index: 10;
  
  margin: 0 auto;
  padding: 6rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.pfalz-text .section-lead {
  margin-top: 1.5rem;
  font-size: 0.95rem;
}
.pfalz-text p {
  color: #1e3850;
  font-weight: 300;
  line-height: 1.85;
  margin-top: 1rem;
  font-size: 0.9rem;
}
/* .pfalz-values {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
} */
/* ─── INTRO TEXT SECTION (2-spaltig) ─── */
#intro-text {
  /* background: #f7f7f7; */
  border-top: 1px solid rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 7rem 2rem;
}
.intro-split {
  
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.intro-body p + p { margin-top: 1rem; }
/* ─── RETROFIT SECTION (2-spaltig) ─── */
#intro-text {
  background: linear-gradient(60deg, #fff 30%, #dfdfdf 100%);
}
#gallery-section {
  background: linear-gradient(60deg, #ffffff 60%, #dfdfdf 100%);
}
#stats,
.verlauf {
  background: linear-gradient(-60deg, #ffffff 60%, #dfdfdf 100%);
  /* border-top: 1px solid rgba(0,0,0,0.06); */
}
#retrofit {
  padding: 7rem 2rem;
}
.retrofit-split {
  
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.section-media-tag.is-right {
  right: -0.0625rem;
  left: auto;
}
.retrofit-text h2 { margin: 1.5rem 0; }

/* ─── CTA SECTION ─── */
#cta {
  padding: 8rem 2rem;
  text-align: center;
  background: #f7f7f7;
  border-top: 1px solid rgba(0,0,0,0.06);
  position: relative;
  overflow: hidden;
}
#cta::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 37.5rem;
  height: 37.5rem;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(32,126,193,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; }
.cta-inner h2 { font-size: clamp(2.5rem, 6vw, 5rem); }
.cta-inner .brick-text { max-width: 35rem; margin: 1.5rem auto 2.5rem; }
.cta-contact {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.timeline-section {
  max-width: 860px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.timeline-heading {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.25rem;
}

.timeline-subheading {
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  color: var(--brand-silver);
  margin-bottom: 3rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
  margin-bottom: 0;
}

/* Verbindungslinie */
.timeline-item:not(:last-child) .timeline-connector {
  position: absolute;
  left: 119px;
  top: 28px;
  width: 1px;
  background-color: var(--blue-border);
  bottom: -1px;
  z-index: 0;
}

.timeline-year-col {
  width: 110px;
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding-right: 1.5rem;
  padding-top: 0.35rem;
}

.timeline-year {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--blue);
  letter-spacing: 0.02em;
  line-height: 1;
}

.timeline-dot-col {
  width: 20px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 0.5rem;
  position: relative;
  z-index: 1;
}

.timeline-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--blue);
  flex-shrink: 0;
}

.timeline-item:first-child .timeline-dot {
  background-color: var(--blue);
  width: 12px;
  height: 12px;
  box-shadow: 0 0 0 3px rgba(32, 126, 193, 0.2);
}

.timeline-text-col {
  flex: 1;
  padding: 0.25rem 0 2rem 1.25rem;
}

.timeline-text {
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--headline);
  margin: 0;
}

/* Highlight für Gründungen */
.timeline-item.highlight .timeline-year {
  color: var(--blue);
}

.timeline-item.highlight .timeline-text {
  font-weight: 600;
}

.timeline-item.highlight .timeline-dot {
  background-color: var(--blue);
  width: 13px;
  height: 13px;
  box-shadow: 0 0 0 3px rgba(32, 126, 193, 0.25);
}

/* ─── FOOTER ─── */
footer {
  background: #f0f0f0;
  background: #333;
  border-top: 1px solid rgba(0,0,0,0.07);
  padding: 3rem 2rem 1rem;
}
.footer-inner {
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-logo {
  width: 10rem;
  height: auto;
}
.footer-logo img {
  width: 100%;
  height: auto;
}
.footer-logo span { color: var(--blue); }
.footer-logo-sub {
  margin-top: 1rem;
  line-height: 0;
}
.footer-logo-sub img {
  width: 6.5rem;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
.footer-meta a {
  font-size: 0.72rem;
  color: #5a7080;
  color: #fff;
  font-weight: 300;
  text-decoration: none;
  line-height: 1.5;
}
.footer-copyright {
  font-size: 0.72rem;
  color: #5a7080;
  color: #fff;
  font-weight: 300;
  text-align: center;
  padding-top: 1rem;
}
ul.footer-meta {
  font-size: 0.72rem;
  color: #5a7080;
  color: #fff;
  font-weight: 300;
  list-style: none;
}
.footer-br-mobile {
  display: none;
}

/* Social Icons (Font Awesome) */
.social {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}
.social a:hover {
  background: #1a6aa3;
  color: #fff;
  transform: translateY(-1px);
}
.social--kontakt {
  margin-top: 1.25rem;
}
.social--footer {
  justify-content: flex-end;
  margin-bottom: 1.25rem;
}
.social--footer a {
  background: var(--blue);
  color: #fff;
  opacity: 1;
}
.social--footer a:hover {
  background: #1a6aa3;
  color: #fff;
}

/* Cookie-Banner (tarteaucitron) – schlicht, zentriert, Overlay 0.4 */
#tarteaucitronRoot {
  pointer-events: none;
}
#tarteaucitronRoot #tarteaucitronIcon,
#tarteaucitronRoot #tarteaucitronAlertBig,
#tarteaucitronRoot #tarteaucitron,
#tarteaucitronRoot #tarteaucitronBack {
  pointer-events: auto;
}

#tarteaucitronRoot.tarteaucitronSize-middle.tarteaucitronBeforeVisible::before,
#tarteaucitronRoot.tarteaucitronBeforeVisible::before {
  background: #000 !important;
  opacity: 0.4 !important;
  pointer-events: auto;
}
#tarteaucitronRoot:not(.tarteaucitronBeforeVisible)::before {
  content: none !important;
  display: none !important;
  pointer-events: none !important;
}
#tarteaucitronBack {
  background: rgba(0, 0, 0, 0.4) !important;
  opacity: 1 !important;
}
#tarteaucitronBack[style*="none"],
#tarteaucitronAlertBig[style*="none"] {
  display: none !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

#tarteaucitronRoot #tarteaucitronAlertBig,
body #tarteaucitronRoot.tarteaucitronSize-middle #tarteaucitronAlertBig {
  position: fixed !important;
  left: 50% !important;
  top: 50% !important;
  right: auto !important;
  bottom: auto !important;
  transform: translate(-50%, -50%) !important;
  box-sizing: border-box !important;
  width: min(24rem, calc(100vw - 2rem)) !important;
  max-width: 24rem !important;
  min-width: 0 !important;
  height: fit-content !important;
  margin: 0 !important;
  text-align: center !important;
  background: #fff !important;
  color: var(--textp) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: var(--radius-12) !important;
  box-shadow: 0 1.5rem 3.5rem rgba(0, 0, 0, 0.25) !important;
  padding: 1.5rem 1.35rem 1.25rem !important;
  overflow: hidden !important;
  flex-direction: column !important;
  align-items: stretch !important;
}
/* Nur wenn Tarte den Banner wirklich zeigt – sonst Klicks freigeben */
#tarteaucitronRoot #tarteaucitronAlertBig[style*="block"],
body #tarteaucitronRoot.tarteaucitronSize-middle #tarteaucitronAlertBig[style*="block"] {
  display: flex !important;
}

/* Keine Icons / Emoji-Titel im Banner */
#tarteaucitronAlertBig::before,
#tarteaucitronRoot .tarteaucitronAlertBigMiddle::before,
#tarteaucitronRoot .tarteaucitronAlertBigPopup::before {
  display: none !important;
  content: none !important;
  font-size: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

#tarteaucitronAlertBig #tarteaucitronDisclaimerAlert,
#tarteaucitronRoot.tarteaucitronSize-middle #tarteaucitronDisclaimerAlert {
  display: block !important;
  text-align: center !important;
  margin: 0 0 1.15rem !important;
  padding: 0 !important;
  font-size: 0.88rem !important;
  line-height: 1.45 !important;
  color: var(--textp) !important;
}

#tarteaucitronAlertBig #tarteaucitronPrivacyUrl,
#tarteaucitronAlertBig #tarteaucitronPrivacyUrlDialog,
#tarteaucitronAlertBig #tarteaucitronAllDenied,
#tarteaucitronAlertBig #tarteaucitronAllDenied2,
#tarteaucitronAlertBig button.tarteaucitronDeny {
  display: none !important;
}

#tarteaucitronAlertBig .tarteaucitronCTAButton,
#tarteaucitronAlertBig #tarteaucitronCloseAlert,
#tarteaucitronAlertBig #tarteaucitronPersonalize,
#tarteaucitronAlertBig #tarteaucitronPersonalize2,
#tarteaucitronAlertBig button.tarteaucitronAllow,
body #tarteaucitronRoot.tarteaucitronSize-middle #tarteaucitronAlertBig button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 0 0.55rem !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  float: none !important;
  font-family: 'Barlow Condensed', sans-serif !important;
  font-weight: 700 !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0.85rem 1.25rem !important;
}

/* Primär: Alle akzeptieren → Seitenblau */
#tarteaucitronAlertBig .tarteaucitronAllow,
#tarteaucitronAlertBig #tarteaucitronPersonalize2,
#tarteaucitronAlertBig button.tarteaucitronCTAButton.tarteaucitronAllow {
  background: var(--blue) !important;
  border: 1px solid var(--blue) !important;
  color: #fff !important;
}

/* Sekundär: Personalisieren → Outline */
#tarteaucitronAlertBig #tarteaucitronCloseAlert,
#tarteaucitronAlertBig #tarteaucitronPersonalize {
  background: #fff !important;
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
  color: var(--headline) !important;
  margin-bottom: 0 !important;
}

#tarteaucitronRoot .tarteaucitronSelfLink {
  display: none !important;
}

#tarteaucitronIcon #tarteaucitronManager img,
#tarteaucitronAlertSmall #tarteaucitronManager img {
  filter: grayscale(100%);
  opacity: 0.82;
  transition: opacity 0.2s ease;
}
#tarteaucitronIcon #tarteaucitronManager:hover img,
#tarteaucitronAlertSmall #tarteaucitronManager:hover img {
  opacity: 1;
}

/* Panel: Allow-Buttons ebenfalls in Seitenblau */
#tarteaucitron .tarteaucitronAllow,
#tarteaucitron #tarteaucitronAllAllowed,
#tarteaucitronSaveButton {
  background: var(--blue) !important;
  border-color: var(--blue) !important;
  color: #fff !important;
}

.alert-primary {
  --bs-alert-color: var(--blue);
  --bs-alert-bg: var(--blue-border);
  --bs-alert-border-color: var(--blue-border);
  --bs-alert-link-color: var(--blue);
}

.t1-job-body h2 {
  font-size: 1rem;
  line-height: 1.55;
  margin: 1.5rem 0 .5rem;
}
.t1-job-body ul {
  padding-left: 1.5rem;
}
.accordion-header {
  font-size: 1rem;
  line-height: 1.55;
  margin: 0 0 .5rem;
}
.accordion-button:not(.collapsed) {
  color: #fff;
  background-color: var(--blue);
}
.t1-job-apply {
  font-family: 'Barlow', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--textp);
}
.t1-job-apply-address {
  font-style: normal;
}
.t1-job-apply a {
  color: var(--blue);
  text-decoration: underline;
}
.t1-job-apply a:hover {
  color: var(--headline);
}
.t1-jobs-list .accordion-header {
  scroll-margin-top: 6rem;
}

/* ─── FAQ (t1__faq) ─── */
.t1-faq-block {
  display: flex;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}
.faq-left {
  padding-right: 1.5rem;
}
.faq-right {
  padding-left: 1.5rem;
}
.t1-faq {
  margin-bottom: 0.25rem;
}
.t1-faq-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.35;
  text-transform: none;
  color: var(--headline);
  margin: 0 0 0.65rem;
}
.t1-faq-answer {
  font-family: 'Barlow', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 1.25rem;
}
.t1-faq-answer p {
  margin-bottom: 0.65rem;
}
.t1-faq-answer p:last-child {
  margin-bottom: 0;
}
.t1-faq-answer a {
  color: var(--blue);
  text-decoration: underline;
}
.t1-faq-answer a:hover {
  color: var(--headline);
}
.t1-faq-hr {
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  margin: 1rem 0 1.25rem;
  opacity: 1;
}
.t1-faq-block .innerLink {
  margin-top: 0.75rem;
}

.datum {
  font-size: 0.8rem;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 0;
}
.t1-news-list h4 {
  margin-top: 0.5rem;
}
.news-detail h1 {
  font-size: 2rem;
  margin-bottom: 1.25rem;
}
/* Datum als Badge (Detail + Übersicht) */
.news-detail .mexcellent,
.t1-news-list .mexcellent {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--blue);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: color-mix(in srgb, var(--blue) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--blue) 25%, transparent);
  border-radius: 100px;
  padding: 0.25rem 0.85rem;
  margin-bottom: 1.25rem;
}
.news-detail-subtitle {
  font-family: 'Barlow', sans-serif;
  font-size: 1.1rem;
  color: var(--textp);
  margin-bottom: 1.25rem;
}
.news-detail-text {
  font-family: 'Barlow', sans-serif;
  line-height: 1.75;
  font-size: 1.05rem;
}
.news-detail-text p {
  margin-bottom: 1.25rem;
}
.news-detail-text a {
  color: var(--blue);
  text-decoration: underline;
  word-break: break-word;
}
.news-detail-text a:hover {
  color: var(--headline);
}
/* News-Content Abstand auf Desktop */
@media (min-width: 768px) {
  .news-content {
    padding-left: 2.5rem;
  }
}
/* Trennlinie über Archiv-Button */
.news-detail > .col-12:last-child {
  border-top: 1px solid rgba(0,0,0,0.08);
  padding-top: 1.75rem;
  margin-top: 1rem;
}
/* LinkedIn-Button */
.btn-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  /* background: #0A66C2; */
  background: #000;
  color: #fff;
  font-family: 'Barlow', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.55rem 1.25rem;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease;
  margin-top: 0.5rem;
}
.btn-linkedin:hover {
  background: #004182;
  color: #fff;
  transform: translateY(-1px);
  text-decoration: none;
}
.btn-linkedin svg {
  flex-shrink: 0;
}
/* Galerie: Hauptbild + Thumbnails */
.t1-news-gallery__item {
  margin: 0;
}
.t1-news-gallery__link {
  display: block;
  cursor: zoom-in;
  border-radius: var(--about-img-radius, 15px);
  overflow: hidden;
}
.t1-news-gallery__link:focus-visible {
  outline: 2px solid var(--primary, #0066cc);
  outline-offset: 2px;
}
.t1-news-gallery__item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 0;
  transition: opacity 0.2s ease, transform 0.35s ease;
}
.t1-news-gallery__link:hover img {
  opacity: 0.88;
  transform: scale(1.04);
}
/* Hauptbild: 4:3 */
.t1-news-gallery__main {
  margin-bottom: 0.5rem;
}
.t1-news-gallery__main .t1-news-gallery__link {
  aspect-ratio: 4 / 3;
}
/* Thumbnails: quadratisch, gleichmäßig */
.t1-news-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 0.5rem;
}
.t1-news-gallery__thumbs .t1-news-gallery__item {
  margin: 0;
}
.t1-news-gallery__thumbs .t1-news-gallery__link {
  aspect-ratio: 1 / 1;
  border-radius: 10px;
}
/* ─── MOBILE ─── */
@media (max-width: 1024px) {
  .orbit-text-panel { display: none; }
  .orbit-sticky { justify-content: center; }
}

/* Body-Scroll sperren, solange Mobil-Nav offen */
body.nav-menu-open {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
}
@media (max-width: 1300px) {
  .nav-links {
    gap: 1rem;    
  }
}
/* Hamburger & Mobil-Nav unter 1200px */
@media (max-width: 1199px) {
  nav {
    flex-wrap: nowrap;
    align-items: center;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.94);
    transition: padding 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
  }
  nav.scrolled {
    padding: 0.8rem 1.25rem;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 0.75rem 2rem rgba(13, 34, 53, 0.06);
  }
  body.nav-menu-open::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 104;
    background:
      radial-gradient(circle at 12% 8%, rgba(28, 158, 218, 0.16), transparent 40%),
      rgba(247, 250, 252, 0.68);
    backdrop-filter: blur(8px) saturate(1.08);
    -webkit-backdrop-filter: blur(8px) saturate(1.08);
    animation: navOverlayIn 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
    pointer-events: none;
  }
  body.nav-menu-open nav {
    background: rgba(255, 255, 255, 0.84);
    box-shadow: none;
    z-index: 110;
  }
  body.nav-menu-open .nav-logo,
  body.nav-menu-open .nav-right,
  body.nav-menu-open .nav-burger {
    position: relative;
    z-index: 120;
  }
  .nav-logo {
    width: clamp(10rem, 34vw, 13rem);
  }
  nav.scrolled .nav-logo {
    width: clamp(9.25rem, 31vw, 11.5rem);
  }
  .nav-logo-sub img {
    width: clamp(4.25rem, 15vw, 5.6rem);
    max-width: 18vw;
  }
  nav.scrolled .nav-logo-sub img {
    width: clamp(3.8rem, 13vw, 5rem);
  }

  .nav-links { display: none; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 100dvh;
    min-height: 100svh;
    margin: 0;
    padding: clamp(6.75rem, 18vh, 8.5rem) 1.35rem 2rem;
    background: transparent;
    border: none;
    box-shadow: none;
    z-index: 105;
    gap: 0.25rem;
    list-style: none;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    animation: navOverlayIn 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
    pointer-events: auto;
    touch-action: pan-y;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .nav-links.open::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }
  .nav-logo,
  .nav-right,
  .nav-burger {
    position: relative;
    z-index: 2;
  }
  .nav-has-dropdown>a .nav-arrow {
      width: 14px;
      height: 14px;
      border-right: 2px solid var(--silver);
      border-bottom: 2px solid var(--silver);
      transform: rotate(45deg);
      transition: transform 0.25s, border-color 0.2s;
      flex-shrink: 0;
      align-self: center;
      margin-top: -1px;
      margin-right: 0;
  }
  
  /* Desktop-Flex auf li/a zurücksetzen */
  .nav-links.open > li {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgba(13, 34, 53, 0.08);
    text-align: left;
    opacity: 0;
    transform: translateY(0.75rem);
    animation: navItemIn 0.32s ease forwards;
  }
  .nav-links.open > li:nth-child(1) { animation-delay: 0.08s; }
  .nav-links.open > li:nth-child(2) { animation-delay: 0.12s; }
  .nav-links.open > li:nth-child(3) { animation-delay: 0.16s; }
  .nav-links.open > li:nth-child(4) { animation-delay: 0.20s; }
  .nav-links.open > li:nth-child(5) { animation-delay: 0.24s; }
  .nav-links.open > li:nth-child(n+6) { animation-delay: 0.28s; }
  .nav-links.open > li:last-child {
    border-bottom: none;
  }

  .nav-links.open > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    box-sizing: border-box;
    padding: 1rem 0.25rem 1rem 0.1rem;
    margin: 0;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(1.15rem, 4.6vw, 1.55rem);
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1.2;
    text-transform: uppercase;
    text-align: left;
    color: var(--headline);
    text-decoration: none;
  }

  .nav-links.open .nav-has-dropdown.open > a {
    color: var(--blue);
  }
  .nav-links.open > li > a:hover,
  .nav-links.open > li > a:focus-visible {
    color: var(--headline);
  }
  .nav-links.open .nav-has-dropdown.open > a:hover,
  .nav-links.open .nav-has-dropdown.open > a:focus-visible {
    color: var(--blue);
  }

  .nav-links.open .nav-arrow {
    display: block;
    flex-shrink: 0;
    margin-top: 0;
    transition: transform 0.25s ease, border-color 0.25s ease;
  }
  /* Touch: kein sticky :hover — Pfeil nur bei .open drehen */
  .nav-has-dropdown:hover > a .nav-arrow,
  .nav-has-dropdown > a:hover .nav-arrow {
    transform: rotate(45deg);
    margin-top: -1px;
    border-color: var(--silver);
  }
  .nav-links.open .nav-has-dropdown.open > a .nav-arrow {
    transform: rotate(-135deg);
    margin-top: 0;
    border-color: var(--blue);
  }

  .nav-links.open .nav-dropdown {
    display: none;
    position: static;
    width: 100%;
    margin: 0 0 1rem;
    padding: 0;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
  }
  .nav-links.open .nav-dropdown::before,
  .nav-links.open .nav-dropdown::after { display: none; }
  .nav-links.open .nav-has-dropdown.open .nav-dropdown { display: block; }
  .nav-links.open .nav-dropdown .mega-menu-arc { display: none; }

  .nav-links.open .nav-dropdown .mega-menu-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(32, 126, 193, 0.14);
    border-radius: 0.5rem;
    background: rgba(32, 126, 193, 0.04);
    max-height: none;
    overflow: visible;
  }

  .nav-links.open .mega-menu-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.875rem;
    width: 100%;
    min-height: 3.25rem;
    padding: 0.75rem 1rem;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    border-right: none;
    border-radius: 0;
    white-space: normal;
    font-weight: 400;
    letter-spacing: normal;
    text-transform: none;
  }
  .nav-links.open .mega-menu-item:nth-child(2n),
  .nav-links.open .mega-menu-item:nth-last-child(-n+2) {
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }
  .nav-links.open .mega-menu-item:last-child { border-bottom: none; }
  .nav-links.open .mega-menu-item::before { display: none; }
  .nav-links.open .mega-menu-item:active,
  .nav-links.open .mega-menu-item:focus-visible {
    background: rgba(32, 126, 193, 0.1);
    color: inherit;
  }

  .nav-links.open .di-icon,
  .nav-links.open img.di-icon {
    width: 1.75rem;
    height: 1.75rem;
    margin: 0;
    flex-shrink: 0;
  }
  .nav-links.open .di-text {
    flex: 1;
    min-width: 0;
    text-align: left;
  }
  .nav-links.open .di-num { display: none; }
  .nav-links.open .di-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--headline);
    margin: 0 0 0.15rem;
    line-height: 1.2;
  }
  .nav-links.open .di-sub {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    color: #5a7285;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .nav-burger { display: flex; }
  .nav-burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .nav-burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .nav-cta--fixed { display: none; }
}

@keyframes navOverlayIn {
  from {
    opacity: 0;
    transform: translateY(-0.75rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes navItemIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  #stats { padding: 2rem 1rem; }

  #hero-a .ha-text {
    min-height: 58vh;
    padding: 7rem 1.25rem 3rem;
  }
  #hero-a .hero-eyebrow {
    font-size: 0.58rem;
    letter-spacing: 0.32em;
    margin-bottom: 1rem;
  }
  #hero-a .hero-title {
    font-size: clamp(2.8rem, 15vw, 4rem);
    line-height: 0.92;
  }
  #hero-a .hero-sub {
    max-width: 28rem;
    line-height: 1.6;
  }
  #hero-a .hero-divider {
    margin: 1.4rem auto;
  }
  #hero-a .ha-img {
    min-height: 44vh;
  }

  .split-section {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 4rem 1rem;
  }
  .split-section.reverse { direction: ltr; }
  .intro-split {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 4rem 1rem;
  }

  .retrofit-split {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 4rem 1rem;
  }

  .leistungen-grid:not(.row) {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 2rem;
  }

  #leistungen { padding: 4rem 1rem; }
  #intro-text { padding: 4rem 1rem; }
  #retrofit { padding: 4rem 1rem; }
  #prozess { padding: 4rem 1rem; }
  #gallery-section { padding: 4rem 1rem; }
  #cta { padding: 4rem 1rem; }
  footer { padding: 2.5rem 1rem; }

  footer .row {
    justify-content: center;
    text-align: center;
  }
  footer .row > [class*="col-"] {
    text-align: center !important;
  }
  .social--footer {
    justify-content: center;
    margin-bottom: 1rem;
  }
  .footer-logo {
    margin: 0 auto 0;
  }
  .footer-logo-sub {
    margin: 1rem auto 1.25rem;
    display: flex;
    justify-content: center;
  }
  ul.footer-meta {
    margin: 0 auto 1rem;
    padding-left: 0;
  }
  ul.footer-meta li {
    text-align: center;
  }
  .footer-copyright {
    line-height: 1.6;
  }
  .footer-br-mobile {
    display: block;
  }

  .about-highlights:not(.row) { grid-template-columns: 1fr; }

  .row.t1-faq-block { margin-left: 0; }
  .faq-left,
  .faq-right {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 600px) {
  nav { padding: 12px 10px; }
  nav.scrolled { padding: 10px 10px; }
  .nav-right { margin-right: 12px; }
  .nav-logo { width: clamp(150px, 44vw, 170px); }
  nav.scrolled .nav-logo { width: clamp(140px, 40vw, 158px); }
  .nav-logo-sub { width: auto; }
  .nav-logo-sub img {
    width: clamp(58px, 16vw, 68px);
    max-width: none;
  }
  nav.scrolled .nav-logo-sub img {
    width: clamp(52px, 14vw, 62px);
  }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; align-items: center; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
  .stat-item { padding: 0.75rem 0.5rem; }
}




@media (max-width: 576px) {
  .timeline-year-col {
    width: 70px;
    padding-right: 0.75rem;
  }

  .timeline-year {
    font-size: 1.1rem;
  }

  .timeline-item:not(:last-child) .timeline-connector {
    left: 70px;
  }
}


/* Brick t1__map (Leaflet) */
.map-container {
  width: 100%;
  min-height: 400px !important;
}

/* ══════════════════════════════════════════════════════════════════════
    SCROLL INDICATOR (Hero Variante A)
    – Text "SCROLL" in Versalien, Link zu #start
    – unten in der Bildspalte der Hero-Section
══════════════════════════════════════════════════════════════════════ */

.hero-scroll-target {
  scroll-margin-top: 6rem;
}

#hero-a .hero-scroll-indicator,
#hero-a #scroll-indicator {
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  pointer-events: auto;
  z-index: 5;
  text-decoration: none;
  opacity: 0;
  animation: heroScrollFadeIn 1s ease forwards 1.2s;
}

#hero-a .hero-scroll-indicator span,
#hero-a #scroll-indicator span {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--blue);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

#scroll-line {
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom,
      rgba(56, 6, 181, 0.85) 0%,
      rgba(255, 255, 255, 0) 100%);
  animation: linePulse 2s ease-in-out infinite 2s;
  transform-origin: top center;
}

#hero-a .hero-scroll-indicator.hidden,
#hero-a #scroll-indicator.hidden {
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

@media (max-width: 767px) {
  #hero-a .hero-scroll-indicator,
  #hero-a #scroll-indicator {
    bottom: 1.5rem;
    display: none;
  }
}

@keyframes heroScrollFadeIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes linePulse {

  0%,
  100% {
    transform: scaleY(1);
    opacity: 0.7;
  }

  50% {
    transform: scaleY(1.3);
    opacity: 1;
  }
}