@font-face {
  font-family: "Inter";
  src: url("fonts/Inter_28pt-Medium.ttf");
}
@font-face {
  font-family: LatoBold;
  src: url(fonts/Lato-Bold.ttf);
}
@font-face {
  font-family: Vearge;
  src: url(fonts/Vearge_Schrift.ttf);
}
@font-face {
  font-family: Inconsolata;
  font-style: Regular;
  src: url(fonts/Inconsolata-VariableFont_wdth\wght.ttf);
}
* {
  font-family: Inter, sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}
@view-transition {
  navigation: auto;
}

html {
  scroll-behavior: smooth;
}
body {
  font-family: "Inter";
  color: #161110;
  background: #fcfcf7;
  line-height: 1.6;
}
.fade-slide {
  opacity: 0;
  transform: translateY(30px);
  transition: transform 0.1s ease-out;
}

body.loaded .fade-slide {
  opacity: 1;
  transform: translateY(0);
}
header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 55px;
  background: #fcfcf7;
  padding: 0 40px;
  z-index: 20;
  display: flex;
  align-items: center;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-family: "Vearge";
  font-variation-settings: "wght" 400, "wdth" 100, "dist" 30;
  font-size: 2rem;
  font-weight: Regular;
  color: #444;
  text-decoration: none;
  transition: font-variation-settings 0.3s ease, color 0.3s ease;
}
.logo:hover {
  font-variation-settings: "wght" 400, "wdth" 100, "dist" 50;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 120px);
  gap: 10px;
  justify-items: center;
}

nav a {
  text-decoration: none;
  font-size: 1.2rem;
  color: #161110;
  font-family: "Vearge";
  font-variation-settings: "wght" 400, "wdth" 100, "dist" 0;
  text-align: center;
  font-weight: bold;
  transition: font-variation-settings 0.3s ease, color 0.3s ease;
}
nav ul li {
  text-align: center;
  justify-items: center;
}

nav a:hover {
  font-variation-settings: "wght" 700, "wdth" 125, "dist" 45;
  color: #007bff;
}
nav a.active {
  font-variation-settings: "wght" 700, "wdth" 125, "dist" 45;
  color: #007bff;
}
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100lvh;
  transition: background-color 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
  background-color: rgba(0, 0, 0, 0);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  transform: translateY(0);
  pointer-events: none;
  z-index: 90;
  opacity: 0;
}
.overlay nav a {
  transition: font-variation-settings 0.3s ease, color 0.3s ease;
}
.overlay.open {
  transform: translateY(0);
  pointer-events: all;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 20;
  opacity: 1;
  touch-action: none;
}
.overlay.closing {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: background-color 0.4s ease;
}

.overlay ul {
  list-style: none;
  padding: 0;
  text-align: center;
}

.overlay li {
  margin: 20px 0;
}
@media (max-height: 750px) {
  .overlay li {
    margin: 10px 0;
  }
}
.overlay a {
  color: #fcfcf7;
  text-decoration: none;
  font-size: 3rem;
  font-variation-settings: "wght" 400, "wdth" 100, "dist" 0;
  transition: font-variation-settings 0.3s ease, color 0.3s ease;
}

.overlay a:hover {
  color: #007bff;
  font-variation-settings: "wght" 700, "wdth" 125, "dist" 45;
  transition: font-variation-settings 0.3s ease, color 0.3s ease;
}
.burger {
  mix-blend-mode: difference;
  background: transparent;
  border: none;
  padding: 10px;
  width: 50px;
  top: 20px;
  right: 20px;
  color: #fcfcf7;
  cursor: pointer;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  height: 40px;
  z-index: 91;
  position: absolute;
}

.burger span {
  display: block;
  height: 4px;
  width: 100%;
  background: #fcfcf7;
  border-radius: 2px;
  transition: transform 0.4s ease, opacity 0.4s ease;
  transform-origin: center;
}

