@charset "UTF-8";
/* CSS Document */

/*
=========================
MOBILE NAVBAR > 1024 px
=========================
*/

/* NAVBAR (Desktop) */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 80px;
  display: none;
  z-index: 1000;
  align-items: center;
  font-weight: 500;
  font-size: 1.2rem;
  letter-spacing: 1.1px;
}

.default-navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: transparent;
  color: white;
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  padding-left: var(--nav-side-spacing);
  padding-right: var(--nav-side-spacing);
  width: 100%;
  height: 80px;
}

.brand {
  white-space: nowrap;
  margin-right: auto;
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 1.2px;
}

.nav-links {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: var(--nav-gap);
  margin-left: auto;
}

.nav-links li.dropdown {
  position: relative;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--hover-color)
}

.dark-navbar {
  background: var(--white);
  color: var(--black);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  transform: translateY(-100%);
  opacity: 0;
  transition: all 0.4s ease;
}

.dark-navbar.visible {
  transform: translateY(0);
  opacity: 1;
}

.dark-navbar a {
  color: var(--black);
}

.default-navbar a {
  color: var(--white);
}

/* Dropdown */
.nav-links li.dropdown:hover .dropdown-menu,
.nav-links li.dropdown:focus-within .dropdown-menu {
  display: block;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left:-90px;
  text-align: left;
  margin-top: 0;
  background: rgba(0, 0, 0, 0.6);
  padding: 1.5rem 1rem;
  min-width: 300px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  transition: opacity 0.3s ease;
  z-index: 9999;
}

.dropdown-menu li a {
  display: block;
  padding: 0.5rem 0;
  color: white;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.dropdown-menu li a:not(.current):hover {
  color: var(--hover-color);

}

/*
=========================
SECTION page-top
=========================
*/

.page-top {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  z-index: 0; /* unter Navbar */
}

.page-top video {
  position: fixed;   /* statt absolute! */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;       /* tiefster Layer */
}


.gradient-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  /* Dunkel in der Mitte, transparent oben und unten */
  background: linear-gradient(
    to top,
    transparent 0%,
    rgba(0, 0, 0, 0.8) 0,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 5s ease, background 5s ease;
  pointer-events: none;
}


.video-title-block {
  position: fixed;              
  left: 50%;
  transform: translate(-50%, 0);
  text-align: center;
  width: 100%;
  color: white;
  pointer-events: none;
  padding:0 10vw;
  text-shadow: 0px 0px 2px rgba(0, 0, 0, 0.8) !important;
  z-index: 1;                   /* unter Navbar, über Video */

}

.video-title {
  font-weight: 400;
  opacity: 0;
  transition: opacity 1s ease;
}

/*
=========================
SECTION blue-section
=========================
*/

.blue-section {
  position: relative;
  background-color: var(--blue);
  text-align: center;
  padding: 5rem 10vw 6rem;
  overflow: hidden;
  z-index: 2; /* bleibt bestehen – Sektion liegt über darunterliegenden Elementen */
}


.blue-section h2 {
  position: relative;
  z-index: 3; /* über dem Karussell */
  color: var(--white);
  display: block;
}
.blue-section h3 {
  color: var(--white);
  display: block;
}

.blue-section h4 {
  color: var(--black);
  display: block;
}

/* =========================
   LOGO-CAROUSEL
   ========================= */
.logo-carousel {
  position: absolute;
  bottom: 10%;
  left: 0;
  right:0;
  height: 125px;
  width: 100%;
  overflow: hidden;
  z-index: 0;
}

.logo-track {
  display: flex;
  width: max-content;
  animation: scroll-logos 35s linear infinite;
}

.logo-track img {
  height: 125px;
  width: auto;
  margin: 0 2rem;
  opacity: 1;
  flex-shrink: 0;  
  transition: opacity 0.3s ease;
}

.logo-track img:hover {
  opacity: 1;
}


/* Animation */
@keyframes scroll-logos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


/* Responsive Anpassungen */
@media (max-width: 768px) {
  .logo-track {
    animation-duration: 90s; /* langsamer scrollen */
  }
  .logo-track img {
    height: 60px;
    margin: 0 1rem;
  }
}

@media (max-width: 480px) {
  .logo-track {
    animation-duration: 120s; /* noch langsamer */
  }
  .logo-track img {
    height: 45px;
    margin: 0 0.5rem;
  }
}




/*
=========================
SECTION BAB-Video
=========================
*/

.bab-video-section {
  display: flex;
  justify-content: center;
  padding: 6rem 5vw 0 2rem;
}

.video-content {
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
}

.video-content h2 {
    color: black;
    margin-bottom: .5rem;
}

.top {
    padding-top: 7.5rem;
}

.video-content p {
  font-weight: 500;
  font-size: clamp(1rem, 3vw, 1.6rem)!important;
  letter-spacing:clamp(.05rem, 0.05vw, .07rem);
  color: black;
  margin-bottom: 3rem;
  text-transform:uppercase;
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.video-thumbnail {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  box-shadow: 0 5px 18px rgba(0,0,0,0.3);
  cursor: pointer;
}

/* Bild + Overlay */
.video-thumbnail img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.6s ease;
}

.video-thumbnail .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.1);
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* Play-Button (Größe & Layering wie #scrollTopBtn) */
.video-thumbnail .play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 48px;                 
  height: 48px;                 
  transform: translate(-50%, -50%);
  border-radius: 100px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0;                   /* erscheint beim Hover über die Kachel */
  transition: opacity 0.3s ease;
  z-index: 2;                   /* über dem Thumbnail-Image */
}

