@charset "UTF-8";

/*
Theme Name: Triple-H-Tours
Author: AH-Effect
Author URI: https://www.a-h-effect.de
Description: Custom Theme  Motorrad-Touren und Race-Events im In- & Ausland
Requires at least: 6.1
Tested up to: 8.4
Requires PHP: 8.3
Version: 1.1
Text Domain: customtheme
*/


/* Basics START */
:root {
  --primary-color: #ff0000; /* rgba(255, 0, 0, 1) */
  --secondary-color: #610000; /* rgba(97, 0, 0, 1) */
  --text-color: #000000;
}

@font-face {
  font-family: "Sans";
  font-weight: 200;
  font-style: normal;
  src: url(assets/webfonts/GoogleSansFlex_72pt-Thin.ttf) format("truetype");
}

@font-face {
  font-family: "Sans";
  font-weight: 300;
  font-style: normal;
  src: url(assets/webfonts/GoogleSansFlex_72pt-Light.ttf) format("truetype");
}

@font-face {
  font-family: "Sans";
  font-weight: 400;
  font-style: normal;
  src: url(assets/webfonts/GoogleSansFlex_72pt-Regular.ttf) format("truetype");
}

@font-face {
  font-family: "Sans";
  font-weight: 500;
  font-style: normal;
  src: url(assets/webfonts/GoogleSansFlex_72pt-Medium.ttf) format("truetype");
}

@font-face {
  font-family: "Sans";
  font-weight: 600;
  font-style: normal;
  src: url(assets/webfonts/GoogleSansFlex_72pt-SemiBold.ttf) format("truetype");
}

@font-face {
  font-family: "Sans";
  font-weight: 700;
  font-style: normal;
  src: url(assets/webfonts/GoogleSansFlex_72pt-Bold.ttf) format("truetype");
}

@font-face {
  font-family: "Sans";
  font-weight: 900;
  font-style: normal;
  src: url(assets/webfonts/GoogleSansFlex_72pt-ExtraBold.ttf) format("truetype");
}

@font-face {
  font-family: "Sans";
  font-weight: 900;
  font-style: normal;
  src: url(assets/webfonts/GoogleSansFlex_72pt-Black.ttf) format("truetype");
}

@font-face {
  font-family: "Bunny";
  font-weight: 400;
  font-style: normal;
  src: url(assets/webfonts/firstbunny.woff) format("woff");
}

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-margin-top: 100px
}

body {
  font-family: "Sans", sans-serif;
  font-weight: 300;
  font-size: 19px;
  line-height: 160%;
  margin: 0; 
  padding: 0;
  color: var(--text-color);
  hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  -webkit-hyphens: auto;
  -o-hyphens: auto;
}

.displaynone {
  display: none !important;
}

.justify-center {
  justify-content: center;
}

.align-center {
  align-items: center;
}


b, strong {
  font-weight: 700;
}

input:focus,
:focus {
  outline: none !important;
}

