:root {
  --default-font: "Nunito",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Poppins",  sans-serif;
  --nav-font: "Raleway",  sans-serif;
}

:root { 
  --background-color: #495151; 
  --default-color: #444444; 
  --heading-color: #3d3e3c; 
  --accent-color: #c84115; 
  --surface-color: #ffffff; 
  --contrast-color: #ffffff; 
    --body-font-color:#ffffff; 
}

:root {
  --nav-color: #3d3e3c;  
  --nav-hover-color: #c84115; 
  --nav-mobile-background-color: #ffffff; 
  --nav-dropdown-background-color: #ffffff; 
  --nav-dropdown-color: #3d3e3c; 
  --nav-dropdown-hover-color: #3d3e3c; 
}
:root {
  scroll-behavior: smooth;
}

body {
  color: var(--body-font-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}
.red {color: var(--accent-color);} 
.white {color: var(--body-font-color) !important;} 
.hellgrau {background-color: #E5E5E5 !important;}

.btn-outline-dark {
	--bs-btn-color: var(--body-font-color);
	--bs-btn-border-color: var(--body-font-color);

}

.mbt1 {margin-top: 1rem;}
.mbt2 {margin-top: 2rem;}
.mbt3 {margin-top: 3rem;}
.mbt4 {margin-top: 4rem;}
.mbt5 {margin-top: 5rem;}
.mbt6 {margin-top: 6rem;}
.mbt7 {margin-top: 7rem;}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--body-font-color);
  font-family: var(--heading-font);
}

.hlwhite { color: var(--body-font-color);}

.fw500 {font-weight: 500;}
.fw600 {font-weight: 600;}
.fw700 {font-weight: 700;}
.fw800 {font-weight: 800;}
.fw900 {font-weight: 900;}

.kopf {
  color: var(--default-color);
  transition: all 0.5s;
  z-index: 997;
  background-color: var(--background-color);
}

.kopf .kopfzeile {
  background-color: var(--accent-color);
  height: 40px;
  padding: 0;
  font-size: 14px;
  transition: all 0.5s;
}

.kopf .kopfzeile .kopflinks i {
  font-style: normal;
  color: var(--contrast-color);
}

.kopf .kopfzeile .kopflinks i a,
.kopf .kopfzeile .kopflinks i span {
  padding-left: 5px;
  color: var(--contrast-color);
}

@media (max-width: 575px) {

  .kopf .kopfzeile .kopflinks i a,
  .kopf .kopfzeile .kopflinks i span {
    font-size: 13px;
  }
}

.kopf .kopfzeile .kopflinks i a {
  line-height: 0;
  transition: 0.3s;
}

.kopf .kopfzeile .kopflinks i a:hover {
  color: var(--contrast-color);
  text-decoration: underline;
}

.kopf .kopfzeile .smlink a {
  color: color-mix(in srgb, var(--contrast-color), transparent 40%);
  line-height: 0;
  transition: 0.3s;
  margin-left: 20px;
}

.kopf .kopfzeile .smlink a:hover {
  color: var(--contrast-color);
}

.kopf .logoimg {
  min-height: 60px;
  padding: 10px 0;
}

.kopf .logo {
  line-height: 1;
}

.kopf .logo img {
  margin-right: 8px;
}

.kopf .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.kopf .cta-btn,.ueber .cta-btn,
.kopf .cta-btn:focus {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 14px;
  padding: 8px 25px;
  margin: 0 0 0 30px;
  border-radius: 50px;
  transition: 0.3s;
}

.leistungen .cta-btn  {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 14px;
  padding: 8px 25px;
 
  border-radius: 50px;
  transition: 0.3s;
}

