/* 
Theme Name: Hello Elementor Child
Theme URI: https://niklaswendlinger.de
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Niklas Wendlinger
Author URI: https://niklaswendlinger.de
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

/* ----------------------------------------------- */
/* Root Breakpoints */
/* ----------------------------------------------- */
:root {
  --bp-mobile: 767px;
  --bp-tablet: 880px;
  --bp-laptop: 1025px;
  --bp-desktop: 1367px;
}


/* ----------------------------------------------- */
/* Basic Einstellungen  */
/* ----------------------------------------------- */
:focus {
  outline: none!important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
}

body {
  overflow-x: hidden;
}

.error404 {
  padding-left: 80px!important;
}

/* Tablet Portrait */
@media (max-width: 1024px) {

  /* Padding Error bis 1024px links) */
  .error404 {
    padding-left: 0px!important;
  }
}

.error404 #site-footer {
  display: none!important;
}


/* ----------------------------------------------- */
/* Select Colors */
/* ----------------------------------------------- */
::-moz-selection {
  background-color: #1699d6;
  color: #002638;
}

::selection {
  background-color: #1699d6;
  color: #002638;
}

/* ----------------------------------------------- */
/* reCaptcha Badge  */
/* ----------------------------------------------- */
.grecaptcha-badge {
  display: none!important;
}

/* ----------------------------------------------- */
/* Sticky Header  */
/* ----------------------------------------------- */
.sticky-header.scrolled {
  background-color: #090909; /* Hintergrund nach Scroll */
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Optional: Schatten */
}

.hero-decor-numb:before {
  content: '';
  position: absolute;
  top: 50%;
  left: -50px;
  width: 20px;
  height: 1px;
  background: #006098;
}

.hero-decor-numb:after {
  content: '';
  position: absolute;
  top: 50%;
  right: -50px;
  width: 20px;
  height: 1px;
  background: #006098;
}

/* ----------------------------------------------- */
/* Navigation & Sidebar */
/* ----------------------------------------------- */

/* ---------------------------- */
/* Burger Menü Icon */
/* ---------------------------- */
.burger-menu {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 30px;
  height: 40px;
  cursor: pointer;
  position: relative;
}

.burger-menu span {
  display: block;
  height: 3px;
  background: #006098;
  border-radius: 10px;
  margin: 4px 0;
  transition:
    transform 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6),
    opacity 0.4s,
    width 0.4s,
    top 0.4s,
    left 0.4s;
  position: relative;
}

.burger-menu span:nth-of-type(1) { width: 50%; }
.burger-menu span:nth-of-type(2) { width: 100%; }
.burger-menu span:nth-of-type(3) { width: 70%; }

/* Aktiv-Zustand per Klasse toggeln */
.burger-menu.active span:nth-of-type(1),
.burger-menu.active span:nth-of-type(3) {
  width: 100%;
  position: absolute;
  top: 18px;
  left: 0;
}

.burger-menu.active span:nth-of-type(1) {
  transform: rotate(45deg);
}

.burger-menu.active span:nth-of-type(2) {
  opacity: 0;
}

.burger-menu.active span:nth-of-type(3) {
  transform: rotate(-45deg);
}

/* ---------------------------- */
/* Margin Popup Menü*/
/* ---------------------------- */
#elementor-popup-modal-6386 {
  margin-left: 80px;
}

/* Tablet Portrait */
@media (max-width: 1024px) {

  /* Popup Menü bis 1024px (unter der Menüleiste) */
  #elementor-popup-modal-6386 {
    top: 0px;
    margin-left: 0px;
    margin-top: 80px;
  }
}

/* ---------------------------- */
/* Overlay Navigation */
/* ---------------------------- */

/* Close Button verstecken */
#elementor-popup-modal-6386 .dialog-close-button {
  display: none!important;
}

/* Sidebar Hintergrund und Z-Index Top */
.sidebar {
  z-index: 999!important;
  background-color: #131313!important;
}

/* Popup unter Sidebar */
#elementor-popup-modal-6386 {
  z-index: 998!important;
}

