/* #region general */

:root {
  --color_primary: #000;
  --color_secondary: #959595;
  --color_accent: #6a9765;
  --color_light: #fdfbfb;

  --burger-size: 1.5rem;
}

* {
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

/* fonts */

/* roboto-300 - latin */
@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/roboto-v29-latin-300.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/roboto-v29-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/roboto-v29-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/roboto-v29-latin-300.woff') format('woff'), /* Modern Browsers */
       url('../fonts/roboto-v29-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/roboto-v29-latin-300.svg#Roboto') format('svg'); /* Legacy iOS */
}

/* roboto-300italic - latin */
@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 300;
  src: url('../fonts/roboto-v29-latin-300italic.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/roboto-v29-latin-300italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/roboto-v29-latin-300italic.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/roboto-v29-latin-300italic.woff') format('woff'), /* Modern Browsers */
       url('../fonts/roboto-v29-latin-300italic.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/roboto-v29-latin-300italic.svg#Roboto') format('svg'); /* Legacy iOS */
}

/* roboto-500 - latin */
@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/roboto-v29-latin-500.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/roboto-v29-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/roboto-v29-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/roboto-v29-latin-500.woff') format('woff'), /* Modern Browsers */
       url('../fonts/roboto-v29-latin-500.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/roboto-v29-latin-500.svg#Roboto') format('svg'); /* Legacy iOS */
}


/* zen-kaku-gothic-antique-700 - latin */
@font-face {
  font-display: swap;
  font-family: 'Zen Kaku Gothic Antique';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/zen-kaku-gothic-antique-v9-latin-700.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/zen-kaku-gothic-antique-v9-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/zen-kaku-gothic-antique-v9-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/zen-kaku-gothic-antique-v9-latin-700.woff') format('woff'), /* Modern Browsers */
       url('../fonts/zen-kaku-gothic-antique-v9-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/zen-kaku-gothic-antique-v9-latin-700.svg#ZenKakuGothicAntique') format('svg'); /* Legacy iOS */
}

/* zen-kaku-gothic-antique-900 - latin */
@font-face {
  font-display: swap;
  font-family: 'Zen Kaku Gothic Antique';
  font-style: normal;
  font-weight: 900;
  src: url('../fonts/zen-kaku-gothic-antique-v9-latin-900.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/zen-kaku-gothic-antique-v9-latin-900.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/zen-kaku-gothic-antique-v9-latin-900.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/zen-kaku-gothic-antique-v9-latin-900.woff') format('woff'), /* Modern Browsers */
       url('../fonts/zen-kaku-gothic-antique-v9-latin-900.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/zen-kaku-gothic-antique-v9-latin-900.svg#ZenKakuGothicAntique') format('svg'); /* Legacy iOS */
}


h1,
h2 {
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  font-weight: 900;
  text-transform: uppercase;
}

h3,
#nav_main a,
#nav_main span,
#header_video p,
#header_video a,
.quote,
.cta a,
.cta a span,
.cta p,
#kontakt label,
#kontakt button {
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  font-weight: 700;
}

.gruen {
  color: var(--color_accent);
}

/* wrapper */

.wrap_wide {
  margin: auto;
  max-width: 1200px;
  width: 90vw;
}

.wrap_narrow {
  margin: 0 auto;
  max-width: 800px;
  width: 90vw;
}

/* #endregion */


/* #region navigation */

#nav_main {
  background: var(--color_light);
  border-bottom: 1px solid var(--color_secondary);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 5;
}

#nav_main > div {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

#nav_main a {
  color: var(--color_primary);
  font-size: 1rem;
  line-height: 4rem;
  text-decoration: none;
}

#nav_main .arrow_nav {
  margin-left: 0.5rem;
  vertical-align: middle;
  width: 0.7rem;
}

#nav_logo .logo {
  height: 1.5rem;
  padding-right: 0.2rem;
  transform: translateY(0.4rem);
  vertical-align: baseline;
}

#nav_menu {
  flex: 0 0 100%;
  max-height: 0;
  overflow: hidden;
  transition: all 0.2s ease;
}

#nav_menu .nav_item {
  border-top: 1px solid var(--color_primary);
}

#nav_menu .nav_item a {
  display: block;
  line-height: min(4rem, 7vh);
}

