@charset "UTF-8";

@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300;
  src: url(fonts/Geist-Light.ttf) format('truetype');
}

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

@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 800;
  src: url(fonts/Geist-ExtraBold.ttf) format('truetype');
}

/* SETTINGS */

:root {
  --sizing-half: 10px;
  --sizing-standard: 20px;
  --sizing-double: 30px;
  --sizing-space: 100px;
  --sizing-border: 1.5px;
  --sizing-background-grid: 24px;

  --color-primary: #050505;
  --color-highlight: #1c1c1c;
  --color-text: #ffffff;
  --color-text-transparent: #ffffffb3;
  --color-orange-light: #ffc62f;
  --color-orange-dark: #ff9100;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* LAYOUT */

body {
  background: var(--color-primary);
  color: var(--color-text);
  overflow-x: hidden;
  font-family: 'Geist', serif;
  font-style: normal;
  font-size: 13px;
  font-weight: 300;
  display: flex;
  flex-direction: column;
  align-items: center;
}

header,
main,
footer {
  width: 1050px;
}

main {
  padding: 0 var(--sizing-standard);
}

header,
footer {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: var(--sizing-standard);
}

nav {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: var(--sizing-standard);
}

section > div {
  border: var(--sizing-border) solid var(--color-highlight);
}

.grid-1-2 {
  display: grid;
  grid-template-columns: 1fr 2fr;
}

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

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

.grid-1_22-1 {
  display: grid;
  grid-template-columns: 1.22fr 1fr;
}

.grid-1-1_22 {
  display: grid;
  grid-template-columns: 1fr 1.22fr;
}

.grid-1_5-1 {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
}

.grid-1-1_5 {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
}

.icon-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

.icon-grid-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sizing-double);
}

.flex-row {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: stretch;
  border: var(--sizing-border) solid var(--color-highlight);
}

.flex-row-space {
  min-height: 100%;
  min-width: calc(var(--sizing-space) + 10px);
  border-left: var(--sizing-border) solid var(--color-highlight);
  border-right: var(--sizing-border) solid var(--color-highlight);
}

.space {
  border-top: none;
  border-bottom: none;
  height: var(--sizing-space);
}

.flex-column-separator {
  width: 100%;
  height: var(--sizing-border);
  background-color: var(--color-highlight);
}

.flex-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
}

.content {
  padding: var(--sizing-double);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: var(--sizing-standard);
  position: relative;
  width: 100%;
}

.boxed-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  border: var(--sizing-border) solid var(--color-highlight);
}

.boxed {
  height: 100%;
  width: 645px;
  border-left: var(--sizing-border) solid var(--color-highlight);
  border-right: var(--sizing-border) solid var(--color-highlight);
}

.boxed-content-row {
  width: 100%;
  padding: var(--sizing-standard) var(--sizing-double);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: var(--sizing-standard);
}

.boxed-text {
  width: 100%;
  padding: var(--sizing-standard) var(--sizing-double);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: var(--sizing-standard);
}

.collapsible {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
}

.collapsible p {
  border-top: var(--sizing-border) solid var(--color-highlight);
  padding: 26px var(--sizing-double);
}

.collapsible.active {
  max-height: 500px;
}

.boxed-content-row.clickable {
  cursor: pointer;
  user-select: none;
}
.boxed-content-row.clickable p {
  transition: color 150ms ease;
}
.boxed-content-row.clickable:hover p,
.boxed-content-row.clickable.active p {
  color: var(--color-text);
}

.boxed-content-row.link p {
  transition: color 150ms ease;
}

.boxed-content-row.link:hover p {
  color: var(--color-text);
}

.raster {
  background-image: linear-gradient(to top, var(--color-highlight) var(--sizing-border), transparent var(--sizing-border)),
    linear-gradient(to left, var(--color-highlight) var(--sizing-border), var(--color-primary) var(--sizing-border));
  background-size: var(--sizing-background-grid) var(--sizing-background-grid);
  position: relative;
  width: 100%;
}

.raster.padding-bottom {
  padding-bottom: var(--sizing-space);
}

.raster::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: var(--color-primary);
}

.raster.unten::before {
  background: linear-gradient(0deg, var(--color-primary) 0%, transparent 33%);
}

.raster.links::before {
  background: linear-gradient(90deg, var(--color-primary) 0%, transparent 33%);
}

.raster.rechts::before {
  background: linear-gradient(-90deg, var(--color-primary) 0%, transparent 33%);
}

