/*
Theme Name:     Faßnacht Horb
Author:         2code
Description:    Faßnacht Horb Theme
Version:        1.0
License:        GNU General Public License v2 or later
*/

@font-face {
  font-family: "Roboto";
  src: url("assets/fonts/Roboto/static/Roboto-Regular.ttf") format("truetype");
  font-weight: 400;
}

@font-face {
  font-family: "Roboto";
  src: url("assets/fonts/Roboto/static/Roboto-Bold.ttf") format("truetype");
  font-weight: 700;
}

@media (min-width: 1240px) {
  .container {
    max-width: 1240px;
  }
}

:root {
  --red: #e7000e;
  --dark-red: #9a0e16;
  --blue: #003869;

  --blue-light: #636386;
  --green: #e30613;
  --icon-size: 40px;
  --header-height: 66px;
}

html {
  margin: 0;
  position: relative;
  scrollbar-width: thin;
}

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

video {
  max-width: 100%;
}

body {
  font-family: "Roboto";
  font-size: 16px;
  line-height: 19.2px;
  color: var(--blue-light);
  background-color: #fff;
  font-weight: 400;
  position: relative;
}

h1 {
  font-size: 119px;
  line-height: 108px;
  letter-spacing: -0.04rem;
  color: var(--blue);
  margin-bottom: 32px;
}

h2 {
  font-size: 36px;
  line-height: 58px;
  letter-spacing: -0.04rem;
  color: var(--blue);
  margin-bottom: 28px;
}

h3 {
  font-size: 45px;
  line-height: 58px;
  color: var(--blue);
  letter-spacing: -0.04rem;
  margin-bottom: 10px;
}

h4 {
  font-size: 26px;
  line-height: 31.2px;
  font-weight: 700;
  letter-spacing: -0.04rem;
  color: var(--blue);
  margin-bottom: 6px;
}

p {
  line-height: 27px;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a {
  word-break: break-word;
}

button,
a.button-link,
header li.button a,
input.wpcf7-submit {
  display: inline-block;
  background-color: var(--green);
  color: #fff;
  padding: 15.5px 40px;
  border-radius: 4px;
  border: none;
  max-width: 100%;
  border: 1px solid var(--green);
  text-decoration: none;
  flex-shrink: 0;
  font-size: 20px;
  line-height: 24px;
  font-weight: 400;
  transition: all 0.5s;
}

input.wpcf7-submit:hover,
button:hover,
a.button-link:hover,
header li.button a:hover {
  background-color: #fff;
  color: var(--green);
}

header li.button a {
  font-size: 16px;
  line-height: 19.2px;
}

input,
textarea {
  font-size: 20px;
  line-height: 24px;
  padding: 15.5px;
  border-radius: 4px;
  border: 1px solid var(--blue-light);
  width: 100%;
  margin-bottom: 6px;
  color: #636386;
}

input::placeholder,
textarea::placeholder {
  color: #636386;
}

form p {
  margin-bottom: 0;
}

form br {
  display: none;
}

.wpcf7-form-control-wrap {
  display: flex;
  width: 100%;
}

input.wpcf7-submit {
  margin-bottom: 0;
}

p + .wpcf7 {
  margin-top: 40px;
}

header li.button a {
  padding: 11px 25px;
}

a {
  color: #1d1d36;
}

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

nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

header a,
footer a {
  text-decoration: none;
}

section .wpcf7-spinner {
  display: none;
}

img.icon {
  width: 24px;
  height: auto;
}

.icon-wrap {
  cursor: pointer;
  border: none;
}

.overlay {
  background-color: #2a2a3c6b;
  width: 100%;
  height: 100vh;
  height: 100svh;
  position: absolute;
  top: 0;
  left: 0;
}

.overlayed::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(42, 42, 60, 0.42);
  pointer-events: none;
}

button.slick-prev,
button.slick-next {
  border-radius: 50%;
  width: 48px;
  height: 48px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
}

section div.buttons {
  display: flex;
  gap: 8px;
}

section {
  display: inline-block;
  width: 100%;
  position: relative;
}

section .container > .row,
section .container > .row > * {
  --bs-gutter-x: 55px;
  --bs-gutter-y: 55px;
}

/* TEXT TEMPLATE */

p + .wp-block-heading {
  margin-top: 56px;
}

section.text-template > .container > section {
  padding-top: 117px;
}

section.text-template > .container {
  max-width: unset;
  padding: 0;
}

section.text-template > .container > *:not(section) {
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
section.text-template > .container > section:first-child {
  margin-bottom: 120px;
}

/* For large devices (≥992px) */
@media (min-width: 992px) {
  section.text-template > .container > *:not(section) {
    max-width: 960px;
  }
}

/* For extra large devices (≥1200px) */
@media (min-width: 1200px) {
  section.text-template > .container > *:not(section) {
    max-width: 1140px;
  }
}

/* For extra extra large devices (≥1400px) */
@media (min-width: 1400px) {
  section.text-template > .container > *:not(section) {
    max-width: 1320px;
  }
}

@media (min-width: 1240px) {
  section.text-template > .container > *:not(section) {
    max-width: 1240px;
  }
}

/* HEADER & FOOTER */
header a:hover,
header .current-menu-item a,
footer a:hover,
footer .current-menu-item a {
  color: var(--green);
}

/* HEADER */
header {
  padding: 12px 0;
  background-color: #fff;
  color: var(--blue);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 10;
}

body.error404 header {
  position: relative;
}

header > .container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  --webkit-justify-content: space-between;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}
header > .container > * {
  flex-shrink: 0;
}

header a {
  color: #1d1d36;
}

header img {
  height: 42px;
  width: auto;
}

header nav ul {
  gap: 35px;
}