.burger.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.burger.open span:nth-child(2) {
  opacity: 0;
}
.burger.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 650px) {
  .burger {
    display: flex;
    position: fixed;
  }
  nav ul {
    list-style: none;
    padding: 0;
    margin-bottom: 10px;
    display: grid;
    grid-template-columns: 0;
  }
  .burger span {
    height: 2px;
    width: 100%;
    background: white;
    border-radius: 2px;
    transition: all 0.3s;
  }
}
.section-1 {
  color: #161110;
  padding: 100px 20px;
  padding-bottom: 30px;
  padding-top: 120px;
  max-width: 80%;
  margin: 0 auto;
  z-index: 5;
}
.section-1 p {
  letter-spacing: 0.15em;
  line-height: 1.5;
  font-size: 1.8em;
}
.section-1 h1,
h2 {
  font-size: 1.5em;
  letter-spacing: 0.1em;
  line-height: 1.5;
  margin-bottom: 20px;
}
.section-portfolio {
  letter-spacing: 0.1em;
  line-height: 1.5;
  font-size: 1.1em;
  color: #161110;
  padding: 60px 20px;
  max-width: 80%;
  margin: 0 auto;
  z-index: 5;
}
.section-portfolio h1 {
  padding-bottom: 20px;
}
.section-normal {
  letter-spacing: 0.1em;
  line-height: 1.5;
  font-size: 1.1em;
  color: #161110;
  padding: 100px 20px;
  max-width: 80%;
  margin: 0 auto;
  z-index: 5;
}
.hero {
  position: relative;
  height: 100lvh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  color: white;
  margin-top: 55px;
  z-index: 1;
}
/* Verdunklung: Helligkeit des Hintergrundvideos anpassen.
     Je höher der Wert, desto heller (Standard war 0.65).
     Beispiel: 0.8 oder 0.9 für weniger Verdunklung */
.background-video-horizontal,
.background-video-vertical,
.fallback-horizontal,
.fallback-vertical {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100lvh;
  z-index: -10;
  transform: translate(-50%, -50%);
  object-fit: cover;
  filter: brightness(0.8);
  &.hidden {
    display: none;
  }
}
.background-video-vertical,
.fallback-vertical {
  display: none;
}
@media (max-aspect-ratio: 5/6) {
  .background-video-horizontal {
    display: none;
  }
  .background-video-vertical {
    display: block;
  }
  .fallback-horizontal {
    display: none;
  }
  .fallback-vertical {
    display: block;
  }
}

.hero-overlay1 {
  position: absolute;
  left: 10%;
  width: 17vw;
  min-width: 185px;
  z-index: 5;
}
.hero-overlay2 {
  position: absolute;
  right: 10%;
  width: 32vw;
  min-width: 355px;
  z-index: 5;
}
.hero-overlay1 img,
.hero-overlay2 img {
  transition: transform 0.2s ease;
}

.hero-overlay1 img:hover,
.hero-overlay2 img:hover {
  transform: scale(1.015);
}
.grid {
  column-count: 3;
  column-gap: 20px;
}
@media (min-width: 1900px) {
  .grid {
    column-count: 4;
  }
}
@media (max-width: 900px) {
  .grid {
    column-count: 2;
  }
}
@media (max-width: 1000px) {
  .hero-overlay1 {
    width: 21vw;
    min-width: 105px;
    top: 35%;
  }
  .hero-overlay2 {
    width: 40vw;
    min-width: 200px;
    top: 50%;
  }
}
.image-wrapper:hover {
  transform: scale(1.02);
}
.grid img {
  width: 100%;
  border-radius: 5px;
  object-fit: cover;
  cursor: pointer;
  --vt-name: none;
  view-transition-name: var(--vt-name);
  display: block;
}
.image-wrapper {
  position: relative;
  transition: transform 0.3s ease;
  display: inline-block;
  z-index: 1;
  cursor: pointer;
  margin-bottom: 20px;
  border-radius: 5px;
  overflow: hidden;
}
.image-wrapper-big {
  position: relative;
  transition: transform 0.3s ease;
  display: inline-block;
  z-index: 10;
}