.kopf .cta-btn:hover,
.kopf .cta-btn:focus:hover {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

@media (max-width: 1200px) {
  .kopf .logo {
    order: 1;
  }

  .kopf .cta-btn {
    order: 2;
    margin: 0 15px 0 0;
    padding: 6px 15px;
  }

  .kopf .navmenu {
    order: 3;
  }
}

.scrolled .kopf {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

.scrolled .kopf .kopfzeile {
  height: 0;
  visibility: hidden;
  overflow: hidden;
}

@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu>ul>li {
    white-space: nowrap;
    padding: 15px 14px;
  }

  .navmenu>ul>li:last-child {
    padding-right: 0;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    font-size: 15px;
    padding: 0 2px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu a:hover:before,
  .navmenu li:hover>a:before,
  .navmenu .active:before {
    visibility: visible;
    width: 100%;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

.footer {
  color: #fff;
  background-color: var(--accent-color);
  border-top: 1px solid color-mix(in srgb, var(--accent-color), transparent 75%);
  font-size: 14px;
  position: relative;
}

.footer .footer-top {
  padding-top: 50px;
}

.footer .fueber .logo {
  line-height: 1;
  margin-bottom: 25px;
}

.footer .fueber .logo img {

  margin-right: 6px;
}

.footer .fueber .logo span {
  color: #fff;
  font-family: var(--heading-font);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
}

.footer .fueber p {
  font-size: 14px;
  font-family: var(--heading-font);
}

.footer .smlink a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #fff;
  font-size: 16px;
 color:#fff;
  margin-right: 10px;
  transition: 0.3s;
}

.footer .smlink a:hover {
  color: color-mix(in srgb, #fff, transparent 50%);
  border-color: color-mix(in srgb, #fff, transparent 50%);
}

.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
    color:#fff;
}

.footer .footer-links {
  margin-bottom: 30px;
}

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul i {
  padding-right: 2px;
  font-size: 12px;
  line-height: 0;
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a,  .footer .fkontakt a {
  color:#fff;
  display: inline-block;
  line-height: 1;
}

.footer .footer-links ul a:hover {
  color: color-mix(in srgb, #fff, transparent 50%);
}

.footer .fkontakt p {
  margin-bottom: 5px;
}

.footer .cp {
  padding-top: 25px;
  padding-bottom: 25px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .cp p {
  margin-bottom: 0;
}

.footer .tribut {
  margin-top: 8px;
  font-size: 13px;
}
.footer .tribut a {color: #fff;}
.footer .tribut .madewith {color: color-mix(in srgb, #fff, transparent 50%) !important;}

#introschirm {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.6s ease-out;
}

#introschirm:before {
  content: "";
  width: 0;
  height: 0;
  border-left: 40px solid transparent;
  border-right: 40px solid transparent;
  border-bottom: 60px solid var(--accent-color); /* Farbe des "Dachs" */
  animation: bounce-dach 1.5s ease-in-out infinite;
}

@keyframes bounce-dach {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.hoch {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.hoch i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.hoch:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.hoch.active {
  visibility: visible;
  opacity: 1;
}

@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

section,
.section {
  color: var(--body-font-color);
  background-color: var(--background-color);
  padding: 30px 0;
  scroll-margin-top: 72px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 60px;
  }
}

.stitel {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.stitel h2 {
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.stitel h2:before {
  content: "";
  position: absolute;
  display: block;
  width: 160px;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 60%);
  left: 0;
  right: 0;
  bottom: 1px;
  margin: auto;
}

.stitel h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.stitel p {
  margin-bottom: 0;
}
.ueber .inhalte h3 {
  font-size: 2rem;
  font-weight: 700;
}

.ueber .inhalte ul {
  list-style: none;
  padding: 0;
}

.ueber .inhalte ul li {
  display: flex;
  align-items: flex-start;
  margin-top: 40px;
}

.ueber .inhalte ul i {
  flex-shrink: 0;
  font-size: 48px;
  color: var(--accent-color);
  margin-right: 20px;
}

.ueber .inhalte ul h5 {
  font-size: 18px;
  font-weight: 700;
}

.ueber .inhalte ul p {
  font-size: 15px;
}

.ueber .inhalte p:last-child {
  margin-bottom: 0;
}

.ueber .pulsating-play-btn {
  position: absolute;
  left: calc(50% - 47px);
  top: calc(50% - 47px);
}

.leistungen .leist-item {
  background-color: var(--surface-color);
  text-align: center;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  padding: 80px 20px;
  transition: all ease-in-out 0.3s;
  height: 100%;
}

.leistungen .leist-item .icon {
  margin: 0 auto;
  width: 64px;
  height: 64px;
  background: var(--accent-color);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: 0.3s;
  transform-style: preserve-3d;
}

.leistungen .leist-item .icon i {
  color: var(--contrast-color);
  font-size: 28px;
  transition: ease-in-out 0.3s;
}

.leistungen .leist-item .icon::before {
  position: absolute;
  content: "";
  left: -8px;
  top: -8px;
  height: 100%;
  width: 100%;
  background: color-mix(in srgb, var(--accent-color), transparent 80%);
  border-radius: 5px;
  transition: all 0.3s ease-out 0s;
  transform: translateZ(-1px);
}

.leistungen .leist-item h3 {
  font-weight: 700;
  margin: 10px 0 15px 0;
  font-size: 22px;
}

.leistungen .leist-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.leistungen .leist-item:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
}

.leistungen .leist-item:hover .icon {
  background: var(--surface-color);
}

.leistungen .leist-item:hover .icon i {
  color: var(--accent-color);
}

.leistungen .leist-item:hover .icon::before {
  background: color-mix(in srgb, var(--background-color), transparent 70%);
}

.leistungen .leist-item:hover h3,
.leistungen .leist-item:hover p {
  color: var(--contrast-color);
}

.nui .chronocredits {display: none;}
.mod-breadcrumbs__wrapper {padding: 2rem 0;}
.breadcrumb { margin: 0 0 !important;}
.breadcrumb-item + .breadcrumb-item::before {

	content: var(--bs-breadcrumb-divider, "\00ab");
}

.parallax {
  background-image: url("../images/logo_bg.jpg");
  min-height: 500px; 

  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.txt-weiss {color:#fff !important;}

/* ==========================================================
   HEADER ONLY (Copy & Paste) — 120px HEIGHT (UNGESCROLLT)
   - Ungescrollt: Header = 120px (zentriert)
   - Transparent am Anfang
   - Nach Scroll: 50% transparent + Blur
   - Logo-Wechsel: X oben, Y nach Scroll
   - Logos: dynamisch, max-height 56px (X +10%), Y gleiche Größe
   - Harte Umschaltung: nie beide Logos gleichzeitig sichtbar
   - Bootstrap 5 kompatibel, robust gegen Theme-Overrides
   ========================================================== */

/* Header Layering */
header.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
}

/* Navbar Grundzustand: fixe Höhe 120px */
header.site-header nav.site-navbar.navbar {
  background: transparent !important;
  border-bottom: 1px solid transparent !important;

  height: 120px !important;          /* <- Vorgabe */
  min-height: 120px !important;
  max-height: 120px !important;

  padding-top: 0 !important;          /* Höhe wird über flex zentriert */
  padding-bottom: 0 !important;

  display: flex !important;
  align-items: center !important;

  transition:
    background-color 180ms ease,
    backdrop-filter 180ms ease,
    -webkit-backdrop-filter 180ms ease,
    border-color 180ms ease,
    height 180ms ease;
}

/* Scrolled: Glas-Effekt (Höhe frei wählbar — hier kompakter) */
header.site-header.is-scrolled nav.site-navbar.navbar {
  background: rgba(255, 255, 255, 0.8) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  backdrop-filter: blur(14px) !important;
  border-bottom-color: rgba(255, 255, 255, 0.28) !important;

  height: 86px !important;            /* scrolled kompakter; bei Wunsch ändern */
  min-height: 86px !important;
  max-height: 86px !important;
}

/* Container vertikal sauber */
header.site-header nav.site-navbar .container-fluid {
  display: flex !important;
  align-items: center !important;
}

/* Brand / Logo-Container */
header.site-header .navbar-brand {
  display: flex !important;
  align-items: center !important;
  gap: 0 !important;                 /* kein Abstand, falls Theme dazwischenfunkt */
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1 !important;
}

/* =========
   LOGOS — robust gegen globale img-Regeln
   ========= */
header.site-header img.brand-logo {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;

  width: auto !important;
  height: auto !important;
  max-width: 100% !important;

  /* killt Theme-"Kollaps" */
  transform: none !important;
}

/* Logox +10% => 56px max */
header.site-header img.brand-logo--x {
  max-height: 90px !important;
  min-height: 70px !important;
}

/* Logoy gleiche Größe wie X */
header.site-header img.brand-logo--y {
  max-height: 76px !important;
  min-height: 48px !important;
}

/* =========
   HARTE UMSCHALTUNG
   ========= */

/* Ungescrollt: NUR X */
header.site-header:not(.is-scrolled) img.brand-logo--x { display: block !important; }
header.site-header:not(.is-scrolled) img.brand-logo--y {
  display: none !important;
  width: 0 !important;
  max-width: 0 !important;
  height: 0 !important;
  max-height: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
}

/* Gescrollt: NUR Y */
header.site-header.is-scrolled img.brand-logo--x {
  display: none !important;
  width: 0 !important;
  max-width: 0 !important;
  height: 0 !important;
  max-height: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
}
header.site-header.is-scrolled img.brand-logo--y { display: block !important; }

/* Nav Links */
header.site-header .navbar-nav .nav-link {
  padding: 0.35rem 0.6rem !important;
  line-height: 1.1 !important;
  white-space: nowrap !important;
  transition: color 150ms ease, opacity 150ms ease !important;
}

/* Farben: transparent state (über Hero) -> hell */
header.site-header nav.site-navbar .nav-link,
header.site-header nav.site-navbar .navbar-brand {
  color: rgba(255, 255, 255, 0.92) !important;
}
header.site-header nav.site-navbar .nav-link:hover {
  color: rgba(200, 65, 21, 1) !important;
}
@media (min-width: 991.98px) {
/* Farben: scrolled state -> dunkel */
header.site-header.is-scrolled nav.site-navbar .nav-link,
header.site-header.is-scrolled nav.site-navbar .navbar-brand {
  color: rgba(0, 0, 0, 0.85) !important;
    }}
@media (max-width: 991.98px) {
  header.site-header nav.site-navbar .nav-link,
  header.site-header nav.site-navbar .navbar-brand {
    color: rgba(255, 255, 255, 1) !important;
  }
}
header.site-header.is-scrolled nav.site-navbar .nav-link:hover {
  color: rgba(200, 65, 21, 1) !important;
}

/* Dropdown Menüs */
header.site-header .dropdown-menu {
  border-radius: 0px !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  padding: 0.35rem !important;
  overflow: hidden !important;
}
header.site-header .dropdown-item {
  border-radius: 0px !important;
  padding: 0.55rem 0.75rem !important;
  line-height: 1.15 !important;
}
header.site-header .dropdown-item:hover { background: rgba(201, 68, 27, 0.6) !important; }
header.site-header .dropdown-item:active { background: rgba(0, 0, 0, 0.10) !important; }





.dropdown-menu {

	color: #ffffff !important;

	background-color: rgba(0,0,0,0.7);
	background-clip: padding-box;
	border:none;
	border-radius: 0px;
    -webkit-backdrop-filter: blur(20px);   /* Safari */
  backdrop-filter: blur(20px);
}
.dropdown-item {

	color: #ffffff !important;
	
	border: 0;
	border-radius: 0px;
}

/* Toggler */
header.site-header .navbar-toggler {
  padding: 0.25rem 0.55rem !important;
}

/* Mobile */
@media (max-width: 991.98px) {
  header.site-header nav.site-navbar.navbar {
    height: 120px !important;
    min-height: 120px !important;
    max-height: 120px !important;
  }

  header.site-header.is-scrolled nav.site-navbar.navbar {
    height: 92px !important;
    min-height: 92px !important;
    max-height: 92px !important;
  }

  header.site-header .navbar-collapse {
    margin-top: 0.6rem !important;
  }

  header.site-header .navbar-nav .nav-link {
    padding: 0.55rem 0.25rem !important;
  }

  header.site-header .dropdown-menu {
    border-radius: 10px !important;
    min-width: 100% !important;
  }
}

/* Hero Video */
  .hero { position: relative; height: 100vh; min-height: 100vh; overflow: hidden; }
  .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
  .hero__overlay { position: absolute; inset: 0; z-index: 1; background: rgba(0,0,0,.35); }
  .hero__content { position: relative; z-index: 2; height: 100%; display: grid; place-items: center; color: #fff; text-align: center; padding: 2rem; }
  .container { width: min(1100px, 100%); margin: 0 auto; }


/* Wichtig: Hero muss Position-Kontext haben */
.hero--with-facts{
  position: relative;
}

/* Höhe des Balkens "reservieren", damit er nicht den Content überdeckt.
   Passe den Wert an, je nachdem wie hoch deine Bar final ist. */
.hero--with-facts{
  padding-bottom: 6.5rem; /* mobile */
}
@media (min-width: 992px){
  .hero--with-facts{
    padding-bottom: 5.5rem; /* desktop */
  }
}

/* Facts-Bar: unten im Hero an den Rand */
.facts-bar--in-hero{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3; /* über Video/Overlay */
}

/* Hintergrund & Typo */
.facts-bar{
  width: 100%;
  background: var(--accent-color);
  color: #fff;
}

/* Item-Layout */
.facts-item{
  padding: 0.75rem 0.75rem;
  border-radius: 0.75rem;
}

/* Trennung ab md */
@media (min-width: 768px){
  .facts-item{
    padding-left: 1.25rem;
  }
  .facts-bar .col-md:first-child .facts-item{
    border-left: 0;
    padding-left: 0.75rem;
  }
}

.facts-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  flex: 0 0 auto;
  font-size: 1.25rem;
}

.count-number{
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/*Hier */
.hlred h2 {color: var(--accent-color); font-weight: 900;}
.stage{
  min-height: 70vh;
}

/* Rechte Spalte: Hintergrundbild, rechtsbündig kommt über row justify-content-end */
.right-pane{
  min-height: 70vh;
  background-image: url("../../../images/frontpage/team.jpg");
  background-size: cover;
  background-position: center;
  
  position: relative;
  overflow: hidden;
}

.right-pane__inner{
  min-height: 70vh;
}

/* Linke Spalte: absolut positioniert relativ zur .stage */
.left-pane{
  position: absolute;

  /* Wichtig: Wir docken an die linke Kante der rechten Spalte an:
     rechte Spalte = col-md-6 => startet bei 50% Breite (auf md+)
     daher left: 50% */
  left: 15%;

  top: 25%;
  transform: translateY(-50%) translateX(-25%);
  /* translateX(-25%) => schiebt die linke Box 25% ihrer eigenen Breite nach links,
     sodass sie den rechten Bereich überlappt (Overlap in Richtung rechts bleibt bestehen). */

  z-index: 10;
}

/* Glas/Blur + 10% schwarzer Hintergrund */
.left-pane__content{
  padding: 2rem;
  

  background: rgba(0, 0, 0, 0.80);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

/* Responsive: auf kleinen Screens kein Overlap, normaler Flow */
@media (max-width: 767.98px){
  .stage{
    min-height: auto;
  }

  .left-pane{
    position: static;
    left: auto;
    top: auto;
    transform: none;
    margin-top: 1rem;
  }

  .right-pane,
  .right-pane__inner{
    min-height: 45vh;
  }
}

/* Hover Cards */

/* Card Container */
.hover-card{
  position: relative;
  display: block;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  height: 320px;
}

/* Image */
.hover-card__img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

  transform: scale(1);
  filter: blur(0px);
  transition: transform 320ms ease, filter 320ms ease;
}

/* Dark overlay */
.hover-card__overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background 320ms ease;
  pointer-events: none;
}

/* Text content: absolut mittig (h + v) */
.hover-card__content{
  position: absolute;
  inset: 0;                         /* füllt die Card */
  display: flex;
  flex-direction: column;
  align-items: center;               /* horizontal zentriert */
  justify-content: center;           /* vertikal zentriert */
  text-align: center;

  padding: 1.25rem;

  opacity: 0;
  transform: translateY(10px);
  transition: opacity 280ms ease, transform 280ms ease;

  color: #fff;
}

/* Hover state */
.hover-card:hover .hover-card__img{
  transform: scale(1.06);
  filter: blur(2px);
}

.hover-card:hover .hover-card__overlay{
  background: rgba(0,0,0,0.45);
}

.hover-card:hover .hover-card__content{
  opacity: 1;
  transform: translateY(0);
}

/* Optional: Fokus über Tastatur */
.hover-card:focus-visible{
  outline: 3px solid rgba(13,110,253,0.7);
  outline-offset: 3px;
}
.hover-card__divider{
  width: 25%;
  height: 1px;
  background: var(--accent-color);
  margin: .5rem 0 .75rem 0; /* Abstand oben/unten anpassen */
}

#welcome i {font-size: 3rem; color: var(--accent-color);}

/* Matterport */

 .mp-section { max-width: 1100px; margin: 0 auto; padding: 0px 16px; }
    .mp-title { font: 600 20px/1.2 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; margin: 0 0 12px; }
    .mp-note  { font: 400 14px/1.4 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; color: #444; margin: 0 0 14px; }

    .mp-wrap { position: relative; width: 100%; padding-bottom: 56.25%;  overflow: hidden; background: #111; }

    .mp-placeholder { position: absolute; inset: 0; }
    .mp-placeholder img {
      width: 100%; height: 100%;
      object-fit: cover;
      display: block;
      transform: scale(1.01);
    }
    .mp-overlay {
      position: absolute; inset: 0;
      display: grid; place-items: center;
      background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.55));
      color: #fff; text-align: center; padding: 18px;
    }
    .mp-btn {
      appearance: none; border: 0; border-radius: 999px;
      padding: 12px 18px; cursor: pointer;
      font: 600 14px/1 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
      background: #fff; color: #111;
      box-shadow: 0 8px 24px rgba(0,0,0,.35);
    }
    .mp-btn:focus { outline: 3px solid rgba(255,255,255,.65); outline-offset: 3px; }
    .mp-small { margin-top: 10px; font-size: 12px; opacity: .9; }

    .mp-iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

    .mp-footer { margin-top: 10px; font: 400 13px/1.4 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }
    .mp-footer a { color: inherit; text-decoration: underline; }



.tcm-underline-wrap{
  display: inline-block;  /* Breite = Textbreite */
}

.tcm-underline-line{
  height: 2px;
  width: 100%;
  margin-top: 10px;

  background: var(--tcm-underline-color, currentColor); /* nur Linie */
}


/* Swiper Layout */
.image-teaser-swiper{
  width: 100%;
}

.image-teaser-swiper .swiper-slide{
  height: auto;
}

/* spacing zwischen den 3 sichtbaren Cards (Swiper übernimmt "spaceBetween") */
.image-teaser-swiper{
  padding-bottom: 34px; /* Platz für Bullets */
}

/* Bullets */
.image-teaser-pagination{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  text-align: center;
}

.image-teaser-pagination .swiper-pagination-bullet{
  width: 10px;
  height: 10px;
  opacity: 0.35;
  background: #111;
  margin: 0 6px !important;
}

.image-teaser-pagination .swiper-pagination-bullet-active{
  opacity: 1;
  background: var(--accent-color);
}

/* Hover Card (dein Stil, ohne border-radius) */
.hover-card{
  position: relative;
  display: block;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  height: 320px;
}

.hover-card__img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  filter: blur(0px);
  transition: transform 320ms ease, filter 320ms ease;
}

.hover-card__overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background 320ms ease;
  pointer-events: none;
}

.hover-card__content{
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;

  padding: 1.25rem;

  opacity: 0;
  transform: translateY(10px);
  transition: opacity 280ms ease, transform 280ms ease;

  color: #fff;
}

.hover-card__divider{
  width: 25%;
  height: 1px;
  background: var(--accent-color);
  margin: .5rem 0 .75rem 0;
}

.hover-card:hover .hover-card__img{
  transform: scale(1.06);
  filter: blur(2px);
}

.hover-card:hover .hover-card__overlay{
  background: rgba(0,0,0,0.45);
}

.hover-card:hover .hover-card__content{
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================
   Young Roofers Cup Promo
   ========================================== */

.yrc-promo{
  position: relative;
  padding: 5rem 0;
  background: var(--background-color);
  overflow: hidden;
}



.yrc-promo .container{
  position: relative;
  z-index: 1;
}

.yrc-promo__inner{
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
 /*  border: 2px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.22);
 box-shadow: 0 20px 60px rgba(0,0,0,0.28);
  backdrop-filter: blur(6px);*/
}

.yrc-promo__copy{
  color: #fff;
}

.yrc-promo__eyebrow{
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.45rem 0.85rem;
  background: var(--accent-color);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.yrc-promo__logo{
  display: block;
  max-width: min(100%, 340px);
  height: auto;
  margin-bottom: 1.5rem;
  
  padding: 0.75rem 1rem;
 
}

.yrc-promo__title{
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  color: #fff;
  text-transform: uppercase;
}

.yrc-promo__text{
  max-width: 60ch;
  margin-bottom: 1rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.95);
}

.yrc-promo__cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.5rem;
  padding: 0.95rem 1.35rem;
  background: var(--accent-color);
  color: #fff;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 12px 24px rgba(0,0,0,0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.yrc-promo__cta:hover{
  color: #111;
  background: #fff36a;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.24);
}

.yrc-promo__media{
  position: relative;
}

.yrc-promo__video{
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 4px solid rgba(255,255,255,0.14);
  box-shadow: 0 18px 40px rgba(0,0,0,0.28);
  background: #000;
}

@media (max-width: 991.98px){
  .yrc-promo{
    padding: 4rem 0;
  }

  .yrc-promo__inner{
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }

  .yrc-promo__title{
    font-size: clamp(1.8rem, 8vw, 2.8rem);
  }

  .yrc-promo__logo{
    max-width: 280px;
  }
}

@media (max-width: 575.98px){
  .yrc-promo{
    padding: 3rem 0;
  }

  .yrc-promo__inner{
    gap: 1.25rem;
    padding: 1rem;
  }

  .yrc-promo__text{
    font-size: 1rem;
    line-height: 1.6;
  }

  .yrc-promo__cta{
    width: 100%;
  }
}


/* ==========================================
   TCM Neubau Landingpage
   additiv, ohne bestehende Dateien zu ändern
   ========================================== */

.page-neubau {
  background: var(--background-color);
}

.neubau-page-top-space {
  height: clamp(10px, 4vw, 12px);
}

.section-pad {
  padding: clamp(2rem, 4vw, 4rem) 0;
}

.section-shell {
  position: relative;
}

.section-shell--contrast {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.00)),
    rgba(255,255,255,0.02);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.section-kicker {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--body-font-color);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tcm-underline-line {
  width: 82px;
  height: 4px;
  margin: 1rem 0 1.35rem;
  border-radius: 999px;
  background: var(--tcm-underline-color, var(--accent-color));
}

.btn-accent {
  background: var(--accent-color);
  border-color: var(--accent-color);
}

.btn-accent:hover,
.btn-accent:focus {
  background: var(--accent-color);
  border-color: var(--accent-color);
}

.neubau-hero {
  overflow: clip;
}

.neubau-hero__title {
  font-size: clamp(1.35rem, 2.5vw, 2.75rem);
  line-height: 0.95;
  margin-bottom: 0;
  color: #fff;
  text-transform: uppercase;
}

.neubau-hero__lead,
.neubau-hero__text,
.section-head p,
.content-panel p,
.service-card p,
.timeline-card p,
.cta-panel p,
.quote-card p,
.highlight-tile p {
  color: rgba(255,255,255,0.82);
}

.neubau-hero__lead {
  font-size: 1.1rem;
  line-height: 1.8;
}

.neubau-hero__text {
  font-size: 1rem;
  line-height: 1.8;
}

.neubau-hero__actions {
  margin-top: 2rem;
}

.neubau-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.neubau-hero__facts li {
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
}

.neubau-hero__visual {
  position: relative;
}

.neubau-hero__image-wrap {
  position: relative;
  padding: 1.25rem 0 2rem 2rem;
}

.neubau-hero__image {
  width: 100%;
  min-height: 560px;
  object-fit: cover;
  border-radius: 28px;
/*  box-shadow: 0 30px 70px rgba(0,0,0,0.28); */
}

.neubau-floating-card {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(360px, 90%);
  padding: 1.25rem 1.25rem 1.35rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03)),
    rgba(26,26,26,0.92);
  box-shadow: 0 20px 50px rgba(0,0,0,0.24);
  backdrop-filter: blur(12px);
}

.neubau-floating-card h2 {
  margin: 0.85rem 0 0.65rem;
  color: #fff;
  font-size: 1.2rem;
}

.neubau-floating-card p {
  margin: 0;
  color: rgba(255,255,255,0.78);
  line-height: 1.6;
}

.neubau-badge {
  display: inline-flex;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(200,65,21,0.15);
  color: var(--accent-color);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.highlight-tile,
.content-panel,
.service-card,
.timeline-card,
.cta-panel,
.quote-card {
  height: 100%;
  padding: 1.5rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)),
    rgba(255,255,255,0.02);
   
	background-color: rgba(0, 0, 0, 0.3);
	
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
  backdrop-filter: blur(8px);
}

.highlight-tile__eyebrow {
  display: inline-block;
  margin-bottom: 0.85rem;
  color: var(--accent-color);
  font-size: 1 rem;
  font-weight: 800;
 
  letter-spacing: 0.10em;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}




.highlight-tile h2,
.content-panel h2,
.section-head h2,
.service-card h3,
.timeline-card h3,
.cta-panel h2 {
  color: #fff;
}

.section-head {
  max-width: 860px;
  margin: 0 auto 2.5rem;
}

.info-cluster {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.75rem;
}

.info-cluster__item {
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--accent-color);
  background: rgba(255,255,255,0.03);
  border-radius: 0 16px 16px 0;
}

.info-cluster__item strong {
  display: block;
  color: #fff;
  margin-bottom: 0.2rem;
}

.info-cluster__item span {
  color: rgba(255,255,255,0.76);
}

.media-stack {
  position: relative;
  min-height: 560px;
}

.media-stack__image {
  overflow: hidden;
  border-radius: 26px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.2);
}

.media-stack__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-stack__image--lg {
  width: 82%;
  height: 500px;
}

.media-stack__image--sm {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46%;
  height: 250px;
  border: 6px solid rgba(73,81,81,0.9);
}

.service-card {
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(200,65,21,0.28);
  box-shadow: 0 28px 50px rgba(0,0,0,0.18);
}

.service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: rgba(200,65,21,0.16);
  color: var(--accent-color);
  font-weight: 800;
}
.service-card__icon2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 1rem;

  color: var(--accent-color);
  font-weight: 800;
}
.showcase-collage {
  position: relative;
  min-height: 600px;
}