header .row {
  align-items: center;
  justify-content: space-between;
  --webkit-justify-content: space-between;
}

/* header mobile */
img.menu-icon {
  height: 16px;
  width: auto;
  padding: 0;
}

img.menu-icon.close {
  height: 30px;
  width: auto;
}

section.mobile-menu {
  width: 78%;
  height: 100vh;
  height: 100svh;
  position: fixed;
  top: 0;
  background: rgb(0, 0, 0, 0.5);
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  flex-direction: column;
  padding-top: 80px;
  padding-bottom: 80px;
  z-index: 10;
  margin-left: 22%;
  background-color: #e30613;
}

section.mobile-menu nav ul {
  flex-direction: column;
  align-items: start;
  justify-content: center;
  gap: 20px;
}

section.mobile-menu .container,
section.mobile-menu nav,
section.mobile-menu ul {
  height: 100%;
}

section.mobile-menu nav ul a {
  text-decoration: none;
  display: inline-block;
  font-size: 28px;
  line-height: 34px;
  color: #fff;
}

section.mobile-menu nav ul li.current-menu-item a {
  font-weight: 700;
}

body.open-menu {
  overflow: hidden;
}

/* FOOTER */
footer {
  padding-top: 118px;
  padding-bottom: 35px;
}

footer nav {
  display: flex;
}

footer nav ul {
  gap: 30px;
}

footer li.button {
  display: none;
}

footer .top-row a img.logo {
  height: 88px;
}

footer .top-row,
footer .bottom-row .bottom-row-menu {
  display: flex;
  justify-content: space-between;
  --webkit-justify-content: space-between;
}

footer .bottom-row .bottom-row-menu a,
footer .bottom-row .bottom-row-menu {
  color: #767683;
}

footer .bottom-row .contact a:hover,
footer .bottom-row .bottom-row-menu a:hover,
footer .bottom-row .bottom-row-menu .current-menu-item a {
  color: var(--green);
}

footer .top-row-right {
  display: flex;
  flex-direction: column;
  align-items: end;
  justify-content: center;
  gap: 17px;
}

footer .top-row .socials {
  display: flex;
  gap: 10px;
}

footer .bottom-row .contact {
  display: flex;
  justify-content: space-between;
  --webkit-justify-content: space-between;
  gap: 10px;
  padding-top: 18px;
  margin-top: 28px;
  margin-bottom: 28px;
  border-top: 1px solid #a0a0b5;
}

footer .bottom-row .contact a,
footer .bottom-row .contact span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #1d1d36;
}

footer .contact img.icon {
  width: 18px;
}

/* TEMPLATE PARTS */

/* 404 */
section.text-404 {
  padding-top: 120px;
  padding-bottom: 120px;
}

/* HERO */
section.hero {
  padding-top: 0 !important;
  display: flex;
  flex-direction: column;
  margin-top: var(--header-height);
}

section.hero + section {
  padding-top: 120px;
}

section.hero.size-big .container {
  top: 0;
  height: 100%;
  padding-top: 140px;
  padding-top: 29.4svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  --webkit-justify-content: space-between;
  min-height: fit-content;
  gap: 20px;
}

section.hero.size-small .container {
  top: 138px;
}

section.hero.size-small video,
section.hero.size-small img.heroimage {
  aspect-ratio: 1440 / 600;
  object-fit: cover;
  max-height: 600px;
}

section.hero .container {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 1;
}

section.hero .textcontent {
  color: #fff;
  width: 100%;
  max-width: 100%;
}
section.hero.size-big .textcontent {
  max-width: 700px;
}

section.hero img.heroimage,
section.hero video {
  width: 100%;
  object-fit: cover;
}

section.hero video,
section.hero.size-big img.heroimage {
  height: calc(100vh - var(--header-height));
  height: calc(100svh - var(--header-height));
}

section.hero .textcontent p {
  font-size: 22px;
  line-height: 37px;
}

section.hero h1 {
  color: #fff;
}

section.hero .icon-wrap {
  background-color: var(--red);
  padding: 19px;
  border-radius: 50%;
  width: fit-content;
  margin-top: 0;
  margin-bottom: 40px;
}

/* QUICKLINKS */
section.quicklinks + section {
  padding-top: 117px;
}

section.quicklinks + section.text-left-right {
  padding-top: 60px;
}

section.quicklinks h4 {
  color: #1d1d36;
}

section.quicklinks.space h4 {
  margin-top: 60px;
}

section.quicklinks a {
  text-decoration: none;
  background-color: #eaeff5;
  border-radius: 4px;
  transition: all 0.4s;
}

section.quicklinks a:hover {
  background-color: #003869;
  color: white !important;
}

section.quicklinks a:hover h4 {
  color: white !important;
}

section.quicklinks .quicklinks-wrap {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 1fr 1fr;
  row-gap: 48px;
}

section.quicklinks .quicklinks-wrap > * {
  flex: 1 1 calc(33% - 20px);
  box-sizing: border-box;
  color: #1d1d36;

  border-radius: 4px;
}

section .quicklink-link {
  float: left;
  width: 100%;
}

section .quicklink-link span {
  float: right;
}
section.quicklinks .rolling-icon-wrap {
  padding-right: 10px;
}

section.quicklinks .quicklinks-text-wrap {
  padding: 18px;
}

section.quicklinks svg {
  width: auto;
  height: calc(var(--icon-size) - 2px);
}

section.quicklinks i {
  font-size: 40px;
}

/* rolling icon */
.rolling-icon-wrap {
  position: relative;
  width: 100%;
  text-align: right;
  overflow: hidden;
  height: var(--icon-size);
  display: flex;
  flex-direction: column;
  align-items: end;
}