/* Blaues Hintergrund-Fluten (gleiches Timing wie #scrollTopBtn:after) */
.video-thumbnail .play-button::after,
.video-thumbnail .play-button::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 100px;
}

.video-thumbnail .play-button::after {
  background-color: #2250fc;                 /* identische Farbe */
  transform: scale(0);                       /* start: Punkt */
  z-index: 50;
  transition: all 0.3s cubic-bezier(0.55, 0, 0.1, 1); /* identische Kurve */
}

/* Optionaler oberer Layer analog #scrollTopBtn:before – hier inaktiv gelassen */
.video-thumbnail .play-button::before {
  background-color: rgba(255,255,255,0.25);
  transform: scale(1);
  opacity: 0;                                
  z-index: 40;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* SVG-Icon (weißes Dreieck) – skaliert NACH dem Hintergrund */
.video-thumbnail .play-button svg {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 200;                 /* über dem blauen Flood */
  transform: scale(1);
  transition: transform 0.25s ease;
}

/* neutralisiert, Falls  SVG einen kreis hat */
.video-thumbnail .play-button svg circle {
  fill: none !important;
}

/* Hover-Interaktionen der Kachel */
.video-thumbnail:hover img {
  transform: scale(1.15);
}

.video-thumbnail:hover .overlay {
  opacity: 0;
}

/* Button sichtbar machen, Flood starten, dann Icon leicht zoomen */
.video-thumbnail:hover .play-button {
  opacity: 1;
}

.video-thumbnail:hover .play-button::after {
  transform: scale(1);                        /* 1) Hintergrund flutet */
}

/* 2) Danach Icon zoomen – mit Delay für gestaffelten Effekt */
.video-thumbnail:hover .play-button svg {
  transform: scale(1.12);
  transition-delay: 0.12s;                    /* hinter dem Flood */
}

/* Kein Container-Scale und kein Press-Down-Effekt */
.video-thumbnail .play-button,
.video-thumbnail .play-button:active {
  /* bewusst leer gelassen, um Press-Down zu vermeiden */
}

/* Tastaturfokus für Barrierefreiheit */
.video-thumbnail .play-button:focus-visible {
  outline: 2px solid #0f3d81;
  outline-offset: 2px;
}

/* Mobile: max. Seitenabstand 10vw */
@media (max-width: 1023px) {
  .video-wrapper {
    max-width: calc(100% - 5vw); /* links & rechts je 10vw */
  }
}

/*
=========================
SECTION Services
=========================
*/

.service-section {
  background: var(--white);
  text-align: center;
  padding: 3rem 0 0;
  text-shadow: 0px 0px 2px rgba(0, 0, 0, 0.7);
}

/* Grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: 100%;
  gap: 0; /* keine Zwischenräume */
}

/* 1 Spalte auf kleineren Geräten */
@media (max-width: 767px) {
  .service-grid { grid-template-columns: 1fr; }
}

/* Spaltenverteilung für große Screens */
@media (min-width: 768px) {
  .service-item:nth-child(odd) { grid-column: 1; }
  .service-item:nth-child(even){ grid-column: 2; }
}

/* Kachel-Grundstruktur */
.service-item {
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: block;
}