.showcase-collage__img {
  position: absolute;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.24);
}

.showcase-collage__img--a {
  top: 0;
  left: 0;
  width: 62%;
  height: 360px;
}

.showcase-collage__img--b {
  top: 80px;
  right: 0;
  width: 42%;
  height: 220px;
}

.showcase-collage__img--c {
  bottom: 0;
  left: 18%;
  width: 58%;
  height: 260px;
}

.quote-card {
  margin-top: 1.5rem;
  border-left: 3px solid var(--accent-color);
}

.quote-card p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.75;
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.timeline-card {
  position: relative;
  min-height: 100%;
}

.timeline-card__step {
  display: inline-flex;
  margin-bottom: 0.8rem;
  color: var(--accent-color);
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
}

.neubau-accordion .accordion-item {
  margin-bottom: 1rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255,255,255,0.03);
}

.neubau-accordion .accordion-button {
  background: rgba(255,255,255,0.02);
  color: #fff;
  box-shadow: none;
  font-weight: 700;
}

.neubau-accordion .accordion-button:not(.collapsed) {
  background: rgba(255,255,255,0.06);
  color: #fff;
}

.neubau-accordion .accordion-body {
  color: rgba(255,255,255,0.82);
  line-height: 1.75;
}

.cta-panel__actions .btn {
  min-height: 54px;
}