.rolling-icon-wrap .rolling-icon,
.rolling-icon-wrap .icon {
  flex: 1;
  transition: all 0.4s;
}

.rolling-icon-wrap .rolling-icon {
  transform: translate(calc(-1 * var(--icon-size)), 1px);
}

section.events .event-link:hover .rolling-icon-wrap .icon,
section.quicklinks a:hover .rolling-icon-wrap .icon {
  transform: translate(var(--icon-size), calc(-1 * var(--icon-size)));
}

section.events .event-link:hover .rolling-icon-wrap .rolling-icon,
section.quicklinks a:hover .rolling-icon-wrap .rolling-icon {
  transform: translate(0, calc(-1 * var(--icon-size)));
}

section.events .rolling-icon-wrap {
  position: absolute;
  right: 0;
  top: 0;
}

/* TEXT LEFT RIGHT */
section.text-left-right {
  padding-top: 60px;
}

section.text-left-right + section {
  padding-top: 93px;
}

section.text-left-right h1,
section.text-left-right h2,
section.text-left-right h3 {
  color: var(--blue);
  margin-bottom: 35px;
}

section.text-left-right .left-right-wrap {
  display: flex;
  gap: 20px;
}

section.text-left-right .text-right {
  padding: 15px 0;
}

section.text-left-right .text-right img,
section.text-left-right .text-right video {
  float: left;
  width: 50%;
  margin-right: 20px;
  border-radius: 4px;
}

section.text-left-right .text-right + .text-right {
  border-top: 1px solid #c1c1cf;
}

section.text-left-right .text-right::after {
  content: "";
  display: table;
  clear: both;
}

section.text-left-right button {
  min-width: 203px;
}

section.text-left-right .left,
section.text-left-right .right {
  flex: 1 1 calc(50% - 20px);
}

/* SLIDER */
section.slider + section {
  margin-top: 120px;
}

section.slider button.slick-prev,
section.slider button.slick-next {
  background: #ffffff29;
  backdrop-filter: blur(34.8px);
  -webkit-backdrop-filter: blur(34.8px);
}

section.slider .container {
  position: absolute;
  top: 0;
  bottom: 0;
  height: fit-content;
  left: 0;
  right: 0;
  margin: auto;
}

section.slider .slide-content {
  position: relative;
}

section.slider .textcontent {
  background-color: #fff;
  color: var(--blue);
  padding: 60px 40px;
  border-radius: 4px;
  max-width: 766px;
  width: 100%;
}

section.slider p {
  color: var(--blue-light);
  margin-bottom: 32px;
  font-weight: 400;
  font-size: 16px;
  line-height: 27px;
  letter-spacing: 0%;
}

section.slider h2 {
  font-weight: 400;
  font-size: 62px;
  line-height: 63px;
  letter-spacing: -4%;
  color: #1d1d36;
}

section.text + section.slider p {
  font-weight: 400;
  font-size: 16px;
  line-height: 27px;
  letter-spacing: 0%;
  color: #636386;
  margin-bottom: 40px;
}

section.text + section.slider span.lightblue {
  font-weight: 700;
  font-size: 16px;
  line-height: 27px;
  letter-spacing: 0%;
  background-image: url("/wp-content/themes/fassnacht/assets/images/icons/phoneb.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left;
  width: 18px;
  height: 18px;
  padding-left: 30px;
}

section.quicklinks.backgroundcolor- + section.slider h2 {
  margin-bottom: 12px;
  color: #1d1d36;
  font-weight: 400;
  font-size: 40px;
  line-height: 50px;
  letter-spacing: -4%;
}

section.slider img.slider-image {
  height: 618px;
  width: 100%;
  object-fit: cover;
  object-position: bottom;
}

section.slider div.buttons {
  position: absolute;
  right: calc(var(--bs-gutter-x) * 0.5);
  bottom: 0;
}

/* Testimonials */
section.testimonials + section {
  margin-top: 220px;
}

section.testimonials .testimonials-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  --webkit-justify-content: space-between;
}

section.testimonials .testimonials-slider {
  mask-image: linear-gradient(
    to right,
    transparent,
    black 15%,
    black 85%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 15%,
    black 85%,
    transparent
  );
}

section.testimonials .slick-list {
  padding: 0 !important;
}

section.testimonials .slide-content {
  border: 1px solid #a0a0b5;
  padding: 19px;
  margin: 0 10px;
  height: auto;
  display: flex;
  flex-direction: column;
  border-radius: 4px;
}

section.testimonials .slick-track {
  display: flex;
  flex-wrap: nowrap;
}

section.testimonials h2 {
  margin-bottom: 40px;
}

section.testimonials h3 {
  font-size: 28px;
  line-height: 33.6px;
  font-weight: 700;
  letter-spacing: -0.04rem;
}

section.testimonials .reviewer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

section.testimonials button.slick-prev,
section.testimonials button.slick-next {
  background: var(--green);
}

/* TEAM */
section.team + section {
  margin-top: 120px;
}

section.team h2 {
  margin-bottom: 28px;
}

section.team .textcontent {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 40px;
  margin-bottom: 40px;
}

section.team .textcontent .text {
  flex: 1;
  margin: 0;
}

section.team .textcontent .button-link {
  flex-shrink: 0;
  white-space: nowrap;
}

section.team .team-boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  --webkit-justify-content: space-between;
  gap: 18px;
}

section.team .team-box {
  flex: 0 1 calc(25% - 18px);
}

section.team img.team-image {
  margin-bottom: 18px;
  width: 100%;
  aspect-ratio: 295 / 231;
  object-fit: cover;
}

/* EVENTS */
section.events + section {
  margin-top: 120px;
}

section.events {
  --icon-size: 20px;
}