.image-wrapper-big::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: transparent;
  pointer-events: none;
}
@media (max-width: 600px) {
  .grid {
    column-count: 2;
    gap: 10px;
  }
  .image-wrapper {
    margin-bottom: 5px;
  }
  .grid img {
    margin-bottom: 0px;
  }
  .section-portfolio {
    padding: 40px 10px;
    max-width: 100%;
  }
  .section-portfolio h2,
  h2.headline {
    max-width: 80vw;
    margin-left: auto;
    margin-right: auto;
  }
  .section-1 {
    padding: 40px 20px;
    padding-top: 90px;
    letter-spacing: 0.1em;
    max-width: 80%;
  }
  .section-1 p {
    letter-spacing: 0.1em;
  }
  .section-normal {
    padding: 30px 20px;
  }
  .image-wrapper:hover {
    transform: scale(1.01);
  }
}

.image-overlay-blocker {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: transparent;
  pointer-events: all;
}

.image-viewer {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  height: 100lvh;
}

.image-viewer.visible {
  opacity: 1;
  pointer-events: auto;
}

.image-viewer img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  transition: transform 0.3s ease;
}
.button-container {
  display: grid;
  grid-template-columns: repeat(2, 100px);
  grid-auto-flow: column;
  margin-top: 10px; /* optional, für Abstand nach oben */
  justify-content: center;
}
.button-wrapper {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  z-index: 101;
}
.button,
.button2 {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgb(20, 20, 20);
  border: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.164);
  cursor: pointer;
  transition-duration: 0.3s;
  overflow: hidden;
  position: relative;
}

.svgIcon {
  width: 35px;
  transition-duration: 0.3s;
}

.svgIcon path {
  fill: white;
}

.button:hover,
.button2:hover {
  width: 100px;
  border-radius: 50px;
  transition-duration: 0.3s;
  background-color: rgb(100, 180, 255);
  align-items: center;
}

.button:hover .svgIcon,
.button2:hover .svgIcon {
  width: 60px;
  transition-duration: 0.3s;
  transform: translateY(50%);
}

.button::before {
  position: absolute;
  top: -20px;
  content: "E-Mail";
  color: white;
  transition-duration: 0.3s;
  font-size: 2px;
}
.button2::before {
  position: absolute;
  top: -20px;
  content: "Instagram";
  color: white;
  transition-duration: 0.3s;
  font-size: 2px;
}

.button:hover::before,
.button2:hover::before {
  font-size: 13px;
  opacity: 1;
  transform: translateY(30px);
  transition-duration: 0.3s;
}
.image-viewer .image-wrapper-big {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  z-index: 100;
}
.image-viewer .image-wrapper-big .image-text-wrapper {
  position: absolute;
  color: white;
  bottom: 10px;
  left: 15px;
}
.image-viewer .image-wrapper-big .image-text-wrapper::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  background: rgba(0, 0, 0, 0.3); /* Adjust color */
  filter: blur(20px); /* Controls softness */
  transform: translate(-50%, -50%);
  z-index: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.image-viewer.transition-finished
  .image-wrapper-big
  .image-text-wrapper::before {
  opacity: 1;
}

.image-viewer .image-wrapper-big .image-text-big {
  letter-spacing: 0.12em;
  line-height: 1.5;
  font-size: 1.4em;
  position: relative;
}
@media (max-width: 500px) {
  .image-viewer .image-wrapper-big .image-text-big,
  .section-portfolio {
    font-size: 1em;
  }
}
.image-viewer .image-wrapper-big img {
  max-height: 90vh;
  max-width: 90vw;
  width: stretch;
  height: 100%;
  pointer-events: none;
  border-radius: 10px;
  transition: transform 0.3s ease;
}
.image-wrapper img {
  display: block;
  pointer-events: none;
}
.image-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: transparent;
  pointer-events: none;
}
.image-viewer .image-click-blocker {
  position: absolute;
  inset: 0;
  background: transparent;
  opacity: 0;
  cursor: pointer;
  z-index: 3;
}

