/* Dunkle Textfarbe */
/* Hellbraun */
/* Hellgrau */
/* Gr�n */
/* Dunkelbraun */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0 10px;
  z-index: 910010;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  height: 70px;
  background-color: #e5ded6;
}
@media screen and (min-width: 640px) {
  header {
    height: 118px;
  }
}
@media screen and (min-width: 800px) {
  header {
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
  }
}
@media screen and (min-width: 1080px) {
  header {
    background-color: transparent;
    transition: background-color 250ms ease;
    isolation: isolate;
  }
  header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #e5ded6;
    opacity: 0;
    transition: opacity 250ms ease;
    pointer-events: none;
    z-index: -1;
  }
  header.scrolled::before {
    opacity: 1;
  }
}
@media screen and (min-width: 1700px) {
  header {
    padding: 0 calc(50% - 790px);
  }
}
header .logo {
  display: none;
  font-weight: 500;
  text-decoration: none;
  color: inherit;
  justify-self: start;
  font-size: 0.75rem;
  letter-spacing: 2px;
}
header .logo span {
  color: #57564a;
  line-height: 1.25;
  display: block;
}
@media screen and (min-width: 800px) {
  header .logo {
    display: block;
    font-size: 1.1rem;
  }
}
header .logo2 {
  width: 100px;
  height: 25px;
  background: url(images/smilezeit.png) no-repeat;
  background-size: contain;
  justify-self: center;
  margin-right: 10px;
}
header .logo2 img {
  display: none;
}
@media screen and (min-width: 480px) {
  header .logo2 {
    width: 140px;
    height: 30px;
  }
}
@media screen and (min-width: 640px) {
  header .logo2 {
    width: 200px;
    height: 50px;
  }
}
header nav {
  justify-self: end;
  display: flex;
  align-items: center;
}
header nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
}
header nav a {
  text-decoration: none;
  color: #111;
}
header nav > ul > li {
  /*1. Ebene*/
}
header nav > ul > li > a {
  display: flex;
  gap: 12px;
  align-items: center;
  text-transform: uppercase;
  font-size: 1rem;
  color: #57564a;
  font-weight: 500;
  color: transparent;
  font-size: 0;
}
header nav > ul > li > a.selected,
header nav > ul > li > a:hover,
header nav > ul > li > a:focus {
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}
header nav > ul > li > a::before {
  content: "";
  display: inline-block;
  width: 38px;
  height: 38px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
header nav > ul > li:nth-child(1) > a::before {
  background-image: url('images/phone.svg');
}
header nav > ul > li:nth-child(2) > a::before {
  background-image: url('images/map.svg');
}
header nav > ul > li > ul {
  /*2. Ebene*/
  display: none;
}
header nav > ul > li.nav-hover > ul {
  display: block;
  position: absolute;
  width: 250px;
  background: #f6f6f6;
}
header nav > ul > li.nav-hover > ul > li {
  display: block;
}
header nav > ul > li.nav-hover > ul > li > a {
  display: flex;
  border-bottom: 1px solid #111;
  transition: all ease-in-out 0.2s;
  color: #FFFFFF;
  align-items: center;
}
