/*
Theme Name: Jugendherbergen im Rheinland 2025
Author: anonym  
Author URI: 
Tags: theme, responsive;
Description: Jugendherbergen im Rheinland 2025
Version: 2.0
*/
@font-face {
  font-display: swap;
  font-family: "Dosis";
  font-style: normal;
  font-weight: 400;
  src: url("fonts/Dosis-Regular.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Dosis";
  font-style: normal;
  font-weight: 700;
  src: url("fonts/Dosis-Bold.woff2") format("woff2");
}

:root {
  --white: #ffffff;
  --off-white: #d7007f00;
  --pink: #d7007fac;
  --pink-2: #d7007f;
  --pink-3: #d6007f;
  --pink-4: #d253a8;
  --pink-5: #c20071;
  --grey: #00000029;
  --grey-2: #e7e1df;
  --grey-3: #0000003b;
  --grey-4: #ceced0;
  --black: #000000;
  --black-2: #2b2e34;
  --yellow: #fcdb84;
  --yellow-2: #ffe579;
  --blue: #4b9bc1;
  --blue-2: #35cbf5;
  --blue-3: #0481b6;
  --blue-4: #a9cfe2;
  --blue-5: #0079b9;
  --blue-6: #05baee;
  --blue-7: #00aab7;
  --orange: #ffb069;
  --orange-2: #e9bf70;
  --orange-3: #f38f2d;
  --green-1: #52cac2;
  --green-2: #aae3d7;
  --green-3: #2abb8e;
  --green-4: #6dcfb7;
  --green-5: #45ba9b;
  --green-6: #00aa84;
  --peach: #f7cfb4;
  --peach-2: #fbe5d8;
  --brown: #6e4523;
  --violet: #823f91;

  --logo-size: 145px;

  --z-index-modal: 12;
  --z-index-service: 5;
  --outline-considered: 2px;

  --z-index-mobile-menu-open: 11;
  --z-index-mobile-menu: 10;
}

:focus-visible {
  outline-offset: 2px !important;
  outline-style: solid !important;
  outline-width: 2px !important;
  outline-color: black;
}

html,
body {
  margin: 0;
  scrollbar-width: thin;
}

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
  position: relative;
}

body {
  background-color: var(--white);
  font-size: 22px;
  font-family: "Dosis";
  font-weight: 400;
  line-height: 32px;
  letter-spacing: 0px;
  color: var(--black);
  width: 100%;
  display: inline-block;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

body.open-menu {
  overflow: hidden;
}

/* Allow mix of custom blocks and wp blocks */
main > *:not(section) {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  max-width: 1164px;
}

main > *:not(section, ul, ol) {
  padding-right: 15px;
  padding-left: 15px;
}

main > :first-child:not(section) {
  padding-top: 120px;
}

main > :last-child:not(section) {
  padding-bottom: 120px;
}

main > p + h1,
main > p + h2,
main > p + h3,
main > p + h4,
main > p + h5,
main > p + h6 {
  margin-top: 40px;
}

main > ul,
main > ol {
  margin-bottom: 40px;
}

iframe {
  max-width: 100%;
}

img {
  height: auto;
  max-width: 100%;
}

h1,
h2.pseudo-h1,
section.boxes-with-media .textcontent h2 {
  font-size: 46px;
  line-height: normal;
  font-weight: bold;
}

h1,
h2.pseudo-h1 {
  margin-bottom: 19px;
}

h2 {
  font-size: 38px;
  line-height: 42px;
  font-weight: bold;
  margin-bottom: 19px;
}

section.text-backgroundimage h2,
h3 {
  font-size: 32px;
  line-height: 42px;
  font-weight: bold;
  margin-bottom: 11px;
}

p {
  margin-bottom: 13px;
}

p:last-of-type {
  margin-bottom: 0;
}

p:last-of-type + .button-link {
  margin-top: 30px;
}

a {
  display: inline-block;
  transition: all 0.3s ease-in-out;
}

a,
a:hover {
  color: inherit;
}

button.invisible-button,
button.invisible-button:hover {
  border: none;
  background-color: transparent;
  padding: 0;
  cursor: pointer;
}

button:not(.invisible-button),
a.button-link,
div.button-link,
a span.button-link {
  display: inline-block;
  width: fit-content;
  padding: 15px 23px;
  font-size: 24px;
  line-height: 20px;
  border-radius: 8px;
  color: var(--white);
  background-color: var(--pink-2);
  border: 1px solid var(--pink-2);
  text-decoration: none;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease-in-out;
}

button:not(.invisible-button).slick-active {
  transition: none;
}

button.light,
a span.button-link.light {
  background-color: var(--white);
  color: var(--pink-2);
  border: 1px solid var(--white);
}

.button.light,
a span.button-link.light {
  font-weight: bold;
}

button.light:hover,
a span.button-link.light:hover {
  background-color: transparent;
  color: var(--white);
}

div.button-link:hover,
button:hover,
a span.button-link:hover,
a.button-link:hover {
  background-color: transparent;
  color: var(--pink-2);
}

button:active {
  outline: none;
  box-shadow: none;
}

div.button-link.smaller,
button.smaller,
a.button-link.smaller {
  padding-top: 7px;
  padding-bottom: 9px;
  padding-left: 15px;
  padding-right: 12.5px;
  font-size: 20px;
  line-height: 1;
}

div.button-link.white,
a.button-link.white {
  background-color: var(--white);
  border-color: var(--white);
  color: var(--black);
  font-weight: bold;
}

div.button-link.white:hover,
a.button-link.white:hover {
  background-color: transparent;
  color: var(--white);
}
div.button-link.invert-hover:hover,
div.button-link.invert-hover:focus-visible,
a.button-link.invert-hover:hover,
a.button-link.invert-hover:focus-visible {
  background-color: var(--btn-fg) !important;
  color: var(--btn-bg) !important;
}

section {
  display: block;
  width: 100%;
  overflow-y: hidden;
}

.backgroundcolor-pink {
  background-color: var(--pink-2);
  color: var(--white);
}

section.boxes-with-media.boxes-with-map.backgroundcolor-grey + section.djh-jugi,
.backgroundcolor-grey {
  background-color: var(--grey-2);
  color: var(--black);
}

section.boxes-with-media.boxes-with-map.backgroundcolor-grey
  + section.djh-jugi {
  margin-top: 0;
  padding-bottom: 100px;
}

.backgroundcolor-pink + .backgroundcolor-pink,
.backgroundcolor-grey + .backgroundcolor-grey {
  margin-top: 0;
}

span.pink {
  color: var(--pink-2);
}

.textcontent-wrap {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: space-between;
  --webkit-justify-content: space-between;
  height: 100%;
  gap: 20px;
}

select:active,
input:active {
  outline: 1px solid var(--black-2);
  border: none;
}

.posts-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 72px;
}

.posts-wrap article {
  flex: 0 0 calc(25% - 30px);
  font-size: 20px;
  line-height: 28px;
}

.posts-wrap article img {
  width: 100%;
  aspect-ratio: 261 / 220;
  object-fit: cover;
  margin-bottom: 10px;
  border-radius: 16px;
}

.posts-wrap article p {
  margin-bottom: 0;
}

.posts-wrap article .date {
  color: var(--pink-5);
  font-size: 14px;
  line-height: 28px;
}

.posts-wrap article .title {
  font-size: 20px;
  line-height: 28px;
  font-weight: bold;
}

.posts-wrap + .button-link {
  margin-top: 80px;
}

.posts-wrap article a {
  text-decoration: underline;
}

.posts-wrap article a.text-link {
  font-weight: bold;
  color: var(--pink-2);
  margin-top: 30px;
}

.posts-wrap article a.button-link:hover {
  background-color: transparent !important;
  color: var(--pink-2) !important;
}

.posts-wrap article a {
  word-break: break-word;
}

section.post-navigation-buttons {
  margin-top: 90px;
  background-color: var(--grey-2);
  padding: 50px 0;
}

section.post-navigation-buttons .navigation-buttons {
  display: flex;
  align-items: center;
  justify-content: space-between;
  --webkit-justify-content: space-between;
}

section.post-tags {
  margin-top: 80px;
  overflow-y: unset;
}

section.post-tags ul.tags-list {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

section.post-tags a.tag-link {
  border-radius: 8px;
  background: #e7e1df;
  padding: 4px 20px;
  font-weight: bold;
  color: var(--pink-2);
  width: fit-content;
}

section.post-tags a.tag-link:hover {
  text-decoration: none;
}

section.generate-pdf {
  margin-top: 39px;

  overflow-y: unset;
}

/* Lightbox Overlay */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Lightbox Content */
.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  text-align: center;
}

figure.wp-block-gallery figure {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 16px;
}

figure.wp-block-gallery figure img {
  margin-bottom: 0;
  transition: all 0.3s ease-in-out;
}

figure.wp-block-gallery figure::after {
  content: "";
  width: 100%;
  height: 100%;
  background-color: rgb(0, 0, 0, 0.3);
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: all 0.3s ease-in-out;
  pointer-events: none;
}

figure.wp-block-gallery figure:hover::after {
  opacity: 1;
}

figure.wp-block-gallery figure:hover img {
  scale: 1.1;
}

