@import "fonts.css";
@import "variables.css";

.content-container {
  width: var(--content-max-width);
  margin: 0 auto;
}

.running-text {
  font-family: var(--running-text-font-family);
  font-size: var(--running-text-font-size);
  color: var(--grey-dark);
}

.running-text:not(:last-child) {
  margin-bottom: var(--running-text-gap);
}

.section-headline {
  font-family: var(--headline-font-family);
  font-size: var(--headline-font-size);
  line-height: var(--headline-line-height);
  margin-bottom: var(--headline-margin-bottom);
  color: var(--grey-dark);
}

.sub-headline {
  font-family: var(--sub-headline-font-family);
  font-size: var(--sub-headline-font-size);
  line-height: var(--sub-headline-line-height);
  margin-bottom: var(--sub-headline-margin-bottom);
  color: var(--grey-dark);
}

html {
  scroll-behavior: smooth;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

.no-scroll {
  overflow: hidden;
}

header {
  position: relative;
  background-image: url("../img/background-header.jpg");
  background-size: cover;
  background-position: center center;
  height: calc(max(25rem, 75vh));
}

header:before {
  content: "";
  background: linear-gradient(var(--green-darker) 10%, transparent);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 80%;
}

nav {
  position: inherit;
  text-align: center;
}

/* FULL MENU START */

#full-menu {
  display: inline-grid;
  grid-template-columns: 1fr auto 1fr;
  justify-content: center;
  gap: 2em;
  align-items: flex-start;
}

#menu-logo-container {
  background-color: var(--green-dark);
  width: 240px;
  aspect-ratio: 500 / 410;
  display: flex;
  justify-content: center;
  align-items: center;
}

#menu-logo-container img {
  height: 80%;
}

#full-menu ul {
  font-family: var(--navigation-font-family);
  font-size: 1rem;
  list-style: none;
  display: flex;
  gap: 2em;
  padding: 0;
  margin: 1rem 0 0;
}

#full-menu ul:first-child {
  justify-content: flex-end;
}

#full-menu li a {
  text-decoration: none;
  text-transform: uppercase;
  color: var(--white);
  display: inline-block;
  padding: 1em;
  white-space: nowrap;
}

#full-menu li a:hover {
  text-decoration: underline;
  text-underline-offset: 0.3rem;
}

/* FULL MENU END */

#burger-menu-button {
  padding: 2rem;
  position: absolute;
  top: 0;
  right: 0;
  cursor: pointer;
}

#burger-menu-button svg {
  display: block;
}

/* SMALL MENU START */

#small-menu {
  position: relative;
  display: none;
  justify-content: center;
  align-items: flex-start;
}

#hero-logo-container {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-65%);
  width: calc(min(40%, 160px));
}

#menu-overlay {
  background-color: var(--green-dark);
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  transform: translateY(-100%);
  transition: transform 0.2s ease-in-out;
}

#menu-overlay.visible {
  transform: translateY(0%);
}

#menu-overlay ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#menu-overlay li a {
  font-family: var(--navigation-font-family);
  text-decoration: none;
  text-transform: uppercase;
  color: var(--white);
  display: block;
  text-align: center;
  font-size: 1.5rem;
  line-height: 3em;
}

#close-menu-button {
  cursor: pointer;
  position: absolute;
  opacity: 0;
  top: 0;
  right: 0;
  padding: 2rem;
  transition: opacity 0.2s ease-in-out;
}

#close-menu-button.visible {
  opacity: 1;
}

/* SMALL MENU END */

#about {
  position: relative;
  overflow-x: clip;
}

#about:before,
#about:after {
  content: "";
  background-repeat: no-repeat;
  height: calc(min(12vw, 10rem));
  position: absolute;
  left: -4px;
  right: -4px;
  z-index: 1;
}

#about:before {
  background-image: url("../img/separator-white-top.svg");
  top: 0;
  transform: translateY(calc(-100% + 2px));
}

#about:after {
  background-image: url("../img/separator-white-bottom.svg");
  bottom: 0;
  transform: translateY(calc(100% - 2px));
}

#about-content {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  padding-block: 2vw 4vw;
}

#about-text {
  padding-top: 3vw;
  flex: 1;
}

#about-text h1 {
  color: var(--green-middle);
  white-space: nowrap;
}

#about-image {
  flex: 1;
  border-radius: 100%;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  align-self: flex-start;
  width: 100%;
  background-image: url("../img/portrait.jpg");
  background-size: cover;
}

#signature {
  height: 3rem;
}

#quote {
  position: relative;
  height: calc(min(60vw, 100vh));
  background-image: url("../img/background-quote.jpg");
  background-size: cover;
  background-position: center center;
}