/* reveal */
.reveal-up,
.reveal-left,
.reveal-right,
.reveal-scale {
  opacity: 0;
  will-change: transform, opacity;
  transition:
    transform 0.8s cubic-bezier(.22,1,.36,1),
    opacity 0.8s cubic-bezier(.22,1,.36,1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-up {
  transform: translate3d(0, 42px, 0);
}

.reveal-left {
  transform: translate3d(-42px, 0, 0);
}

.reveal-right {
  transform: translate3d(42px, 0, 0);
}

.reveal-scale {
  transform: scale(0.92);
}

.is-revealed.reveal-up,
.is-revealed.reveal-left,
.is-revealed.reveal-right,
.is-revealed.reveal-scale {
  opacity: 1;
  transform: none;
}

.tilt-soft {
  transform-style: preserve-3d;
  transition: transform 0.35s ease;
}

@media (max-width: 991.98px) {
  .neubau-page-top-space {
    height: 88px;
  }

  .neubau-hero__image-wrap {
    padding: 0;
  }

  .neubau-hero__image {
    min-height: 420px;
  }

  .neubau-floating-card {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    margin-top: 1rem;
  }

  .media-stack {
    min-height: auto;
  }

  .media-stack__image--lg,
  .media-stack__image--sm {
    position: relative;
    width: 100%;
    height: auto;
  }

  .media-stack__image--sm {
    right: auto;
    bottom: auto;
    margin-top: 1rem;
    border-width: 0;
  }

  .showcase-collage {
    min-height: auto;
    display: grid;
    gap: 1rem;
  }

  .showcase-collage__img {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
  }

  .timeline-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .section-pad {
    padding: 3.5rem 0;
  }

  .highlight-tile,
  .content-panel,
  .service-card,
  .timeline-card,
  .cta-panel,
  .quote-card {
    padding: 1.2rem;
    border-radius: 20px;
  }

  .neubau-hero__title {
    font-size: 2.1rem;
  }

  .neubau-hero__facts {
    flex-direction: column;
  }
}
.referenz-badge {
  display: inline-flex;
}

.referenz-floating-card h2 {
  margin-top: 1rem;
}



.team-person-card {
    background-color: rgba(0, 0, 0, 0.3);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease;
  will-change: transform;
}

.team-person-card:hover {
  transform: translateY(-8px);
  border-color: rgba(200, 65, 21, 0.28);
  box-shadow: 0 28px 50px rgba(0, 0, 0, 0.18);
}

.team-person__image-wrap {
  margin-bottom: 1rem;
  overflow: hidden;
  border-radius: 1.25rem;
}

.team-person__image-wrap img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.team-person-card:hover .team-person__image-wrap img {
  transform: scale(1.04);
  filter: brightness(1.04);
}

.team-person-card h2,
.team-person-card p,
.team-person-card .highlight-tile__eyebrow {
  transition: transform 0.35s ease, color 0.35s ease;
}

.team-person-card:hover h2,
.team-person-card:hover p,
.team-person-card:hover .highlight-tile__eyebrow {
  transform: translateY(-2px);
}

.team-person-card:hover .highlight-tile__eyebrow {
  color: var(--accent-color);
}

.team-person__image-wrap {
  position: relative;
  margin-bottom: 1rem;
  overflow: hidden;
  border-radius: 1.25rem;
}

.team-person__image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: opacity 0.45s ease, transform 0.45s ease, filter 0.45s ease;
}

.team-person__image--default {
  position: relative;
  z-index: 1;
  opacity: 1;
}

.team-person__image--hover {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
}

.team-person-card:hover .team-person__image--default {
  opacity: 0;
  transform: scale(1.04);
}

.team-person-card:hover .team-person__image--hover {
  opacity: 1;
  transform: scale(1.04);
  filter: brightness(1.04);
}

.team-person__contact {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 1rem;
}

.team-person__contact a {
  color: rgba(255,255,255,0.82);
  word-break: break-word;
}

.team-person__contact a:hover {
  color: var(--accent-color);
}


/* =================================================================*/
.team-hero--full {
  position: relative;
  min-height: min(82vh, 860px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.team-hero__bg,
.team-hero__overlay {
  position: absolute;
  inset: 0;
}

.team-hero__bg {
  z-index: 0;
}

.team-hero__bg-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-hero__overlay {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.48) 0%, rgba(0,0,0,0.58) 55%, rgba(0,0,0,0.68) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.28) 0%, rgba(0,0,0,0.12) 100%);
}

