/**
 * Theme – Content-Komponenten (portiert aus dem Vorgänger-Theme, inner.css)
 *
 * WICHTIG: Die Klassennamen hier (block--*, instagram-feed, tree-faq,
 * splide-events, lightbox, sec-wrap …) stammen aus GUTENBERG-INHALTEN in der
 * Datenbank und dürfen NICHT auf spnkt-* umbenannt werden — sonst verlieren
 * bestehende Seiteninhalte ihr Styling. (Dokumentierte Ausnahme zur
 * BEM/Prefix-Konvention, siehe CLAUDE.md.)
 *
 * Ausgelassen gegenüber dem Original: Cookie-Banner-Verstärkung (PrivacyBee
 * ersetzt das alte Banner) und die Formular-Sektionen (Fluent Forms bringt
 * eigenes Markup; Basis-Styling in components/fluentform.css).
 *
 * Desktop-first (max-width) — bewusste Projekt-Konvention.
 */

/* HOME *******************************************************************************/

/* ***** Preview Content */

.preview-wrap {
  position: relative;
  pointer-events: none;
}

.preview-wrap h2.preview-text {
  z-index: 10;
  position: absolute;
  border-radius: var(--wp--custom--border-radius--large);
  transform-origin: center center;
  transform: rotate(-10deg) translate3d(-50%, -100%, 0);
  padding: 0.3em 0.375em 0.2em;
  margin: 0;
  line-height: 1em;
  left: 50%;
  top: 50%;
}

.preview-wrap .preview-content {
  opacity: 0.5;
}

/* ***** Social Media */

.instagram-feed .insta-post {
  position: relative;
}

.instagram-feed .insta-post .insta-post__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.instagram-feed .insta-post .insta-post__inner {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 1.5em 2em;
}

.instagram-feed .insta-post .stats-wrap {
  display: flex;
}

/* --- Social Media CTA */

.instagram-feed .social-media-cta {
  z-index: 10;
  position: absolute;
  top: -15%;
  right: -2%;
  width: 26.25rem;
}

.instagram-feed .social-media-cta .social-media-cta__bg,
.instagram-feed .social-media-cta .social-media-cta__bg svg.flower {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.instagram-feed .social-media-cta__inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1em;
  transform-origin: center center;
  transform: rotate(8deg);
}

.instagram-feed .social-media-cta .social-media-cta__bg svg.flower {
  /* Name der Animation, Dauer (z.B. 10 Sekunden), linearer Ablauf, unendlich oft */
  animation: spin 40s linear infinite;

  /* Wichtig, damit sich das SVG um den eigenen Mittelpunkt dreht */
  transform-origin: center;
}

/* Definition der Drehung von 0 auf 360 Grad */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.instagram-feed .social-media-cta__content {
  position: absolute;
  top: 0;
  transform: translateY(9rem);
}

.instagram-feed .social-media-cta .social-icons-wrap {
  max-width: 12rem;
  margin: 0 auto;
}

/* ***** Forest */

.tree-faq .tree-wrap {
  position: relative;
  width: 25rem;
}

.tree-faq .tree-wrap,
.tree-faq .tree-wrap .tree-wrap__bg,
.tree-faq .tree-wrap .tree-wrap__bg svg {
  width: 27rem;
  height: 36rem;
}

.tree-faq .title-md {
  display: none;
}

.tree-faq .content-box svg {
  display: none;
}

.tree-faq .tree-wrap .tree-wrap__bg,
.tree-faq .tree-wrap .tree-wrap__bg svg {
  width: 100%;
}

