@font-face {
  font-family: 'Roboto';
  src:    url('../fonts/roboto/Robotto-BlackItalic.ttf') format('ttf'),
          url('../fonts/roboto/Robotto-Bold.ttf') format('ttf'),
          url('../fonts/roboto/Robotto-BoldItalic.ttf') format('ttf'),
          url('../fonts/roboto/Robotto-Italic.ttf') format('ttf'),
          url('../fonts/roboto/Robotto-Light.ttf') format('ttf'),
          url('../fonts/roboto/Robotto-LightItalic.ttf') format('ttf'),
          url('../fonts/roboto/Robotto-Medium.ttf') format('ttf'),
          url('../fonts/roboto/Robotto-MediumItalic.ttf') format('ttf'),
          url('../fonts/roboto/Robotto-Regular.ttf') format('ttf'),
          url('../fonts/roboto/Robotto-Thin.ttf') format('ttf'),
          url('../fonts/roboto/Robotto-ThinItalic.ttf') format('ttf'),
          url('../fonts/roboto/Robotto-Black.ttf') format('ttf');
}

html{
  background-color: #750000;
  display: flex;
  justify-content: center;
}

body {
  min-height: 100vh;
  margin: 0;
  padding: 0;
  font-family: 'Robotto', sans-serif;
  color: white;
  max-width: 450px;
  position: relative;
  font-size: 100%;
  overflow-x: hidden;
}


/*####################################  header   ############################################*/

header {
  min-height: 72px;
  height: auto;
  background-color: #000000;
  display: flex;
  justify-content: center;
  align-items: center;
}

#CABRef{
  height: 80%;
}

#CABImg{
  height: 100%;
}
/*####################################  headerEnd   ############################################*/
/*######################################  main   #############################################*/

main {
  min-height: calc(100dvh - 72px - 140px);
  background: linear-gradient(to bottom, rgb(0, 0, 0) 75%, rgb(109, 8, 8));
}

.containerIndex{
  height: 100%;
  display: flex;
  flex-direction: column;
  font-size: medium;
}

.containerIndex > div{
margin: 5%;
border-left: 4px solid red;
width: 90%;
height: auto;
}

.nextMatch > p {
margin: 0 0 0 5%;
}

.nextMatch > h3{
margin: 0 0 10% 5%;
text-decoration: underline;
color: #ff8686;
}

#einleitung{
border: none;
}

#einleitung p{
  font-size: small;
}

/*############ login ###########*/

#loginDiv {
border: none;
display: flex;
justify-content: space-between;
align-items: center;
}

#loginBig{
display: none;
position: fixed;
width: 100%;
backdrop-filter: blur(5px);
top: 0;
height: 100%;
justify-content: center;
align-items: center;
}

#loginForm{
width: 80%;
height: 50%;
background-color: #750000;
border-radius: 10px;
animation: bounce 1000ms 1;
}

.formDiv{
  height: 25%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

form > div > h3{
  margin: 0;
}

.close{
  position: absolute;
  top: 0;
  right: 0;
  padding: 1%;
}

.user-box{
  padding: 0% 5%;
  position: relative;
  height: 25%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.user-box > label {
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  pointer-events: none;
  transition: 0.3s ease-out;
  color: #000;
  padding: 2px;
}

label.active {
  top: 0;
  color: #ffffff; /* Optional: Ändern Sie die Textfarbe, um hervorzuheben, dass das Label aktiv ist */
}

.formButtonDiv{
  height: 25%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.formButton{
  width: 40%;
  height: 60%;
  background-color: black;
  color: white;
  box-shadow: 5px 5px 1px 1px black;
}

input[type=text],
input[type=password] {
  width: 100%;
  padding: 12px 20px;
  margin: 0;
  display: inline-block;
  border: 1px solid #ccc;
  box-sizing: border-box;
  height: 50%;
  box-shadow: 5px 5px 1px 1px black;
  background-color: white;
  text-align: center;
}

.anmelden {
  display: flex;
  justify-content: center;
}

#untriggert {
  width: auto;
  background-color: #801c1c;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  cursor: pointer;
  border-radius: 20px;
  height: 70px;
}

/*########## loginEnde ###########*/

/*################################################### meldesystem ###############################################*/

#godfatherOfDivs {
  position: relative;
  display: flex;
  width: 200%;
}

.week {
  transition: transform 3s;
  transition-timing-function: ease;
  width: 50%;
}

.toLeft {
  transform: translateX(-150%);
}

.toMiddle {
  transform: translateX(0%);
}

.toRight {
  transform: translateX(150%);
}

#formBig {
  border-radius: 20px;
  display: flex;
  justify-content: center;
  transition: transform 3s;
  transition-timing-function: ease;
  width: 50%;
}

