/* Example CSS file */ 
* {
	box-sizing: border-box;
}

html {
  font-family: 'General Sans', sans-serif;
  font-weight: regular;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'General Sans', sans-serif;
  font-weight: regular;
}

.logo h1 {
  text-indent: -9999px;
  margin: 0;
  padding: 1rem;
}

.logo h1 a {
  width: 80px;
  height: 80px;
  display: block;
  background: url(images/lag-logo.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
  transition: all .5s 0s ease;
}

.headline {
  /*position: relative;*/
  display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px; /* Abstand zwischen Text und Welle */
}

.headline:after {
  content: "";
    display: block;
    width: 100%;
    height: 12px;
    margin-top: 8px;

    background: 
      radial-gradient(circle at 6px 0px, transparent 4px, #e9525c 5px, #e9525c 6px, transparent 7px) 0 0;
    
    background-size: 12px 12px;
    background-repeat: repeat-x;
}

.square-box {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.uk-width-1-1 .square-box {
  aspect-ratio: 2;
}

.uk-width-1-2\@s .square-box {
  aspect-ratio: 1 !important;
}

.square-box h1,
.square-box h2,
.square-box h3,
.square-box h4,
.square-box h5,
.square-box h6 {
  color: #fff;
  text-transform: uppercase;
}

.square-box > div {
  width: 100%;
  padding: 1rem;
}

@media screen and (min-width:640px) {
  .square-box > div {
    padding: 0;
    width: 75%;
  }
}

.team-element:nth-of-type(even) div {
  justify-content: flex-end;
}

.uk-button-default, .uk-button-primary {
  border-radius: 100px;
  color: #fff;
  
  /* Wichtig für die exakte Ausrichtung */
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  
  /* Gleiche Abstände im Ruhezustand */
  padding-left: 30px;
  padding-right: 30px;
  
  transition: color 0.3s ease, padding 0.3s ease;
}

/* Der Pfeil wird absolut links platziert */
.uk-button-default::before,
.uk-button-primary::before {
  content: "→";
  position: absolute;
  left: 15px; /* Fester Abstand zum linken Rand */
  
  opacity: 0;
  transform: translateX(-8px); /* Startet leicht nach links versetzt */
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Hover-Zustand */
.uk-button-default:hover,
.uk-button-primary:hover {
  border-radius: 100px;
  border-color: #fff;
  color: #fff;
  
  /* Erhöht das linke Padding leicht, um den Text sanft nach rechts zu rücken,
     während der Abstand zum rechten Rand symmetrisch angepasst wird */
  padding-left: 40px;
  padding-right: 20px;
}

/* Pfeil beim Hover einblenden */
.uk-button-default:hover::before,
.uk-button-primary:hover::before {
  opacity: 1;
  transform: translateX(0); /* Gleitet sanft an die Position */
}

.uk-button-primary {
  color: #e9525c;
  border-color: #e9525c;
  background-color: transparent;
}
.uk-button-primary:hover {
  color: #fff;
  border-color: #fff;
  background-color: #e9525c;
}

.uk-label {
  background-color: #e9525c;
}

.slider-nav a {
  
}
.footer {
  background-color: #e9525c;
}

.footer p {
  color: #fff;
}

.sponsoren {
  width: 80px;
  padding: 5px;
}

@media screen and (min-width: 640px) {
  .sponsoren {
    width: 180px;
    padding: 20px;
  }
}
/*
MENU
*/


#overlay {
  width: 33vw;
  height: 100lvh;
  position: fixed;
  padding: 3rem;
  top: 0px;
  right: 0px;
  background: #e9525c;
  z-index: 1020;
  transform: translateX(33vw);
  transition: all .5s ease-in-out 0s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#overlay ul {
  text-transform: uppercase;
  list-style-type: none;
  padding-left: 0;
}

#overlay h2,
#overlay p,
#overlay ul li,
#overlay a {
  color: #fff !important;
}

#overlay h2,
#overlay p,
#overlay ul {
  margin-bottom: 1rem;
}

.main-link {
  display: block;
  font-size: 1.2rem;
  padding: .25rem 0;
  transition: all .2s ease-in-out 0s;
}

.main-link:hover {
  transform: translateX(10px);
  transition: all .2s ease-in-out 0s;
}

body.menu-active #overlay {
  right:0px;
  transform: translateX(0);
  transition: all .5s ease-in-out 0s;
}

body.menu-active .page-wrapper {
  transform: translateX(-33vw);
  opacity: .5;
  transition: all .5s ease-in-out 0s;
}

body .page-wrapper {
  opacity: 1;
  transition: all .5s ease-in-out 0s;
}

.menu-wrapper {
  position: fixed;
  top: 0;
  right: 0;
  width: 112px;
  height: 112px;
  cursor: pointer;
  z-index: 1025;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hamburger-menu,
.hamburger-menu:after,
.hamburger-menu:before {
  width: 25px;
  height: 3px;
}

.hamburger-menu {
  position: relative;
  /*transform: translateY(10px);*/
  background: #000;
  transition: all 0ms 300ms;
}
.hamburger-menu.animate {
  background: rgba(0, 0, 0, 0);
}

.hamburger-menu:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 10px;
  background: #000;
  transition: bottom 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1), transform 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

.hamburger-menu:after {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  background: #000;
  transition: top 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1), transform 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

.hamburger-menu.animate:after {
  background: rgba(255, 255, 255, 1);
  top: 0;
  transform: rotate(45deg);
  transition: top 300ms cubic-bezier(0.23, 1, 0.32, 1), transform 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

.hamburger-menu.animate:before {
  background: rgba(255, 255, 255, 1);
  bottom: 0;
  transform: rotate(-45deg);
  transition: bottom 300ms cubic-bezier(0.23, 1, 0.32, 1), transform 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

.instagram img,
.facebook img {
  height: 30px;
  width: 30px;
}



@media screen and (max-width: 640px) {

  body.menu-active .page-wrapper {
    transform: translateX(-25vw);
    opacity: .5;
    transition: all .5s ease-in-out 0s;
  }

  body .page-wrapper {
    opacity: 1;
    transition: all .5s ease-in-out 0s;
  }


  #overlay {
    width: 100vw;
    transform: translateX(100vw);
  }
}
