/*
Theme Name: bsTheme
Theme URI: http://brotsalz.de/
Author: brot & salz
Author URI: http://www.brotsalz.de
Description: brot & salz Theme
Version: 1.0.1
Tested up to: 6.1.1
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: bstheme
Tags: brot&salz, tailor-made-theme

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

bsTheme is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.
*/

/*----------------------------
----------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */

/*
Set the standart HTML font-size so REM Elements can inherit */
html {
  font-size: var(--f-reg);
}

:root :where(a:where(:not(.wp-element-button))) {
  text-decoration: auto;
}

body,
button,
input,
select,
optgroup,
textarea {
  color: var(--cDef);
  font-family: var(--family-body);
  font-weight: var(--weight-book);
  font-style: normal;
  font-size: 1rem;
  line-height: var(--line-body);
  /* Prevents fonts from being rendered incorrectly (thicker) */
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

/* Links
--------------------------------------------- */
a {
  text-decoration: none;
}

a,
a:visited,
a:hover,
a:active,
a:focus {
  color: var(--cDef);
}

/* a:focus {
  color: #191970;
} */

a:hover,
a:active {
  outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type='button'],
input[type='reset'],
input[type='submit'] {
  border: 1px solid;
  border-color: #000;
  background: #000;
  color: #fff;
  line-height: var(--line-body);
  padding: 1rem 2rem;
}

input[type='text'],
input[type='email'],
input[type='url'],
input[type='password'],
input[type='search'],
input[type='number'],
input[type='tel'],
input[type='range'],
input[type='date'],
input[type='month'],
input[type='week'],
input[type='time'],
input[type='datetime'],
input[type='datetime-local'],
input[type='color'],
textarea {
  color: #000;
  border: none;
  border-bottom: 1px solid var(--cDef);
  outline: 0;
  padding: 3px;
}

input[type='text']:focus,
input[type='email']:focus,
input[type='url']:focus,
input[type='password']:focus,
input[type='search']:focus,
input[type='number']:focus,
input[type='tel']:focus,
input[type='range']:focus,
input[type='date']:focus,
input[type='month']:focus,
input[type='week']:focus,
input[type='time']:focus,
input[type='datetime']:focus,
input[type='datetime-local']:focus,
input[type='color']:focus,
textarea:focus {
  color: var(--cDef);
}

select {
  border: 1px solid #000;
}

textarea {
  width: 100%;
}

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Hero
--------------------------------------------- */
.heroScreen .row {
  min-height: 100vh;
  align-items: center;
}

.heroAuto .row {
  min-height: 50vh;
  align-items: center;
}

@media (min-height: 769px) {
  .heroScreen .row {
    min-height: 0;
    height: 100vh;
    max-height: 768px;
  }

  .heroAuto .row {
    min-height: 0;
    height: 40vh;
    max-height: 576px;
  }
}
.navOpen {
  overflow-y: hidden;
}
@media (max-width: 768px) {
  .hero__slim {
    min-height: 500px !important;
  }
  #felix1 .wp-block-cover__background {
    opacity: 0.6;
  }
  #navOverlayContainer .wp-block-cover__inner-container {
    padding-top: 90px;
    height: 100vh;
    overflow-y: scroll;
    padding-bottom: 120px;
  }
}

/* Navigation
--------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  transition: 0.3s all ease;
}

/* Nav open */
.navOpen {
  overflow: hidden;
}

/* Nav down */
.navDown {
  background: #fff;
  box-shadow: 0 4px 3px rgba(0, 0, 0, 0.07);
  -webkit-box-shadow: 0 4px 3px rgba(0, 0, 0, 0.07);
  -moz-box-shadow: 0 4px 3px rgba(0, 0, 0, 0.07);
}

/* Light -------- -------- */
.light .site-header:not(.navDown) {
  background: var(--bgHeaderLight);
  color: var(--cHeaderLight);
}

/* Light nav down */
.light .site-header.navDown {
  background: var(--bgNavDown);
  color: var(--cNavDown);
}

/* Light nav open - nav down */
.light.navOpen .site-header.navDown {
}

/* Light nav open - nav not down */
.light.navOpen .site-header:not(.navDown) {
}

/* Dark -------- -------- */
.dark .site-header:not(.navDown) {
  background: var(--bgHeaderDark);
  color: var(--cHeaderDark);
}

/* Dark nav down */
.dark .site-header.navDown {
  background: var(--bgNavDown);
  color: var(--cNavDown);
}

/* Dark nav open - nav down */
.dark.navOpen .site-header.navDown {
}

/* Dark nav open - nav not down */
.dark.navOpen .site-header:not(.navDown) {
}

/* Alt -------- -------- */
.alt .site-header:not(.navDown) {
}

/* Alt nav down */
.alt .site-header.navDown {
}

/* Alt nav open - nav down */
.alt.navOpen .site-header.navDown {
}

/* Alt nav open - nav not down */
.alt.navOpen .site-header:not(.navDown) {
}

/* Burger menu with Overlay */
#navBurger {
  position: relative;
  height: 22px;
  width: 30px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

#navBurger span {
  display: block;
  width: 100%;
  height: 4px;
  border-radius: var(--b-radius-reg);
  background: var(--cWhite);
}

.navDown #navBurger span,
body.dark #navBurger span {
  background: var(--cDef);
}

.navBurgerContainer {
  font-weight: var(--weight-demi);
  cursor: pointer;
}

.navBurgerContainer:not(.active):hover #navBurger span:first-child {
  animation: menuToggle 0.4s 0.1s ease-in;
}