/* cat/tag */
section.tag .posts-wrap,
section.category .posts-wrap {
  margin-top: 0;
  margin-bottom: 81px;
}

/* lightbox */
.modal-dialog {
  max-width: unset;
  width: fit-content;
  margin: auto;
  height: 100vh;
}

.modal-dialog img {
  background-color: var(--white);
  height: 100%;
  width: auto;
  border-radius: 16px;
  object-fit: contain;
}

.modal-content {
  max-height: 100vh;
  width: 100vw;
  height: 100vh;
  backdrop-filter: blur(10px);
  background-color: rgb(265, 265, 265, 0.3);
}

.modal-dialog .modal-header {
  border-bottom: none;
  position: absolute;
  width: fit-content;
  right: 0;
  z-index: 1;
  padding: 25px;
}

/* HEADER & FOOTER */
header ul,
footer ul,
nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* mobile menu */
section.mobile-menu {
  height: 100vh;
  width: 100%;
  background-color: rgb(264, 264, 264, 0.949999);
  position: fixed;
  z-index: var(--z-index-mobile-menu);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
}

section.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  z-index: var(--z-index-mobile-menu-open);
}

section.mobile-menu .container {
  height: 100%;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 15px;
}

section.mobile-menu,
section.mobile-menu a {
  font-size: 32px;
  line-height: 42px;
  width: 100%;
}

section.mobile-menu ul.sub-menu {
  padding-left: 15px;
}

section.mobile-menu ul.sub-menu a {
  font-size: 20px;
  line-height: normal;
}

section.mobile-menu .search-toggle:hover,
section.mobile-menu a:hover {
  text-decoration: none;
  color: var(--pink-2);
}

section.mobile-menu .search-toggle::after,
section.mobile-menu li:not(.menu-item-has-children)::after {
  content: "";
  height: 2px;
  width: 0;
  display: block;
  background-color: var(--pink-2);
  transition: all 0.3s ease-in-out;
}

section.mobile-menu .search-toggle:hover::after,
section.mobile-menu li:hover::after {
  width: 100%;
}

section.mobile-menu .search-toggle .line-wrap::after,
section.mobile-menu li a::after {
  content: url("images/angle-regular.svg");
  display: block;
  height: fit-content;
  width: 10px;
  float: right;
  margin-left: 20px;
}

section.mobile-menu .search-toggle:hover .line-wrap::after,
section.mobile-menu li a:hover::after {
  content: url("images/angle-pink.svg");
}

section.mobile-menu nav {
  width: fit-content;
  overflow-y: auto;
  overflow-x: hidden;
}

section.mobile-menu nav > ul {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: var(--outline-considered);
}

section.mobile-menu .search {
  margin-top: 36px;
  width: 100%;
}

section.mobile-menu .search img.icon {
  width: 21px;
  margin-right: 8px;
  vertical-align: baseline;
}

section.mobile-menu .search-toggle:hover img.icon:not(.pink),
section.mobile-menu .search img.icon.pink {
  display: none;
}

section.mobile-menu .search-toggle:hover img.icon.pink {
  display: inline-block;
}

section.mobile-menu .search-toggle {
  cursor: pointer;
  margin: var(--outline-considered);
}

section.mobile-menu .search-toggle-content {
  margin: var(--outline-considered);
  margin-top: 20px;
  display: none;
  transition: all 0.3s ease-in-out;
}

section.mobile-menu .search-toggle.active + .search-toggle-content {
  display: block;
}

section.mobile-menu .search-toggle.active .line-wrap::after {
  transform: rotate(90deg);
}

section.mobile-menu .search-toggle-content input[type="submit"] {
  display: none !important;
}

section.mobile-menu .search-toggle-content input.search-field {
  width: 100%;
  border: 1px solid var(--grey-4);
  background: transparent;
  padding: 10px 15px;
  font-size: 22px;
  line-height: 32px;
}

/* header-secondary-menu */

.header-secondary-menu {
  display: flex;
  align-items: center;
  margin-left: 16px;
  gap: 10px;

  &:has(.nav-menu:hover) {
    button.toggle {
      transform: translateY(-25%) rotate(135deg);
    }
  }

  .nav-menu {
    &:hover {
      .sub-menu {
        display: block;
      }
    }

    > li {
      position: relative;
    }
  }

  .sub-menu {
    &:not(.active) {
      display: none;
    }
    display: block;
    position: absolute;
    top: 100%;
    background: white;
    padding: 10px 20px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    z-index: 1;
  }

  button.toggle {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--pink-3);
    border-top: 2px solid var(--pink-3);
    border-bottom: unset;
    border-left: unset;
    transform: translateY(25%) rotate(-45deg);
    transition: transform 0.3s ease;
    cursor: pointer;
    &.active {
      transform: translateY(-25%) rotate(135deg);
    }

    &:focus {
      outline-offset: 2px !important;
      outline-style: solid !important;
      outline-width: 2px !important;
    }

    padding: unset;
    border-radius: unset;
    color: unset;
    background-color: unset;
    text-decoration: none;
    font-weight: unset;
  }
}

/* MAIN */

main {
  padding-top: 100px;
}

/* HEADER */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-index-modal);
  padding-top: 20px;
  padding-bottom: 20px;

  /* section.logo and header are on top of each other. We need to make header smaller and put it on top to make both clickable */
  width: fit-content;
}

.header-overlay {
  position: fixed;
  width: 100%;
  height: 100px;
  background-color: var(--white);
  top: 0;
  left: 0;
  z-index: 10;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

header .menu-icon {
  background-color: var(--pink-2);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  cursor: pointer;
  width: 60px;
  height: 60px;
}

header .menu-icon img.icon {
  width: 100%;
  height: 100%;
  min-width: 32px;
}

header .menu-icon img.icon.opening {
  padding: 16px 13px;
}

header .menu-icon img.icon.closing {
  padding: 5px;
}

section.service-booking {
  position: fixed;
  z-index: var(--z-index-service);
  width: fit-content;
  height: fit-content;
  margin: auto;
  right: 30px;
  top: 0;
  bottom: 0;
  font-size: 20px;
  line-height: 23px;
  /*keeps the focus indicator fully visible*/
  overflow-y: visible;
}

section.service-booking h3 {
  margin-bottom: 13px;
  padding-right: 28px;
}

section.service-booking h4 {
  font-size: 20px;
  line-height: 23px;
  margin-bottom: 0;
}

section.service-booking .textcontent {
  padding: 14px 20px;
  background-color: var(--white);
  border: 1px solid var(--pink-2);
  border-radius: 16px;
  display: none;
}

section.service-booking .textcontent .text {
  margin-top: -6px;
}

section.service-booking a {
  min-height: 24px;
}

section.service-booking a:hover {
  text-decoration: none;
  color: var(--pink-2);
}

section.service-booking .toggle-icon.default {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  z-index: 1;
  padding: 14px;
  height: 60px;
  width: 60px;
  border-radius: 50%;
  background-color: var(--white);
  border: 1px solid var(--pink-2);
  cursor: pointer;
}

section.service-booking .toggle-icon.default img {
  height: 30px;
  width: auto;
}

section.service-booking .textcontent .icon {
  text-align: right;
}

section.service-booking .textcontent .icon img {
  width: 18px;
  cursor: pointer;
}

section.service-booking.active .textcontent {
  display: block;
}

section.service-booking.active .toggle-icon.default {
  display: none;
}

/* FOOTER */
footer {
  background-color: var(--pink-2);
  color: var(--white);
  padding-top: 79px;
  padding-bottom: 62px;

  *:focus,
  *:focus-visible {
    outline-color: white;
  }
}

footer,
footer p,
footer a {
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
}

footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  --webkit-justify-content: space-between;
}

footer .menu-groups {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
}

footer .image-groups {
  display: flex;
  flex-wrap: wrap;
  gap: 107px;
}

footer .menu-group.menu-group-1 {
  padding-right: 70px;
}

footer .menu-group.menu-group-3 {
  padding-right: 45px;
}

footer .menu-group.menu-group-4 {
  padding-right: 60px;
}

footer .socials {
  margin-top: 45px;
  display: flex;
  flex-wrap: wrap;
  gap: 19px;
  width: 100%;
}

footer img.icon {
  height: 32px;
  width: auto;
  max-width: 39px;
}

button.scroll-up {
  color: var(--white);
  /* background-color: var(--pink-2);
    border-color: var(--pink-2); */
  background-color: var(--white);
  border-color: var(--pink-2);

  padding: 0;
  margin: 0;
  height: 60px;
  width: 60px;
  border-radius: 50%;
  position: fixed;
  bottom: 3vh;
  /*avoids intersection with service button at 400% zoom, previously 30px */
  right: 30px;
  cursor: pointer;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  z-index: var(--z-index-service);
}

.imagemap img {
  /*a11y: restores focus indicator inside map*/
  position: static;
}

div.modal.show:focus-visible img.img-fluid {
  outline: 2px solid rgb(16, 16, 16);
}

.header-slider .slick-dots:focus-within li.slick-active button:focus-visible,
.header-slider .slick-dots:focus-within li.slick-active button:focus,
.header-slider .slick-dots:focus-within li.slick-active button {
  outline: 2px solid black;
  transition: none;
}

