@font-face {
  font-display: swap;
  font-family: "Roboto Slab";
  font-style: normal;
  font-weight: 100;
  src: url("fonts/roboto-slab-v36-latin-100.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Roboto Slab";
  font-style: normal;
  font-weight: 200;
  src: url("fonts/roboto-slab-v36-latin-200.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Roboto Slab";
  font-style: normal;
  font-weight: 300;
  src: url("fonts/roboto-slab-v36-latin-300.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Roboto Slab";
  font-style: normal;
  font-weight: 400;
  src: url("fonts/roboto-slab-v36-latin-regular.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Roboto Slab";
  font-style: normal;
  font-weight: 500;
  src: url("fonts/roboto-slab-v36-latin-500.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Roboto Slab";
  font-style: normal;
  font-weight: 600;
  src: url("fonts/roboto-slab-v36-latin-600.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Roboto Slab";
  font-style: normal;
  font-weight: 700;
  src: url("fonts/roboto-slab-v36-latin-700.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Roboto Slab";
  font-style: normal;
  font-weight: 800;
  src: url("fonts/roboto-slab-v36-latin-800.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Roboto Slab";
  font-style: normal;
  font-weight: 900;
  src: url("fonts/roboto-slab-v36-latin-900.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Roboto";
  font-style: normal;
  font-weight: 100;
  src: url("fonts/roboto-v51-latin-100.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Roboto";
  font-style: normal;
  font-weight: 200;
  src: url("fonts/roboto-v51-latin-200.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Roboto";
  font-style: normal;
  font-weight: 300;
  src: url("fonts/roboto-v51-latin-300.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  src: url("fonts/roboto-v51-latin-regular.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Roboto";
  font-style: normal;
  font-weight: 500;
  src: url("fonts/roboto-v51-latin-500.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Roboto";
  font-style: normal;
  font-weight: 600;
  src: url("fonts/roboto-v51-latin-600.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Roboto";
  font-style: normal;
  font-weight: 700;
  src: url("fonts/roboto-v51-latin-700.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Roboto";
  font-style: normal;
  font-weight: 800;
  src: url("fonts/roboto-v51-latin-800.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-family: "Roboto";
  font-style: normal;
  font-weight: 900;
  src: url("fonts/roboto-v51-latin-900.woff2") format("woff2");
}
body {
  font-family: "Roboto";
}

ol li {
  line-height: 1.25rem;
}

h2, h3 {
  margin-bottom: 10px;
}

.distance-header {
  height: 120px;
  padding-top: 0;
  transition: height 0.2s ease;
}
@media only screen and (max-width: 900px) {
  .distance-header {
    height: 80px;
  }
}

header.is-scrolled ~ .distance-header {
  height: 80px;
}
@media only screen and (max-width: 900px) {
  header.is-scrolled ~ .distance-header {
    height: 70px;
  }
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  display: grid;
  grid-template-columns: 300px 1fr auto 1fr auto;
  align-items: center;
  height: 120px;
  padding: 0px 50px;
  border: none;
  background: #00bcea;
  transition: height 0.2s ease;
}
header.is-scrolled {
  height: 80px;
}
header.is-scrolled .navbar-brand {
  height: 55px;
}
header .navbar-brand {
  grid-column: 1;
  justify-self: start;
  width: 300px;
  height: 100px;
  margin: 0px;
  background-image: url("../img/ra-sonntag-logo.svg");
  background-size: contain;
  background-repeat: no-repeat;
  transition: height 0.2s ease;
}
header .header-right {
  display: contents;
}
header nav#site-navigation {
  grid-column: 3;
  justify-self: center;
}
header .header-search {
  grid-column: 5;
  justify-self: end;
}
header .header-search .header-search-field {
  padding: 10px 20px;
  border-radius: 0px;
  font-size: 1rem;
}

nav#site-navigation {
  width: auto;
  min-height: 0;
  background: transparent;
}

.header-search {
  display: flex;
  align-items: center;
  position: relative;
  margin-left: 10px;
}
.header-search-form {
  position: absolute;
  top: 50%;
  right: 48px;
  transform: translateY(-50%);
  z-index: 600;
  width: 0;
  overflow: hidden;
  transition: width 0.25s ease;
}
.header-search.is-open .header-search-form {
  width: 200px;
}
.header-search-field {
  width: 200px;
  box-sizing: border-box;
  padding: 8px 12px;
  border: none;
  border-radius: 20px;
  font-size: 1rem;
}
.header-search-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-left: 8px;
  background: none;
  border: none;
  color: #000;
  font-size: 1rem;
  cursor: pointer;
}
.header-search-toggle:hover {
  color: #fff;
}
.header-search .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

@media only screen and (max-width: 900px) {
  header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
    padding: 0px 30px;
  }
  header.is-scrolled {
    height: 70px;
  }
  header.is-scrolled .navbar-brand {
    height: 45px;
  }
  header .navbar-brand {
    width: 200px;
    height: 65px;
  }
  .header-right {
    display: flex;
    align-items: center;
  }
  nav#site-navigation {
    position: static;
  }
  .header-search {
    margin-left: 8px;
    position: static;
  }
  .header-search-form {
    position: fixed;
    top: 125px;
    left: 0;
    right: 0;
    width: auto;
    height: 0;
    padding: 0 20px;
    background: #00bcea;
    box-sizing: border-box;
    overflow: hidden;
    transition: height 0.25s ease, top 0.2s ease;
  }
  .header-search.is-open .header-search-form {
    width: auto;
    height: 70px;
    display: flex;
    align-items: center;
  }
  .header-search-field {
    width: 100%;
  }
  header.is-scrolled .header-search-form {
    top: 105px;
  }
  .primary-nav-new.is-open {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - 90px);
    overflow-y: auto;
    overflow-x: hidden;
    background: #00bcea;
    padding: 10px 20px 20px;
    z-index: 500;
  }
}
.primary-nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 15px 20px;
  font-family: "Roboto Slab";
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
}

.primary-nav-new {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}
.primary-nav-new li {
  position: relative;
  margin: 0;
}
.primary-nav-new > li > a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 18px 20px;
  color: #000;
  font-family: "Roboto Slab";
  font-weight: bold;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s ease;
}
.primary-nav-new > li:hover > a,
.primary-nav-new > li.is-hover > a {
  color: #fff;
}
.primary-nav-new .sub-menu {
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.97);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 600;
  width: max-content;
  min-width: 180px;
  max-width: 400px;
  background-color: #f93;
  list-style: none;
  margin: 0;
  padding: 8px 0;
}
.primary-nav-new .sub-menu--scrollable {
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  overflow-x: hidden;
}
.primary-nav-new .sub-menu .sub-menu {
  top: -8px;
  left: 100%;
}
.primary-nav-new .sub-menu .sub-menu.sub-menu--scrollable {
  max-height: calc(100vh - 16px);
}
.primary-nav-new .sub-menu--wide {
  column-count: 2;
  column-gap: 0;
  min-width: 520px;
}
.primary-nav-new .sub-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 20px;
  color: #555;
  font-weight: 400;
  text-decoration: none;
  white-space: normal;
}
.primary-nav-new .sub-menu a:hover, .primary-nav-new .sub-menu a:focus {
  color: #fff;
}
.primary-nav-new > li > .sub-menu.opens-up {
  top: auto;
  bottom: 100%;
}
.primary-nav-new .sub-menu .sub-menu.opens-up {
  top: auto;
  bottom: -8px;
}
.primary-nav-new .sub-menu .sub-menu.opens-left {
  left: auto;
  right: 100%;
}
.primary-nav-new > li > .sub-menu.opens-left {
  left: auto;
  right: 0;
}
.primary-nav-new li:hover > .sub-menu,
.primary-nav-new li.submenu-open > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  pointer-events: auto;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0s;
}
.primary-nav-new .submenu-toggle {
  display: none;
}

@media only screen and (max-width: 900px) {
  .primary-nav-toggle {
    display: block;
  }
  .primary-nav-new {
    display: none;
    flex-direction: column;
    width: 100%;
  }
  .primary-nav-new.is-open {
    display: flex;
  }
  .primary-nav-new .sub-menu {
    position: static;
    width: auto;
    min-width: 0;
    max-width: none;
    padding-left: 15px;
    display: block;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    max-height: 0 !important;
    overflow: hidden !important;
    padding-top: 0;
    padding-bottom: 0;
    transition: max-height 0.25s ease, padding-top 0.25s ease, padding-bottom 0.25s ease;
  }
  .primary-nav-new .sub-menu--scrollable {
    max-height: 0 !important;
    overflow: hidden !important;
  }
  .primary-nav-new .sub-menu .sub-menu {
    left: auto;
  }
  .primary-nav-new .sub-menu--wide {
    column-count: 1;
    width: 100%;
    min-width: 0;
    max-width: none;
    box-sizing: border-box;
  }
  .primary-nav-new li.submenu-open > .sub-menu {
    max-height: 2000px !important;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .primary-nav-new li.submenu-open > .sub-menu.sub-menu--scrollable {
    max-height: 2000px !important;
  }
  .primary-nav-new .submenu-toggle {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
  }
  .primary-nav-new .submenu-toggle span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .primary-nav-new .submenu-toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translate(-50%, -65%) rotate(45deg);
    transition: transform 0.2s ease;
  }
  .primary-nav-new li.submenu-open > .submenu-toggle::after {
    transform: translate(-50%, -35%) rotate(-135deg);
  }
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
}

@media only screen and (max-width: 760px) {
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    margin-top: 0 !important;
  }
}
h1 {
  margin-bottom: 0.5rem;
}

h1,
h2 {
  font-family: "Roboto Slab";
}

h2 {
  font-size: 1.75em;
  line-height: 1.5em;
}
h2.has-text-align-center.has-sonntag-blau-color {
  margin-bottom: 10px !important;
  font-weight: 200;
}

h3 {
  font-size: 1.5rem;
}

.mt-0 {
  margin-top: 0px !important;
}

.mb-0 {
  margin-bottom: 0px !important;
}

.m-0 {
  margin: 0px !important;
}

.pl-5 {
  padding-left: 5rem;
}
@media only screen and (max-width: 760px) {
  .pl-5 {
    padding-left: unset;
  }
}

.home-hero {
  padding: 30px 0 10px;
}
.home-hero h1 {
  color: #00bcea;
  text-shadow: none;
  font-weight: bold;
}
.home-hero h2 {
  font-weight: normal;
  font-size: 1.5em;
}
.home-hero .border_left {
  padding-left: 30px !important;
}
.home-hero .border_left::before {
  top: 5px;
  width: 7px;
  height: 95%;
}

.home-quicklinks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 20px 0 40px;
}
.home-quicklinks a {
  display: inline-block;
  padding: 8px 18px;
  border: 1px solid #00bcea;
  border-radius: 20px;
  color: #00bcea !important;
  font-size: 1em;
  text-decoration: none !important;
}
.home-quicklinks a:hover {
  background-color: #00bcea;
  color: #FFF !important;
}

.home-sticky-icons {
  position: fixed;
  left: 0;
  top: 45%;
  z-index: 500;
  display: flex;
  flex-direction: column;
}
.home-sticky-icons a {
  display: flex;
  align-items: stretch;
  height: 48px;
  margin-bottom: 5px;
  text-decoration: none !important;
}
.home-sticky-icons a:hover .home-sticky-icons__text {
  max-width: 220px;
  padding-left: 15px;
  padding-right: 15px;
}
.home-sticky-icons__icon {
  position: relative;
  flex: 0 0 48px;
  width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  font-size: 1.3em;
}
.home-sticky-icons__icon::after {
  content: "";
  position: absolute;
  top: 0;
  right: -13px;
  width: 7px;
  height: 100%;
  transition: all 0.2s ease;
}
.home-sticky-icons__text {
  display: flex;
  align-items: center;
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  color: #000 !important;
  font-size: 1rem;
  font-weight: 600;
  border-left: 3px solid transparent;
  transition: max-width 0.35s ease, padding-left 0.35s ease;
}
.home-sticky-icons a:first-of-type .home-sticky-icons__icon {
  background-color: #f93;
}
.home-sticky-icons a:first-of-type .home-sticky-icons__icon::after {
  background-color: #f93;
}
.home-sticky-icons a:first-of-type .home-sticky-icons__text {
  border-left-color: #f93;
}
.home-sticky-icons a:first-of-type:hover .home-sticky-icons__icon::after {
  background-color: #777;
}
.home-sticky-icons a:last-of-type .home-sticky-icons__icon {
  background-color: #00bcea;
}
.home-sticky-icons a:last-of-type .home-sticky-icons__icon::after {
  background-color: #00bcea;
}
.home-sticky-icons a:last-of-type .home-sticky-icons__text {
  border-left-color: #00bcea;
}
.home-sticky-icons a:last-of-type:hover .home-sticky-icons__icon::after {
  background-color: #777;
}
@media only screen and (max-width: 760px) {
  .home-sticky-icons {
    top: auto;
    bottom: 20px;
    left: auto;
    right: 20px;
    flex-direction: row;
    width: auto;
    gap: 12px;
  }
  .home-sticky-icons a {
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    margin-bottom: 0;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
  }
  .home-sticky-icons__icon {
    flex: 1 1 auto;
    width: 100%;
    padding: 0;
  }
  .home-sticky-icons__icon::after {
    display: none;
  }
  .home-sticky-icons__text {
    display: none;
  }
}

.home-hero-image {
  margin: 20px 0;
}
.home-hero-image img {
  width: 100%;
  max-height: 600px;
  object-fit: cover;
  object-position: top center;
}

:root {
  --wp--style--global--content-size: 990px;
  --wp--style--global--wide-size: 1200px;
  --wp--style--block-gap: 24px;
}
@media only screen and (max-width: 760px) {
  :root {
    --wp--style--block-gap: 15px;
  }
}

div.sonntag-no-gap-bottom {
  margin-bottom: 0 !important;
}

div.sonntag-no-gap-top {
  margin-top: 0 !important;
}

.wp-block-group:not(.alignwide):not(.alignfull) {
  max-width: 990px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}
@media only screen and (max-width: 760px) {
  .wp-block-group:not(.alignwide):not(.alignfull) {
    padding-left: 30px;
    padding-right: 30px;
  }
}

.wp-block-group:not(.alignwide):not(.alignfull) .wp-block-group {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}

.alignwide {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.container {
  max-width: 990px;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}
@media only screen and (max-width: 760px) {
  .container {
    padding-left: 30px;
    padding-right: 30px;
  }
}

.wp-block-group__inner-container {
  position: relative;
}

.blog-hero {
  position: relative;
  overflow: hidden;
}
.blog-hero img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.blog-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.2) 45%, rgba(0, 0, 0, 0) 75%);
  pointer-events: none;
}
.blog-hero__text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 30px;
  z-index: 1;
  text-align: center;
  padding: 0 20px;
}
.blog-hero__cat {
  display: inline-block;
  background-color: #f93;
  color: #fff;
  font-weight: bold;
  font-size: 0.85em;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.blog-hero h1 {
  color: #fff;
  font-size: 2.4em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  margin: 0;
}
@media only screen and (max-width: 760px) {
  .blog-hero img {
    height: 280px;
  }
  .blog-hero h1 {
    font-size: 1.6em;
  }
}
@media only screen and (max-width: 480px) {
  .blog-hero img {
    height: 220px;
  }
  .blog-hero h1 {
    font-size: 1.3em;
  }
  .blog-hero__text {
    bottom: 15px;
  }
}

.blog-breadcrumbs {
  margin: 20px 0;
  color: #777;
  font-size: 0.9em;
  text-align: center;
}
.blog-breadcrumbs a {
  color: #777;
}
.blog-breadcrumbs a:hover {
  color: #00bcea;
}

.blog-post-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
}
@media only screen and (max-width: 760px) {
  .blog-post-layout {
    grid-template-columns: 1fr;
  }
  .blog-post-layout .blog-post-content {
    order: 1;
  }
  .blog-post-layout .blog-employee-card {
    order: 2;
  }
}

