/* poppins-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/poppins-v20-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/poppins-v20-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/poppins-v20-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/poppins-v20-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* --------- Root Elemente --------- */

:root {
  --clr-primary-200: #FFF;

  --clr-accent: #FD6B00;
  --clr-accent-hover: #FD6B00;


  --ff-primary: 'Poppins';
    --ff-headlines: 'Poppins';
}


#kunde {
  animation: appear 0.8s ease-in-out forwards 1s;
}

#entwickler {
  animation: appear 0.8s ease-in-out forwards;
}

#produkte {
  animation: appear 0.8s ease-in-out forwards 0.5s;
}

.socialMedia {
  width: 40px;
  height: 40px;
  margin: 4em 1.3em 0 0;
}

@keyframes appear {
  0% {
    scale: 0%;
  }
  20% {
    scale: 30%;
  }
  40% {
    scale: 60%;
  }
  60% {
    scale: 90%;
  }
  80% {
    scale: 110%;
  }
  100% {
    scale: 100%;
  }
}

.text-center {
  text-align: left;
}

.goToTop {
  position: fixed;
  width: 50px;
  height: 50px;
  bottom: 40px;
  right: 50px;
}


/* ---------- Allgemeine Elemente ---------- */


body, html {
  width: 100%;
  margin: 0 0 0 0;
  font-size: clamp(1em, 1vw, 1.5em);
  padding: 0;
  font-family: var(--ff-primary);
  line-height: 1.6;
  background-color: #343434;
}

*, *::before, *::after {
  box-sizing: border-box;
}

img {
  max-width: 100%;
}

section {
  align-items: center;
  padding: 3.5rem 0;
  margin-bottom: 5em;
}

section:first-child {
  margin-bottom: 0;
}

.container {
  margin: 0 auto;
  width: min(80%, 100%);
}

.row {
  display: flex;
  justify-content: center;
  gap: 3em;
}

.row-wide {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3em;
}

.row-start {
  display: flex;
  justify-content: center;
  gap: 2em;
}

.row-wrap {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3em;
}

.row-wrap-left {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 3em;
}

.row-left {
  display: flex;
  justify-content: flex-start;
  gap: 6em;
}

.row-work {
  display: flex;
  justify-content: flex-start;
  gap: 1em;
}

.row-facts-left {
  display: flex;
  justify-content: flex-start;
  width: 100%;
  gap: 3em;
}

.row-facts {
  display: flex;
  gap: 0.8em;
  margin-bottom: -2em;
}

.col-facts {
  width: 30%;
}

.col-equalsize {
  width: 100%;
}
.col-onethird {
  width: 33%;
}

.col-twothirds {
  width: 67%;
}

.col-threecols {
  width: 30%;
}