#formSmall {
  height: 60vh;
  width: 80%;
  display: grid;
  background-color: black;
  border: 1px solid red;
  padding: 5%;
  border-radius: 10px;
  grid-template: 10% 70% 20% / 50% 50%;
  font-size: large;
  margin-top: 10%;
}

.daySwitch {
  height: 50%;
  width: 100%;
  display: grid;
  align-items: center;
  font-size: large;
}

.switchButton {
  height: 99%;
  width: 100%;
  background-color: red;
  border: none;
  font-size: 3em;
}

#formNote {
  height: fit-content;
  width: fit-content;
}

#test {
  background-color: red;
}

#dayLabel {
  grid-area: 1 / 1 / 1 / 3;
  display: grid;
  justify-content: center;
}

#selectDay {
  grid-area: 2 / 1 / 2 / 3;
  height: fit-content;
  width: 100%;
  display: grid;
  justify-content: center;
  align-content: center;
  align-items: center;
  align-self: center;
}

#divButton {
  grid-area: 3 / 1 / 3 / 3;
  display: flex;
  justify-content: space-around;
}

.buttonNew {
  height: 50%;
  width: 40%;
  background-color: black;
  border: 1px solid red;
  border-radius: 10px;
  color: white;
}

#selectDaySmall {
  width: 100%;
}

.checkbox-container {
  display: flex;
  /* Flexbox verwenden */
  align-items: center;
  /* Vertikal ausrichten */
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  padding: 5px;
}

.checkbox-label {
  margin-right: 10px;
  /* Abstand zwischen Checkbox und Label */
}

input[type="checkbox"]:checked+label::before {
  content: "X";
  /* Neues Zeichen, das angezeigt werden soll */
  color: red;
  /* Farbe des neuen Zeichens */
}

.checkbox {
  height: 15px;
  width: 15px;
  border: solid #8f8f9d 2px;
  display: inline-block;
  background-color: black;
  margin-right: 30px;
  margin-left: 4px;
  margin-bottom: 2px;
  margin-top: 2px;
  border-radius: 1.5px;
}


label {
  display: flex;
  align-items: center;

}

.material-symbols-rounded {
  font-variation-settings: 'FILL' 10, 'wght' 500, 'GRAD' 10, 'opsz' 0;
  background-color: transparent;
  width: 15px;
  height: 15px;
  display: none; 
  justify-content: center;
  align-items: center;
  font-size: 13px;
  animation: bounce 100ms 1;
}

.formFull {
  min-height: 90vh;
  height: auto;
  width: 100%;
  margin: 0;
  border-radius: 20px;
  border: none;
  align-items: center;
  display: none;
  position: relative;
  margin-bottom: 10%;
}

