/* 2. Allgemeines */

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'JT Marnie', 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-weight: 500;
}

em {
  font-weight: 700;
  font-style: normal;
  color: #D3A07A;
  background: #D3A07A;
  background: linear-gradient(to left, #107C91 33%, #D3A07A 67%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

div.anchor {
  visibility: hidden;
  height: 0px !important;
  position: absolute;
  margin: calc(-19dvh - 60px);
}

a {
  color: inherit;
}

/* 3. Navigation */

nav {
  position: fixed;
  top: 0;
  left: 0;
  width: calc(100% - 10dvh);
  padding: 5dvh;
  display: flex;
  align-items: center;
  transition: 0.5s ease;
  z-index: 100;
}

nav img {
  height: 60px;
  filter: brightness(1000);
}

nav ul {
  margin: 0;
  padding: 0;
  display: inline;
  width: 100%;
  text-align: right;
}

nav ul li {
  display: inline;
}

nav ul li a {
  color: #FFFFFF;
  font-weight: 700;
  font-size: 14pt;
  text-decoration: none;
  padding: 0 10px;
  transition: 0.5s ease;
}

nav ul li a:hover {
  border-bottom: 5px solid #D3A07A;
  padding-bottom: 10px;
  color: #D3A07A !important;
}

nav img.sandwich {
  display: none;
}

nav a.nav-freiraum {
  display: none;
}

/* 4. Header */

header {
  height: 90dvh;
  padding: 0 0 10dvh 5dvh;
  color: white;
  font-weight: 800;
  font-size: 7dvw;
  transition: 0.5s ease;
  background-image: url('images/header-1.jpg');
  background-position: center bottom;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
}

header.subpage {
  height: 30dvh;
}

header span#textchanger {
  display: inline-block;
  width: 100%;
  height: 7dvw;
  position: relative;
}

header span#text {
  position: absolute;
  top: 0;
  left: 0;
}

/* 5. Main */

main {
  margin: 10dvh 10dvw;
}

main article {
  margin: 15dvh 0;
}

main div.teaser {
  text-align: center;
  text-transform: uppercase;
  font-size: smaller;
  letter-spacing: 0.5dvw;
  font-weight: 400;
}