.team-hero--full .container {
  position: relative;
  z-index: 2;
}

.team-hero__content {
  padding: clamp(5rem, 10vw, 8rem) 0;
}

.team-hero__content h1 {
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 0.95;
  text-transform: uppercase;
  margin-bottom: 0;
}

.team-hero__lead,
.team-hero__text {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255,255,255,0.88);
  line-height: 1.85;
}

.team-hero__lead {
  font-size: 1.08rem;
}

.team-hero__text {
  font-size: 1rem;
}

@media (max-width: 991.98px) {
  .team-hero--full {
    min-height: 72vh;
  }

  .team-hero__content {
    padding: 5rem 0 4.5rem;
  }

  .team-hero__content h1 {
    font-size: clamp(2rem, 8vw, 3.4rem);
  }
}

@media (max-width: 575.98px) {
  .team-hero--full {
    min-height: 66vh;
  }

  .team-hero__lead,
  .team-hero__text {
    line-height: 1.7;
  }
}

.btn-accent,
.btn-outline-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /*min-height: 54px;*/
  line-height: 1.2;
  padding: 0.85rem 1.35rem;
}


/* ==========================================
   Teampersonen kompakter + schneller Bild-Flip
   ========================================== */

.team-personen .row {
  justify-content: center;
}

.team-personen .col-md-6 {
  max-width: 50%;
  flex: 0 0 50%;
}

