:root {
  --text: #dddad5;
  --background: #201818;
  --primary: #fd7d46;
  --secondary: #2d2222;
  --accent: #d28b6c;
  --font: 'IBM Plex Sans';
  --invalid: #f71e1e;
}
body {
  margin: 0;
  background-color: var(--background);
  color: var(--text);
  font-family: var(--font);
  overflow-x: hidden;
}

a, button, input, select, h1, h2 {
  color: var(--primary);
}
h3, hr {
  color: var(--accent);
}

*:focus {
  outline: none;
}


header {
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 1rem 2rem;
  height: 6rem;
  box-sizing: border-box;
  box-shadow: 0 0 20px rgba(0,0,0, 20%);
  background-color: var(--secondary);
  backdrop-filter: blur(5px);
  z-index: 11;
  position: sticky;
}

body > header > a {
  height: 100%;
  max-width: 30rem;
  width: 100%;
  border-radius: 0.25rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  text-decoration: none;
  font-size: 2rem;
  font-weight: 800;
}

body > header > a > img {
  height: 100%;
  object-fit: contain;
}

body > header > nav {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  align-items: center;
  font-size: 1.5rem;
  margin-right: 4rem;
}

body > header > nav > a {
  color: var(--text);
  text-decoration: none;
  position: relative;
}
body > header > nav > a.active {
  color: var(--primary);
}

body > header > nav > a:before {
  content: '';
  position: absolute;
  bottom: -10px;
  height: 3px;
  background-color: var(--text);
  opacity: 0;
  width: 25%;
  transition: 0.4s;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 0.25rem;
}

body > header > nav > a:hover:before,
body > header > nav > a:focus:before, 
body > header > nav > a.active:before {
  width: calc(100% + 0.5rem);
  opacity: 0.75;
}

body > header > nav > a.active:before {
  background-color: var(--primary);
  opacity: 0.8;
}


header > button.mobil {
  height: 100%;
  width: auto;
  aspect-ratio: 1/1;
  background: transparent;
  border: none;
  display: flex;
  justify-content: center;
  align-content: center;
  position: relative;
  visibility: hidden;
  display: none;
  box-sizing: border-box;
}
header > button.mobil:hover, 
header > button.mobil:focus {
  animation: fade 1s infinite cubic-bezier(0.56, 0.02, 0.22, 0.95);

}

div#mobil {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  background-color: var(--background);
  padding: 8rem 3rem 0;
  font-size: 2rem;
  visibility: hidden;
  opacity: 0;
  transition: 0.4s;
}
div#mobil.visible {
  visibility: visible;
  opacity: 1;
}
div#mobil nav {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
div#mobil nav > a {
  width: 100%;
  text-decoration: none;
  border-bottom: 2px solid;
  text-indent: 0.5rem;
  color: var(--text);
}
div#mobil nav > a.active {
  color: var(--primary);
}

header > button.mobil > span {
  width: 100%;
  height: 3px;
  background-color: var(--primary);
}

header > button.mobil.opened {
  position: relative;
}

header > button.mobil > span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: 0.4s;
}

header > button.mobil.opened > span:nth-child(2) {
  transform: translate(-50%, -50%) rotate(45deg);
}

header > button.mobil.opened > span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

header > button.mobil:not(.opened) > span:nth-child(1):before, 
header > button.mobil:not(.opened) > span:nth-child(1):after {
  content: '';
  width: 100%;
  height: 3px;
  background: var(--primary);
  position: absolute;
  transform: translate(-50%, 14px);
}

header > button.mobil:not(.opened) > span:nth-child(1):after {
  transform: translate(-50%, -14px);
}

body > main > section {
  width: 100%;
  /* height: calc(100vh - 9rem); */
  position: relative;
  padding: 10rem 5rem;
  box-sizing: border-box;
}

section.startpage > h1 {
  font-size: 3rem;
  font-style: italic;
}

section.startpage > p {
  max-width: 43%;
  font-size: 1.26rem;
  font-style: oblique;
  margin-bottom: 3rem;
}

section.startpage > div.anchor {
  position: absolute;
  right: 10%;
  top: 25%;
  z-index: 10;
  cursor: grab;
}
section.startpage > div.anchor.dragging {
  cursor: grabbing;
}