button:focus,
button:focus-visible {
  outline: revert;
  outline: 5px auto -webkit-focus-ring-color;
}

.imagemap:focus-visible {
  outline: 2px solid rgb(16, 16, 16);
  outline-offset: 2px;
}

.screen-reader-shortcut:focus-visible {
  top: 0px;
  /* box-shadow: 0 0 2px 2px rgba(0, 0, 0, .6); */
  text-decoration: none;
}

.screen-reader-shortcut {
  transition: none;
  position: absolute;
  top: -1000em;
  left: 0px;
  height: auto;
  width: auto;
  display: block;
  font-family: "Dosis";
  font-size: 20px;
  font-weight: 400;
  padding: 15px 23px 14px;
  background: var(--pink-2);
  background: var(--white);
  color: var(--white);
  color: var(--pink-2);
  z-index: 100000;
  line-height: normal;
}

.screen-reader-shortcut-heading {
  height: 100%;
  /*same as padding-left of parent .container*/
  margin-left: 15px;
}

.container {
  max-width: 100%;
  padding-left: 40px;
  padding-right: 40px;
}

header {
  padding-left: 0;
}

/* BOOTSTRAP */
@media (min-width: 1200px) {
  .container {
    max-width: 1164px;
    padding-left: 15px;
    padding-right: 15px;
  }

  header {
    padding-left: calc((100vw - 1164px) / 2);
  }

  section.fullwidth-text-image {
    &[data-position="media-left"] {
      padding-right: calc((100vw - 1164px) / 2);

      .textcontent-wrap {
        padding-right: 0;
      }
    }

    &[data-position="media-right"] {
      padding-left: calc((100vw - 1164px) / 2);

      .textcontent-wrap {
        padding-left: 0;
      }
    }
  }
}

/* SLICK */
ul.slick-dots li button {
  width: 15px;
  height: 15px;
  background-color: var(--white);
  opacity: 1;
  padding: 0;
  margin: 0;
}

main .slick-slider.slick-dotted {
  margin-bottom: 0;
}

.slick-dots li button .slick-dot-icon:before {
  visibility: hidden;
}

ul.slick-dots {
  bottom: 18px;
}

ul.slick-dots li button:before {
  display: none;
}

ul.slick-dots li.slick-active button {
  background: var(--grey-2);
}

ul.slick-dots li {
  width: 15px;
  height: 15px;
}

/* SEARCH TEMPLATE */
main.search-template {
  padding: 200px 0;
}

main.search-template .filterlist .filter + .filter {
  margin-left: 10px;
}

/* SINGLE TEMPLATE */

figure.wp-block-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

main.single-post .posts-wrap.single-post-wrap article {
  flex: 1 0 100%;
  max-width: 100%;
}

main.single-post .posts-wrap.single-post-wrap article img {
  width: auto;
  max-width: 100%;
}

main.single-post .posts-wrap.single-post-wrap article a,
main.single-post .posts-wrap.single-post-wrap article a span {
  color: var(--pink-2);
  font-weight: bold;
}

main.single-post p + figure,
main.single-post p + h2,
main.single-post ul + h2,
main.single-post ol + h2,
main.single-post p + h3,
main.single-post ul + h3,
main.single-post ol + h3 {
  margin-top: 38px;
}

/* TEMPALTE PARTS */

main section.jugi:last-child {
  margin-bottom: 85px;
}

/* text-backgroundimage */

section.text-backgroundimage {
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: auto;

  .textcontent {
    padding-bottom: 282px;
    width: 816px;
    max-width: 100%;
  }

  h1 {
    margin-bottom: 56px;
  }
}

/* offset image */
section.offset-image {
  img.offset-image {
    margin-left: -100px;
  }
}

section.offset-image + section {
  margin-top: -45px;
}

section#jugi + section.offset-image {
  margin-top: -50px;
}

/* logo */
section.logo {
  margin-top: 0;
  position: fixed;
  top: 0;
  text-align: right;
  z-index: 10;
  max-height: 201px;
  transition: max-height 0s;
}

section.logo a {
  display: contents;
}

section.logo img.logo {
  width: var(--logo-size);
  height: var(--logo-size);
}

section.logo .logo-wrap {
  transition: opacity 0.1s ease-in-out, visibility 0s;
}

section.logo .textcontent {
  background-color: var(--pink-2);
  color: var(--white);
  padding: 20px;
  width: 327px;
  max-width: 100%;
  height: fit-content;
  min-height: 84px;
  position: absolute;
  right: calc(var(--logo-size) / 2);
  top: 0;

  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 50% 50%;
  -webkit-mask-image: radial-gradient(
    circle at 100% 152%,
    transparent 0,
    transparent calc(var(--logo-size) / 2 + 2px),
    black calc(var(--logo-size) / 2 + 2px)
  );
  mask-image: radial-gradient(
    circle at 100% 152%,
    transparent 0,
    transparent calc(var(--logo-size) / 2 + 2px),
    black calc(var(--logo-size) / 2 + 2px)
  );
  mask-position: 100% 100%;
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
}

section.logo.no-circle {
  max-height: 100px;
  transition: max-height 0s 0.1s;
}

section.logo.no-circle .textcontent {
  -webkit-mask-repeat: unset;
  -webkit-mask-size: unset;
  -webkit-mask-image: unset;
  mask-image: unset;
  mask-position: unset;
  mask-repeat: unset;
  mask-size: unset;
}

section.logo.no-circle .logo-wrap {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.1s ease-in-out, visibility 0s 0.1s;;
}

section.logo .textcontent p {
  margin-bottom: 0;
  line-height: 1;
}

section.logo .logo-box {
  display: flex;
  justify-content: end;
  padding-top: 56px;
}

/* text */
section.textcontent {
  padding-bottom: 80px;
  padding-top: 80px;

  .buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 67px;
  }
}

section.textcontent + section.buttons {
  padding-top: 0;
}

section.buttons {
  margin-top: 0;
  padding-bottom: 80px;
  padding-top: 80px;

  .buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
  }
}

section.related-posts {
  padding: 80px 0;

  .load-more-wrap {
    margin-top: 100px;
  }

  .posts-wrap {
    margin-top: 48px;
    row-gap: 90px;
  }
}

/* text and video/image */
section.text-image {
  padding-top: 100px;
  padding-bottom: 100px;

  .row {
    row-gap: 25px;
  }
}

section.text-image video,
section.text-image .image {
  width: 100%;
}

section.text-image[data-position="media-right"] .row {
  flex-direction: row-reverse;
}

section.text-image[data-position="media-right"] img.backgroundimage {
  right: unset;
  left: 0;
  max-width: 20%;
}

section.text-image img.backgroundimage {
  position: absolute;
  bottom: -40px;
  right: 40px;
  max-width: 23%;
  max-height: 525px;
}

section.header-banner + section.text-image {
  padding-top: 0;
}

/* fullwidth text image */

section.fullwidth-text-image {
  .row {
    margin: 0;
  }

  .row > div {
    padding-left: 0;
    padding-right: 0;
  }

  &[data-position="media-right"] {
    .row {
      flex-direction: row-reverse;
    }
  }

  blockquote {
    font-size: 35px;
    line-height: normal;
    font-weight: normal;
  }

  .image {
    width: 100%;
    height: 100%;
    aspect-ratio: 794 / 1080;
    object-fit: cover;
  }

  .textcontent-wrap {
    padding-top: 100px;
    padding-bottom: 100px;
    padding-left: 40px;
    padding-right: 40px;

    .textcontent {
      display: flex;
      flex-direction: column;
      flex-wrap: wrap;
      justify-content: center;
      height: 100%;
    }
  }

  &[data-position="media-left"] {
    .textcontent-wrap {
      padding-left: 97px;
    }
  }

  &[data-position="media-right"] {
    .textcontent-wrap {
      padding-right: 97px;
    }
  }

  .subtitle {
    font-size: 24px;
    margin-bottom: 7px;
  }

  h2 {
    margin-bottom: 36px;
    font-size: 46px;
    line-height: 1;
  }

  .textcontent-wrap {
    justify-content: start;
    --webkit-justify-content: start;
    gap: 36px;
  }
}

section.fullwidth-text-image + section.fullwidth-text-image {
  border-top: 20px solid var(--pink-2);
}

/* slider */

section.header-banner,
section.slider {
  .caption {
    font-size: 16px;
    padding: 0px 10px;
    text-align: right;
    background: #fff;
  }
  .slide-content {
    border-radius: 16px;
    overflow: clip;
  }
}

section.header-banner
  + section:not(.backgroundcolor-grey, .backgroundcolor-pink),
section.slider + section:not(.backgroundcolor-grey, .backgroundcolor-pink) {
  margin-top: 81px;
  padding-top: 0;
}

section.header-banner + section.ofs,
section.slider + section.ofs {
  margin-top: 0;
}

section.header-banner h1,
section.header-banner h2.pseudo-h1,
section.slider h1,
section.slider h2.pseudo-h1 {
  margin-bottom: 8px;
}