/* Navigation über volle Hähe */
#elementor-popup-modal-6386 .dialog-message {
  align-items: unset!important;
}

#elementor-popup-modal-6386 .elementor-6386 {
  display: flex!important;
}

#elementor-popup-modal-6386 .elementor-6386 .e-con-inner {
  justify-content: space-between!important;
}


/* Social Icons Sidebar */
.sidebar .social-icons .elementor-icon {
    padding: 10px 10px!important;
    border: 1px solid rgba(255, 255, 255, 0.08)!important;
    transition: border-radius 0.4s cubic-bezier(0.64, 0.04, 0.35, 1);
}

/* Social Icons Kreis Animation */
.sidebar .social-icons .elementor-icon:hover {
  border-radius: 50%;
}



/* ----------------------------------------------- */
/* Hero Section */
/* ----------------------------------------------- */

/* ---------------------------- */
/* Koordinaten */
/* ---------------------------- */
.hero-decor-numb {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    gap: 2rem;
}

.hero-decor-numb span {
    position: relative;
    transition: opacity 200ms linear, transform 200ms linear; /* Glatter Übergang */
    color: rgba(255, 255, 255, 0.51)!important;
    letter-spacing: 10px;
    font-size: 10px;
    text-transform: uppercase;
    opacity: 1; /* Standard: sichtbar */
    top: 0;
}

/* Mobile Landscape */
@media (max-width: 767px) {
  .hero-decor-numb span {
    font-size: 8px;
  }

  .hero-decor-numb {
    gap: 1rem;
  }
}

/* Tablet */
@media (max-width: 880px) {
  .hero-decor-numb span {
    font-size: 8px;
  }

  .hero-decor-numb {
    gap: 1rem;
  }
}

/* Laptop */
@media (max-width: 1025px) {
  .hero-decor-numb span {
    font-size: 8px;
  }

  .hero-decor-numb {
    gap: 1rem;
  }
}

.hero-decor-numb-tooltip {
    position: absolute;
    top: 0; /* Gleiche vertikale Position wie die Spans */
    left: 50%; /* Positioniert den Tooltip horizontal in der Mitte */
    transform: translateX(-50%); /* Verschiebt den Tooltip, um genau in der Mitte zu sein */
    opacity: 0; /* Standard: unsichtbar */
    pointer-events: none; /* Tooltip ist nicht interaktiv, wenn unsichtbar */
    transition: opacity 200ms linear, transform 200ms linear; /* Glatter Übergang */
    color: rgba(255, 255, 255, 0.51)!important; /* Tooltip-Text */
    font-size: 10px; /* Gleiche Schriftgröße wie die Spans */
    letter-spacing: 10px;
    text-transform: uppercase;
    visibility: hidden; /* Standard: nicht sichtbar */
    width: 100%;
    text-align: center;
}

/* Hover-Effekt ohne nach unten verschieben */
.hero-decor-numb:hover span {
    opacity: 0; /* Blendet die Spans aus */
}

.hero-decor-numb:hover .hero-decor-numb-tooltip {
    opacity: 1; /* Tooltip wird sichtbar */
    visibility: visible; /* Tooltip sichtbar */
    pointer-events: auto; /* Tooltip wird interaktiv */
}


/* ---------------------------- */
/* Swirl Headline Sätze  */
/* ---------------------------- */
.animated-headline .elementor-headline-dynamic-wrapper {
  width: 100%!important;
}

.swirl-text-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px; /* Feste Höhe, damit die Box nicht springt */
  width: 100%;
  position: relative;
  font-weight: bold;
  font-family: monospace;
  white-space: nowrap;
  color: #ffffff;
  font-family: "Poppins", Sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 5rem;
}

/* Laptop */
@media (max-width: 1025px) {
  .swirl-text-wrapper {
    font-size: 4rem;
  }
}

/* Tablet */
@media (max-width: 880px) {
  .swirl-text-wrapper {
    font-size: 3rem;
  }
}