.blog-employee-card .single_card {
  border: 1px solid #ddd;
  box-sizing: border-box;
}
.blog-employee-card .single_card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.blog-employee-card .single_card .content {
  padding: 20px;
}
.blog-employee-card .single_card .content h2 {
  font-size: 1.2em;
  margin: 0 0 4px;
}
.blog-employee-card .single_card .content h3 {
  font-size: 0.95em;
  font-weight: normal;
  color: #777;
  margin: 0 0 12px;
}
.blog-employee-card .single_card .content a {
  color: #00bcea;
}
.blog-employee-card .single_card .content p {
  margin: 4px 0 0;
}

.blog-post-tags {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #ddd;
  color: #777;
  font-size: 0.9em;
}
.blog-post-tags a {
  color: #777;
}
.blog-post-tags a:hover {
  color: #00bcea;
}

.blog-post-nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 50px 0;
  max-width: 100vw;
}
.blog-post-nav .prev-post,
.blog-post-nav .next-post {
  position: static;
  left: auto;
  right: auto;
  max-width: 46%;
  padding: 0;
  margin: 0;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
}
.blog-post-nav .prev-post:hover,
.blog-post-nav .next-post:hover {
  background: none;
  border: none;
  box-shadow: none;
}
.blog-post-nav .prev-post a,
.blog-post-nav .next-post a {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-break: break-word;
}
.blog-post-nav .next-post a {
  text-align: right;
}
@media only screen and (max-width: 600px) {
  .blog-post-nav {
    flex-direction: column;
  }
  .blog-post-nav .prev-post,
  .blog-post-nav .next-post {
    max-width: 100%;
  }
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 30px 0;
}
@media only screen and (max-width: 760px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media only screen and (max-width: 480px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}
.blog-grid .post-wrapper {
  display: flex;
  flex-direction: column;
  background-color: #f5f5f5;
  overflow: hidden;
}
.blog-grid .post-wrapper a:first-child {
  display: block;
  overflow: hidden;
}
.blog-grid .post-wrapper img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.blog-grid .post-wrapper:hover img {
  transform: scale(1.08);
}
.blog-grid .post-wrapper .txt {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.5em;
}
.blog-grid .post-wrapper .txt h3 {
  margin: 0 0 10px;
  font-size: 1.1em;
}
.blog-grid .post-wrapper .blog-excerpt {
  color: #777;
  font-size: 0.9em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-grid .post-wrapper .btn.btn-primary {
  margin-top: auto;
  align-self: flex-start;
}
.blog-grid .wp-block-post {
  display: flex;
  flex-direction: column;
  background-color: #f5f5f5;
  list-style: none;
  margin: 0;
  overflow: hidden;
}
.blog-grid .wp-block-post-featured-image {
  margin: 0;
  overflow: hidden;
}
.blog-grid .wp-block-post-featured-image img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.blog-grid .wp-block-post:hover .wp-block-post-featured-image img {
  transform: scale(1.08);
}
.blog-grid .wp-block-post-title,
.blog-grid .wp-block-post-excerpt,
.blog-grid .wp-block-read-more {
  margin-left: 1.5em;
  margin-right: 1.5em;
}
.blog-grid .wp-block-post-title {
  margin-top: 1.5em;
  font-size: 1.1em;
}
.blog-grid .wp-block-post-title a {
  color: inherit;
}
.blog-grid .wp-block-post-excerpt {
  color: #777;
  font-size: 0.9em;
}
.blog-grid .wp-block-read-more {
  margin-top: auto;
  margin-bottom: 1.5em;
  align-self: flex-start;
}

.post-slider-title {
  margin: 50px 0 10px;
}

.rechtsgebiete-grid > .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px 20px;
  margin: 30px 0;
  width: 100%;
}
.rechtsgebiete-grid .rechtsgebiete-tile {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.rechtsgebiete-grid .rechtsgebiete-tile > .wp-block-group__inner-container {
  height: 100%;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.rechtsgebiete-grid .rechtsgebiete-tile:hover {
  transform: translateY(-6px);
}
.rechtsgebiete-grid p {
  height: 100%;
  margin: 0;
  padding: 0;
}
.rechtsgebiete-grid a {
  display: block;
  height: 100%;
  box-sizing: border-box;
  text-align: left;
  color: #333 !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 1.25em;
  padding: 0 0 16px 0;
  border-bottom: 5px solid #f93;
  overflow: hidden;
  transition: border-color 0.3s ease, color 0.3s ease;
}
.rechtsgebiete-grid a:hover {
  border-bottom-color: #00bcea;
  color: #00bcea !important;
}
.rechtsgebiete-grid img {
  width: 100%;
  height: auto;
  margin: 0px 0px 4px 0px;
  display: block;
  transition: transform 0.45s ease;
}
.rechtsgebiete-grid a:hover img {
  transform: scale(1.08);
}
@media only screen and (max-width: 760px) {
  .rechtsgebiete-grid > .wp-block-group__inner-container {
    grid-template-columns: repeat(2, 1fr);
    margin: 15px 0;
  }
}

.philosophie-topic {
  position: relative;
  margin-bottom: 40px;
}
.philosophie-topic:last-child {
  margin-bottom: 0;
}
.philosophie-topic__header {
  position: relative;
  margin-bottom: 20px;
  padding-left: 25px !important;
}
.philosophie-topic__header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: #00bcea;
}
.philosophie-topic__header > .wp-block-group__inner-container {
  display: flex;
  align-items: center;
  gap: 15px;
}
.philosophie-topic__header > .wp-block-group__inner-container h3 {
  margin: 0;
  font-weight: bold;
  font-family: "Roboto Slab";
}
.philosophie-topic__icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}
.philosophie-topic__icon img {
  width: 100% !important;
  height: auto !important;
}
.philosophie-topic .wp-block-columns {
  position: relative;
  display: block !important;
  margin-bottom: 0;
}
.philosophie-topic .wp-block-columns .slick-track {
  display: flex !important;
  align-items: stretch;
}
.philosophie-topic .wp-block-columns .slick-slide {
  height: auto;
  flex-shrink: 0;
}
.philosophie-topic .wp-block-columns .slick-slide > div {
  height: 100%;
}
.philosophie-topic .wp-block-columns .wp-block-column {
  position: relative;
  height: 100%;
  padding: 0 30px;
  box-sizing: border-box;
}
.philosophie-topic .wp-block-columns .wp-block-column::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 100%;
  background-color: #000;
}
.philosophie-topic p {
  font-size: 0.9em;
  color: #777;
}

