main {
overflow:hidden;
padding-top: 10rem;
}

header {
	position: fixed;
    width: 100%;
	z-index: 999;
}

li.wp-block-navigation-link{
    padding: 0.5rem 1.25rem!important;
    border-radius: 15px;
}

a:hover{
    text-decoration: none;
}

b, strong{
    font-weight: 600;
}

/* H1 Animation */

.hero-heading {
  display: inline-block;
}

.hero-heading-line {
  display: block;
}

.hero-heading-line-inner {
  display: inline-block;
  transform: translateY(20px); 
  opacity: 0;
  will-change: transform, opacity;
}

.referenzen img{
    mix-blend-mode: multiply;
}

ul.wp-block-navigation__submenu-container li.wp-block-navigation-link:hover,
li.wp-block-navigation-link:hover{
    background-color: transparent;
    border-radius: 15px;
    color: #27ad7a;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.wp-block-navigation .has-child:not(.open-on-click):hover>.wp-block-navigation__submenu-container{
    min-width: 240px;
}

/* Wellen */

.wave-section {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}

.wave-section.wave-top::before {
  content: '';
  position: absolute;
  top: -1px; 
  left: -10px; 
  width: calc(100% + 20px); 
  height: 85px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 675 175.5' preserveAspectRatio='none'%3E%3Cpath fill='%23f7fbfc' d='M 1.17 96.55 L 23.59 97.82 C 46.01 99.02 90.86 101.56 135.7 99.39 C 180.55 97.3 225.39 90.57 270.23 85.57 C 315.08 80.64 359.92 77.35 404.77 79.74 C 449.61 82.13 494.45 90.05 539.3 90.73 C 584.14 91.32 628.99 84.6 651.41 81.23 L 673.83 77.87 L 673.83 175.03 L 1.17 175.03 Z'/%3E%3C/svg%3E");
  background-size: 100% 100%; 
  background-repeat: no-repeat;
  background-position: center;
  transform: rotate(180deg);
  z-index: 1;
}

.wave-section.wave-bottom::after {
  content: '';
  position: absolute;
  bottom: -1px; 
  left: -20px; 
  width: calc(100% + 20px); 
  height: 85px; 
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 675 175.5' preserveAspectRatio='none'%3E%3Cpath fill='%23f7fbfc' d='M 1.17 96.55 L 23.59 97.82 C 46.01 99.02 90.86 101.56 135.7 99.39 C 180.55 97.3 225.39 90.57 270.23 85.57 C 315.08 80.64 359.92 77.35 404.77 79.74 C 449.61 82.13 494.45 90.05 539.3 90.73 C 584.14 91.32 628.99 84.6 651.41 81.23 L 673.83 77.87 L 673.83 175.03 L 1.17 175.03 Z'/%3E%3C/svg%3E");
  background-size: 100% 100%; 
  background-repeat: no-repeat;
  background-position: center;
  z-index: 1;
}

.wave-section.wave-both::before,
.wave-section.wave-both::after {
  content: '';
  position: absolute;
  left: -10px;
  width: calc(100% + 20px);
  height: 85px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 675 175.5' preserveAspectRatio='none'%3E%3Cpath fill='%23f7fbfc' d='M 1.17 96.55 L 23.59 97.82 C 46.01 99.02 90.86 101.56 135.7 99.39 C 180.55 97.3 225.39 90.57 270.23 85.57 C 315.08 80.64 359.92 77.35 404.77 79.74 C 449.61 82.13 494.45 90.05 539.3 90.73 C 584.14 91.32 628.99 84.6 651.41 81.23 L 673.83 77.87 L 673.83 175.03 L 1.17 175.03 Z'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 1;
}

.wave-section.wave-both::before {
  top: -1px;
  transform: rotate(180deg);
}

.wave-section.wave-both::after {
  bottom: -1px;
}

.wave-section > * {
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .wave-section.wave-top::before,
  .wave-section.wave-bottom::after,
  .wave-section.wave-both::before,
  .wave-section.wave-both::after {
    height: 65px;
  }
}

@media (max-width: 480px) {
  .wave-section.wave-top::before,
  .wave-section.wave-bottom::after,
  .wave-section.wave-both::before,
  .wave-section.wave-both::after {
    height: 45px;
  }
}

