:root {
  --first-color: #efda17;
  --second-color: #fba201;
  --third-color: #539bb9;
  --fourth-color: #2a779f;
  --fifth-color: #205a78;
  --sixth-color: #0e374b;
  --seventh-color: #011823;
  --eighth-color: #ffffff;
  --skew: skewX(-10deg);
}

* {
  margin: 0px;
  padding: 0px;
  outline: none;
  box-sizing: border-box;
}

body {
  min-height: 100%;
  height: auto;
  display: block;
  background-color: #011823e0;
  font-size: 1.25rem;
  font-family: "Roboto Condensed", sans-serif;
  color: var(--eighth-color);
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  z-index: -101;
  display: block;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: url("../img/bg.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  filter: blur(10px);
}

p {
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

nav {
  position: fixed;
  top: 0;
  background: var(--sixth-color);
  z-index: 99;
  display: flex;
  width: 100%;
  gap: 0;
  justify-content: center;
  height: 4rem; /* gewünschte Balkenhöhe */
  overflow: visible; /* erlaubt Überstand nach unten */
}

a {
  text-decoration: none;
}

#primary-nav {
  display: flex;
  align-items: center;
}
#primary-nav a {
  color: var(--third-color);
  text-transform: uppercase;
  font-weight: 400;
  font-size: 1.6rem;
  padding: 0.35rem 1rem 0;
  font-family: "Bebas Neue", serif;
  letter-spacing: 0.1rem;
  height: 100%;
  align-content: center;
  transform: var(--skew);
  border-bottom: 0.35rem solid transparent;
}

#primary-nav a:hover,
#primary-nav a.active {
  color: var(--second-color);
  border-bottom: 0.35rem solid var(--second-color);
  background-color: var(--seventh-color);
}

#primary-nav a#to-shop {
  color: var(--eighth-color);
  background-color: var(--second-color);
  margin-left: 1rem;
}

#primary-nav a#to-shop:hover,
#primary-nav a#to-shop.active {
  color: var(--eighth-color);

  background-color: var(--seventh-color);
}

a#to-home {
  color: transparent;
  background-color: transparent;
  position: absolute;
  top: 0.4rem;
  left: 0;
}

nav img.logo {
  height: 5.5rem; /* größer als nav */
  width: auto;

  z-index: 2;
  filter: drop-shadow(0px 0px 20px var(--seventh-color));
}

.language {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 999;
}
.center {
  text-align: center;
}
.container {
  position: relative;
  transition: all 300ms;
  margin: 0px auto;
  width: 100%;
  padding: 12rem 3rem 18rem;
  z-index: 1;
}

#logo {
  max-width: 50rem;
  margin-left: auto;
  margin-right: auto;
  display: block;
  position: relative;
}
.parallax > .container > img:not(.logo) {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 66%;
  pointer-events: none;
}

.parallax .container {
  position: static;
  padding: 4rem;
}
.mobile-img {
  display: none;
}

.container-scroll {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 2rem;
  margin-top: 4rem;
}

.chevron {
  position: absolute;
  top: 0;
  width: 2.1rem;
  height: auto;
  opacity: 0;
  fill: currentColor;
  color: var(--eighth-color);
  transform: scale(0.3);
  -webkit-animation: move-chevron 3s ease-out infinite;
  animation: move-chevron 3s ease-out infinite;
  -webkit-filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.7));
  filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.7));
}

.chevron:first-child {
  -webkit-animation: move-chevron 3s ease-out 1s infinite;
  animation: move-chevron 3s ease-out 1s infinite;
}

.chevron:nth-child(2) {
  -webkit-animation: move-chevron 3s ease-out 2s infinite;
  animation: move-chevron 3s ease-out 2s infinite;
}

@-webkit-keyframes move-chevron {
  25% {
    opacity: 1;
  }
  33.3% {
    opacity: 1;
    transform: translateY(2.28rem);
  }
  66.6% {
    opacity: 1;
    transform: translateY(3.12rem);
  }
  100% {
    opacity: 0;
    transform: translateY(4.8rem) scale(0.5);
  }
}

