/*! 
Theme Name: GSN Europe Theme
Author: webkonditorei 
Author URI: https://webkonditorei.de 
Description: ACF + Tailwind Theme 
Version: 1.0.0 
Text Domain: gsn
*/

html {
  line-height: 1;
  -webkit-text-size-adjust: 100%;
  font-size: 17px;
  scroll-behavior: smooth;
  --wpforms-button-background-color: #00D5FF !important;
}

body {
  margin: 0;
  font-family: "Satoshi", sans-serif;
  font-weight: 500;
  background-color: #001A61;
  color: #fff;
}

p {
  font-family: "work-sans", sans-serif;
}

a {
  color: #00D5FF;
  text-decoration: underline;
}

/* Smooth Page Transition */
@view-transition {
  navigation: auto;
}

/* Load Font */
@font-face {
  font-family: "Satoshi";
  src: url("./assets/fonts/satoshi/Satoshi-Regular.ttf")
    format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Satoshi";
  src: url("./assets/fonts/satoshi/Satoshi-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Satoshi";
  src: url("./assets/fonts/satoshi/Satoshi-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}




/* Spacer */
.xs {
  height: 1.11rem;
}

.s {
  height: 2.777rem;
}

.ss {
height: 2rem;
}

.m {
  height: 4.444rem;
}

.l {
  height: 5.555rem;
}

.xl {
  height: 8.333rem;
}

.xxl {
  height: 11.111rem;
}

/* Für kleinere Bildschirme (z.B. Smartphones) */
@media (max-width: 767px) {
  .xs {
    height: 0.8rem;
  }

  .s {
    height: 2rem;
  }

    .ss {
      height: 1.5rem;
    }

  .m {
    height: 3rem;
  }

  .l {
    height: 4rem;
  }

  .xl {
    height: 6rem;
  }

  .xxl {
    height: 8rem;
  }
}

/* Form */
.wpforms-container label, .wpforms-container legend {
  font-weight: 400 !important;
  color: #fff!important;
}

.wpforms-container input,
.wpforms-container textarea {
  border: none !important;
  background-color: rgba(255, 255, 255, 0.25) !important;
  color: #fff!important;
  border-radius: 10px !important;
  padding: 25px 15px !important;
}

.wpforms-container input[type="checkbox"],
.wpforms-container input[type="radio"] {
  padding: 0 !important;
  background-color: none !important;
}

.wpforms-container {
  margin: 0 !important;
}

.wpforms-container textarea {
  border: none !important;
  box-shadow: none !important;
}

.wpforms-container button {
  border-radius: 50px !important;
  background-color: #00D5FF !important;
  color: #001A61!important;
  padding: 20px 25px !important;
  height: auto !important;
}

.wpforms-submit-container {
  display: flex;
  justify-content: flex-end;
}

@media (min-width: 1000px) {
  .wpforms-image-choices {
    flex-wrap: nowrap !important;
  }
}



/* Buttons */
.main-button {
  background-color: #eaff6e;
  color: #152644;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  transition: all cubic-bezier(0.76, 0, 0.24, 1) 0.5s;
}

.main-button-small {
  padding: 10px 20px !important;
  font-size: 15px !important;
  color: #152644 !important;
}

.secondary-button {
  background-color: #f9f9f9;
  color: #152644;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  transition: all cubic-bezier(0.76, 0, 0.24, 1) 0.5s;
}

.zacken-button,
.button-arrow,
.main-button-text {
  transition: all cubic-bezier(0.76, 0, 0.24, 1) 0.5s;
}

.zacken-button {
  position: absolute;
  left: calc(0px - 30px);
  clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
}

.main-button-small .zacken-button {
  left: calc(0px - 40px);
}

.main-button:hover .zacken-button,
.secondary-button:hover .zacken-button {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

.main-button:hover .button-arrow,
.secondary-button:hover .button-arrow {
  scale: 0;
}

.main-button:hover .main-button-text,
.secondary-button:hover .main-button-text {
  transform: translateX(26px);
}

/* Arrow Link */

.arrow-link {
  font-weight: 700;
}

.arrow-link svg {
  transition: all cubic-bezier(0.76, 0, 0.24, 1) 0.5s;
}

.arrow-link:hover svg:nth-child(1),
.cta-container:hover svg:nth-child(1) {
  transform: translateX(100%);
}

.arrow-link:hover svg:nth-child(2),
.cta-container:hover svg:nth-child(2) {
  transform: translateX(100%);
}

/* Nav */
.menu-item a,
.parent-item {
  font-weight: 600;
}

.parent-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.parent-item > svg {
  transition: all cubic-bezier(0.76, 0, 0.24, 1) 0.3s;
}

.active-sub-nav > svg {
  transform: rotate(180deg);
}

.sub-menu {
  position: absolute;
  padding: 25px;
  padding-bottom: 80px;
  background-color: #152644;
  color: #fff;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
  transition: all cubic-bezier(0.76, 0, 0.24, 1) 0.5s;
}

.active-sub-nav-container {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

.sub-menu::after {
  content: "";
  background-image: url("/wp-content/themes/gsn-theme/assets/svg/zacken.svg");
  position: absolute;
  width: 111px;
  height: 30px;
  background-size: contain;
  bottom: 20px;
  right: -20px;
  transition: all cubic-bezier(0.76, 0, 0.24, 1) 0.5s;
  transition-delay: 0.4s;
  clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
}

.sub-menu > li {
  transform: translateY(20px);
  opacity: 0;
  transition: all cubic-bezier(0.76, 0, 0.24, 1) 0.5s;
}

.menu-button {
  padding: 10px 20px;
  border-radius: 5px;
  background-color: #eaff6e;
}

.active-sub-nav-container > li {
  opacity: 1;
  transform: translateY(0px);
}

.active-sub-nav-container::after {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

.sub-menu > li:nth-child(2) {
  transition-delay: 0.1s;
}

.sub-menu > li:nth-child(3) {
  transition-delay: 0.2s;
}

.sub-menu > li:nth-child(4) {
  transition-delay: 0.3s;
}

.sub-menu > li:nth-child(5) {
  transition-delay: 0.4s;
}

.sub-menu > li:nth-child(6) {
  transition-delay: 0.5s;
}

.sub-menu > li:nth-child(7) {
  transition-delay: 0.6s;
}

.sub-menu > li:nth-child(8) {
  transition-delay: 0.7s;
}

.sub-menu > li:nth-child(9) {
  transition-delay: 0.8s;
}

.sub-menu > li:nth-child(10) {
  transition-delay: 0.9s;
}

/* Mobile Nav */
@media (max-width: 767px) {
  .menu-hauptmenue-container {
    position: fixed;
    z-index: 999;
    width: 100vw;
    height: 100vh;
    left: 0;
    top: 0;
    overflow: scroll;
    background-color: #152644;
    padding: 50px;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: all cubic-bezier(0.76, 0, 0.24, 1) 1s;
  }

  #menu-hauptmenue .menu-item a,
  #menu-hauptmenue .parent-item {
    font-size: 20px;
  }

  .active-nav {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
  }

  #navtrigger rect {
    transition: all ease-in-out 0.2s !important;
  }

  .menu-hauptmenue-container a,
  .menu-hauptmenue-container button {
    color: #ffff;
  }

  .active-trigger svg path {
    fill: #ffff;
  }

  .active-trigger #top-line {
    transform: translateY(6px);
  }

  .active-trigger #bottom-line {
    transform: translateY(-6px);
  }

  .parent-item > svg > path {
    fill: #ffff;
  }

  .menu-button {
    color: #152644 !important;
  }

  .sub-menu {
    position: relative;
    padding: 0px;
    max-height: 0px;
    margin: 0;
  }

  .active-sub-nav-container {
    padding: 15px;
    padding-bottom: 80px;
  }

  .sub-menu::after {
    left: 0px;
  }

  .menu-button {
    margin-top: 15px;
    display: flex;
  }

  #menu-hauptmenue {
    background: none;
  }
}

.gradient-bg {
  background: linear-gradient(72deg, #2D4B9A 37.88%, #00D5FF 114.81%);
  
}

.horizontal-gradient {
  background: linear-gradient(270deg, rgba(45, 75, 154, 0.00) 0%, #2D4B9A 100%); 
}

.blue-gradient {
  background: linear-gradient(72deg, #0D97B3 37.88%, #00D5FF 114.81%);
}

.gradient-line {
  background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}


@media(max-width: 767px) {
  .horizontal-gradient {
    background: linear-gradient(180deg, rgba(45, 75, 154, 0.00) 0%, #2D4B9A 100%);
    
  }
}


/* Service Tabs */

.service-item {
  transition: all cubic-bezier(0.165, 0.84, 0.44, 1) .2s;
}

.active-service {
  background: linear-gradient(72deg, #2D4B9A 37.88%, #00D5FF 114.81%);
}



/* Unfold item */



.unfold-content-container,
.unfold-icon {
  transition: all cubic-bezier(.76, 0, .24, 1) .4s;
}

.active-unfold .unfold-icon {
  transform: rotate(180deg);
}