section.slider .header-slider .container {
  position: absolute;
  bottom: 50px;
  left: 0;
  right: 0;
  .textcontent {
    text-shadow: 1px 1px 1px black;
  }
}

section.slider[data-layout="layout2"] {
  img.slider-image,
  video {
    aspect-ratio: 2000 / 1080;
    max-height: calc(100dvh - 100px);
  }

  .textcontent {
    color: var(--black);
  }

  h1 {
    font-size: 75px;
  }

  .header-slider .container {
    bottom: 83px;
  }
}

section.header-banner .container {
  padding-top: 402px;
  padding-bottom: 74px;
}

section.slider .hero-video-toggle,
section.header-banner .hero-video-toggle {
  position: absolute;
  bottom: 5px;
  left: 5px;
  z-index: 1;
}

section.slider .hero-video-toggle:hover,
section.header-banner .hero-video-toggle:hover {
  background-color: var(--white);
}

section.header-banner a span.button-link,
section.slider a span.button-link {
  margin-top: 39px;
}

section.slider video,
section.slider img.slider-image {
  width: 100%;
  aspect-ratio: 2000 / 666;
  object-fit: cover;
}

section.header-banner .textcontent,
section.slider .textcontent {
  color: var(--white);
}

section.header-banner .overlay,
section.slider .overlay {
  position: absolute;
  background: transparent
    linear-gradient(
      180deg,
      var(--off-white) 0%,
      var(--pink) 69%,
      var(--pink-2) 100%
    )
    0% 0% no-repeat padding-box;
  bottom: 0;
  width: 100%;
  aspect-ratio: 2000 / 260;

  background: transparent
    linear-gradient(
      180deg,
      var(--off-white) 0%,
      var(--overlay-color) 69%,
      var(--overlay-color-2) 100%
    )
    0% 0% no-repeat padding-box;
}

section.header-banner p a:hover,
section.slider p a:hover {
  text-decoration: none;
}

/* header banner */
section.header-banner video,
section.header-banner img.banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
}

main.single-post section.header-banner.image-only video,
main.single-post section.header-banner.image-only img.banner-image {
  aspect-ratio: 2000 / 570;
  height: auto;
  position: relative;
}

/* boxes with image */
section.boxes-with-media {
  padding-bottom: 393px;
  padding-top: 75px;
  /* margin-top: 81px; */
}

section.news + section.boxes-with-media {
  margin-top: 0;
}

section.boxes-with-media.no-bg {
  padding-bottom: 0;
  overflow-y: visible;
}

section.boxes-with-media .buttons {
  display: flex;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: end;
}

section.boxes-with-media button[aria-pressed="true"] {
  outline: 5px auto black;
}

section.boxes-with-media .boxes-image-wrap {
  display: flex;
  flex-wrap: wrap;
  margin-top: 79px;
  gap: 37px;
}

section.boxes-with-media .container {
  z-index: 1;
}

section.boxes-with-media .boxes {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 40px;
  padding-top: 39px;
}

section.boxes-with-media .box {
  border-radius: 16px;
  padding: 20px;
  font-size: 20px;
  line-height: 28px;
}

section.boxes-with-media .box .backgroundcolor-grey h1,
section.boxes-with-media .box .backgroundcolor-grey h2 {
  color: var(--pink-2);
}

section.boxes-with-media .boxes-image-wrap > * {
  flex: 1 0 calc(50% - 37px);
  height: fit-content;
}

section.boxes-with-media.boxes-with-map .boxes {
  flex: 1 0 calc(40% - 37px);
}

section.boxes-with-media.boxes-with-map .boxes-image-wrap .imagemap {
  flex: 1 0 calc(60% - 37px);
}

section.boxes-with-media.boxes-with-map .boxes-image-wrap .imagemap button {
  width: fit-content;
  display: block;
}

section.boxes-with-media.boxes-with-map .boxes-image-wrap .imagemap button img {
  width: 24px;
  height: auto;
  filter: brightness(0) invert(1);
}

section.boxes-with-media.boxes-with-map
  .boxes-image-wrap
  .imagemap
  button:hover
  img {
  filter: unset;
}

section.boxes-with-media.boxes-with-map .boxes-image-wrap .imagemap img {
  width: 100%;
  height: auto;
}

section.boxes-with-media .box h2,
section.boxes-with-media .box h3 {
  margin-bottom: 11px;
}

section .box-button {
  background-color: var(--white);
  color: var(--black);
  border: 1px solid var(--white);
  border-radius: 8px;
  padding-top: 12.5px;
  padding-bottom: 12.5px;
  padding-left: 20px;
  padding-right: 14px;
  width: 100%;
  text-align: left;

  font-size: 20px;
  line-height: 34px;
  font-weight: 400;
}

section .box-button:hover {
  text-decoration: none;
  background-color: transparent;
  color: inherit;
  border-color: inherit;
}

section .box-button:hover::after {
  color: inherit;
}

section .box-button + .box-button {
  margin-top: 20px;
}

section.boxes-with-media .text {
  margin-bottom: 25px;
}

section .box-button::after,
section.boxes-with-media .select-wrap::after {
  content: "»";
  position: absolute;
  right: 14px;
  font-size: 30px;
  line-height: 35px;
  color: var(--black);
  bottom: 16px;
  line-height: 1;
}

section.boxes-with-media img.backgroundimage {
  position: absolute;
}

section.boxes-with-media img.backgroundimage.left {
  left: -120px;
  bottom: -50px;
}

section.boxes-with-media img.backgroundimage.right {
  right: 0;
  bottom: 166px;
}

section.boxes-with-media .textcontent h2 {
  margin-bottom: 19px;
}

section.boxes-with-media .select-wrap select {
  width: 100%;
  border-radius: 8px;
  border: none;
  background-color: var(--white);
  color: var(--black);
  padding-top: 16px;
  padding-bottom: 16px;
  padding-left: 20px;
  padding-right: 14px;
  cursor: pointer;
  white-space: normal;
}

section.boxes-with-media .select-wrap {
  margin-bottom: 20px;
}

section.boxes-with-media .search-form {
  padding: 0;
  /* background-color: rgba(0, 0, 0, 0.4); */
  margin-top: 5px;
  /* backdrop-filter: blur(5px); */
  border-radius: 8px;
  position: absolute;
  width: 100%;
  border: 1px solid var(--black);
  z-index: 1;
}

.search-toggle.active
  + div.search-toggle-content:has(
    form input#searchsubmit.keyboardnavigated:not([disabled])
  )
  input {
  display: block;
}

section.boxes-with-media .search-form input {
  width: 100%;
  border-radius: 8px;
  padding: 16px;
  border: none;
}

section.boxes-with-media .select-wrap select {
  -moz-appearance: none;
  -webkit-appearance: none;
}

section.boxes-with-media .select-wrap select::-ms-expand {
  display: none;
}

/* news local */
section.news-local {
  padding-top: 90px;
  padding-bottom: 90px;

  .decoration-image {
    margin-bottom: -90px;
  }

  .decoration-image[data-position="right"] {
    text-align: right;
  }

  .posts-wrap {
    margin-top: 36px;
    margin-bottom: 70px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    row-gap: 100px;
  }

  article {
    h3.title {
      font-size: 32px;
      line-height: 40px;
    }

    .top {
      height: 100%;
      display: flex;
      flex-direction: column;
    }

    img {
      aspect-ratio: 358 / 300;
      object-fit: cover;
    }

    .teaser-text {
      flex: 1 1 auto;

      display: flex;
      flex-direction: column;
      justify-content: space-between;
      --webkit-justify-content: space-between;
    }
  }

  &[data-layout="highlight"] {
    article {
      img {
        aspect-ratio: 1 / 1;
      }
    }

    .posts-wrap {
      /* grid-template-columns: repeat(4, 1fr); */
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .posts-wrap > *:first-child {
      grid-column: span 2;
      background-color: var(--grey-2);
      border-radius: 16px;

      .teaser-text {
        padding: 8px 15px 20px 15px;
      }

      img {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        aspect-ratio: 552 / 261;
      }
    }
  }

  a.button-link {
    margin-top: 30px;
    text-decoration: none;
    display: inline-block;
  }
}

section.data {
  padding: 90px 0;

  a.button-link {
    margin-top: 40px;
  }

  .big-text {
    font-size: 32px;
    line-height: normal;
    font-weight: normal;
  }

  .bottom {
    margin-top: 50px;
  }

  .top {
    margin-bottom: 46px;
  }

  .textcontent > :last-child:is(h1, h2, h3, h4, h5, h6) {
    margin-bottom: 0;
  }

  .boxes {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;

    .box {
      flex: 1 0 calc((100% - 60px) / 3);
      display: flex;
      flex-direction: column;
      border-radius: 16px;
      overflow: clip;

      .textcontent-wrap {
        background-color: var(--grey-2);
        padding: 22px;
      }

      h3 {
        font-size: 80px;
        line-height: normal;
      }

      .textcontent {
        text-align: center;

        .big-text {
          font-weight: bold;
        }
      }

      .image-wrap {
        background-color: var(--pink-2);
        padding: 25px 36px;
        text-align: center;

        img {
          height: 76px;
          width: auto;
          max-width: 100%;
        }
      }
    }
  }

  &.backgroundcolor-grey {
    .boxes {
      .box {
        .textcontent-wrap {
          background-color: var(--white);
        }
      }
    }
  }
}

/* news */
section.news {
  padding-top: 80px;
  padding-bottom: 76px;
  overflow-x: hidden;
}

section.news + section {
  margin-top: 80px;
}

section.news + section.news {
  margin-top: 0;
}

section.news h2 {
  margin-bottom: 0;
}

section.news .backgroundimage-wrap {
  padding-bottom: 365px;
  margin-left: -70px;
}

section.news .backgroundimage-wrap[data-position="right"] {
  margin-left: unset;
  margin-right: -70px;
}

section.news .backgroundimage-wrap[data-position="right"] img {
  right: 0;
}

.backgroundimage-wrap img {
  width: 900px;
  position: absolute;
  max-width: 100%;
}

/* jugi */

section.backgroundcolor-grey + section.jugi {
  padding-top: 80px;
}

section.jugi + section {
  margin-top: 80px;
}

section.jugi + section.djh {
  margin-top: 40px;
}

section.jugi .text {
  width: 843px;
  max-width: 100%;
}

section.jugi h2 {
  margin-bottom: 8px;
}

/* offers */

section.offers {
  padding-top: 100px;
  padding-bottom: 100px;
  overflow: clip;
}

section.offers h2 {
  margin-bottom: 8px;
}

section.offers h3 {
  margin-bottom: 8px;
}

section.offers .background-images {
  display: contents;
}

section.offers .container {
  z-index: 1;
}

section.offers .text {
  max-width: 843px;
}

section.offers .offer-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 71px;
}