.image-wrapper img {
  display: block;
  pointer-events: none;
}
.image-text {
  opacity: 0;
  position: absolute;
  bottom: -2px;
  left: 14px;
  color: #fcfcf7;
  transition: all 0.2s ease;
}
.image-wrapper:hover .image-text {
  bottom: 8px;
  opacity: 1;
}
.image-click-blocker {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
  transition: opacity 0.3s ease;
  background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.5), transparent 15%);
}
.image-click-blocker:hover {
  opacity: 1;
}

.image-viewer .image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.image-viewer .image-wrapper img {
  max-width: 90%;
  max-height: 90%;
  pointer-events: none;
  border-radius: 10px;
  transition: transform 0.3s ease;
}
.parallax-stack {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100lvh;
  overflow-y: hidden;
  overflow: hidden;

  z-index: 4;
}
main,
footer {
  position: relative;
  z-index: 10;
  background-color: #fcfcf7;
}
.hero-overlay {
  position: relative;
  z-index: 5;
}

.parallax-layer {
  position: absolute;
  will-change: transform;
  object-fit: contain;
  opacity: 1;
  border-radius: 5px;
}
.parallax-layer img {
  height: auto;
  width: 18vw;
  min-width: 200px;
  max-width: 320px;
  border-radius: 5px;
  transition: scale 0.2s ease-in-out;
}
.parallax-layer img:hover {
  scale: 1.03;
}

.layer1 {
  top: 4%;
  left: 3%;
  z-index: 1;
}
.layer1 img {
  min-width: 150px;
  max-width: 250px;
}

.layer2 {
  top: 6%;
  left: 30%;
  z-index: 1;
}
.layer2 img {
  min-width: 180px;
  max-width: 340px;
}

.layer3 {
  top: 25%;
  right: 14%;
  z-index: 1;
}

.layer4 {
  top: 50%;
  left: 10%;
  z-index: 1;
}
.layer4 img {
  max-width: 250px;
}
.layer5 {
  top: 3%;
  right: 4%;
  z-index: 1;
}
@media (max-height: 500px) {
  .grid {
    column-count: 4;
    gap: 10px;
  }
}
@media (min-width: 1300px) {
  .layer3 {
    bottom: 40%;
    top: auto;
  }
}
@media (max-width: 650px) {
  .parallax-layer img {
    width: 28vw;
    min-width: 140px;
  }
  .layer4 {
    top: 60%;
  }
  .layer1 {
    top: 20%;
  }
  .layer1 img {
    max-width: 100px;
  }
  .layer3 {
    right: 6%;
    top: 24%;
  }
  .layer2 {
    left: 18%;
    top: 1%;
  }
  .layer5 {
    right: -2%;
    top: 6%;
  }

  header {
    position: fixed;
    top: 0;
    width: 0%;
    height: 0px;
    padding: 0px;
    padding-bottom: 0px;
    z-index: 50;
    display: none;
  }
  .hero {
    margin-top: 0px;
  }
  .parallax-stack {
    margin-top: 0px;
  }
}
@media (max-height: 840px) and (min-width: 601px) {
  .parallax-layer img {
    max-width: 200px;
    min-width: 130px;
  }
  .layer4 {
    top: 60%;
  }
  .layer5 {
    top: 5%;
  }
  .layer2 {
    top: -1%;
  }
  .layer2 img {
    max-width: 350px;
  }
  .layer1 {
    top: 70px;
  }
  .layer3 {
    top: 40%;
  }
}
@media (max-height: 700px) and (max-width: 500px) {
  .layer4 {
    top: 60%;
  }
  .layer4 img {
    width: 10px;
  }
  .layer5 {
    top: -3%;
  }
  .layer5 img {
    max-width: 65px;
  }
  .layer2 {
    top: -3%;
  }
  .layer2 img {
    min-width: 200px;
  }
  .layer3 {
    top: 30%;
  }
  .parallax-layer img {
    max-width: 120px;
  }
}
@media (max-height: 520px) and (min-width: 601px) {
  .parallax-layer img {
    width: 20vw;
    max-width: 140px;
    min-width: 100px;
  }
  .layer4 {
    top: 50%;
  }
  .layer1 {
    top: 5%;
  }
}
.footer {
  color: #161110;
  opacity: 0.7;
  text-align: center;
  font-size: 0.9rem;
  margin-right: 15px;
  margin-left: 15px;
  padding-bottom: 30px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  justify-content: center;
}
.footer a {
  color: inherit;
  text-decoration: underline;
  transition: opacity 0.3s ease;
}