.navBurgerContainer:not(.active):hover span:nth-child(2) {
  animation: menuToggle 0.4s 0.3s ease-in;
}

.navBurgerContainer:not(.active):hover span:nth-child(3) {
  animation: menuToggleLast 0.4s 0.1s ease-in;
}

.navBurgerContainer.active #navBurger span:nth-child(3) {
  opacity: 0;
}

.navBurgerContainer.active #navBurger span:nth-child(1) {
  position: absolute;
  top: 10px;
  background: var(--cBlue);
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=5);
  /*for IE*/
}

.navBurgerContainer.active #navBurger span:nth-child(2) {
  position: absolute;
  top: 10px;
  background: var(--cBlue);
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=-5);
  /*for IE*/
}

@keyframes menuToggle {
  0% {
    width: inherit;
  }

  50% {
    width: 20%;
  }

  100% {
    width: inherit;
  }
}

@keyframes menuToggleLast {
  0% {
    width: 70%;
  }

  33% {
    width: 100%;
  }

  66% {
    width: 20%;
  }

  100% {
    width: 70%;
  }
}

/* Menu general */
:is(.menu, .menu .sub-menu) {
  list-style: none;
  padding: 0;
  margin: 0;
}

:is(.menu, .menu .sub-menu) a {
  color: var(--cWhite);
  font-weight: var(--weight-demi);
  position: relative;
}

:is(body.dark, .navDown) :is(.menu, .menu .sub-menu) a {
  color: var(--cDef);
}

:is(.menu, .menu .sub-menu) a::before {
  content: '';
  position: absolute;
  display: block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: var(--b-radius-xxl);
  background: var(--cYellow);
  left: -0.75rem;
  top: 50%;
  transform: translateY(-50%);
  transition: 0.3s all ease;
  opacity: 0;
}

:is(.menu, .menu .sub-menu) a:hover::before,
.menu > li.active > a::before,
.current-menu-item a::before {
  opacity: 1 !important;
}

@media (max-width: 1800px) {
  :is(.menu, .menu .sub-menu) a {
    font-size: 20px;
    transition: 0.3s all ease;
  }
}

@media (max-width: 1600px) {
  :is(.menu, .menu .sub-menu) a {
    font-size: 18px;
  }
}

/* # Language switch ------------------ */
/* Outer wrapper */
#language_switch .trp-language-switcher {
  display: flex;
  align-items: center;
  height: auto;
  width: auto;
}

/* Selected item (not needed) */
#language_switch .trp-ls-shortcode-current-language {
  display: none;
}

/* Inner wrapper (actual wrapper) */
#language_switch .trp-ls-shortcode-language {
  visibility: visible;
  overflow: auto;
  width: auto !important;
  height: auto;
  display: flex !important;
  align-items: center;
  position: static;
  background: #ffffff4a;
  padding: calc(0.5rem + var(--b-width-lg)) calc(1.2rem + var(--b-width-lg)) !important;
  /* border: var(--b-width-lg) solid #ffffff4a; */
  border: none;
  border-radius: var(--b-radius-xxl);
  transition: 0.3s all ease;
}

.navDown #language_switch .trp-ls-shortcode-language,
body.dark #language_switch .trp-ls-shortcode-language {
  background: var(--cGrey);
}

/* All links */
#language_switch .trp-ls-shortcode-language a {
  font-weight: var(--weight-demi);
  font-size: 1rem;
  text-transform: uppercase;
  padding: 0;
}

/* Current language */
#language_switch .trp-ls-shortcode-disabled-language {
  color: var(--cWhite);
  position: relative;
}

#language_switch .trp-ls-shortcode-disabled-language::after {
  content: '|';
  padding-left: 0.05rem;
  padding-right: 0.25rem;
  color: var(--cDef);
}

/* Other language */
#language_switch a:not(.trp-ls-shortcode-disabled-language) {
  color: var(--cDef);
  background: transparent !important;
}

/* Alternative languages */

/* Menu overlay */
#navOverlayContainer {
  display: flex;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  opacity: 0;
  z-index: -90;
  width: 100%;
  height: 100%;
  transition: 0.3s opacity ease;
}

#navOverlayContainer.openOverlay {
  transition-delay: 0.3s;
  opacity: 1;
  z-index: 9;
}

@media (max-width: 1600px) {
  #language_switch .trp-ls-shortcode-language {
    padding: calc(0.25rem + var(--b-width-lg)) calc(0.6rem + var(--b-width-lg)) !important;
  }

  #language_switch .trp-ls-shortcode-language a {
    font-size: 18px;
  }

  #masthead .cta__readmore.outline {
    padding: 0.25rem 0.6rem;
    font-size: 18px;
    align-items: center;
  }

  #masthead .cta__readmore.outline .cta__icon {
    padding-top: 0.1rem;
  }

  #masthead .cta__readmore.outline .cta__icon svg {
    transform: scale(0.75);
  }

  #masthead .cta__readmore.outline:hover .cta__icon {
    transform: translateY(-0.1rem) translateX(0.25rem);
  }
}