#nav_menu .nav_item a:focus {
  outline: none;
}

#nav_menu .nav_submenu {
  overflow: visible;
  position: relative;
  width: 100%;
}

.sm_hidden + .nav_submenu {
  display: none;
}

/* burgermenu */

#nav_main input:checked ~ #nav_menu {
  display: block;
  max-height: 100vh;
}

#nav_main input {
  cursor: pointer;
  height: var(--burger-size);
  margin: 0 0 0 auto;
  opacity: 0;
  transform: translateX(var(--burger-size));
  width: var(--burger-size);
}

#nav_main label {
  height: var(--burger-size);
  position: relative;
  width: var(--burger-size);
}

#nav_main .burger {
  cursor: pointer;
  display: inline-block;
  height: 80%;
  left: 0;
  position: absolute;
  top: 10%;
  width: 100%;
}

#nav_main .burger_top,
#nav_main .burger_mid,
#nav_main .burger_bot {
  background: black;
  border-radius: calc(var(--burger-size) * 0.03);
  display: block;
  height: 10%;
  position: absolute;
  transition: all 0.4s ease-in-out;
  width: 100%;
}

#nav_main .burger_top {
  top: 0;
  transform-origin: top left;
  width: calc(var(--burger-size) * 0.5);
}

#nav_main .burger_mid {
  top: 45%;
}

#nav_main .burger_bot {
  bottom: 0;
  right: 0;
  transform-origin: bottom right;
  width: calc(var(--burger-size) * 0.5);
}

#nav_main input:checked ~ label .burger_top {
  transform: translateX(calc(var(--burger-size) * 0.16)) rotate(45deg);
  width: 50%;
}

#nav_main input:checked ~ label .burger_mid {
  transform: rotate(-45deg);
}

#nav_main input:checked ~ label .burger_bot {
  transform: translateX(calc(var(--burger-size) * -0.16)) rotate(45deg);
  width: 50%;
}

/* #endregion */


/* #region header */

#header_tagline {
  background: var(--color_light);
  display: flex;
  min-height: 70vh;
  padding: 7rem 0 3rem 0;
}

#header_tagline h1 {
  color: var(--color_accent);
  font-size: clamp(2rem, calc(1rem + 3vh), 4rem);
  line-height: 1;
  max-width: 800px;
}

#header_tagline p {
  font-size: 1.2rem;
  line-height: 1.5;
  margin: 1rem 0 2rem 0;
  max-width: 800px;
}

#header_tagline .arrow_scroll {
  height: 0.8rem;
}

#header_image {
  height: max(40vh, 14rem);
  position: relative;
  width: 100%;
  overflow: visible;
}

#header_image img {
  height: max(40vh, 14rem);
  object-fit: cover;
  width: 100%;
  position: fixed;
}

#header_image h1 {
  bottom: 0;
  color: var(--color_light);
  font-size: clamp(2rem, calc(1rem + 3vh), 4rem);
  padding: 4rem 0;
  position: absolute;
}

#header_video {
  display: flex;
  height: 100vh;
  padding-top: 2rem;
}

#header_video video {
  bottom: 0;
  height: 100vh;
  height: 100svh;
  object-fit: cover;
  position: fixed;
  width: 100%;
  z-index: -1;
}

#header_video > div {
  height: 100%;
  position: relative;
}

#header_video > div > div {
  bottom: 10vh;
  left: 0;
  padding: 4rem 0;
  position: absolute;
}

#header_video h1 {
  color: var(--color_primary);
  display: inline;
  /* font-size: clamp(2rem, calc(1rem + 5vh), 10rem); */
  /* line-height: 1; */
  width: fit-content;
}

#header_video a {
  color: var(--color_primary);
  display: block;
  font-size: 1.4rem;
  line-height: 1.4;
  margin-top: 1rem;
  text-decoration: none;
}

#header_video a:hover {
  opacity: 0.7;
}

#header_video a img {
  animation: pulse 1.2s infinite linear;
  display: inline-block;
  vertical-align: 10%;
  width: 0.8rem;
}

#header_video a:hover img {
  animation-play-state: paused;
}