.philosophie-next-btn {
  position: absolute;
  top: -40px;
  right: 8px;
  width: 30px;
  height: 30px;
  transform: translateY(-50%);
  padding: 0;
  border: none;
  background-color: transparent;
  cursor: pointer;
  z-index: 3;
}
.philosophie-next-btn::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-color: #00bcea;
  -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMDAwIiBzdHJva2Utd2lkdGg9IjIuMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48cG9seWxpbmUgcG9pbnRzPSI5IDYgMTUgMTIgOSAxOCIvPjwvc3ZnPg==");
  mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMDAwIiBzdHJva2Utd2lkdGg9IjIuMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48cG9seWxpbmUgcG9pbnRzPSI5IDYgMTUgMTIgOSAxOCIvPjwvc3ZnPg==");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.signature {
  text-align: right;
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: 2em;
  color: #333;
  margin-top: 20px;
}

.gute-gruende ul {
  max-width: 100%;
  margin: 20px auto 0;
  padding: 0;
}
.gute-gruende ul li {
  position: relative;
  padding: 5px 0 5px 0px;
  margin-left: 20px;
}

.prozess-timeline {
  position: relative;
  padding-top: 25px;
}
.prozess-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 60px;
  width: calc(100% - 60px);
  height: 1.5px;
  background-color: #777;
}
.prozess-timeline::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 30px;
  height: 5px;
  background-color: #00bcea;
}