/* Mobile Landscape */
@media (max-width: 767px) {
  .swirl-text-wrapper {
    font-size: 1.6rem;
  }
}

.swirl-text span {
  display: inline-block;
  transform-origin: center;
  opacity: 1;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

/* Buchstaben verschwinden mit Rotation */
.swirl-text span.hidden {
  transform: rotateX(90deg);
  opacity: 0;
}

/* Neue Buchstaben erscheinen mit einem Swirl-Effekt */
.swirl-text span.new {
  transform: rotateX(-90deg);
  opacity: 0;
}

/* ----------------------------------------------- */
/* Page Loader */
/* ----------------------------------------------- */

#global-preloader {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: #101010;
  z-index: 99999;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.preloader-logo img {
  width: 100%;
  height: auto;
  margin-bottom: 30px;
}

.loader-bar {
  width: 100%; /* Breite Loader */
  height: 4px; /* Höhe Loader */
  /* background: rgba(255, 255, 255, 0.2); */
  background-color: #101010;
  overflow: hidden;
  position: relative;
}

.loader-fill {
  width: 0%;
  height: 100%;
  background-color: #13679d;
  animation: fillBar 2s linear forwards;
}

@keyframes fillBar {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}


/* ----------------------------------------------- */
/* About Section */
/* ----------------------------------------------- */

.social-bar-icon:hover a {
  color: #006098!important;
}

.social-bar-icon:hover .elementor-icon {
  fill: #006098!important;
}

.social-bar .elementor-icon-box-content {
  align-self: baseline!important;
}

#plane-about {
  max-width: 100%;
  height: auto;
  /* Animation standardmäßig aus */
  animation: none;
  will-change: auto;
}

/* ab Laptop Animation */
@media (min-width: 1025px) {
  #plane-about {
    animation: plane-float-updown 3s ease-in-out infinite;
    will-change: transform;
  }
}

/* Mobile Portrait */
@media (max-width: 767px) {
  .text-about br {
    display: none;
  }
}

/* ----------------------------------------------- */
/* Client Grid */
/* ----------------------------------------------- */

/* Background Boxen */
.client-grid a {
  background-color: #131313;
}

/* Alle Logos White */
.client-grid a img {
  filter: brightness(0) invert(1);
}

/* Alle Logos Farbe bei :hover */
.client-grid a:hover img {
  filter: none;
}

/* ----------------------------------------------- */
/* Lightbx Gallery */
/* ----------------------------------------------- */

#elementor-lightbox-slideshow-6e59b3c .dialog-close-button {
      margin-top: 15px!important;
}

/* ----------------------------------------------- */
/* Testing Gallery */
/* ----------------------------------------------- */
.custom-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}


.custom-gallery__item {
  aspect-ratio: 16 / 9;
  width: 100%;
  min-height: 200px;        /* Fallback für Browser/Umgebungen, wo aspect-ratio nicht greift */
  overflow: hidden;
  border-radius: 1rem;
  position: relative;
  cursor: pointer;
  background: transparent;
  display: block;
}

.custom-gallery__img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  border-radius: 1rem;
  transition: transform 0.4s cubic-bezier(.4,0,.2,1);
  will-change: transform;
  display: block;
}

.custom-gallery__item:hover .custom-gallery__img,
.custom-gallery__item:focus .custom-gallery__img {
  transform: scale(1.08);
}

/* Laptop */
@media (max-width: 1365px) {
  .custom-gallery__grid {
    grid-template-columns: repeat(3, 1fr);
  }

}

/* Tablet Portraite */
@media (max-width: 1024px) {
  .custom-gallery__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }

  .custom-gallery__item {
    min-width: 155px;
  }
}