/* LOGO */

.logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 16.25px;
  font-weight: 800;
  font-style: italic;
  cursor: pointer;
}

.logo span {
  font-weight: 300;
}

/* INHALTSELEMENTE */

.icon {
  aspect-ratio: 1;
  height: 28px;
  width: 28px;
}

.cta-icon-wrapper {
  padding: 5px;
  aspect-ratio: 1 !important;
  border: var(--sizing-border) solid var(--color-highlight);
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-icon-wrapper.top-right {
  position: absolute;
  right: 30px;
  top: 30px;
}

.cta-icon {
  aspect-ratio: 1 !important;
  height: 14px;
  width: 14px;
  opacity: 0.7;
  transition: opacity 150ms ease, transform 150ms ease;
}

.boxed-content-row.clickable:hover .cta-icon-wrapper .cta-icon,
.boxed-content-row.clickable.active .cta-icon-wrapper .cta-icon {
  opacity: 1;
}

.boxed-content-row.clickable.active .cta-icon-wrapper .cta-icon {
  transform: rotate(45deg);
}

.icon-grid-container .icon {
  opacity: 0.7;
  transition: opacity 150ms ease;
}

.icon-grid-container:hover .icon {
  opacity: 1;
}

.link:hover .cta-icon-wrapper .cta-icon {
  opacity: 1;
}

h1,
h2,
h3,
p {
  z-index: 1;
}

h1,
h3 {
  font-weight: 800;
  font-size: 24px;
  font-style: italic;
  text-transform: uppercase;
  color: var(--color-text);
}

h2 {
  font-weight: 800;
  font-size: 20px;
  font-style: italic;
  text-transform: uppercase;
  color: var(--color-text);
}

button {
  font-family: 'Geist', serif;
  font-style: normal;
  font-size: 13px;
  font-weight: 400;
}

a,
button {
  color: var(--color-text-transparent);
  text-decoration: none;
  cursor: pointer;
  transition: color 150ms ease;
}

a:hover,
button:hover {
  color: var(--color-text);
}

a.active {
  color: var(--color-text);
}

p {
  color: var(--color-text-transparent);
  line-height: 1.5em;
}

strong {
  font-weight: 300;
  color: var(--color-text);
}

a.button,
button {
  padding: 5px var(--sizing-half);
  border: var(--sizing-border) solid var(--color-highlight);
  border-radius: 100px;
  font-weight: 400;
  background-color: var(--color-primary);
  line-height: 1.5em;
}

.orange-text {
  background: rgb(255, 198, 47);
  background: linear-gradient(15deg, var(--color-orange-light) 0%, var(--color-orange-dark) 100%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-right: 3px;
  margin-right: -3px;
}

.instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* BORDERS */

.grid-1-1-1 .content + .content {
  border-left: var(--sizing-border) solid var(--color-highlight);
}

.grid-1-2 .flex-column {
  border-right: var(--sizing-border) solid var(--color-highlight);
}

.grid-1-1 .content {
  border-left: var(--sizing-border) solid var(--color-highlight);
}

.grid-1_22-1 .flex-column {
  border-left: var(--sizing-border) solid var(--color-highlight);
}

.grid-1-1_5 .content {
  border-right: var(--sizing-border) solid var(--color-highlight);
}

.grid-1_5-1 .flex-column {
  border-left: var(--sizing-border) solid var(--color-highlight);
}

.grid-1-1_22 .content {
  border-right: var(--sizing-border) solid var(--color-highlight);
}

.icon-grid .icon-grid-container + .icon-grid-container {
  border-left: var(--sizing-border) solid var(--color-highlight);
}

#kontakt .grid-1-1 .content:first-of-type {
  border-left: none;
}

#ueber-uns .grid-1-1 .content {
  border-left: none;
  border-right: var(--sizing-border) solid var(--color-highlight);
}

/* MEDIEN */

.image-holder {
  height: 305px;
  padding: var(--sizing-double);
  position: relative;
  z-index: 1;
}

.image-holder.full-height {
  padding: var(--sizing-double) var(--sizing-double) 0 var(--sizing-double);
}

.portrait {
  width: 100%;
  height: 100%;
  background-position: bottom;
  background-size: contain;
  background-repeat: no-repeat;
}
.portrait.lukas-flockert {
  background-image: url('medien/bilder/fotos/lukas-flockert.webp');
}
.portrait.finn-lube {
  background-image: url('medien/bilder/fotos/finn-lube.webp');
}
.portrait.paul-buening {
  background-image: url('medien/bilder/fotos/paul-buening.webp');
}