/* menu */
section.menu {
  display: flex;
  justify-content: space-between;
  width: 100%;
  height: calc(100vh - 7rem);
  position: relative;
  padding: 10rem 5rem 0;
  box-sizing: border-box;
}

section.menu > div.description {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 40%;
}

section.menu > div.description > div > div.rating {
  color: var(--primary);
  font-size: 2.5rem;
  margin-top: 1rem;
}

section.menu > div.description > h1, 
section.menu > div.description > p {
  margin: 0;
}

section.menu > div.description > div.comment {
  margin-top: 2rem;
  width: 80%;
  background-color: #c9c9c942;
  border-radius: 1rem;
  padding: 1rem;
  box-sizing: border-box;
}

section.menu > div.description > div.comment > div > p {
  text-indent: 1.25rem;
}

section.menu > div.description > div.comment > div > div.user {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

section.menu > div.description > div.comment > div > div.user > i {
  width: 1.75rem;
  height: auto;
  aspect-ratio: 1/1;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 100%;
  overflow: hidden;
  font-size: 1rem;
  border: 1px solid #000000cf;
  box-sizing: border-box;
}

section.menu > div.picture {
  overflow: hidden;
  max-height: 100%;
  width: 100%;
  width: 60rem;
}

section.menu .carousel-cell {
  width: 100%;
}

section.menu .carousel-cell img {
  max-width: 50%;
  transform: translateX(50%);
  object-fit: contain;
}
section.menu .flickity-page-dots .dot {
  background: var(--primary);
}

section.menu .flickity-button {
  color: var(--primary);
  box-shadow: 0 0 10px rgba(0, 0, 0, 10%);
  background: rgba(0, 0, 0, 15%);
  backdrop-filter: blur(2px);
}

section.menu > div.description > h1 {
  font-size: 2.5rem;
}

section.menu > div.description > p {
  font-size: 1.15rem;
}

section.half {
  width: 50%;
  left: 50%;
  transform: translateX(-50%);
}

h1.linked > a {
  text-decoration: none;
  position: relative;
}

h1.linked > a:after {
  content: '\f0c1';
  opacity: 0;
  font-family: fontawesome;
  position: absolute;
  right: 0;
  transform: translate(125%);
  transition: 0.4s;
}

h1.linked > a:hover:after, 
h1.linked > a:focus:after {
  transform: translateX(150%);
  opacity: 1;
}

.alert2 {
  position: fixed;
  bottom: -4rem;
  left: 50%;
  transform: translate(-50%,-50%);
  background: #0000008f;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  color: #fff;
  animation: alert 3s cubic-bezier(0.36, 0.44, 0.42, 0.96);
}

@keyframes alert {
  0% {bottom: -4rem;}
  30% {bottom: 0rem;}
  80% {bottom: 0rem;}
  100% {bottom: -4rem;}
}

@keyframes fade {
  0% {opacity: 0.75;}
  50% {opacity: 0.5;}
  100% {opacity: 0.75;}
}

a.button {
  background: var(--primary);
  color: var(--background);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
  letter-spacing: 1px;
  transition: 0.4s;
  border: 2px solid var(--primary);
}
a.button.inversed {
  background: var(--background);
  color: var(--primary);
  border: 2px solid;
}

a.button:hover, a.button:focus {
  background-color: var(--background);
  color: var(--primary);
  border-color: var(--primary);
}
a.button.inversed:hover, a.button.inversed:focus {
  background-color: var(--primary);
  color: var(--background);
  border-color: var(--primary);
}

section.startpage > a.button {
  margin-left: 0.5rem;
}

section.menu .flickity-button:focus {
  box-shadow: 0 0 20px rgba(0, 0, 0, 25%);
}

body > header > nav > a.active:hover:before, 
body > header > nav > a.active:focus:before {
  animation: fade 1s infinite cubic-bezier(0.56, 0.02, 0.22, 0.95);
}

section.menu > div.description > div > div.pricing {
  color: var(--primary);
  font-size: 2.5rem;
  width: 50%;
  font-family: 'Libre Baskerville', serif;
  font-style: initial;
  display: flex;
  column-gap: 2rem;
  margin-top: 1rem;
}

section.menu > div.description > div {
  display: flex;
  justify-content: space-between;
}

span.discount {
  font-size: 2rem;
  position: relative;
  width: fit-content;
  margin-top: 0.5rem;
}

span.discount:before, 
span.discount:after {
  content: '';
  position: absolute;
  left: -0.5rem;
  top: calc(50% - 2px);
  right: -0.5rem;
  transform: translateY(-50%) rotate(7deg);
  height: 4px;
  background: var(--primary);
  box-shadow: 0 0 20px rgba(0, 0, 0, 20%);
  filter: brightness(0.9);
  opacity: 1;
}

span.discount:after {
  transform: translateY(-50%) rotate(-9deg);
}


@media screen and (max-width: 92rem) {
  body > main > section {
    padding: 13rem 2rem;
  }
  section.startpage > div.anchor {
    scale: 0.75;
    transform: translateX(25%);
  }

  /* menu */
  section.menu > div.picture {
    width: 65%;
  }

  section.menu > div.description {
    max-width: 45%;
    width: 45%;
  }

  section.menu {
    column-gap: 5rem;
  }

  section.menu > div.description > div {
    flex-direction: column-reverse;
  }
  
  /* about */
  section.about {
    width: 75%;
  }
}

@media screen and (max-width: 78rem) {
  section.startpage > p {
    max-width: 100%;
    width: 100%;
  }

  section.startpage > div.anchor {
    position: relative;
    scale: 1;
    transform: unset;
    max-width: 33%;
    float: right;
    top: -23rem;
    right: 1rem;
  }
  
  section.startpage > div.anchor {
    top: unset;
    right: unset;
    float: unset;
    display: none;
  }
}

@media screen and (max-width: 69rem) {
  body > header > nav {
    font-size: 1.25rem;
  }

  body > header > a {
    font-size: 2rem;
  }

  /* startpage */
  section.startpage > h1 {
    font-size: 2.5rem;
  }

  section.startpage > p {
    font-size: 1.25rem;
  }

  section.rezensionen .carousel-cell {
    width: 95% !important;
  }
  /* menu */
  section.menu {
    display: flex;
    flex-direction: column-reverse;
    row-gap: 1rem;
    height: unset;
    padding-bottom: 5rem;
  }

  section.menu > div.picture {
    width: 100%;
    position: relative;
    aspect-ratio: 3/2;
    height: auto;
    max-height: 32rem;
  }

  section.menu > div.description {
    width: 100%;
    max-width: unset;
  }

  section.menu > div.description > div {
    flex-direction: row;
  }

  /* about */
  section.about {
    width: 100%;
    font-size: 1.25rem;
    padding: 12rem 2rem 0;
  }
}

@media screen and (max-width: 47rem) {
  body > header > nav {
    margin-right: 0;
  }

  header {
    height: 5rem;
  }

  body > header > a {
    font-size: 1.75rem;
    max-width: 19rem;
  }

  /* startpage */
  section.startpage > div.anchor {
    top: unset;
    right: unset;
    float: unset;
    display: none;
  }

  body > main > section {
    padding: 9rem 2rem;
  }

  section.startpage > p {
    width: 100%;
    max-width: unset;
  }

  section.startpage > a.button {
    margin: 0 auto;
    display: block;
    width: 11rem;
    text-align: center;
    font-size: 1.25rem;
  }
}

@media screen and (max-width: 42rem) {
  body > header > nav {
    display: none;
    visibility: hidden;
  }

  header > button.mobil {
    visibility: visible;
    display: block;
  }

  body > main > section, section.menu {
    padding: 5rem 1rem 9rem;
  }

  /* menu */
  section.menu > div.description > div {
    flex-direction: column-reverse;
    margin: 0 auto;
  }

  section.menu .carousel-cell img {
    max-width: 75%;
    transform: translateX(-50%);
    left: 50%;
    position: relative;
  }

  section.half {
    width: 80%;
  }
}

@media screen and (max-width: 26rem) {
  body > header > a {
    font-size: 1.5rem;
    max-width: 16rem;
  }

  div#mobil {
    font-size: 1.35rem;
  }

  section.startpage > h1 {
    font-size: 1.75rem; 
  }

  section.rezensionen div.item > div.user > span.time {
    display: none;
    visibility: hidden;
  }

  section.menu > div.description > h1 {
    font-size: 2rem;
  }

  section.menu > div.description > div > div.pricing {
    font-size: 2rem;
    width: 100%;
    justify-content: center;
  }

  span.discount {
    font-size: 1.5rem;
  }

  section.menu > div.description > div > div.rating {
    font-size: 2rem;
    display: flex;
    justify-content: center;
  }

  section.menu > div.picture {
    aspect-ratio: unset;
    height: 20rem;
  }

  section.menu {
    row-gap: 2rem;
  }
  body > main > section {
    height: auto;
  }
}
@media screen and (max-width: 22rem) {
  body > header > a {
    font-size: 1.25rem;
    font-weight: 600;
  }
}
.flickity-viewport {
  min-height: 23rem;
  max-height: 42rem;
}