.team-person-card {
  max-width: 420px;
  margin: 0 auto;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease;
  will-change: transform;
  perspective: 1200px;
}

.team-person-card:hover {
  transform: translateY(-6px);
  border-color: rgba(200, 65, 21, 0.28);
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.16);
}

.team-person__image-wrap {
  position: relative;
  margin-bottom: 1rem;
  overflow: hidden;
  border-radius: 1.25rem;
  width: 100%;
  max-width: 260px;
  margin-left: auto;
  margin-right: auto;
  perspective: 1200px;
}

.team-person__image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-style: preserve-3d;
  transition:
    transform 0.45s cubic-bezier(.22,1,.36,1),
    opacity 0.28s ease,
    filter 0.3s ease;
}

.team-person__image--default {
  position: relative;
  z-index: 1;
  opacity: 1;
  transform: rotateY(0deg);
}

.team-person__image--hover {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 1;
  transform: rotateY(90deg);
}

.team-person-card:hover .team-person__image--default {
  transform: rotateY(-90deg);
}

.team-person-card:hover .team-person__image--hover {
  transform: rotateY(0deg);
}

.team-person-card h2 {
  font-size: 1.35rem;
}

.team-person-card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.team-person__contact {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 1rem;
}

.team-person__contact a {
  color: rgba(255,255,255,0.82);
  word-break: break-word;
  font-size: 0.95rem;
}