/* Mobile menu */
@media (min-width: 577px) {
  .menu__main.mobile .menu {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
  }

  .menu__main.mobile .menu .menu-item {
    flex-basis: 33%;
    max-width: 33%;
  }

  /* Submenu */
  .menu__main.mobile .menu .menu-item.menu-item-has-children .sub-menu {
    display: flex;
    flex-wrap: wrap;
  }

  .menu__main.mobile
    .menu
    .menu-item.menu-item-has-children
    .sub-menu
    .menu-item {
    flex-basis: 50%;
    max-width: 50%;
  }

  .menu__main.mobile
    .menu
    .menu-item.menu-item-has-children
    .sub-menu
    .menu-item
    a {
    width: 100%;
    display: flex;
  }

  /* Specific menu order */
  .menu__main.mobile .menu .menu-item-295 {
    order: 0;
  }

  .menu__main.mobile .menu .menu-item-296 {
    order: 1;
  }

  .menu__main.mobile .menu .menu-item-300 {
    order: 2;
  }

  .menu__main.mobile .menu .menu-item-293 {
    order: 3;
  }

  .menu__main.mobile .menu .menu-item-297 {
    order: 4;
  }

  .menu__main.mobile .menu .menu-item-298 {
    order: 5;
  }

  .menu__main.mobile .menu .menu-item-299 {
    flex-basis: 30% !important;
    max-width: 30% !important;
  }

  .menu__main.mobile .menu .menu-item-487 {
    flex-basis: 70% !important;
    max-width: 70% !important;
  }

  .menu__main.mobile .sub-menu {
    margin-bottom: 0 !important;
  }

  #navOverlayContainer .menu__main.mobile li a {
    font-size: 1.5rem !important;
  }

  #navOverlayContainer .menu__main.mobile li .sub-menu a {
    font-size: 1rem !important;
  }
}

#navOverlayContainer :is(.wp-block-group, .wp-block-cover) {
  width: 100%;
  height: 100%;
}

#navOverlayContainer .menu__main.mobile li {
  margin-block: 0.25rem;
}

#navOverlayContainer .menu__main.mobile li a {
  font-size: 2rem;
}

#navOverlayContainer
  .menu__main.mobile
  li:has(a[href='/ueber-uns'], a[href='/social']) {
  margin-block: 0;
}

#navOverlayContainer .menu__main.mobile .sub-menu {
  opacity: 1;
  visibility: visible;
  position: relative;
  top: auto;
  margin-bottom: 0.5rem;
  min-width: 330px;
  background: transparent;
  padding-left: 0;
}

#navOverlayContainer .menu__main.mobile .sub-menu li {
  margin-block: 0;
}

#navOverlayContainer .menu__main.mobile .sub-menu li a {
  font-size: clamp(var(--f-lg-min), var(--f-lg-ideal), var(--f-lg-max));
}

#navOverlayContainer .menu .sub-menu a {
  padding-left: 1rem;
}

#navOverlayContainer .menu .sub-menu a::before {
  opacity: 1;
}

/* Desktop menu */
.menu__main.desktop .menu {
  display: flex;
  align-items: center;
}

.menu__main.desktop .menu > li {
  margin-right: 1.5rem;
}

.menu__main.desktop .menu > li:last-of-type {
  margin-right: 0;
}

@media (max-width: 1600px) {
  .menu__main.desktop .menu > li {
    margin-right: 1rem;
  }
}

/* Desktop sub menu */
.menu .sub-menu {
  position: absolute;
  top: 4.5rem;
  padding: 0.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  background: #ffffff4a;
  border-radius: var(--b-radius-lg);
  min-width: 315px;
}

.menu.desktop .sub-menu {
  box-shadow: 0 4px 3px rgba(0, 0, 0, 0.07);
  -webkit-box-shadow: 0 4px 3px rgba(0, 0, 0, 0.07);
  -moz-box-shadow: 0 4px 3px rgba(0, 0, 0, 0.07);
}

.navDown .menu .sub-menu {
  top: 2.5rem;
  background: #ffffff;
}

.menu .sub-menu::before {
  content: '';
  display: block;
  width: 100%;
  height: 1rem;
  position: absolute;
  left: 0;
  top: -0.95rem;
}

.navDown .menu .sub-menu::before {
  height: 0.5rem;
  top: -0.45rem;
}

.menu .sub-menu a {
  font-weight: var(--weight-book);
  position: relative;
  padding-left: 0;
  transition: 0.3s all ease;
}

.menu .sub-menu a:hover,
.menu .sub-menu .current-menu-item a {
  padding-left: 1rem;
}

.menu .sub-menu a::before {
  content: '';
  display: block;
  width: 0.75rem;
  height: 0.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16.848' height='16.848' viewBox='0 0 16.848 16.848'%3E%3Cg id='Gruppe_1353' data-name='Gruppe 1353' transform='translate(106.848 255.848) rotate(180)'%3E%3Cpath id='Pfad_5665' data-name='Pfad 5665' d='M8.424,0A8.424,8.424,0,1,1,0,8.424,8.424,8.424,0,0,1,8.424,0Z' transform='translate(90 239)' fill='%23ffc333'/%3E%3Cpath id='Vereinigungsmenge_68' data-name='Vereinigungsmenge 68' d='M4.5,9.943.255,5.711a.865.865,0,0,1,0-1.226L4.5.254a.868.868,0,0,1,1.23,1.226L2.97,4.232H9.628a.866.866,0,1,1,0,1.733H2.97L5.733,8.717A.868.868,0,0,1,4.5,9.943Z' transform='translate(93.209 242.209)' fill='%23283547'/%3E%3C/g%3E%3C/svg%3E%0A");
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0 !important;
  transition: 0.3s all ease;
}

@media (max-width: 1512px) {
  .menu .sub-menu a::before {
    width: 0.5rem;
    height: 0.5rem;
  }
}

.menu .sub-menu li.current-menu-item a::before {
  opacity: 1 !important;
}

.menu .sub-menu li.current-menu-item a:hover::before {
  opacity: 1;
}

.sub-menu.active {
  opacity: 1;
  pointer-events: all;
  visibility: visible;
}