section.offers .container:has(.text > h2:last-child) .offer-cards {
  margin-top: 27px;
}

section.offers .offer-card {
  flex: 1 0 calc(33.33% - 30px);
  font-size: 20px;
  line-height: 25px;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

section.offers .offer-card img {
  width: 100%;
  aspect-ratio: 358 / 250;
  object-fit: cover;
}

section.offers .offer-card .textcontent {
  padding: 20px;
  color: var(--black);
  background-color: var(--grey-2);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  --webkit-justify-content: space-between;
}

section.offers .backgroundimage {
  position: absolute;
}

section.offers .backgroundimage.left {
  left: 0;
  bottom: -95px;
}

section.offers .backgroundimage.right {
  right: 0;
  bottom: 483px;
}

section.offers.has-backgroundimage-bottom {
  padding-bottom: 630px;
}

section.offers img.backgroundimage.bottom {
  margin-top: -55px;
  right: -113px;
}

section.offers .offer-card .button-link {
  margin-top: 32px;
  font-weight: bold;
}

section.offers .overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  aspect-ratio: 2000 / 260;
}

section.banner {
  background-color: var(--pink-2);
  color: var(--white);
  padding: 120px 0;
}

/* Boxes with jugi */
section.map-with-jugi {
  padding: 90px 0 80px;

  .boxes-image-wrap {
    margin-top: 20px;
    .boxes {
      display: flex;
      flex-direction: column;

      section.djh.djh-jugi {
        margin: 0;
        > .container {
          padding: 0;

          .wrapper {
            .question-buttons {
              .questions-grid {
                grid-template-columns: repeat(1, 1fr);
              }
            }
          }
        }
      }

      .jugi-wrapper + .box {
        margin-top: 35px;
      }

      .box {
        padding: 20px;
        border-radius: 16px;

        .button-wrapper {
          display: flex;
          justify-content: space-between;
          margin-top: 50px;
          .button {
            background-color: var(--pink-2);
            min-width: 220px;
            text-decoration: none;
            padding-left: 20px;
            padding: 12.5px 20px 10px 20px;
            color: white;
            font: normal normal bold 20px / 1 "Dosis";
            border-radius: 8px;
            display: flex;
            align-items: center;
            height: fit-content;
            margin-top: auto;
            &::after {
              display: block;
              content: "»";
              margin-left: auto;
            }
          }
          .icon {
            min-width: 120px;
            max-width: 120px;
            height: auto;
          }
        }
      }
    }
  }
}

/* pink boxes */

section.pink-boxes {
  padding: 80px 0;

  *:focus,
  *:focus-visible {
    outline-color: white;
  }
}

section.pink-boxes h2 {
  margin-bottom: 8px;
}

section.pink-boxes h3 {
  margin-bottom: 8px;
}

section.pink-boxes .icon-button-wrap img.icon {
  width: auto;
  height: 40px;
  max-width: 50px;
}

section.pink-boxes .pink-box {
  padding: 20px;
  border-radius: 16px;
  background-color: var(--pink-2);
  color: var(--white);
  flex: 1 0 calc(33.33% - 30px);
  font-size: 20px;
  line-height: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  --webkit-justify-content: space-between;
}

section.pink-boxes .pink-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 71px;
}

section.pink-boxes .icon-button-wrap {
  margin-top: 32px;
}

section.pink-boxes .icon-button-wrap {
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  --webkit-justify-content: space-between;
  gap: 5px;
}

section.boxes-jugi {
  padding-top: 73px;
  padding-bottom: 104px;

  .row {
    row-gap: 41px;
  }

  .jugi-box {
    padding: 22px 20px;
    border-radius: 16px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: space-between;
    --webkit-justify-content: space-between;
    gap: 20px;
    background-color: var(--pink-2);
    color: var(--white);
    height: 100%;
  }

  .boxes {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;

    .box {
      flex: 1 0 calc(50% - (30px / 2));
      display: flex;
      flex-direction: column;
      border-radius: 16px;
      overflow: clip;

      h3 {
        margin-bottom: 30px;
        color: var(--black);
      }

      .textcontent-wrap {
        background-color: var(--white);
        padding: 11px 20px 20px 20px;
      }

      .image-wrap {
        background-color: var(--blue-7);
        padding: 30px 50px;
        text-align: center;

        img {
          height: 117px;
          width: auto;
          max-width: 100%;
        }
      }
    }
  }
}

section.boxes-jugi.backgroundcolor-white {
  .boxes {
    .box {
      .textcontent-wrap {
        background-color: var(--grey-2);
      }
    }
  }
}

section.boxes-jugi.backgroundcolor-pink {
  .jugi-box {
    border: 1px solid var(--white);
  }
}

section.iconboxes {
  padding-top: 67px;
  padding-bottom: 91px;

  &.has-bg {
    padding-bottom: 445px;
  }

  .row {
    row-gap: 41px;
  }

  .textcontent :last-child {
    margin-bottom: 0;
  }

  img.backgroundimage {
    position: absolute;
    left: 0;
    bottom: -48px;
    max-height: 445px;
  }

  .boxes {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;

    .box {
      flex: 0 0 calc((100% - 90px) / 4);
      display: flex;
      flex-direction: column;
      border-radius: 16px;
      overflow: clip;

      h3 {
        color: var(--black);
        margin-bottom: 22px;
        text-align: center;
        word-break: break-word;
        hyphens: auto;
      }

      a.button-link {
        margin: 0 auto;
      }

      .center .textcontent {
        text-align: center;
      }

      .left h3,
      .left .textcontent {
        text-align: left;
      }

      .left a.button-link {
        margin: 0;
      }

      .textcontent-wrap {
        background-color: var(--grey-2);
        padding: 22px;
      }

      .image-wrap {
        background-color: var(--blue-7);
        /* padding: 16px 36px; */
        padding: 25px 36px;
        text-align: center;

        img {
          height: 76px;
          width: auto;
          max-width: 100%;
        }
      }
    }
  }
}

section.iconboxes.backgroundcolor-grey {
  & .boxes {
    & .box {
      .textcontent-wrap {
        background-color: var(--white);
      }
    }
  }
}

section.quotes {
  ul.slick-dots li.slick-active button {
    background: #00aab726;
  }

  ul.slick-dots li button {
    background-color: var(--blue-7);
  }

  .quote-slide {
    padding-top: 87px;
    padding-bottom: 132px;

    .title {
      margin-bottom: 18px;
    }

    .title,
    .quote {
      font-size: 46px;
      line-height: normal;
      text-align: center;
    }
  }
}

.slick-slider {
  .slick-next .slick-next-icon:before {
    content: "»";
    color: var(--pink-2);
    font-size: 42px;
  }

  .slick-prev .slick-prev-icon:before {
    content: "«";
    color: var(--pink-2);
    font-size: 42px;
  }

  .slick-autoplay-toggle-button {
    bottom: 18px;
    padding: 0px 5px 5px 5px;
  }

  .slick-autoplay-toggle-button:focus {
    color: var(--white);
    background-color: var(--pink-2);
  }

  .slick-prev,
  .slick-next {
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    background-color: transparent;
    border: none;
    font-size: 42px;
  }

  .slick-prev {
    left: 5px;
  }

  .slick-next {
    right: 5px;
  }

  .slick-next:hover,
  .slick-prev:hover {
    background-color: transparent;
  }

  .slick-next:hover .slick-next-icon,
  .slick-next:hover .slick-prev-icon,
  .slick-prev:hover .slick-next-icon,
  .slick-prev:hover .slick-prev-icon {
    color: var(--pink-2);
  }

  .slick-next .slick-next-icon,
  .slick-next .slick-prev-icon,
  .slick-prev .slick-next-icon,
  .slick-prev .slick-prev-icon {
    color: white;
  }
}