.like-a,
.like-a:hover,
a:hover,
a:active,
a:visited,
a:focus,
a {
  color: var(--primary-color);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

/* a:hover {
  text-decoration: none; 
  transform: translateY(-3px);
  transition: transform 0.3s; 
} */


.like-a {
  display: inline-block;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Bunny", sans-serif;
  letter-spacing: 1px;
  font-weight: 400;
    hyphens: none;
  -moz-hyphens: none;
  -ms-hyphens: none;
  -webkit-hyphens: none;
  -o-hyphens: none;
}

h1 > code,
h1 {
  font-size: 40px;
}

.like-h2,
h2 {
  font-size: 40px;
  margin-bottom: 32px;
}

.like-h3,
h3 {
  font-size: 25px;
  margin-top: 0px;
  line-height: 140%;
}

.underlined {
  position: relative;
  margin-bottom: 61px;
}

.underlined:after {
  content: "";
  width: 54px;
  height: 2px;
  background-color: var(--primary-color);
  position: absolute;
  left: 0;
  bottom: -19px;
}

.trenner {
  width: 54px;
  height: 2px;
  background-color: var(--primary-color);
  display: block;
  margin: 8px 0 30px 0;
}

input[type="search"] ,
form input[type="text"],
form input[type="submit"] {
  -webkit-appearance: none;
  -webkit-border-radius: 0;
}

input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

.mobile-menu {
  display: none;
}

.bg-primary {
  background-color: var(--primary-color);
}

.bg-secondary {
  background-color: var(--secondary-color);
}

.bg-white {
  background-color: #ffffff;
}

.bg-text {
  background-color: var(--text-color);
  color: #ffffff;
}

.bg-gradient {
  background: var(--secondary-color);
  background: linear-gradient(-130deg, rgba(255, 0, 0, 1) 0%, rgba(97, 0, 0, 1) 100%) !important;
}

.entry-content > .bg-light {
  padding-top: 50px; 
  padding-bottom: 32px;
  position: relative;
  background-color: #f8f9fa !important;
}

.entry-content > .bg-light:before {
  content: ""; 
  width: 500%; 
  left: -200%; 
  display: block;
  top: 0; 
  z-index: -1;
  background-color: #f8f9fa;
  position: absolute;
  height: 100%;
}

.color-primary {
  color: var(--primary-color);
}

.color-secondary {
  color: var(--secondary-color);
}

.color-white {
  color: #ffffff;
}

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

.image-wrapper img {
  max-width: 100%;
}

[disabled],
.disabled .wp-block-button__link {
  opacity: 0.5;
  pointer-events: none;
}

.padding-25 {
  padding: 25px;
}

.gap-10 {
  gap: 10px;
}


button,
.wp-block-button__link,
.button {
  color: #ffffff;
  font-weight: 700;
  /* border-radius: 24px; */
  border-radius: 8px;
  padding: 8px 28px 8px 28px;
  border: 2px solid var(--secondary-color);
  background-color: var(--secondary-color); 
  background: linear-gradient(-90deg, rgba(255, 0, 0, 1) 0%, rgba(97, 0, 0, 1) 100%);
  text-decoration: none;
  cursor: pointer;
  margin: 25px 0;
  display: inline-block;
  /* transition: transform 0.5s; */
  /* transition: background 0.5s; 
  transition-delay: 0s; */
  transition: all 0.25s ease-in-out;
  overflow: hidden; 
  position: relative;
}

a.has-mb-primary-background-color:before,
button:before,
.wp-block-button__link:before,
.button:before {
  content: ""; 
  width: 100%; 
  height: 100%; 
  background-color: var(--secondary-color); 
  background: linear-gradient(90deg, rgba(255, 0, 0, 1) 0%, rgba(97, 0, 0, 1) 100%);
  display: block; 
  position: absolute;
  left: 0; 
  top: 0;
  transform: translateX(-100%);
  transition: all 0.5s;
  z-index: -1;
}

a.has-mb-primary-background-color:hover:before,
button:hover:before,
.wp-block-button__link:hover:before,
.button:hover:before {
  transform: translateX(0);
}

button:active,
.wp-block-button__link:active,
.button:active, 
button:visited,
.wp-block-button__link:visited,
.button:visited, 
button:hover,
.wp-block-button__link:hover,
.button:hover {
  text-decoration: none;
  transform: translateY(0);
  color: #ffffff;
  /* border-color: var(--primary-color); */
}


button.secondary, 
.wp-block-button__link.secondary,
.secondary .wp-block-button__link,
.button.secondary {
  background: #ffffff; 
  color: var(--secondary-color);
}

button.secondary:hover, 
.wp-block-button__link.secondary:hover,
.secondary .wp-block-button__link:hover,
.button.secondary:hover {
  background: transparent;
  color: #ffffff;
}


.entry-content > div,
#breadcrumbs,
.container {
  max-width: 1428px;
  margin: 0 auto;
  width: 100%;
}

.schema-faq,
.entry-content > .wp-block-columns,
.container {
  padding-left: 25px; 
  padding-right: 25px;
}

body #page {
  overflow: hidden;
  /* padding-top: 140px; */
}

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

/* Header START */

header {
  position: fixed;
  z-index: 11;
  top: 0; 
  left: 0; 
  width: 100%; 
  background-color: transparent;
  transition: all 0.5s ease-in;
}

header.hide {
  transform: translateY(-105%);
}

header {
  background-color: rgba(255, 255, 255, 0.9);
}

body.home header:not(.sticky) {
  background-color: transparent;
}

body.admin-bar header {
  top: 32px;
}

header a:visited, 
header a:active,
header a {
  color: var(--text-color);
  font-weight: 500;
  text-decoration-color: var(--primary-color);
  text-decoration: none;
  transition: all 0.25s ease-in-out;
}

