@font-face {
  font-family: 'Avenir Book';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/Avenir_Book.ttf') format('truetype');
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url('assets/fonts/Poppins-Light.ttf') format('truetype');
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/Poppins-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/Poppins-Medium.ttf') format('truetype');
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/Poppins-SemiBold.ttf') format('truetype');
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('assets/fonts/Poppins-ExtraBold.ttf') format('truetype');
}

/* --- General --- */

* {
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  color: white;
  word-wrap: break-word;
}

html,
body {
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  text-decoration: none;
  scroll-behavior: smooth;
}

body:after {
  content: '';
  display: block;
  position: fixed;
  /* stretch a fixed position to the whole screen */
  inset: 0;
  height: 100%;
  width: 100%;
  /* fix for mobile browser address bar appearing disappearing */
  z-index: -10;
  /* needed to keep in the background */
  background-color: black;
  background-image: url("assets/images/bg-design.jpg");
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-position: 75% 0%;
}

a {
  font-family: 'Poppins', 'Avenir Book', sans-serif;
}

a:hover {
  text-decoration: underline;
}

@media screen and (min-width: 768px) {
  .mobile {
    display: none !important;
  }
}

@media screen and (max-width: 767px) {
  .desktop {
    display: none !important;
  }
}

/* --- MailPopup --- */

.mailPopup {
  position: fixed;
  width: fit-content;
  left: 50%;
  transform: translateX(-50%);
  top: 2vh;
  padding: 1em 2em;
  background-color: rgba(255, 255, 255, 0.9);
  color: black;
  border-radius: 10px;
  box-shadow: 0 0 1em hsl(0, 0%, 90%);
  z-index: 11;
}

.mailPopup svg {
  margin-left: 1em;
  height: 1em;
  width: 1em;
  transform: translateY(0.1em);
  cursor: pointer;
}

/* --- Header --- */

header {
  position: fixed;
  z-index: 2;
  width: 100vw;
  height: fit-content;
  padding-left: 5vw;
  padding-top: 5vw;
}

.logo-container {
  height: 10vh;
  background: url("assets/images/schriftzug.png") no-repeat top center;
  background-size: 100% auto;
  width: 35%;
  opacity: 100%;
  transition: opacity 0.2s;
}

.logo-container:hover {
  cursor: pointer;
}

.logo-container.second {
  background: url("assets/images/schriftzug2_de.png") no-repeat top center;
  background-size: 100% auto;
  width: 17.5%;
}

.logo-container.second.en {
  background: url("assets/images/schriftzug2_en.png") no-repeat top center;
  background-size: 100% auto;
  width: 17.5%;
}

#logo2 {
  display: none;
}

.linkedin-icon {
  position: fixed;
  z-index: 2;
  top: 5vw;
  right: calc(5vw + 75px);
  transform-origin: center bottom;
  transform: scale(0.75);
}

.linkedin-icon img {
  display: block;
  width: 50px;
  height: 50px;
}

.menu-icon {
  position: fixed;
  z-index: 2;
  top: 5vw;
  right: 5vw;
  transform: scale(0.75);
}

.menu {
  transform: translateY(-25%) translateX(25%);
}

.main-nav {
  background-color: black;
  background-image: url("assets/images/bg-design.jpg");
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 75% 0%;
  z-index: 1;
  position: fixed;
  width: 100%;
  height: 100%;
  text-align: center;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  display: flex;

  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s;
}

.main-nav.opened-nav {
  visibility: visible;
  opacity: 100;
  overflow-y: auto;
}

.main-nav li {
  list-style: none;
}

/* --- Sections --- */

section {
  height: 100vh;
  position: relative;
}

.section-left {
  margin-left: 5vw;
  width: 45vw;
  height: 100%;
  position: relative;
}

.section-center {
  display: flex;
  text-align: center;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  width: 90%;
  height: 100%;

}

.section-right {
  margin-left: 45vw;
  width: 50vw;
  height: 100%;
  position: relative;
}

#home .section-left {
  /* transform: translateY(50%); */
  width: 60%;
}

#home .content-top {
  transform: translateY(-50%);
}

#home .content-text {
  margin-top: 16vh;
}

#was-sie-davon-haben p:nth-of-type(2) {
  max-width: 95%;
}

.content-top,
.content-text {
  position: absolute;
  top: 50%;
  width: 100%;
}

.content-top {
  transform: translateY(-100%);
}

.section-right p {
  max-width: 85%;
}

.section-left p {
  max-width: 90%;
}

.footer-link {
  text-decoration: none;
}

