@import "icons.css";

[class^="icon-"],
[class*=" icon-"] {
  font-size: 1.2rem;
  display: inline-flex;
}

@font-face {
  font-family: "Spyagency";
  src: url("fonts/spyagency.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Spyagency Bold";
  font-weight: bold;
  src: url("fonts/spyagency_bold.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Spyagency Ital";
  font-weight: bold;
  src: url("fonts/spyagency_boldital.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Lato";
  src: url("fonts/Lato-Regular.woff2") format("woff2");
  font-display: swap;
}

:root {
  --bg-background: #fff;
  --black: #333;
  --light-black: #737373;
  --box-color: #f80202;
  --box-color-light: rgba(248, 2, 2, 0.2);
  --box-font-color: #ee2e34;
  --invalid-color: #e63946;
  --valid-color: #12ce1b;

  --light-blue: #edf2f4;

  --cookie-background: #004581;
  --cookie-background-shadow: rgba(31, 38, 135, 37%);

  --box-shadow:
    0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);

  --white: #fff;
  --br-sm: 6px;

  --tr1: #f80202;
  --tr2: #fb9501;
  --trlite: #fde325;
  --trmax: #8dc442;
  --trk: #00ccfd;
  --trg: #ff04f2;

  --font-regular: "Lato", sans-serif;
  --font-normal: "Spyagency", "Lato", sans-serif;
  --font-ital: "Spyagency Ital", "Lato", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font: inherit;
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 170px;
}

body {
  min-height: 100vh;
  background-color: var(--bg-background);
  color: var(--black);
  font-family: var(--font-regular);
  display: flex;
  flex-direction: column;
  overscroll-behavior: none;
}
body.nav_active {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

p {
  font-size: clamp(1rem, 0.9rem + 1vw, 1.3rem);
  padding-bottom: 10px;
  font-family: "Lato", "Poppins", sans-serif !important;
}

li {
  padding: 5px 0 5px 10px;
  font-size: clamp(1rem, 0.9rem + 1vw, 1.3rem);
  margin-left: 30px;
}
strong,
strong > span {
  font-weight: 600;
  font-size: inherit;
  display: inline-block;
}
b {
  font-weight: 600;
}
hr {
  margin: 25px 0;
}
label.disabled > strong,
label.disabled span {
  opacity: 0.5;
}
a {
  color: var(--black);
  font-size: inherit;
  text-decoration: none;
  cursor: pointer;
  text-decoration: underline;
}
h1 {
  font-size: 3rem;
  font-family: var(--font-ital);
  padding: 15px 0;
  margin-top: 15px;
  letter-spacing: 2px;
  hyphens: auto;
}

h2 {
  font-size: 2rem;
  font-family: var(--font-ital);
  letter-spacing: 2px;
  padding: 15px 0;
}
.subtitle {
  position: relative;
  padding: 15px 0 15px 30px;
}
.subtitle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 25px;
  height: 4px;
  background-color: var(--box-color);
}

h3 {
  font-size: 1.7rem;
  font-family: "Spyagency", sans-serif;
  letter-spacing: 2px;
  padding: 10px 0 5px 0;
}
:is(h1, h2, h3) span {
  font-size: inherit;
}

.tr1 {
  color: var(--tr1) !important;
}
.tr2 {
  color: var(--tr2) !important;
}
.trlite {
  color: var(--trlite) !important;
}
.trmax {
  color: var(--trmax) !important;
}
.trk {
  color: var(--trk) !important;
}
.trg {
  color: var(--trg) !important;
}

.hidden_elem {
  display: none;
}

.btn {
  outline: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px 14px;
  border-radius: var(--br-sm);
  font-size: 1.2rem;
  font-weight: 600;
  min-width: 200px;
  text-align: center;
  text-decoration: none;
  color: var(--black);
}

.btn:focus {
  outline: 2px solid var(--black);
  outline-offset: 2px;
}

.btn__primary {
  background-color: var(--box-color);
  color: #fff;
}

.btn__primary:hover {
  background-color: #ff0000;
}

.btn__secondary {
  background-color: var(--black);
  color: #fff;
}

.btn__secondary:hover {
  background-color: #0d0d0d;
}

.btn__tertiary {
  border: 2px solid var(--black);
  min-width: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.btn__tertiary:hover {
  background-color: var(--black);
  color: var(--bg-background);
}

.btn__back {
  display: inline-flex;
  align-items: center;
  box-shadow: none;
  cursor: pointer;
  background: none;
  outline: none;
  border: none;
  gap: 10px;
  opacity: 1;
  width: fit-content;
}

.btn__back span {
  width: 20px;
  height: 3px;
  margin: 4px 0;
  position: relative;
  background-color: var(--black);
  transition: 0.5s;
}

.btn__back span::before,
.btn__back span::after {
  content: "";
  width: 15px;
  height: 3px;
  background: var(--black);
  position: absolute;
  top: -4px;
  right: -3px;
  transform: rotate(45deg);
}

.btn__back span::after {
  bottom: -5px;
  top: inherit;
  transform: rotate(-45deg);
}
.btn__back:not(.animation):hover span {
  transform: translateX(8px);
}

.btn__back.btn__back__bg {
  background-color: var(--black);
  border-radius: var(--br-sm);
  color: #fff;
  display: inline-flex;
  margin-top: 20px;
}
.btn__back.btn__back__bg span,
.btn__back.btn__back__bg span::before,
.btn__back.btn__back__bg span::after {
  background-color: #fff;
}

.btn__back.animation {
  transition: 0.5s;
}
.btn__back.animation:hover {
  transform: translateX(8px);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  color: var(--black);
  z-index: 5;
}
.topnav {
  position: relative;
  background-color: var(--black);
  color: #fff;
  width: 100%;
  padding: 10px;
  z-index: 5;
}
.topnav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topnav a {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #fff;
  text-decoration: none;
}
.topnav .contact,
.topnav .social {
  display: flex;
  align-items: center;
  gap: 10px;
}
.topnav .contact a:hover {
  color: var(--black);
}
.topnav .social a:hover {
  color: var(--box-color);
}
.topnav::after {
  content: "";
  position: absolute;
  top: 0;
  left: -15px;
  width: 50%;
  height: 100%;
  transform: skew(-26deg);
  padding-left: 20px;
  background: var(--box-color);
  z-index: -1;
}
.lang__switcher {
  position: relative;
}
.lang__switcher img.indicator {
  position: absolute;
  top: 13px;
  left: 14px;
  width: 15px;
}
.lang__switcher .languageSwitcher {
  outline: none;
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  margin-left: 20px;
}
.lang__switcher .languages {
  display: none;
  position: absolute;
  top: 25px;
  right: 0;
  background-color: #fff;
  border-radius: var(--br-sm) 0 var(--br-sm) var(--br-sm);
  width: 150px;
  flex-direction: column;
  box-shadow: 4px 4px 30px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}
.lang__switcher .languages.open {
  display: flex;
}
.lang__switcher .languages button {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  color: var(--black);
  padding: 5px 10px;
  outline: none;
  background: none;
  border: none;
  cursor: pointer;
}
.lang__switcher .languages button:hover {
  background-color: var(--light-blue);
}
.lang__switcher img {
  width: 20px;
}

.navbar li {
  list-style: none;
  margin-left: 0;
}
.mainnav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #fff;
  border-radius: 0 0 10px 10px;
  padding: 15px !important;
  box-shadow: 4px 4px 30px rgba(0, 0, 0, 0.15);
  gap: 10px;
}
.navbar .logo {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  width: 310px;
}
.navbar .logo img.tr {
  width: 180px;
}
.navbar .logo img.autosport {
  width: 105px;
}
.nav-cta {
  border-radius: var(--br-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 2px solid var(--black);
}
.nav-cta:hover {
  background-color: var(--black);
  color: var(--white);
}
.nav__contact {
  width: 295px;
  display: flex;
  justify-content: flex-end;
}
.nav__contact a {
  width: fit-content;
}

.navbar .navigation {
  display: flex;
  font-size: 1.2rem;
  letter-spacing: 1px;
  font-weight: 600;
}
.navigation a {
  padding: 10px 14px;
  margin: 5px;
  outline: none;
  position: relative;
  text-decoration: none;
  font-size: 1.2rem;
}

.navigation a::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--black);
  transform-origin: bottom left;
  transition: transform 0.5s ease-out;
  transform: scaleX(0);
}
.nav-cta::after {
  display: none;
}

.navigation a:hover::after,
.navigation a:active::after,
.navigation a:focus::after,
.navigation a.active::after {
  transform: scaleX(1);
}

.navigation li:last-child {
  display: none;
}

.menu__toggle__container,
.menu_toggle {
  display: none;
}

.menu_toggle,
.menu_toggle:active,
.menu_toggle:focus {
  justify-content: center;
  flex-direction: column;
  align-items: center;
  position: relative;
  box-shadow: none;
  height: 50px;
  width: 50px;
  cursor: pointer;
}
.menu_toggle span {
  width: 25px;
  height: 3px;
  background: var(--black);
  margin: 2px 0;
  transition: 0.4s;
}

.navbar.open .menu_toggle span:nth-child(1) {
  transform: rotate(45deg);
  position: absolute;
}
.navbar.open .menu_toggle span:nth-child(2) {
  display: none;
}
.navbar.open .menu_toggle span:nth-child(3) {
  transform: rotate(-45deg);
}

/* Hero */
.intro__container {
  width: calc(100% - 30px);
  height: calc(100vh - 20px);
  position: relative;
  background: url("/images/trophyracing_2024.jpg") no-repeat;
  background-size: auto;
  margin: 50px auto 0 auto;
  max-width: 1370px;
  background-position: center;
  background-size: cover;
  background-color: #0d0d0d;
}

.intro__logo img {
  position: absolute;
  top: 140px;
  left: 51%;
  transform: translate(-50%);
  z-index: 2;
  width: 560px;
}

.intro__text {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  position: absolute;
  bottom: 100px;
  color: var(--white);
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 90%;
}

.intro__text div {
  font-family: var(--font-ital);
  font-size: 1.8rem;
}

pattern image {
  width: 100%;
  height: auto;
}

section {
  margin: 50px auto 25px auto;
}

.container {
  width: 100%;
  max-width: 1400px;
  padding: 0 15px;
  margin-left: auto;
  margin-right: auto;
}
.container.extend {
  margin-top: 160px;
}
section.container:not(#about) {
  padding: 0 30px;
}
.container.sponsoren p:nth-of-type(2) {
  display: none;
}
.container.sponsoren.active p:nth-of-type(2) {
  display: block;
}

/* News-Box */
#newsbox {
  margin-top: 30px;
}
.news__box {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin: 40px 0;
}
.news__item {
  min-height: 275px;
  flex: 1 0 340px;
  box-shadow: 0px 5px 30px 0px rgba(137, 139, 143, 0.1);
  border-top: 4px solid var(--box-color);
  padding: 25px 20px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.news__item h3 {
  padding-bottom: 20px;
}
.statistik__box {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.statistik__item {
  display: flex;
  align-items: center;
  flex-direction: column;
  margin-bottom: 35px;
  width: calc(50% - 10px);
  justify-content: space-between;
}
.statistik__item .statistik__count {
  font-size: 2.2rem;
  margin: 5px 0 2px 0;
  color: var(--box-color);
}
.statistik__item .statistik__text {
  font-size: 1.3rem;
}
.statistik__item span {
  font-size: 50px;
  color: var(--box-color);
}
.switcher .top3,
.switcher.active .statistiken {
  display: none;
}
.switcher.active .top3 {
  display: block;
}
.switcher button {
  position: absolute;
  top: 20px;
  right: 25px;
}
.switcher .dot {
  width: 10px;
  height: 10px;
  background: var(--black);
  border-radius: 50%;
}
.switcher:not(.active) .dot:nth-child(1) {
  background-color: var(--box-color);
}
.switcher.active .dot:nth-child(2) {
  background-color: var(--box-color);
}

.standings .top3 h3 {
  text-align: center;
}
.top3__box {
  display: flex;
  justify-content: center;
  min-height: 320px;
}
.top3__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 33%;
  max-width: 150px;
}
.top3__item.silver img {
  top: 20px;
}
.top3__item.bronze img {
  top: 30px;
}
.top3__item img {
  position: absolute;
  top: 0;
  width: 100px;
  border-radius: 50%;
  object-fit: cover;
  height: 100px;
  object-position: top;
}
.top3__item.silver .top3__balken {
  background-color: #b4b4b4;
}
.top3__item.bronze .top3__balken {
  background-color: #9f7a34;
}
.top3__item .top3__balken {
  position: absolute;
  top: 80px;
  width: 75px;
  height: 200px;
  background-color: #d4af37;
  z-index: -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 5px;
  color: #fff;
}
.top3__driver {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.8rem;
  margin-bottom: 25px;
  height: 130px;
}
.top3__balken span {
  color: #fff;
  position: absolute;
  bottom: 5px;
  font-weight: 600;
}

.racing__tracks img {
  height: auto;
  margin: auto;
  max-width: 215px;
}
.racing__tracks {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}
.racing__tracks a {
  flex: 1 0 150px;
}
.sponsoren__box {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  min-height: 175px;
}
.sponsoren__box a {
  width: 240px;
  display: flex;
  align-items: center;
  margin: 0 auto;
}
.sponsoren__link {
  display: flex;
  justify-content: flex-end;
  height: 100%;
  margin-top: 10px;
}
.sponsoren__link a {
  justify-content: flex-end;
  margin-top: auto;
}

/* Rennkalender */
.racing__entry {
  color: var(--black);
  border-radius: var(--br-sm);
  margin-bottom: 20px;
  transition: 0.5s;
  position: relative;
  border: 2px solid var(--black);
  overflow: hidden;
}
.racing__entry.past {
  opacity: 0.7 !important;
}
.racing__entry.past .entry__icon {
  transform: rotate(-90deg);
}

.racing__entry.animate {
  transform: translateX(-30%);
  transition:
    opacity 1s ease,
    transform 1s ease;
}
.racing__entry.show {
  opacity: 1;
  transform: translateX(0);
}

.racing__entry.endurance {
  background-color: rgba(248, 2, 2, 0.1);
}

.racing__entry.endurance::before {
  content: " ";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0.2;
  z-index: -1;
  background-image: url("/images/12hrace_logo.jpeg");
  background-repeat: no-repeat;
  background-position: 50% 20%;
  background-size: cover;
}

.racing__entry:not(.active) .entry__item:hover {
  background-color: #eee;
}

.entry__item {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 15px 20px;
  cursor: pointer;
}
.entry__name {
  margin-top: -10px;
}
.entry__date {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.entry__image {
  width: 120px;
  height: 80px;
  background: var(--black);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  font-size: 1.2rem;
  border-radius: var(--br-sm);
  text-align: center;
}
.entry__navigation {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-left: auto;
  margin-right: 35px;
}
.entry__available__seats {
  background-color: #12ce1b75;
  border-radius: 5px;
  padding: 2px 5px;
}
.entry__available__seats.red {
  --transparency: (0.5);
  background-color: rgba(248, 2, 2, var(--transparency));
  color: var(--white);
}
.entry__icon {
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 20px solid var(--black);
  transition: 0.5s;
}
.racing__entry.active .entry__icon {
  transform: rotate(180deg);
  border-top-color: #111;
}

.racing__entry .entry__details {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s;
}
.racing__entry .entry__details > div {
  overflow-x: auto;
  overscroll-behavior: auto;
}
.racing__entry.active .entry__details {
  margin: 0 0 25px 0;
  padding: 10px 20px 20px 20px;
  grid-template-rows: 1fr;
}

.entry__map iframe {
  width: 100%;
}

.entry__infos {
  font-size: clamp(1rem, 0.9rem + 1vw, 1.3rem);
}

.karte-standort,
.default__map {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  background: var(--black);
  min-height: 450px;
  max-width: 600px;
  padding: 0 10px;
  color: var(--white);
  border-radius: var(--br-sm);
}
.karte-standort a {
  color: inherit;
  text-decoration: underline;
}
.refresh-btn {
  font-size: 1rem;
  color: var(--white);
  opacity: 0.8;
}
.refresh-btn:hover {
  opacity: 1;
}
.default__map {
  min-height: 300px;
}
.default__map img {
  max-width: 250px;
}

/* Preis-Tabelle */
.offer__box {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  justify-content: center;
  margin: 20px 0;
}
.offer__item {
  min-height: 240px;
  min-width: 240px;
  box-shadow: 4px 4px 30px rgba(0, 0, 0, 0.15);
  background-color: var(--offer-bg, rgba(0, 0, 0, 0.9));
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 15px 25px 25px 25px;
}
.offer__item.trguest {
  color: var(--black) !important;
}
.offer__item:hover {
  box-shadow: 4px 4px 30px rgba(0, 0, 0, 0.6);
}
.offer__box .top {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
}

.offer__box .top h2 {
  font-size: 3rem;
}
.offer__box .top span,
.wb-modal h1 span {
  font-size: inherit;
}

.offer__box .lateapex {
  background-color: var(--black);
  color: #fff;
}

.offer__box .bottom {
  height: calc(100% - 100px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
ul {
  padding: 10px 0;
}

.btn__details {
  position: relative;
  background: none;
  outline: none;
  border: none;
  width: fit-content;
  text-decoration: none;
  cursor: pointer;
  background: var(
    --detail-color,
    -webkit-linear-gradient(0, rgb(248, 2, 2) 0%, rgba(251, 236, 1, 0.8) 100%)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: auto 0 15px 0;
  font-size: 1.2rem;
}
.btn__details:not(.info__mark)::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 2px;
  background: var(
    --detail-color,
    -webkit-linear-gradient(0, rgb(248, 2, 2) 0%, rgba(251, 236, 1, 0.8) 100%)
  );
}
.btn__details.info__mark {
  position: absolute;
  top: 5px;
  right: -10px;
}

.offer__box .bottom .price {
  font-weight: 600;
  text-align: center;
  font-size: 2.5rem;
  letter-spacing: 2px;
  height: 80px;
  position: relative;
}

.offer__box .bottom .headline {
  text-transform: uppercase;
  padding-bottom: 0;
  text-align: center;
  line-height: 1.4;
  min-height: 80px;
  max-width: 350px;
  word-break: auto-phrase;
  margin-bottom: 20px;
  font-size: 1rem;
  font-weight: 600;
}

.offer__box a {
  font-family: var(--font-ital);
  border-radius: 5px;
  padding: 15px;
  background: var(
    --letsgo-color,
    -webkit-linear-gradient(0, rgb(248, 2, 2) 0%, rgba(251, 236, 1, 0.8) 100%)
  );
  color: var(--button-color, #fff);
  text-transform: uppercase;
  font-size: 1.5rem;
}

.offer__box a:hover {
  background: var(
    --letsgo-color,
    -webkit-linear-gradient(0, rgb(248, 2, 2) 0%, rgba(251, 236, 1, 0.8) 100%)
  );
  scale: 1.02;
}

.ribbon {
  position: absolute;
  display: block;
  background: var(--ribbon-bg, var(--box-color));
  color: #fff;
  text-decoration: none;
  padding: 5px;
  text-align: center;
  width: 160px;
  transform: rotate(45deg);
  top: 16px;
  right: -50px;
}

/* Quiz */
.quiz__item {
  padding: 15px 0;
  display: none;
}
.quiz__item:first-child {
  display: block;
}
.quiz__item .question,
.quiz__item .answer {
  font-size: clamp(1rem, 0.9rem + 1vw, 1.3rem);
  padding: 5px 0;
}
.quiz .result {
  background: var(--black);
  border-radius: var(--br-sm);
  color: #fff;
  padding: 0 15px 10px 15px;
  margin-top: 20px;
}
.quiz .result:empty {
  display: none;
}
.quiz .result p,
.quiz .result h3 {
  display: none;
}
.quiz button {
  min-width: 0;
  width: calc(50% - 5px);
  max-width: 175px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.quiz button.active {
  background-color: #12ce1b;
}

/* About - Über uns */
.about__gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
}
.about__gallery .break {
  flex-basis: 100%;
  height: 0;
}
.about__item {
  position: relative;
  width: 250px;
  margin: 0 auto;
}

.about__item:first-child,
.about__item:nth-last-child(2) {
  margin-left: auto;
  margin-right: 80px;
}
.about__item:nth-child(2),
.about__item:last-child {
  margin-right: auto;
  margin-left: 80px;
}
.about__image {
  height: 320px;
}

.about__image img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.about__name {
  font-weight: 600;
  padding: 5px 0;
}
.about__gallery button {
  font-size: 1rem;
  padding-left: 0px;
  transition: transform 0.5s;
  color: var(--black);
  display: flex;
  align-items: center;
}
.about__gallery button:hover {
  transform: scale(1.02);
}
.about__infos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.about__infos img {
  max-width: 120px;
  height: 60px;
  object-fit: contain;
  margin-top: 2px;
}
.about__text {
  display: none;
  box-shadow: 4px 4px 30px rgba(0, 0, 0, 0.15);
  border-radius: var(--br-sm);
  padding: 15px 15px;
  margin-top: -150px;
}
.about__text ul {
  padding-top: 60px;
}
.about__item.active .about__text {
  display: block;
}
.about__item.active .about__infos {
  padding: 50px 15px 0 15px;
}
.about__item.active .btn__more {
  visibility: hidden;
  opacity: 0;
}
.about__item.active .about__infos img {
  position: absolute;
  top: 330px;
  right: 60px;
  transform: rotate(-90deg);
  transform-origin: top right;
  will-change: transform;
}

:is(form, .flex__box) input,
:is(form, .flex__box) select,
:is(form, .flex__box) textarea {
  border: 1px solid var(--black);
  color: var(--black);
  outline: none;
  box-shadow: none;
  padding: 8px 12px;
  border-radius: var(--br-sm);
  position: relative;
  resize: vertical;
}
:is(form, .flex__box) select {
  padding-top: 7px;
  padding-bottom: 7px;
}
:is(form, .flex__box) input:focus,
:is(form, .flex__box) select:focus,
:is(form, .flex__box) textarea:focus {
  filter: drop-shadow(0 0 2px rgba(51, 51, 51, 0.8));
}
form input[type="text"],
form input[type="email"],
form input[type="tel"],
form input[type="date"] {
  width: 100%;
  padding: 8px 12px;
}
form input[type="date"] {
  min-width: 0;
  max-width: 100%;
  height: 37px;
  -webkit-appearance: none;
  appearance: none;
}
:is(form, .flex__box) label {
  font-weight: 600;
  font-size: 0.85rem;
  margin: 4px 0 2px 0;
}
.flex__box__item-checkbox > label {
  font-weight: 500;
  font-size: 1rem;
}
:is(form, .flex__box) textarea {
  min-height: 35px;
}

::placeholder {
  color: #bbb;
  font-weight: 500 !important;
}

form input:read-only {
  background-color: #e6e6e6;
}

.flex__box {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
}
[class^="flex__box__item"] {
  display: flex;
  flex-direction: column;
  padding: 2px 0;
  position: relative;
  margin-top: 5px;
}
.flex__box__item-30 {
  width: calc(30% - 10px);
}
.flex__box__item-50 {
  width: calc(50% - 10px);
}
.flex__box__item-70 {
  width: calc(70% - 10px);
}
.flex__box__item-100 {
  width: 100%;
}

.flex__box__item-checkbox {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  width: 100%;
}
.flex__box__item-checkbox label {
  width: calc(100% - 40px);
  margin-top: -2px;
}

/* Sponsoren */
.carousel__container {
  display: flex;
  overflow: hidden; /* Hide overflowing content */
}
.carousel .flex__box__item-70,
#teamsponsoren .flex__box__item-70 {
  max-width: 800px;
  margin-left: auto;
}
.sponsor__previews {
  display: flex;
  transition: transform 0.5s ease-in-out;
  transform: translateX(0);
  width: 100%;
}
.sponsor__preview {
  display: flex;
  gap: 15px;
  flex: 0 0 100%;
  position: relative;
  flex-direction: column;
}
.sponsor__preview.active {
  transform: translateX(0);
}

.sponsor__preview .main__sponsor__box {
  width: 100%;
  background-color: var(--light-black);
  color: #fff;
  padding: 15px;
}
.sponsor__preview .main__sponsor__box .btn {
  background-color: #fff;
  width: 200px;
  display: flex;
  justify-content: center;
}
.main__sponsor__box .title,
.main__sponsor__information h3 {
  font-size: 1.5rem;
  padding-bottom: 15px;
  font-family: "Spyagency";
}
.main__sponsor__information .toggle__services {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 1s;
}
.main__sponsor__information .toggle__services > div {
  overflow: hidden;
}
.main__sponsor__information.active .toggle__services {
  grid-template-rows: 1fr;
}

.main__sponsor__logo {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  min-height: 115px;
  margin-left: auto;
}
.main__sponsor__logo a {
  width: 50%;
}
.main__sponsor__logo img {
  max-height: 225px;
  margin-left: auto;
  object-fit: contain;
}

.logo__box {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  transition: transform 0.3s ease-in-out;
}
.logo__box a,
.logo__box img {
  max-width: 200px;
  margin: auto;
  cursor: pointer;
}
.carousel .logo__box img {
  filter: opacity(0.5);
}
.carousel .logo__box img.active {
  filter: opacity(1);
}
.carousel__box {
  display: flex;
  flex-direction: column;
  margin-top: 40px;
}
.carousel__arrows {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 70px;
  margin: 15px 0 25px 0;
}
.carousel__arrows span {
  background-color: rgb(51, 51, 51, 0.5);
  color: #fff;
  height: 35px;
  width: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.carousel__arrows span:hover {
  background-color: var(--black);
}
.main__sponsor__information {
  width: 100%;
  border-top: 4px solid var(--bg-box, var(--box-color));
  background-color: var(--bg-box-light, var(--box-color-light));
  padding: 15px;
  box-shadow: 0px 5px 30px 0px rgba(137, 139, 143, 0.1);
}

.btn__sponsor__information {
  display: inline-flex;
  align-items: center;
  color: inherit;
  font-size: 1rem;
  padding-left: 0px;
}
.no-logo {
  background-color: var(--light-blue);
  padding: 8px 14px;
  text-align: center;
}

/* Footer */
footer {
  margin-top: auto;
  width: 100%;
}
.footer__box-top {
  position: relative;
  margin-top: 50px;
  border-radius: var(--br-sm) var(--br-sm) 0 0;
  box-shadow: 4px 4px 30px rgba(0, 0, 0, 0.15);
  padding-top: 15px;
}
.footer__box-top::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("/images/race_flag.jpg") no-repeat;
  z-index: -1;
  opacity: 0.1;
}
.footer__box-bottom a {
  color: #fff;
}
.footer__box-bottom {
  background-color: var(--black);
  color: #fff;
  padding: 15px 0;
  text-align: center;
}
.footer__title-company {
  font-size: 1.5rem;
  font-family: "Spyagency", sans-serif;
  padding: 0 0 15px 0;
}
.footer__copyright__legal {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  height: 100%;
  padding-bottom: 5px;
}
.newsletter__box {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin: 15px 0 30px 0;
}
.newsletter__email {
  flex: 1;
}
.newsletter__email input {
  border-radius: var(--br-sm) 0 0 var(--br-sm);
  height: 40px;
}
.newsletter__box button {
  border-radius: 0 var(--br-sm) var(--br-sm) 0;
  min-width: 60px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.newsletter__box button i {
  margin-left: -7px;
}

.sticky__chat {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 2;
}
.sticky__chat .question__mark {
  font-family: var(--font-ital);
  position: absolute;
  top: -5px;
  right: -5px;
}
.sticky__chat .question__mark span {
  font-size: 2rem;
}
.sticky__chat .contact {
  background-color: #fff;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  overflow: hidden;
  box-shadow: 5px 5px 7px rgba(33, 33, 33, 0.2);
}
.sticky__chat img {
  object-position: 0 -10px;
}

.sticky__evo {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 2;
  background-color: var(--light-blue);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  overflow: hidden;
  box-shadow: 5px 5px 7px rgba(33, 33, 33, 0.2);
  display: flex;
  flex-direction: column;
}
.sticky__evo .title {
  position: absolute;
  top: 63%;
  font-family: "Spyagency", sans-serif;
  z-index: 2;
  left: 50%;
  transform: translate(-50%);
}
.sticky__evo .title span {
  font-size: 1.3rem;
}
.sticky__evo .contact {
  padding-top: 5px;
}
.sticky__evo img {
  opacity: 0.4;
}

/* Start gallery */
.tab__navigation {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  background-color: var(--black);
  color: #fff;
  padding: 0;
  position: relative;
  z-index: 2;
}
.tab__navigation li {
  list-style: none;
  padding: 0;
  margin: 0;
}
.tab__navigation li a {
  text-align: center;
  padding: 15px;
  width: 125px;
  color: #fff;
  text-decoration: none;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.tab__navigation li a:hover {
  background-color: #e63946;
}
.tab__navigation li a.active {
  background-color: var(--box-color);
}
.tab__navigation li a.active span {
  color: #fff !important;
}
.standings .tab__navigation li a {
  font-size: 2rem;
  width: 175px;
  font-family: var(--font-ital);
  letter-spacing: 2px;
}
.standings .tab__navigation li a span,
.standings h2 span {
  font-size: inherit;
  color: #fff;
}
.container__gallery .box {
  flex-basis: 30%;
  background: var(--background-blue);
  height: 150px;
  padding: 10px;
  margin-top: 30px;
  font-size: 1.1rem;
  border-radius: 5px;
}
.container__gallery .box ul {
  list-style: none;
  padding: 0;
}
#gallery {
  margin-bottom: 30px;
}
#gallery h2 {
  margin-top: 15px;
}
#gallery img {
  width: 33%;
  height: 350px;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
  cursor: pointer;
  display: inline-block;
}
#gallery h3 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

#gallery img:hover {
  transform: scale(1.02);
}

#gallery .image__content.left.animate img {
  transform: translateX(-30%);
  transition:
    opacity 1s ease,
    transform 1s ease;
  transition-delay: var(--delay, 100ms);
}
#gallery .image__content.right.animate img {
  transform: translateX(30%);
  transition:
    opacity 1s ease,
    transform 1s ease;
  transition-delay: var(--delay, 100ms);
}
#gallery .image__content.animate.show img {
  opacity: 1;
  transform: translateX(0);
}