body.home header:not(.sticky) a:visited, 
body.home header:not(.sticky) a:active,
body.home header:not(.sticky) a {
  color: #ffffff;
}

header.sticky a:visited, 
header.sticky a:active,
header.sticky a {
  color: var(--text-color);
}

header li.current-menu-item:not(.menu-item-54) a,
header a:hover {
  background-color: var(--secondary-color); 
  background: linear-gradient(-90deg, rgba(255, 0, 0, 1) 0%, rgba(97, 0, 0, 1) 100%);
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
}

header .logo-wrapper {
  max-width: 200px;
  margin: 25px 50px;
  transition: 0.5s ease-in;
}

body.openmenu.home header .logo-wrapper .show-top,
body.home header:not(.sticky) .logo-wrapper .show-sticky,
body:not(.home) header .logo-wrapper .show-top,
body.home header.sticky .logo-wrapper .show-top {
  display: none;
}

body.openmenu.home header .logo-wrapper .show-sticky {
  display: block;
}

.menu-wrapper {
  padding: 0;
  list-style: none;
  margin: 0;
  display: flex;
  gap: 25px;
}

header .primary-header .col-sm {
  display: flex;
  align-items: center;
  justify-content: center;
}

body:not(.home) header .logo-wrapper {
  margin-top: 5px; 
  margin-bottom: 5px;
}

/* Header END */



/* Home Stage START */
.background-wrapper {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  z-index: -1;
  left: 0;
  top: 0;
}

section.staging {
  background-size: cover; 
  background-position: center center;
  height: 85dvh;
  padding: 50px 0;
  display: flex;
  align-items: flex-end;
  position: relative;
  margin-bottom: 8px;
  margin: 0 auto;
}


section.staging .title-image {
  width: 367px;
}

section.staging .bottom-image {
  width: 90px; 
  position: absolute;
  left: calc(50% - 45px); 
  bottom: -45px;
}

section.staging.subpage {
  height: 576px;
  padding: 70px 0;
}

body.home section.staging h1,
section.staging.subpage h1 {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-shadow: 0 0 5px rgba(0,0,0,0.89);
    color: #ffffff;
  margin: 40px 0 24px 0;
}

section.staging .hero-subtitle {
  font-family: "Sans", sans-serif; 
  font-weight: 500; 
  text-transform: unset;
}

body.home section.staging h1 .top,
section.staging.subpage h1 .top {
  font-size: 55px;
}

section.staging.subpage h1 > span > span,
body.home section.staging h1 > span > span{
  display: inline-block; 
  padding-left: 8px; 
  padding-right: 8px;
  line-height: 120%;
  text-transform: none;
  margin-top: 6px;
}

body.home section.staging h1 > span.top > span,
section.staging.subpage h1 > span.top > span {
  color: #ffffff; 
  background-color: var(--orange-300);
  font-size: 62px; 
}

section.staging.subpage.color-lightgreen h1 > span.top > span,
body.home section.staging h1 > span.top > span {
  background-color: var(--signal-500); 
  color: var(--green-500);
  text-transform: none;
}

body.home section.staging h1 > span.hero-subtitle, 
section.staging.subpage h1 > span.hero-subtitle {
  font-size: 28px;
  font-weight: 600;
  line-height: 140%;
}

body.home section.staging h1 > span.hero-subtitle > span,
section.staging.subpage h1 > span.hero-subtitle > span {
  background-color: #ffffff; 
  color: var(--orange-300);
  font-weight: 600; 
  font-size: 39px;
  padding-top: 13px;
}