@keyframes move-chevron {
  25% {
    opacity: 1;
  }
  33.3% {
    opacity: 1;
    transform: translateY(2.28rem);
  }
  66.6% {
    opacity: 1;
    transform: translateY(3.12rem);
  }
  100% {
    opacity: 0;
    transform: translateY(4.8rem) scale(0.5);
  }
}
.languagepicker {
  background-color: var(--third-color);
  display: inline-block;
  padding: 0;
  height: 4rem;
  overflow: hidden;
  transition: all 0.3s ease;
  vertical-align: middle;
}

.languagepicker:hover {
  height: auto;
  transition: all 0.3s ease;
}

.languagepicker a {
  color: var(--seventh-color);
  text-decoration: none;
}

.languagepicker li {
  display: block;
  background: transparent;
  padding: 0px 1.5rem;
  line-height: 4rem;
}

.languagepicker li:hover {
  background-color: var(--fourth-color);
}

.languagepicker li img {
  margin-right: 5px;
  vertical-align: middle;
}

header {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 12rem;
  padding-bottom: 8rem;
  overflow: hidden;
}

.drop-shadow {
  filter: drop-shadow(0px 0px 40px var(--seventh-color))
    drop-shadow(0px 0px 40px var(--seventh-color));
  position: relative;
  z-index: 3;
  margin: 2rem 0;
}
.legal section * {
  text-align: left;
}

.legal h1 {
  margin-bottom: 0.5rem;
}
.legal h2 {
  margin-top: 3rem;
}

.legal h2 + h3 {
  margin-top: 1.5rem;
}

.legal h3 {
  margin-top: 3rem;
  margin-bottom: 0.5rem;
}

.legal h4 {
  margin-bottom: 0.5rem;
  margin-top: 1rem;
}

.legal header h4 {
  margin-top: 0;
  margin-bottom: 2rem;
}
#changelog header {
  text-align: center;
  padding: 10rem;
  height: auto;
}

.legal .bt {
  display: inline-block;
}

#changelog header {
  background-image: url(../img/Habanero_Keyvisual.jpg);
  background-repeat: no-repeat;
  background-position: 75% center;
  background-size: cover;
}

.legal a:not(.bt) {
  color: var(--eighth-color);
  text-decoration: underline;
}

.legal a:not(.bt):hover {
  color: var(--third-color);
}

.legal .logo,
#changelog .logo {
  max-width: 30rem;
  text-align: center;
  margin: 5rem auto;
}

.legal ul:not(.social-buttons) {
  padding: 0 1rem 2.5rem 3.5rem;
}

.logo-head {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 0 0rem 0.75rem 0;
  z-index: 100;
  background-color: var(--seventh-color);
  padding: 1.5rem 3rem;
}

.logo-head img {
  display: block;
  width: auto;
  height: 6rem;
}

.text-head {
  padding: 5rem 3rem 3rem 3rem;
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  display: flex;
  height: 100%;
  align-items: center;
}

.text-head > div {
  width: 25rem;
  height: fit-content;
  padding: 2rem;
  text-align: center;
  background-color: #ffffff48;
  color: var(--eighth-color);
  backdrop-filter: blur(0.75rem);
}

#changelog-pc,
#changelog-xbox,
#changelog-ps5 {
  background-color: var(--sixth-color);
  padding: 2rem;
  display: none;
  border-bottom-right-radius: 1rem;
}

#changelog .container {
  margin-top: 3rem;
}

#changelog h1 {
  margin-bottom: 2rem;
}
.toggle-changelog {
  text-decoration: none;
  color: var(--eighth-color);
  display: block;
  padding: 1rem;
  background-color: rgba(255, 255, 255, 0.1);
  margin-bottom: 1rem;
  cursor: pointer;
  transition: all 300ms;
}
.toggle-changelog svg {
  display: inline-block;
  vertical-align: middle;
  color: var(--eighth-color);
  transition: all 300ms;
  width: auto;
  height: 1.5rem;
  margin-right: 0.5rem;
}
.toggle-changelog:hover,
.toggle-changelog.active {
  background-color: var(--seventh-color);
}
.change {
  display: none;
  padding-bottom: 3rem;
  padding-left: 3.3rem;
}
.icon-minus {
  color: var(--eighth-color) !important;
  transform: rotate(90deg);
  transition: all 300ms;
}