#lbOuter {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgb(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: all ease 0.3s;
  z-index: 10;
}

#lbOuter.show {
  opacity: 1;
  visibility: visible;
}

body.hide {
  overflow-y: hidden;
}
body.hide::-webkit-scrollbar {
  display: none; /* for Chrome, Safari, and Opera */
}

.lg-img {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100vw;
  height: 100vh;
  margin-top: 40px;
}

#lbOuter .arrows {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--black);
  outline: none;
  border: 2px solid var(--black);
  color: #fff;
  cursor: pointer;
}
#lbOuter .arrows span {
  font-size: 1.5rem;
  padding: 8px 12px;
}
#lbOuter .arrows.prev {
  left: 0;
}
#lbOuter .arrows.next {
  right: 0;
}

.sm-gallery {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 5px;
}

.sm-gallery img {
  width: 75px;
  height: 50%;
  cursor: pointer;
}

#text-box {
  color: var(--white);
  font-size: 1.1rem;
}

.close {
  background: var(--black);
  outline: none;
  border: none;
  font-size: 2.5rem;
  color: #fff;
  position: absolute;
  top: 30px;
  right: 50px;
  width: 65px;
  height: 65px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
}

#lbInner {
  position: relative;
}

#lbInner img {
  width: 65vw;
  max-height: 65vh;
  object-fit: cover;
}
#lbInner img.vertical {
  width: 100%;
  max-height: 75vh;
}
.standings #lbInner img {
  width: auto;
}