#header_video span,
#header_video span h1 {
  color: var(--color_primary);
  font-size: 2rem;
  font-size: clamp(2rem, calc(1rem + 3vh), 4rem);
  line-height: 1.4;
  margin-top: 1rem;
  text-decoration: none;
}

/* #endregion */


/* #region background */

#background_image {
  border-bottom: 1px solid var(--color_secondary);
  border-top: 1px solid var(--color_secondary);
  height: 60vh;
}

#background_image img {
  bottom: 0;
  height: 100vh;
  height: 100lvh;
  left: 0;
  object-fit: cover;
  object-position: center;
  position: fixed;
  /* top: 0; */
  width: 100%;
  z-index: -1;
}

/* #endregion */


/* #region main */

main {
  background: var(--color_light);
  padding: 0 0 6rem;
  position: relative;
}

#scroll_main {
  position: absolute;
  top: -4rem;
}

main section,
main .faq {
  padding-top: 4rem;
}

.content h1,
.content h2,
.features h2 {
  color: var(--color_accent);
  font-size: 2rem;
  margin-bottom: 2rem;
}

.content h3 {
  font-size: 1.25rem;
  margin: 2rem auto 1rem;
}

.content > a,
.content > p,
.content details > p,
.content > ul {
  font-size: 1.2rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.content a {
  color: var(--color_accent);
  text-decoration: none;
}

.content .quote {
  font-size: 1.25rem;
  padding-top: 2rem;
}

.content details {
  border-bottom: 1px solid var(--color_secondary);
  padding: 1rem 0;
}

.content details:first-of-type {
  padding: 0 0 1rem;
}

.content details summary {
  cursor: pointer;
  list-style: none;
}

.content details summary:focus {
  outline: none;
}

.content details summary::marker,
.content details summary::-webkit-details-marker {
  display: none;
}

.content details summary > span {
  display: flex;
  justify-content: space-between;
}

.content details summary span span {
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 2rem;
}

.content details .arrow_details {
  height: 2rem;
  margin: 0 0 0 1rem;
  width: 0.9rem;
}

.content details[open] .arrow_details {
  transform: rotate(180deg);
}

.content details > p {
  margin: 1rem 2rem 0 0;
}

.content ul {
  line-height: 1.7;
  list-style: square;
  margin: 0 1.2rem 1rem;
}

.content > img {
  margin: 2rem auto 1rem;
  width: 100%;
}

.content_small h2 {
  color: var(--color_accent);
  font-size: 1.4rem;
}

.content_small h3 {
  font-size: 1.15rem;
  margin: 1rem 0 0.5rem;
}

.content_small h4 {
  font-size: 1rem;
  line-height: 1.5;
  text-decoration: underline;
}

.content_small p,
.content_small ul {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.content_small ul {
  list-style: square;
}

.content_small a {
  color: var(--color_accent);
}

.images {
  border-bottom: 1px solid var(--color_secondary);
  border-top: 1px solid var(--color_secondary);
  column-gap: 1rem;
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 4rem;
  padding: 6rem 0;
  row-gap: 1rem;
}

.images img {
  width: 100%;
}

.video {
  display: block;
  padding-top: 4rem;
  width: 100%;
}

.cta {
  border-bottom: 1px solid var(--color_secondary);
  border-top: 1px solid var(--color_secondary);
  margin-top: 4rem;
  padding: 6rem 0;
}

.cta_bottom {
  border-bottom: none;
  padding: 6rem 0 4rem;
}

.cta_borderless {
  border: none;
  padding: 2rem 0 4rem;
}

.cta p {
  color: var(--color_primary);
  font-size: 1.4rem;
  line-height: 1.4;
}

.cta a {
  color: var(--color_accent);
  display: block;
  font-size: 1.4rem;
  margin-top: 1.2rem;
  text-decoration: none;
}

.cta a:hover {
  opacity: 0.7;
}

.cta a img {
  animation: pulse 1.2s infinite linear;
  display: inline-block;
  vertical-align: 10%;
  width: 0.8rem;
}

.cta a:hover img {
  animation-play-state: paused;
}

.features_wrapper {
  column-gap: 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.feature {
  transition: all 0.5s ease-in-out;
}

.feature:hover {
  transform: scale(1.03);
}

.feature h3 {
  font-size: 1.25rem;
}

.feature p,
.feature a {
  display: inline-block;
  font-size: 1.2rem;
  line-height: 1.5;
  margin-top: 1rem;
}

.feature a {
  color: var(--color_accent);
  font-weight: 500;
  text-decoration: none;
}

.feature img {
  display: inline;
  transform: rotate(270deg);
  vertical-align: 10%;
  width: 0.6rem;
}

#kontakt {
  display: block;
  margin: 0 auto;
  max-width: 800px;
  padding-top: 4rem;
  width: 80vw;
}

#kontakt label,
#kontakt input,
#kontakt textarea {
  display: block;
  width: 100%;
}

#kontakt label,
#kontakt button {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

#kontakt .label_required:after {
  color: var(--color_accent);
  content: " *";
}