.col-half {
  width: 60%;
}

  /* -- Index Dark -- */
  .col--quality {
    width: 100%;
    text-align: center;
    margin-top: 3em;
  }

  .icon--quality {
    height: 10em;
    position: relative;
    display: inline-block;
  }

  .icon--quality-hover {
    height: 10em;
    position: absolute;
    top: 0;
    left: 0;
    display: none;
    transition: all 250ms ease;
  }

  .icon--quality:hover .icon--quality-hover {
    display: inline;
    transition: all 250ms ease;
  }

  .index-one {
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    background: url(../images/bg_startseite.png);
    position: relative;
    background-position:center center;
    background-size: cover;
  }

  .index-two {
    background-color: var(--clr-accent);
  }

  .row--kontakt {
    display: flex;
    justify-content: center;
    gap: 1em;
  }

  .button--orange {
    background-color: #FD6B00;
    padding: 1em 1.5em;
    box-shadow: 0 5px 5px 0 #303030;
    border: none;
    border-radius: 1.5em;
    position: relative;
    z-index: 2;
    cursor: pointer;
    margin-right: 1.5em;
  }

  .button--white {
    border: 0.1em solid var(--clr-primary-200);
    padding: 1em 1.5em;
    text-align: center;
    border-radius: 1.5em;
  }

  .button--white:hover {
    background-color: var(--clr-primary-200);
    color: #000000;
    cursor: pointer;
    box-shadow: 0 5px 5px 0 #303030;
  }

  .button--kontakt {
    background-color: #FD6B00;
    box-shadow: 0 5px 5px 0 #303030;
    border: none;
    width: 3em;
    height: 3em;
    border-radius: 1.5em;
    position: relative;
    z-index: 2;
    cursor: pointer;
  }

  .jetztBewerben {
    font-weight: 500;
    color: var(--clr-accent);
    background-color: var(--clr-primary-200);
    border: none;
    padding: 2em 3em;
  }

  .eyeCatcher {
    background-color: var(--clr-accent);
    padding: 2em 4em 3em 4em;
    border-radius: 20px;
  }

  .icon {
    margin: 4em 2em 0 0;
    max-width: 9em;
  }

  .show-on-scroll {
    opacity: 0;
    transition: opacity 500ms ease-in;
    color: #FD6B00;
  }

  .is-visible {
    opacity: 1;
  }

  .img-easteregg {
    position: absolute;
    top: 108%;
    left: 92%;
    transform: translate(-50%, -50%);
    width: 4em;
    vertical-align: top;
  }

  .header {
    height: 4em;
    overflow: hidden;
    border-radius: 5px 5px 0 0;
    box-shadow: 0 2px 3px 0 (0, 0, 0, 0.2);
  }

  .header h2 {
    color: white;
    padding-left: 20px;
    padding-bottom: 15px;
    font-weight: normal;
    font-size: clamp(1.3em, 1vw, 1.7em);
  }

  .message p {
    padding: 10px 20px 10px 20px ;
  }

  .cls-btn {
    position: absolute;
    bottom: 12px;
    right: 25px;
    border-radius: 5px;
    color: white;
    background: #FD6B00;
    padding: 8px 10px;
    cursor: pointer;

  }

  .cls-btn:hover {
    background: #a74906;
  }

  #click { display: none;}

  .content {
    z-index: 2;
    user-select: none;
    opacity: 0;
    visibility: hidden;
    color: white;
    position: absolute;
    top: 140%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 300px;
    background: #343434;
    border-radius: 5px;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, .4);
    cursor: auto;
    transition: 0.3s ease-in;
  }

  #click:checked ~ .content {
    opacity: 1;
    visibility: visible;
  }

  /* -- Team -- */
  .row--team {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2em;
  }

  .col--team {
    width: 30%;
    text-align: center;
  }

  .img--team {
    width: 100%;
    height: auto;
  }

  .kategorie-ausgewählt {
    max-width: 10em;
    margin: 3em 7em 0 7em;
    scale: 0%;
  }

  .kategorie {
    max-width: 10em;
    margin: auto 7em;
    scale: 0%;
  }


  .button {
    background: var(--clr-accent);
    color: white;
    border: none;
    border-radius: 40px;
    padding: 10px 25px;
  }

  .button.active {
    background-color: var(--clr-chosen);
  }



/* ---------- Fonts ---------- */

h1 {
  font-family: var(--ff-primary);
  font-size: clamp(2.5em, 4vw, 7em);
  font-weight: 100;
  color: #fff;
  text-align: center;
}

h2 {
  font-size: clamp(2em, 3vw, 3.5em);
  font-weight: lighter;
  color: #fff;
  font-family: var(--ff-headlines);
}

h3 {
  font-size: clamp(2em, 3vw, 3.5em);
  font-weight: lighter;
  color: #fff;
  font-family: var(--ff-primary);
}

h4 {
  font-family: var(--ff-primary);
  font-size: clamp(1.5em, 2.2vw, 2.5em);
  color: #fff;
  font-weight: 200;
}
h5 {
  font-size: clamp(1em, 1.3vw, 1.4em);
  font-weight: lighter;
  color: #fff;
  font-family: var(--ff-primary);
}

p {
  font-size: clamp(1em, 1.2vw, 1.4em);
  font-family: var(--ff-primary);
  color: #fff;
  line-height: 1.5em;
}

a {
  text-decoration: none;
  font-size: clamp(1em, 1.2vw, 1.4em);
  font-family: var(--ff-primary);
  color: #ffffff;
}

label {
  font-size: clamp(1.2em, 1.15vw, 1.5em);
  font-family: var(--ff-primary);
  line-height: 1.5em;
  color: #ffffff;
  font-weight: bolder;
}

input {
  color: #fff;
  padding: 1em;
  border-radius: 5px;
  background-color: #343434;
  border: 1px solid rgb(89, 89, 89);
  margin-bottom: 2em;
  margin-top: 0.5em;
  width: 500px;
}

input:focus {
  border: 1px solid #B9723E;
}

input[type="submit"] {
  font-size: clamp(1em, 1.1vw, 1.2em);
  color: #fff;
  background-color: #B9723E;
  border: none;
  padding: 1.5em;
  max-width: 250px;
}

input[type="file"] {
  color: #fff;
 opacity: 0;
 cursor: pointer;
 position: absolute;
 width: 600px;
 height: 150px;
}

.file {
  padding: 2em;
  width: 600px;
  height: 150px;
  border-radius: 5px;
  background-color: #343434;
  border: 1px solid rgb(89, 89, 89);
  margin-bottom: 2em;
  margin-top: 0.5em;
}

.upload {
  font-size: clamp(1.2em, 1.15vw, 1.5em);
  color: #FD6B00;
  font-weight: bolder;
}

