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

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

:root {
  --px130: 8.125rem;
  --px90: 5.625rem;
  --px60: 3.75rem;
  --px45: 2.8125rem;
  --px30: 1.875rem;
  --px15: 0.9375rem;

  --accent: #b92c3a;
  --black90: #1d1d1d;
  --black80: #242424;
  --black70: #2c2c2c;
  --black60: #3c3c3c;
  --black40: #494949;
  --darkGray: #adadad;
  --gray: #dddddd;
  --lightGray: #f9f9f9;

  --bodyFontSize: 0.875rem;
  /* 14px */
  --h1FontSize: 1.25rem;
  /* 20px */
  --h2FontSize: 1.5rem;
  /* 24px */
  --h3FontSize: 0.6rem;
  /* 10px */
  --h5FontSize: 0.6rem;
  /* 10px */

  --buttonFontSize: 0.8rem;
  /* 12,8px */

  --backgroundColor: white;
  --mainBackgroundColor: white;
  --arrowColor: var(--textColor);
  --headerColor: var(--lightGray);
  --cardColor: white;
  --sectionHoverColor: rgba(100, 100, 100, 0.1);
  --borderColor: var(--darkGray);
  --textColor: var(--black90);
  --altTextColor: white;
  --h1Color: var(--accent);
  --h2Color: var(--darkGray);
  --linkColor: var(--accent);
  --altLinkColor: white;
  --overlayColor: white;
  --toggleColor: invert(0.2);
}

/* ---  THEMES ---   */

.light {
  --backgroundColor: white;
  --mainBackgroundColor: white;
  --arrowColor: var(--textColor);
  --headerColor: var(--lightGray);
  --cardColor: white;
  --sectionHoverColor: rgba(100, 100, 100, 0.1);
  --borderColor: var(--darkGray);
  --textColor: var(--black90);
  --altTextColor: white;
  --h1Color: var(--accent);
  --h2Color: var(--darkGray);
  --linkColor: var(--accent);
  --altLinkColor: white;
  --overlayColor: white;
  --toggleColor: invert(0.2);
}

.dark {
  --backgroundColor: black;
  --mainBackgroundColor: var(--black90);
  --headerColor: var(--black80);
  --arrowColor: var(--lightGray);
  --cardColor: var(--black80);
  --sectionHoverColor: var(--black90);
  --borderColor: var(--black70);
  --borderHoverColor: var(--black40);
  --textColor: var(--gray);
  --altTextColor: var(--gray);
  --h1Color: var(--accent);
  --h2Color: var(--darkGray);
  --linkColor: var(--accent);
  --altLinkColor: var(--altTextColor);
}

.dark header {
  box-shadow: none;
}

.dark #theme-toggle {
  filter: invert(0.6);
}

.dark #headerLogo,
.dark #heroImgBG,
.dark #heroImg {
  filter: invert(1) brightness(0.7);
}

.dark section {
  background-color: var(--cardColor);
}

.dark section:hover,
.dark section.bildSection:hover,
.dark .cardText5:hover {
  border-color: var(--borderHoverColor);
}

.dark .heroText {
  animation: textAppearWhite 0.8s ease-in-out 0.25s 1 normal forwards;
}

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

.-containerRow {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

html,
body {
  display: flex;
  width: 100vw;
  margin: 0 auto;
  color: var(--textColor);
  background-color: var(--mainBackgroundColor);
}

header {
  display: none;
  background-color: var(--headerColor);
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 5rem;
  /* offset-x | offset-y | blur-radius | spread-radius | color */
  box-shadow: 0px 5px 8px rgba(121, 121, 121, 0.1);
  text-align: center;
  padding: 0.5rem 1.5rem;
  z-index: 5;
  transition: all 0.25s ease-out;
}

header img {
  width: 5rem;
  padding: 0.25rem;
  margin: 0;
  transition: all 0.25s ease-out;
}

.header_small {
  height: 3rem;
}

.header_img_small {
  width: 3rem;
}

button {
  position: absolute;
  top: 30%;
  right: var(--px30);
  outline: none;
  border: none;
  background: transparent;
}

#theme-toggle {
  width: var(--px30);
}

.toggle_small {
  width: 26px !important;
  top: 22% !important;
}

.container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-width: 100vw;
  z-index: 1;
  /* Margin wegen Header */
  margin-top: 1rem;
  background-color: var(--mainBackgroundColor);
}

main {
  background-color: var(--mainBackgroundColor);
  height: 100vh;
  width: 100vw;
  flex: 1;
  /* overflow: auto; */
  max-width: 1000px;
  margin: 0 auto;
}