#quote:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(-135deg, var(--green-darker), transparent 75%);
}

#quote-content {
  position: relative;
}

#quote-text {
  position: absolute;
  top: 16vw;
  right: 0;
  text-align: right;
  color: var(--white);
  filter: blur(10px);
  transition: filter 0.75s ease-out;
}

#quote-text.animated {
  filter: blur(0px);
}

#quote-text q {
  display: inline-block;
  font-family: "DM Serif Display", serif;
  line-height: 1.25;
  font-style: italic;
  font-size: calc(max(3.5vw, 1.2rem));
}

#quote-text span {
  display: block;
  margin-top: 1vw;
  font-family: "Gothic A1", sans-serif;
  font-size: calc(max(1.5vw, 0.9rem));
}

.faq-text {
  flex: 1;
}

.faq-headline {
  color: var(--brown-dark);
}

.faq-content {
  display: flex;
  align-items: flex-start;
  gap: 5vw;
}

.faq-image {
  width: 30vw;
  object-fit: cover;
  display: block;
  border-radius: 100%;
}

#faq {
  display: flex;
  flex-direction: column;
  overflow-x: clip;
  gap: 12vw;
  padding-block: 6vw 12vw;
}

#faq-image-1 {
  flex: 1.5;
  margin-top: -12vw;
  margin-right: -10vw;
  transform: translateX(8vw);
  opacity: 0;
  transition: transform 1s ease-out, opacity 1s ease-out;
}

#faq-image-1.animated {
  opacity: 1;
  transform: translateX(0vw);
}

#faq-content-2 {
  flex-direction: row-reverse;
}

#faq-text-2 {
  text-align: right;
}

#faq-image-2 {
  flex: 1.25;
  margin-top: -5vw;
  margin-left: -30vw;
  transform: translateX(-8vw);
  opacity: 0;
  transition: transform 1.25s ease-out, opacity 1.25s ease-out;
}

#faq-image-2.animated {
  opacity: 1;
  transform: translateX(0vw);
}

#faq-image-3 {
  flex: 1;
  margin-top: -5vw;
  margin-right: -20vw;
  transform: translateX(8vw);
  opacity: 0;
  transition: transform 1s ease-out, opacity 1s ease-out;
}

#faq-image-3.animated {
  opacity: 1;
  transform: translateX(0vw);
}

#layers {
  position: relative;
  background-color: var(--brown-light);
  padding-block: 8vw 12vw;
  overflow-x: clip;
}

#layers:before {
  content: "";
  background-image: url("../img/separator-brown.svg");
  transform: translateY(calc(-100% + 2px));
  background-repeat: no-repeat;
  height: 6vw;
  position: absolute;
  top: 0;
  left: -4px;
  right: -4px;
  z-index: 1;
}

#layers-headline {
  color: var(--white);
  text-align: center;
  margin-bottom: 10vw;
}

#layer-descriptions {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8vw;
}

.layer-description:first-child,
.layer-description:last-child {
  margin-top: 6vw;
}

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

.layer-description {
  transform: translateY(15vh);
  transition: transform 1s ease-out;
}

.layer-description.animated {
  transform: translateY(0);
}

.layer-description p {
  color: var(--white);
}

.layer-description h2 {
  color: var(--brown-dark);
  margin-block: 3vw;
}

.layer-icon {
  background-color: var(--brown-dark);
  border-radius: 100%;
  aspect-ratio: 1 / 1;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.layer-icon img {
  width: 60%;
  display: block;
}

#practice {
  min-height: 50vw;
  position: relative;
  background-image: url("../img/background-practice.jpg");
  background-size: cover;
  background-position: center center;
}

#practice:before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background: linear-gradient(90deg, var(--brown-darker) 40%, transparent 80%);
}

#practice-content {
  position: relative;
}

#practice-text {
  width: calc(max(35vw, 30ch));
  display: block;
  padding-block: 10vw;
  transform: translateX(-10vw);
  opacity: 0;
  transition: transform 1s ease-out, opacity 1s ease-out;
}

#practice-text.animated {
  transform: translateX(0vw);
  opacity: 1;
}

#practice-text h1,
#practice-text p {
  color: var(--white);
}

#practice-text a {
  word-break: break-word;
  color: var(--white);
}

#contact {
  position: relative;
  background-color: var(--green-middle);
  overflow-x: clip;
}

#contact:before {
  content: "";
  background-image: url("../img/separator-green.svg");
  background-repeat: no-repeat;
  transform: translateY(calc(-100% + 2px));
  height: 6vw;
  position: absolute;
  top: 0;
  left: -4px;
  right: -4px;
  z-index: 1;
}