section.events h2 {
  margin-bottom: 20px;
  font-size: 62px;
  line-height: 63px;
  color: #1d1d36;
}

section.events .text p {
  font-weight: 400;
  font-size: 16px;
  line-height: 27px;
  letter-spacing: -4%;
  color: #636386;
}

section.events input {
  width: 100%;
}

section.events input {
  width: 100%;
}

section.events form {
  margin-top: 38px;
}

section.events .event-content p,
section.events a:hover .event-content p {
  color: var(--blue-light);
  font-weight: 400;
  font-size: 16px;
  line-height: 27px;
  letter-spacing: 0%;
}

section.events .event h4 {
  flex: 1;
  margin: 0;
  font-weight: 700;
  font-size: 28px;
  line-height: 33.6px;
  letter-spacing: -4%;
  color: #1d1d36;
}

section.events .event p {
  margin-bottom: 0;
}

section.events .event-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  --webkit-justify-content: space-between;
}

section.events .event-footer p {
  font-size: 12px;
  line-height: 14.4px;
  color: #9292a2;
}

section.events .event-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-right: 25px;
  position: relative;
}

section.events img.link-icon {
  width: 15px;
}

section.events a.event-link {
  text-decoration: none;
}

section.events a.event-link + a.event-link {
  display: inline-block;
  width: 100%;
  border-top: 1px solid #767683;
  padding-top: 40px;
  margin-top: 20px;
}

section.events a.event-link:last-of-type {
  border-bottom: 1px solid #767683;
  padding-bottom: 20px;
}

section.events .event-content {
  padding: 12px 0;
}

section.events img.event-image {
  width: 97px;
  object-fit: cover;
  aspect-ratio: 97 / 94;
}

/* TITLE TEXT */
section.title-text + section {
  padding-top: 117px;
}
section.title-text .left-right-content {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-between;
  --webkit-justify-content: space-between;
  gap: 55px;
}
section.title-text .left-content {
  flex: 0 1 calc(33.33% - 27.5px);
}
section.title-text .right-content {
  flex: 0 1 calc(66.66% - 27.5px);
}

/* TEXT */
section.text + section {
  padding-top: 120px;
}

.subtitle {
  color: #31597f;
  font-size: 16px;
  line-height: 27px;
  margin-bottom: 16px;
}

section.text.backgroundcolor-blue {
  background-color: #003869;
  color: white !important;
  padding-top: 120px;
  padding-bottom: 120px;
}

section.text.backgroundcolor-blue .subtitle {
  color: #b2c3d2;
}

section.text.backgroundcolor-blue h2,
section.text.backgroundcolor-blue p {
  color: white !important;
  font-weight: 400;
  font-size: 36px;
  line-height: 58px;
  letter-spacing: -4%;
}

.slider.without-margin-1 {
  padding-top: 0px;
}

.lightblue {
  color: #31597f;
}

section.quicklinks h2 {
  font-size: 62px;
  line-height: 63px;
  margin-bottom: 24px;
  color: #1d1d36;
}

section.quicklinks .text {
  margin-bottom: 24px;
}

section.quicklinks.backgroundcolor-blue {
  background-color: #003869;
  padding-top: 120px;
  padding-bottom: 120px;
}

section.quicklinks.backgroundcolor-blue p,
section.quicklinks.backgroundcolor-blue h2,
section.quicklinks.backgroundcolor-blue h4 {
  color: white !important;
}

section.quicklinks.backgroundcolor-blue a {
  background-color: #0e4372;
}

section.quicklinks.backgroundcolor-blue .quicklinks-wrap > * {
  color: white;
}

.header-menu {
  /* position: relative; */
}

header .header-menu .nav-menu .sub-menu {
  visibility: hidden;
  transition: opacity 0.3s ease-in, visibility 0.3s;
  position: absolute;
  top: 54px;
  left: 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  background-color: white;
  padding: 40px 100px;
  gap: 20px;
  width: 100vw;
  margin-top: 13px;
  padding-bottom: calc(40px + 54px);
  margin-left: auto;
  margin-right: auto;
}

header .menu-item:hover .sub-menu {
  visibility: visible;
  opacity: 1;
}

ul.sub-menu > li.menu-item {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-self: flex-start;
}

ul.sub-menu > li.menu-item a {
  font-weight: 700;
  font-size: 16px;
  line-height: 19.2px;
  letter-spacing: 0%;
  color: #1d1d36;
  margin-bottom: 12px;
  padding-bottom: 12px;
  margin-left: auto;
  margin-right: auto;
  width: 159px;
}

ul.sub-menu > li.menu-item:has(.sub-menu) a {
  border-bottom: 1px solid #e0e0e7;
}

html
  body
  header
  div.container
  div.header-menu
  nav
  ul.sub-menu
  li.menu-item
  ul.sub-menu {
  position: relative;
  display: flex;
  width: auto;
  padding: 0px;
  flex-direction: column;
  margin-top: 0px;
  border-top: 0px;
  margin-top: -54px;
  gap: 8px;
}

nav > ul > li > ul.sub-menu {
  border-top: 1px solid #e0e0e7;
}

html
  body
  header
  div.container
  div.header-menu
  nav
  ul.sub-menu
  li.menu-item
  ul.sub-menu
  li
  a {
  font-weight: 400;
  font-size: 16px;
  line-height: 19.2px;
  letter-spacing: 0%;
  color: #1d1d36cc;
  margin: 0px;
  padding: 0px;
}

html
  body
  header
  div.container
  div.header-menu
  nav
  > ul.sub-menu
  li.menu-item
  ul.sub-menu
  li
  > a {
  border: 1px solid #63638633;
}