#updates h2 {
  text-align: left;
  margin-bottom: 0;
  color: var(--eighth-color);
  line-height: 1em;
  font-size: 1.75rem;
}

.tab {
  display: grid;
  grid-auto-rows: 1fr;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.3rem;
  border-bottom: 5px solid var(--first-color);
}

.changelog-head {
  background-color: var(--second-color);
  padding: 1rem;
  cursor: pointer;
  transition: all 300ms;
}

.changelog-head svg {
  transition: all 300ms;
}

.changelog-head.current {
  transition: all 300ms;
  border-top-left-radius: 1rem;
}

.changelog-head.current,
.changelog-head:hover {
  background-color: #e300008f;
  transition: all 300ms;
  border-top-left-radius: 1rem;
  transform: scale(1, 1.15);
  transform-origin: bottom;
}
.changelog-head h2,
.changelog-head h2 {
  transform-origin: bottom left;
  transition: all 300ms;
}
.changelog-head.current h2,
.changelog-head:hover h2 {
  transform: scale(1.15, 1);
  transform-origin: bottom left;
}

.tabcontent {
  animation: fadeEffect 1s; /* Fading effect takes 1 second */
}

/* Go from zero to full opacity */
@keyframes fadeEffect {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

#updates h4 {
  font-size: 1.5rem;
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 600;
  margin-bottom: 0.5rem;
  margin-top: 1.5rem;
}
#updates h4:first-child {
  margin-top: 0;
}

#updates h5 {
  font-size: 1.25rem;
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 600;
  margin-bottom: 0.5rem;
  margin-top: 1.5rem;
}

#updates ul {
  margin-left: 1.1rem;
}

#updates li {
  margin-bottom: 0.25rem;
}

h1 {
  margin-bottom: 1rem;
  font-size: 6rem;

  background: -webkit-linear-gradient(
    90deg,
    rgba(209, 209, 209, 1) 0%,
    rgba(255, 255, 255, 1) 50%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke-color: var(--seventh-color);
  -webkit-text-stroke-width: 2px;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Bebas Neue", serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
}

.carousel-head {
  height: 100vh;
}
section,
footer {
  padding: 5rem 3rem 3rem 3rem;
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
}

#start-features li {
  list-style-type: none;
  margin-bottom: 0.5rem;
}
#start-features li b {
  text-transform: uppercase;
  color: var(--third-color);
  margin-bottom: 1rem;
  font-size: 1.75rem;
  font-family: "Bebas Neue", serif;
  font-weight: 400;
  letter-spacing: 0.1rem;
}

h2 {
  color: var(--eighth-color);
  margin-bottom: 0;
  text-transform: uppercase;
  position: relative;
  background-color: var(--third-color);
  display: inline-block;
  padding: 0.5rem 1rem;
  transform: var(--skew);
}

.headline-wrap {
  position: relative;
  margin-bottom: 2rem;
}

.headline-wrap::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0rem;
  width: 100%;
  height: 2px;
  background-color: var(--third-color);
  z-index: -1;
}

h3 {
  color: var(--third-color);
  margin-bottom: 1rem;
}

#wrapper {
  padding: 0 4rem;
}

.logo {
  width: 100%;
  display: block;
}

.bt.buy {
  font-size: 2rem;
  display: inline-block;
}

.flex-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  flex-direction: column-reverse;
}

.flex-gallery,
.flex-text {
  flex: 0 0 calc(50% - 0.5rem);
}

.grid-container {
  display: grid;
  /*grid-template-columns: repeat(3, 1fr);*/
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  grid-gap: 1rem;
  margin: 1.5rem 0;
}

.grid-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

video {
  width: 100%;
}

.play {
  width: 100%;
  display: block;
}