section.offercards {
  padding-top: 68px;
  padding-bottom: 100px;
}

section.ofs {
  @media (min-width: 1312px) {
    .slick-prev {
      left: calc(((100vw - 1164px) / 2) - 56px);
    }

    .slick-next {
      right: calc(((100vw - 1164px) / 2) - 56px);
    }
  }

  ul.slick-dots li button {
    background-color: var(--pink-2);
  }

  .slick-slider {
    .slick-prev,
    .slick-next {
      padding: 0;
      top: calc(50% - 30px);
    }

    .slick-controls {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding-bottom: 18px;
    }

    .slick-autoplay-toggle-button {
      left: unset;
      right: unset;
      bottom: unset;
      background: transparent;
      color: var(--pink-2);
      position: relative;
    }

    ul.slick-dots {
      bottom: unset;
      width: fit-content;
      margin: 0;
      left: unset;
      right: unset;
      display: flex;
      position: relative;
    }

    .slick-autoplay-toggle-button:hover {
      background: var(--pink-2);
      color: var(--white);
    }
  }

  .slick-track {
    display: flex;
  }

  .slick-track .slick-slide {
    display: flex;
    height: auto;
    align-items: center;
    justify-content: center;
  }

  ul.slick-dots li.slick-active button {
    background: rgb(215, 0, 127, 0.3);
  }

  .quote-slide {
    padding-top: 70px;
    padding-bottom: 70px;
    padding-left: 66px;
    padding-right: 66px;

    .comment {
      margin-bottom: 18px;
    }

    .comment,
    .guest {
      font-size: 22px;
      line-height: normal;
      text-align: center;
    }

    .guest span + span::before {
      content: ", ";
    }
  }
}

section.video {
  padding: 80px 0;

  video,
  iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }

  .textcontent {
    margin-bottom: 30px;
  }
}

/* FORMINATOR STYLING */

.forminator-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.forminator-label.forminator-repeater-label {
  font-size: 32px !important;
}

.forminator-subtitle {
  font-size: 32px !important;
  font-weight: bold !important;
}

.forminator-label {
  font-size: 20px !important;
}

.forminator-description {
  font-size: 20px !important;
}

.forminator-input,
.forminator-select .selection .select2-selection {
  border-radius: 8px !important;
  border: 1px solid var(--selected) !important;
  padding: 18px 20px !important;
}

.forminator-select .selection .select2-selection__rendered,
.forminator-select .selection .select2-selection__arrow {
  border: 0 !important;
  padding: 0 !important;
}

.forminator-select .selection .select2-selection__arrow {
  width: 22px !important;
  height: 22px !important;
}

.forminator-input:not(.wrapped):hover,
.forminator-select .selection .select2-selection:hover,
.forminator-field .number-input-wrapper:hover {
  background-color: var(--selected) !important;
  color: var(--djh-pink) !important;
  transition: 0.2s linear !important;
}

.forminator-input:not(.wrapped):focus,
.forminator-input:not(.wrapped):focus-visible,
.forminator-input:not(.wrapped):active,
.forminator-field .number-input-wrapper:focus-within,
.forminator-field .number-input-wrapper:active {
  outline: 2px solid var(--djh-pink) !important;
  color: var(--djh-pink) !important;
  background-color: var(--selected) !important;
  outline-offset: 2px !important;
  outline-style: solid !important;
  outline-width: 2px !important;
}

.forminator-field .wrapped {
  outline: 0 !important;
}

.forminator-select .selection .select2-selection:focus,
.forminator-select .selection .select2-selection:focus-visible,
.forminator-select .selection .select2-selection:active {
  color: var(--djh-pink) !important;
  background-color: var(--selected) !important;
  outline: 2px solid var(--djh-pink) !important;
  outline-offset: 2px !important;
}

.forminator-select .selection .select2-selection__arrow {
  color: black !important;
}

.forminator-select-dropdown-container--open {
  margin-top: 10px !important;

  .forminator-select-dropdown {
    border-radius: 8px !important;
    border: 1px solid var(--selected) !important;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175) !important;
    background-color: var(--selected) !important;

    .select2-search {
      background-color: var(--selected) !important;
    }

    .select2-search__field {
      background-color: var(--selected) !important;
      color: var(--djh-pink) !important;
      border: 0px !important;
      outline: 0px !important;
    }

    .select2-results__options {
      background-color: white !important;

      .select2-results__option--highlighted {
        background-color: var(--selected) !important;
        outline-color: var(--djh-pink) !important;
      }
      .select2-results__option--selected {
        background-color: var(--djh-pink) !important;
      }
    }
  }
}

.forminator-calculation {
  background-color: var(--selected) !important;
  color: var(--djh-pink) !important;
}

.forminator-input-with-prefix {
  background-color: var(--selected) !important;
}

.forminator-field-textarea .forminator-textarea {
  border-radius: 8px !important;
  border: 1px solid var(--selected) !important;
}

.forminator-field-textarea .forminator-textarea:focus,
.forminator-field-textarea .forminator-textarea:focus-visible,
.forminator-field-textarea .forminator-textarea:active {
  outline: 2px solid var(--djh-pink) !important;
  color: var(--djh-pink) !important;
  background-color: var(--selected) !important;
  outline-offset: 2px !important;
  outline-style: solid !important;
  outline-width: 2px !important;
}

.forminator-checkbox input:checked + .forminator-checkbox-box {
  border-color: var(--djh-pink) !important;

  &::before {
    color: var(--djh-pink) !important;
  }
}

.forminator-has_error .forminator-error-message,
.forminator-error-message {
  font-size: 20px !important;
  margin-top: 20px !important;
  font-weight: bold !important;
  border-radius: 8px !important;
}

.forminator-checkbox .forminator-checkbox-box:hover {
  border-color: var(--djh-pink) !important;
}

.forminator-checkbox input:focus-visible + .forminator-checkbox-box {
  outline: 2px solid black !important;
}

.forminator-radio input:checked + .forminator-radio-bullet {
  border-color: var(--pink) !important;

  &::before {
    background-color: var(--djh-pink) !important;
  }
}

.forminator-radio-label {
  font-size: 20px !important;
}

.forminator-radio .forminator-radio-bullet:hover {
  border-color: var(--djh-pink) !important;
}

.forminator-radio input:focus-visible + .forminator-radio-bullet {
  outline: 2px solid black !important;
}

.forminator-field-consent .forminator-consent__label p {
  font-size: 20px !important;
}

.forminator-button-submit {
  font-size: 24px !important;
  line-height: 20px !important;
  font-weight: bold !important;
  padding: 15px 23px !important;
  border-radius: 8px !important;
  border: 1px solid var(--pink-2) !important;
}

.forminator-row:has(.forminator-button-submit) {
  justify-content: end !important;
}

.forminator-row .forminator-col:has(.forminator-button-submit) {
  flex: 0 1 auto !important;
}

section.generate-pdf {
  display: none;
}

.forminator-row .grill-select-time {
  margin-top: 34px;
}

/* FORMINATOR NUMBER INPUT PFEILE */

.forminator-ui input[type="number"]::-webkit-outer-spin-button,
.forminator-ui input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.forminator-ui input[type="number"] {
  -moz-appearance: textfield;
}

.number-input-wrapper {
  display: flex;
  border: 1px solid var(--selected);
  border-radius: 8px;
  overflow: hidden;
  background-color: #fff;
  transition:
    border-color 0.2s,
    background-color 0.2s;
  width: 100%; /* Wichtig für Forminator Layouts */
}

.number-input-wrapper input[type="number"] {
  border: none !important;
  background: transparent !important;
  flex-grow: 1;
}

/* Container für die Buttons */
.number-input-wrapper .spin-buttons {
  display: flex !important;
  flex-direction: column !important;
  border-left: 1px solid #ccc !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Force-Reset für die Buttons, um Theme-Styles abzublocken */
.number-input-wrapper .spin-btn {
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  cursor: pointer !important;
  padding: 0 10px !important;
  margin: 0 !important;
  font-size: 10px !important;
  color: #555 !important;
  height: 50% !important;
  line-height: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background-color 0.2s !important;
}

/* Hover-Effekt */
.number-input-wrapper .spin-btn:hover {
  background-color: white !important;
  color: #000 !important;
}

.spin-buttons {
  display: flex;
  flex-direction: column;
  border-left: 1px solid #ccc;
}

.spin-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px 10px;
  font-size: 10px;
  color: #555;
  transition: background-color 0.2s;
  height: 50%;
}

.spin-btn:hover {
  background-color: white;
}

.spin-btn.up:focus,
.spin-btn.up:focus-visible {
  outline: 2px solid black !important;
  outline-offset: -2px !important;
  border-radius: 0 8px 0 0 !important;
}

.spin-btn.down:focus,
.spin-btn.down:focus-visible {
  outline: 2px solid black !important;
  outline-offset: -2px !important;
  border-radius: 0 0 8px 0 !important;
}

/* CONTACT FORM 7 */