.oneDay {
  display: flex;
  width: 90%;
  height: 85%;
  border-radius: 20px;
  box-shadow: 18px 18px 18px 12px #6f0000b5;
  background: linear-gradient(to bottom, #350303 15%, #650707);
  transition: left 0.5s ease-in-out;
  box-shadow: 5px 5px 0px 0px #510000, 12px 12px 0px 0px #300;
  border: 3px solid #750202;
}


.dayField {
  width: 30%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: initial;
}

.statusField {
  background-color: #6c6c6c;
  width: 15%;
  border: 1px black solid;
  border-radius: 20px;
  margin: 7% 0.5%;
}

.noteField {
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
  padding: 3%;
  width: 48%;
  box-sizing: border-box;
}

.textarea {
  width: 100%;
  height: 100%;
  background-color: #00000030;
  border: 1px solid #310505;
  color: white;
  border-radius: 20px;
  padding: 15px;
  box-sizing: border-box;
}

.button {
  position: relative;
  width: 74px;
  height: 36px;
  margin: -20px auto 0 auto;
  overflow: hidden;
}

.button.r,
.button.r .layer {
  border-radius: 100px;
}

.button.b2 {
  border-radius: 2px;
}

.checkbox2 {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 3;
}

.knobs {
  z-index: 2;
}

.layer {
  width: 100%;
  background-color: #ebf7fc;
  transition: 0.3s ease all;
  z-index: 1;
}



/* Button 3 */
#button-3 .knobs:before {
  content: "CAB";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 10px;
  color: #fff;
  font-size: 10px;
  font-weight: bold;
  text-align: center;
  line-height: 1;
  padding: 9px 4px;
  background-color: #cc2424;
  border-radius: 50%;
  transition: 0.3s ease all, left 0.3s cubic-bezier(0.18, 0.89, 0.35, 1.15);
}

#button-3 .checkbox2:active+.knobs:before {
  width: 46px;
  border-radius: 100px;
}

#button-3 .checkbox2:checked:active+.knobs:before {
  margin-left: -26px;
}

#button-3 .checkbox2:checked+.knobs:before {
  content: "CAB";
  left: 42px;
  background-color: #cc2424;
}

#button-3 .checkbox2:checked~.layer {
  background-color: #fcebeb;
}

.didLoad {
  animation: bounce-out 900ms 1;
}

.dragme {
  position: absolute;
}

.buttonCenter {
  display: flex;
  justify-content: center;
  justify-items: center;
}

.badMessage {
  display: flex;
  position: absolute;
  width: 50%;
  height: auto;
  background-color: #ff0000c9;
  top: 10px;
  margin-right: 10px;
  right: 0;
  padding: 10px;
  border-radius: 10px;
  font-size: medium;
  z-index: 5;
}

.bigInfoForm {
  position: absolute;
}

#infotext {
  position: relative;
top: 30px;
left: 0;
padding: 5px;
border: 1px solid #ccc;
background-color: #222;
width: 47%;
box-shadow: 3px 2px 0px 0px aliceblue;
font-size: x-small;
}

#infotextSend {
  position: absolute;
  top: -90px;
  right: 16px;
  padding: 5px;
  border: 1px solid #ccc;
  background-color: #222;
  box-shadow: 3px 2px 0px 0px aliceblue;
  font-size: medium;
  text-align: end;
}


.person:first-child {
border-radius: 20px 20px 0px 0px;
}

.person:last-child {
border-radius: 0px 0px 20px 20px;
}

#weekHeadline{
  font-size: x-large;
  text-align: center;
  border-top: 10px solid #cc2424;
  border-bottom: 10px solid #cc2424;
}
/*################################################  meldesystemEnde  ################################################*/

/*########## animations ##########*/
@-webkit-keyframes bounce {
  0% {
    -webkit-transform: scale(0.92);
    transform: scale(0.92);
    opacity: 0;
  }

  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }
}

@-webkit-keyframes bounce-out {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }

  100% {
    -webkit-transform: scale(0.92);
    transform: scale(0.92);
    opacity: 0;
  }
}

@keyframes bounce {
  0% {
    -webkit-transform: scale(0.92);
    transform: scale(0.92);
    opacity: 0;
  }

  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }
}


@keyframes bounce-out {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }

  100% {
    -webkit-transform: scale(0.92);
    transform: scale(0.92);
    opacity: 0;
  }

}

/*########## animationsEnd ##########*/
/* ############### navi ################*/

.bigNav{
  display: flex;
  min-height: calc(100dvh - 72px - 140px);
  height: auto;
  width: 100%;
  flex-direction: column;
  justify-content: space-around;
  align-content: center;
  align-items: center;
  font-size: medium;
}

.smallNav{
  height: 17%;
  width: 90%;
  background-color: #750000;
  display: flex;
  align-items: center;
  box-shadow: 5px 5px 5px 3px #400000;
}

.smallNav > p{
  color: #ffffff;
  font-size: 100%;
  margin: 0;
  margin-left: 0px;
  margin-left: 15%;
  transition: all 0.3s linear;
}

