@import url("https://fonts.googleapis.com/css2?family=Delicious+Handrawn&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");
* {
  margin: 0;
  padding: 0;
  font-size: 0;
}

:root {
  --c-db: #182026;
  --c-lb: #43494f;
  --c-wh: #f9f9f9;
  --c-tx: #0c0f11;
}

body {
  background-color: #43494f;
  background-image: url("img/tools.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: 0 38.5vw;
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  font-size: 16px;
}

@media screen and (min-width: 601px) and (orientation: landscape) {
  #hero {
    height: 100vh;
    position: relative;
  }
}
#hero .scroll-button {
  position: absolute;
  bottom: 22px;
  left: calc(50% - 25px);
}

#team {
  color: #f9f9f9;
}
#team .wrapped {
  padding-top: 15vw;
  margin-bottom: -15vw;
}
@media screen and (min-width: 601px) {
  #team .wrapped {
    padding-top: 20vw;
  }
}

#salon {
  background: #f9f9f9;
  color: #182026;
}
#anspruch {
  background: #f9f9f9;
  color: #182026;
}
#anspruch .wrapped {
  padding-bottom: 10vw;
}

#team .wrapped,
#salon .wrapped,
#anspruch .wrapped {
  position: relative;
}
#team .wrapped .textbox,
#salon .wrapped .textbox,
#anspruch .wrapped .textbox {
  padding: 10vw 0;
}
@media screen and (min-width: 601px) {
  #team .wrapped .textbox,
  #salon .wrapped .textbox,
  #anspruch .wrapped .textbox {
    padding: 5vw 0;
  }
}
#team .wrapped > img,
#salon .wrapped > img,
#anspruch .wrapped > img {
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.25);
  border-radius: 5px;
  width: 100%;
  margin: 5vw 0;
}
@media screen and (min-width: 601px) {
  #team .wrapped > img,
  #salon .wrapped > img,
  #anspruch .wrapped > img {
    max-width: 500px;
    width: 40vw;
  }
}

#preise {
  background: #f9f9f9;
  color: #182026;
}
#preise span {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  font-size: 22px;
  line-height: 50px;
  margin: auto 22px;
}
#preise .header {
  display: flex;
}
@media screen and (max-width: 600px) {
  #preise .header {
    flex-direction: column;
  }
  #preise .header #categorySelector {
    margin-left: auto;
  }
}
#preise .header:has(#p-d:checked) + .table-wrapper .g-herren:not(.g-damen),
#preise .header:has(#p-d:checked) + .table-wrapper .g-kinder,
#preise .header:has(#p-h:checked) + .table-wrapper .g-damen:not(.g-herren),
#preise .header:has(#p-h:checked) + .table-wrapper .g-kinder,
#preise .header:has(#p-k:checked) + .table-wrapper .g-damen,
#preise .header:has(#p-k:checked) + .table-wrapper .g-herren {
  display: none;
}

#kontakt {
  background: #f9f9f9;
  color: #182026;
}
#kontakt .wrapped {
  position: relative;
  padding-top: 10vw;
  margin-bottom: -12vw;
}
@media screen and (max-width: 600px) {
  #kontakt h2 {
    font-size: 32px;
  }
  #kontakt .wrapped {
    margin-bottom: -10vw;
  }
}

#oeffnungszeiten {
  background: #182026;
  color: #f9f9f9;
}
#oeffnungszeiten .wrapped {
  position: relative;
  bottom: 10vw;
}
@media screen and (max-width: 600px) {
  #oeffnungszeiten h2 {
    font-size: 32px;
  }
  #oeffnungszeiten .wrapped {
    bottom: 5vw;
    padding-bottom: 5vw;
  }
}

footer {
  background: #182026;
  color: #f9f9f9;
  padding: 5vw 0;
}
footer .wrapped {
  position: relative;
}
footer a {
  color: #f9f9f9;
  font-size: 16px;
  text-decoration: none;
}
footer a:not(:last-of-type) {
  margin-right: 22px;
}
footer a:not(:hover) {
  opacity: 0.5;
}
footer .scroll-button {
  position: absolute;
  bottom: 0;
  right: 0;
  transform: rotate(180deg);
}

.scroll-button {
  display: inline-block;
  height: 50px;
  width: 50px;
  border-radius: 100%;
  background: #f8b522;
  z-index: 1;
  cursor: pointer;
}
@media screen and (orientation: portrait) {
  .scroll-button {
    display: none;
  }
}
.scroll-button::before {
  content: "";
  display: block;
  height: 16px;
  width: 16px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -70%) rotate(45deg);
  border-bottom: 3px solid #182026;
  border-right: 3px solid #182026;
}

