body {
  overflow-x: hidden;
}

.checkered-border {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background-image: url('assets/checkered-border.png');
  background-repeat: repeat-x;
  background-size: contain;
  mask-image: linear-gradient(to right, black 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, black 80%, transparent 100%);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
  border-radius: 10px !important;
}

.navbar-nav .nav-link.active {
  background-color: #f8f9fa; /* helles Grau / hell */
  color: #212529 !important; /* dunkel */
  border-radius: 50px; /* Pille */
  padding-left: 12px;
  padding-right: 12px;
  border: none;
}
.navbar-nav .nav-item.dropdown > .nav-link.active {
  background-color: #f8f9fa;
  color: #212529 !important;
  border-radius: 50px;
}

.navbar {
  .dropdown-menu {
    opacity: 0;
    visibility: hidden;
    display: block;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .dropdown.show .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
}

.navbar {
  .container {
    flex-wrap: nowrap;
  }

  .navbar-brand {
    flex-shrink: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

.welcome-alert-container {
  position: relative;
  display: flex;
  justify-content: center;

  .alert {
    position: relative;
    z-index: 1;
    padding-left: 8rem;
    padding-right: 2rem;
    max-width: 800px;
    width: 100%;
    border-radius: 0.5rem;
    overflow: hidden;
  }
}

.welcome-image {
  position: absolute;
  top: -10%;
  bottom: -10%;
  left: -3rem;
  height: 120%;
  z-index: 2;
  pointer-events: none;
  object-fit: contain;
  transition: left 0.3s ease, height 0.3s ease;
}

@media (max-width: 1199.98px) {
  .welcome-image {
    left: -4rem;
    height: 90%;
  }

  .welcome-alert-container .alert {
    position: relative;
    padding-left: 5rem;
    padding-bottom: 5rem;
    min-height: 110px;
  }
}

@media (max-width: 992px) {
  .welcome-image {
    position: absolute;
    top: 15rem;
    left: 12rem;
    height: 80px;
    z-index: 2;
    opacity: 1;
    pointer-events: none;
  }
}

@media (max-width: 768px) {
  .welcome-image {
    top: 20rem;
    left: 8rem;
  }

  .welcome-alert-container .alert {
    padding-left: 4rem;
    padding-bottom: 4rem;
  }
}

@media (max-width: 576px) {
  .welcome-image {
    top: 22rem;
    left: 1rem;
  }
  
  .welcome-alert-container .alert {
    padding-left: 3.5rem;
    padding-top: 3.5rem;
  }
}
@media (max-width: 370px) {
  .welcome-image {
    display: none;
  }
}

.footer-img-wrapper {
  position: absolute;
  bottom: 100px;
  left: 0;
  z-index: 10;
  padding: 1rem;
}

.footer-img {
  max-height: 140px;
  width: auto;
}

.footer-img-small {
  position: absolute;
  bottom: 100px;
  right: 0;
  z-index: 10;
}

.footer-img-small img {
  height: 140px;
  transform: scaleX(-1);
}

footer {
  position: relative;
}



html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1 0 auto; /* Inhalt füllt den verfügbaren Platz */
}

footer {
  flex-shrink: 0;
  background-color: #222;
  color: #fff;
  padding: 1rem 0;
}

.mkw-font {
  font-family: "Knewave", system-ui;
  font-weight: 400;
  font-style: normal;
  background: linear-gradient(180deg, #D32F2F 0%, #E53935 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

}

.mkw-button {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  min-width: 180px;
  background: linear-gradient(#ff8000, #ff3300);
  border: 0;
  border-radius: 8px;
  position: relative;
  font-family: 'Impact', 'Arial Black', sans-serif;
  color: white;
  font-size: 1.8rem;
  text-align: center;
  text-shadow: -3px 3px 0 #cc0000;
  box-shadow: 0 0 0 4px red, 0 4px 0 6px #990000;
  clip-path: polygon(
    10% 0%, 90% 0%, 100% 50%,
    90% 100%, 10% 100%, 0% 50%
  );
  cursor: pointer;
  user-select: none;
  transition: transform 0.1s ease;
}

.mkw-button:hover {
  transform: scale(1.05);
}

.mkw-button:active {
  transform: scale(0.95);
}

.mkw-button-text {
  display: inline-block;
  transform: skewX(-5deg);
  font-size: inherit;
  text-transform: uppercase;
}

@media (min-width: 992px) {
  .dropdown-left .dropdown-menu {
    right: 0;
    left: auto;
    transform: translateX(-100%);
  }
}