h1 {
  font-family: rig-shaded-medium-face, sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: var(--h1FontSize);
  /*background-color: var(--accent);*/
  margin: var(--px45) var(--px30) var(--px15);
  color: var(--h1Color);
}

h2 {
  font-family: rig-shaded-medium-face, sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: var(--h2FontSize);
  margin: 0;
  margin-bottom: var(--px30);
}

h3 {
  font-family: rig-shaded-medium-face, sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: var(--h3FontSize);
  letter-spacing: 0.15rem;
  margin-bottom: 0.35rem;
}

h4 {
  font-family: rig-shaded-medium-face, sans-serif;
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  font-size: 1.25rem;
  letter-spacing: -0.03rem;
  margin-bottom: var(--px15);
}

h5 {
  font-family: rig-shaded-medium-face, sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: var(--h5FontSize);
  letter-spacing: 0.02rem;
}

p {
  font-family: "Hind Madurai", sans-serif;
  font-weight: 400;
  font-size: var(--bodyFontSize);
  line-height: 1.15rem;
  margin-bottom: 1rem;
}

p.upperCopy {
  font-family: "Avenir", rig-shaded-medium-face, Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: var(--h5FontSize);
  letter-spacing: 0.02rem;
  text-transform: uppercase;
}

p a {
  color: var(--linkColor);
}

.copyright {
  margin-top: var(--px30);
  opacity: 40%;
  font-style: oblique;
  font-size: 0.75rem;
}

.button {
  display: inline-block;
  width: fit-content;
  height: fit-content;
  text-decoration: none;
  color: var(--linkColor);
  font-family: rig-shaded-medium-face, sans-serif;
  font-weight: 500;
  font-size: var(--buttonFontSize);
  border-left: solid 0.1rem var(--linkColor);
  padding: 0 0 0 var(--px15);
  transition: all 0.2s ease-in-out;
}

.button:hover {
  padding: 0 0 0 1.4rem;
  transition: all 0.2s ease-in-out;
}

section {
  padding: 0 var(--px30);
  transition: all 0.2s ease-in-out;
}

section:hover {
  box-shadow: 0px 0px 6px 4px var(--sectionHoverColor);
  transition: all 0.2s ease-in-out;
}

section:hover .button {
  border-left: solid 0.3rem var(--linkColor);
  transition: all 0.2s ease-in-out;
}

section.hero {
  position: relative;
  background-color: var(--cardColor);
  padding-bottom: var(--px45);
}

section.hero:hover,
section.text:hover {
  box-shadow: none;
}

#heroImgBG {
  max-width: 80%;
  position: absolute;
  opacity: 0.05;
  margin-top: var(--px30);
}

#heroImg {
  width: 8.5rem;
  margin: var(--px30) 0 var(--px45);
}

.heroText {
  width: 80%;
  border-left: var(--linkColor) solid 0.2rem;
  padding: 0 var(--px15);
  animation: textAppear 0.8s ease-in-out 0.25s 1 normal forwards;
}

@keyframes textAppear {
  0% {
    padding-left: var(--px15);
    border-left: solid 0.2rem var(--linkColor);
    color: rgba(0, 0, 0, 0);
  }

  20% {
    color: rgba(0, 0, 0, 0.2);
  }

  60% {
    padding-left: var(--px30);
    border-left: solid 1.5rem var(--linkColor);
    color: rgba(0, 0, 0, 0.8);
  }

  100% {
    padding-left: var(--px15);
    border-left: solid 0.2rem var(--linkColor);
    color: rgba(0, 0, 0, 1);
  }
}

@keyframes textAppearWhite {
  0% {
    padding-left: var(--px15);
    border-left: solid 0.2rem var(--altTextColor);
    color: rgba(255, 255, 255, 0);
  }

  20% {
    color: rgba(255, 255, 255, 0.2);
  }

  60% {
    padding-left: var(--px30);
    border-left: solid 1rem var(--altTextColor);
    color: rgba(255, 255, 255, 0.8);
  }

  100% {
    padding-left: var(--px15);
    border-left: solid 0.2rem var(--altTextColor);
    color: rgba(255, 255, 255, 1);
  }
}

.card {
  margin: var(--px30);
  padding: var(--px30);
  border: solid 0.1rem var(--borderColor);
}

.card > img {
  display: none;
  width: 30%;
  height: 30%;
  aspect-ratio: 1/1;
}