#contact-content {
  display: flex;
  align-items: center;
  gap: 5vw;
  padding-block: 10vw;
}

#contact-text {
  padding-block: 6vw;
  flex: 1;
}

#contact-text h1,
#contact-text p {
  color: var(--white);
}

#contact-map {
  flex: 1.5;
  align-self: center;
}

footer {
  background-color: var(--green-dark);
  height: 6rem;
}

#footer-content {
  display: flex;
  align-items: center;
  height: 100%;
  justify-content: center;
}

#footer-content a {
  font-family: var(--sans-serif-font-family);
  color: var(--white);
  padding: 2rem;
  text-decoration: none;
}

#footer-content a:hover {
  text-decoration: underline;
  text-underline-offset: 0.3rem;
}

#imprint {
  display: none;
  z-index: 3;
  position: fixed;
  inset: 0;
  backdrop-filter: blur(10px);
  padding-block: 4vw;
  overflow: hidden;
}

#imprint.visible {
  display: unset;
}

#imprint-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

#imprint-content {
  position: relative;
  overflow: hidden;
  padding: 5vw 8vw;
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: var(--white);
  filter: drop-shadow(5px 5px 10px rgba(0, 0, 0, 0.25));
}

#imprint-content a {
  word-break: break-word;
  color: var(--brown-dark);
}

#imprint-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

#close-imprint-button {
  cursor: pointer;
  padding: 2rem;
  margin-top: -5vw;
  margin-right: -8vw;
  align-self: flex-start;
}

#close-imprint-button svg {
  display: block;
}

#imprint-text {
  overflow-y: auto;
  height: 100%;
}

#scroll-up-button-container {
  position: fixed;
  right: calc(5vw - 1rem);
  bottom: calc(5vw - 1rem);
  padding: 1rem;
  cursor: pointer;
  z-index: 2;
  transition: opacity 0.2s ease-in-out;
  opacity: 0;
  pointer-events: none;
}

#scroll-up-button {
  width: 3.5rem;
  border-radius: 100%;
  background-color: var(--white);
  filter: drop-shadow(5px 5px 10px rgba(0, 0, 0, 0.25));
  aspect-ratio: 1 / 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

#scroll-up-button-container.visible {
  pointer-events: all;
  opacity: 1;
}

#scroll-up-button img {
  width: 50%;
}

@media only screen and (max-width: 950px) {
  header {
    height: calc(max(25rem, 60vh));
  }

  #full-menu {
    display: none;
  }

  #small-menu {
    display: flex;
  }

  #hero-logo-container {
    display: block;
  }
}

@media only screen and (max-width: 800px) {
  #faq-content-1 {
    display: block;
  }

  #faq-image-1 {
    width: 100%;
    margin: 4vw 0 0;
  }

  #faq-text-2 {
    text-align: left;
  }

  #faq-image-2,
  #faq-image-3 {
    display: none;
  }

  #layer-descriptions {
    grid-template-columns: 1fr;
  }

  .layer-icon {
    width: 50vw;
  }

  #contact-content {
    flex-direction: column-reverse;
    align-items: flex-start;
  }

  #contact-map {
    width: 100%;
  }
}

/* OLD begins */

/*:root {*/
/*  --background-color: white;*/
/*  --overlay-background-color: #ddd3c7;*/
/*  --accent-color: #544739;*/
/*  --text-color: #1d1d1d;*/
/*  --content-max-width: 60em;*/
/*  --content-padding: 2rem;*/
/*  --font-family: "Open Sans";*/
/*}*/

/*body {*/
/*  margin: 0;*/
/*  background-color: var(--background-color);*/
/*  font-family: var(--font-family);*/
/*  color: #1d1d1d;*/
/*}*/

/*.container {*/
/*  background-color: white;*/
/*}*/

/*#top-bar {*/
/*  height: 1.5rem;*/
/*  background-color: var(--overlay-background-color);*/
/*  position: sticky;*/
/*  top: 0;*/
/*}*/

/*!*header {*!*/
/*!*  max-width: var(--content-max-width);*!*/
/*!*  margin: 0 auto;*!*/
/*!*  display: flex;*!*/
/*!*  justify-content: space-between;*!*/
/*!*  align-items: center;*!*/
/*!*  padding: 1rem var(--content-padding);*!*/
/*!*}*!*/

/*#logo {*/
/*  display: flex;*/
/*  flex-direction: row;*/
/*  align-items: center;*/
/*  cursor: pointer;*/
/*}*/

/*#logo img {*/
/*  height: 3rem;*/
/*}*/