div.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.23%;
  height: 0;
  overflow: hidden;
  margin-top: -1px;
  margin-bottom: -1px;
  cursor: pointer;
}

div.video-container iframe,
div.video-container object,
div.video-container embed {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
}

.play-button-helper:before,
.play-button-helper:after {
  position: absolute;
  top: 5rem;
  right: 5rem;
  transform: translate(50%, -50%);
  -webkit-transform: translate(50%, -50%);
  content: "";
  pointer-events: none;
}

.play-button-helper:after {
  border-style: solid;
  border-width: 1.5rem 0 1.5rem 3rem;
  border-color: transparent transparent transparent var(--eighth-color);
  box-sizing: border-box;
  width: 3rem;
  height: 3rem;
  pointer-events: none;
}

.play-button-helper:before {
  background-color: var(--second-color);
  width: 5rem;
  height: 5rem;
  -webkit-box-shadow: 0px 0px 2rem 0px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 0px 0px 2rem 0px rgba(0, 0, 0, 0.5);
  box-shadow: 0px 0px 2rem 0px rgba(0, 0, 0, 0.5);
}

.bt {
  background-color: var(--second-color);
  text-decoration: none;
  text-transform: uppercase;
  color: var(--eighth-color);
  padding: 0.5rem 1rem;
  border: none;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s ease;
}

.bt:not(.content-cards) {
  transform: var(--skew);
}

.bt:hover {
  background-color: var(--third-color);
  color: var(--eighth-color);
  transition: all 0.3s ease;
}

/*---- Nav ----*/
.ham {
  display: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 400ms;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  transform: scale(1.5);
}
.ham.active {
  transform: rotate(45deg) scale(1.5);
}
.line {
  fill: none;
  transition:
    stroke-dasharray 400ms,
    stroke-dashoffset 400ms;
  stroke: var(--third-color);
  stroke-width: 5.5;
  stroke-linecap: round;
}

.ham .top {
  stroke-dasharray: 40 160;
}
.ham .middle {
  stroke-dasharray: 40 142;
  transform-origin: 50%;
  transition: transform 400ms;
}
.ham .bottom {
  stroke-dasharray: 40 85;
  transform-origin: 50%;
  transition:
    transform 400ms,
    stroke-dashoffset 400ms;
}
.ham.active .top {
  stroke-dashoffset: -64px;
}
.ham.active .middle {
  transform: rotate(90deg);
}
.ham.active .bottom {
  stroke-dashoffset: -64px;
}

/*---- Cards ----*/

.cards {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin-bottom: 3rem;
}
.cards__item {
  display: flex;
  width: 100%;
}

.card {
  background-color: var(--second-color);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0rem;
  gap: 0rem;
  width: 100%;
}

.card__content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 1rem;
}

.card__image {
  height: 4rem;
  width: 100%;

  align-content: center;
}

.card__image img {
  max-height: 100%;
  height: auto;
  max-width: 100%;
  width: auto;
  margin: 0 auto;
}

.card__content a {
  color: var(--seventh-color);
  background-color: var(--eighth-color);
}

.card__content a:hover {
  background-color: var(--third-color);
  color: var(--seventh-color);
}

.card__content a:hover img {
  filter: invert(0%);
}

.version .card {
  background-image: url(../img/Habanero_Keyvisual.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center right;
  padding: 0;
}

.demo .card {
  background-image: url(../img/Demo.jpg);
}

.version .card__content {
  backdrop-filter: grayscale(1);
  transition: all 1s ease;
}

.card__content:first-child {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 75%;
}

.content-cards img {
  max-width: 100%;
  width: auto;
  max-height: 2.5rem;
  filter: invert(100%);
}

.main-game {
  background-image: url(../img/parallax/KV-Final-16x9.jpg);
  height: 18rem;
}

.card__content:last-child {
  padding: 1rem;
  background-color: var(--second-color);
}

.version .card__content {
  justify-content: flex-end;
}

.cards:hover > .version .card__content {
  backdrop-filter: grayscale(0);
  transition: all 1s ease;
}

.dlc-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
}