.text--white {
  color: #ffffff;
}

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

.team--name {
  margin-top: -0.9em;
  margin-bottom: -0.4em;
  font-size: clamp(1em, 2vw, 2em);
}

.title {
  font-size: clamp(0.9em, 1vw, 1.1em);
}


/* --------- Header --------- */

header {
  z-index: 10000;
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1em 3em;
  transition: 0.6s;
  background: var(--clr-accent);
}

header .menu {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

header .menu a {
  font-size: 1em;
  padding: 0.3em 0.75em;
  margin: 0 1.5em;
  color: #ffffff;
  font-family: var(--ff-primary);
  font-size: 0.8em;
  border-radius: 1.5em;
  transition: 0.3s;
  transition-property: color;
}
header .btn {
  color: #ffffff;
  font-size: 1.5em;
  cursor: pointer;
  display: none;
}

.list-btn {
  color: #fff;
  display: flex;
  justify-content: space-between;
  padding: 0.2em 1em;
  border-radius: 5px;
}

.list-btn:hover {
  background-color: rgba(185, 114, 62, 0.4);
}

.list-btn-2 {
  display: flex;
  justify-content: space-between;
  padding: 0.2em 1em;
  border-radius: 5px;
  background-color: rgba(72, 72, 72, 1);
}

.list-btn-2:hover {
  background-color: rgba(185, 114, 62, 0.4);
}

.remote {
  font-size: 1em;
}

button {
  background: #B9723E;
  border: none;
  padding: 1em;
  border-radius: 5px;
  color: #ffffff;
  cursor: pointer;
}

.button-light {
  background:  #fff;
  border: none;
  padding: 1em;
  border-radius: 5px;
  color: #B9723E;
}


.list {
  display: flex;
  justify-content: flex-start;
  gap: 1em;
  cursor: pointer;
}

.list-line {
  color: #fff;
  padding: 1em;
  border-bottom: solid rgb(72, 72, 72) 1px;
}

.list-line:last-child {
  border-bottom: none;
}

.question {
  font-size: clamp(1.1em, 1.2vw, 1.5em);
  font-family: var(--ff-primary);
  line-height: 1.5em;
  color: #ffffff;
}

.question:hover {
  color: #e18b4e;
  cursor: pointer;
}

.answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 1s ease;
  padding-left: 2em;
}

.list-line.active .answer {
  max-height: 300px;
}

.list-line.clicked .question{
  color: #B9723E;
}

.list-line.active .arrow {
  transform: rotate(180deg);
}

.arrow {
  width: 1em;
  transition: transform 0.5s ease-in-out;
  cursor: pointer;
}

.show {
  display: block;
}

.noshow {
  display: none;
}

.facts {
  width: 2.5em;
}

.work {
  width: 100%;
}

.pflicht {
  color: #FD6B00;
}

.index--logo { z-index: 100; background: none; float: left; width: 4.5em; height: auto;}

/* --------- Bewerbung --------- */

#blank {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 100000;
  visibility: hidden;
  pointer-events: none;
}

#blank.active {
  visibility: visible;
}

.team-foto {
  width: 100%;
}


/* --------- Champions --------- */

.noshowChampions {
  display: none;
  visibility: hidden;
}

.showChampions {
  display: inline-block;
  visibility: visible;
  color: #FD6B00;
}


.champions:hover {
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: #FD6B00;
  text-decoration-thickness: 3.5px;
}


/* --------- Game --------- */

.overlay {
  background-color: rgba(0, 0, 0, 0.7);
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  z-index: 10000;
}

.hide {
  display: none;
}

.game {
  height: 100vh;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  background-color: #343434;

}

#game-board {
  background-color: #ccc;
  width: 80vmin;
  height: 80vmin;
  display: grid;
  grid-template-rows: repeat(21, 1fr);
  grid-template-columns: repeat(21, 1fr);
}

.snake {
  background-color: #343434;
  border: .25vmin solid black;
}

.food {
  background-color: #FD6B00;
  border: .25vmin solid black;
}



.row-tabs {
  display: grid;
  gap: 3em;
  grid-template-columns: repeat(2, 1fr);
  justify-content: start;
  align-items: center;
  z-index: 1;
}

.tab-content {
  order: 1;
}

.image {
  order: 2;
}

.tabs {
  position: relative;
  width: 100%;
  height: 700px;
  overflow: visible;
  margin-bottom: 2em;
}

.tab-header {
  height: 60px;
  display: flex;
  align-items: center;
  gap: 3em;
  cursor: pointer;
}

.tab-header > div.active {
  color: var(--clr-accent);
}

.tab-indicator {
  position: relative;
  width: 50px;
  height: 3px;
  background: var(--clr-accent);
  border-radius: 5px;
  opacity: 0;
  transition: opacity 500ms ease-in-out 0ms;
  margin-top: -1.5em;
}