#lbInner::before {
  content: attr(data-id);
  position: absolute;
  bottom: 0;
  right: 0;
  box-sizing: border-box;
  padding: 5px 10px;
  width: 100%;
  font-size: clamp(0.8rem, 0.5rem + 2vw, 1.3rem);
  background: #23272bab;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  z-index: 1;
  color: #fff;
}
#lbInner.no-before::before {
  content: none;
}
.image__content {
  padding-bottom: 30px;
  overflow: hidden;
}
.btn__gallery {
  color: var(--black);
  font-weight: 500;
  font-size: 1rem;
  font-family: "Lato", "Poppins", sans-serif;
  letter-spacing: 1px;
  padding: 5px 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.btn__gallery:hover {
  font-weight: 600;
}

/* Anmelden */
.category__select {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
}
.category__card {
  border: 2px solid var(--light-blue);
  border-radius: var(--br-sm);
  padding: 12px 16px;
  transition: 0.2s ease;
}
.category__card:has(input[type="radio"]:checked) {
  border-color: var(--box-color);
  background-color: var(--box-color-light);
}
.category__card input[type="radio"] {
  accent-color: var(--box-color);
  width: 18px;
  height: 18px;
  cursor: pointer;
  min-height: auto;
}
label.category__card__control {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  margin: -12px -16px;
  padding: 12px 16px;
  cursor: pointer;
}
.category__card__top {
  display: flex;
  align-items: center;
  gap: 10px;
}
.category__card__top strong {
  flex: 1;
  min-width: 0;
}
.category__card__price {
  flex-shrink: 0;
  font-weight: 600;
  white-space: nowrap;
  margin-bottom: auto;
  text-align: right;
}
.category__card__top .price-hint {
  font-size: 0.78rem;
  font-weight: 500;
  display: block;
  margin-top: -2px;
  color: var(--light-black);
}
.teamsponsor__price .price-hint {
  color: var(--valid-color);
  font-size: 0.85rem;
}
.category__card__desc {
  display: flex;
  justify-content: space-between;
  color: var(--light-black);
  font-size: 0.9rem;
  font-weight: 500;
}
.single__races__box {
  display: none;
  padding-left: 0;
  margin-top: 6px;
  border-top: 1px dashed var(--light-blue);
}
.single__races__box .flex__box__item-checkbox {
  margin-top: 4px;
}
.single__races__box.active {
  display: block;
}
.category__card .single__races__box.active {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding-top: 6px;
}
.race-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  background-color: var(--white);
  padding: 8px 14px;
  border-radius: var(--br-sm);
  flex-wrap: wrap;
}
label.race-chip {
  margin: 0;
  cursor: pointer;
}
.race-chip:has(input:checked) {
  background-color: var(--box-color-light);
}
.race-chip input[type="checkbox"] {
  accent-color: var(--box-color);
  width: 16px;
  height: 16px;
  cursor: pointer;
}
.contact__row .flex__box__item-30 {
  flex: 1;
}
.form__section-title {
  width: 100%;
  margin-top: 24px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--light-blue);
  font-size: 1.1rem;
  font-weight: 600;
}