.dlc-item + .dlc-item .dlc-row {
  margin-top: 1rem;
}

/* Titel als Button gestylt wie vorher */
.dlc-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;

  background-color: var(--eighth-color);
  color: var(--seventh-color);
  height: 5.5rem;
  padding: 0 1.5rem;

  font-family: "Bebas Neue";
  font-size: 2.5rem;
  letter-spacing: 0.05rem;
  line-height: 1;
  border: 0;
  width: 100%;
  text-align: left;
  cursor: pointer;
  pointer-events: none;
}

/* Icon-Wrapper */
.dlc-title-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;

  color: currentColor; /* SVG übernimmt Textfarbe */
  transition: transform 250ms ease;
  flex-shrink: 0;
}

/* Rotation bei offenem Akkordeon */
.dlc-item.is-open .dlc-title-icon {
  transform: rotate(90deg);
}

/* Optional: Fokus sichtbar */
.dlc-title:focus-visible {
  outline: 2px solid var(--seventh-color);
  outline-offset: 2px;
}

.dlc-title:hover,
.dlc-title[aria-expanded="true"] {
  background-color: var(--third-color);
  color: var(--eighth-color);
}

.dlc-title .info {
  height: 100%;
  display: inline-block;
}

/* Right icon bar */
.dlc-actions {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
}

.dlc-actions .icon {
  width: 5.5rem;
  background-color: var(--seventh-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dlc-actions .logo {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Panel Animation */
.dlc-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 300ms ease;
}

/* Innenabstände im Panel (so bleibt padding nicht “mitanimiert” kaputt) */
.dlc-panel-inner {
  padding: 1rem 1.5rem;
  background: var(--eighth-color); /* oder was du willst */
  color: var(--seventh-color);
}

/* Wenn offen */
.dlc-item.is-open .dlc-panel {
  /* max-height wird per JS gesetzt (genau auf scrollHeight), das hier ist nur Fallback */
  max-height: 999px;
}

/* Motion-Preference */
@media (prefers-reduced-motion: reduce) {
  .dlc-panel {
    transition: none;
  }
}

.cr_input {
  height: 2.5rem;
  width: 100%;
  line-height: 46px;
  padding: 0px 20px;
  font-size: 20px;
  font-family: "Roboto Condensed", sans-serif;
  transition: all 300ms;
  text-align: center;
  text-decoration: none;
  color: #ffffff;
  background-color: transparent;
  transition: all 300ms;
  border: 2px solid var(--second-color);
  margin-bottom: 1rem;
  transform: var(--skew);
}

.cr_input::placeholder {
  color: var(--second-color);
}

.cr_button {
  margin-bottom: 1rem;
}
.cr_label {
  margin-bottom: 1rem;
  display: block;
}

.cr_button2 {
  border: none;
  width: 100%;
  padding: 0 1rem 1rem;
  font-family: "Roboto Condensed", sans-serif;
  color: #ffffff;
  font-weight: 400;
  text-align: center;
  text-transform: none;
  cursor: pointer;
}

.logo-one {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 1rem;
}

#social-nav {
  display: block;
  width: 3.5rem;
  height: 3.5rem;
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
}
.social-icon {
  color: var(--eighth-color);
}

.social-icon svg {
  width: 100%;
  height: 100%;
  background-color: var(--third-color);
  padding: 0.25rem;
  transform: var(--skew);
}

.social-icon:hover svg {
  background-color: var(--second-color);
}

.footerlogo img {
  height: auto;
  width: 100%;
  max-width: 12rem;
  padding: 1rem 0;
  display: block;
}

.footercontent a[href="#"] {
  pointer-events: none;
  cursor: default;
}

footer {
  padding-top: 5rem;
  padding-bottom: 20rem;
}

footer .bt {
  display: inline-block;
  margin-right: 0.5rem;
  font-size: 0.9rem;
}

.footercontent {
  margin-top: 8rem;
}
.footertext {
  font-size: 0.8rem;
  line-height: 1.4;
  margin-bottom: 1.5rem;
  text-align: justify;
}

#start-team p,
#start-gameinfo {
  text-align: justify;
}