.tab-header > div.active .tab-indicator {
  opacity: 1;
}

.tab-body {
  position: relative;
  height: calc(100% - 60);
}

.tab-body > div {
  position: absolute;
  opacity: 0;
  transition:
      opacity 500ms ease-in-out 0ms;
}

.tab-body > div.active {
  opacity: 1;
}


.nextGeek {
  background: var(--clr-accent);
  border-radius: 20px;
  padding-bottom: 1em;
  box-shadow: 5px 5px 5px 4px rgb(46, 46, 46);
}


.cards {
  margin-top: 2em;
  margin-bottom: 7em;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5em;
  justify-content: center;
}

.card {
  border-radius: 25px;
  padding: 1.5em 1.5em;
  box-shadow: 5px 5px 5px 4px rgb(46, 46, 46);
  transition: all 500ms ease-in-out 0ms;
}


/* --------- Footer --------- */

footer {
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--clr-accent);
  padding: 1.5em 0 5em 0;
  margin-top: auto;
}

/* --------- Media Queries --------- */

@media (max-width: 960px) {
  header .btn {
    display: block;
    width: 0.8em;
    height: 0.8em;
    margin-top: -0.5em;
  }

  header .menu {
    position: fixed;
    background: var(--clr-chosen);
    flex-direction: column;
    min-width: 320px;
    height: 100vh;
    top: 0;
    right: -100%;
    padding: 1em 3em;
  }

  header .menu.active {
    right: 0;
    background: var(--clr-accent);
    z-index: 1000;
  }

  header .menu .close-btn {
    position: absolute;
    top: 0;
    left: 0;
    margin: 25px;
    width: 0.8em;
    height: 0.8em;
  }

  header .menu a {
    display: block;
    font-size: 1em;
    margin: 1.5em;
    padding: 0 1em;
  }

  .row {
    display: block;
  }

  .row-wide {
    display: block;
  }

  .row--team {
    display: block;
  }

  .col-half {
    width: 100%;
  }

  .col--team {
    width: 100%;
    margin-top: 3em;
  }

  .col-equalsize {
    width: 100%;
    text-align: center;
    margin: auto;
  }

  .about--image {
    margin-top: 3em;
  }

  .kontakt--icons {
    margin-right: 0.5em;
  }

  .image--topspace {
    margin-top: 3em;
  }

  .col-onethird {
    width: 100%;
    margin-top: 4em;
   }

  .col-threecols {
    width: 100%;
  }

   .col-twothirds {
     width: 100%;
    }

   .icon {
     margin: 6em auto 0 auto;
   }

   .cards {
    display: block;
  }

  .row-tabs {
    grid-template-columns: repeat(1, 1fr);
  }

  .tab-content {
    order: 2;
  }

  .image {
    order: 1;
  }

  .col-tabs {
    width: 100%;
  }


}

@media (max-width: 650px) {

  input {
    width: 250px;
  }

  input[type="file"] {
    width: 250px;
  }

  .file {
    width: 250px;
  }

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

  .col-big {
    width: 100%;
  }

  .row-left {
    display: block;
  }

  .row-work {
    margin-bottom: 1em;
  }

  .row-facts-left {
    display: block;
    margin: 0 auto;
    text-align: center;
  }

  .row-facts {
    justify-content: center;
  }

  .col-facts {
    width: 100%;
    justify-content: center;
  }

  .row-wrap-left {
    display: block;
    margin: 0 auto;
  }

  .col {
    justify-content: center;
  }

  .button--white {
    margin: 0.5em 1em 0.5em 0;
  }

  .kontaktButton {
    display: block;
  }

  .button--kontakt {
    margin-right: 1em;
  }

  #kunde {
    display: none;
  }

  #produkte {
    display: none;
  }

  .row-start {
    display: flex;
    align-items: center;
  }

  .switch {
    display: block;
    width: 40px;
    height: 40px;
  }

  .switchLink {
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    position: relative;
  }

  .list-btn {
    display: block;
  }

  .list-btn-2 {
    display: block;
  }

  .remote {
    font-size: 0.8em;
  }



  /* .switchLink::before,
  .switchLink::after {
    --scale: 0;
    position: absolute;
    top: -0.25rem;
    left: 50%;
    transform: translateX(-50%) translateY(-100%) scale(var(--scale));
    transistion: 50ms transform;
    transform-origin: bottom center;
  }

  .switchLink::before {
    content: attr(data-tooltip);
    max-height: 100px;
    max-width: 100%;
    background-color: #303030;
    color: #fff;
    padding: 0.5rem;
    border-radius: .3rem;
    text-align: center;
  }

  .switchLink:hover::before {
    --scale: 1;
  }
  */
}
