* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color-scheme: light only;
}

.container {
  /* place footer at the bottom by calculating the min height to be the full screen minus the footer height. */
  min-height: calc(100vh - 15.9375rem);
}

@font-face {
  font-family: "Basel-Grotesk";
  src: url("../../fonts/Basel-Grotesk-Medium.woff2") format("woff2"),
    url("../../fonts/Basel-Grotesk-Medium.woff") format("woff");
  font-weight: 535;
  font-style: normal;
}

/* Root-Variablen */
:root {
  --font-family: "Basel-Grotesk", sans-serif;
  --font-size-base: 16px;
  --text-color: #000;
  --black-trans: rgba(0, 0, 0, 0.9);
}

/* Allgemeine Stile */
body {
  font-family: var(--font-family);
}
.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  z-index: -1; /* Schiebt es hinter den Inhalt */
}
/* Dark Mode Unterstützung */
@media (prefers-color-scheme: dark) {
  .background.dark-support {
    background-image: var(--background-dark);
  }
}
a {
  color: var(--text-color);
  text-decoration: none;
}
#underline {
  text-decoration-line: underline;
}
a:hover {
  text-decoration: underline;
}

/* Grid-Layouts */
.grid-layout,
.grid-layout-4col,
.grid-layout-9col,
.grid-layout-12col,
.grid-layout-12col-5rows,
.grid-layout-autofit {
  display: grid;
  align-items: start;
}

.grid-layout,
.grid-layout-4col {
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 0 1rem;
}

.grid-layout-9col {
  grid-template-columns: repeat(9, 1fr);
  grid-template-rows: repeat(5, minmax(10rem, auto));
  gap: 2rem;
  padding: 0 2rem;
}

.grid-layout-12col {
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
  padding: 0 2rem 2rem;
}

.grid-layout-12col-5rows {
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(5, minmax(10rem, auto));
  gap: 2rem;
  gap: 2rem;
  padding: 0 2rem 2rem;
}

.grid-layout-autofit {
  grid-template-columns: repeat(auto-fit, minmax(21rem, 1fr));
  gap: 1rem;
  justify-content: center;
  padding-left: 2rem;
  padding-right: 2rem;
}

/* Buttons */
.basic-button {
  display: inline-flex;
  width: fit-content;
  height: 3rem;
  padding: 1rem 1.25rem;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  background-color: #000;
  color: #fff;
  font-size: 1.25rem;
  line-height: 1.625rem;
  font-weight: 535;
  cursor: pointer;
}

.basic-button:hover {
  background: #919191;
}

/* Typografie */
.capitalize {
  text-transform: capitalize;
}

.extra-class {
  color: red;
  font-family: "Courier New", Courier, monospace;
}

.desktop-lead {
  opacity: 0.99;
  color: #000 !important;
  font-size: 2.8125rem;
  font-weight: 535;
  line-height: 3.1875rem;
  letter-spacing: -0.05625rem;
}

.description-small {
  font-size: 0.875rem;
  line-height: 1rem;
  font-weight: 535;
  color: black !important;
}

.lauftext {
  font-size: 2.25rem;
  line-height: 2.65rem;
  font-weight: 535;
  opacity: 0.99;
  color: black !important;
}

.desktop-lauftext {
  font-size: 1.75rem;
  line-height: 2.1rem;
  letter-spacing: -0.0175rem;
  font-weight: 535;
  color: black !important;
}

.small-text {
  font-size: 1.25rem;
  line-height: 1.625rem;
  font-weight: 535;
  color: black !important;
}

/* Dark Backdrop für Modale */
#dark-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9998;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
#dark-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}
#dark-backdrop.hidden {
  display: none;
}

@media (max-width: 768px) {
  /* Get bullet points a little closer to text */
  li {
    text-indent: -0.25rem;
    margin-left: 0.25rem;
    color: black !important;
  }

  /*MOBILE-Grid-Layout */
  .grid-layout-12col {
    grid-template-columns: auto;
    padding: 1.125rem;
  }

  .grid-layout-12col-5rows {
    grid-template-columns: repeat(2, 1fr);
    padding: 1.125rem;
    grid-template-rows: auto;
    padding-bottom: 4rem;
  }

  .grid-layout-9col {
    display: block;
    padding: 1.125rem;
  }

  .grid-layout-autofit {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2-Spalten-Layout */
    gap: 0.5rem;
    padding: 1.125rem;
  }

  .grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    width: 100%;
  }

  .row-3 {
    grid-row: 3;
  }

  /* Typografie für mobile Geräte */
  .mobile-lead {
    font-size: 1.5625rem;
    font-style: normal;
    font-weight: 535;
    line-height: 1.8125rem; /* 116% */
    letter-spacing: -0.01563rem;
    hyphens: auto;
  }

  .mobile-lauftext {
    font-size: 1.18rem;
    line-height: 1.4rem;
    font-weight: 535;
    letter-spacing: -0.01563rem;
  }

  .mobile-small {
    font-size: 0.875rem;
    line-height: 1rem;
    font-weight: 535;
  }

  .basic-button {
    font-size: 0.875rem;
    height: 2.25rem;
  }

  #mobilemenu-dark-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
  }

  #mobilemenu-dark-backdrop.active {
    opacity: 1;
    pointer-events: auto;
  }
}