.menu-item ul .menu-item ul a {
  border: 0px solid white !important;
}

html body header nav ul.sub-menu .menu-item-353 a {
  width: 228px;
}

@media (max-width: 1399.98px) {
}

@media screen and (min-width: 992px) and (max-width: 1199.98px) {
  header .header-menu .nav-menu .sub-menu {
    padding-left: 50px;
    padding-right: 50px;
  }
}

@media (max-width: 991.98px) {
  :root {
    --header-height: 60px;
  }

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

  h1 {
    font-size: 70px;
    line-height: 62px;
    margin-bottom: 8px;
  }

  h2 {
    font-size: 40px;
    line-height: 42px;
    margin-bottom: 8px;
  }

  h3 {
    font-size: 28px;
    line-height: 38px;
  }

  h4 {
    font-size: 24px;
    line-height: 28.8px;
  }

  /* TEXT TEMPLATE */
  section.text-template > .container > *:not(section) {
    padding-left: var(--bs-gutter-x);
    padding-right: var(--bs-gutter-x);
  }

  /* HEADER */
  header img {
    height: 36px;
  }

  /* TEMPLATE PARTS */

  /* HERO */
  section.hero .textcontent p {
    font-size: 20px;
    line-height: 23px;
  }
  section.hero .icon-wrap {
    margin-bottom: 18px;
  }

  /* SLIDER */
  section.slider div.buttons {
    display: none;
  }

  section.slider .textcontent {
    max-width: 100%;
    padding: 20px;
  }

  /* QUICKLINKS */
  section.quicklinks .quicklinks-wrap > * {
    flex: 0 1 calc(50% - 20px);
  }

  section.quicklinks .quicklinks-wrap {
    gap: 20px;
  }

  /* TEAM */
  section.team .team-box {
    flex: 0 1 calc(50% - 10px);
  }

  /* FOOTER */
  footer {
    padding-top: 88px;
    padding-bottom: 20px;
  }

  footer .top-row {
    flex-direction: column;
    justify-content: start;
    align-items: start;
  }

  footer .top-row a img.logo {
    height: 64px;
    margin-bottom: 10px;
  }

  footer .top-row-right {
    flex-direction: row;
    justify-content: space-between;
    --webkit-justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  footer nav {
    flex-direction: column;
  }

  footer .top-row nav ul {
    flex-direction: column;
    align-items: start;
    gap: 17px;
  }

  footer .bottom-row nav ul {
    flex-direction: row-reverse;
    align-items: center;
    gap: 17px;
    justify-content: space-between;
    --webkit-justify-content: space-between;
  }

  footer .top-row .socials {
    gap: 30px;
    flex-direction: column;
  }

  footer .bottom-row .contact {
    gap: 38px;
    margin-bottom: 38px;
    margin-top: 38px;
    padding-top: 20px;
  }

  footer .bottom-row .bottom-row-menu {
    flex-direction: column;
    gap: 18px;
  }
}

@media (min-width: 768px) {
  section.testimonials .slide-content {
    width: 25% !important;
  }

  section.testimonials .slide-content.slick-slide.slick-current.slick-active {
    width: 50% !important;
  }
}

@media (max-width: 767.98px) {
  .container,
  section .container > .row,
  section .container > .row > * {
    --bs-gutter-x: 20px;
    --bs-gutter-y: 20px;
  }

  /* TEXT TEMPLATE */
  section.text-template > .container > section:first-child {
    margin-bottom: 88px;
  }

  /* FOOTER */
  footer .bottom-row .contact span {
    max-width: 300px;
    width: 100%;
  }
  footer .top-row a img.logo {
    height: auto;
    width: 100%;
  }

  /* HERO */
  section.hero + section {
    padding-top: 80px;
  }
  section.hero.size-small img.heroimage {
    min-height: 200px;
  }
  section.hero.size-big .container {
  }

  section.hero.size-small .container {
    top: 28px;
  }

  /* QUICKLINKS */
  section.quicklinks + section.text-left-right {
    padding-top: 64px;
  }

  section.quicklinks .quicklinks-wrap > * {
    flex: 0 1 100%;
    /* padding-right: 30px;
    padding-top: 18px; */
  }
  section.quicklinks .rolling-icon-wrap {
    padding-right: 0;
  }

  section.quicklinks .rolling-icon-wrap {
    margin-top: 8px;
  }

  section.quicklinks.space h4 {
    margin-top: 20px;
  }

  /* TITLE TEXT */
  section.title-text .left-content {
    flex: 1 1 auto;
  }
  section.title-text .right-content {
    flex: 1 1 auto;
  }
  section.title-text .left-right-content {
    gap: 18px;
  }

  /* TEXT LEFT RIGHT */
  section.text-left-right + section {
    padding-top: 88px;
  }

  section.text-left-right .left-right-wrap {
    flex-direction: column;
    gap: 23px;
  }

  section.text-left-right h3 {
    margin-bottom: 18px;
  }

  section.text-left-right .text-right img,
  section.text-left-right .text-right video {
    width: 100%;
    margin-right: 0;
    margin-bottom: 10px;
  }

  /* SLIDER */
  section.slider + section {
    margin-top: 78px;
  }
  section.slider img.slider-image {
    height: calc(100vh - var(--header-height));
    height: calc(100svh - var(--header-height));
  }

  section.slider .container {
    bottom: unset;
    top: 40px;
  }

  /* EVENTS */
  section.events + section {
    margin-top: 90px;
  }

  section.events h2 {
    margin-bottom: 18px;
  }

  section.events form {
    margin-top: 18px;
  }

  p + .wpcf7 {
    margin-top: 18px;
  }

  section.events .text {
    margin-bottom: 18px;
  }

  section.events .event-head {
    flex-direction: column;
    align-items: start;
  }

  section.events a.event-link + a.event-link {
    margin-top: 17px;
  }

  section.events input {
    max-width: 413px;
  }

  /* TESTIMONIALS */
  section.testimonials + section {
    margin-top: 88px;
  }

  section.testimonials .testimonials-slider {
    mask-image: unset;
    -webkit-mask-image: unset;
  }

  section.testimonials h2 {
    margin-bottom: 22px;
  }

  section.testimonials h3 {
    font-size: 20px;
    line-height: 24px;
  }

  section.testimonials .slide-content {
    padding: 15px;
    margin: 0 5px;
  }

  section.testimonials .buttons {
    justify-content: center;
    margin-top: 18px;
    gap: 18px;
  }
  section.testimonials .slick-track {
    scale: 0.92;
    margin-left: -36%;
  }

  /* TEAM */
  section.team + section {
    margin-top: 88px;
  }

  section.team .textcontent {
    flex-direction: column;
    gap: 18px;
    align-items: start;
  }

  section.team h2 {
    margin-bottom: 18px;
  }

  section.team .team-box {
    flex: 0 0 calc(75% - 10px);
  }

  section.team .team-boxes {
    flex-wrap: nowrap;
    overflow: auto;
    max-width: none;
    flex-direction: row;
    width: calc(100% + 18px);
  }

  section.team .team-boxes::-webkit-scrollbar {
    display: none;
  }

  section.team .team-boxes {
    scrollbar-width: none;
  }

  section.team .team-box:last-of-type {
    padding-right: 18px;
  }

  section.mobile-menu nav > ul li > ul {
    display: none;
  }

  section.mobile-menu nav > ul {
    justify-content: flex-start !important;
    padding-top: 15px;
  }

  section.hero.overlayed.size-big .container h1 {
    font-weight: 400;
    font-size: 58px;
    line-height: 62px;
    letter-spacing: -4%;
  }

  section.hero.overlayed.size-big .container h1 br {
    display: none;
  }

  section.text .subtitle {
    font-weight: 400;
    font-size: 16px;
    line-height: 27px;
    letter-spacing: 0%;
    color: #636386;
  }

  section.text .text h2 {
    font-weight: 400;
    font-size: 26px;
    line-height: 46px;
    letter-spacing: -4%;
    color: #1d1d36 !important;
  }

  section.text + section {
    padding-top: 80px;
  }

  section.quicklinks .quicklinks-wrap {
    grid-template-columns: 1fr;
  }

  section.quicklinks .quicklinks-text-wrap {
    padding-top: 20px;
  }

  section.quicklinks + section {
    padding-top: 80px;
  }

  body section.events .row > div + div {
    margin-top: 22px;
  }

  section.text.backgroundcolor-blue {
    background-color: #f3f7ff;
    color: #1d1d36;
    padding: 80px 0px;
  }

  section.text.backgroundcolor-blue .subtitle {
    color: #636386;
  }

  section.slider h2 {
    font-weight: 400;
    font-size: 40px;
    line-height: 63px;
    letter-spacing: -4%;
    color: #1d1d36;
    margin-bottom: 12px;
  }

  section.slider h2 + p {
    margin-bottom: 28px !important;
  }

  html body section.slider .textcontent span.lightblue {
    margin-top: -12px;
    font-weight: 700;
    font-size: 15px;
    line-height: 27px;
    letter-spacing: 0%;
    color: #636386;
    margin-bottom: 32px;
  }

  html body section.slider .textcontent span.lightblue + p {
    display: none;
  }

  html body section.slider .textcontent span.lightblue + p + p {
    padding-top: 32px;
  }

  section.quicklinks h2 {
    font-weight: 400;
    font-size: 40px;
    line-height: 63px;
    letter-spacing: -4%;
    color: #1d1d36;
  }

  section.slider + section.quicklinks .quicklinks-wrap {
    gap: 48px;
  }

  section.quicklinks + section.quicklinks .quicklinks-wrap {
    gap: 48px;
  }

  section.quicklinks.backgroundcolor-
    + section.quicklinks.backgroundcolor-blue {
    margin-top: 80px !important;
    padding: 80px 0px;
  }

  html body section.overlayed:has(h2) h2 {
    font-weight: 400;
    font-size: 70px;
    line-height: 62px;
    letter-spacing: -4%;
    color: #ffffff;
    padding-top: 124px;
  }

  main section.overlayed:has(h2) button {
    display: flex;
    position: absolute;
    bottom: 2px;
  }

  main section.overlayed:has(h2) .heroimage {
    object-fit: cover;
    object-position: right;
    height: calc(100svh - var(--header-height)) !important;
  }

  main section.title-text .left-content .title p {
    font-weight: 400;
    font-size: 40px;
    line-height: 42px;
    letter-spacing: -4%;
    margin-bottom: 32px;
  }

  main section.text-switch {
    padding: 40px 0px 529px 0px !important;
  }

  main section.text-switch .content {
    padding: 20px 16px;
    background-color: white;
    width: 100%;
  }

  main section.text-switch .content h3 {
    font-weight: 400;
    font-size: 36px;
    line-height: 50px;
    letter-spacing: -4%;
  }

  main section.text-switch + section.text-switch {
    margin-top: 40px;
  }

  body section.text-template section.hero h2 {
    font-weight: 400;
    font-size: 36px;
    line-height: 45px;
    letter-spacing: -4%;
    text-align: center;
    padding: 0px !important;
  }

  body section.text-template section.hero p {
    font-size: 14px;
    padding: 0px !important;
  }

  body.privacy-policy section.text-template p {
    font-size: 14px;
    line-height: 26px;
  }

  body.privacy-policy section.text-template h4 {
    font-size: 18px;
  }

  body.privacy-policy section.text-template h3 {
    font-size: 22px;
    line-height: 32px;
  }

  body.privacy-policy section.text-template p + h3,
  body.privacy-policy section.text-template p + h4 {
    margin-top: 40px;
  }

  body.privacy-policy section.text-template ol {
    padding-left: 55px !important;
    font-size: 14px;
    line-height: 26px;
  }

  section.text-template > .container > :not(section) {
    padding-left: 32px;
    padding-right: 32px;
  }

  html footer .top-row nav ul {
    flex-direction: column;
    align-items: start;
    gap: 37px;
  }

  html footer li.button {
    display: inline-block;
  }

  footer .top-row-right {
    margin-top: 24px;
    margin-bottom: -23px;
  }
}

@media (max-width: 992px) {
  /** Mobile menu **/

  section.mobile-menu nav ul {
    justify-content: start !important;
  }

  section.mobile-menu > div.container {
    padding: 0px;
  }

  section.mobile-menu nav ul {
    gap: 0px;
  }

  section.mobile-menu nav ul a {
    font-weight: 400;
    font-size: 24px;
    line-height: 62px;
    letter-spacing: -4%;
    padding-left: 20px;
  }

  section.mobile-menu nav ul li.current-menu-item a {
    background-image: url("/wp-content/themes/fassnacht/assets/images/icons/line.svg");
    font-weight: 400;
    background-size: 6px 52px;
    background-repeat: no-repeat;
    background-position: left;
  }

  li.mobile-special {
    background-image: url("/wp-content/themes/fassnacht/assets/images/icons/arrowbig.svg");
    background-repeat: no-repeat;
    background-position: calc(75vw - 45px) 25px;
    transition: transform 0.3s ease-in-out;
    width: 100%;
  }

  li.mobile-special.rotated {
    background-image: url("/wp-content/themes/fassnacht/assets/images/icons/arrowbig-rotated.svg"); /* Geändertes Bild */
    background-position: calc(75vw - 45px) 35px;
    background-color: #b40711;
    padding-bottom: 33px;
  }

  li.mobile-special a {
    max-width: 152px;
    line-height: 32px !important;
    margin-top: 16px;
    margin-bottom: 16px;
  }

  html nav > ul > li > ul.sub-menu {
    border-top: 0px;
    justify-content: flex-start;
    height: auto;
    gap: 0px;
  }

  html ul.sub-menu > li.menu-item:has(.sub-menu) a {
    border-bottom: 0px;
    background-image: none !important;
    font-weight: 400;
    font-size: 18px;
    line-height: 37px;
    letter-spacing: -4%;
    color: #ffffff;
    margin: 0px;
    margin-left: 0px;
    margin-left: 0px;
    padding: 0px;
    margin-left: 45px;
    background-repeat: no-repeat;
    background-position: right;
    width: 128px;
  }

  html ul.sub-menu > li.menu-item:has(.sub-menu) {
    background-image: url("/wp-content/themes/fassnacht/assets/images/icons/arrowrightsmall.svg");
    background-repeat: no-repeat;
    background-position: right;
    width: 100%;
  }

  ul.sub-menu > li.menu-item:nth-of-type(4),
  ul.sub-menu > li.menu-item:nth-of-type(5) {
    display: none;
    visibility: hidden;
  }

  nav > .nav-menu > li {
    padding: 0px 35px;
  }

  ul.sub-menu > li.menu-item:has(.sub-menu) {
  }

  ul.sub-menu > li.menu-item:has(.sub-menu).rotated {
    background-image: url("/wp-content/themes/fassnacht/assets/images/icons/arrowdownsmall.svg") !important;
  }

  li.rotated.new > ul li {
    display: flex !important;
    visibility: visible !important;
  }

  ul.sub-menu > li.menu-item:has(.sub-menu).rotated.new {
    background-position: right 25px;
    background-color: #98050d;
    box-shadow: -35px 0px 0px 0px #98050d, 200px 0px 0px 0px #98050d;
    padding-top: 8px;
  }

  ul.sub-menu:first-of-type > li.menu-item:has(.sub-menu).rotated.new {
    background-position: right 17px;
  }

  ul.sub-menu > li.menu-item:has(.sub-menu).rotated.new + li {
    background-position-y: 13px;
  }

  ul.sub-menu > li.menu-item:has(.sub-menu).rotated.new ul {
    margin-bottom: 8px;
  }

  #menu-item-345.rotated {
    background-position-y: 27px !important;
  }

  ul.sub-menu > li.menu-item:has(.sub-menu).rotated.new ul a {
    width: 100%;
    hyphens: auto;
    line-height: 30px !important;
    font-size: 14px !important;
    letter-spacing: -4% !important;
    margin-top: 2px;
  }

  ul.sub-menu
    > li.menu-item:has(.sub-menu).rotated.new
    + li.menu-item:has(.rotated) {
    padding-top: 8px;
  }

  html ul.sub-menu > li.menu-item:nth-of-type(3) a {
    line-height: 23px !important;
    margin-top: 5px;
  }

  html ul.sub-menu > li.menu-item.rotated.new:nth-of-type(3) {
    margin-bottom: -33px;
  }

  ul.sub-menu > li.menu-item:has(.sub-menu).rotated.new + li a {
    margin-top: 8px;
  }

 .rotated + #menu-item-348.rotated {
    background-position-y: 25px;
  }
}