/* Site branding */
.site-branding a {
  display: block;
  position: relative;
}

.site-branding .logoAlt {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: 0.3s all ease;
}

:is(body.dark, .navDown) .site-branding .logoPrime {
  opacity: 0;
}

:is(body.dark, .navDown) .site-branding .logoAlt {
  opacity: 1;
}

@media (max-width: 576px) {
  .site-branding {
    max-width: 100px;
  }
}

.site-header .container-xl {
  padding-top: 2rem;
  padding-bottom: 0.5rem;
  transition: 0.3s all ease;
}

.site-header.navDown .container-xl {
  padding-top: 0.5rem;
}

/* CTAs */
:is(body.dark, .site-header.navDown) .cta__readmore.outline.light {
  border: var(--b-width-reg) solid var(--cDef);
  color: var(--cDef);
}

:is(body.dark, .site-header.navDown)
  .cta__readmore.outline.light
  .cta__icon
  svg
  path {
  fill: var(--cDef);
}

@media (max-width: 1600px) {
  .menu__main.desktop .menu {
    transition: 0.3s all ease;
    font-size: var(--f-sm);
  }
}

/* Full Hero
--------------------------------------------- */
.fullHeroWrapper .row {
  height: 100vh;
  max-height: 1020px;
}

/* Bootstrap
--------------------------------------------- */
@media (min-width: 1400px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1340px;
  }
}

@media (min-width: 1600px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1500px;
  }
}

@media (min-width: 1800px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1800px;
  }
}

/* CTAs
--------------------------------------------- */
/* All CTAs */
.cta__all,
.cta__icon,
.cta__icon svg,
.cta__icon svg * {
  transition: 0.3s all ease;
}

/* Default ------------------ */
.cta__default {
  border-radius: var(--b-radius-xxl);
  background: var(--cGrey);
  padding: 0.5rem 0.5rem 0.5rem 1rem;
  width: fit-content;
  min-width: 350px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.cta__default .cta__icon {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 2rem;
  height: 2rem;
}

.cta__default .cta__icon::before {
  content: '';
  display: block;
  border-radius: var(--b-radius-xxl);
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--cDef);
  transition: 0.3s all ease;
  z-index: -1;
}

.cta__default .cta__icon svg {
  transform: translateX(0.05rem);
}

.cta__default:hover {
  color: var(--cWhite);
}

.cta__default:hover .cta__icon::before {
  width: 1250%;
  height: 1250%;
}

/* Color variant */
.cta__default.color {
  background: var(--cWhite);
  color: var(--cDef);
  -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.15);
}

.cta__default.color .cta__icon::before {
  background: var(--cYellow);
}

/* Small variant */
.cta__default.f-sm {
  padding: 0.25rem 0.25rem 0.25rem 1rem;
}

/* Media Queries */
@media (max-width: 992px) {
  .cta__default {
    min-width: 250px;
  }

  .cta__default svg {
    width: 0.5rem;
  }
}

/* Read more ------------------ */
.cta__readmore {
  width: fit-content;
  display: flex;
}

.cta__readmore:not(.outline):hover {
  color: var(--cBlue);
}

.cta__readmore .cta__icon {
  padding-left: 0.5rem;
  transform: translateY(-0.1rem);
}

.cta__readmore:hover .cta__icon {
  transform: translateY(-0.1rem) translateX(0.5rem);
}

.cta__readmore:not(.outline):hover .cta__icon svg path {
  fill: var(--cBlue);
}

/* Outline variant */
.cta__readmore.outline {
  border: var(--b-width-reg) solid var(--cDef);
  border-radius: var(--b-radius-xxl);
  background: transparent;
  padding: 0.5rem 1.2rem;
}

/* Outline light variant */
.cta__readmore.outline.light {
  border: var(--b-width-reg) solid var(--cWhite);
  color: var(--cWhite);
}

/* Pill ------------------ */
.cta__pill {
  border-radius: var(--b-radius-xxl);
  background: var(--cGrey);
  color: var(--cDef);
  font-size: var(--f-sm);
  padding: 0.15rem 0.3rem;
  margin-right: 0.3rem;
  margin-bottom: 0.3rem;
}

/* Pill rectangle */
.cta__pill.rectangle {
  border-radius: var(--b-radius-reg);
}

/* Pill rectangle light */
.cta__pill.rectangle {
  border-radius: var(--b-radius-reg);
  background: var(--cLightGrey);
}

/* Pill rectangle big */
.cta__pill.rectangle.big {
  border-radius: var(--b-radius-reg);
  padding: 0.3rem 0.6rem;
}

/* Pill rectangle big outline */
.cta__pill.rectangle.big.outline {
  border-radius: var(--b-radius-reg);
  padding: 0.3rem 0.6rem;
  background: transparent;
  border: 2px solid var(--cDef);
  box-sizing: border-box;
}

/* Blog
--------------------------------------------- */
.post__wrapper {
  display: grid;
  grid-gap: 2rem; /* Space between grid items */
  grid-template-columns: repeat(3, 1fr);
}

.post__thumbnail img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--b-radius-xl);
}

.post__item .post__category {
  width: fit-content;
}

.post__item.highlight .post__title a {
  color: var(--cBlue) !important;
}

/* Highlight and podcast */
.post__highlight {
  flex-basis: 60%;
  max-width: 60%;
}

/* .podcast__highlight {
  flex-basis: 40%;
  max-width: 40%;
  padding-left: 8rem;
} */

.podcast__highlight :is(h2, h3) {
  font-weight: var(--weight-demi);
  font-size: var(--f-reg);
}