.gruppenfoto {
  width: 100%;
  height: 100%;
  background-image: url('medien/bilder/fotos/gruppenfoto.webp');
  background-position: bottom;
  background-size: contain;
  background-repeat: no-repeat;
}

.mockup {
  width: 100%;
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.mockup-rotation-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.mockup-rotation-container .mockup {
  position: absolute;
  opacity: 0;
  animation: cycle 7.5s infinite;
  transform: scale(0.9);
}

/* Offset each image in the loop */
.mockup.hohental {
  background-image: url('medien/bilder/mockups/hohental.webp');
  animation-delay: 0s;
}

.mockup.auto-weber {
  background-image: url('medien/bilder/mockups/auto-weber.webp');
  animation-delay: 2.5s;
}

.mockup.atlas-karriere {
  background-image: url('medien/bilder/mockups/atlas-karriere.webp');
  animation-delay: 5s;
}

.mockup.dsi {
  background-image: url('medien/bilder/mockups/dsi.webp');
  animation-delay: 5s;
}

.mockup.atlas-fit-insole {
  background-image: url('medien/bilder/mockups/atlas-fit-insole.webp');
  animation-delay: 5s;
}

@keyframes cycle {
  0%,
  10% {
    opacity: 0;
    transform: scale(0.9);
  }
  15%,
  33.33% {
    opacity: 1;
    transform: scale(1);
  }
  38%,
  100% {
    opacity: 0;
    transform: scale(0.9);
  }
}

/* FORM */

.input-wrapper {
  position: relative;
  width: 100%;
}

input {
  width: 100%;
  font-family: 'Geist', serif;
  font-style: normal;
  padding: 23.5px var(--sizing-double);
  padding-right: 87px;
  border: none;
  outline: none;
  color: var(--color-text);
  font-weight: 300;
  font-size: 1em;

  background-color: var(--color-primary);

  line-height: 1.5em;
  transition: color 150ms ease;
}

::placeholder {
  color: var(--color-text-transparent);
}

.input-wrapper .cta-icon-wrapper {
  position: absolute;
  right: var(--sizing-double);
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.input-wrapper input:focus + .cta-icon-wrapper .cta-icon {
  opacity: 1;
}

input[type='datetime-local'] {
  -webkit-appearance: none;
  appearance: none;
}

input[type='datetime-local']::-webkit-inner-spin-button,
input[type='datetime-local']::-webkit-calendar-picker-indicator {
  display: none;
  -webkit-appearance: none;
}

input[type='datetime-local'] {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 1.5px;
}

input[type='datetime-local']::before {
  content: 'Wunschtermin: ';
  display: inline;
  color: var(--color-text-transparent);
}

.video-container {
  position: relative;
  overflow: hidden;
}

#header {
  position: absolute;
  height: auto;
  width: 100%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
#interview {
  position: absolute;
  height: auto;
  width: 100%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.video-control {
  cursor: pointer;
  opacity: 0.7;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 150ms ease;
  z-index: 10;
}

/* hide pause by default */
.video-container .icon[data-action='pause'] {
  display: none;
}

.video-container:hover .video-control {
  opacity: 1;
}

/* BLENDE */

.blende {
  position: relative;
}

.blende::after {
  pointer-events: none;
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: var(--color-primary);
  background: linear-gradient(90deg, var(--color-primary) 0%, transparent 50%, var(--color-primary) 100%);
  z-index: 1;
  opacity: 0.66;
}

.blende::before {
  pointer-events: none;
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: var(--color-primary);
  background: linear-gradient(0deg, var(--color-primary) 0%, transparent 50%, var(--color-primary) 100%);
  z-index: 1;
  opacity: 0.66;
}

.background-image {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.background-image.concept-map {
  background-image: url('medien/bilder/screenshots/code.webp');
}

.background-image.meeting {
  background-image: url('medien/bilder/screenshots/besprechung-schreibtisch.webp');
}

.background-image.formular {
  background-image: url('medien/bilder/screenshots/concept-map.webp');
}

.background-image.header {
  background-image: url('medien/bilder/fallbacks/header-fallback.webp');
}

.background-image.interview {
  background-image: url('medien/bilder/fallbacks/interview-fallback.webp');
}

.mobile-reverse-container {
  display: flex;
  flex-direction: column;
  border: none;
}

.mobile-reverse-container .space {
  border-left: var(--sizing-border) solid var(--color-highlight);
  border-right: var(--sizing-border) solid var(--color-highlight);
}

.absenden {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: var(--sizing-standard) var(--sizing-double);
}

#menu .boxed-content-row.link.active p {
  color: var(--color-text);
}
#menu .boxed-content-row.link.active .cta-icon {
  opacity: 1;
  transform: rotate(180deg);
}

#menu {
  height: calc(100vh - 145px);
}