@media (max-width: 350px) {

}

@media (max-width: 575.98px) {
}

@media (max-width: 414.98px) {
  section.hero.size-big .container {
    padding-top: 25.4svh;
  }
}

section.hero.overlayed.size-big h1 {
  font-weight: 400;
  font-size: 90px;
  line-height: 108px;
  letter-spacing: -4%;
}

section.text.backgroundcolor-white h2 {
  margin-bottom: 56px;
  color: #1d1d36;
}

.span-container {
  display: flex;
  gap: 10px;
  align-items: center;
  float: right;
  margin-top: 24px;
}

section.quicklinks .subtitle {
  margin-bottom: 24px;
}

section.quicklinks h4 {
  margin-bottom: 12px;
}

section.events .row > div + div {
  margin-top: 75px;
}

section.text.backgroundcolor-blue h2 {
  margin-bottom: 56px;
}

footer .sub-menu {
  display: none;
}

section.quicklinks.backgroundcolor- + section.quicklinks.backgroundcolor-blue {
  margin-top: 120px;
}

section.quicklinks.backgroundcolor-blue .container .text h2 + p {
  color: #b2c3d2 !important;
}

/* section.overlayed:has(h2),
section.overlayed:has(h2) .heroimage {
  height: 600px !important;
  min-height: 600px !important;
  object-fit: cover;
  object-position: 0px -202px;
} */