.wp-block-contact-form-7-contact-form-selector .wpcf7 .wpcf7-form label {
  display: block;
  font-size: 20px;
  font-weight: bold;
  width: 100%;

  .wpcf7-list-item {
    display: inline-flex;
    align-items: center;
  }

  input[type="radio"] {
    -webkit-appearance: none;
    appearance: none;

    width: 20px;
    height: 20px;
    border: 1px solid #777771;
    border-radius: 50%;
    background-color: #ededed;
    display: inline-grid;
    place-content: center;
    margin: 0 10px 0 0;
    cursor: pointer;
    transition: all 0.2s ease-in-out;

    &::before {
      content: "";
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background-color: var(--djh-pink);
      transform: scale(0);
      transition: 120ms transform ease-in-out;
    }

    &:checked {
      border-color: var(--djh-pink);
      &::before {
        transform: scale(1);
      }
    }

    &:focus,
    &:focus-visible,
    &:active {
      outline: 2px solid var(--djh-pink) !important;
    }
  }

  input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;

    width: 20px;
    height: 20px;
    border: 1px solid #777771;
    /* border-radius: 50%; */
    background-color: #ededed;
    display: inline-grid;
    place-content: center;
    margin: 0 10px 0 0;
    cursor: pointer;
    transition: all 0.2s ease-in-out;

    &::before {
      content: "";
      width: 6px;
      height: 10px;
      border-right: 2px solid var(--djh-pink);
      border-bottom: 2px solid var(--djh-pink);
      transform: scale(0) rotate(45deg);
      transition: 120ms transform ease-in-out;
      margin-bottom: 3px;
    }

    &:checked {
      border-color: var(--djh-pink);
      &::before {
        transform: scale(1) rotate(45deg);
      }
    }
    &:focus,
    &:focus-visible,
    &:active {
      outline: 2px solid var(--djh-pink) !important;
    }
  }

  span.wpcf7-not-valid-tip {
    color: var(--djh-pink);
  }

  input.wpcf7-text,
  textarea.wpcf7-textarea {
    border-radius: 8px !important;
    border: 1px solid var(--selected) !important;
    padding: 18px 20px !important;
    font-size: 16px;
    line-height: 20px;
  }

  input.wpcf7-text:hover,
  textarea.wpcf7-textarea:hover {
    background-color: var(--selected) !important;
    color: var(--djh-pink) !important;
    transition: 0.2s linear !important;
  }

  input.wpcf7-text focus,
  input.wpcf7-text:focus-visible,
  input.wpcf7-text:active,
  textarea.wpcf7-textarea focus,
  textarea.wpcf7-textarea:focus-visible,
  textarea.wpcf7-textarea:active {
    outline: 2px solid var(--djh-pink) !important;
    color: var(--djh-pink) !important;
    background-color: var(--selected) !important;
    outline-offset: 2px !important;
    outline-style: solid !important;
    outline-width: 2px !important;
  }

  .wpcf7-radio span.first {
    margin-left: 0px;
  }
}

.wp-block-contact-form-7-contact-form-selector
  .wpcf7
  .wpcf7-form
  .wpcf7-acceptance
  .wpcf7-list-item {
  margin-left: 0px;
  label {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
  }
}

/* MEDIA QUERIES */

@media (max-width: 1599.98px) {
  section.text-backgroundimage {
    background-image: none !important;

    .textcontent {
      padding-bottom: 160px;
    }
  }
}

@media (max-width: 1199.98px) {
  footer .socials {
    width: 100%;
    margin-top: 0;
  }

  footer .container {
    row-gap: 51px;
  }

  /* footer button.scroll-up {
        background-color: var(--white);
        border-color: var(--white);
    } */

  section.news-local {
    .posts-wrap {
      grid-template-columns: repeat(3, 1fr) !important;
    }
  }

  section.offers.has-backgroundimage-bottom {
    padding-bottom: 54%;
  }
}

@media (max-width: 991.98px) {
  :root {
    --logo-size: 110px;
  }

  body {
    line-height: 28px;
  }

  .container {
    max-width: 100%;
  }

  h1,
  h2.pseudo-h1,
  section.boxes-with-media .textcontent h2 {
    font-size: 38px;
    line-height: 38px;
  }

  section.slider[data-layout="layout2"] {
    h1 {
      font-size: 38px;
      line-height: 38px;
    }
  }

  button:not(.spin-btn),
  a.button-link,
  div.button-link,
  a span.button-link {
    font-size: 18px;
    line-height: 1;
    padding: 12.5px 16px;
  }

  /* HEADER */
  header .menu-icon {
    width: 50px;
    height: 50px;
  }

  header .menu-icon img.icon.opening {
    padding: 8px;
  }

  main {
    padding-top: 90px;
  }

  .header-overlay {
    height: 90px;
  }

  /* FOOTER */
  footer {
    padding-top: 60px;
    padding-bottom: 75px;
  }

  footer button.scroll-up {
    right: 15px;
  }

  /* SLICK */
  ul.slick-dots li button {
    width: 10px;
    height: 10px;
  }

  ul.slick-dots li {
    width: 10px;
    height: 10px;
    margin: 0 3.5px;
  }

  /* posts */
  .posts-wrap article {
    flex: 1 0 calc(50% - 30px);
  }

  /* TEMPLATE PARTS */

  section.news-local {
    .posts-wrap {
      grid-template-columns: repeat(2, 1fr) !important;
    }
  }

  section.iconboxes.has-bg {
    padding-bottom: 91px;
    display: flex;
    flex-direction: column-reverse;
    row-gap: 25px;
  }

  section.iconboxes {
    & .boxes {
      .box {
        flex: 1 0 calc((100% - 30px) / 2);
      }
    }

    & img.backgroundimage {
      position: relative;
      bottom: unset;
      max-height: unset;
      left: unset;
    }
  }

  section.header-banner .container {
    padding-top: 174px;
  }

  section.boxes-with-media,
  section.slider + section {
    margin-top: 58px;
  }

  section.news + section {
    margin-top: 60px;
  }

  section.jugi + section {
    margin-top: 65px;
  }

  /* logo */
  section.logo .textcontent {
    font-size: 20px;
    padding: 10px;
    line-height: 28px;
    min-height: unset;
    height: 67px;
    -webkit-mask-image: radial-gradient(
      circle at 100% 132%,
      transparent 0,
      transparent calc(var(--logo-size) / 2 + 2px),
      black calc(var(--logo-size) / 2 + 2px)
    );
    mask-image: radial-gradient(
      circle at 100% 132%,
      transparent 0,
      transparent calc(var(--logo-size) / 2 + 2px),
      black calc(var(--logo-size) / 2 + 2px)
    );
  }

  section.logo .logo-box {
    padding-top: 33.5px;
  }

  /* service booking */
  section.service-booking {
    right: 15px;
  }

  /* news */
  section.news article {
    flex: 1 0 calc(50% - 30px);
  }

  section.news {
    padding-top: 58px;
    padding-bottom: 60px;
  }

  section.news .recent-posts {
    margin-top: 50px;
    row-gap: 60px;
  }

  section.news h2 {
    margin-bottom: 2px;
  }

  section.news article img.post-image {
    margin-bottom: 20px;
  }

  section.news article a.button-link {
    margin-top: 28px;
  }

  section.news .recent-posts + .button-link {
    margin-top: 60px;
  }

  /* slider */
  section.slider video,
  section.slider img.slider-image {
    aspect-ratio: 576 / 460;
    min-height: 460px;
  }

  section.slider a span.button-link {
    margin-top: 10px;
  }

  section.slider .header-slider .container {
    bottom: 35px;
  }

  section.slider .overlay {
    aspect-ratio: 576 / 154;
  }

  section.slider .textcontent {
    font-size: 18px;
    line-height: 34px;
  }

  /* boxes with image */
  section.boxes-with-media {
    padding-bottom: 0;
    overflow: hidden;
  }

  section.boxes-with-media .box h3 {
    font-size: 30px;
  }

  section.boxes-with-media .textcontent {
    font-size: 20px;
    line-height: 28px;
  }

  section.boxes-with-media .textcontent h2 {
    margin-bottom: 13px;
  }

  section.boxes-with-media .boxes-image-wrap {
    margin-top: 50px;
    gap: 32px;
  }

  section.boxes-with-media .boxes {
    padding-top: 0;
    gap: 60px;
  }

  section.boxes-with-media .box h2,
  section.boxes-with-media .box h3 {
    margin-bottom: 13px;
  }

  section.pink-boxes .pink-box .title {
    margin-bottom: 5px;
  }

  section.boxes-with-media img.backgroundimage.left {
    position: relative;
    left: -13%;
    bottom: unset;
    margin-bottom: -5%;
    width: calc(100% + 15%);
    max-width: unset;
  }

  section.boxes-with-media img.backgroundimage.right {
    display: none;
  }

  /* offers */
  /* section.offers {
        padding-bottom: 0;
        overflow: hidden;
    } */

  section.offers {
    overflow-x: hidden;
  }

  section.offers .offer-card .textcontent h3 {
    margin-bottom: 12px;
  }

  section.offers .offer-cards {
    margin-top: 51px;
    row-gap: 56px;
  }

  section.offers .offer-card .button-link {
    margin-top: 62px;
  }

  section.offers .offer-card {
    flex: 1 0 calc(50% - 30px);
  }

  section.offers img.backgroundimage.right {
    right: 0;
    bottom: unset;
    padding-top: 51px;
    position: relative;
    max-width: 70%;
    float: right;
  }

  section.offers img.backgroundimage.left {
    position: relative;
    left: -8%;
    bottom: unset;
    margin-bottom: -13%;
    margin-top: -20%;
    width: calc(100% + 50%);
    max-width: unset;
  }

  /* pink boxes */
  section.pink-boxes {
    padding: 60px 0;
  }

  section.pink-boxes .pink-box {
    flex: 1 0 100%;
  }

  section.pink-boxes .pink-boxes {
    gap: 60px;
    margin-top: 51px;
  }
}