/* Teamsponsor */
.teamsponsor__wrapper {
  display: none;
}
.teamsponsor__wrapper.active {
  display: flex;
}
.teamsponsor__toggle {
  align-items: flex-start;
  margin-top: 10px !important;
  border: 2px solid var(--light-blue);
}
.teamsponsor__toggle:has(input:checked) {
  border-color: var(--box-color);
}
.teamsponsor__toggle .category__card__top {
  align-items: flex-start;
}
.teamsponsor__toggle__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}
.teamsponsor__desc {
  color: var(--light-black);
  font-size: 0.9rem;
  font-weight: 500;
}
.teamsponsor__desc a {
  color: var(--box-color);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  gap: 6px;
}
.teamsponsor__price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
  font-weight: 600;
  font-size: 1.1rem;
  white-space: nowrap;
}
.teamsponsor__price__new,
.teamsponsor__price__badge {
  display: none;
}
.race-chip:has(#teamSponsor:checked) .teamsponsor__price__base {
  display: none;
}
.race-chip:has(#teamSponsor:checked) .teamsponsor__price__new,
.race-chip:has(#teamSponsor:checked) .teamsponsor__price__badge {
  display: inline-flex;
}
.teamsponsor__price__badge {
  padding: 2px 10px;
  border-radius: 999px;
  background-color: var(--valid-color);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
}
.teamsponsor__fields {
  display: none;
  width: 100%;
  margin-top: 10px;
  padding: 16px;
  border: 2px solid var(--light-blue);
  border-radius: var(--br-sm);
}
.teamsponsor__wrapper:has(#teamSponsor:checked) .teamsponsor__fields {
  display: block;
}
.sponsor__contact__box {
  width: 100%;
  margin-top: 14px;
}
.sponsor__contact__toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--light-black);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}
.sponsor__contact__toggle .icon-chevron-down {
  font-size: 1rem;
  transition: transform 0.2s ease;
}
.sponsor__contact__box.active .sponsor__contact__toggle .icon-chevron-down {
  transform: rotate(180deg);
}
.sponsor__contact__fields {
  display: none;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--light-blue);
}
.sponsor__contact__box.active .sponsor__contact__fields {
  display: block;
}
.hint-message,
.minimumBirthday {
  display: block;
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: var(--br-sm);
  background-color: var(--light-blue);
  color: var(--black);
  font-size: 0.9rem;
  width: 100%;
}
.minimumBirthday:empty {
  display: none;
}
.race-name {
  font-weight: 600;
}
.race-date {
  font-weight: 500;
  font-size: 0.85rem;
}
.register-link {
  margin-left: auto;
  color: var(--box-color);
  display: flex;
  align-items: center;
  text-decoration: none;
}
.racecalendar {
  background-color: var(--light-blue);
  border-radius: var(--br-sm);
  color: var(--black);
  margin-top: 5px;
}
.racecalendar .title,
.paymentmethod .title {
  font-weight: 600;
  letter-spacing: 0.2px;
  text-transform: uppercase;
}
.racecalendar .title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  cursor: pointer;
  padding: 16px;
}
.racecalendar .title span {
  font-size: 1.2rem;
}
.racecalendar.active .racing__table {
  display: flex;
}
.racing__table {
  display: none;
  flex-direction: column;
  max-height: 340px;
  overflow-y: auto;
  padding: 0 16px;
}
.racing__table::-webkit-scrollbar {
  width: 6px;
}
.racing__table::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}
.racing__table__entry {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px 5px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.racing__table__entry:last-child {
  border-bottom: none;
}
.table__date {
  flex-shrink: 0;
  font-weight: 600;
}
.table__name {
  flex: 1;
  min-width: 0;
}
.racing__table__entry .ribbon {
  top: 6px;
  right: 5px;
  width: auto;
  padding: 2px 8px;
  transform: none;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 999px;
}
.paymentmethod {
  background-color: var(--light-blue);
  border-radius: var(--br-sm);
  padding: 16px;
  margin-top: 20px;
}
.paymentmethod .methods {
  margin-top: 16px;
}
.paymentmethod .methods p {
  font-size: 1rem;
}
.paymentmethod__info {
  color: var(--light-black);
}
.glovesSize {
  display: none;
}
.glovesSize.active {
  display: block;
}
.parentAccepted {
  display: none;
}
.parentAccepted.active {
  display: flex;
}

/* Confirmation */
.invoice__box {
  display: flex;
  gap: 20px;
}
.invoice__item {
  display: none;
  overflow-y: auto;
}
.invoice__item.active {
  display: block;
}
.invoice {
  overflow-y: auto;
  overscroll-behavior: auto;
}
.invoice__qrbill {
  min-width: 500px;
}

/* Error */
.container__error {
  height: 72vh;
  width: 100%;
  position: relative;
  margin-bottom: -50px;
}
.container__error ~ footer .footer__box-top {
  box-shadow: none;
}
.container__error::before {
  content: " ";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0.3;
  background-image: url("/images/error.jpeg");
  background-repeat: no-repeat;
  background-position: 50% 35%;
  background-size: cover;
}
.error__text {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.error__text .btn {
  width: fit-content;
}
/* Messages */
.overview-status-message,
.status-message {
  width: 100%;
}
.success-message,
.error-message,
.info-message {
  width: 100%;
  padding: 10px 14px;
  margin: 6px 0;
  background: #4eb558;
  color: #fff;
  border-radius: var(--br-sm);
}
.success-message:empty,
.error-message:empty {
  padding: 0;
}
.error-message {
  background: rgb(163, 30, 30);
  font-size: 0.9rem;
}
.info-message {
  margin-top: 25px;
  text-align: center;
  background: linear-gradient(to right, #038bb6, #004581);
}
.fixed-pos {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  top: 50px;
  z-index: 1000;
  max-width: 500px;
}

/* Tables */
.table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  word-break: keep-all;
}

.table th,
.table td {
  padding: 10px 15px;
  min-width: 80px;
}

.table thead {
  background: var(--box-color);
  color: #fff;
  font-weight: 600;
}

.table tbody tr {
  background: var(--black);
  color: #fff;
}

.table tbody tr:nth-child(even) {
  background: #eee;
  color: var(--black);
}

tr td:nth-child(2) {
  font-weight: 600;
}

.table td {
  border: 1px solid #aaa;
  text-align: center;
  position: relative;
}
#preise .table td {
  text-align: left;
}

#preise .table td {
  width: 5%;
}