/* .flickity-page-dots */
section.rezensionen .flickity-prev-next-button {
  display: none;
  visibility: hidden;
}
section.rezensionen .flickity-page-dots {
  bottom: -22px;
}
/* dots are lines */
section.rezensionen .flickity-page-dots .dot {
  height: 4px;
  width: 40px;
  margin: 0;
  border-radius: 0;
}
section.rezensionen .carousel-cell {
  width: 40%;
  min-height: 10rem;
  max-height: 30rem;
  margin-right: 17%;
}
section.rezensionen .flickity-viewport {
  overflow: visible;
}

section.rezensionen div.item {
  /* max-width: 33%; */
  width: 100%;
  /* min-width: 36rem; */
  padding: 1.25rem;
  border-radius: 0.5rem;
  background: var(--secondary);
  box-shadow: 0 0 20px rgba(0, 0, 0, 20%);
  display: flex;
  flex-direction: column;
  row-gap: 1rem;
}

section.rezensionen div.item > div.user {
  position: relative;
  display: flex;
  column-gap: 0.5rem;
  align-items: center;
}

section.rezensionen div.item > div.user > img {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
  border-radius: 100%;
  border: 1px solid #3333;
  position: relative;
  background: #000;
  box-sizing: border-box;
}

section.rezensionen div.item > div.user > span.name {
  font-size: 1.25rem;
  font-weight: 400;
}