#erfahren {
  background-image: url("assets/images/Seed_group_foto.jpg"), linear-gradient(90deg, hsl(0 0% 0% / 0.8) 0%, #0000 100%);
  background-repeat: no-repeat;
  background-position: center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-blend-mode: overlay;
}

#leisten {
  background: rgba(0, 0, 0, .55) url("assets/images/0. Sub_Overview.jpg") no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-blend-mode: darken;
}

#arbeiten {
  background: rgba(0, 0, 0, .55) url("assets/images/Seed_group_agentur_fur_mehr_umsatz.jpg") no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-blend-mode: darken;
}

#was-sie-davon-haben {
  background-image: url("assets/images/Goldenes Ei.jpeg"), linear-gradient(90deg, hsl(0 0% 0% / 0.8) 0%, #0000 100%);
  background-repeat: no-repeat;
  background-position: center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-blend-mode: overlay;
}

#besonders {
  background: rgba(0, 0, 0, .6) url("assets/images/Ole_Web_Pic_4.1_Slider-scaled.jpg") no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-blend-mode: darken;
}

#vertraut {
  background-image: url("assets/images/Ole_Web_Pic_7.jpg"), linear-gradient(90deg, hsl(0 0% 0% / 0.8) 0%, #0000 100%);
  background-repeat: no-repeat;
  background-position: center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-blend-mode: overlay;
}

#kontakt {
  background-image: url("assets/images/IMG_6298-scaled.jpg"), linear-gradient(90deg, hsl(0 0% 0% / 0.8) 0%, #0000 100%);
  background-repeat: no-repeat;
  background-position: top center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-blend-mode: overlay;
}

.kunden-grid {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
  display: grid;
  grid-template-columns: auto auto auto auto auto;
  grid-template-rows: auto auto auto auto;
  margin-bottom: 5vh;
}

.kunden-grid .grid-item {
  align-self: center;
  justify-self: center;
  transform: scale(1);
  transition: transform 0.3s;
}

.grid-item:hover {
  transform: scale(1.1);
}

#leisten .section-left {
  width: 90vw;
}

#leisten .cards {
  display: flex;
  gap: 1vw;
}

#leisten .card {
  width: 100%;
  padding: 0.5vw;
  padding-bottom: 0.5vw;
  height: fit-content;
  transition: all 200ms ease-in-out;
}

#leisten .card_header {
  font-weight: bold;
  line-height: 1.2;
  font-size: 1.1vw;
  padding-bottom: 0.5vw;
  position: relative;
  cursor: pointer;
  text-decoration: underline;
}

#leisten .card_header .arrow {
  position: absolute;
  right: 0.3vw;
  bottom: 0.8vw;
  bottom: calc(50% - 10px);
  color: white;
  width: 20px;
  height: 20px;
  transition: transform 200ms ease-in-out;
  transform: rotate(0);
}

#leisten .card.open .card_header .arrow {
  transform: rotate(90deg);
}

#leisten .card_content {
  height: 0;
  padding: 0;
  overflow: hidden;
  transition: all 200ms ease-in-out;
  position: relative;
  font-size: 0.85em;
  line-height: 1.5;
}

#leisten .card.open .card_content {
  height: auto;
  padding-block: 1em 2.5em;
}

#leisten .card_content .more {
  position: absolute;
  bottom: 0.7em;
  right: 0.7em;
  font-size: 0.8em;
  cursor: pointer;
  text-decoration: none;
  /* display: none; */
  /*  --- only temporary --- */
}

#leisten .card_content .more:hover {
  text-decoration: underline;
}

#leisten .card.blue {
  background: linear-gradient(120deg, rgb(20, 46, 94) 0%, rgb(35, 79, 148) 100%);
}

#leisten .card.cyan {
  background: linear-gradient(120deg, rgb(15, 75, 91) 0%, rgb(10, 129, 154) 100%);
}

#leisten .card.purple {
  background: linear-gradient(120deg, rgb(64, 19, 98) 0%, rgb(112, 40, 167) 100%);
}

#leisten .card.yellow {
  background: linear-gradient(120deg, rgb(121, 88, 0) 0%, rgb(204, 150, 0) 100%);
}

/* --- Typography --- */

.main-nav a {
  text-decoration: none;
  font-size: 1.3vw;
  font-weight: 400;
  line-height: 1.5;
}

h1 {
  font-size: 4vw;
  font-weight: 600;
  line-height: 1.1em;
  margin: 0;
}

h2 {
  font-size: 3vw;
  margin: 0;
  line-height: 1.1;
  font-weight: 600;
}

.subt {
  font-size: 2.2vw;
  margin: 0.5em;
  margin-top: 0.3em;
}