@media screen and (min-width: 1050px) {
  header .mobile-menu-button {
    display: none;
  }
}

@media screen and (max-width: 1050px) {
  header,
  main,
  footer {
    width: 100%;
  }

  .grid-1-2,
  .grid-1-1-1,
  .grid-1-1,
  .grid-1_22-1,
  .grid-1-1_22,
  .grid-1_5-1,
  .grid-1-1_5 {
    grid-template-columns: 1fr;
  }

  /* BORDERS */

  .grid-1-1-1 .content + .content,
  .grid-1_5-1 .flex-column,
  .icon-grid .icon-grid-container + .icon-grid-container,
  .grid-1_22-1 .flex-column,
  .grid-1-1 .content {
    border-left: var(--sizing-border) solid var(--color-highlight);
  }

  #home .grid-1_22-1 .flex-column {
    border-left: none;
  }

  .grid-1-1_22 .content {
    border-right: none;
  }

  .grid-1-2 .flex-column,
  .grid-1-1_5 .content {
    border-right: var(--sizing-border) solid var(--color-highlight);
  }

  #kontakt .grid-1-1 .content:first-of-type,
  #kontakt .grid-1_5-1 .flex-column {
    border-left: none;
  }

  #home .grid-1-2 .flex-column,
  #ueber-uns .grid-1-1 .content,
  .grid-1-1_5 .content {
    border-right: none;
  }

  #ueber-uns .video-container {
    aspect-ratio: 5/4;
  }

  .background-image {
    width: 100%;
    aspect-ratio: 16/9;
  }

  header nav {
    display: none;
  }

  .video-container {
    border-top: var(--sizing-border) solid var(--color-highlight);
  }

  /*
  #home .grid-1-2 .flex-column .content:last-of-type {
    border-bottom: var(--sizing-border) solid var(--color-highlight);
    margin-bottom: var(--sizing-space);
  }*/

  /*
  .grid-1-1-1 .content + .content {
    border-top: var(--sizing-border) solid var(--color-highlight);
    border-left: none;
  }*/

  .grid-1-1 .content + .content {
    border-top: var(--sizing-border) solid var(--color-highlight);
    border-left: none;
  }

  .background-image.concept-map {
    border-top: var(--sizing-border) solid var(--color-highlight);
    order: 1;
  }

  .raster.links::before,
  .raster.rechts::before {
    background: linear-gradient(0deg, var(--color-primary) 0%, transparent 33%);
  }

  .flex-row {
    flex-direction: column;
  }

  .flex-row-space {
    border-top: var(--sizing-border) solid var(--color-highlight);
    border-bottom: var(--sizing-border) solid var(--color-highlight);
    height: 100px;
    border-left: none;
    border-right: none;
  }

  .meeting,
  .formular {
    display: none;
  }

  .boxed {
    border: none;
  }

  footer a.nav-link {
    display: none;
  }

  #home .grid-1-1 {
    display: none;
  }

  .mobile-reverse-container {
    display: flex;
    flex-direction: column-reverse;
    border: none;
  }

  .mobile-reverse-container .space:first-of-type {
    display: none;
  }

  .image-holder {
    height: 250px;
  }

  .icon {
    width: 24px;
    height: 24px;
  }

  #projekte .flex-row:last-of-type .flex-row-space {
    display: none;
  }

  /*
  #ueber-uns .grid-1-1 .content {
    border-bottom: var(--sizing-border) solid var(--color-highlight);
    margin-bottom: var(--sizing-space);
  }*/

  #ueber-uns .image-holder {
    height: 300px;
  }

  .grid-1-1-1 .content + .content {
    border-left: none;
    border-top: var(--sizing-border) solid var(--color-highlight);
  }

  h1,
  h3 {
    font-size: 22px;
  }
  h2 {
    font-size: 18px;
  }
}

#projekt-starten .input-wrapper:nth-of-type(2) {
  display: none;
}

form.flex-column {
  border-left: none !important;
}