.card .button:not(:last-child) {
  margin-bottom: var(--px15);
}

.gradientOverlay {
  width: 100%;
  object-fit: cover;
  background: linear-gradient(0deg,
      rgba(0, 0, 0, 0.6) 0%,
      rgba(0, 0, 0, 0.4) 40%,
      rgba(255, 255, 255, 0) 90%);
  padding: var(--px30);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.cardImg .gradientOverlay {
  height: 100%;
}

.titel {
  /*margin-top: var(--px30);*/
}

.links {
  display: flex;
  flex-direction: column;
}

.links .button:nth-child(1) {
  margin-right: var(--px30);
  margin-bottom: var(--px15);
}

section.bildSection {
  padding: 0;
  /* background-image: url(./assets/moclips/moclips.png); */
  background-color: rgba(0, 0, 0, 0.4);
  background-blend-mode: overlay;
  background-repeat: no-repeat;
  background-size: 120%;
  border: var(--mainBackgroundColor) solid 0.1rem;
  /* aspect-ratio: 1/1; */
  object-fit: cover;
  display: flex;
  justify-content: flex-end;
  height: 5%;
}

#bildSectionDrehbuch {
  margin-top: 4rem;
  background-size: 120%;
  background-image: url(./sites/drehbuch/img/h02/bild-13.png);
}

#bildSectionCaipirinha {
  background-image: url(./assets/moclips/moclips.png);
  background-size: 100%;
}

.bildSection .button {
  border-left: solid 0.1rem var(--altLinkColor);
  color: var(--altLinkColor);
}

.bildSection:hover .button {
  border-color: var(--altLinkColor);
}

.bildSection .titel h4 {
  margin-bottom: 0.5rem;
}

.cardText2 {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.cardText2 .titel {
  width: 100%;
}

section.gfr {
  background-image: url(./assets/gfr/gfr-header-1000px.png);
  background-size: 120%;
}

section.bawa {
  background-image: url(./assets/bawa/bawaLogolong.svg);
  background-size: 120%;
}

section.bawa img {
  border-radius: var(--px15);
  width: 25%;
  height: 25%;
}

section.caipirinha {
  background-image: url(./assets/caipi/Caipi-Cover-700px.png);
  background-size: 100%;
}

section.scusi {
  background-image: url(./assets/scusi/Scusi-feels-good-4.png);
  background-size: unset;
}

section.lnz {
  background-image: url(./assets/lnz/LNZ-PB-2000px.png);
}

section.lnz .titel {
  align-self: flex-start;
  padding-bottom: 9rem;
}

section.zenzero {
  background-image: url(./assets/zenzero/stage2.png);
  background-size: 100%;
  background-repeat: no-repeat;
}

section.zenzero .links .button {
  margin: 0;
  color: var(--altLinkColor);
  border-color: var(--altLinkColor);
}

.cardText3 {
  display: flex;
  flex-direction: column;
}

.cardText3Img {
  width: 60%;
  max-width: 10rem;
}

.cardText3 > div {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  flex: 1;
  margin-bottom: var(--px15);
}

.cardImg {
  background: rgba(0, 0, 0, 0.4);
  background-blend-mode: overlay;
  background-repeat: no-repeat;
  background-position: bottom;
  /*aspect-ratio: 1/1;*/
  background-size: 100%;
  object-fit: cover;
  border-color: rgba(0, 0, 0, 0.3);
  color: var(--altTextColor);
  padding: 0;
}

.cardImg .links {
  margin-top: 1.75rem;
}

.cardImg .button {
  color: var(--altLinkColor);
  border-color: var(--altLinkColor);
}

.cardText5 {
  /* margin: 0;
  padding: var(--px45) var(--px60); */
  background-color: var(--cardColor);
  border: solid 0.1rem var(--borderColor);
}

.cardText5 .links {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: var(--px15) 0;
}

.cardText5 .links .button:nth-child(1) {
  margin-right: 0;
}

.cardText5 .button {
  min-width: 50%;
  height: fit-content;
}

.eigenePlaylists {
  margin-bottom: var(--px30);
  /*border-bottom: solid var(--darkGray) .1rem;*/
}

.eigenePlaylists .button:first-child {
  margin-bottom: var(--px15);
}

.footerContainer {
  justify-self: center;
  display: flex;
  justify-content: center;
}

footer {
  margin: var(--px90) var(--px30) var(--px45);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: none;
  width: 100%;
  max-width: 1000px;
}

footer p.copyright {
  margin: var(--px15) 0;
}

footer img {
  width: 30%;
  max-width: 7rem;
  align-self: center;
  margin-top: var(--px45);
}

.FootImg760 {
  display: none;
}

.FootImgMobile {
  display: block;
}

@media only screen and (max-width: 370px) {
  .cardText5 {
    padding: var(--px45) var(--px30);
  }
}

@media only screen and (min-width: 600px) and (max-width: 767px) {
  #heroImgBG {
    max-width: 25vw;
  }

  .heroText {
    width: 80%;
  }

  .card > img {
    display: block;
  }

  .cardText2 > div {
    width: 60%;
  }

  h1 {
    margin: var(--px45) var(--px30) var(--px30);
  }

  .cardText5 .button {
    min-width: 30%;
  }

  .cardImg {
    background-position: top;
  }
}