.team-person__contact a:hover {
  color: var(--accent-color);
}

@media (max-width: 991.98px) {
  .team-personen .col-md-6 {
    max-width: 100%;
    flex: 0 0 100%;
  }

  .team-person-card {
    max-width: 100%;
  }

  .team-person__image-wrap {
    max-width: 220px;
  }
}


.referenz-highlights .highlight-tile h2 {
  font-size: 1.6rem;
  line-height: 1.25;
}


.standorte-map-section {
  padding: 4rem 0;
}

.standorte-map {
  width: 100%;
  height: 520px;
  min-height: 360px;
  background: #f2f2f2;
}

.leaflet-popup-content {
  font-size: 0.95rem;
  line-height: 1.45;
}

.leaflet-popup-content strong {
  display: block;
  margin-bottom: 0.25rem;
}

.leaflet-popup-content a {
  display: inline-block;
  margin-top: 0.5rem;
  text-decoration: underline;
}

@media (max-width: 767.98px) {
  .standorte-map {
    height: 420px;
  }
}

#karriere-jobs .mfp_thumb_pos_top,
.jobs .mfp_thumb_pos_top,
.mfp_thumb_pos_top {
  display: block;
  width: 100%;
  aspect-ratio: 600 / 164;
  overflow: hidden;
}