.prozess-schritt {
  margin-bottom: 35px;
}
.prozess-schritt:last-child {
  margin-bottom: 0;
}
.prozess-schritt .wp-block-columns {
  align-items: flex-start;
  gap: 20px;
}
.prozess-schritt img {
  display: block;
  width: 26px;
  height: 26px;
  margin-top: 3px;
}
.prozess-schritt strong {
  font-family: "Roboto Slab";
}
.prozess-schritt p {
  margin: 0;
}
.prozess-schritt .prozess-schritt__text {
  color: #000;
  line-height: 1.6;
}
@media only screen and (max-width: 760px) {
  .prozess-schritt .wp-block-columns {
    flex-wrap: wrap;
  }
}

.list_box {
  position: relative;
  padding: 30px 50px !important;
  border: 1.5px solid #000;
}
.list_box::before {
  content: "";
  position: absolute;
  top: 45px;
  left: -5.5px;
  width: 10px;
  height: 35%;
  background-color: #f93;
}
.list_box li {
  margin: 15px 0px;
}

.flex-slider {
  position: relative;
  max-width: 100%;
  margin: 30px auto 30px;
}
@media only screen and (max-width: 760px) {
  .flex-slider {
    margin-top: 15px;
  }
}
.flex-slider .slick-track {
  display: flex !important;
  align-items: flex-start !important;
}
.flex-slider .slick-slide {
  height: auto;
  flex-shrink: 0;
  margin-right: 0 !important;
}
.flex-slider .slick-dots {
  position: relative;
  bottom: 0;
  margin-top: 20px;
  padding-top: 15px;
}
.flex-slider .slick-dots::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 260px;
  height: 10px;
  background-color: #f93;
}
.flex-slider .slick-dots li button:before {
  font-size: 1rem;
  color: transparent;
  border: 1px solid #333;
  border-radius: 50px;
  width: 15px;
  height: 15px;
}
.flex-slider .slick-dots li.slick-active button:before {
  color: transparent;
  background-color: #333;
  border-color: #333;
  opacity: 1;
}
@media only screen and (max-width: 760px) {
  .flex-slider .slick-dots {
    margin-top: 0px;
  }
  .flex-slider .slick-dots::before {
    width: 100%;
  }
}
@media only screen and (max-width: 760px) {
  .flex-slider .slick-dots::before {
    top: -10px;
  }
}