main h2 {
  margin: 1dvh 0 0 0;
  font-weight: 700;
  font-size: 3dvw;
  color: #D3A07A;
  background: #D3A07A;
  background: linear-gradient(to left, #107C91 33%, #D3A07A 67%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  text-align: center;
}

main p {
  line-height: 1.5;
}

/* 5.1. Service Boxes */

main div.service-boxes {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

main div.service-boxes div.service {
  text-align: center;
  width: 18dvw;
  margin: 2dvw;
}

main div.service-boxes div.service img.icon {
  width: 50%;
}

/* 5.2. FlieĆtext */

main p.highlighted {
  line-height: 1.5;
  font-size: larger;
  text-align: center;
}

/* 5.3. Galerie */

main div.gallery {
  -webkit-column-count: 3;
  -moz-column-count: 3;
  column-count: 3;
  -webkit-column-gap: 15px;
  -moz-column-gap: 15px;
  column-gap: 15px;
  margin: 10dvh 0;
}

main div.gallery div.item {
  display: inline-block;
  width: 100%;
  box-shadow: 0 5px 10px #E8E8E8;
  border-radius: 15px;
  transition: 0.5s ease;
  margin: 10px 0;
}

main div.gallery div.item h3 {
  margin: 15px 0 0 0;
}

main div.gallery div.item p {
  margin: 7px 0 15px 0;
}

main div.gallery div.item:hover {
  transform: translateY(-10px);
}

main div.gallery img.image {
  display: block;
  width: 100%;
  border-radius: 15px 15px 0 0;
}

main div.gallery div.description {
  padding: 7px 15px;
}

main div.gallery div.description div.services {
  margin: 0 0 16px 0;

}

main div.gallery div.description div.services img {
  width: 40px;
  opacity: 0.2;
  filter: saturate(50%);
}

main div.gallery div.description div.services img.selected {
  opacity: 1;
  filter: saturate(100%);
}


/* 6. Footer */

footer {
  margin: 2.5dvw;
  padding: 5dvw;
  background: #D3A07A;
  background: linear-gradient(135deg, rgba(211, 160, 122, 1) 0%, rgba(16, 124, 145, 1) 100%);
  border-radius: 15px;
  box-shadow: 0 5px 10px #E8E8E8;
  color: #FFFFFF;
}

footer div.teaser {
  text-transform: uppercase;
  font-size: smaller;
  letter-spacing: 0.5dvw;
  font-weight: 400;
}

footer h2 {
  margin: 1dvh 0 0 0;
  font-weight: 700;
  font-size: 3dvw;
  text-transform: uppercase;
}

footer p {
  line-height: 1.5;
  font-size: larger;
}

footer p.copyright {
  font-size: smaller;
}

footer div.contact-options img {
  opacity: 0.8;
  margin: 0 10px 0 0;
  width: 50px;
  transition: 0.5s ease;
}

footer div.contact-options img:hover {
  opacity: 1;
  transform: rotate(15deg);
}

/* 7. Scrollbar und Selection */

::-webkit-scrollbar {
  width: 7px;
}

::-webkit-scrollbar-track {
  background: #242E35;
}

::-webkit-scrollbar-thumb {
  background: #D3A07A80;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #D3A07A;
}

::-moz-selection {
  background: #F0F0F0;
  color: #101010;
}

::selection {
  background: #F0F0F0;
  color: #101010;
}

/* 8. Sonstige Anpassungen */

img.heart {
  width: 25%;
  margin: 0 auto;
  display: block;
}

/* 9. Mobile Ansicht */

@media only screen and (max-width: 500px) {

  /* 9.1. Navigation mobil */
  nav {
    display: block;
  }

  nav img {
    height: 45px;
  }

  nav img.sandwich {
    display: block;
    width: 25px;
    float: right;
  }

  nav ul {
    display: none;
    text-align: center;
    margin: 25px 0 0 0;
  }

  nav ul li {
    display: block;
  }

  nav ul li a {
    display: block;
    margin: 5px 0;
    padding: 15px 0;
    background-color: #E8E8E830;
    backdrop-filter: blur(20px);
  }

  nav ul li a:hover {
    border-bottom: none;
    padding-bottom: 15px;
  }

  nav a.nav-freiraum {
    position: fixed;
    z-index: -1;
    width: 100dvw;
    height: 100dvh;
    left: 0;
    top: 0;
    cursor: unset;
  }

  /* 9.2. Header mobil */

  header {
    font-size: 10dvw;
  }

  /* 9.3. Service Boxes mobil */

  main div.service-boxes {
    flex-direction: column;
    width: 100%;
  }

  main div.service-boxes div.service {
    text-align: center;
    width: 100%;
    margin: 2dvw 0;
  }

  main div.service-boxes div.service img.icon {
    width: 50%;
  }

  /* 9.4. Main mobil */

  main h2 {
    font-size: 8dvw;
  }

  main article {
    margin: 7.5dvh 10dvw;
  }

  /* 9.5. Galerie mobil */

  main div.gallery {
    -webkit-column-count: 1;
    -moz-column-count: 1;
    column-count: 1;
    margin: 2.5dvh 0;
  }

  /* 9.6. Footer mobil */

  footer {
    padding: 15dvw 7.5dvw;
  }

  footer h2 {
    margin: 1dvh 0 0 0;
    font-size: 8dvw;
    hyphens: auto;
    hyphenate-limit-chars: 10 5 13;
  }

  footer p {
    font-size: medium;
  }

  /* 9.7. Fliesstext mobil */

  main p.highlighted {
    font-size: medium;
  }

  /* 9.8. Sonstige Anpassungen mobil */

  img.heart {
    width: 50%;
  }

  div.anchor {
    margin: calc(-9dvh - 45px);
  }

}

@media only screen and (min-width: 501px) {
  ul.nav-list {
    display: block !important;
  }

  a.nav-list {
    display: none !important;
  }
}