.podcast__highlight hr {
  height: var(--b-width-lg);
  opacity: 1;
  border: none;
  background: var(--cYellow);
  margin: 0.75rem 0 1rem 0;
}

.podcast__inner_wrapper {
  width: 100%;
}

.podcast__top {
  background: var(--cDef);
  border-radius: var(--b-radius-xl) var(--b-radius-xl) 0 0;
}

.podcast__bottom {
  background: var(--cDarkBlue);
  color: var(--cWhite);
  border-radius: 0 0 var(--b-radius-xl) var(--b-radius-xl);
}

.podcast__cta {
  flex-basis: 48.5%;
  max-width: 48.5%;
  background: var(--cBlue);
  color: var(--cWhite) !important;
  border-radius: var(--b-radius-reg);
  padding: 0.5rem 0.25rem;
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: var(--weight-demi);
  font-size: var(--f-sm);
}

.podcast__cta:last-of-type {
  margin-bottom: 0;
}

.podcast__icon {
  position: absolute;
  top: -2rem;
  left: 50%;
  transform: translateX(-50%);
}

.podcast__title {
  font-size: 40px;
  font-weight: var(--weight-demi);
  line-height: 1;
}

.podcast__stroke {
  -webkit-text-stroke: 1px var(--cBlue);
  text-stroke: 1px var(--cBlue);
  color: transparent;
}

@media (max-width: 1800px) {
  /* .post__highlight,
  .podcast__highlight {
    flex-basis: 50%;
    max-width: 50%;
  } */

  /* .podcast__highlight {
    padding-left: 4rem;
  } */
}

@media (max-width: 1400px) {
  .post__highlight,
  .podcast__highlight {
    flex-basis: 100%;
    max-width: 100%;
  }

  .podcast__highlight {
    padding-left: 0rem;
  }
}

@media (max-width: 992px) {
  .post__wrapper {
    grid-template-columns: repeat(2, 1fr);
  }

  .post__highlight,
  .podcast__highlight {
    flex-basis: 100%;
    max-width: 100%;
  }
}

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

/* # Blog single
--------------------------------------------- */
.author__portrait img {
  width: 3.5rem;
  height: 3.5rem;
  min-width: 3.5rem;
  min-height: 3.5rem;
  object-fit: cover;
  object-position: center;
  border-radius: var(--b-radius-xxl);
  overflow: hidden;
  border: 2px solid var(--cDef);
}

.author__name,
.author__description {
  font-size: var(--f-sm);
  font-weight: var(--weight-demi);
}

.author__description {
  color: var(--cGrey);
}

.social_share__links a {
  display: block;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.single .entry-header {
  position: sticky;
  top: 5rem;
}

/* Footer
--------------------------------------------- */
#colophon {
  position: relative;
  z-index: 2;
}

.socialMediaRow {
  display: flex;
}

.socialMediaItem {
  margin-right: 0.5rem;
}

.footer__preslogan_wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__preslogan {
  flex-basis: 40%;
  max-width: 40%;
  margin-bottom: 0;
}

.footer__preslogan_separator {
  height: var(--b-width-lg) !important;
  opacity: 1;
  background: var(--cDef);
  flex-basis: 30%;
  max-width: 30%;
  border: none !important;
}

#scroll__top {
  border: none;
  padding: 0;
  background: none;
}

.separator__basic {
  height: var(--b-width-lg) !important;
  opacity: 1;
  background: var(--cDef);
  border: none !important;
}

.wp-block-navigation__submenu-container.wp-block-navigation-submenu {
  border: none;
  background: var(--cDef) !important;
  color: var(--cWhite) !important;
  border-radius: var(--b-radius-lg);
  padding: 0.5rem;
  min-width: 315px !important;
}

.wp-block-navigation__submenu-container.wp-block-navigation-submenu a {
  font-weight: var(--weight-book);
  position: relative;
  padding-left: 0;
  transition: 0.3s all ease;
}

.wp-block-navigation__submenu-container.wp-block-navigation-submenu a:hover {
  padding-left: 1rem;
}

.wp-block-navigation__submenu-container.wp-block-navigation-submenu a::before {
  content: '';
  display: block;
  width: 0.75rem;
  height: 0.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16.848' height='16.848' viewBox='0 0 16.848 16.848'%3E%3Cg id='Gruppe_1353' data-name='Gruppe 1353' transform='translate(106.848 255.848) rotate(180)'%3E%3Cpath id='Pfad_5665' data-name='Pfad 5665' d='M8.424,0A8.424,8.424,0,1,1,0,8.424,8.424,8.424,0,0,1,8.424,0Z' transform='translate(90 239)' fill='%23ffc333'/%3E%3Cpath id='Vereinigungsmenge_68' data-name='Vereinigungsmenge 68' d='M4.5,9.943.255,5.711a.865.865,0,0,1,0-1.226L4.5.254a.868.868,0,0,1,1.23,1.226L2.97,4.232H9.628a.866.866,0,1,1,0,1.733H2.97L5.733,8.717A.868.868,0,0,1,4.5,9.943Z' transform='translate(93.209 242.209)' fill='%23283547'/%3E%3C/g%3E%3C/svg%3E%0A");
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: 0.3s all ease;
}

.wp-block-navigation__submenu-container.wp-block-navigation-submenu
  a:hover::before {
  opacity: 1;
}

@media (max-width: 768px) {
  .footer__time br {
    display: none;
  }
}

/* Background animation
--------------------------------------------- */
body.home {
  overflow-x: hidden;
}

.squiggle {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 110%;
  height: auto;
  z-index: -1;
}

#intro .squiggle {
  top: 5%;
}