.tree-faq .tree-wrap .tree-wrap__inner {
  display: flex;
  align-items: center;
  position: absolute;
  justify-content: center;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* SINGLE POST *******************************************************************************/

/* IMPRINT + DATA PRIVACY *******************************************************************************/

/* 404 *******************************************************************************/

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

.error-404 h1 {
  font-size: 20vw;
  margin: 0;
}

/*
-----------------------------------------------------------------------------

02. Components

-----------------------------------------------------------------------------
*/

/* ***** Layout */

.content-wrap [class*="block--"] {
  max-width: var(--innerwrap__width);
  /* padding: 0 var(--innerwrap__px); */
  margin: 3em auto;
}

.content-wrap [class*="block--"].full {
  max-width: 100%;
}

.content-wrap [class*="block--"].pxy0 {
  padding: 0;
}

.content-wrap [class*="block--"].px0 {
  padding-left: 0;
  padding-right: 0;
}

.content-wrap [class*="block--"]:first-child {
  margin-top: 0;
}

.content-wrap [class*="block--"]:last-child {
  margin-bottom: 0;
}

/* ***** Event Slider */

.splide-events .splide__track {
  padding: 2em !important;
  margin-top: -2em;
  margin-left: -2em;
  margin-bottom: -2em;
  padding-right: 4em !important;
  overflow: visible;
}

.splide-events .event-item {
  width: 26.75rem;
  height: 100%;
  cursor: pointer;
}

/* --- Event Lightboxes */

.lightbox {
  z-index: 9999;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  opacity: 0;
  /* transition: opacity 0.3s ease; */
}

.lightbox .lightbox__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--wp--preset--color--primary);
  opacity: 0.9;
}

.lightbox .lightbox__inner {
  position: relative;
  width: calc(100% - 4rem);
  height: auto;
  max-height: min(56rem, calc(100vh - 4rem));
  max-height: min(56rem, calc((var(--vh, 1vh) * 100) - 4rem));
  padding: 2em;
  max-width: 110rem;
  margin: auto;
  background: var(--wp--preset--color--secondary);
  border-radius: var(--wp--custom--border-radius--regular);
}

.lightbox .lightbox__content {
  max-height: min(52rem, calc(100vh - 8rem));
  max-height: min(52rem, calc((var(--vh, 1vh) * 100) - 8rem));
}

.lightbox .overscroll-wrap {
  position: relative;
  height: min(45rem, calc(100vh - 13rem));
  height: min(45rem, calc((var(--vh, 1vh) * 100) - 13rem));
  overflow: hidden;
}

.lightbox .overscroll-wrap__inner {
  height: min(45rem, calc(100vh - 13rem));
  height: min(45rem, calc((var(--vh, 1vh) * 100) - 13rem));
  overflow-y: auto;
  padding-right: 2em;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.lightbox .overscroll-wrap__inner::-webkit-scrollbar {
  display: none;
}

.lightbox .overscroll-wrap::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4em;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(13, 73, 23, 0) 0%,
    rgba(13, 73, 23, 1) 100%
  );
}

.lightbox .signup-link {
  position: absolute;
  bottom: 2em;
}

/* --- Aktivierter Zustand --- */
.lightbox.is-active {
  opacity: 1;
}

/* .lightbox.is-active .lightbox__inner {
} */

/* Schließen Button Positionierung */
.lightbox .lightbox-close {
  position: absolute;
  top: 1.5em;
  right: 1.5em;
  background: transparent;
  border: none;
  width: 2rem;
  height: 2rem;
  cursor: pointer;
  z-index: 10;
}

/* ***** Team Teaser */

.block--team-teaser .teaser-image-wrap {
  position: relative;
}

.block--team-teaser .teaser-image-wrap .teaser-image__bg {
  position: absolute;
  top: unset;
  bottom: -4em;
  left: 0;
  width: 80%;
  height: 70%;
  background: var(--color__primary_dark);
}

.block--team-teaser .teaser-image-wrap img {
  position: absolute;
  width: 80%;
  aspect-ratio: 4 / 3;
  right: 0;
  object-fit: cover;
}

/* ***** Image */

.content-wrap .block--img img {
  width: 100%;
}

/* ***** Text & Text and Image */

.content-wrap .block--text p:first-child,
.content-wrap .block--text-img p:first-child {
  margin-top: 0;
}

.content-wrap .block--text p:last-child,
.content-wrap .block--text-img p:last-child {
  margin-bottom: 0;
}

/* ***** Text and Image */

.content-wrap .block--text-img .box-text--right {
  order: 2;
}

/* ***** Buttons */

[class*="block--"].block--buttons,
.content-wrap [class*="block--"].block--buttons {
  margin-top: -0.75em;
}