.single-slider.wp-block-gallery {
  display: block !important;
  margin: 30px auto 50px;
}
@media only screen and (max-width: 760px) {
  .single-slider.wp-block-gallery {
    margin-top: 15px;
  }
}
.single-slider.wp-block-gallery figure.wp-block-image {
  width: 100% !important;
  margin: 0;
}
.single-slider.wp-block-gallery img {
  width: 100% !important;
  height: 400px !important;
  object-fit: cover !important;
  display: block !important;
}
.single-slider.wp-block-gallery .slick-dots {
  position: relative;
  bottom: 0;
  margin-top: 10px;
}
.single-slider.wp-block-gallery .slick-dots li button:before {
  font-size: 1rem;
  color: transparent;
  border: 1px solid #333;
  border-radius: 50px;
  width: 15px;
  height: 15px;
}
.single-slider.wp-block-gallery .slick-dots li.slick-active button:before {
  color: transparent;
  background-color: #333;
  border-color: #333;
  opacity: 1;
}
.single-slider.wp-block-gallery .slick-arrow {
  z-index: 1;
}
.single-slider.wp-block-gallery .slick-arrow:before {
  color: #333;
}
@media only screen and (max-width: 600px) {
  .single-slider.wp-block-gallery img {
    height: 280px;
  }
}

.flex-slide {
  position: relative;
  background-color: #FFF;
}
.flex-slide img {
  max-width: 100%;
  height: auto;
}
.flex-slide a {
  color: #000;
  transition: all 0.2s ease;
}
.flex-slide a:hover {
  color: #f93;
}
.flex-slide .wp-block-columns {
  row-gap: 1.5em;
}
.flex-slide .wp-block-columns .wp-block-column {
  justify-content: center;
  display: flex;
  flex-direction: column;
}
.flex-slide .wp-block-columns .wp-block-column:last-child {
  padding: 35px 30px 35px 0 !important;
}
@media only screen and (max-width: 600px) {
  .flex-slide {
    padding: 30px 0 !important;
  }
  .flex-slide .wp-block-columns {
    row-gap: 0;
  }
  .flex-slide .wp-block-columns > .wp-block-column {
    padding: 30px;
    box-sizing: border-box;
  }
  .flex-slide .wp-block-columns > .wp-block-column h2 {
    margin-top: 0px !important;
  }
  .flex-slide .wp-block-columns > .wp-block-column .wp-block-spacer {
    height: 15px !important;
  }
  .flex-slide .wp-block-columns > .wp-block-column:first-child {
    padding: 0;
  }
  .flex-slide .wp-block-columns > .wp-block-column:first-child img {
    width: 100%;
    max-height: 280px;
    object-fit: cover;
    object-position: center top;
  }
}