#logos .squiggle {
  top: -85%;
  left: auto;
  right: -5%;
  transform: translateX(0);
  width: 70%;
}

#news .squiggle {
  top: 50%;
  left: auto;
  right: -5%;
  transform: translateX(0);
  width: 60%;
}

#felix1 .squiggle {
  top: 30%;
  left: 35%;
  transform: translateX(0);
  width: 20%;
}

@media (min-width: 1921px) {
  .home .entry-content > div:not(.hero__slim) {
    max-width: 1920px;
    margin: 0 auto;
  }

  .home .entry-content > div:not(.hero__slim)::before,
  .home .entry-content > div:not(.hero__slim)::after {
    content: '';
    width: 6rem;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
  }

  .home .entry-content > div:not(.hero__slim)::before {
    left: -5rem;
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 1) 50%,
      rgba(255, 255, 255, 0) 100%
    );
  }

  .home .entry-content > div:not(.hero__slim)::after {
    right: -5rem;
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 1) 50%,
      rgba(255, 255, 255, 1) 100%
    );
  }
}

@media (max-width: 1440px) {
  #felix1 .squiggle {
    top: 40%;
  }
}

@media (max-width: 576px) {
  html,
  body.home {
    overflow-x: hidden;
  }

  #intro .squiggle {
    top: 5%;
    width: 250%;
  }

  #logos .squiggle {
    top: -108%;
    width: 150%;
    right: -85%;
  }

  #news .squiggle {
    top: 0%;
    right: -100%;
    width: 140%;
    transform: translateX(0) rotate(-25deg);
  }

  #felix1 .squiggle {
    top: 40%;
    width: 70%;
  }
}

/* # Back button
--------------------------------------------- */
.back_button {
  display: flex;
  width: fit-content;
  cursor: pointer;
}

@media (min-width: 577px) {
  .back_button:not(.subpage) {
    position: absolute;
    left: 0.5rem;
    top: 0;
  }
}

/* # Lists
--------------------------------------------- */
/* # Numbered list ------------------ */
.single .entry-content ol {
  list-style: none;
  counter-reset: list-counter; /* Creates a new instance of the counter */
  padding-left: 0;
}

.single .entry-content ol li {
  counter-increment: list-counter; /* Increment the counter for each list item */
  position: relative;
  font-weight: var(--weight-demi);
  padding-left: 2rem;
  margin-bottom: 0.85rem;
}

.single .entry-content ol li::before {
  content: counter(list-counter); /* Display the counter and a period */
  position: absolute;
  width: 1.5rem;
  height: 1.5rem;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  border-radius: var(--b-radius-xxl);
  background: var(--cGrey);
  font-weight: var(--weight-demi);
  font-size: var(--f-sm);
  display: flex;
  justify-content: center;
  align-items: center;
}

/* # Bullet points ------------------ */
.single .entry-content ul {
  list-style: none;
  padding-left: 0;
}

.single .entry-content ul li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.85rem;
}

.single .entry-content ul li::before {
  content: '';
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='31.51' height='22.84' viewBox='0 0 31.51 22.84'%3E%3Cpath id='Pfad_5664' data-name='Pfad 5664' d='M2870.443,1483.42l7.635,7.635,16.8-16.8' transform='translate(-2866.907 -1470.715)' fill='none' stroke='%2300b8f1' stroke-linecap='round' stroke-linejoin='round' stroke-width='5'/%3E%3C/svg%3E%0A")
    no-repeat center/cover;
  position: absolute;
  width: 1.2rem;
  height: 0.85rem;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

/* # Preloader
--------------------------------------------- */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
}

.cube__wrapper {
  height: 9rem;
  width: 9rem;
  position: relative;
}

.cube {
  background: var(--cBlue);
  width: 3rem;
  height: 3rem;
  position: absolute;
  bottom: 0;
}

/* # Loading ------------------ */
.cube_01.loading {
  left: 0;
  animation: cube_opacity 1s ease infinite;
  transform: translate(0);
  opacity: 1;
}

.cube_02.loading {
  left: 50%;
  transform: translate(-50%, 0);
  animation: cube_opacity 1s ease 0.25s infinite;
  opacity: 1;
}

.cube_03.loading {
  right: 0;
  animation: cube_opacity 1s ease 0.5s infinite;
  opacity: 1;
}

@keyframes cube_opacity {
  0% {
    opacity: 1;
  }

  25% {
    opacity: 0.25;
  }

  75% {
    opacity: 0.25;
  }

  100% {
    opacity: 1;
  }
}

/* # Outro ------------------ */
.cube_01.outro {
  left: 0;
  animation: cube_01 2s ease forwards;
  transform: translate(0);
}

@keyframes cube_01 {
  0% {
    height: 1rem;
    transform: translate(0);
  }

  50% {
    height: 3rem;
    transform: translate(0, -6rem);
  }

  100% {
    height: 3rem;
    transform: translate(6rem, -6rem);
  }
}

.cube_02.outro {
  left: 50%;
  transform: translate(-50%, 0);
  animation: cube_02 1s ease forwards;
}

@keyframes cube_02 {
  0% {
    height: 1rem;
    transform: translate(-50%, 0);
  }

  100% {
    height: 3rem;
    transform: translate(-50%, -3rem);
  }
}

.cube_03.outro {
  right: 0;
  animation: cube_03 1s ease forwards;
}

@keyframes cube_03 {
  0% {
    height: 1rem;
    transform: translate(0);
  }

  100% {
    height: 3rem;
    transform: translate(0rem, 0rem);
  }
}