.smallNav:hover{
  transform: scale(0.95);
}

/* ############### naviEnd ################*/
/* ############### construction ################*/

#underConstructionBig{
  width: 100%;
  min-height: calc(100dvh - 72px - 140px);
  height: auto;
  display: flex;
  justify-content: center;
  align-items:flex-start;
}

#construction{
  width: 80%;
  height: 65%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0px 0px 5px 5px #400000;
  font-style: oblique;
  margin-top: 10%;
}

#constHeadline{
margin: 0;
font-size: x-large;
}

.constText{
margin: 0;
font-size: larger;
text-align: center;
}

/* ############### constructionEnde ################*/
/*###################################  mainEnd  ###########################################*/
/*####################################  footer   ############################################*/

footer {
  border-top: 1px solid white;
  min-height: 140px;
  background-color: rgb(109, 8, 8);
  display: flex;
}

.bigInfo{
width: 50%;
}

.bigSocial{
width: 50%;
display: flex;
flex-direction: column;
}

.socialHeadline{
text-align: center;
}

.socialLinks{
display: flex;
align-items: center;
height: 7.5vh;
}

.socialLinks > a{
display: flex;
justify-content: center;
}

.socialmedia{
display: flex;
flex-direction: column;
justify-content: center;
align-content: center;
align-items: center;
height: 80%;
}

.socialmedia > a{
  display: flex;
  align-items: center;
  height: 100%;
  justify-content: center;
}

.icon{
  transition: all 0.3s linear;
  height: 100%;
  padding: 5px;
}

.icon:hover{
transform: scale(1.1);
}

.banner{
width: 100%;
transition: all 0.3s linear;
}

.banner:hover{
transform: scale(1.1);
}
/*######################################  footerEnd  ##############################################*/

/*######################################  mobile refresh ##############################################*/
:root {
  --cab-bg: #750000;
  --cab-bg-strong: #5a0000;
  --cab-surface-strong: #101010;
  --cab-surface: #1b1b1b;
  --cab-surface-soft: #262626;
  --cab-text: #f6f6f6;
  --cab-text-muted: #d7d7d7;
  --cab-accent: #cc2424;
  --cab-accent-soft: #ff8686;
  --cab-focus-ring: rgba(255, 255, 255, 0.65);
  --cab-spacing-1: 0.5rem;
  --cab-spacing-2: 0.75rem;
  --cab-spacing-3: 1rem;
  --cab-spacing-4: 1.5rem;
  --cab-radius: 14px;
  --cab-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

html {
  background-color: var(--cab-bg);
  min-height: 100%;
}

body {
  min-height: 100dvh;
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
  font-family: 'Roboto', sans-serif;
  font-size: clamp(0.95rem, 0.88rem + 0.35vw, 1.05rem);
  line-height: 1.45;
  color: var(--cab-text);
  background: #000;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--cab-focus-ring);
  outline-offset: 2px;
}

.cab-card {
  background: var(--cab-surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--cab-accent-soft);
}

.cab-section-title {
  margin: 0 0 0.35rem 0;
  color: var(--cab-accent-soft);
  text-decoration: none;
}

.cab-button {
  background-color: var(--cab-bg-strong);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  transition: background-color 0.15s ease, transform 0.12s ease;
}

.cab-button:hover {
  background-color: #7e1010;
  transform: translateY(-1px);
}

.cab-button:active {
  transform: translateY(0);
}

.cab-input {
  border-color: rgba(255, 255, 255, 0.25);
}

.status-note {
  color: var(--cab-text-muted);
  font-size: 0.93em;
}

.home-view-switch {
  display: flex;
  gap: 0.5rem;
  padding: 0.65rem 0.8rem 0.35rem;
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(180deg, rgba(12, 12, 12, 0.95), rgba(12, 12, 12, 0.82));
  backdrop-filter: blur(3px);
}

.home-view-btn {
  display: inline-flex;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.42rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #232323;
  color: #dfdfdf;
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.home-view-btn.is-active {
  background: linear-gradient(180deg, #4b3d3d 0%, #3a2f2f 100%);
  border-color: #6f5353;
  box-shadow: 0 0 0 1px rgba(160, 135, 135, 0.18), 0 5px 12px rgba(0, 0, 0, 0.28);
}

.home-view-btn:focus-visible,
.home-view-btn:hover {
  outline: 2px solid rgba(255, 255, 255, 0.45);
  outline-offset: 2px;
}

.home-views[data-home-view="neo"] [data-home-view-content="og"],
.home-views[data-home-view="og"] [data-home-view-content="neo"] {
  display: none;
}

.home-view[hidden] {
  display: none !important;
}

.home-view {
  padding-bottom: 0.6rem;
}

.home-neo-hero {
  margin: 0.35rem 0.8rem 0.8rem;
  padding: 1rem 1rem;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 134, 134, 0.2), transparent 58%),
    linear-gradient(160deg, #250909 0%, #120606 100%);
  border: 1px solid rgba(255, 134, 134, 0.28);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.38);
}

.home-neo-kicker {
  margin: 0 0 0.2rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #f1b6b6;
}

.home-neo-hero h2 {
  margin: 0;
  font-size: 1.5rem;
  color: #fff;
  line-height: 1.15;
}

.home-neo-copy {
  margin: 0.55rem 0 0;
  color: #e2d5d5;
  font-size: 0.98rem;
  line-height: 1.45;
}

.home-neo-pills {
  margin-top: 0.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.home-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 134, 134, 0.35);
  background: rgba(255, 134, 134, 0.08);
  color: #f3d9d9;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.home-pill--active {
  border-color: #8f5d5d;
  background: rgba(143, 93, 93, 0.18);
  color: #f0e2e2;
}