.small {
  font-size: 1.25vw;
  line-height: 1.3;
  display: inline-block;
}

.left-text,
.right-text {
  font-size: 1.4vw;
  line-height: 1.3em;
}

.medium-text {
  font-size: 1.15vw;
  line-height: 1.3;
}

.contact-text {
  font-size: 1vw;
  line-height: 1.3;
}

.contact-link {
  font-size: 1.1vw;
}

.mehr-erfahren-btn a {
  font-size: 1.3vw;
  text-decoration: none;
  padding: 1em 3em;
  border: 1px solid white;
  text-transform: uppercase;
}

#arbeiten h2,
#arbeiten p {
  text-shadow: 0 0 0.4em black;
}

/* --- SimpleContent --- */

.container {
  margin-left: 5vw;
  position: relative;
}

.simpleContent {
  padding-top: 20vh;
  width: 60%;
  padding-bottom: 1.6rem;
}

.simpleContent p {
  font-family: "Poppins", "Avenir Book", sans-serif;
  font-size: 1vw;
}

.mt-4 {
  margin-top: 4rem;
}

.ls-1 {
  letter-spacing: 1.3px;
}

.limited-width {
  width: 55%;
}

#contact p {
  line-height: 1.2;
  font-size: 1.4vw;
}

#contact .form {
  margin-top: 5vh;
  display: grid;
  grid-template-columns: calc(50% - 10px) calc(50% - 10px);
  grid-auto-rows: 4em;
  gap: 20px;
  max-width: 1000px;
  margin-inline: auto;
}

.contact-input {
  background-color: transparent;
  border: 1px solid white;
  border-radius: 1em;
  padding: 1em;
  width: 100%;
}

.contact-input.orange {
  border: 1px solid rgb(184, 89, 0);
}

.grid-element.msg {
  grid-row: 3 / span 2;
  grid-column: 2;
  display: flex;
  flex-flow: column;
  height: 100%;
}

.grid-element.msg .contact-input {
  flex: 1 1 auto;
  resize: none;
}

.grid-element.submit {
  grid-column: 2;
  text-align: right;
}

.contact-submit {
  background-color: rgb(184, 89, 0);
  border: 3px solid rgb(184, 89, 0);
  border-radius: 1em;
  padding: 0.8em 2em;
  cursor: pointer;
}

.contact-submit:hover {
  background-color: rgb(139, 67, 0);
}

.contact-submit:active,
.contact-submit::selection {
  border: 3px solid white;
}

.back_btn {
  margin-inline: auto;
  width: fit-content;
  cursor: pointer;
  padding-inline: 2em;
  border-bottom: 1px solid currentColor;
  position: relative;
  text-decoration: none;
  color: currentColor;
}

.back_btn:hover {
  color: rgb(219, 106, 0);
}

.back_btn::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1em;
  aspect-ratio: 1 / 1;
  transform: rotate(45deg);
  transform-origin: left bottom;
  border-left: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
}

.contact_link {
  text-decoration: underline;
  position: absolute;
  bottom: 10vh;
}

@media screen and (orientation: portrait) and (max-width: 1150px) {

  .logo-container.second {
    width: 35% !important;
  }

  .main-nav a {
    font-size: 2.5vw;
    line-height: initial;
  }

  .mehr-erfahren-btn a {
    font-size: 2vw;
  }

  h1 {
    font-size: 6vw;
  }

  h2 {
    font-size: 5vw;
  }

  .left-text,
  .right-text,
  .subt {
    font-size: 2.4vw;
  }

  .medium-text {
    font-size: 2vw;
  }

  .small {
    font-size: 2vw;
  }

  .contact-text {
    font-size: 2.2vw;
    line-height: 1.3;
  }

  .contact-link {
    font-size: 2.8vw;
  }
}