.table tbody tr:hover {
  background: #ee2e34;
  color: #fff;
}

.table .align-middle {
  text-align: center;
}

.table .align-right {
  text-align: right;
}

.table td:first-child {
  border-left: 1px solid #ccc;
}

.table tfoot {
  text-align: right;
}

.table tfoot tr:last-child {
  background: var(--box-font-color);
  font-weight: 600;
}

/* Standings */
.standings__hero {
  padding: 40px 0;
}
.standings__hero p {
  font-size: 1.2rem;
}
.standings__buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.standings__container {
  display: none;
  margin-top: 30px;
}
.standings__container.active {
  display: block;
}
.standings__navigation {
  position: relative;
}
.ranking__top__drivers {
  display: none;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -220px;
  left: 50%;
  transform: translateX(-50%);
}
.ranking__top__drivers.active {
  display: flex;
}
.ranking__top__drivers .places {
  position: relative;
}
.ranking__top__drivers img {
  height: 200px;
  transform: scale(1.3);
}
.ranking__top__drivers #altText {
  display: none;
  position: absolute;
  top: 56%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 5px;
  border-radius: 3px;
  z-index: 3;
  min-width: 75px;
  text-align: center;
}

.ranking__top__drivers img:hover + #altText,
.ranking__top__drivers #altText:hover {
  display: block;
}
.ranking__top__drivers .first__place {
  height: 260px;
  margin: 0 -33px;
  z-index: 1;
  transform: scale(1.1);
}
.label__top__drivers {
  position: absolute;
  font-size: 1.2rem;
  font-family: var(--font-ital);
  background: var(--black);
  color: #fff;
  z-index: 1;
  padding: 15px 15px 20px 15px;
  bottom: 27px;
  border-radius: var(--br-sm);
}
.label__top__drivers span {
  font-size: inherit;
}