@media only screen and (min-width: 760px) {
  h1 {
    margin: var(--px60) var(--px45) var(--px15);
  }

  .gradientOverlay {
    background: linear-gradient(0deg,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.4) 20%,
        rgba(0, 0, 0, 0.1) 50%,
        rgba(255, 255, 255, 0) 90%);
  }

  section.hero {
    padding: var(--px30) var(--px45);
  }

  section.hero #heroImgBG,
  section.hero #heroImg {
    margin-top: 0;
  }

  section.hero #heroImgBG {
    max-width: 16rem;
  }

  section.bildSection {
    margin: 0 var(--px45);
    /* height: 38%; */
    aspect-ratio: unset;
  }

  .bildSection p {
    width: 60%;
  }

  .cardContainer {
    margin: 0 var(--px45);
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .card {
    margin: var(--px15) 0;
    width: 45%;
  }

  .cardContainer .card:nth-child(2),
  .cardContainer .card:first-child {
    margin-top: 0;
  }

  .card > img {
    width: 70%;
    height: 70%;
    aspect-ratio: 1/1;
  }

  .cardText2 {}

  .cardText2 > div {
    width: 100%;
  }

  .cardText2Img {
    display: none;
  }

  .cardText3 > div {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    flex: none;
  }

  .cardText5 {
    padding: var(--px30);
  }

  .cardText5 .button {
    min-width: 50%;
  }

  section#empfehlungen {
    width: 100%;
  }

  section.bawa {
    background-position: center;
    background-blend-mode: soft-light;
    object-fit: contain;
    background-size: 130%;
    background-repeat: no-repeat;
    color: var(--altTextColor);
  }

  section.bawa .button {
    color: var(--altLinkColor);
    border-color: var(--altLinkColor);
  }

  section.cardImg {
    background-position: top;
  }

  .cardImg .gradientOverlay {
    justify-content: flex-start;
  }

  .cardImg .titel {
    padding-bottom: 0rem;
  }

  .cardImg .button {
    border-color: var(--altLinkColor);
  }

  section.lnz .titel {
    align-self: flex-start;
    padding-bottom: var(--px60);
  }

  section.über {
    height: fit-content;
  }

  footer {
    border-top: solid 0.1rem var(--darkGray);
    margin: var(--px130) var(--px45) var(--px60);
  }

  footer > div {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }

  footer > div > p.copyright {
    margin-bottom: 0;
    width: fit-content;
  }

  footer .button {
    align-self: flex-end;
  }

  .FootImg760 {
    display: block;
    margin-right: var(--px30);
  }

  .FootImgMobile {
    display: none;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --backgroundColor: black;
    --mainBackgroundColor: var(--black90);
    --headerColor: var(--black80);
    --arrowColor: var(--lightGray);
    --cardColor: var(--black80);
    --sectionHoverColor: var(--black90);
    --borderColor: var(--black70);
    --borderHoverColor: var(--black40);
    --textColor: var(--gray);
    --altTextColor: var(--gray);
    --h1Color: var(--accent);
    --h2Color: var(--darkGray);
    --linkColor: var(--accent);
    --altLinkColor: var(--altTextColor);

    --bodyFontSize: 0.9rem;
  }

  header {
    background-color: var(--headerColor);
    box-shadow: none;
  }

  #headerLogo,
  #heroImgBG,
  #heroImg {
    filter: invert(1) brightness(0.5);
  }

  section {
    background-color: var(--cardColor);
  }

  section:hover,
  section.bildSection:hover,
  .cardText5:hover {
    border-color: var(--borderHoverColor);
  }

  .heroText {
    color: var(--altTextColor);
    animation: textAppearWhite 0.8s ease-in-out 0.25s 1 normal forwards;
  }
}