#karriere-jobs .mfp_thumb_pos_top img,
.jobs .mfp_thumb_pos_top img,
.mfp_thumb_pos_top img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mfp_default_item .mfp_thumb_pos_top {
  display: block;
  width: 100%;
  aspect-ratio: 600 / 164;
  overflow: hidden;
  background: none !important;
  min-height: 0;
}

.mfp_default_item .mfp_thumb_pos_top img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  background: none !important;
}

.mfp_default_item .mfp_overlay_bg,
.mfp_default_item .mfp_overlay,
.mfp_default_item .mfp_default_item_inner[style*="background"],
.mfp_default_item .mfp_thumb_pos_top[style*="background"] {
  background-image: none !important;
}

.mfp_default_item .mfp_default_item_inner {
  background-image: none !important;
}

.mfp_default_item .mfp_thumb_pos_top,
.mfp_default_item .mfp_thumb_pos_top img {
  max-width: 100%;
  max-height: none;
}

.mfp_thumb_pos_top img {
  display: block;
  width: 100%;
  height: 144px !important;
  object-fit: cover;
  object-position: center;
}

.job-detail__hero .neubau-hero__image-wrap {
  width: 100% !important;
  aspect-ratio: 1200 / 640 !important;
  overflow: hidden !important;
}

.job-detail__hero .neubau-hero__image-wrap img.neubau-hero__image {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
}

.job-detail__hero .neubau-hero__image {
  display: block;
  width: 100%;
  min-height: 0;
  height: auto;
  aspect-ratio: 1200 / 327;
  object-fit: cover;
}

.job-detail .job-detail__hero .neubau-hero__image-wrap {
  padding: 0 !important;
}

.mfp_mid_116.mfp-referenz-module .mfp_default_title {
	
	font-size: 1.1rem !important;
	
}

.job-benefits ul {
  column-gap: 2rem;
}
.spacer_t { margin-top: 3rem;}

.job-cta .cta-panel__actions .btn {
  width: 25%;
  justify-content: center;
}

.moduletable.tcm-referenz .mfp_default_item .mfp_thumb_pos_top {
  display: block;
  width: 346px;
  height: 346px;
  overflow: hidden;
}

.moduletable.tcm-referenz .mfp_default_item .mfp_thumb_pos_top img {
  display: block !important;
  width: 346px !important;
  height: 346px !important;
  object-fit: cover !important;
}