.standing-box {
  display: flex;
  justify-content: center;
  min-width: fit-content;
  margin: 0 auto;
}
.standing__item {
  min-height: 300px;
  min-width: 290px;
  max-width: 520px;
  flex: 1 0 calc(33% - 10px);
  cursor: pointer;
  margin-top: 5px;
}

.standing-list {
  background-color: #2b2b2b;
  font-family: var(--font-ital);
  width: 520px;
  min-width: 340px;
  box-shadow: 4px 4px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
  margin-bottom: 20px;
}
.standing-head {
  padding: 12px;
  text-align: center;
  position: relative;
  background-color: #e5e5f7;
  background-size: 4px 4px;
  background-image: repeating-linear-gradient(
    45deg,
    #f6f6f6 0,
    #f6f6f6 0.4px,
    #e6e6e6 0,
    #e6e6e6 50%
  );
  height: 142px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.standing-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 0;
  min-height: 422px;
  position: relative;
}
.standing-head__logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 32px;
}
.standing-head h2 {
  position: relative;
  padding: 30px 0 20px 0;
  width: fit-content;
  margin: 0;
}
.standing-head .category-sponsor-logo {
  max-height: 56px;
  max-width: 130px;
  object-fit: contain;
}
.standing-head h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: -25px;
  background: url(../images/tr_icon.png);
  background-repeat: no-repeat;
  background-size: 76px 76px; /* oder nur width, wenn auto height */
  width: 76px;
  height: 76px;
  opacity: 0.9;
  /* wird bei Screenshot übersteuert */
  display: var(--remove-before, block);
}