.home-neo-grid {
  display: grid;
  gap: 0.7rem;
  padding: 0 0.8rem;
}

.home-neo-card {
  padding: 0.8rem 0.85rem;
  background:
    linear-gradient(180deg, rgba(255, 134, 134, 0.08), rgba(255, 134, 134, 0.02)),
    #151010;
  border: 1px solid rgba(255, 134, 134, 0.24);
}

.home-neo-card h3,
.home-pillars h3 {
  margin: 0 0 0.35rem;
  color: var(--cab-accent-soft);
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.45px;
}

.home-neo-title {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.home-neo-title .material-symbols-rounded {
  font-size: 1.05rem;
  color: #ffb3b3;
}

.home-neo-card p {
  margin: 0.25rem 0 0;
  line-height: 1.45;
}

.home-pillars {
  margin: 0.75rem 0.8rem 0;
  padding: 0.85rem 0.9rem;
  background:
    linear-gradient(180deg, rgba(255, 134, 134, 0.07), rgba(255, 134, 134, 0.01)),
    #140d0d;
  border: 1px solid rgba(255, 134, 134, 0.24);
}

.home-pillars p {
  margin: 0;
  line-height: 1.45;
}

.home-login {
  margin-top: 0.7rem;
}

.legacy-hero,
.legacy-pillars,
.legacy-path,
.legacy-dock {
  margin: 0.8rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, #1a1a1a, #141414);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
  position: relative;
  overflow: hidden;
}

.legacy-hero {
  padding: 1rem 1rem 1.1rem;
  border-color: rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(circle at 0% 0%, rgba(122, 47, 47, 0.2), transparent 56%),
    linear-gradient(160deg, #231d1d 0%, #181616 58%, #121212 100%);
}

.legacy-hero__bg {
  position: absolute;
  inset: -35% -30%;
  background:
    radial-gradient(circle at 20% 35%, rgba(122, 47, 47, 0.16), transparent 44%),
    radial-gradient(circle at 80% 65%, rgba(255, 255, 255, 0.04), transparent 40%);
  pointer-events: none;
  animation: legacyHeroDrift 11s ease-in-out infinite alternate;
}

.legacy-hero__kicker,
.legacy-hero__headline,
.legacy-hero__copy,
.legacy-badges {
  position: relative;
  z-index: 1;
}

.legacy-hero__kicker {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #c6b1b1;
}

.legacy-hero__headline {
  margin: 0.45rem 0 0;
  font-size: clamp(1.5rem, 5.8vw, 2rem);
  line-height: 1.08;
  color: #f0f0f0;
}

.legacy-hero__copy {
  margin: 0.7rem 0 0;
  font-size: 1rem;
  line-height: 1.45;
  color: #d2d2d2;
}

.legacy-badges {
  margin-top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.legacy-badge {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: #dddddd;
  font-size: 0.74rem;
  font-weight: 700;
  white-space: nowrap;
}

.legacy-badge--active {
  border-color: rgba(184, 162, 162, 0.55);
  background: rgba(184, 162, 162, 0.2);
  color: #f2e9e9;
}

.legacy-sect-title {
  margin: 0;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #cbb4b4;
}

.legacy-pillars {
  padding: 0.85rem;
}

.legacy-pillars__grid {
  margin-top: 0.65rem;
  display: grid;
  gap: 0.65rem;
}

.legacy-pillar {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 0.8rem 0.85rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
}

.legacy-pillar--main {
  border-color: rgba(170, 140, 140, 0.45);
}

.legacy-pillar--support {
  border-color: rgba(255, 255, 255, 0.16);
  background: linear-gradient(180deg, rgba(122, 47, 47, 0.1), rgba(122, 47, 47, 0.025));
}

.legacy-pillar__role {
  margin: 0;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #adadad;
}

.legacy-pillar h4 {
  margin: 0.35rem 0 0;
  font-size: 1.1rem;
  color: #fff;
}

.legacy-pillar p {
  margin: 0.45rem 0 0;
  line-height: 1.42;
}

.legacy-pillars__bond {
  margin: 0.75rem 0 0;
  padding-top: 0.65rem;
  border-top: 1px dashed rgba(255, 134, 134, 0.28);
  font-size: 0.88rem;
  line-height: 1.45;
  color: #e5d6d6;
}

.legacy-path {
  padding: 0.9rem 0.85rem 0.8rem;
}

.legacy-path__line {
  position: absolute;
  left: 1.28rem;
  top: 3.35rem;
  bottom: 1.2rem;
  width: 2px;
  background: linear-gradient(180deg, rgba(150, 120, 120, 0.55), rgba(150, 120, 120, 0.08));
  pointer-events: none;
}

.legacy-step {
  position: relative;
  padding-left: 2rem;
  margin-top: 0.7rem;
}

.legacy-step__marker {
  position: absolute;
  left: 0.92rem;
  top: 0.35rem;
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  border: 2px solid #9d7f7f;
  background: #1f1f1f;
  transform: translateX(-50%);
  box-shadow: 0 0 0 3px rgba(157, 127, 127, 0.14);
}

.legacy-step__body {
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  padding: 0.65rem 0.75rem;
  background: rgba(255, 255, 255, 0.04);
}

.legacy-step__body h4 {
  margin: 0;
  color: #e3d7d7;
  font-size: 0.92rem;
}

.legacy-step__body p {
  margin: 0.35rem 0 0;
  line-height: 1.42;
}

.legacy-step.is-active .legacy-step__marker {
  background: #b39a9a;
  border-color: #efefef;
  box-shadow: 0 0 0 3px rgba(179, 154, 154, 0.26);
}

.legacy-step.is-active .legacy-step__body {
  border-color: rgba(179, 154, 154, 0.62);
  background: rgba(179, 154, 154, 0.12);
}

.legacy-dock {
  padding: 0.9rem 0.85rem 1rem;
  border-color: rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(circle at 100% 0%, rgba(122, 47, 47, 0.14), transparent 46%),
    linear-gradient(180deg, #1a1a1a, #141414);
}

.legacy-dock p {
  margin: 0.45rem 0 0;
  line-height: 1.42;
}

.legacy-dock__btn {
  margin-top: 0.7rem;
  min-height: 48px;
  width: 100%;
  max-width: none;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes legacyHeroDrift {
  0% {
    transform: translate3d(-0.8%, -0.6%, 0) scale(1);
  }
  100% {
    transform: translate3d(0.8%, 0.6%, 0) scale(1.01);
  }
}

@media (prefers-reduced-motion: reduce) {
  .legacy-hero__bg {
    animation: none;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

#badMessage {
  position: fixed;
  top: 1rem;
  right: 1rem;
  width: min(92%, 420px);
  background: linear-gradient(180deg, #671111 0%, #4f0c0c 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  z-index: 15;
}

#smallBadMessage {
  display: flex;
  margin: 0;
  padding: 0.9rem 1rem;
  text-align: center;
  line-height: 1.35;
}

header {
  min-height: 72px;
  height: auto;
  padding: var(--cab-spacing-2) var(--cab-spacing-3);
  box-sizing: border-box;
}

#CABRef {
  height: clamp(44px, 7vh, 72px);
  display: inline-flex;
  align-items: center;
}

#CABImg {
  height: 100%;
  width: auto;
  max-width: min(100%, 420px);
  display: block;
  object-fit: contain;
}

main {
  min-height: calc(100dvh - 72px - 140px);
  background: linear-gradient(to bottom, #000 65%, #6d0808);
}

.containerIndex > div,
.smallNav,
#construction,
.oneDay {
  border-radius: var(--cab-radius);
  box-shadow: var(--cab-shadow);
}

.containerIndex > div {
  border-left-width: 3px;
  padding: var(--cab-spacing-2) var(--cab-spacing-3);
  box-sizing: border-box;
}

#einleitung p {
  font-size: 0.95em;
}

#badMessage,
.badMessage {
  width: min(92%, 440px);
  right: 4%;
  z-index: 10;
}

#loginBig {
  inset: 0;
  width: 100%;
  height: 100dvh;
  padding: var(--cab-spacing-3);
  box-sizing: border-box;
  z-index: 1000;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

#loginForm {
  width: min(100%, 420px);
  min-height: 320px;
  height: auto;
  position: relative;
  z-index: 1001;
  display: grid;
  grid-template-rows: auto auto auto auto;
  gap: var(--cab-spacing-3);
  padding: clamp(1rem, 2.8vw, 1.5rem);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.45);
  background: linear-gradient(180deg, #7a0000 0%, #600000 100%);
  box-sizing: border-box;
  animation-duration: 260ms;
  transform-origin: center center;
}

#loginForm .formDiv {
  height: auto;
  justify-content: flex-start;
  align-items: center;
  padding-right: 2rem;
}

#loginForm .formDiv h2,
#loginForm .formDiv h3 {
  margin: 0;
  font-size: clamp(1.6rem, 4.8vw, 2rem);
  line-height: 1.1;
  letter-spacing: 0.01em;
}

#loginForm .close {
  top: 0.2rem;
  right: 0.2rem;
  padding: 0.25rem;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

#loginForm .user-box {
  height: auto;
  padding: 0;
  display: grid;
  gap: 0.35rem;
  align-items: start;
}