section.overlayed:has(h2) h2 {
  font-weight: 400;
  font-size: 90px;
  line-height: 108px;
  letter-spacing: -4%;
  color: white;
}

section.overlayed:has(h2) button {
  display: none;
}

section.hero.size-big:has(h2) .container {
  padding-top: 0px;
  display: flex;
  justify-content: center;
}

section.title-text {
  padding-bottom: 120px;
}

section.title-text .left-content .title p {
  font-weight: 400;
  font-size: 62px;
  line-height: 63px;
  letter-spacing: -4%;
  color: #1d1d36;
}

section.title-text .right-content .text p {
  font-weight: 400;
  font-size: 16px;
  line-height: 27px;
  letter-spacing: 0%;
  color: #31597f;
}

section.text-switch {
  padding: 130px 100px !important;
}

section.text-switch + section.text-switch {
  margin-top: 24px;
}

section.text-switch .content {
  padding: 60px 40px;
  background-color: white;
  width: 49%;
}

section.text-switch .content h3 {
  font-weight: 400;
  font-size: 62px;
  line-height: 63px;
  letter-spacing: -4%;
  color: #1d1d36;
}

section.text-switch .content h3 + p {
  font-weight: 400;
  font-size: 16px;
  line-height: 27px;
  letter-spacing: 0%;
  color: #31597f;
  margin-top: 12px;
}