.standing-head .title {
  font-size: 1.5rem;
}
.standing-list-item {
  display: flex;
  align-items: center;
  padding: 2px;
  gap: 8px;
}
.standing-list-item .element {
  background-color: #fff;
  font-size: 1.6rem;
  height: 35px;
  padding: 0 12px 0 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.standing-list-item .first-position {
  background-color: var(--box-color);
  color: #fff;
}
.standing-list-item .fastest-lap {
  background-color: #e6007e;
  color: #fff;
}
.standing-list-item .ranking {
  width: 60px;
}
.standing-list-item .icon {
  width: 30px;
  background: unset;
}
.standing-list-item .driver {
  font-size: 1rem;
  width: 280px;
  justify-content: flex-start;
  background-color: var(--bg-color, #fff);
  color: var(--font-color, #333);
}

/* Season-Winner nur am Ende der Saison */
/* .standing-list-item .driver.season-winner {
  background: radial-gradient(circle at center, #fad8af 0%, #cd7f32 75%);
  color: #000000;
}
.TR1 .standing-list-item .driver.season-winner {
  background: radial-gradient(circle at center, #f7ef8a 0%, #d2ac47 75%);
  color: #000000;
}
.TR2 .standing-list-item .driver.season-winner {
  background: radial-gradient(circle at center, #fff 0%, #a0a0a0 75%);
  color: #000000;
}
 */
.standing-list-item .points {
  width: 110px;
}
.standing-list-item .time {
  width: 120px;
  font-size: 0.85rem;
}
.standing-list-item .time-diff {
  width: 86px;
  font-size: 0.85rem;
}
.standing-footer {
  position: absolute;
  bottom: 4px;
  right: 5px;
  color: #fff;
  font-size: 0.7rem;
}
.result-list.standing-list-item .driver {
  width: 215px;
  font-size: 0.85rem;
}
.btn-screenshot {
  position: absolute;
  top: 4px;
  right: 4px;
  border: none;
  background-color: #fff;
  opacity: 0.8;
  padding: 6px;
  border-radius: 50%;
  cursor: pointer;
  color: var(--black);
  z-index: 1;
}

/* Gutschein / Voucher */
.voucher-box {
  background-color: var(--light-blue);
  padding: 8px 12px;
  border-radius: var(--br-sm);
}

/* Loader */
.loader__container {
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.loader {
  transform: rotateZ(45deg);
  perspective: 1000px;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  color: var(--black);
}
.loader:before,
.loader:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: inherit;
  height: inherit;
  border-radius: 50%;
  transform: rotateX(70deg);
  animation: 1s spin linear infinite;
}
.loader:after {
  color: var(--box-color);
  transform: rotateY(70deg);
  animation-delay: 0.4s;
}

@keyframes rotate {
  0% {
    transform: translate(-50%, -50%) rotateZ(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotateZ(360deg);
  }
}

@keyframes rotateccw {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(-360deg);
  }
}

@keyframes spin {
  0%,
  100% {
    box-shadow: 0.2em 0px 0 0px currentcolor;
  }
  12% {
    box-shadow: 0.2em 0.2em 0 0 currentcolor;
  }
  25% {
    box-shadow: 0 0.2em 0 0px currentcolor;
  }
  37% {
    box-shadow: -0.2em 0.2em 0 0 currentcolor;
  }
  50% {
    box-shadow: -0.2em 0 0 0 currentcolor;
  }
  62% {
    box-shadow: -0.2em -0.2em 0 0 currentcolor;
  }
  75% {
    box-shadow: 0px -0.2em 0 0 currentcolor;
  }
  87% {
    box-shadow: 0.2em -0.2em 0 0 currentcolor;
  }
}

/* The Modal (background) */
.wb-modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1000; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(255, 255, 255, 0.5); /* Black w/ opacity */
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Modal Content/Box */
.wb-modal-content {
  position: relative;
  background-color: #fff;
  border-radius: 5px;
  margin: 120px auto; /* 120px from the top and centered */
  padding: 20px;
  border: 1px solid #ccc;
  width: 70%; /* Could be more or less, depending on screen size */
}

.wb-modal-content h2 span {
  font-size: inherit;
}

/* The Close Button */
.wb-close {
  position: absolute;
  color: var(--black);
  font-size: 2.5rem;
  font-weight: 600;
  top: 5px;
  right: 20px;
  cursor: pointer;
  opacity: 0.5;
  z-index: 2;
}

.wb-close:hover,
.wb-close:focus {
  color: var(--black);
  opacity: 1;
}

.popup__message {
  display: flex;
  align-items: center;
  justify-content: center;
  height: calc(100% - 50px);
  position: relative;
}
.popup__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 35px;
  height: 35px;
  color: var(--black);
  font-size: 2.5rem;
  font-weight: 600;
  cursor: pointer;
  z-index: 2;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.popup__hint {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  margin-right: 10px;
  gap: 10px;
}
.popup__message img {
  max-height: 600px;
}

/* Search */
.searchbar {
  width: 100%;
  margin: auto;
  max-width: 650px;
  background-color: var(--white);
  height: 40px;
  border: 1px solid var(--black);
  display: flex;
  align-items: center;
  padding-left: 5px;
  border-radius: var(--br-sm);
}
.searchbar input {
  width: calc(100% - 75px);
  height: 100%;
  background: none;
  border: none;
  outline: none;
  padding-right: 10px;
  border-radius: var(--br-sm) 0 0 var(--br-sm);
}
.searchbar button {
  width: 75px;
  height: 100%;
  background: var(--black);
  color: var(--white);
  border: none;
  outline: none;
  text-align: center;
  cursor: pointer;
  border-radius: 0 var(--br-sm) var(--br-sm) 0;
}
.search__result {
  display: block;
  width: 100%;
  background-color: var(--white);
  box-shadow: 0px 5px 30px 0px rgba(137, 139, 143, 0.1);
  border-top: 4px solid var(--box-color);
  padding: 25px 20px;
  margin: 10px 0 20px 0;
}
.search__result:hover {
  box-shadow: 0px 5px 30px 0px rgba(137, 139, 143, 0.4);
  text-decoration: none;
}
.search__result p {
  font-size: 16px;
}
.highlight {
  background-color: yellow;
  font-weight: bold;
  padding: 1px;
  font-size: inherit;
  display: inline;
}

/* Information */
.download__box {
  background-color: var(--black);
  color: var(--white);
  padding: 10px 20px;
  width: 100%;
  margin-left: auto;
  border-radius: var(--br-sm);
}
.download__box a {
  color: var(--white);
  display: inline-flex;
  gap: 5px;
  padding: 5px 0;
  font-size: 1.2rem;
}

/* 12h-Race */
.endurance h2 {
  font-family: "Spyagency", sans-serif;
  font-size: 2.4rem;
}
.endurance .header-box {
  display: flex;
  flex-direction: column;
  padding: 12px;
  margin: 24px 0 36px 0;
  position: relative;
  height: 300px;
  overflow: hidden;
  border-radius: var(--br-sm);
  background-color: rgb(248, 2, 2, 0.1);
}
.endurance .header-box::before {
  content: " ";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0.1;
  z-index: -1;
  background-image: url("/images/12hrace_logo.jpeg");
  background-repeat: no-repeat;
  background-position: 50% 49%;
  background-size: cover;
}
.endurance .text-box {
  margin: 24px auto 0 auto;
  text-align: center;
}
.endurance .logo-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.endurance .sm-text {
  font-size: 0.8rem;
  color: var(--light-black);
}
.endurance .box-container {
  background-color: var(--light-blue);
  padding: 12px;
  margin-bottom: 24px;
}

@media screen and (max-width: 500px) {
  .endurance .header-box {
    height: auto;
  }
}

/* Responsive */
@media screen and (max-width: 1400px) {
  .invoice__box {
    flex-wrap: wrap;
  }
  .intro__container {
    width: 100%;
  }
}
@media screen and (max-width: 1200px) {
  .menu__toggle__container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 295px;
  }
  .menu_toggle {
    display: flex;
  }
  .navbar .navigation {
    display: none;
  }
  .navbar.open .navigation {
    position: fixed;
    top: 121px;
    left: 0;
    width: 100vw;
    height: calc(100dvh - 121px);
    background-color: var(--bg-background);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;
    z-index: 999;
    padding: 0 0 10px 0;
  }
  .navbar.open .mainnav {
    border-radius: 0;
  }
  .nav__contact {
    width: auto;
  }
  .flex__box {
    flex-wrap: wrap;
    gap: 3px;
  }
  .flex__box__item-30,
  .flex__box__item-50,
  .flex__box__item-70 {
    width: 100%;
    flex: auto;
  }
  .carousel .flex__box__item-70,
  #teamsponsoren .flex__box__item-70 {
    max-width: 100%;
    margin-top: 50px;
  }
  .sponsor__preview .main__sponsor__box {
    max-width: 100%;
  }
  .ranking__top__drivers {
    position: relative;
    top: inherit;
    left: inherit;
    transform: none;
    margin: 50px 0;
  }
  .label__top__drivers::after {
    content: "";
    width: 450px;
    height: 35px;
    background-color: var(--black);
    position: absolute;
    bottom: -28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
  }
  .about__gallery .break {
    display: none;
  }
  .about__item:first-child,
  .about__item:nth-last-child(2),
  .about__item:nth-child(2),
  .about__item:last-child {
    margin: auto;
  }
}

@media screen and (max-width: 1000px) {
  .offer__box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .intro__logo img {
    top: 210px;
    width: 560px;
    padding: 25px;
    left: 50%;
  }
  .standing-list-item .element {
    hyphens: manual;
  }
  .standing-list-item .ranking {
    width: 45px;
  }
  .standing-list-item .driver {
    max-width: 215px;
    justify-content: flex-start;
    font-size: 0.8rem;
  }
  .standing-list-item .points {
    width: 55px;
  }
}

@media screen and (max-width: 820px) {
  section.container {
    padding: 0 15px;
  }
  .intro__container {
    background-position: -108px;
  }
  #gallery img {
    width: 50%;
    height: 290px;
  }
  .carousel__box {
    flex-direction: column-reverse;
    margin-top: 15px;
  }
  .tab__navigation {
    gap: 15px;
    flex-direction: column;
  }
  .tab__navigation li {
    width: 100%;
  }
  .tab__navigation li a {
    width: 100% !important;
  }
  .racecalendar {
    margin-top: 50px;
  }
}