#kontakt input,
#kontakt textarea {
  background: var(--color_light);
  border: none;
  border-bottom: 1px solid var(--color_secondary);
  font-size: 1.2rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  padding: 0.5rem;
}

#kontakt textarea {
  min-height: 15rem;
  resize: vertical;
}

#kontakt input:focus,
#kontakt textarea:focus {
  border: none;
  outline: 2px solid var(--color_accent);
}

#kontakt button {
  background: var(--color_accent);
  border: none;
  color: var(--color_light);
  margin: 1rem 0;
  padding: 0.5rem;
}

/* #endregion */


/* #region footer */

.footer_main {
  background: var(--color_light);
  border-top: 1px solid var(--color_secondary);
  padding: 1rem 0;
}

.footer_index {
  background: none;
  border: none;
  bottom: 0;
  position: fixed;
  left: 0;
  width: 100%;
}

.footer_main ul li {
  margin-right: 0.7rem;
}

.footer_main ul li {
  display: inline-block;
}

.footer_main ul li:last-of-type {
  margin-right: 0;
}

.footer_main p,
.footer_main ul li a {
  color: var(--color_secondary);
  display: block;
  font-size: 1rem;
  line-height: 2rem;
  text-decoration: none;
}

.footer_main .logo_instagram {
  height: 1rem;
  transform: translateY(0.1rem);
}

/* #endregion */


/* #region animation */

@keyframes pulse {
  0% {
    transform: rotate(-90deg) translateY(0px);
  }
  30% {
    transform: rotate(-90deg) translateY(3px);
  }
  60% {
    transform: rotate(-90deg) translateY(5px);
  }
  80% {
    transform: rotate(-90deg) translateY(3px);
  }
  100% {
    transform: rotate(-90deg) translateY(0px);
  }
}

/* #endregion*/


/* #region tablet */

@media (min-width: 480px) {
  .wrap_wide,
  .wrap_narrow {
    width: 80vw;
  }

  .footer_main ul li {
    margin-right: 1rem;
  }
}

/* #endregion */


/* #region desktop */

@media (hover: hover) and (pointer: fine) {
  #nav_main #nav_menu a:hover {
    color: var(--color_accent);
  }
}

@media (min-width: 768px) {
  .images {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (min-width: 1350px) {
  #nav_main input,
  #nav_main label {
    display: none;
  }

  #nav_menu {
    flex-basis: auto;
    max-height: none;
    overflow: visible;
  }

  #nav_menu .nav_item {
    border: none;
    display: inline-block;
    margin-left: 1rem;
    position: relative;
  }

  #nav_menu .nav_submenu {
    background: var(--color_light);
    border: 1px solid var(--color_primary);
    padding: 0 100vw;
    position: absolute;
    right: calc(-100vw + 1.2rem);
    text-align: right;
    width: max-content;
  }

  #nav_menu .nav_submenu li {
    display: inline-block;
    margin-left: 2rem;
  }

  #nav_menu .nav_submenu li a {
    line-height: 3rem;
  }

  .footer_main ul {
    text-align: right;
  }
}

/* #endregion */


/* #region print */

@media print {
  .wrap_wide,
  .wrap_narrow {
    width: 90vw;
  }

  #nav_main {
    display: none;
  }

  #header_tagline {
    min-height: 60vh;
  }

  #background_image {
    border: none;
    height: 40vh;
  }

  #background_image img {
    position: relative;
  }

  main {
    padding: 0;
  }

  #scroll_main {
    display: none;
  }
}

/* #endregion */