/* Seitenverhältnis 3:2 */
.service-item::before {
  content: "";
  display: block;
  padding-top: 66.666%;
}

/* Hintergrundbild */
.service-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: transform 0.45s ease;
  z-index: 0;
}

/* Hover-/Focus-Zoom im Bild */
.service-item:hover::after,
.service-item:focus::after {
  transform: scale(1.10);
}

/* Overlay-Ebene mit Text */
.service-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  transition: background 0.45s ease;
  z-index: 1;
}

/* Titel (h2) Animation */
.service-overlay h2 {
  color: var(--white);
  margin-bottom: 0;
  transform-origin: center center;
  transition: transform 0.45s ease-in-out, opacity 0.45s ease-in-out;
  line-height: 1.4 !important;
}

/* Info-Text (p) Startzustand */
.service-overlay p {
  opacity: 0;
  transform: translateY(6px) scale(.95);
  transform-origin: center center;
  transition:
    opacity 0.45s ease-in-out,
    transform 0.45s ease-in-out;
  letter-spacing: clamp(0.05rem, 0.2vw, 0.1rem);
  line-height: 1.4 !important;
}

/* Aktiv-Zustände: Hover UND Focus (für mobile Geräte) */
.service-item:hover .service-overlay,
.service-item:focus .service-overlay {
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.3) 100%);
}

.service-item:hover .service-overlay h2,
.service-item:focus .service-overlay h2 {
  transform: scale(0.85);
  opacity: 0.4;
}

.service-item:hover .service-overlay p,
.service-item:focus .service-overlay p {
  opacity: 1;
  transform: translateY(0) scale(1.40);
  transition-delay: 0;
}

/* Fokus-Rand unterdrücken (besonders auf iOS) */
.service-item:focus {
  outline: none;
}

/* Optional: sanftes Zurücksetzen nach Verlassen (z. B. bei Tab/Touch Out) */
.service-item:focus:not(:hover) .service-overlay p {
  opacity: 0;
  transform: translateY(6px) scale(.95);
}


/* =========================
   Schriftgrößen-Anpassung der Service-Texte
   ========================= */

/* Standard: Desktop (größer als 1024px) – aktuelle Werte bleiben */
@media (min-width: 1024px) {
  .service-overlay h2 {
    font-size: clamp(1.8rem, 2.2vw, 2.6rem);
  }

  .service-overlay p {
    font-size: clamp(1.1rem, 1.2vw, 1.2rem);
  }

  .service-item:hover .service-overlay p {
    transform: translateY(0) scale(1.4);
  }
}

/* Kleinere Screens (bis 1024px) – p-Text kleiner darstellen */
@media (max-width: 1023px) {
  .service-overlay h2 {
    font-size: clamp(1.5rem, 2vw, 2.1rem); /* darf ruhig ähnlich bleiben */
  }

  .service-overlay p {
    font-size: clamp(0.85rem, 1.8vw, 1rem); /* kleiner als Desktop */
  }

  .service-item:hover .service-overlay p {
    transform: translateY(0) scale(1.25); /* etwas weniger starkes Hochskalieren */
  }
}


/*
===================================
SECTION Text (& Accordion) Desktop!
===================================
*/

.text-section {
  background: var(--white);
  padding: clamp(3rem, 3.5vh, 4rem) var(--nav-side-spacing) clamp(5rem, 4.5vh, 6rem) ;
}

.text-column {
  color: var(--black);
  padding: 0 1vw;
}

.text-column h3 {
  padding: 1.2rem 0 .45rem;
}

.text-column p {
  padding: .3rem 0 .45rem;
  line-height: 1.5;
}

.text-column ul li{
  list-style-position: outside;
  font-size: var(--fs-p);
  font-weight: var(--fw-p);
  letter-spacing: var(--ls-p);
  margin-left: 1.5rem;
  list-style-type: disc;
  text-transform: none !important;
}

/* Akkordeon Desktop */
.text-accordion {
  margin: .75rem 0 1.5rem;  
}

.text-accordion-item {
  margin-bottom: 0;
  border: 1px solid #b61924;
  border-radius: 5px;
  background-color: #b61924;
}

.text-accordion-header {
  width: 100%;
  background: var(--red);
  color: var(--white);
  font-size: var(--fs-p);
  font-weight: var(--fw-h5);
  letter-spacing: var(--ls-h5);
  text-align: left;
  text-transform: uppercase;
  line-height: 1.5rem;
  padding: 1rem 1rem;
  border: 1px solid #b61924;
  border-radius: 3px;
  outline: none;
  cursor: pointer;
  position: relative;
  transition: background 0.3s ease;
}