#loginForm .user-box > label {
  position: static;
  transform: none;
  color: #f5f5f5;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0;
}

#loginForm .user-box > input[type=text],
#loginForm .user-box > input[type=password] {
  height: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  box-shadow: none;
  text-align: left;
  padding: 0 0.9rem;
  font-size: 1rem;
  background: #fff;
  color: #101010;
}

#loginForm .formButtonDiv {
  height: auto;
  margin-top: 0.25rem;
}

#loginForm .formButton {
  width: 100%;
  max-width: 220px;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  box-shadow: none;
  font-size: 1.05rem;
  font-weight: 600;
  background: #0f0f0f;
}

#loginForm .formButton:hover,
#loginForm .formButton:focus-visible {
  background: #1f1f1f;
  outline: 2px solid rgba(255, 255, 255, 0.35);
  outline-offset: 1px;
}

#loginForm .login-forgot-wrap {
  height: auto;
  margin: 0;
  padding: 0 0 0.5rem;
  display: flex;
  justify-content: center;
}

#loginForm .login-forgot-btn {
  background: transparent;
  border: none;
  color: #f5c4c4;
  text-decoration: underline;
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  padding: 0.25rem;
}

#loginForm .login-forgot-btn:hover,
#loginForm .login-forgot-btn:focus-visible {
  color: #fff;
  outline: none;
}