.has-orange-marker {
  margin-top: 20px !important;
}
.has-orange-marker .wp-block-column {
  margin-top: 0 !important;
}
.has-orange-marker h2 {
  margin-top: 0;
}
.has-orange-marker p {
  margin: 0 0 0.3em;
}
@media only screen and (max-width: 760px) {
  .has-orange-marker {
    row-gap: 0.3em;
  }
}

.home-aktuelles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 30px;
  margin: 30px 0 50px;
}
@media only screen and (max-width: 900px) {
  .home-aktuelles {
    display: block;
    gap: 0;
  }
  .home-aktuelles > .wp-block-column {
    margin-top: 30px;
  }
  .home-aktuelles > .wp-block-column:first-child {
    margin-top: 0;
  }
}
@media only screen and (max-width: 760px) {
  .home-aktuelles {
    margin-top: 15px;
  }
}

.home-testimonial {
  display: flex;
  flex-direction: column;
  background-color: #f93;
  margin-bottom: 50px;
  border-radius: 10px;
  padding: 20px !important;
}
.home-testimonial h2,
.home-testimonial p {
  color: #fff;
}
.home-testimonial p {
  font-size: 1.25rem;
  font-weight: bold;
  margin: 30px 0px;
}
.home-testimonial p.testimonial-author {
  font-size: 1rem;
  font-style: italic;
  text-align: right;
  font-weight: normal;
  margin: auto 0px 0px 0px;
}
@media only screen and (max-width: 760px) {
  .home-testimonial p.testimonial-author {
    max-width: 50%;
  }
}

.testimonial-slide {
  position: relative;
  height: auto;
  min-height: 150px;
  overflow: visible;
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  padding-bottom: 40px;
}
.testimonial-slide .testimonial-author {
  position: absolute;
  bottom: 20px;
  right: 0;
  margin: 0 !important;
}

.testimonial-slider {
  position: relative;
  box-sizing: border-box;
}
.testimonial-slider .slick-arrow {
  position: absolute !important;
  bottom: 0 !important;
  top: auto !important;
  width: 22px;
  height: 22px;
  z-index: 2;
  background: none;
  color: #444;
  transition: color 0.2s ease;
}
.testimonial-slider .slick-arrow:before {
  content: none;
}
.testimonial-slider .slick-arrow:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: currentColor;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
.testimonial-slider .slick-arrow:hover {
  color: #fff;
}
.testimonial-slider .slick-prev {
  left: 0 !important;
}
.testimonial-slider .slick-prev::after {
  -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMDAwIiBzdHJva2Utd2lkdGg9IjIuMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48cG9seWxpbmUgcG9pbnRzPSIxNSA2IDkgMTIgMTUgMTgiLz48L3N2Zz4=");
  mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMDAwIiBzdHJva2Utd2lkdGg9IjIuMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48cG9seWxpbmUgcG9pbnRzPSIxNSA2IDkgMTIgMTUgMTgiLz48L3N2Zz4=");
}
.testimonial-slider .slick-next {
  left: 40px;
  right: auto;
}
.testimonial-slider .slick-next::after {
  -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMDAwIiBzdHJva2Utd2lkdGg9IjIuMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48cG9seWxpbmUgcG9pbnRzPSI5IDYgMTUgMTIgOSAxOCIvPjwvc3ZnPg==");
  mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMDAwIiBzdHJva2Utd2lkdGg9IjIuMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48cG9seWxpbmUgcG9pbnRzPSI5IDYgMTUgMTIgOSAxOCIvPjwvc3ZnPg==");
}

.has-rotate-headline {
  display: flex;
  align-items: stretch;
  gap: 20px;
}
.has-rotate-headline > .flex-slider {
  flex: 1 1 auto;
  min-width: 0;
  margin-left: 0;
  margin-right: 0;
}
@media only screen and (max-width: 900px) {
  .has-rotate-headline {
    display: block;
  }
  .has-rotate-headline > .flex-slider {
    margin-left: auto;
    margin-right: auto;
  }
}

.rotate_headline {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin: 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
@media only screen and (max-width: 900px) {
  .rotate_headline {
    writing-mode: horizontal-tb;
    transform: none;
    margin-bottom: 10px;
  }
}

.home-latest-post {
  position: relative;
}
.home-latest-post .wp-block-post-title a {
  color: #00314F !important;
}
.home-latest-post .wp-block-post-title a::after {
  content: "";
  position: absolute;
  inset: 0;
}
.home-latest-post .read-more-label {
  color: #f93;
}
.home-latest-post h2 {
  font-weight: lighter;
}
.home-latest-post h3 {
  font-weight: bold;
  line-height: 1.5rem;
}

.search-results-heading {
  margin-top: 30px;
}
@media only screen and (max-width: 760px) {
  .search-results-heading {
    margin-top: 40px;
  }
}
.search-results-heading h1 {
  color: #00bcea;
  font-family: "Roboto Slab";
  text-shadow: none;
}

.border_left {
  position: relative;
  padding-left: 15px !important;
}
.border_left::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 5px;
  height: 90%;
  background-color: #00bcea;
}
.border_left.orange_border {
  padding-left: 30px;
}
.border_left.orange_border::before {
  top: 0px;
  height: 100%;
  background-color: #f93;
}
.border_left.orange_border h2 {
  margin-bottom: 15px;
  line-height: 1;
}

.orange_border_left {
  position: relative;
  padding-left: 15px !important;
  font-weight: 500;
  font-family: "Roboto Slab";
}
.orange_border_left::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  width: 5px;
  height: 75%;
  background-color: #f93;
}

.orange_border_bottom img {
  border-bottom: 5px solid #f93;
}

.border_left_light {
  font-size: 0.85rem;
  border-left: 1.5px solid #000;
  padding-left: 10px;
  margin: 0px;
}