/*!* Main menu basic styles *!*/

/*!*nav {*!*/
/*!*  display: flex;*!*/
/*!*  justify-content: center;*!*/
/*!*  align-items: center;*!*/
/*!*}*!*/

/*.main-menu {*/
/*  display: inline-flex;*/
/*  justify-content: flex-end;*/
/*  align-items: center;*/
/*  gap: 2rem;*/
/*}*/

/*.main-menu ul {*/
/*  padding: 0;*/
/*  margin: 0;*/
/*}*/

/*.main-menu ul li {*/
/*  position: relative;*/
/*  text-transform: uppercase;*/
/*  letter-spacing: 0.1rem;*/
/*  padding: 0.2rem 0.8rem;*/
/*}*/

/*.main-menu ul a {*/
/*  transition-property: background-color;*/
/*  transition-duration: 0.4s;*/
/*  transition-timing-function: ease-in-out;*/
/*  cursor: pointer;*/
/*  border-radius: 50vh;*/
/*  background-color: transparent;*/
/*  padding: 0.6rem 0.4rem;*/
/*}*/

/*.main-menu ul a:hover {*/
/*  background-color: rgba(221, 211, 199, 0.2);*/
/*}*/

/*.main-menu ul a.active {*/
/*  background-color: rgba(221, 211, 199, 0.4);*/
/*}*/

/*#contact-link {*/
/*  border-radius: 50vh;*/
/*  background-color: rgba(221, 211, 199, 0.4);*/
/*  padding: 0.2rem 0.8rem;*/
/*}*/

/*!* Desktop menu styles *!*/

/*#desktop-menu ul li {*/
/*  display: inline-block;*/
/*}*/

/*#desktop-menu ul a {*/
/*  position: relative;*/
/*  margin-right: 0.5rem;*/
/*}*/

/*#desktop-menu ul a:last-child {*/
/*  margin-right: 0;*/
/*}*/

/*!* Icon buttons *!*/
/*#burger-menu {*/
/*  display: none;*/
/*}*/

/*.icon-button {*/
/*  padding: 1rem;*/
/*  cursor: pointer;*/
/*}*/

/*.icon-button svg {*/
/*  fill: #1d1d1d;*/
/*  display: block;*/
/*}*/

/*#close-menu {*/
/*  opacity: 0;*/
/*  position: absolute;*/
/*  top: 2rem;*/
/*  right: 2rem;*/
/*  transition: opacity 0.2s ease-in-out;*/
/*}*/

/*#close-menu.visible {*/
/*  opacity: 1;*/
/*}*/

/*!* Mobile menu styles *!*/

/*#mobile-menu {*/
/*  background-color: var(--overlay-background-color);*/
/*  display: flex;*/
/*  align-items: stretch;*/
/*  justify-content: center;*/
/*  flex-direction: column;*/
/*  position: fixed;*/
/*  top: 0;*/
/*  left: 0;*/
/*  right: 0;*/
/*  bottom: 0;*/
/*  z-index: 1;*/
/*  transform: translateY(-100%);*/
/*  transition: transform 0.2s ease-in-out;*/
/*}*/

/*#mobile-menu.visible {*/
/*  transform: translateY(0%);*/
/*}*/

/*#mobile-menu ul li {*/
/*  display: block;*/
/*  text-align: center;*/
/*  font-size: 1.5rem;*/
/*  line-height: 3em;*/
/*}*/

/*p:last-child {*/
/*  margin-bottom: unset;*/
/*}*/

/*p {*/
/*  margin-bottom: 1rem;*/
/*}*/

/*p:last-child {*/
/*  margin-bottom: 0;*/
/*}*/

/*h1 {*/
/*  margin-bottom: 1rem;*/
/*  font-size: 2rem;*/
/*}*/

/*h3 {*/
/*  margin-bottom: 1rem;*/
/*}*/

/*.content {*/
/*  padding: var(--content-padding);*/
/*  max-width: var(--content-max-width);*/
/*  margin: 0 auto;*/
/*}*/

/*footer {*/
/*  padding: var(--content-padding);*/
/*  max-width: var(--content-max-width);*/
/*  margin: 0 auto;*/
/*}*/

/*footer ul {*/
/*  display: inline-block;*/
/*  padding: 0;*/
/*  margin: 0;*/
/*}*/

/*footer ul li {*/
/*  display: inline-block;*/
/*}*/

/*@media only screen and (max-width: 768px) {*/
/*  #desktop-menu {*/
/*    display: none;*/
/*  }*/

/*  #burger-menu {*/
/*    display: block;*/
/*  }*/
/*}*/