#forgotPwBig {
  display: none;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  padding: var(--cab-spacing-3);
  box-sizing: border-box;
  z-index: 1000;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  justify-content: center;
  align-items: center;
}

#forgotPwForm {
  width: min(100%, 420px);
  min-height: 220px;
  height: auto;
  position: relative;
  z-index: 1001;
  display: grid;
  grid-template-rows: auto auto auto auto;
  gap: var(--cab-spacing-3);
  padding: clamp(1rem, 2.8vw, 1.5rem);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.45);
  background: linear-gradient(180deg, #7a0000 0%, #600000 100%);
  box-sizing: border-box;
  animation-duration: 260ms;
  transform-origin: center center;
}

#forgotPwForm .formDiv {
  height: auto;
  justify-content: flex-start;
  align-items: center;
  padding-right: 2rem;
}

#forgotPwForm .formDiv h2 {
  margin: 0;
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  line-height: 1.1;
}

#forgotPwForm .close {
  top: 0.2rem;
  right: 0.2rem;
  padding: 0.25rem;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

#forgotPwForm .forgot-hint {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}

#forgotPwForm .user-box {
  height: auto;
  padding: 0;
  display: grid;
  gap: 0.35rem;
  align-items: start;
}

#forgotPwForm .user-box > label {
  position: static;
  transform: none;
  color: #f5f5f5;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0;
}