section.rezensionen div.item > div.user > span.time {
  font-weight: 400;
  position: absolute;
  right: 0;
  color: var(--text);
}

section.rezensionen div.item > div.rating {
  display: flex;
  color: var(--primary);
  font-size: 1.5rem;
  column-gap: 0.25rem;
  justify-content: center;
}

section.rezensionen div.item > p {
  font-size: 1.2rem;
  font-style: italic;
  opacity: 0.8;
}

section img.bongo {
  left: 50%;
  position: relative;
  transform: translateX(-50%);
  border-radius: 1rem;
  pointer-events: none;
  margin-bottom: 1rem;
  max-width: 100%;
  aspect-ratio: 1/1;
  height: auto;
}

/* ticker */
div#ticker {
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  transform: translateY(100%);
  color: var(--text);
  font-size: 1rem;
  font-weight: 800;
  padding: 6px 9px;
  box-shadow: 0 0 20px rgba(0,0,0, 20%);
  z-index: 1;
}

div#ticker::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #000;
  opacity: 0.25;
  backdrop-filter: blur(30px);
}

div#ticker > span {
  z-index: 1;
  position: relative;
  transform: translateX(0%);
  left: 110%;
  overflow: hidden;
  height: 100%;
  white-space: nowrap;
  animation: scrollText 90s infinite linear;
  display: inline-block;
}

div#ticker > span > span.key {
  color: var(--primary);
  font-weight: 900;
}

div#ticker > span > a {
  color: var(--primary);
  text-decoration: underline;
}

main.standorte .wrapper {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

main.standorte .wrapper .item {
  display: flex;
  flex-direction: column;
  position: relative;
  aspect-ratio: 4/5;
  width: calc(50% - 1rem);
  border: 1px solid var(--primary);
  border-radius: 1.5rem;
  padding: 2rem;
  box-sizing: border-box;
}

main.standorte .wrapper .item img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: contain;
}

main.standorte .wrapper .item h1 {
  margin-bottom: 0.75rem;
  font-size: 1.4rem;
  text-align: center;
}

main.standorte .wrapper .item p {
  text-align: center;
  font-size: 1.1rem;
  margin: 0;
}


@keyframes scrollText {
  from {
    left: 110%;
    transform: translateX(0);
  }
  to {
    left: 0;
    right: 0;
    transform: translateX(-110%);
  }
}
@media screen and (max-width: 47rem) {
  div#ticker {
      top: 44px;
  }    
}