.border_top {
  position: relative;
  padding: 15px 0px 30px 0px;
}
.border_top::before {
  content: "";
  position: absolute;
  top: 0;
  left: 90px;
  width: calc(100% - 90px);
  height: 1px;
  background-color: #777;
}
.border_top::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 60px;
  height: 5px;
  background-color: #00bcea;
}

.button-anchor {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  border: 1px solid #000;
  border-radius: 5px;
  margin: 0px;
  align-items: center;
  justify-content: flex-start;
  font-size: 0.85rem;
  padding: 5px 5px 5px 10px;
  transition: all 0.2s ease;
}
.button-anchor a {
  color: #000 !important;
  hyphens: auto;
}
.button-anchor:hover a {
  color: #f93 !important;
}
.button-anchor:hover::before {
  background-color: #f93;
}
.button-anchor::before {
  content: "";
  position: absolute;
  top: 25%;
  left: 0;
  width: 2px;
  height: 50%;
  background-color: #000;
}

.cta {
  position: relative;
  padding: 100px 0px;
  background-color: #878787;
  overflow: hidden;
}
.cta h2,
.cta h3,
.cta h4,
.cta li,
.cta p,
.cta a {
  color: #fff;
}
.cta h3 {
  line-height: 1.5rem;
}
.cta a {
  border: 2px solid #f93;
  padding: 10px 30px 5px 15px;
  transition: all 0.2s ease;
}
.cta a:hover {
  padding: 10px 22.5px 5px 22.5px;
}
.cta::before {
  content: "";
  position: absolute;
  background-image: url("../img/ra-sonntag-elem-1.svg");
  width: 35vw;
  height: 35vw;
  top: -175px;
  left: -30px;
  animation: sonntag-cta-spin 120s linear infinite;
}

@keyframes sonntag-cta-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(-360deg);
  }
}
.wp-block-buttons {
  gap: 50px;
}
.wp-block-buttons.smaller_gap {
  gap: 15px;
}

.button-primary a,
.btn.btn-primary,
.blog-post-nav a,
.wp-block-read-more,
.wp-block-button__link {
  display: inline-block;
  color: #FFF !important;
  background-color: #f93;
  border-color: #CCC;
  font-size: 1em;
  border: none;
  border-radius: 0px;
  padding: 10px 30px 5px 15px;
  transition: all 0.2s ease;
  text-decoration: none;
  font-family: "Roboto Slab";
  line-height: 1.25rem;
  text-align: left;
}
.button-primary a:hover,
.btn.btn-primary:hover,
.blog-post-nav a:hover,
.wp-block-read-more:hover,
.wp-block-button__link:hover {
  padding: 10px 22.5px 5px 22.5px;
}

.button-primary a,
.btn.btn-primary,
.wp-block-button__link {
  white-space: nowrap;
}
@media only screen and (max-width: 600px) {
  .button-primary a,
  .btn.btn-primary,
  .wp-block-button__link {
    white-space: normal;
  }
}
.button-primary a::after,
.btn.btn-primary::after,
.wp-block-button__link::after {
  content: "";
  display: inline-block;
  width: 0.8em;
  height: 0.8em;
  margin-left: 7px;
  vertical-align: -0.05em;
  background-color: currentColor;
  -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMDAwIiBzdHJva2Utd2lkdGg9IjIuMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48bGluZSB4MT0iNiIgeTE9IjE4IiB4Mj0iMTgiIHkyPSI2Ii8+PHBvbHlsaW5lIHBvaW50cz0iOCA2IDE4IDYgMTggMTYiLz48L3N2Zz4=");
  mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMDAwIiBzdHJva2Utd2lkdGg9IjIuMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48bGluZSB4MT0iNiIgeTE9IjE4IiB4Mj0iMTgiIHkyPSI2Ii8+PHBvbHlsaW5lIHBvaW50cz0iOCA2IDE4IDYgMTggMTYiLz48L3N2Zz4=");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.wp-block-column.has-background .has-background {
  padding: 0;
  margin-bottom: 30px;
}
.wp-block-column.has-background .has-background:last-child {
  margin-bottom: 0;
}

.wp-block-sonntag-slider {
  padding-left: 0px;
  padding-right: 0px;
}
.wp-block-sonntag-slider .wp-block-sonntag-slide {
  padding: 0px;
}
.wp-block-sonntag-slider .wp-block-sonntag-slide .wp-block-image {
  padding: 0px;
}

.border_box {
  position: relative;
  border: 2px solid #000;
  padding: 1rem 3rem 2.5rem 3rem !important;
}
.border_box::before {
  content: "";
  position: absolute;
  top: calc(50% - 50px);
  left: -5px;
  width: 8px;
  height: 100px;
  background-color: #00bcea;
}

.wp-block-details {
  --faq-col: 110px;
  --faq-bar: 60px;
  --faq-bulb: 28px;
  position: relative;
  padding: 30px var(--faq-col) 28px 0;
}
.wp-block-details::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: var(--faq-col);
  height: 1px;
  background-color: #ddd;
}
.wp-block-details::after {
  content: "";
  position: absolute;
  top: 0;
  right: calc((var(--faq-col) - var(--faq-bar)) / 2);
  width: var(--faq-bar);
  height: 3px;
  background-color: #333;
}
.wp-block-details[open]::after {
  background-color: #f93;
}
.wp-block-details summary {
  position: relative;
  display: block;
  list-style: none;
  cursor: pointer;
  color: #3c3c3c;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.5;
}
.wp-block-details summary::-webkit-details-marker {
  display: none;
}
.wp-block-details summary::after {
  content: "";
  position: absolute;
  top: -8px;
  right: calc(-1 * (var(--faq-col) - (var(--faq-col) - var(--faq-bulb)) / 2));
  width: var(--faq-bulb);
  aspect-ratio: 3/4;
  background: url("../img/faq-icons/gluehbirne.svg") no-repeat center/contain;
}
.wp-block-details[open] summary::after {
  background-image: url("../img/faq-icons/gluehbirne-aktiv.svg");
}
.wp-block-details > *:not(summary) {
  margin-top: 20px;
  margin-bottom: 0;
  color: #3c3c3c;
  line-height: 1.6;
}
@media only screen and (max-width: 760px) {
  .wp-block-details {
    --faq-col: 64px;
    --faq-bar: 40px;
    --faq-bulb: 22px;
  }
}