section.text-switch .content p + p {
  margin-top: 32px;
  font-weight: 400;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: 0%;
}

section.text-switch.rechts .content {
  margin-left: auto;
}

footer.footer-default {
  padding-top: 36px;
}

section.text-template section.hero {
  height: 380px !important;
  min-height: 380px !important;
  margin-bottom: 56px !important;
}

section.text-template section.hero::after {
  background: #eaeff5;
}

section.text-template section.hero h2 {
  color: #1d1d36;
  font-weight: 400;
  font-size: 62px;
  line-height: 63px;
  letter-spacing: -4%;
  text-align: center;
  padding: 0px 77px;
  margin-bottom: 24px;
}

section.text-template section.hero p {
  font-weight: 400;
  font-size: 16px;
  line-height: 27px;
  letter-spacing: 0%;
  text-align: center;
  color: #45455a;
  padding: 0px 43px;
}

section.text-template section.hero .container {
  top: 88px;
}

@media (min-width: 767.98px) {
  section.overlayed:has(h2),
  section.overlayed:has(h2) .heroimage {
    height: 600px !important;
    min-height: 600px !important;
    object-fit: cover;
    object-position: 0px -202px;
  }
}

.privacy-policy section.text-template p {
  font-weight: 400;
  font-size: 16px;
  line-height: 27px;
  letter-spacing: 0%;
  color: #45455a;
  margin-bottom: 8px;
}

.privacy-policy section.text-template h4 {
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: 0%;
  color: #1d1d36;
  margin-bottom: 12px;
}

.privacy-policy section.text-template h3 {
  color: #1d1d36;
  font-weight: 700;
  font-size: 30px;
  line-height: 38px;
  letter-spacing: 0%;
  margin-bottom: 16px;
}

.privacy-policy section.text-template p + h3,
.privacy-policy section.text-template p + h4 {
  margin-top: 40px;
}

.privacy-policy section.text-template ol {
  margin-top: 8px;
  padding-left: 45px !important;
  font-weight: 400;
  font-size: 16px;
  line-height: 27px;
  letter-spacing: 0%;
  color: #45455a;
}

body.privacy-policy footer {
  background-color: #eaeff5;
  margin-top: 40px;
}

.page-id-75 section.text-template p {
  font-weight: 400;
  font-size: 16px;
  line-height: 27px;
  letter-spacing: 0%;
  color: #45455a;
  margin-bottom: 8px;
}

.page-id-75 section.text-template h4 {
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: 0%;
  color: #1d1d36;
  margin-bottom: 12px;
}

.page-id-75 section.text-template h3 {
  color: #1d1d36;
  font-weight: 700;
  font-size: 30px;
  line-height: 38px;
  letter-spacing: 0%;
  margin-bottom: 16px;
}

.page-id-75 section.text-template p + h3,
.page-id-75 section.text-template p + h4 {
  margin-top: 40px;
}

.page-id-75 section.text-template ol {
  margin-top: 8px;
  padding-left: 45px !important;
  font-weight: 400;
  font-size: 16px;
  line-height: 27px;
  letter-spacing: 0%;
  color: #45455a;
}

body.page-id-75 footer {
  background-color: #eaeff5;
  margin-top: 56px;
}

span.lightblue + p {
  margin-top: 28px;
}