.image-wrapper > img,
.video-wrapper > video {
   width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Home Stage END */


/* Services START */
.services  {
  position: relative;
  height: 100%;
  padding: 75px 0;
  /* z-index: -1; */
}

.services:before {
  content: "";
  position: absolute;
  width: 500%; 
  height: 100%;
  left: -200%; 
  top: 0; 
  z-index: -1;
  background: var(--secondary-color);
  background: linear-gradient(-130deg, rgba(255, 0, 0, 1) 25%, rgba(97, 0, 0, 1) 75%) !important;
}

/* Services END */

/* Teaser-Boxes START */
.teaser-box {
  border-radius: 8px;
  overflow: hidden;
  /* border: 2px solid var(--secondary-color); */
  background-color: rgba(0,0,0,0.1);
  /* height: 100%; */
}

.teaser-box .teaser-image {
  margin-bottom: 25px; 
  overflow: hidden;
  aspect-ratio: 5 / 3;
}

.teaser-box .teaser-image img {
  object-fit: cover; 
  width: 100%; 
  height: 100%; 
  transition: transform 0.25s ease-in-out;
}

.teaser-box:hover img {
  transform: scale(1.1);
}

.teaser-box .textbox {
  padding-left: 25px; 
  padding-right: 25px;
}
/* Teaser-Boxes END */

/* Text Image Block (header) START  */

.image-wrapper,
.image-wrapper-outer {
  height: 100%;
}

.image-wrapper {
  overflow: hidden;
}

.text-image-block.sloping .image-text-row .content-wrapper {
  padding-top: 90px; 
  padding-bottom: 70px;
}

.entry-content > .wp-block-lazyblock-text-bild-block-randabfallend:first-of-type .content-wrapper {
  padding-top: 250px;
}

.text-image-block.right-image .image-wrapper {
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}


.text-image-block.left-image .image-wrapper {
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
}

body .entry-content > div.wp-block-lazyblock-text-bild-block-randabfallend:first-of-type .text-image-block .image-wrapper {
  border-top-right-radius: 0; 
  border-top-left-radius: 0;
}

.top-bottom-left-radius {
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}

/* Text Image Block (header) END  */


/* Services START */

.service-wrapper-outer {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  padding-left: 100px; 
  padding-right: 100px;
}

.flip-box {
  background-color: transparent;
  width: calc(33.3333% - 21.3333px);
  aspect-ratio: 1 / 1;
  perspective: 1000px; /* Tiefenwirkung für Flip-Effekt */
  cursor: pointer;
  box-shadow: none;
  padding: 0;
  overflow: visible;
}

.flip-box-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}


.flip-box:hover .flip-box-inner {
  transform: rotateY(180deg);
}

.flip-box-front, 
.flip-box-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  border-radius: 10px;
  font-weight: 400;
}

.flip-box-front {
  background-color: #ffffff;
}

.flip-box-back {
  background-color: #ffffff;
  transform: rotateY(180deg);
}

.flip-box-front .icon {
  max-width: 110px;
  margin-bottom: 25px;
  max-height: 110px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  filter: saturate(0.5);
}

/* Services END */

/* FAQ Yoast START */
.schema-faq-section {
  border-bottom:1px solid #b0b0be;
}

.schema-faq-section h3 {
  font-family: "Sans", sans-serif;
  font-weight: 700;
  font-size: 22px;
}

.schema-faq-question {
  margin: 0;
  cursor: pointer;
  position: relative;
  padding: 25px 50px 25px 0;
  margin-bottom: 0 !important;
}

.schema-faq-question::before,
.schema-faq-question::after {
  content: ""; 
  width: 32px; 
  background: var(--secondary-color);
  background: linear-gradient(-180deg, rgba(255, 0, 0, 1) 0%, rgba(97, 0, 0, 1) 25%);
  height: 2px;
  position: absolute;
  top: 50%;
  content: "";
  display: block;
  right: 25px;
  transition: all .3s;
}

.schema-faq-section:not(.is-open) .schema-faq-question::after {
  transform: rotate(90deg);
}

.schema-faq-answer {
  margin: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding-right: 100px;
  transition: max-height 0.35s ease, opacity 0.25s ease, margin-top 0.25s ease;
}

.schema-faq-section.is-open .schema-faq-answer {
  opacity: 1;
  padding-bottom: 25px;
}
/* FAQ Yoast END */


/* Footer START */
footer.entry-footer {
  display: none;
}
.wp-block-gallery {
  margin-bottom: 0;
}

.prefooter {
  padding-top: 90px;
  padding-bottom: 65px;
}

.prefooter h2 {
  margin-bottom: 0;
}

footer#colophon {
  background: #FF0000;
  background: linear-gradient(-90deg, rgba(255, 0, 0, 1) 0%, rgba(97, 0, 0, 1) 100%);
  padding: 2px 0 0px 0;
  color: #ffffff;
  position: relative;
}

.footer-navigation-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  list-style: none;
  margin: 0; 
  padding: 0;
  gap: 20px;
}