.wrapped {
  width: calc(100% - 44px);
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 22px;
}
@media screen and (max-width: 800px) {
  .wrapped.centered {
    text-align: center;
  }
}
.wrapped.right {
  text-align: right;
}
.wrapped.right .two-col {
  justify-content: flex-end;
}

h2 {
  font-family: "Delicious Handrawn", cursive;
  font-weight: 400;
  font-style: normal;
  font-size: 50px;
  text-transform: uppercase;
}

.textbox > img,
.header > img {
  height: 85px;
}
@media screen and (min-width: 601px) {
  .textbox > img,
  .header > img {
    height: 100px;
  }
}
.textbox p,
.header p {
  font-size: 16px;
  line-height: 24px;
  margin: 11px 0;
}
.textbox p.large,
.header p.large {
  font-size: 22px;
  line-height: 33px;
}
.textbox p a,
.header p a {
  font-size: inherit;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid #182026;
}

@media screen and (min-width: 601px) {
  .two-col {
    display: flex;
    column-gap: 44px;
  }
  .two-col.reversed {
    flex-direction: row-reverse;
  }
  .two-col.wrapped > * {
    margin: auto 0;
  }
}
@media screen and (max-width: 600px) {
  .textbox .two-col {
    flex-direction: column;
  }
  .textbox .two-col > * {
    margin-left: auto !important;
  }
}

#categorySelector {
  margin: auto;
  margin-left: 0;
  display: inline-flex;
  border: 1px solid #43494f;
  border-radius: 11px;
  overflow: hidden;
}
#categorySelector input {
  display: none;
}
#categorySelector label {
  display: inline-block;
  padding: 11px 22px;
}
#categorySelector label:not(:last-of-type) {
  border-right: 1px solid #43494f;
}
#categorySelector input:checked + label {
  background: #43494f;
  color: #f9f9f9;
}

th,
td,
label {
  font-size: 16px;
}

table.preise {
  margin: 0 auto;
  width: 100%;
  border-spacing: 0;
}
table.preise th,
table.preise td {
  text-align: right;
  padding: 11px;
}
@media screen and (min-width: 801px) {
  table.preise th,
  table.preise td {
    width: 33%;
  }
}
@media screen and (min-width: 601px) {
  table.preise th:first-of-type,
  table.preise td:first-of-type {
    text-align: left;
  }
}
@media screen and (min-width: 801px) {
  table.preise th:first-of-type,
  table.preise td:first-of-type {
    width: 1px;
    white-space: nowrap;
  }
}
table.preise th {
  font-weight: 500;
  padding-top: 22px;
}
table.preise th.annotation {
  font-size: 12px;
  font-weight: 300;
}
table.preise tbody tr:not(:last-of-type) td {
  border-bottom: 1px dotted rgb(221.7, 222, 222.2);
}
table.preise tbody {
  background: #f5f5f5;
}
@media (max-width: 600px) {
  table.preise,
  table.preise thead,
  table.preise tbody,
  table.preise th,
  table.preise td,
  table.preise tr {
    display: block;
  }
  table.preise thead th {
    font-size: 22px;
    padding: 44px 0 22px 0;
  }
  table.preise th,
  table.preise td {
    text-align: center;
  }
  table.preise th:first-child,
  table.preise td:first-child {
    font-weight: 400;
  }
  table.preise th:not(:first-child),
  table.preise td:not(:first-child) {
    display: inline-block;
    white-space: nowrap;
    width: calc(33.3333333333% - 22px);
  }
  table.preise th:not(:first-child)[colspan="3"],
  table.preise td:not(:first-child)[colspan="3"] {
    width: calc(100% - 22px);
  }
  table.preise th:not(:first-child).annotation,
  table.preise td:not(:first-child).annotation {
    padding-top: 0;
    padding-left: 0;
    padding-right: 0;
    width: 33.3333333333%;
  }
}

p.info {
  font-size: 12px;
  margin-top: 22px;
}

#nestlemedia {
  background: #182026;
  display: block;
  width: 80vw;
  max-width: 150px;
  text-align: center;
  margin: 5vw auto 0 auto;
}
#nestlemedia img {
  width: 100%;
}

body:has(#impressum) {
  background: #182026;
  color: #f9f9f9;
}
body:has(#impressum) #impressum {
  padding-top: 10vw;
}
body:has(#impressum) #datenschutz {
  background: #f9f9f9;
  color: #182026;
  padding-bottom: 10vw;
}
body:has(#impressum) #datenschutz a {
  border-color: #182026;
}
body:has(#impressum) p,
body:has(#impressum) h4 {
  font-size: 16px;
  line-height: 24px;
  margin-top: 22px;
}
body:has(#impressum) h4 {
  font-weight: 500;
}
body:has(#impressum) h4 + p {
  margin-top: 11px;
}
body:has(#impressum) a {
  font-size: 16px;
  display: inline-block;
  margin: 22px 0;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid #f9f9f9;
}
