:root{
  --bg: #eee8e8;
  --pill: rgb(38 38 38 / 10%);
}

body{
  margin:0;
  background: var(--bg);
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
  color: var(--text);
  height: 100%;
  padding-bottom: var(--loop-h);
}

.om-hero{
  min-height: 100vh;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap: 22px;
  padding:20px;
}

.logo-img{
    height: 112.8px;
    width: 225.6px;
    position: absolute;
    top: 50px;
    left: 50px;
}

.om-title{
  margin:0;
  font-weight: 700;
  font-size: 65px;
  color: #be2626;
  letter-spacing: 0.05em;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.om-tabs{
  width: min(800px, 92vw);
  background: var(--pill);
  border-radius: 20px;
  padding: 7px 22px;
  display:flex;
  justify-content: space-between;
  align-items:center;
}

.om-tab{
  text-decoration:none;
  color: #2f2f2f;
  font-size: 22px;
  font-weight: 500;
  padding: 10px 15px;
  border-radius: 20px;
  line-height: 1;
  transition: background-color .8s ease;
  transition: color 0.8s ease-out;
}

/* bg-color nur als Hover-Effekt */
.om-tab:hover{
  background: #262626;
  color: #eee8e8;
}


.contact{
    height: 40px;
    display: flex;
    width: 500px;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    padding: 0 10px 0 10px;
    background-color: #262626;
}

.contactitem{
    color: #be2626;
    text-decoration: none;
    margin: auto;
}


.nav-wrapper {
  height: 56px;
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 81.4px;
}


.contentfield{
  margin-top: 40px;
  height: auto;
  width: 70vw;
  margin-left: 50px;
}

.w-title{
  font-size: 65px;
  color: #be2626;
  margin-top: 40px;
}

.w-paragraph{
  font-size: 18px;
  color: #262626;
}

.process-grid{
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 20px;
  width: 100%;
}

/* obere Boxen */
.step{
  color: #be2626;
  font-size: 18px;
  font-weight: 300;
  outline: solid 2px #be2626;
  border-radius: 20px;
  padding: 12px;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Textboxen (2. Reihe) */
.step-text{
  font-size: 14px;
  line-height: 1.5;
  color: #262626;
}

.step-text p{
  margin: 0;
}

/* Website Launch über beide Reihen (Spalte 5) */
.launch{
  grid-column: 5;
  grid-row: 1 / span 2;
  background-color: #be2626;
  color: #ffffff;
}


















@media (min-width:320px) and (max-width: 600px){
  .logo-img{
    position: absolute;
    top: 40px;
    left: 20px;
  }  
  
  
  .om-hero{
        display: flex;
        justify-content:center;
    }

    .om-title{
        margin-bottom: 20px;
        font-size: 35px;
    }


  .om-tabs{
    gap: 10px;
    flex-wrap: wrap;
    margin: 20px;
    width: auto;
    height: 100px;
    justify-content: space-around;
    margin-top: 20px;
  }
  .om-tab{
    font-size: 16px;
    padding: 10px 16px;
  }

  

  .logo-img {
    height: 56.4px;
    width: 112.8px;
  }

  .nav-wrapper{
    height: auto;
  }

  .w-title{
    margin-top: 0px;
    margin-bottom: 0px;
  }

  .process-grid{
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 10px;
  }

  /* Launch auf Mobile nicht spannen */
  .launch{
    grid-column: auto;
    grid-row: 9; /* ganz am Ende */
  }

  .step{
    font-size: 15px;
    padding: 12px 10px;
    min-height: 64px;
  }

  .step-text{
    font-size: 13px;
    padding: 0 6px;
  }

  /* Reihenfolge fixen (weil HTML erst Steps, dann Texte) */
  .process-grid > .step:nth-of-type(1){ grid-row: 1; }
  .process-grid > .step-text:nth-of-type(1){ grid-row: 2; }

  .process-grid > .step:nth-of-type(2){ grid-row: 3; }
  .process-grid > .step-text:nth-of-type(2){ grid-row: 4; }

  .process-grid > .step:nth-of-type(3){ grid-row: 5; }
  .process-grid > .step-text:nth-of-type(3){ grid-row: 6; }

  .process-grid > .step:nth-of-type(4){ grid-row: 7; }
  .process-grid > .step-text:nth-of-type(4){ grid-row: 8; }

  /* Launch ist Step Nr. 5 -> grid-row 9 (siehe oben) */

}

/* Loop-Leiste unten fixiert */
.mm-loop{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 72px;
  background: #eee8e8; /* dein Seiten-BG */
  z-index: 9999;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Viewport für den Lauftext
   20px (links) + 50px Abstand = 70px */
.mm-loop__viewport{
  position: absolute;
  left: 20px;
  right: 20px;
  top: 0;
  bottom: 0;

  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Beweglicher Track */
.mm-loop__track{
  display: flex;
  align-items: center;
  gap: 120px; /* Abstand zwischen Textkopien */
  white-space: nowrap;
  will-change: transform;
  animation: mm-marquee 18s linear infinite;
}

/* Ein Textblock */
.mm-loop__item{
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
  font-size: 34px;
  line-height: 1;
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
}

/* Hervorhebung */
.mm-loop__label{
  color: #be2626;
  font-weight: 800;
  margin-right: 24px;
}

/* Fließtext */
.mm-loop__text{
  color: #111;
  font-weight: 400;
}

/* Animation: rechts -> links */
@keyframes mm-marquee{
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Bewegungsreduktion */
@media (prefers-reduced-motion: reduce){
  .mm-loop__track{
    animation: none;
  }
}

/* Mobile */
@media (max-width: 600px){
  body{
    padding-bottom: 58px;
  }

  .mm-loop{
    height: 58px;
  }

  .mm-loop__item{
    font-size: 20px;
  }
}