sup {
  line-height: 0;
}

.social-buttons,
.social-buttons li {
  display: flex;
  padding: 0;
  margin: 0;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-buttons {
  width: 100%;
  list-style: none;
  margin-bottom: 2rem;
}

.social-buttons li {
  flex: 0 0 4rem;
}

.social-buttons a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  text-decoration: none;
  background-color: var(--second-color);
}

.social-buttons a:hover {
  background-color: var(--third-color);
}

.social-buttons img {
  max-height: 4rem;
}

/* Animation */
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.logos {
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  background: #fff;
}

.logos-track {
  display: flex; /* wichtig für 2 Hälften nebeneinander */
  width: max-content;
  animation: marquee 30s linear infinite;
  will-change: transform;
}

.logos:hover .logos-track {
  animation-play-state: paused;
}

/* Fade links/rechts */
.logos::before,
.logos::after {
  content: "";
  position: absolute;
  top: 0;
  width: 200px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.logos::before {
  left: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 0), #fff);
}
.logos::after {
  right: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), #fff);
}

.logos-slide {
  display: flex;
  flex: 0 0 auto;
  padding: 1rem 0;
}

/* Basis */
.logos-slide a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
  border-radius: 1rem;

  transform: scale(1);
  opacity: 1;
  background: transparent;

  transition:
    transform 800ms ease,
    opacity 800ms ease,
    background 800ms ease;
}

.logos-slide img {
  height: 2rem;
  filter: grayscale(1);
  transition: filter 800ms ease;
}

/* Highlight (Center oder Hover) */
.logos-slide a.is-center,
.logos-slide a:hover {
  transform: scale(1.5);
  opacity: 1;
  z-index: 5;

  background: #ffffff;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 1) 20%,
    rgba(255, 255, 255, 1) 80%,
    rgba(255, 255, 255, 0) 100%
  );
}

.logos-slide a.is-center img,
.logos-slide a:hover img {
  filter: grayscale(0);
}

/* Nicht gehighlightete Logos */
.logos-slide a:not(.is-center):not(:hover) {
  opacity: 0.25;
}

/* Hover etwas stärker im Vordergrund */
.logos-slide a:hover {
  z-index: 10;
}

/* ✅ Wenn anderes Logo als Center gehovert wird -> Center zurück in Normalzustand */
.logos.suppress-center .logos-slide a.is-center {
  transform: scale(1);
  opacity: 0.25;
  z-index: 1;
  background: transparent;
}
.logos.suppress-center .logos-slide a.is-center img {
  filter: grayscale(1);
}

/*-----Flare---*/
.flare-box {
  position: relative;
}

/* Flare-Overlay */
.flare-box::after {
  content: "";
  position: absolute;
  top: -19px;
  left: -20%;
  width: 80%;
  height: 2.5rem; /* sichtbarer Kantenbereich */
  pointer-events: none;

  background: url("../img/flare.png") no-repeat center;
  background-size: contain;

  opacity: 0;
  transform: translateX(0);
}

.flare-box.in-view:after {
  animation: flare-edge-once 1.8s ease-in-out forwards;
}

@keyframes flare-edge-once {
  0% {
    transform: translateX(-20%);
    opacity: 0.05;
  }
  35% {
    opacity: 0.25;
  }
  70% {
    opacity: 0.7;
  }
  100% {
    transform: translateX(80%);
    opacity: 1;
  }
}

@media screen and (max-width: 117rem) {
  .logo-head {
    padding: 1.5rem 2rem;
  }
  .logo-head img {
    height: 4.5rem;
  }
}
@media screen and (max-width: 102.5rem) {
  .logo-head {
    padding: 1rem 1.5rem;
  }
  .logo-head img {
    height: 3.25rem;
  }
}