#forgotPwForm .user-box > input[type="text"] {
  height: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  box-shadow: none;
  text-align: left;
  padding: 0 0.9rem;
  font-size: 1rem;
  background: #fff;
  color: #101010;
}

#forgotPwForm .formButtonDiv {
  height: auto;
  margin-top: 0.25rem;
}

#forgotPwForm .formButton {
  width: 100%;
  max-width: 220px;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  box-shadow: none;
  font-size: 1.05rem;
  font-weight: 600;
  background: #0f0f0f;
}

#forgotPwForm .formButton:hover,
#forgotPwForm .formButton:focus-visible {
  background: #1f1f1f;
  outline: 2px solid rgba(255, 255, 255, 0.35);
  outline-offset: 1px;
}

#untriggert,
.formButton,
.smallNavLink {
  min-height: 44px;
}

.bigNav {
  height: auto;
  min-height: calc(100dvh - 72px - 140px);
  gap: var(--cab-spacing-2);
  justify-content: center;
  padding: var(--cab-spacing-3) 0;
}

.smallNav {
  padding: 0;
  overflow: hidden;
}

.smallNavLink {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
  padding: var(--cab-spacing-3);
  box-sizing: border-box;
}

.smallNavLink:focus-visible,
.smallNavLink:hover {
  outline: 2px solid #fff;
  outline-offset: -2px;
  background: rgba(255, 255, 255, 0.08);
}

.smallNav > p,
.smallNavLink > span {
  margin: 0;
  font-size: 1rem;
}

footer {
  min-height: 140px;
  height: auto;
  padding: var(--cab-spacing-2) var(--cab-spacing-3) var(--cab-spacing-3);
  box-sizing: border-box;
  gap: var(--cab-spacing-2);
  overflow-x: clip;
}

.bigInfo,
.bigSocial {
  width: auto;
  flex: 1 1 0;
  min-width: 0;
}

.socialLinks {
  width: 100%;
  height: auto;
  min-height: 54px;
  min-width: 0;
}

.socialLinks > a {
  width: 100%;
  min-width: 0;
}

.socialmedia {
  min-width: 0;
  box-sizing: border-box;
}

.socialmedia--twitch {
  width: 27%;
}

.socialmedia--youtube {
  width: 41%;
}

.socialmedia--instagram {
  width: 31%;
}

.icon {
  display: block;
  max-width: 100%;
  max-height: 36px;
  width: auto;
  height: auto;
  padding: 0;
}

.banner {
  display: block;
  max-width: 100%;
  width: 100%;
  height: auto;
}

@media (max-width: 390px) {
  body {
    font-size: 0.95rem;
  }

  .containerIndex > div {
    margin: 4%;
    width: 92%;
  }

  .socialHeadline h3 {
    font-size: 1rem;
    margin: 0.5rem 0;
  }
}

@media (min-width: 700px) {
  .home-neo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 520px) {
  body {
    border-radius: 18px 18px 0 0;
    overflow: hidden;
  }
}