.footer-navigation-wrapper a:not(:hover) {
  text-decoration: none;
}

.footer-navigation-wrapper a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

footer .entry-content {
  position: relative;
}

footer ul.menu > li > a,
footer h3 {
  color: #ffffff; 
  font-size: 18px; 
  line-height: 22px;
  text-transform: uppercase;
  position: relative; 
  padding-bottom: 4px; 
  margin-bottom: 22px;
  display: block;
  font-weight: 700;
  margin-top: 0;
}

footer ul.menu > li > a:after,
footer h3:after {
  content: ""; 
  width: 40px; 
  height: 1px; 
  display: block; 
  background-color: #ffffff; 
  position: absolute; 
  left: 0; 
  bottom: 0;
}

footer a:active, 
footer a:visited, 
footer a:link,
footer a:hover {
  color: #ffffff;
  display: inline-block;
}

footer .row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
}

footer .sub-footer {
  background-color: var(--text-color);
  padding: 12px 0;
  font-size: 16px;
}

footer .sub-footer .row {
  align-items: center; 
}

footer ul.menu {
  list-style-type: none; 
  margin: 0; 
  padding: 0;
}

footer ul.menu > li {
  break-inside: avoid-column;
}

footer ul.menu > li.menu-item-has-children > a {
  pointer-events: none;
}

footer ul.menu .sub-menu li a {
  font-size: 15px; 
  line-height: 22px; 
}

footer ul.menu .sub-menu {
  list-style-type: none; 
  margin-bottom: 50px; 
  padding: 0;
}

footer ul.menu #searchform,
footer ul.menu .menu-item-87 {
  display: none; 
}

#to-the-top {
  position: absolute; 
  top: -75px; 
  z-index: 15;
  cursor: pointer;
  right: 25px; 
}

#to-the-top.fixed {
  position: fixed;
  right: 25px; 
  bottom: 25px;
  transition: all 0.5s;
  top: unset;
}
/* Footer END */


@media screen and (max-width: 1200px) {
  .service-wrapper-outer {
    padding-left: 0; 
    padding-right: 0;
  }
}

@media screen and (max-width: 1024px) {
  .primary-menu-container {
    display: none;
  }

  label.hamburg {
    display: block;
    background: transparent;
    width: 32px;
    height: 24px;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    margin-top:-12px;
    z-index: 21;
  }

  input#hamburg {
    display:none
  }

  .line {
   position: absolute;
   left:0;
   height: 3px;
   width: 32px;
   background: var(--primary-color);
   display: block;
   transition: 0.5s;
   transform-origin: center;
    background: linear-gradient(-130deg, rgba(255, 0, 0, 1) 0%, rgba(97, 0, 0, 1) 100%) !important;

  }

  .line:nth-child(1) { top: 12px; }
  .line:nth-child(2) { top: 20px; }

  #hamburg:checked + .hamburg .line:nth-child(1){
    transform: translateY(4px) rotate(-45deg);
  }

  #hamburg:checked + .hamburg .line:nth-child(2){
    transform: translateY(-4px) rotate(45deg);
  }

  .mobile-menu {
    display: block;
    position: absolute;
    right: 32px;
    top: 32px;
  }

  .mobile-menu-wrapper {
    display: block;
    background: #ffffff;
    position: fixed;
    left: 0;
    width: 100%;
    top: 0;
    z-index: 20;
    max-height: 0;
    height: auto;
    overflow: hidden;
    transition: max-height 0.5s ease-in;
    padding-bottom: 200px;
    padding: 0;
    z-index: -1;
  }

  #hamburg:checked + .hamburg + .mobile-menu-wrapper {
    max-height: 100%;
    overflow: scroll;
    transition: max-height 1s ease-in-out;
  }

  .mobile-menu-wrapper > .inner {
    padding: 190px 30px 5px 30px;
  }

  .mobile-menu-wrapper ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .mobile-menu-wrapper a {
    font-size: 18px;
    line-height: 1;
    margin-left: 0;
    margin-bottom: 32px;
    display: block;
    color: #000000;
    text-decoration:none;
  }

  header.sticky .logo-wrapper {
    max-width: 140px;
    margin: 10px;
  }

  .mobile-menu-container ul.menu-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  body.openmenu header nav li.menu-item-54.current_page_item a,
  body.home.openmenu header:not(.sticky) a:visited, 
  body.home.openmenu header:not(.sticky) a:active, 
  body.home.openmenu header:not(.sticky) a
  body.openmenu header nav a:visited, 
  body.openmenu header nav a:active, 
  body.openmenu header nav a {
    color: var(--text-color) !important;
  }
}