/* # Homepage
--------------------------------------------- */
@media (min-width: 577px) {
  .break__mobile br:first-of-type {
    display: none;
  }
}

@media (max-width: 576px) {
  .break__mobile_no br:first-of-type {
    display: none;
  }
}

/* # Press / Jobs
--------------------------------------------- */
.archive__box_shadow {
  -webkit-box-shadow: 0px 6px 5px 0px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: 0px 6px 5px 0px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 6px 5px 0px rgba(0, 0, 0, 0.15);
  border-radius: var(--b-radius-xl);
}

@media (min-width: 993px) and (max-width: 1512px) {
  /* # Both ------------------ */
  :is(.single-job, .single-post) .entry-header :is(h1, h2) {
    margin-bottom: 0.25rem !important;
    font-size: calc(
      clamp(var(--f-lg-min), var(--f-lg-ideal), var(--f-lg-max)) - 0.35rem
    );
  }

  .author__portrait img {
    width: 2.5rem;
    height: 2.5rem;
    min-width: 2.5rem;
    min-height: 2.5rem;
  }

  /* # Jobs ------------------ */
  .job__contact_meta {
    margin-bottom: 0.5rem !important;
  }

  .job__contact_meta :not(span:last-of-type) {
    margin-bottom: 0 !important;
  }

  .job__contact_meta span:last-of-type {
    margin-bottom: 0.35rem !important;
  }

  .single-job .entry-header .cta__default {
    font-size: 20px;
    padding: 0.25rem 0.25rem 0.25rem 0.5rem;
    min-width: 200px;
  }

  .single-job .entry-header .cta__default svg {
    width: 0.25rem;
  }

  .single-job .entry-header .cta__default .cta__icon {
    width: 1rem;
    height: 1rem;
  }

  /* # Posts ------------------ */
  .single-post .back_button__wrapper {
    padding-bottom: 0.5rem !important;
  }

  :is(.single-job, .single-post) .entry-header .cta__pill {
    padding: 0.1rem 0.25rem !important;
  }
}

/* # Contact Card
--------------------------------------------- */
.contact_card {
  display: flex;
}

.contact_card__image img {
  aspect-ratio: 1/1;
  width: 100%;
  object-fit: cover;
  border-radius: var(--b-radius-lg);
  max-width: 300px;
}

.contact_card__meta {
  padding-left: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact_card__meta hr {
  height: var(--b-width-lg);
  opacity: 1;
  background: var(--cDef);
  border: none;
  margin: 0.5rem 0;
  width: 1.5rem;
}

.press__contact_card {
  max-width: 200px;
  margin-right: 1rem !important;
}

.press__contact_card img {
  border-radius: var(--b-radius-lg);
}

.press__contact_card p.is-style-default {
  font-size: var(--f-sm);
  font-weight: var(--weight-demi);
}

/* Contact form
--------------------------------------------- */
#contactForm__container {
  font-weight: 600;
  font: 18px;
  -webkit-box-shadow: 0px 5px 7px 0px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: 0px 5px 7px 0px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 5px 7px 0px rgba(0, 0, 0, 0.15);
  border-radius: var(--b-radius-lg);
  width: 100%;
}

.inputWrapper {
  padding-bottom: 1.5rem;
}

.inputFieldWrap {
  position: relative;
  width: 100%;
  cursor: pointer;
  margin-bottom: 0.75rem;
  margin-top: 0.5rem;
}
.inputFieldWrap label {
  position: absolute;
  bottom: 11px;
  font-size: 18px;
  left: 0px;
  transition: 0.1s ease-in;
  opacity: 0.4;
}
.inputFieldArea label {
  transition: 0.1s ease-in;
  opacity: 0.4;
}
.inputFieldArea {
  margin-top: 30px;
}
.inputFieldArea textarea {
  padding-left: 0;
  font-size: 18px;
}
.inputFieldArea label {
  font-size: 18px;
}

.inputFieldWrap input {
  font-size: 18px;
  background-color: transparent !important;
  transition: 0.2s ease-in;
  cursor: pointer;
  width: calc(100% - 20px);
  padding: 8px 6px 6px;
  padding-left: 0px;
}
.inputFieldArea textarea {
  background-color: transparent !important;
  transition: 0.2s ease-in;
  cursor: pointer;
  width: calc(100% - 20px);
}
.inputFieldWrap input:autofill,
.inputFieldWrap input:-webkit-autofill,
.inputFieldWrap input:-webkit-autofill:hover,
.inputFieldWrap input:-webkit-autofill:focus,
.inputFieldWrap input:-webkit-autofill:active,
.inputFieldWrap input:-internal-autofill-selected {
  background: transparent;
  -webkit-box-shadow: 0 0 0 30px var(--cLight) inset !important;
  background-color: transparent !important;
  color: var(--cDef) !important;
  -webkit-text-fill-color: var(--cDef) !important;
}
.inputFieldWrap input:-moz-autofill,
.inputFieldWrap input:-moz-autofill:hover,
.inputFieldWrap input:-moz-autofill:focus,
.inputFieldWrap input:-moz-autofill:active {
  background: transparent !important;
}
.inputFieldWrap.focused label,
.inputFieldWrap.hasVal label {
  font-size: 16px;
  bottom: 1.1rem;
  opacity: 1;
}
.inputFieldArea.inputFieldArea.focused label,
.inputFieldArea.inputFieldArea.hasVal label {
  color: var(--cDef);
  font-size: 16px;
  opacity: 1;

  margin-top: -6px;
}
.inputFieldArea:not(.hasVal, .focused):hover label,
.inputFieldWrap:not(.hasVal, .focused):hover label {
  opacity: 0.7;
}
/* .inputFieldWrap:hover input,
.inputFieldArea:hover textarea {
  border-color: var(--cDef);
  background-color: var(--cLightGrey) !important;
} */
.inputFieldWrap.focused input,
.inputFieldArea.focused textarea {
  border-color: var(--cDef);
}

