/*!
Theme Name: Hello Elementor Child
Theme URI: https://crocoblock.com/
Author: Crocoblock
Author URI: https://crocoblock.com/
Description: Child theme for Hello Elementor with all CrocoBlock features compatibility.
Template: hello-elementor
Version: 1.0.0
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: hello-elementor-child
*/

:root {
  --primary-color: #0a73b6;
  --dark-blue: #085d91;
  --secondary-color: #76c3ee;
  --text-color: #1f2532;
  --white: #ffffff;
}

.rounded .elementor-flip-box__front,
.rounded .elementor-flip-box__back,
.rounded .elementor-flip-box,
.elementor-widget-video .elementor-custom-embed-image-overlay img {
  border-radius: 18px !important;
}

.jet-carousel__item img {
  width: 100% !important;
}
.jet-carousel {
  margin: 0 !important;
}

.hero::after {
  content: "";
  inset: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  background-image: linear-gradient(
    180deg,
    rgba(10, 115, 182, 0.58) 0%,
    #0a73b6 99%
  );

  mix-blend-mode: multiply;
}
/*Animated Headline start*/
.animated-header h1 {
  position: relative;
  display: inline-block;
  padding: 40px 20px;
}

.animated-header h1::before,
.animated-header h1::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  border-left: 4px solid #fff;
  border-right: 4px solid #fff;
  width: 0;
  height: 0;
  max-width: 0;
  z-index: -1;
}

.animated-header h1::before {
  top: 0;
  border-top: 4px solid #fff;
}

.animated-header h1::after {
  bottom: 0;
  border-bottom: 4px solid #fff;
}

.animated-header.animate h1::before,
.animated-header.animate h1::after {
  animation: lineAnimate 1.3s ease forwards;
}

@keyframes lineAnimate {
  0% {
    width: 0;
    height: 0;
  }
  80% {
    width: 100%;
    height: 0;
    max-width: calc(100% - 8px);
  }
  100% {
    width: 100%;
    height: 30px;
    max-width: calc(100% - 8px);
  }
}
/*Animated Headline End*/

/*Header Bottom Divider dreick start*/
.custom-divider-section {
  position: relative;
  padding-bottom: 300px;
  background-color: #2e1c85 !important;
}

.custom-divider-section::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #2e1c85;
  opacity: 0.86;
  z-index: 0;
}

.custom-divider-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDBweCIgdmlld0JveD0iMCAwIDEyODAgMTQwIiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxnIGZpbGw9IiNmZmZmZmYiPjxwYXRoIGQ9Ik02NDAgMTM5TDAgMHYxNDBoMTI4MFYwTDY0MCAxMzl6IiBmaWxsLW9wYWNpdHk9Ii41Ii8+PHBhdGggZD0iTTY0MCAxMzlMMCA0MnY5OGgxMjgwVjQybC02NDAgOTd6Ii8+PC9nPjwvc3ZnPg==");
  background-size: 100% 100px;
  background-repeat: no-repeat;
  z-index: 1;
  transform: scale(1, 1);
}

.custom-divider-section > .elementor-container {
  position: relative;
  z-index: 2;
}

/*Header Bottom Divider dreick end*/

.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: transparent;
  z-index: 999;
}

.sticky-header .elementor-icon-list-items {
  padding-bottom: 10px !important;
}

.sticky-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: transparent;
  transition: all 0.3s ease;
}

.sticky-header.scrolled::after {
  height: 59px;
  background-color: var(--primary-color);
}

.sticky-header.scrolled .NaviWrapper .e-con-inner {
  align-items: flex-end !important;
}

.page-id-183 div.sticky-header.scrolled a.menu-item-link,
.page-id-3 div.sticky-header.scrolled a.menu-item-link,
.page-id-1939 div.sticky-header.scrolled a.menu-item-link {
  color: var(--white) !important;
}

/*Pegasus widget header start*/
/* === Basis Layout === */
.hover-bg-container {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  height: auto;
  background-size: cover;
  background-position: center;
  transition: background-image 0.5s ease-in-out;
  position: relative;
}

.hover-bg-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #1b1b20;
  opacity: 0.4;
  z-index: 0;
}

/* === Spalten === */
.hover-col {
  flex: 0 0 20%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 800px;
  position: relative;
  border-right: 1px solid rgba(255, 255, 255, 0.4);
  padding: 20px 20px 40px;
  color: var(--white);
  overflow: hidden;
  z-index: 1;
}

.hover-col h3 {
  font-weight: 400 !important;
  font-size: 24px !important;
  text-transform: uppercase;
}
.hover-col p {
  font-size: 18px !important;
  line-height: 1.3em;
}

.hover-col h3,
.hover-col p,
.hover-col a {
  color: var(--white);
}