/* Markierte Schrift */

.sketch-highlight{
  position:relative;
  display: inline-block;
}

.sketch-highlight:before{
  content:"";
  z-index:-1;
  left:-0.05em;
  top:0em;
  border-width:4px;
  border-style:solid;
  border-color:#27ad7a;
  position:absolute;
  border-right-color:transparent;
  border-left-color: transparent;
  border-top-color: transparent;
  width:100%;
  height:1em;
  transform:rotate(1.5deg);
  opacity:1;
  border-radius:0.25em;
}

.sketch-highlight:after{
  content:"";
  z-index:-1;
  left:0em;
  top:0.05em;
  border-width:4px;
  border-style:solid;
  border-color:#27ad7a;
  border-left-color:transparent;
  border-top-color:transparent;
  border-right-color: transparent;
  position:absolute;
  width:100%;
  height:1em;
  transform:rotate(-2deg);
  opacity:0.9;
  border-radius:0.25em;
}

/* MARQUEE STYLING */
.marquee-section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
  background-color: #007990;
}

.marquee-section.wave-section.wave-both .marquee-container {
  position: relative;
  z-index: 2; 
}

.marquee-container {
  overflow: visible;
  white-space: nowrap;
  width: 100%;
}

.marquee-inner {
  display: inline-flex;
  will-change: transform;
}

.marquee-text {
  display: inline-block;
  white-space: nowrap;
  font-size: 4rem;
  font-weight: 700;
  color: #fff;
  margin: 0rem;
}

/* Gradient Fade - nur für Marquee OHNE Wellen */
.marquee-section:not(.wave-section)::before,
.marquee-section:not(.wave-section)::after {
  content: '';
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.marquee-section:not(.wave-section)::before {
  left: 0;
  background: linear-gradient(to right, #f7fbfc, transparent);
}

.marquee-section:not(.wave-section)::after {
  right: 0;
  background: linear-gradient(to left, #f7fbfc, transparent);
}

/* Wellen für Marquee-Section - erweitert für keine Ränder */
.marquee-section.wave-section.wave-top::before,
.marquee-section.wave-section.wave-bottom::after,
.marquee-section.wave-section.wave-both::before,
.marquee-section.wave-section.wave-both::after {
  left: -10px;
  width: calc(100% + 20px);
}

.marquee-section.wave-section.wave-top::before {
  top: -1px;
}

.marquee-section.wave-section.wave-bottom::after {
  bottom: -1px;
}

.marquee-section.wave-section.wave-both::before {
  top: -1px;
}

.marquee-section.wave-section.wave-both::after {
  bottom: -1px;
}

/* Responsive */
@media (max-width: 1024px) {
  .marquee-text {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .marquee-text {
    font-size: 2rem;
  }
  
  .marquee-section {
    padding: 80px 0;
  }
  
  .stagger-arrow {
    display: none;  
  }
  
  li.wp-block-navigation-item.wp-block-navigation-submenu > ul > li:nth-child(2) > a > span{
      text-align: right;
  }
  
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .has-child .wp-block-navigation__submenu-container{
      padding-right: 0rem;
  }
}

@media (max-width: 480px) {
  .marquee-text {
    font-size: 1.5rem;
  }
  
  .marquee-section {
    padding: 60px 0;
  }
}

.stagger-arrow {
    width: 12rem;
    transform: rotate(16deg) translateY(4rem);
    padding-left: 2rem;
}

@media (min-width: 768px){
    .wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {
        background-color: #fff;
        border: none;
        border-radius: 15px;
        box-shadow: 1px -1px 11px #0079902b;
    }
}

/* Anderer Breakpoint für die Navigation*/

@media (min-width: 768px) {
    .wp-block-navigation__responsive-container-open:not(.always-shown) {
        display: none !important;
    }

    .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
        display: block !important;
        width: 100%;
        position: relative;
        z-index: auto;
        background-color: inherit;
    }
}

@media (min-width: 600px) {
    .wp-block-navigation__responsive-container-open:not(.always-shown) {
        display: flex;
    }
    .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
        display: none;
    }
}