/* Tablet Portraite */
@media (max-width: 879px) {
  .custom-gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

/* Mobile */
@media (max-width: 767px) {
  .custom-gallery__grid {
    grid-template-columns: repeat(1, 1fr);
  }

}

/* Pfeile */
.elementor-swiper-button {
  justify-content: center;
  width: 2%!important;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

.elementor-swiper-button-next {
right: 160px!important;

}

.elementor-swiper-button-prev {
left: 160px!important;
}

/* Hide Titel */
.elementor-slideshow__title {
  display: none!important;
}

/* Close Button Position */
.dialog-lightbox-widget-content .dialog-close-button {
      margin-top: 15px!important;
}




/* ----------------------------------------------- */
/* Formular Design */
/* ----------------------------------------------- */

.frm_form_fields > fieldset {
  padding: 0px!important;
}

/* Submit */
#form_b9ml #frm_field_6_container, #form_b9ml2 #frm_field_22_container{
  margin: 0px!important;
}

/* Privacy Text */
#form_b9ml label, #form_b9ml #field_b5cfy_label, #form_b9ml2 label, #form_b9ml2 #field_b5cfy2_label {
  font-family: "Poppins", sans-serif!important;
  text-transform: uppercase!important;
}


#form_b9ml input[type="checkbox"]:not([disabled]):checked {
  background-color: #006098!important;
}

#form_b9ml .frm_error {
  padding-left: 1rem;
  margin-top: 0.5rem;
}

.frm_message {
  border-radius: 16px!important;
  display: flex!important;
  justify-content: center!important;
  background-color: #006098!important;
  color: #ffffff!important;
  border-color: #006098!important;
}

.frm_message p {
  margin-bottom: 0px!important;
  padding: 1rem!important;
  font-family: "Poppins", sans-serif !important;
  font-weight: 700important;
  color: #ffffff!important;
}

/* Privacy Checkbox */
#frm_checkbox_11-0 label a, #frm_checkbox_20-0 label a {
  color: #006098;
}

#frm_checkbox_11-0 label a:hover, #frm_checkbox_20-0 label a:hover {
  color: #1E97D5;
}

/* Upload */
.frm_dropzone {
  width: 100%!important;
  max-width: 100%!important;
  margin-top: 20px!important;
}

#frm_field_23_container .frm_description {
  margin-top: 10px;
}

.frm_dropzone .dz-message {
  background-color: #101010!important;
  border: 1px solid rgba(255, 255, 255, 0.5)!important;
}

.frm_dropzone svg, .frm_dropzone .frm_upload_text {
  color: rgba(255,255,255,0.5)!important;
}

.frm_dropzone .dz-message .frm_small_text {
  color: #006098;
}

.brlbs-cmpnt-cb-formidable-hcaptcha .brlbs-cmpnt-cb-main{
  flex-direction: column!important;
}


/* Mobile Portrait */
@media (max-width: 767px) {
  #form_b9ml input, #form_b9ml textarea, #form_b9ml2 input, #form_b9ml2 textarea  {
    font-size: 16px !important;
  }

  #form_b9ml label, #form_b9ml2 label {
    font-size: 12px !important;
  }
}

/* ----------------------------------------------- */
/* YouTube iframe*/
/* ----------------------------------------------- */

/* ---------------------------- */
/* Aspect Ratio iframe */
/* ---------------------------- */
#video-iframe {
    aspect-ratio: 1.77777;
    height: 240px!important;
}

/* ---------------------------- */
/* Style */
/* ---------------------------- */
.custom-video-container iframe {
    background-color: #000;
    border: none;
    display: flex;
    /* height: 100%; */
    width: 100%;
    border-radius: 1rem;
}

/* Aspect Ratio Div Container iframe */
.custom-video-container {
    /* aspect-ratio: 1.77777; */
    /* Hat Overlay Link verschoben, deaktiviert */
}

@media (max-width: 879px) {
  #video-iframe {
    height: 190px!important;
  }
}

/* Mobile Portraite */
@media (max-width: 767px) {
  #video-iframe {
    height: 300px!important;
  }

  .custom-video-container {
    /* height: 300px; */
  }
}

@media (max-width: 625px) {
  #video-iframe {
    height: 240px!important;
  }
}

@media (max-width: 430px) {
  #video-iframe {
    height: 185px!important;
  }
}