/*a11y: keeps items visible at 400% zoom*/
@media (width <=800px) {
  /*scale 0.45 just fits well does not have to be identical*/
  /* section.mobile-menu nav {
        overflow-x: unset;
        overflow-y: unset;
        transform: scale(0.45);
    }

    section.service-booking,
    footer button.scroll-up {
        transform: scale(0.45);
        right: 4px;
    }

    .menu-icon {
        transform: scale(0.45);
    } */
}

header .textcontent {
  display: none;
}

header .header-wrap {
  display: flex;
  justify-content: space-between;
  --webkit-justify-content: space-between;
  align-items: center;
}

section.djh.lastminute {
  padding: 70px 0 100px 0;

  .content * {
    margin-bottom: 46px;
    font-family: "Dosis";
  }

  .content h2 {
    margin-bottom: 0;
  }

  .filter-row {
    margin-bottom: 30px;
  }

  .offercards-row {
    margin-top: 0 !important;
  }

  .filter {
    display: flex;
    gap: 30px;

    .tom-select {
      &.ts-wrapper {
        height: 100%;
      }

      * {
        font-family: "Dosis";
      }

      .ts-control .item {
        font-weight: bold;
      }
    }

    @media (max-width: 991px) {
      flex-wrap: wrap;

      > * {
        width: calc(50% - 15px);
      }
    }

    @media (max-width: 575px) {
      > * {
        width: 100%;
      }
    }
  }

  .offercards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 16px;

    @media (max-width: 991px) {
      grid-template-columns: 1fr;
    }

    .offercard {
      display: flex;
      padding: 16px;

      border-radius: 8px;

      @media (max-width: 991px) {
        flex-direction: column;
      }

      .left,
      .right {
        display: flex;
        flex-direction: column;
      }

      .left {
        width: 44%;
        justify-content: space-between;
        --webkit-justify-content: space-between;

        @media (max-width: 991px) {
          width: 100%;
        }

        /* .price {
                    @media (max-width: 991px) {
                        display: none;
                    }
                } */
      }

      .right {
        width: 56%;

        @media (max-width: 991px) {
          width: 100%;
        }
      }

      .city {
        font-size: 18px;
        font-weight: bold;
        line-height: 1;
        text-decoration: none;
        margin-bottom: 20px;
      }

      .thumbnail {
        margin-right: 16px;

        @media (max-width: 991px) {
          margin-right: 0;
          margin-bottom: 20px;
        }
      }

      img {
        border-radius: 8px;
        width: 100%;
        height: auto;
      }

      /* .price {
        font: normal normal bold 32px/1 "Dosis";
      } */

      h3 {
        font-weight: bold !important;
        line-height: 1.2;
        margin-bottom: 4px;
        font-size: 24px;
      }

      h4 {
        margin-bottom: 4px;
      }

      .duration-grade {
        margin-bottom: 16px;
        font-size: 18px;
      }

      .excerpt {
        line-height: 1.2;
        margin-bottom: 16px;
        font-size: 16px;
      }

      .offer-actions {
        display: flex;
        justify-content: space-between;
        --webkit-justify-content: space-between;
        margin-top: auto;
        align-items: center;
        flex-direction: row-reverse;
        gap: 5px;
        flex-wrap: wrap;
        font-size: 20px;
        line-height: 26px;

        .price {
          font-size: 20px;
          font-weight: 400;
        }
      }

      .button.offer {
        width: fit-content;
        text-decoration: none;
        margin-top: auto;

        font: normal normal 500 20px / 1 "ITC Officina Sans";
        min-height: 60px;
        padding: 20px;
        background: white;
        color: black;

        &:hover {
          background-color: var(--selected);
          color: var(--djh-pink);
        }
      }
    }
  }

  .offercards-footer {
    @media (max-width: 575px) {
      flex-direction: column-reverse;
      align-items: end;
    }

    .amount {
      @media (max-width: 575px) {
        padding-right: 0 !important;
        margin-bottom: 16px !important;
      }
    }
  }

  > .container {
    > .row:last-child {
      margin-top: 80px;

      @media (max-width: 767px) {
        margin-top: 40px;
      }
    }
  }

  .load-more.button {
    padding: 12px 24px;
    width: fit-content;
    font: normal normal bold 24px/20px "Dosis";

    &.pink {
      &.loader {
        color: transparent !important;

        &:hover {
          color: transparent !important;
          transition: background 0.2s linear;
        }
      }
    }

    &.loader {
      color: white !important;

      &:focus,
      &:hover {
        color: var(--selected) !important;
      }

      &::after {
        width: 40px;
        height: 40px;
      }
    }
  }

  .button {
    border: 1px solid transparent;

    &.pink {
      &:hover {
        background-color: transparent;
        border-color: var(--djh-pink);
        color: var(--djh-pink);
      }

      &:focus {
        color: white;
        background-color: var(--djh-pink);
      }
    }

    &:not(.pink) {
      &:focus {
        color: black;
        background-color: white;
      }
    }

    &:focus {
      outline-offset: 2px !important;
      outline-style: solid !important;
      outline-width: 2px !important;
      outline-color: black !important;
    }
  }

  .select-wrapper {
    .ts-wrapper {
      &.focus {
        outline-offset: 2px !important;
        outline-style: solid !important;
        outline-width: 2px !important;
        outline-color: black !important;
      }
    }
  }
}

@media (max-width: 767.98px) {
  main {
    padding-top: 96px;
  }

  .header-overlay {
    display: none;
  }

  header {
    background-color: var(--pink-2);
    padding-left: 0;
    width: 100%;
    .header-wrap {
      > a {
        order: 1;
      }
      &:has(.header-secondary-menu) {
        justify-content: unset;
        --webkit-justify-content: unset;
      }

      .header-secondary-menu {
        order: 2;
      }

      .menu-icon {
        order: 3;
      }
    }

    .header-secondary-menu {
      margin-left: auto;
      margin-right: 10px;
      .nav-menu {
        > li {
          color: white;
        }
      }
      .sub-menu {
        color: black;
      }

      button.toggle {
        border-color: white;
      }
    }
  }

  header .textcontent {
    display: block;
    width: fit-content;
    color: var(--white);

    p {
      margin-bottom: 0;
    }
  }

  section.mobile-menu {
    background-color: var(--white);
  }

  section.logo {
    display: none;
  }

  /* posts */
  .posts-wrap article {
    flex: 1 0 100%;
  }

  /* TEMPLATE PARTS */

  section.iconboxes {
    & .boxes {
      .box {
        flex: 1 1 100%;
      }
    }
  }

  section.boxes-jugi {
    & .boxes {
      .box {
        flex: 1 0 100%;
      }
    }
  }

  /* news */
  section.news article {
    flex: 1 0 100%;
  }

  section.news .backgroundimage-wrap {
    display: none;
  }

  /* offers */
  section.offers .offer-card {
    flex: 1 0 100%;
  }

  section.news-local {
    &[data-layout="highlight"] {
      .posts-wrap > *:first-child {
        grid-column: span 1;
      }
    }

    .posts-wrap {
      grid-template-columns: repeat(1, 1fr) !important;
    }
  }

  /* FOOTER */
  footer .menu-group,
  footer .image-group {
    margin-bottom: 51px;
    flex: 0 0 calc(33.33% - 31px);
  }

  footer .image-group {
    display: contents;
  }

  footer .container {
    column-gap: 31px;
    row-gap: 0;
    justify-content: start;
    --webkit-justify-content: start;
  }

  footer .image-groups,
  footer .menu-groups {
    display: contents;
  }

  footer .socials {
    margin-top: 49px;
  }

  footer .menu-group.menu-group-1 {
    padding-right: 0;
  }

  footer .menu-group.menu-group-3 {
    padding-right: 0;
  }

  footer .menu-group.menu-group-4 {
    padding-right: 0;
  }
}

@media (max-width: 575.98px) {
  section.slider .overlay {
    aspect-ratio: 576 / 300;
  }
}

@media (max-width: 420px) {
  :root {
    --logo-size: 80px;
  }

  /* logo */
  section.logo .textcontent {
    height: 52px;
    font-size: 14px;
  }

  section.logo .logo-box {
    padding-top: 29px;
  }
}

@media (max-width: 370px) {
  footer .image-groups {
    display: flex;
    width: 100%;
    justify-content: start;
    gap: 31px;
  }
}