.checkPrivacyWrapper .gsdvoTxt {
  position: relative;
  padding-bottom: 40px;
  font-size: 18px;
  font-weight: 400;
}

@media (max-width: 576px) {
  .checkPrivacyWrapper .gsdvoTxt {
    font-size: 16px !important;
    padding-bottom: 10px;
  }
}

.checkPrivacyWrapper input[type='checkbox'] {
  height: 0;
  width: 0;
  opacity: 0;
}
.checkPrivacyWrapper input[type='checkbox'] + label {
  position: relative;
  display: flex;
  margin: 0.6em 0;
  color: var(--cDef);
  transition: color 250ms cubic-bezier(0.4, 0, 0.23, 1);
}
.checkPrivacyWrapper .gsdvoTxt {
  padding-top: 4px;
}
.checkPrivacyWrapper input[type='checkbox'] + label > span {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 1rem;
  width: 1rem;
  height: 1rem;
  min-width: 1rem;
  min-height: 1rem;
  background: transparent;
  border: 2px solid var(--cDef);
  border-radius: 2px;
  cursor: pointer;
  transition: all 250ms cubic-bezier(0.4, 0, 0.23, 1);
}
/* .checkPrivacyWrapper input[type="checkbox"] + label:hover,
.checkPrivacyWrapper input[type="checkbox"]:focus + label {
  color: var(--cGreen);
} */
.checkPrivacyWrapper input[type='checkbox'] + label:hover > span,
.checkPrivacyWrapper input[type='checkbox']:focus + label > span {
  background: rgba(255, 255, 255, 0.1);
}
.checkPrivacyWrapper input[type='checkbox']:checked + label > ins {
  height: 100%;
}
.checkPrivacyWrapper input[type='checkbox']:checked + label > span {
  border: 0.5rem solid var(--cLight);
  animation: shrink-bounce 200ms cubic-bezier(0.4, 0, 0.23, 1);
}
.checkPrivacyWrapper input[type='checkbox']:checked + label > span:before {
  content: '';
  position: absolute;
  top: 0.5rem;
  left: 0.2rem;
  border-right: 3px solid transparent;
  border-bottom: 3px solid transparent;
  transform: rotate(45deg);
  transform-origin: 0% 100%;
  animation: checkbox-check 125ms 250ms cubic-bezier(0.4, 0, 0.23, 1) forwards;
}

@media (max-width: 576px) {
  .checkPrivacyWrapper input[type='checkbox'] + label > span {
    width: 25px !important;
    height: 25px !important;
    min-width: 25px !important;
    min-height: 25px !important;
  }

  .checkPrivacyWrapper input[type='checkbox']:checked + label > span {
    border: 12.5px solid var(--cDef) !important;
  }

  .checkPrivacyWrapper input[type='checkbox']:checked + label > span:before {
    top: 5px !important;
    left: 4px !important;
  }
}

@keyframes shrink-bounce {
  0% {
    transform: scale(1);
  }
  33% {
    transform: scale(0.85);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes checkbox-check {
  0% {
    width: 0;
    height: 0;
    border-color: var(--cDef);
    transform: translate3d(0, 0, 0) rotate(45deg);
  }
  33% {
    width: 6px;
    height: 0;
    transform: translate3d(0, 0, 0) rotate(45deg);
  }
  100% {
    width: 9px;
    height: 18px;
    border-color: var(--cDef);
    transform: translate3d(0, -0.5em, 0) rotate(45deg);
  }
}

#fysub {
  background: transparent;
  color: var(--cBlue);
  border: none;
  /* No Button behavior */
  cursor: pointer;
  font-size: 20px;
  font-weight: 600;
  padding: 0.5rem 1rem 0.5rem 0;
}

/* Mission & Vision
--------------------------------------------- */
.small__radius img {
  border-radius: var(--b-radius-lg);
}

#sib_signup_form_1 input[type='email'],
input[type='submit'] {
  background-color: #fff;
  color: var(--cDef);
  border: none;
  border-radius: var(--b-radius-lg);
  width: 100%;
  padding: 20px 40px;
  max-width: 420px;
  font-size: 16px;
  font-weight: 600;
}

input[type='submit'] {
  background-color: var(--cDef);
  color: #fff;
}

.compInfo {
  font-size: 16px;
}

.post-password-form {
  margin-block: 30vh;
  max-width: 768px;
  margin-inline: auto;
}

.type-post a {
  color: var(--cBlue);
}

.socialMediaItem svg {
  height: 1.15rem;
  width: auto;
}

/* Password protection
--------------------------------------------- */
.post-password-form input[type='submit'] {
  margin-top: 1rem;
}

body:has(.post-password-form) #masthead {
  display: none !important;
}

/* Utility
--------------------------------------------- */
.img__rounded img {
  border-radius: var(--b-radius-xl);
  overflow: hidden;
}

/* Podcast
--------------------------------------------- */
.menu__podcast_icon {
  max-width: 72.5px;
  margin-right: 1rem;
  transition: 0.3s all ease;
  transform: scale(1);
}

.menu__podcast_icon:hover {
  transform: scale(1.1);
}

@media (max-width: 1600px) {
  .menu__podcast_icon {
    max-width: 43.7px;
    margin-right: 0.5rem;
  }
}