@media screen and (max-width: 92.5rem) {
  .flex-container {
    flex-direction: column-reverse;
  }

  .ham {
    display: block;
    height: 4rem;
    margin-left: 1rem;
  }
  #primary-nav {
    display: none;
    transition: all 300ms ease;
    width: 100%;
  }

  nav {
    align-items: center;
    transition: all 300ms ease;
    gap: 1.5rem;
    height: unset;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  nav img.logo {
    width: auto;
  }

  .ham.active ~ #primary-nav {
    display: flex;
    flex-direction: column;
    transition: all 300ms ease;
    flex: 0 0 100%;
    align-items: center;
    gap: 0.5rem;
    min-height: 100vh;
  }
  #primary-nav a#to-shop {
    margin-left: 0;
  }

  #primary-nav a {
    text-align: center;
    padding: 0.5rem;
    margin: 0;
  }

  #primary-nav a {
    min-width: 16rem;
    margin-left: 0;
    padding: 0.5rem 1rem;
  }
  a#to-home {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media screen and (max-width: 58.75rem) {
  .parallax > .container > img:not(#logo) {
    display: none;
  }

  .parallax > .container > img.mobile-img {
    display: block !important;
    object-position: center center;
  }
  .parallax .container {
    max-width: 35rem;
  }

  .play-button-helper:before,
  .play-button-helper:after {
    top: 2rem;
    right: 2rem;
  }

  .play-button-helper:before {
    width: 3rem;
    height: 3rem;
  }

  .play-button-helper:after {
    border-width: 1rem 0 1rem 1.5rem;
    width: 1rem;
    height: 1rem;
  }
}

@media screen and (max-width: 45rem) {
  nav img.logo {
    max-height: 4rem;
  }
  .languagepicker,
  .ham {
    height: 3rem;
  }
  .languagepicker li {
    line-height: 3rem;
  }

  header {
    padding-top: 8rem;
    padding-bottom: 4rem;
  }
  #primary-nav a {
    font-size: 1.2rem;
  }
  .dlc-actions .icon {
    width: 100%;
    height: 5rem;
  }

  .dlc-title {
    height: 5rem;
    font-size: 2rem;
    line-height: 3rem;
  }
  .dlc-row {
    grid-template-columns: 1fr; /* nur eine Spalte */
    grid-template-rows: auto auto; /* Titel oben, Actions unten */
    align-items: stretch;
  }
  .dlc-actions {
    justify-content: space-between; /* linksbündig, optional */
    padding: 0.5rem 0; /* optional Abstand */
    gap: 0.5rem;
  }
  .dlc-actions .logo {
    max-height: 100%;
    width: auto;
  }
}
@media screen and (max-width: 39.99rem) {
  section,
  footer {
    padding: 5rem 1.5rem 3rem 1.5rem;
  }

  .logo-head img {
    height: 2.5rem;
  }
  .languagepicker li span {
    display: none;
  }

  .languagepicker li img {
    margin-right: 0;
  }

  #start-newsletter p {
    margin-bottom: 1rem;
  }

  .footerlogo img {
    max-width: 9rem;
  }

  .parallax .container {
    max-width: 100%;
    margin-left: auto;
    padding: 2rem;
  }
  h1 {
    font-size: 4rem;
    -webkit-text-stroke-color: var(--seventh-color);
    -webkit-text-stroke-width: 1px;
  }
}
@media screen and (max-width: 33rem) {
  .logo-head {
    padding: 0.75rem 1rem;
  }
  .logo-head img {
    height: 2rem;
  }
  nav {
    gap: 1rem;
  }

  .social-buttons li {
    flex: 1 0 30%;
  }

  .dlc-title {
    width: 100%;
  }

  nav img.logo {
    height: 3rem;
  }

  .languagepicker {
    height: 2.5rem;
  }

  .languagepicker li {
    line-height: 2.5rem;
    padding: 0 0.5rem;
  }

  .languagepicker li img {
    height: 1.5rem;
  }
  .ham {
    height: 2.5rem;
    padding: 0.25rem;
  }
  nav img.logo {
    max-height: 3rem;
  }

  .logo-one {
    flex-wrap: wrap;
    flex-direction: column;
    gap: 0;
  }

  .logos-slide img {
    height: 1.25rem;
  }
  .logos-slide a {
    padding: 1.5rem 2.5rem;
  }
}