.block--buttons > * {
  display: inline-block;
  margin-right: 0.5em;
  margin-top: 0.75em;
}

/* ***** Timetable */

.content-wrap .block--timetable {
  position: relative;
}

.content-wrap .block--timetable a:hover {
  color: var(--wp--preset--color--primary);
}

.content-wrap .block--timetable::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 5rem;
  background: var(--wp--preset--color--background);
  background: linear-gradient(
    90deg,
    var(--wp--preset--color--background) 25%,
    var(--wp--preset--color--background) 100%
  );
  pointer-events: none;
}

/*--- Block Table - Horizonzal Overflow Wrapper */

.content-wrap .block--timetable .overflow-wrap {
  position: relative;
  overflow-x: scroll;
  /* Hide scrollbar for IE, Edge and Firefox */
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.content-wrap .block--timetable .overflow-wrap::-webkit-scrollbar {
  display: none;
}

.content-wrap .block--timetable table {
  min-width: 20rem;
}

.content-wrap .block--timetable table tr {
  border-bottom: 0.025rem solid var(--wp--preset--color--primary);
}

.content-wrap .block--timetable table tr:last-child {
  border-bottom: 0;
}

.content-wrap .block--timetable table tr:nth-child(odd) {
  /* background-color: var(--color_primary); */
}

.content-wrap .block--timetable table td,
.content-wrap .block--timetable table th,
.content-wrap .block--timetable table p {
  font-size: var(--wp--preset--font-size--medium);
  font-weight: 400;
  text-align: left;
  padding: 0.75rem 1.75rem;
}

.content-wrap .block--timetable table th {
  border-bottom: 0.025rem solid var(--wp--preset--color--primary);
  background-color: var(--wp--preset--color--background);
}

.content-wrap .block--timetable table td {
  max-width: 19rem;
  vertical-align: baseline;
}

.content-wrap .block--timetable table td:first-child,
.content-wrap .block--timetable table th:first-child {
  padding-left: 0.75rem;
}

.content-wrap .block--timetable table td:last-child,
.content-wrap .block--timetable table th:last-child {
  padding-right: 0.75rem;
}

/* ***** Gallery Slider */

.content-wrap .block--gallery-slider .splide__track,
.content-wrap .block--gallery-slider .splide__slide img {
  height: 40rem;
  object-fit: contain;
}

.content-wrap .block--gallery-slider .splide__slide {
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

/* --- Gallery Navigation */

.content-wrap .block--gallery-slider .splide__nav {
  position: absolute;
  bottom: 1.4375rem;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.content-wrap .block--gallery-slider .nav-button {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-color: var(--color__primary_dark);
  border-radius: 50%;
  width: 2.9375rem;
  height: 2.9375rem;
  font-size: var(--isize__regular);
  color: var(--wp--preset--color--secondary);
  padding: 0.5em;
  cursor: pointer;
  pointer-events: all;
}

.content-wrap .block--gallery-slider .nav-button.prev-slide {
  transform: translateX(-1rem);
}

.content-wrap .block--gallery-slider .nav-button.next-slide {
  transform: translateX(1rem);
}

/* --- Gallery Slider Lightbox */

.content-wrap .block--gallery-slider .lightbox__splide {
  z-index: 999;
  position: fixed;
  top: unset;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.content-wrap
  .block--gallery-slider
  .lightbox__splide
  .splide--default-lightbox {
  position: relative;
  width: 100%;
  height: auto;
  padding: 0;
}

.content-wrap .block--gallery-slider .lightbox__splide .lightbox__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--wp--preset--color--primary);
  opacity: 0.99;
}

.content-wrap .block--gallery-slider .lightbox__splide .lightbox__close {
  position: absolute;
  top: 0;
  right: 0;
  margin: 1.75em 1.875em;
  cursor: pointer;
}

.content-wrap .block--gallery-slider .lightbox__splide .lightbox__close > * {
  font-size: var(--isize__regular);
}

.content-wrap .block--gallery-slider .lightbox__splide .lightbox__inner {
  width: 100%;
  height: 100%;
  padding: 1.25em;
  max-width: 86rem;
  display: flex;
  display: -webkit-box;
  display: -ms-flexbox;
  align-items: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
}

.content-wrap .block--gallery-slider .lightbox__splide .splide__slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

.content-wrap .block--gallery-slider .splide--default-lightbox .splide__track,
.content-wrap
  .block--gallery-slider
  .splide--default-lightbox
  .splide__slide
  img {
  height: 100%;
}

.content-wrap .block--gallery-slider .lightbox__splide .lightbox__inner img {
  width: 100%;
  height: auto;
  max-height: 90vh;
  max-height: (var(--vh, 1vh) * 90);
  object-fit: cover;
  -o-object-fit: cover;
  object-position: center center;
}

/* --- Splide Lightbox - Navigation */

.content-wrap .block--gallery-slider .lightbox__splide .splide__nav {
  position: absolute;
  top: 50%;
  left: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.content-wrap .block--gallery-slider .lightbox__splide .nav-button {
  position: relative;
  font-size: var(--isize__regular);
  padding: 0.5em;
  color: var(--wp--preset--color--background);
  cursor: pointer;
  pointer-events: all;
}

.content-wrap .block--gallery-slider .lightbox__splide .nav-button.prev-slide {
  transform: translateX(-100%);
}

.content-wrap .block--gallery-slider .lightbox__splide .nav-button.next-slide {
  transform: translateX(100%);
}

/* ***** Contact Form */

.content-wrap .block--form .form-wrap .field-wrap {
  flex-basis: 100%;
  max-width: 100%;
  grid-column-start: auto;
  grid-column-end: span 12;
}

.content-wrap .block--form .form-wrap .grid-wrap {
  row-gap: 1.5em;
}

.content-wrap .block--form .form-wrap .success-wrap {
  padding: 2em;
}

/* ***** Quote */

.content-wrap .quote-wrap {
  position: relative;
  min-height: 25rem;
  padding: 2.5em 5em;
}

.content-wrap .quote-wrap::after {
  content: '"';
  position: absolute;
  z-index: 1;
  font-style: italic;
  right: 0;
  top: 0;
  font-size: 20rem;
  width: 10rem;
  height: 10rem;
  transform: translate3d(0, 4rem, 0);
  pointer-events: none;
  color: var(--wp--preset--color--primary);
}

.content-wrap .quote-wrap blockquote {
  margin: 0;
}

.content-wrap .quote-wrap__inner {
  width: min(25rem, 95%);
}

.content-wrap .quote-wrap p {
  margin-top: 0;
}

/* ****** Quote Slider */

/* --- Quote Slider Navigation */

.content-wrap .block--quote-slider .splide__nav {
  position: absolute;
  top: 50%;
  left: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: auto;
  transform: translate3d(0, -50%, 0);
  pointer-events: none;
}

.content-wrap .block--quote-slider .nav-button {
  position: relative;
  font-size: var(--isize__regular);
  padding: 0.5em;
  cursor: pointer;
  pointer-events: all;
}

.content-wrap .block--quote-slider .nav-button.prev-slide {
  transform: translateX(-100%);
}

.content-wrap .block--quote-slider .nav-button.next-slide {
  transform: translateX(100%);
}

/* ***** Testimonial Slider */

.splide-testimonials .testimonial-wrap__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.splide-testimonials img.logo {
  width: 100%;
  max-width: 80%;
  max-height: 8rem;
  object-fit: contain;
}

/* --- Quote Slider Navigation */

.splide-testimonials .splide__nav {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  height: auto;
  pointer-events: none;
  margin-top: 2em;
}

.splide-testimonials .nav-button {
  position: relative;
  font-size: var(--isize__regular);
  background-color: var(--wp--preset--color--background);
  border-radius: 50%;
  width: 2.9375rem;
  height: 2.9375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5em;
  cursor: pointer;
  pointer-events: all;
}

.splide-testimonials .nav-button.prev-slide {
}

.splide-testimonials .nav-button.next-slide {
  margin-left: 1em;
}

/* ***** Video iframe */

.video-wrap iframe {
  border: 0;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

/* ***** Accordions */

.content-wrap .block--accordions .accordion-wrap {
  background-color: var(--wp--preset--color--background);
  padding: 0;
}

.content-wrap .block--accordions .accordion-wrap:last-child {
  border-bottom: 0;
}

/* --- Accordion Trigger */

.content-wrap .block--accordions .accordion-trigger {
  position: relative;
  padding: 2.5em 6em 2.5em 2em;
  cursor: pointer;
}

.content-wrap .block--accordions .accordion-trigger::after {
  font-family: "Icons Unser Wald";
  content: "\e800";
  position: absolute;
  right: 2em;
  top: 51%;
  font-size: 1.125rem;
  transform: translateY(-50%);
}

.content-wrap .block--accordions .accordion-trigger.open::after {
  content: "\e801";
}

.content-wrap .block--accordions .accordion-trigger h3 {
  margin: 0;
}

/* --- Accordion Content */

.content-wrap .block--accordions .accordion-content {
  padding: 0 2em;
}

.content-wrap .block--accordions .accordion-content > *:first-child {
  margin-top: 0;
}

.content-wrap .block--accordions .accordion-content > *:last-child {
  padding-bottom: 2.5rem;
  margin-bottom: 0;
}

/* --- Accordion with all Modules */

.content-wrap .block--accordions .accordion-content [class*="block--"] {
  padding-left: 0;
  padding-right: 0;
}

/* HEADER SCENE COMPONENTS *******************************************************************************/

/* ***** Header - Home */

header.__home {
  position: relative;
  --min-h: 35rem;
  z-index: 10;
  height: calc(100vh - 6.375rem);
  height: calc((var(--vh, 1vh) * 100) - 6.375rem);
  min-height: var(--min-h);
}

header.__home .header-wrap__inner {
  z-index: 10;
}

header.__home .header-wrap__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

header.__home .header-wrap__bg::after {
  content: "";
  z-index: 1;
  position: absolute;
  left: 0;
  bottom: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(
    15deg,
    hsl(0, 0%, 0%) 0%,
    hsla(0, 0%, 0%, 0.987) 0.3%,
    hsla(0, 0%, 0%, 0.951) 1.4%,
    hsla(0, 0%, 0%, 0.896) 3.2%,
    hsla(0, 0%, 0%, 0.825) 5.8%,
    hsla(0, 0%, 0%, 0.741) 9.3%,
    hsla(0, 0%, 0%, 0.648) 13.6%,
    hsla(0, 0%, 0%, 0.55) 18.9%,
    hsla(0, 0%, 0%, 0.45) 25.1%,
    hsla(0, 0%, 0%, 0.352) 32.4%,
    hsla(0, 0%, 0%, 0.259) 40.7%,
    hsla(0, 0%, 0%, 0.175) 50.2%,
    hsla(0, 0%, 0%, 0.104) 60.8%,
    hsla(0, 0%, 0%, 0.049) 72.6%,
    hsla(0, 0%, 0%, 0.013) 85.7%,
    hsla(0, 0%, 0%, 0) 100%
  );
}

header.__home .header-wrap__bg .splide-home .covered-image-wrap {
  width: 100vw;
  height: calc(100vh - 6.375rem);
  height: calc((var(--vh, 1vh) * 100) - 6.375rem);
  min-height: var(--min-h);
}

/* ***** Header - Background Image */

header.__bg-img {
  height: 30rem;
}

/* ***** Header - Text with BG-Image */

header.__text-bg-img .header-wrap__inner {
  height: 30rem;
}

/* MINI-DESKTOP //////////////////////////////////////////////////////////////// */
/*
01. Inner Content
02. Components
*/

@media only screen and (max-width: 80em) {
  /* ***** Event Slider */

  /* --- Event Lightboxes */

  .lightbox .lightbox__inner {
    max-height: min(56rem, calc(100vh - 4rem));
    max-height: min(56rem, calc((var(--vh, 1vh) * 100) - 4rem));
  }

  .lightbox .lightbox__content {
    max-height: min(52rem, calc(100vh - 8rem));
    max-height: min(52rem, calc((var(--vh, 1vh) * 100) - 8rem));
  }

  .lightbox .overscroll-wrap {
    height: min(40rem, calc(100vh - 12rem));
    height: min(40rem, calc((var(--vh, 1vh) * 100) - 12rem));
  }

  .lightbox .overscroll-wrap__inner {
    height: min(40rem, calc(100vh - 12rem));
    height: min(40rem, calc((var(--vh, 1vh) * 100) - 12rem));
  }
}

/* TABLET //////////////////////////////////////////////////////////////// */
/*
01. Inner Content
02. Components
*/

@media only screen and (max-width: 55em) {
  /*
  -----------------------------------------------------------------------------

  01. Inner Content

  -----------------------------------------------------------------------------
  */

  /* ***** Preview Content */

  .preview-wrap h2.preview-text {
    font-size: var(--wp--preset--font-size--x-large);
    white-space: nowrap;
    border-radius: var(--wp--custom--border-radius--regular);
  }

  /* HOME *******************************************************************************/

  /* ***** Social Media */

  /* --- Social Media CTA */

  .instagram-feed .social-media-cta {
    top: -5rem;
    right: -1rem;
    width: 22rem;
  }

  .instagram-feed .social-media-cta .icon-lg {
    font-size: 2rem;
  }

  .instagram-feed .insta-post .insta-post__inner {
    padding: 1em;
  }

  .instagram-feed .social-media-cta .social-icons-wrap {
    max-width: 5rem;
  }

  .instagram-feed .social-media-cta__content {
    transform: translateY(6rem);
  }

  /* ***** Forest */

  .tree-faq {
    position: relative;
  }

  .tree-faq .title-md {
    display: inline-block;
  }

  .tree-faq .tree-wrap {
    display: none;
  }

  .tree-faq .text-right {
    text-align: left;
  }

  .tree-faq .tree-wrap {
    position: absolute;
    top: 0;
    left: 0;
  }

  .tree-faq .tree-wrap,
  .tree-faq .tree-wrap .tree-wrap__bg,
  .tree-faq .tree-wrap .tree-wrap__bg svg {
    width: 18rem;
    height: 18rem;
    transform: translateX(-2rem);
  }

  /* --- Content Box (Float) */

  .tree-faq .content-box h2 {
    margin-top: 18.5rem;
    max-width: 20rem;
  }

  .tree-faq .content-box p {
    max-width: 46rem;
  }

  .tree-faq .content-box svg {
    display: block;
    width: 20rem;
    height: 25rem;
    margin-bottom: 2em;
  }

  .tree-faq:nth-child(odd) .content-box svg {
    float: left;
    margin-right: 8em;
    shape-outside: circle(25%);
    margin-left: 0;
  }

  .tree-faq:nth-child(odd) .content-box p {
    padding-left: 11em;
  }

  .tree-faq:nth-child(even) .content-box svg {
    float: right;
    margin-left: 2em;
    shape-outside: circle(50%);
    margin-right: 0;
  }

  .tree-faq:nth-child(even) .content-box p {
    padding-right: 9em;
  }

  /* .tree-faq .tree-faq-text {
    padding-left: 5em;
    width: calc(100% - 10em);
    margin-top: 13rem;
  } */

  /* SINGLE POST *******************************************************************************/

  /* IMPRINT + DATA PRIVACY *******************************************************************************/

  /*
  -----------------------------------------------------------------------------

  02. Components

  -----------------------------------------------------------------------------
  */

  /* ***** Layout */

  .content-wrap [class*="block--"] {
    margin: 2.5em auto;
  }

  /* ***** Text and Image */

  .content-wrap .block--text-img .box-text {
    order: 1;
  }

  /* ***** Gallery Slider */

  .content-wrap .block--gallery-slider .splide__track,
  .content-wrap .block--gallery-slider .splide__slide img {
    height: 30rem;
  }

  /* --- Gallery Navigation */

  .content-wrap .block--gallery-slider .nav-button,
  .splide-testimonials .nav-button {
    width: 2.625rem;
    height: 2.625rem;
  }

  /* ***** Quote */

  .content-wrap .block--quote .covered-image-wrap,
  .content-wrap .block--quote-slider .covered-image-wrap {
    height: 20rem;
  }

  /* ***** Testimonial Slider */

  .splide-testimonials img.logo {
    max-height: 6rem;
  }

  /* ***** Accordions */

  /* --- Accordion Trigger */

  .content-wrap .block--accordions .accordion-trigger {
    padding: 1.75em 5em 1.7em 1.5em;
  }

  .content-wrap .block--accordions .accordion-trigger::after {
    font-size: 0.75rem;
    right: 1.5em;
  }

  .content-wrap .block--accordions .accordion-content {
    padding: 0 1.75em;
  }

  /* ***** Submit button */

  input[type="submit"],
  .field-wrap input[type="submit"] {
    padding: 0.5em 0.8em 0.4em 0.8em;
  }

  /* ***** Event Slider */

  .splide-events .event-item {
    width: 20rem;
  }

  /* --- Event Lightboxes */

  .lightbox .lightbox__inner {
    padding: 0;
    max-height: 90vh;
    max-height: (var(--vh, 1vh) * 90);
  }

  .lightbox .lightbox__content {
    max-height: min(60rem, 90vh);
    max-height: min(60rem, (var(--vh, 1vh) * 90));
    border-radius: var(--wp--custom--border-radius--regular);
  }

  .lightbox .covered-image-wrap.ratio--1_1::before {
    padding-top: 0;
  }

  .lightbox .covered-image-wrap {
    height: 20rem;
    border-top-left-radius: var(--wp--custom--border-radius--regular);
    border-top-right-radius: var(--wp--custom--border-radius--regular);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }

  .lightbox .overscroll-wrap {
    height: min(40rem, 47vh);
    height: min(40rem, (var(--vh, 1vh) * 47));
    padding: 2em;
  }

  .lightbox .overscroll-wrap__inner {
    height: calc(100% - 4em);
    padding-bottom: 4em;
  }

  .lightbox .overscroll-wrap::after {
    bottom: 6em;
  }

  .lightbox .signup-link {
    bottom: 1.5em;
    left: 2em;
  }

  /* HEADER SCENE COMPONENTS *******************************************************************************/

  /* ***** Header - Home */

  header.__home,
  header.__home .header-wrap__bg .splide-home .covered-image-wrap {
    height: calc(100vh - 5.75rem);
    height: calc((var(--vh, 1vh) * 100) - 5.75rem);
  }

  /* ***** Header - Kompetenzen */

  header.__kompetenzen h1 {
    hyphens: auto;
  }

  /* ***** Header - Background Image */

  header.__bg-img {
    height: 20rem;
  }

  /* ***** Header - Text with BG-Image */

  header.__text-bg-img .header-wrap__inner {
    height: 20rem;
  }
}

/* MOBILE //////////////////////////////////////////////////////////////// */
/*
01. Inner Content
02. Components
*/

@media only screen and (max-width: 36em) {
  /*
  -----------------------------------------------------------------------------

  01. Inner Content

  -----------------------------------------------------------------------------
  */

  /* HOME *******************************************************************************/

  /* ***** Social Media */

  /* --- Social Media CTA */

  .instagram-feed .social-media-cta {
    top: -4rem;
    right: 0rem;
    width: 11rem;
  }

  .instagram-feed .social-media-cta .icon-lg {
    font-size: 1.25rem;
  }

  .instagram-feed .social-media-cta__content {
    transform: translateY(4rem);
  }

  /* --- Content Box (Float) */

  .tree-faq .content-box h2 {
    margin-top: 10.75rem;
    max-width: 15rem;
  }

  .tree-faq .content-box p {
    max-width: 20rem;
  }

  .tree-faq .content-box svg {
    display: block;
    width: 12rem;
    height: 15rem;
    margin-bottom: 3em;
  }

  .tree-faq:nth-child(odd) .content-box svg {
    margin-right: 2em;
    shape-outside: circle(25%);
    margin-left: -5rem;
  }

  .tree-faq:nth-child(odd) .content-box p {
    padding-left: 0;
    transform: translateX(4em);
  }

  .tree-faq:nth-child(even) .content-box svg {
    margin-left: 0;
    shape-outside: circle(50%);
    margin-right: -5rem;
    transform: translate3d(-1em, 1em, 0);
  }

  .tree-faq:nth-child(even) .content-box p {
    padding-right: 0;
  }

  /* SINGLE POST *******************************************************************************/

  /* IMPRINT + DATA PRIVACY *******************************************************************************/

  /*
  -----------------------------------------------------------------------------

  02. Components

  -----------------------------------------------------------------------------
  */

  /* ***** Team Teaser */

  .block--team-teaser .teaser-image-wrap {
    margin-bottom: 2em;
  }

  .block--team-teaser .teaser-image-wrap .teaser-image__bg {
    bottom: -2em;
    width: 88%;
    height: 80%;
  }

  .block--team-teaser .teaser-image-wrap img {
    width: auto;
    height: 100%;
  }

  /* ***** Gallery Slider */

  .content-wrap .block--gallery-slider .splide__track,
  .content-wrap .block--gallery-slider .splide__slide img {
    height: 20rem;
  }

  /* ***** Quote */

  .content-wrap .quote-wrap {
    padding: 2.5em;
    min-height: unset;
  }

  /* ***** Accordion */

  .accordion-trigger {
    padding: 1em 3.25em 1em 1.25em;
  }

  .accordion-trigger::after {
    font-family: "Icons Base";
    content: "\0045";
    position: absolute;
    right: 0.85em;
    top: 51%;
    font-size: min(1.85rem, 7vw);
    transform: translateY(-50%);
  }

  .accordion-content {
    padding: 0 1.25em;
  }

  .accordion-content p:last-child {
    padding-bottom: 1.25em;
  }

  .content-wrap
    .block--accordions.accordion-content__inner
    [class*="block--"]:last-child {
    margin-bottom: 1.25em;
  }

  /* ***** Event Slider */

  .splide-events .event-item {
    width: 15rem;
  }

  /* --- Event Lightboxes */

  .lightbox .lightbox__inner {
    width: calc(100% - 2rem);
  }

  .lightbox .covered-image-wrap {
    height: 15rem;
  }

  .lightbox .overscroll-wrap {
    height: min(40rem, 47vh);
    height: min(40rem, (var(--vh, 1vh) * 47));
    padding: 1em;
  }

  .lightbox .overscroll-wrap__inner {
    height: calc(100% - 2em);
    padding-bottom: 2em;
  }

  .lightbox .overscroll-wrap::after {
    bottom: 3em;
  }

  .lightbox .signup-link {
    bottom: 1em;
    left: 1em;
  }

  .lightbox .lightbox-close {
    top: 1em;
    right: 1em;
  }

  /* ***** Header - Home */

  header.__home,
  header.__home .header-wrap__bg .splide-home .covered-image-wrap {
    height: calc(100vh - 4rem);
    height: calc((var(--vh, 1vh) * 100) - 4rem);
  }
}

/* MINI-MOBILE //////////////////////////////////////////////////////////////// */
/*
01. Inner Content
02. Components
*/

@media only screen and (max-width: 27em) {
  /*
  -----------------------------------------------------------------------------

  01. Inner Content

  -----------------------------------------------------------------------------
  */

  /* ***** Social Media */

  /* --- Content Box (Float) */

  .tree-faq .content-box h2 {
    max-width: 13rem;
  }

  .tree-faq .content-box p {
    max-width: 18rem;
  }

  .tree-faq:nth-child(odd) .content-box svg {
    margin-left: -5rem;
  }

  .tree-faq:nth-child(even) .content-box svg {
    margin-right: -9rem;
  }

  /* SINGLE POST *******************************************************************************/

  /*  IMPRINT + DATA PRIVACY *******************************************************************************/

  /*
  -----------------------------------------------------------------------------

  02. Components

  -----------------------------------------------------------------------------
  */

  /* ***** Gallery Slider */

  .content-wrap .block--gallery-slider .splide__track,
  .content-wrap .block--gallery-slider .splide__slide img {
    height: 17rem;
  }
}

/* SPECIAL BREAKPOINTS //////////////////////////////////////////////////////// */