.wp-block-accordion {
  border-top: 1px solid #ddd;
}

.wp-block-accordion-item {
  border-bottom: 1px solid #ddd;
}

.wp-block-accordion-heading__toggle {
  font-family: "Roboto Slab";
  font-weight: bold;
  font-size: 1.1rem;
  color: #00314F;
}
.wp-block-accordion-heading__toggle:hover .wp-block-accordion-heading__toggle-title {
  color: #f93;
}

.wp-block-accordion-heading__toggle-icon {
  color: #f93;
  font-size: 1.4em;
  font-weight: bold;
}

.wp-block-accordion-panel {
  padding-bottom: 25px;
}

.richtlinie-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}
.richtlinie-item__number {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #f93;
  color: #fff;
  font-family: "Roboto Slab";
  font-weight: bold;
  font-size: 1.1rem;
  margin: 0;
}
.richtlinie-item p:not(.richtlinie-item__number) {
  margin: 0;
  line-height: 1.5;
}

.team-member-grid > .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
@media only screen and (max-width: 900px) {
  .team-member-grid > .wp-block-group__inner-container {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media only screen and (max-width: 600px) {
  .team-member-grid > .wp-block-group__inner-container {
    grid-template-columns: 1fr;
  }
}

.team-member-card {
  background-color: #fff;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  padding-bottom: 20px;
}
.team-member-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}
.team-member-card__photo {
  margin: 0;
}
.team-member-card__photo img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
}
.team-member-card h3 {
  margin: 15px 20px 5px;
}
.team-member-card p {
  margin: 0 20px 8px;
  font-size: 0.95rem;
}

.floating_columns {
  position: relative;
  z-index: 1;
  margin-top: -100px;
  margin-bottom: 50px;
}
@media only screen and (max-width: 760px) {
  .floating_columns img {
    height: 200px;
    width: 100%;
    object-fit: cover;
    object-position: top;
  }
}

footer {
  padding: 50px 0px;
}
footer .container {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
}
footer .container .footer-col {
  flex: 1;
}
footer .container .footer-col .footer-logo {
  max-width: 250px;
}
footer .container .footer-col .footer-zertifikat {
  margin: 0 0 15px 0;
}
footer .container .footer-col .footer-zertifikat a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  font-size: 0.9em;
}
footer .container .footer-col .footer-zertifikat img {
  max-width: 70px;
  width: 100%;
  flex: 0 0 auto;
}
footer .container .footer-col .social-col {
  display: flex;
  flex-direction: row;
  gap: 15px;
}
footer .container .footer-col .social-col .btn-outline {
  margin-top: 0px;
}
footer .container .footer-col .social-col .btn-outline:hover {
  background: transparent;
}
footer .container .footer-col .social-col .footer-badge {
  max-width: 200px;
  width: 100%;
}
@media only screen and (max-width: 760px) {
  footer .container {
    flex-direction: column;
    align-items: stretch;
    gap: 30px;
  }
  footer .container .footer-col {
    flex: 0 0 auto;
    width: 100%;
  }
}

.subfooter {
  background-color: #5a5d5e;
  color: #fff;
  border-top: 3px solid #00bcea;
}
.subfooter .subfooter_inner {
  max-width: 990px;
  margin: 0 auto;
  padding: 22px 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
@media only screen and (max-width: 480px) {
  .subfooter .subfooter_inner {
    padding-left: 15px;
    padding-right: 15px;
  }
}
.subfooter .subfooter_links {
  display: flex;
  flex-direction: row;
  gap: 25px;
}
.subfooter .subfooter_links a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}
.subfooter .subfooter_links a:hover {
  color: #f93;
}
@media only screen and (max-width: 600px) {
  .subfooter .subfooter_inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

.ff-default .ff_btn_style {
  background-color: #00bcea !important;
}
.ff-default .ff_btn_style:hover {
  background-color: #f93 !important;
}

@media only screen and (min-width: 760px) {
  .hide_on_desktop {
    display: none;
  }
}
@media only screen and (max-width: 760px) {
  h2 {
    font-size: 1.5em;
  }
  h3 {
    font-size: 1.25em;
  }
  .home-hero-image img {
    max-height: 320px;
  }
  .cta {
    padding: 50px 0px;
  }
  .cta::before {
    width: 55vw;
    height: 55vw;
    top: -100px;
  }
  .wp-block-spacer[style="height:100px"] {
    height: 50px !important;
  }
  .wp-block-buttons {
    gap: 15px;
  }
  p {
    hyphens: auto;
    -webkit-hyphens: auto;
    overflow-wrap: break-word;
    text-wrap: pretty;
  }
  .has-text-align-center br {
    display: none;
  }
  .hide_on_mobile {
    display: none !important;
  }
}
@media only screen and (max-width: 480px) {
  .home-hero h1 {
    font-size: 1.6em;
  }
}
.blog-teaser__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  align-items: stretch;
}

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

.blog-teaser__image {
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
  flex-shrink: 0;
}

.blog-teaser__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-teaser__content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 30px;
  background-color: #ededed;
}

.blog-teaser__title {
  margin: 0 0 15px;
  min-height: 4.2em;
  font-family: "Roboto Slab";
  color: #00bcea;
}

.blog-teaser__title a {
  text-decoration: none;
}

.blog-teaser__excerpt {
  margin: 0;
}

@media (max-width: 900px) {
  .blog-teaser__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .blog-teaser__grid {
    grid-template-columns: 1fr;
  }
}