@media screen and (max-width: 600px) {
  * {
    word-wrap: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
  }
  section {
    margin: 45px auto;
  }
  .navbar .logo img {
    width: 150px;
  }
  .intro__container {
    background-position: -300px;
    height: calc(100vh - -50px);
    min-height: 900px;
    margin: -45px auto 0 auto;
    background-color: transparent;
  }
  .intro__text {
    bottom: 150px;
  }
  .intro__text div {
    font-size: 1.4rem;
  }
  .btn {
    font-size: 1rem;
  }
  .entry__item {
    align-items: flex-start;
    gap: 10px;
    padding: 15px 20px 45px 20px;
  }
  .entry__name {
    margin-top: 0;
  }
  .entry__navigation {
    position: absolute;
    bottom: 10px;
    right: 15px;
    z-index: 1;
    margin-right: 0;
    gap: 30px;
  }
  h3 {
    font-size: 1.4rem;
    letter-spacing: 1px;
  }
  .offer__box {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
  }
  .offer__box .bottom .headline {
    min-height: 65px;
  }
  .category__card {
    padding: 12px 15px;
  }
  label.category__card__control {
    margin: -12px -15px;
    padding: 12px 15px;
  }
  .sponsor__preview {
    padding: 0 2px;
  }
  .sponsor__preview .main__sponsor__box,
  .main__sponsor__information {
    margin: 0 0 auto 0;
    max-width: 100%;
  }
  .main__sponsor__logo a {
    width: 100%;
  }
  .main__sponsor__logo {
    margin-left: auto;
  }
  .main__sponsor__logo img {
    margin: 0 0 0 auto;
    max-width: 100%;
  }
  .logo__box img {
    max-width: 200px;
  }
  #teamsponsoren .logo__box a,
  #teamsponsoren .logo__box img {
    max-width: 150px;
    margin: 10px auto;
  }
  .contact__row .flex__box__item-30 {
    flex: auto;
  }
  .racing__table__entry h3 {
    font-size: 1rem;
  }
  .wb-modal-content {
    width: 90%;
    margin-top: 50px;
  }
  .popup__message {
    height: calc(100% - 90px);
  }
}

@media screen and (max-width: 500px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  .entry__image {
    display: none;
  }
  .nav__contact {
    display: none;
  }
  .navigation li:last-child {
    display: block;
  }
  #gallery h3 {
    flex-direction: column;
    align-items: start;
  }
  #gallery img {
    width: 100%;
  }
  #lbInner img {
    width: 100vw;
  }
  #lbOuter .arrows {
    top: 49%;
  }
  #lbOuter .arrows i {
    font-size: 1rem;
    padding: 8px;
  }
  #lbOuter .close {
    top: 20px;
    right: 20px;
  }
  .label__top__drivers::after {
    width: 300px;
  }
  .navbar .logo {
    width: 450px;
  }
  .footer__copyright__legal {
    justify-content: flex-start;
  }
}

/* Portal */
div[data-link] {
  position: relative;
  border: 1px dotted #333;
  padding: 2px 5px;
}