@media screen and (orientation: portrait) and (max-width: 767px) {

  html,
  body,
  .main-nav {
    background-position: 75% 0;
  }

  header {
    background-color: hsl(0 0% 0% / 0.5);
    width: 100vw;
    height: 10vh;
    position: fixed;
    padding-left: 5vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
  }

  section p:first-of-type:not(.contact-text) {
    font-weight: 500;
  }

  .logo-container {
    width: 60%;
    position: relative;
    height: 100%;
    top: 0;
    left: 0;
    background: url("assets/images/schriftzug.png") no-repeat center center;
    background-size: 100% auto;
  }

  .logo-container.second {
    background: url("assets/images/schriftzug2_de.png") no-repeat center center;
    background-size: 100% auto;
    width: 50%;
  }

  .logo-container.second.en {
    background: url("assets/images/schriftzug2_en.png") no-repeat center center;
    background-size: 100% auto;
    width: 50%;
  }

  .menu-icon {
    transform: scale(0.5);
    position: relative;
    top: 0;
  }

  .menu {
    transform: none;
  }

  .main-nav {
    padding-top: 10vh;
  }

  .main-nav nav {
    height: 100%;
    width: 90%;
  }

  .main-nav ul {
    padding: 0;
    height: 90%;
    display: flex;
    flex-direction: column;
    gap: 1vh;
    justify-content: center;
  }

  #home .content-top {
    width: 85vw;
  }

  #home .content-text {
    margin-top: -1rem;
  }

  #home .section-left {
    width: 90%;
  }

  .section-left,
  .section-right {
    width: 95vw;
    padding-top: 50vh;
    margin-left: 5vw;
  }

  .section-center,
  #kontakt .section-left {
    width: 95vw;
    margin-left: 5vw;
    text-align: left;
    display: flex;
    align-items: start;
    justify-content: center;
  }

  #360 h2 {
    transform: translateY(-100%);
  }

  .section-center p:first-of-type {
    margin-top: 1em;
    margin-bottom: 0;
    width: 80%;
  }

  .section-center p:nth-of-type(2):not(.contact-text) {
    width: 90vw;
    line-height: 1.1;
  }

  .content-top {
    transform: none;
    position: relative;
    top: 0;
  }

  .section-left p,
  .section-right p {
    max-width: 100%;
  }

  #kontakt .section-left {
    padding-top: calc(50vh - 5rem);
  }

  #erfahren {
    background-image: url("assets/images/Welcome.jpg"), linear-gradient(0deg, hsl(0 0% 0% / 0.83) 37%, #0000 100%);
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-blend-mode: overlay;
  }

  #arbeiten {
    background: rgba(0, 0, 0, .53) url("assets/images/4.-What-You-Get_2-scaled.jpg") no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-blend-mode: darken;
  }

  #was-sie-davon-haben {
    background-image: url("assets/images/Goldenes Ei_mobile.jpg"), linear-gradient(0deg, hsl(0 0% 0% / 0.83) 37%, #0000 100%);
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-blend-mode: overlay;
  }

  #besonders {
    background: rgba(0, 0, 0, .5) url("assets/images/5.-W.-M.-Us-Special-scaled.jpg") no-repeat top right;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-blend-mode: darken;
  }

  #vertraut {
    background-image: url("assets/images/6.-Who-Trust-Us-3.jpg"), linear-gradient(180deg, #0000 0%, #000 100%);
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-blend-mode: overlay;
  }

  #kontakt {
    background: none;
  }

  #kunden {
    display: none;
  }

  .simpleContent {
    width: 90vw;
  }

  #contact {
    padding-bottom: 5vh;
  }

  #contact .form {
    max-width: 100vw;
    display: block;
  }

  .limited-width {
    width: 100%;
  }

  #contact p {
    font-size: 4.3vw;
    line-height: 1.2;
  }

  #leisten .section-left {
    height: 100%;
    padding-block: 1em;
    display: flex;
    flex-direction: column;
    justify-content: end;
  }

  #leisten .content-text {
    display: flex;
    flex-direction: column;
  }

  #leisten .cards {
    flex-direction: column;
    flex: 1 1 auto;
    gap: 0.5em;
    overflow-y: auto;
  }

  #leisten .card {
    padding: 0.5em 1em;
  }

  #leisten .card_header {
    font-size: 1.1em;
  }

  /* --- Typography --- */

  .main-nav a {
    line-height: 1.1;
    font-size: 4vw;
  }

  .mehr-erfahren-btn a {
    font-size: 3.5vw;
  }

  h1 {
    font-size: 8vw;
  }

  h2 {
    width: 90%;
    line-height: 1.3;
    font-size: 8vw;
  }

  .small {
    font-size: 4vw;
    line-height: 1.5;
  }

  .left-text,
  .right-text,
  .subt {
    font-size: 4.3vw;
    line-height: 1.3;
    margin-left: 0;
  }

  .medium-text {
    font-size: 3.6vw;
    line-height: 1.5;
  }

  .contact-text {
    font-size: 3.6vw;
    line-height: 1.4;
  }

  .simpleContent h2 {
    font-size: 6vw;
  }

  .simpleContent p {
    font-size: 4vw;
  }

  .content-text {
    position: relative;
    top: 0;
    width: 90vw;
  }

  .contact-link {
    font-size: 3.5vw;
  }

}