.text-accordion-icon {
  position: absolute;
  right: 1rem;
  top: 45%;
  font-size: var(--fs-h2);
  font-weight: var(--fw-p);
  transform: translateY(-50%);
  transition: transform 0.25s ease;
}

.text-accordion-header.active .text-accordion-icon {
  transform: translateY(-25%) rotate(180deg);
} 

.text-accordion-content {
  max-height: 0;
  overflow: hidden;
  background: #b61924;
  border: 1px solid #b61924;
  border-radius: 5px;
  color: var(--white);
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 1rem;   /* nur horizontal */
}

/* Beim Öffnen auch vertikales Padding sichtbar machen */
.text-accordion-header.active + .text-accordion-content {
  padding: 0 0 2.5rem;
}

.text-accordion-content ul,
.text-accordion-content ol {
  padding: .5rem 2rem 1.75rem 1rem;
}

.text-accordion-content ul li {
  margin-bottom: 0.5rem;
  list-style-type: disc;
  text-transform: none !important;
}

.text-accordion-content ol li {
  margin-bottom: 0.5rem;
  list-style-type: decimal;
  list-style-position: outside;
  text-transform: none !important;
}

/*
=========================
SECTION Info vor Video
=========================
*/

.info-video-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Hintergrundvideo */
.info-video-section .background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* leicht weißlicher Overlay */
.info-video-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  opacity:0.6;
  z-index: 1;
}

/* Textcontainer */
.info-video-section .text-container {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 2rem;
  width: 100%;
  max-width: 1200px;
  padding: 4rem 2rem;
  text-align: center;
}

.info-video-section .text-container p {
  line-height: 1.5;
  padding-top: .5rem;
}    
    
/* <1024px: 1 Spalte */
@media (max-width: 1023px) {
  .info-video-section .text-container {
    grid-template-columns: 1fr;
    margin: 0 20%;
  }
}

/* >1024px: 4 Spalten nebeneinander */
@media (min-width: 1024px) {
  .info-video-section .text-container {
    grid-template-columns: repeat(4, 1fr);
    margin-top: -15%;
  }
}

.info-video-section .text-block {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s ease-out, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.info-video-section .text-block.active {
  opacity: 1;
  transform: translateY(0);
}


/* fadeInUp Animation */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translate3d(0, 100%, 0); }
  100% { opacity: 1; transform: translateZ(0); }
}

.fade-in.active {
  animation: fadeInUp 0.8s forwards;
}


/* ANIMATION (Desktop) */
[data-animate] {
  opacity: 0 !important;
  transform: translateY(20px);
  transition: all 0.8s ease;
}

[data-animate].visible {
  opacity: 1 !important;
  transform: translateY(0);
}

/*
=========================
SECTION video-call
=========================
*/
.video-call-section {
  background-color: var(--white);
  text-align: center;
  padding: 5rem 10vw 6rem;
}

.video-call-section h3 {
  font-size: clamp(1.5rem, 2vw, 2rem)!important;
  color: var(--black);
  display: block;
  padding-bottom: 2rem;
}

/*
=========================
SECTION footer
=========================
*/

#footer  {
    display: block;
    position: relative;
    background-color: hsla(249,20%,19%,1.00);
    font-size: 14px;
    line-height: 32px;
    font-weight: 400;
    font-family: "Poppins", sans-serif;
    text-align: center !important;
}
#footer .footer-content  {
    background-color: var(--footer);
    padding:50px 0 0 0;

    text-align: center !important;
}
.firmierung{
    font-family: "Poppins", sans-serif;
    color: #fff;
    padding: 10px 0 15px;
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.75;
    letter-spacing:clamp(.15rem, 0.2vw, .3rem);
}
.koordinaten{
    padding: 10px 0 10px;
    color: var(--white);
    background-color: var(--footer);
    font-size: 13px;
    line-height: 1.6;
    letter-spacing: 1px;
}

.koordinaten a{
    color: #fff!important;
 }       
.koordinaten a:hover{
    color: #959495 !important;
}
.copyright-content  {
    padding: 15px 0 100px;
    color: #959495;
    background-color: var(--footer);
    font-size: 12px;
    line-height: 1.6;
    letter-spacing: 1px;   
 }