/* ----------------------------------------------- */
/* Video Overlay YouTube Link */
/* ----------------------------------------------- */

/* ---------------------------- */
/* Container für das Video */
/* ---------------------------- */
.custom-video-container {
    position: relative;
    display: inline-block;
}

/* ---------------------------- */
/* Blockiert das Video-iframe für Hover, Klicks, etc. */
/* ---------------------------- */
.custom-video-container iframe {
    pointer-events: none;
}

/* ---------------------------- */
/* Link über Overlay */
/* ---------------------------- */
.custom-video-container .video-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 20;
    pointer-events: all;
    text-decoration: none;
}

/* ----------------------------------------------- */
/* Style YouTube Blocker */
/* ----------------------------------------------- */

/* Höhe Blocker iFrames */
.custom-video-container .brlbs-cmpnt-container {
  min-height: 240px!important;
}


.brlbs-cmpnt-cb-preset-c {
	border-radius: 1rem !important;
	background-color: #131313 !important;
}

.brlbs-cmpnt-cb-main {
	padding: 10%;
  background-color: #131313 !important;
  margin: 0 !important;
  overflow: hidden !important;
  align-self: center;
  justify-content: center;
}

.brlbs-cmpnt-cb-buttons {
  padding: 0 25px!important;
}

@media (max-width: 540px) {
    .brlbs-cmpnt-cb-main {
      margin: 0%!important;
      
    }
}

@container brlbsCmpntContentBlocker (width < 540px) {
    body .brlbs-cmpnt-container.brlbs-cmpnt-content-blocker .brlbs-cmpnt-cb-preset-c .brlbs-cmpnt-cb-main {
        margin: 0!important;
    }
  }

.brlbs-cmpnt-cb-content {
	align-content: center;
}

.brlbs-cmpnt-cb-headline {
	font-family: "Poppins", Sans-serif!important;
	font-weight: 700!important;
	font-weight: 700 !important;
    margin-bottom: 10px !important;
	color: #ffffff !important;
}

.brlbs-cmpnt-cb-description {
	font-family: "Poppins", Sans-serif!important;
	color: #ffffff !important;
}

/* Mobile Portrait */
@media (max-width: 767px) {
  .brlbs-cmpnt-container {
    height: 179px;
  }

  .brlbs-cmpnt-cb-buttons {
    padding: 0 0px!important;
  }
}

.brlbs-cmpnt-cb-btn {
  background-color: #1e97d5!important;
}

.brlbs-cmpnt-cb-btn:hover {
  color: #ffffff!important;
}

/* ----------------------------------------------- */
/* Downloads */
/* ----------------------------------------------- */

.page-id-8586 .elementor-icon-box-icon {
    align-content: center;
}

/* Mobile Portrait */
@media (max-width: 767px) {
  .page-id-8586 .elementor-button-icon {
    display: none!important;
  }

}

/* ----------------------------------------------- */
/* Gradient Text */
/* ----------------------------------------------- */

.gradient-text {
    /* Farbverlauf von dunkel nach hell (45 Grad Winkel) */
    background: linear-gradient(45deg, #122140 0%, #0771bd 50%, #05b8e3 100%);
    
    /* Schneidet den Hintergrund auf den Text zu */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

/* Nur visuelle Eigenschaften */
.gradient-button a {
    background: linear-gradient(45deg, #122140 0%, #0771bd 50%, #05b8e3 100%);
    box-shadow: 0 4px 15px rgba(7, 113, 189, 0.3);
    transition: filter 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
    border: none;
}

/* Hover-Effekt (Sanfte Aufhellung + Glow & Lift) */
.gradient-button a:hover {
    filter: brightness(1.1); /* Hellts den Verlauf gleichmäßig um 10% auf */
    box-shadow: 0 6px 20px rgba(5, 184, 227, 0.45);
    transform: translateY(-2px);
}

/* Klick-Zustand (Active) */
.gradient-button a:active {
    transform: translateY(0);
    filter: brightness(1);
    box-shadow: 0 2px 8px rgba(7, 113, 189, 0.3);
}