@media screen and (max-width: 990px) {
  .flip-box {
    width: calc(50% - 16px);
  }

  .wp-block-columns  {
    display: flex;
    flex-direction: column;
  }

  .no-mobile-gap {
    gap: 0;
  }

  .wp-block-columns > .wp-block-column {
    flex-grow: 1;
    flex-basis: 100%;
  }

  #wir + .wp-block-column {
    display: flex;
    flex-direction: column;
  }

  .prefooter figure {
    max-width: 380px;
    margin-bottom: 50px;
  }

  body.home section.staging h1 .top, 
  section.staging.subpage h1 .top,
  h1 {
    font-size: 47px;
  }

  .text-image-block.right-image .row {
    flex-direction: column-reverse;
  }

  body .text-image-block .image-text-row .image-wrapper{
    margin-left: -25px; 
    margin-right: -25px;
    width: calc(100% + 25px + 25px);
    border-radius: 0;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    aspect-ratio: 4 / 2.5;
  }

  .text-image-block.sloping .image-text-row .content-wrapper {
    padding-top: 50px;
    padding-bottom: 0;
  }

  .top-bottom-left-radius {
    border-radius: 0; 
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
  }

  .like-h2, h2 {
    font-size: 34px;
    margin-bottom: 15px;
  }

  .mobile-reverse {
    flex-direction: column-reverse;
  }
/* 
  .image-text-row > .col-sm {
    padding-left: 0; 
    padding-right: 0;
  } */
}

@media screen and (max-width: 990px) and (min-width: 601px) {
  #touren .referenz.col-lg-4 {
    flex: 0 0 auto;
    width: 50%;
  }

  #touren .referenz.col-lg-4:last-child {
    width: 100%;
    padding-top: 24px;
  }

  #touren .teaser-box {
    height: 100%;
  }

  #touren .referenz.col-lg-4:last-child .teaser-box {
    display: flex;
  }

  #touren .referenz.col-lg-4:last-child .teaser-image {
    margin-bottom: 0;
    min-width: calc(50% - 12px);
  }

  #touren .referenz.col-lg-4:last-child .textbox {
    padding: 25px 25px 0 25px;
  }
}


@media screen and (max-width: 600px) {
  .like-h2, h2 {
    font-size: 28px;
  }

  section.staging {
    padding-bottom: 0;
  }

  body.home section.staging h1, section.staging.subpage h1 {
    margin-bottom: 0;
  }

  body.home section.staging h1 .top, section.staging.subpage h1 .top, h1 {
    font-size: 32px;
  }

  body.home section.staging h1 > span.hero-subtitle, 
  section.staging.subpage h1 > span.hero-subtitle {
    font-size: 22px;
  }

  body .text-image-block .image-text-row .image-wrapper {
    aspect-ratio: 3 / 4;
  }

  .teaser-box {
    margin-bottom: 25px;
  }

  .footer-navigation-wrapper {
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
  }

  .prefooter {
    padding-top: 10px;
    padding-bottom:0px;
  }

  .service-wrapper-outer {
    gap: 0;
  }

  .service-wrapper-outer .slick-list {
    padding-right: 100px; 
    margin-right: -25px;
    margin-left: -5px;
  }

  .service-wrapper-outer .flip-box {
    margin: 5px;
  }

  .flip-box-front .icon {
    max-width: 80px;
    margin-bottom: 15px;
  }

  .flip-box .inner {
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
  }

  .flip-box .inner h3 {
    font-size: 19px;
  }

  ul.slick-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0; 
    list-style: none;
    padding: 0; 
    width: 100%;
  }

  ul.slick-dots button {
    padding: 0; 
    margin: 0 3px; 
    font-size: 0; 
    line-height: 0; 
    background: transparent; 
    padding: 5px;
  }

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

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

  .mobile-menu {
    right: 25px;
    top: 45px;
  }

  body header.sticky .mobile-menu {
    top: 30px;
  }

  body {
    font-size: 17px;
  }

  .schema-faq-question::before, .schema-faq-question::after {
    right: 0;
  }
}