.footer a:hover {
  color: #000;
  transition: opacity 0.4s ease;
}

@media (min-width: 500px) {
  .footer {
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }

  .footer-links {
    flex-direction: row;
  }
}
@media (min-width: 651px) {
  .overlay {
    display: none;
  }
}
.overlay-content {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.overlay.open .overlay-content {
  opacity: 1;
  transform: translateY(0);
}
@media (max-height: 650px) and (min-width: 300px) {
  .parallax-layer img {
    width: 16vw;
    max-width: 160px;
    min-width: 120px;
  }
}
@media (max-width: 299px) {
  .parallax-layer img {
    width: 10vw;
    max-width: 150px;
    min-width: 80px;
  }
  .layer4 {
    top: 70%;
  }
  .layer2 {
    top: 1%;
  }
  .layer2 img {
    min-width: 120px;
  }
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
  gap: 1.5rem;
  margin-bottom: 20px;
}

.video-item {
  cursor: pointer;
  position: relative;
  border-radius: 10px;
  transition: scale 0.2s ease-in-out;
}
.video-item:hover {
  scale: 1.01;
}

.video-item video,
img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.video-title {
  font-size: 0.9rem;
  margin-top: 0.5rem;
  font-weight: bold;
  text-transform: uppercase;
}
.thumb-wrapper {
  aspect-ratio: 1 / 1;
  width: 100%;
  overflow: hidden;
  background-color: #000;
  border-radius: 10px;
}
.thumb-wrapper-16-9 {
  aspect-ratio: 16 / 9; /* Erzwingt ein 1:1 Seitenverhältnis (quadratisch) */
  width: 100%;
  overflow: hidden;
  background-color: #000;
  border-radius: 10px;
  object-position: center;
}
.thumb-wrapper video,
.thumb-wrapper-16-9 video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-meta {
  font-size: 0.75rem;
  color: #aaa;
}

.video-player {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  transition: opacity 0.3s ease;
  background-color: rgba(0, 0, 0, 0.8);
}

.video-player video {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 10px;
}

.video-player .close-btn {
  position: absolute;
  top: 30px;
  right: 30px;
  aspect-ratio: 1 / 1;
  width: 40px;
  text-align: center;
  font-size: 1.5rem;
  color: #fcfcf7;
  cursor: pointer;
}
.social-links {
  display: flex;
  justify-content: center; /* horizontal zentrieren */
  align-items: center; /* vertikal zentrieren */
  gap: 12px; /* Abstand zwischen den Icons */
  height: 48px; /* Beispielhöhe, falls relevant */
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.social-icon {
  width: 40px;
  height: 40px;
  display: block;
  opacity: 0.6;
}
.social-icon:hover {
  opacity: 1;
  transition: opacity 0.6s ease;
}
.instagram-icon {
  width: 40px;
  height: 40px;
  filter: invert(0);
  transition: all 0.3s;
  opacity: 0.6;
}

.instagram-icon:hover {
  opacity: 1;
}

.impressum-container {
  margin-top: 55px;
  margin-left: 20px;
  font-family: "Inter";
  opacity: 1;
  letter-spacing: 0.1em;
  color: #161110;
  line-height: 1.5;
  font-size: 0.9em;
  padding: 100px 20px;
  margin-bottom: 30px;
  padding-top: 10px;
  z-index: 5;
}
@media (max-width: 950px) {
  .section-1 {
    max-width: 90%;
  }
  .section-1 p {
    font-size: 1.5em;
    letter-spacing: 0.1em;
  }
  .section-portfolio {
    max-width: 90%;
  }
}
@media (max-width: 650px) {
  .impressum-container {
    margin-top: 0px;
  }
  .section-1 {
    max-width: 90%;
  }
  .section-1 p {
    font-size: 1.2em;
    letter-spacing: 0.1em;
  }
}

.impressum-container h2 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.impressum-container section {
  margin-bottom: 2rem;
}

.impressum-container p {
  margin: 0.5rem 0;
  line-height: 1.6;
  font-size: 0.9rem;
}

.impressum-container a {
  color: inherit;
  text-decoration: underline;
}

.impressum-container footer {
  font-size: 0.9rem;
  color: #161110;
}
.credit-section {
  margin-top: 80px;
}
.fade-slide-impressum {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.2s ease-out;
}
body.loaded .fade-slide-impressum {
  opacity: 1;
  transform: translateY(0);
}
.repel-text {
  position: relative;
  display: inline-block;
  cursor: default;
}

.repel-text span {
  display: inline-block;
  transition: transform 0.2s ease-out;
  position: relative;
  z-index: 1;
}
/* Socials Teil */
section.socials {
  margin-bottom: 0px;
  overflow-x: hidden;
  overflow-y: hidden;
}

h2.headline {
  padding-bottom: 0;
  max-width: 100%;
  margin-top: -10px;
  font-size: 2.2rem;
  text-align: center;
}

h2.headline span {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 1.4rem;
  font-weight: 500;
  text-align: center;
}

.cards {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-right: -40px;
  height: calc(250px + 50vw);
  margin-top: -50px;
}
@media (max-width: 1200px) {
  .cards {
    margin-right: -20px;
  }
}

.card {
  position: relative;
  width: calc(200px + 10vw);
  height: auto;
  border-radius: 24px;
  overflow-x: hidden;
  overflow-y: visible;
  margin-left: -60px;
  transform-origin: center center;
  cursor: pointer;
  transition: transform 0.1s ease;
  z-index: 1;
  will-change: transform;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Grundrotation */
.card:nth-child(1) {
  transform: rotate(-8deg);
  margin-bottom: calc(-190px);
}
.card:nth-child(2) {
  transform: rotate(-4deg);
  margin-bottom: calc(-70px);
}
.card:nth-child(3) {
  transform: rotate(0deg);
}
.card:nth-child(4) {
  transform: rotate(4deg);
  margin-bottom: calc(-70px);
}
.card:nth-child(5) {
  transform: rotate(8deg);
  margin-bottom: calc(-190px);
}
@media (min-width: 1250px) {
  .cards {
    margin-top: -80px;
  }
}
@media (max-width: 800px) {
  .cards {
    height: calc(200px + 45vw);
    margin-bottom: -100px;
  }
  h2.headline {
    max-width: 90%;
    margin: 0 auto;
  }
  section.socials {
    padding: 40px;
    padding-bottom: 10%;
    max-width: 100%;
  }
  h2.headline {
    font-size: 2rem;
  }
  h2.headline span {
    font-size: 1.2rem;
  }
  .card {
    margin-left: -40px;
    width: 30%;
  }
  .card:nth-child(1) {
    margin-bottom: calc(-40px);
  }
  .card:nth-child(2) {
    margin-bottom: calc(-20px);
  }
  .card:nth-child(4) {
    margin-bottom: calc(-20px);
  }
  .card:nth-child(5) {
    transform: rotate(8deg);
    margin-bottom: calc(-40px);
  }
}
@media (max-width: 700px) {
  .card {
    width: 40%;
  }
}