.hover-col:last-child {
  border-right: none;
}

.hover-col::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #1b1b20;
  opacity: 0.4;
  z-index: 1;
}

.hover-col-content {
  position: relative;
  z-index: 2;
  transition: transform 0.35s ease;
  height: 150px;
}

.hover-col-link {
  width: 100%;
  height: 100%;
  align-items: flex-end;
  display: flex;
  z-index: 11;
}

.hover-col:hover .hover-col-content {
  transform: translateY(-50px);
}

/* Read More Effekt */
.hover-desc {
  position: relative;
}

.hover-desc::after {
  content: "Mehr lesen";
  display: block;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 700;
  margin-top: 20px;
  position: absolute;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.hover-col:hover .hover-desc::after {
  opacity: 1;
}

/* === Responsive Breakpoints === */
@media screen and (max-width: 1200px) {
  .hover-col h3 {
    font-size: 20px !important;
  }
}

/* @media screen and (max-width: 1024px) {
  .hover-col {
    flex: 0 0 50%;
    height: 400px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  }

  .hover-col:nth-child(5) {
    flex: 0 0 100%;
    border-bottom: none;
  }
  .hover-col-content {
    height: auto;
  }
} */

@media screen and (max-width: 1024px) {
  .hover-col h3 {
    font-size: 24px !important;
  }
  .hover-col-content {
    height: auto;
  }
  .hover-col {
    flex: 0 0 100%;
    height: 200px;
    padding: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  }

  .hover-col p {
    font-size: 20px !important;
  }

  .hover-col:nth-child(5) {
    flex: 0 0 100%;
  }
}

/*Pegasus widget header end*/

/*Button css start*/
/* Button-Grundstyle */
.my-special-button .elementor-button {
  position: relative; /* für absolute Positionierung der Pseudo-Elemente */
  color: #ffffff;
  border-radius: 0;
  background-color: transparent;
  transition: color 300ms ease, background-color 300ms ease, border 300ms ease,
    border-radius 300ms ease;
  overflow: hidden; /* wichtig, damit before/after nicht rausragen */
}

/* ::before - obere Linie */
.my-special-button .elementor-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #ffffff;
  transition: width 400ms ease;
}

.my-special-button.grey .elementor-button::before {
  background: var(--text-color);
}

.my-special-button.grey .elementor-button::after {
  background: var(--text-color);
}

/* ::after - untere Linie */
.my-special-button .elementor-button::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background: #ffffff;
  transition: width 400ms ease;
}

/* Hover: Linien fahren rein */
.my-special-button .elementor-button:hover::before,
.my-special-button .elementor-button:hover::after {
  width: 100%;
}

/* Hover: Textfarbe & Border anpassen */
.my-special-button .elementor-button:hover {
  color: #ffffff;
  border-color: rgba(0, 128, 255, 0);
  background-color: transparent;
  border-radius: 0;
  background-image: none;
}

/*Button css end*/

/*Animated border css start*/
/* Animated border base */
.line {
  position: absolute;
  background-color: var(--primary-color);
  pointer-events: none;
  width: 0;
  height: 0;
  animation-fill-mode: forwards;
  animation-play-state: paused; /* Pause by default */
}

/* Positions and base sizes */
.left {
  bottom: 0; /* Bottom left */
  left: 0;
  width: 4px;
  height: 0;
}

.top {
  top: 0;
  left: 0;
  height: 4px;
  width: 0;
}

.right {
  right: 0;
  top: 0; /* Top right */
  width: 4px;
  height: 0;
}

.bottom {
  bottom: 0;
  right: 0;
  height: 4px;
  width: 0;
}

/* Animation triggered only when container has .view_port */
.animated-border.view_port .left {
  animation: grow-height 0.75s forwards;
  animation-delay: 0s;
  animation-play-state: running;
}

.animated-border.view_port .top {
  animation: grow-width 0.75s forwards;
  animation-delay: 0.75s;
  animation-play-state: running;
}

.animated-border.view_port .right {
  animation: grow-height 0.75s forwards;
  animation-delay: 1.5s;
  animation-play-state: running;
}

.animated-border.view_port .bottom {
  animation: grow-width 0.75s forwards;
  animation-delay: 2.25s;
  animation-play-state: running;
}

@keyframes grow-width {
  to {
    width: 100%;
  }
}

@keyframes grow-height {
  to {
    height: 100%;
  }
}

.animated-border {
  position: relative !important;
}

.animated-border .elementor-widget {
  position: initial !important;
}

/*Animated border css end*/

.card {
  overflow: visible;
}

.first-item,
.last-heading {
  transition: transform 0.3s ease;
}

.card:hover .first-item {
  transform: translateY(8px);
}

.card:hover .last-heading {
  transform: translateY(-8px);
}
