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

  Theme Name: BDKJ Speyer
  Text Domain: bdkj-speyer
  Version: 1.10.4
  Description: Theme für den BDKJ Speyer und seine Regionalverbände
  Tags: 
  Author: Visualtech
  Author URI: https://visualtech.de
  License: 
  License URI: 
  Theme URI: 

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



/* FONTS */

@font-face {
  font-family: "BDKJ";
  src: url("assets/fonts/BDKJ-Regular.woff2") format("woff2");
  font-display: swap;
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "BDKJ";
  src: url("assets/fonts/BDKJ-Bold.woff2") format("woff2");
  font-display: swap;
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "BDKJ";
  src: url("assets/fonts/BDKJ-Light.woff2") format("woff2");
  font-display: swap;
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Trebuchet";
  src: url("assets/fonts/Trebuchet-Regular.woff2") format("woff2");
  font-display: swap;
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Trebuchet";
  src: url("assets/fonts/Trebuchet-Bold.woff2") format("woff2");
  font-display: swap;
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Trebuchet";
  src: url("assets/fonts/Trebuchet-Italic.woff2") format("woff2");
  font-display: swap;
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: "Trebuchet";
  src: url("assets/fonts/Trebuchet-BoldItalic.woff2") format("woff2");
  font-display: swap;
  font-weight: 700;
  font-style: italic;
}



/* VARIABLES */

:root {
/* colors */
  --green-hex: #77b800;
  --green-rgb: 119,184,0;
  --green-scrollbar-hex: #badb7e;
  --blue-light-hex: #1bbce9;
  --blue-light-rgb: 27,187,233;
  --blue-light-scrollbar-hex: #b3eeff;
  --blue-dark-hex: #0070b8;
  --blue-dark-rgb: 0,112,184;
  --blue-dark-scrollbar-hex: #7fb8db;
  --purple-hex: #572381;
  --purple-rgb: 87,35,129;
  --purple-scrollbar-hex: #9b8da6;
  --pink-hex: #d3006a;
  --pink-rgb: 211,0,106;
  --pink-scrollbar-hex: #f78fc3;
  --red-hex: #e2001a;
  --red-rgb: 226,0,26;
  --red-scrollbar-hex: #ff94a0;
  --orange-hex: #ff7400;
  --orange-rgb: 255,116,0;
  --orange-scrollbar-hex: #ffc494;
  --yellow-hex: #ff8f00;
  --yellow-rgb: 255,143,0;
  --yellow-scrollbar-hex: #ffd194;
  --gray-light-hex: #9e9e9e;          /* Formularfelder mit Schrift #333 (4,7:1) */
  --gray-light-rgb: 158,158,158;
  --gray-button-hex: #737373;         /* Flächen mit weißer Schrift, 4,74:1 (bis 1.8.0 #9e9e9e, 2,68:1) */
  --gray-light-scrollbar-hex: #d6d6d6;
  --gray-medium-hex: #575757;
  --gray-medium-rgb: 87,87,87;
  --gray-dark-hex: #333;
  --gray-dark-rgb: 51,51,51;

/* Schriftgröße aus „Darstellung anpassen“ (1, 1.25, 1.5) – Faktor in allen Schriftgrößen hier;
   der Kopf (menu-main.css) bleibt, sonst bricht das Menü um */
  --vt-schrift: 1;

/* browser appearance */
  --scrollbar-width: 8px;
  --scrollbar-track-background-color: var(--scrollbar-background-color);
  --scrollbar-thumb-background-color: var(--theme-main-color-hex);

/* font */
  --font-family: "Trebuchet", sans-serif;
  --font-size-factor: 1;
  --line-height: 1.2;
  --color: var(--gray-dark-hex);

  --heading-font-family: "BDKJ", sans-serif;
  --h1-font-size: 3rem;
  --h2-font-size: 2.5rem;
  --h3-font-size: 2rem;
  --h4-font-size: 1.5rem;

/* buttons */
  --button-padding: .4em 1.25em;
  --button-border-radius: .125em;
  --button-font-family: "BDKJ", sans-serif;
  --button-font-weight: 700;
  --button-font-size: 1.5rem;
  --button-color: var(--theme-main-color-on-hex);
  --button-background-color: var(--theme-main-color-hex);

/* body */
  --body-background-color: #fff;

/* header */
  --header-height: 90px;
  --header-padding-right-left: 75px;

  --header-background-color: var(--theme-main-color-hex);
  --header-shadow: -5px 5px 10px rgba(0,0,0,.25);

  --header-logo-container-width: 430px;
  --header-logo-container-height: var(--header-height);
  --header-logo-width: 145px;
  --header-logo-height: calc(var(--header-height) * .9);

  --main-menu-height: var(--header-height);
  --main-menu-primary-background-color: var(--theme-main-color-hex);
  --main-menu-secondary-background-color: var(--theme-main-color-hex);
  --main-menu-color: var(--theme-main-color-on-hex);
  --main-menu-font-family: "BDKJ", sans-serif;
  --main-menu-font-weight: 700;
  --main-menu-font-size: 1.5625rem;
  --main-menu-toggle-width: 2rem;
  --main-menu-toggle-font-size: 2.5rem;

/* archive */
  --archive-post-font-size: 1.125rem;

/* main */
  --main-min-height: calc(100vh - var(--main-menu-height) - var(--footer-height));
  --main-font-size: 1.125rem;

  --content-width: 1080px;

  --section-padding-top-bottom: 60px;
  --section-padding-right-left: 150px;
  --section-padding-right-left-dynamic: max(calc((100vw - var(--content-width)) / 2), var(--section-padding-right-left));

  --section-atf-height: calc(100vh - var(--main-menu-height) - 16vh);

  --section-home-padding-right-left: 150px;

  --slide-margin-bottom: 10px;
  --slider-shadow: 0 0 10px rgba(0,0,0,.25);
  --slider-arrow-width: 20px;
  --slider-arrow-height: var(--slider-arrow-width);
  --slider-arrow-background-width: calc(var(--slider-arrow-width) * 2);
  --slider-arrow-background-height: var(--slider-arrow-background-width);
  --slider-dots-width: 15px;
  --slider-dots-height: var(--slider-dots-width);
  --slider-dots-gap: var(--slider-dots-width);

  --post-preview-gap: 75px;
  --post-preview-width-home: min(calc((100vw - var(--section-home-padding-right-left) * 2 - var(--post-preview-gap) * 2) / 3), 400px);
  --post-preview-width-page: min(calc((100vw - var(--section-padding-right-left) * 2 - var(--post-preview-gap) * 2) / 3), 310px);
  --post-preview-width-single: min(calc((100vw - var(--section-padding-right-left) * 2 - var(--post-preview-gap) * 2) / 3), 310px);
  --post-preview-width-archive: min(calc((100vw - var(--section-padding-right-left) * 2 - var(--post-preview-gap) * 2) / 3), 310px);

  --appointment-preview-gap: 75px;
  --appointment-preview-width-home: min(calc((100vw - var(--section-home-padding-right-left) * 2 - var(--appointment-preview-gap) * 2) / 3), 400px);
  --appointment-preview-width-page: min(calc((100vw - var(--section-padding-right-left) * 2 - var(--appointment-preview-gap) * 2) / 3), 310px);
  --appointment-preview-width-single: min(calc((100vw - var(--section-padding-right-left) * 2 - var(--appointment-preview-gap) * 2) / 3), 310px);
  --appointment-preview-width-archive: min(calc((100vw - var(--section-padding-right-left) * 2 - var(--appointment-preview-gap) * 2) / 3), 310px);

  --page-header-height: 450px;

  --single-header-max-height: 350px;
  --single-featured-image-width: min(calc(100vw - var(--section-padding-right-left) * 2), 450px);
  --single-featured-image-height: calc(var(--single-featured-image-width) / 3 * 2);

  --single-person-gap: 2em;
  --single-person-text-width-factor: .6;
  --single-person-ifcs-width-factor: .35;
  --single-person-ifcs-solo-width-factor: .5;
  --single-person-image-width-factor: 1;
  --single-person-image-width: calc(var(--content-width) * var(--single-person-ifcs-width-factor) * var(--single-person-image-width-factor));
  --single-person-image-height: var(--single-person-image-width);
  --single-person-image-solo-width: calc(var(--content-width) * var(--single-person-ifcs-solo-width-factor) * var(--single-person-image-width-factor));
  --single-person-image-solo-height: var(--single-person-image-solo-width);

/* shortcode - person */
  --scp-image-width: 225px;
  --scp-image-height: calc(var(--scp-image-width) / 3 * 4);

  --scp-general-font-size: 16px;
  --scp-name-function-font-size: 18px;
  --scp-contact-icon-font-size: var(--scp-name-function-font-size);

  --scp-social-icon-width: 25px;
  --scp-social-icon-height: var(--scp-social-icon-width);

/* footer */
  --footer-padding-top-bottom: var(--section-padding-top-bottom);
  --footer-padding-right-left: 75px;

  --footer-row-width: min(calc(100vw - var(--footer-padding-right-left) * 2), var(--content-width));

  --footer-background-color: #fff;

  --footer-font-family: "BDKJ", sans-serif;
  --footer-font-size: 1.1rem;
  --footer-font-weight: 300;
  --footer-color: #fff;

  --footer-main-logo-width: 144px;
  --footer-main-logo-height: 125px;
  --footer-sub-logos-gap: 40px;
  --footer-sub-logo-width: 50px;
  --footer-sub-logo-height: var(--footer-sub-logo-width);

  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px; /* Grundgröße für rem – ohne Faktor, sonst wüchse alles doppelt */
  line-height: var(--line-height);
  text-align: justify;
  color: var(--color);
}



/* GENERAL SETTINGS & STYLES */

* {
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb-background-color) var(--scrollbar-track-background-color);
}

*::-webkit-scrollbar {
  width: var(--scrollbar-width);
}

*::-webkit-scrollbar-track {
  background: var(--scrollbar-track-background-color);
}

*::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb-background-color);
}

body {
  width: 100vw;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  margin: 0;
  overflow-x: hidden;
  background: var(--body-background-color);
  font-family: var(--font-family);
}

body.home {
  --post-preview-width: var(--post-preview-width-home);
  --post-preview-height: calc(var(--post-preview-width) / 2 * 3);
  --appointment-preview-width: var(--appointment-preview-width-home);
  --appointment-preview-height: calc(var(--appointment-preview-width) / 3 * 4);
}

body.page {
  --post-preview-width: var(--post-preview-width-page);
  --post-preview-height: calc(var(--post-preview-width) / 2 * 3);
  --appointment-preview-width: var(--appointment-preview-width-page);
  --appointment-preview-height: calc(var(--appointment-preview-width) / 3 * 4);
}

body.single {
  --post-preview-width: var(--post-preview-width-single);
  --post-preview-height: calc(var(--post-preview-width) / 2 * 3);
  --appointment-preview-width: var(--appointment-preview-width-single);
  --appointment-preview-height: calc(var(--appointment-preview-width) / 3 * 4);
}

body.archive {
  --post-preview-width: var(--post-preview-width-archive);
  --post-preview-height: calc(var(--post-preview-width) / 2 * 3);
  --appointment-preview-width: var(--appointment-preview-width-archive);
  --appointment-preview-height: calc(var(--appointment-preview-width) / 3 * 4);
}

body *,
body *::before,
body *::after {
  box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
  margin: 1.25em 0 .75em;
  font-family: var(--heading-font-family);
  font-weight: 700;
  text-align: left;
  color: var(--theme-main-color-text-hex);
}

h1 {
  font-size: calc(var(--h1-font-size) * var(--vt-schrift));
  text-align: center;
}

h1:nth-of-type(1) {
  margin-top: 0;
}

h2 {
  font-size: calc(var(--h2-font-size) * var(--vt-schrift));
  text-align: center;
}

body:not(.home) h2 {
  text-align: left;
}

h3 {
  font-size: calc(var(--h3-font-size) * var(--vt-schrift));
}

h4 {
  font-size: calc(var(--h4-font-size) * var(--vt-schrift));
}

a {
  color: var(--theme-main-color-text-hex);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  transform: all .3s ease-out;
}

*:is(h1,h2,h3,h4,h5,h6) > a:hover {
  text-decoration: none;
}

.button {
  display: flex;
  padding: var(--button-padding);
  border-radius: var(--button-border-radius);
  font-family: var(--button-font-family);
  font-weight: var(--button-font-weight);
  font-size: calc(var(--button-font-size) * var(--vt-schrift));
  color: var(--button-color);
  cursor: pointer;
}

.button:hover {
  text-decoration: none;
}

.button-fill {
  background: var(--button-background-color);
  border-color: var(--button-background-color);
}



/* HEADER */

header {
  width: 100%;
  height: var(--header-height);
  display: grid;
  grid-template-columns: auto;
  grid-template-rows: auto auto;
  position: fixed;
  top: 0;
/* 	padding: 0 var(--header-padding-right-left); */
  background: var(--header-background-color);
  -webkit-box-shadow: var(--header-shadow);
  -moz-box-shadow: var(--header-shadow);
  box-shadow: var(--header-shadow);
  z-index: 9999;
}

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

header a {
  text-decoration: none;
  color: var(--color);
}

header a:hover {
  text-decoration: none;
}



/* MAIN */

main {
  grid-row: 2 / 3;
  width: 100%;
  min-height: var(--main-min-height);
  margin-top: var(--header-height);
  overflow: hidden;
  font-size: calc(var(--main-font-size) * var(--vt-schrift));
}

main ul:not(.slick-dots, .files) {
  padding-left: 1.125em;
}

main ul:not(.slick-dots,.files) li {
  position: relative;
  margin: .25em 0 .25em 1em;
  list-style: none;
  break-inside: avoid;
}

main ul:not(.slick-dots) li:nth-of-type(1) {
  margin-top: 0;
}

main ul:not(.slick-dots,.files) li::before {
  content: '';
  width: 1em;
  height: 1.25em;
  display: inline-block;
  position: absolute;
  left: -1em;
  background-image: url("assets/images/bullet-points/bullet-point-green.png");
  -webkit-background-size: 50%;
  background-size: 65%;
  background-repeat: no-repeat;
  background-position: 0 60%;
}

html.theme-main-color-blue-light main ul:not(.slick-dots,.files) li::before {
  background-image: url("assets/images/bullet-points/bullet-point-blue-light.png");
}

html.theme-main-color-blue-dark main ul:not(.slick-dots,.files) li::before {
  background-image: url("assets/images/bullet-points/bullet-point-blue-dark.png");
}

html.theme-main-color-purple main ul:not(.slick-dots,.files) li::before {
  background-image: url("assets/images/bullet-points/bullet-point-purple.png");
}

html.theme-main-color-pink main ul:not(.slick-dots,.files) li::before {
  background-image: url("assets/images/bullet-points/bullet-point-pink.png");
}

html.theme-main-color-red main ul:not(.slick-dots,.files) li::before {
  background-image: url("assets/images/bullet-points/bullet-point-red.png");
}

html.theme-main-color-orange main ul:not(.slick-dots,.files) li::before {
  background-image: url("assets/images/bullet-points/bullet-point-orange.png");
}

html.theme-main-color-yellow main ul:not(.slick-dots,.files) li::before {
  background-image: url("assets/images/bullet-points/bullet-point-yellow.png");
}

main ol li {
  margin: .25em 0;
}

main ol li::marker {
  color: var(--theme-main-color-text-hex);
}

section {
  width: 100%;
/* 	min-height: 100%; */
  display: flex;
  flex-direction: column;
  padding: var(--section-padding-top-bottom) var(--section-padding-right-left-dynamic);
}


/* front page */

#prevention-container {
  width: 175px;
  height: 345px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 1em;
  position: fixed;
  right: 0;
  bottom: 5vh;
  padding: 30px 30px 30px 50px;
  overflow: hidden;
  z-index: 999;
  font-family: "BDKJ", sans-serif;
  font-size: calc(1.25rem * var(--vt-schrift));
  text-align: right;
  color: var(--theme-main-color-hex);
  filter: drop-shadow(var(--header-shadow));
}

#prevention-container > svg {
  width: 199%;
  height: 199%;
  position: absolute;
  left: 0;
  top: -42.6%;
  z-index: -1;
  pointer-events: none;
}

.prevention-icon {
  width: 1em;
  height: 1em;
  display: none;
  position: absolute;
  top: 42.5%;
  left: 6%;
  background-image: url(assets/images/Icon_Praevention_w.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  font-size: calc(30px * var(--vt-schrift));
}

.prevention-icon::before {
  content: '';
  width: 100%;
  height: 100%;
}

.prevention-text {
  color: var(--theme-main-color-on-hex);
}

.prevention-button {
  background: #fff;
  font-size: inherit;
  color: var(--theme-main-color-text-hex);
}

body.home main ul:not(.slick-dots) {
  -webkit-column-count: 2;
  -moz-column-count: 2;
  column-count: 2;
  column-gap: 1.75em;
  padding: 0;
}

body.home section {
  --content-width: 1350px;
  justify-content: center;
  align-items: center;
  padding: var(--section-padding-top-bottom) var(--section-home-padding-right-left);
}

body.home section:not(#above-the-fold) > * {
  width: 100%;
  max-width: var(--content-width);
}

body.home section:not(#above-the-fold) *:is(h2,h3,h4,h5,h6) {
  width: 100%;
  max-width: var(--content-width);
  margin: 0 0 1.5em;
}

body.home section:not(#above-the-fold) h2 {
  font-size: calc(2.5rem * var(--vt-schrift));
}

section#above-the-fold {
  height: var(--section-atf-height);
  position: relative;
  padding: 0;
}

.slider {
  width: 100%;
  height: 100%;
}

.slide {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide-image-source-container {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-source {
  position: absolute;
  color: #fff;
  right: 15px;
  bottom: 2px;
  font-size: .75em;
  text-shadow: 0 0 5px #000;
}

.slide-source a,
.image-source a {
  color: #fff;
}

.slide-text {
  width: fit-content;
  max-width: 1000px;
  display: flex;
  flex-direction: column;
  position: absolute;
  bottom: 20%;
  left: 10%;
  padding: .5em 1em .75em;
  background: #fff;
  color: var(--theme-main-color-text-hex);
}

.slide-text a:hover {
  text-decoration-thickness: 0.25rem;
  text-decoration-style: solid;
  text-decoration-skip-ink: none;
}

.slide-text .slide-heading {
  margin-top: 0;
  margin-bottom: 0;
  text-align: left;
  font-size: calc(var(--h1-font-size) * var(--vt-schrift));
}

.slide-text .slide-subheading {
  margin: 0;
  font-weight: 400;
  font-size: calc(calc(var(--h2-font-size) * .75) * var(--vt-schrift));
  text-align: left;
}

.slide-text .slide-heading + .slide-subheading {
  margin-top: .2em;
}

.slide-text .slide-link-container  {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  margin-top: 1.25em;
}

#slogan-container {
  display: flex;
  flex-direction: column;
  gap: 5px;
  position: absolute;
  top: 100px;
  right: 0;
  font-family: 'BDKJ';
  font-size: calc(1.25rem * var(--vt-schrift));
  color: var(--theme-main-color-text-hex);
}

.slogan-item {
  width: 185px;
  height: 40px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  background: #fff;
}

#sortable-sections {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 100%;
  grid-auto-rows: min-content;
}

#sortable-sections section.front-page.sortable-section-1 {
  grid-row: 1;
}

#sortable-sections section.front-page.sortable-section-2 {
  grid-row: 2;
}

#sortable-sections section.front-page.sortable-section-3 {
  grid-row: 3;
}

#sortable-sections section.front-page.sortable-section-4 {
  grid-row: 4;
}

#sortable-sections section.front-page.sortable-section-5 {
  grid-row: 5;
}

#sortable-sections section.front-page.sortable-section-6 {
  grid-row: 6;
}

#sortable-sections section.front-page.sortable-section-7 {
  grid-row: 7;
}

body.home section.special {
  --content-width: 675px;
}

section#special-1 {
  background: var(--red-hex);
}

section#special-1 h2.special-heading,
section#special-1 .special-content {
  color: #fff;
}

.special-content {
  line-height: 1.5;
}

.special-content > p:nth-of-type(1) {
  margin-top: 0;
}

.special-content > p:last-of-type {
  margin-bottom: 0;
}

.view-all-container {
  width: 100%;
  display: flex;
  justify-content: center;
  padding-top: 3.75rem;
}

body.home section#appointments > .slick-slider {
  max-width: calc(var(--content-width) + var(--appointment-preview-gap));
}

body.home section#news > .slick-slider {
  max-width: calc(var(--content-width) + var(--post-preview-gap));
}

.appointments-container {
  display: flex;
  gap: var(--appointment-preview-gap);
}

.appointments-container .slick-slide {
  margin: 0 calc(var(--appointment-preview-gap) * .5);
}

.news-container .slick-slide {
  margin: 0 calc(var(--post-preview-gap) * .5);
}

.appointments-container .slick-prev,
.news-container .slick-prev {
  left: calc(var(--slider-arrow-width) * -1);
}

.appointments-container .slick-next,
.news-container .slick-next {
  right: calc(var(--slider-arrow-width) * -1);
}

section#appointments {
  padding: var(--section-padding-top-bottom) calc(var(--section-home-padding-right-left) - var(--appointment-preview-gap) * .5);
  background: rgba(var(--gray-light-rgb),.2);
}

.appointment.post-preview {
  width: var(--appointment-preview-width);
  height: var(--appointment-preview-height);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  background: var(--gray-dark-hex);
  font-size: calc(var(--archive-post-font-size) * var(--vt-schrift));
  color: #fff;
}

.appointment.post-image-container {
  width: 100%;
  height: 50%;
}

.appointment.post-body {
  height: 50%;
  gap: calc(var(--appointment-preview-width) / 2 * 3 * .02);
  padding: calc(var(--appointment-preview-width) * .065) calc(var(--appointment-preview-width) * .085);
}

h3.appointment.post-heading,
body.home section#appointments h3.appointment.post-heading {
  margin-top: 0;
  margin-bottom: .5em;
  font-size: calc(calc(var(--appointment-preview-height) / 2 * .1) * var(--vt-schrift));
  text-align: left;
}

.appointment.post-info-container {
  display: flex;
  flex-direction: column;
  gap: .5em;
  margin-bottom: .5em;
  font-size: calc(calc(var(--appointment-preview-height) / 2 * .075) * var(--vt-schrift));
}

.appointment.post-info {
  display: flex;
}

.appointment.post-icon {
  padding-top: .75px;
  margin-top: -2px;
  margin-right: .5em;
}

.appointment.post-read-more-container {
  position: absolute;
  right: 8.5%;
  bottom: 8.5%;
}

.appointment.post-read-more {
  font-family: 'BDKJ', sans-serif;
  font-size: calc(calc(var(--appointment-preview-height) / 2 * .1) * var(--vt-schrift));
  color: var(--theme-main-color-light-hex);
}

section#news {
  padding: var(--section-padding-top-bottom) calc(var(--section-home-padding-right-left) - var(--post-preview-gap) * .5);
}

.news-container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--post-preview-gap);
}

.post-preview {
  width: var(--post-preview-width);
  height: var(--post-preview-height);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  background: var(--theme-main-color-hex);
  overflow: hidden;
  color: var(--theme-main-color-on-hex);
  transition: all .3s ease-out;
}

.post-preview a:hover {
  text-decoration: none;
  transition: all .3s ease-out;
}

.post-image-container {
  width: 100%;
  height: 44.5%;
}

.post-preview .isc-source {
  width: 100%;
  height: 100%;
}

.post-preview .isc-source a,
.post-preview .isc-source picture {
  width: 100%;
  height: 100%;
  display: block;
}

.post-preview .isc-source-text {
  display: none !important;
}

img.post-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.post-body {
  width: 100%;
  height: 55.5%;
  display: flex;
  flex-direction: column;
  gap: calc(var(--post-preview-height) * .0125);
  position: relative;
  padding: 6.5% 8.5%;
  padding: calc(var(--post-preview-width) * .065) calc(var(--post-preview-width) * .085);
  overflow: hidden;
  font-size: calc(calc(var(--post-preview-height) * .03) * var(--vt-schrift));
}

.post-date {
  font-size: calc(calc(var(--post-preview-width) * 0.045) * var(--vt-schrift));
  color: var(--theme-main-color-on-hex);
}

body.home section#news h3.post-heading {
  margin: 0;
  font-size: calc(calc(var(--post-preview-height) * 0.04444445) * var(--vt-schrift));
  text-align: left;
}

section#news h3.post-heading a {
  color: var(--gray-dark-hex);
}

.post-excerpt {
  max-height: calc(1.2em * 5);
  overflow: hidden;
}

.post-excerpt p {
  margin: 0;
}

.post-read-more-container {
  display: flex;
  justify-content: flex-end;
  position: absolute;
  right: 8.5%;
  bottom: 8.5%;
}

a.post-read-more {
  font-family: "BDKJ", sans-serif;
  font-size: calc(calc(var(--post-preview-height) * 0.04444445) * var(--vt-schrift));
  color: var(--gray-dark-hex);
}

section#news .view-all {
  background: var(--gray-dark-hex);
  border-color: var(--gray-dark-hex);
  color: #fff;
}

section#instagram {
  --content-width: 1425px;
  display: flex;
  position: relative;
  padding: var(--section-padding-top-bottom) calc(var(--section-home-padding-right-left) - var(--post-preview-gap) * .5);
  background: var(--gray-dark-hex);
  color: #fff;
  overflow: hidden;
}

#sb_instagram {
  padding-bottom: 0 !important;
}

#sb_instagram[data-cols="1"],
#sb_instagram[data-cols="2"] {
  display: none;
}

.sbi-owl-nav > div {
  width: var(--slider-arrow-background-width);
  height: var(--slider-arrow-background-height);
  display: flex;
  align-items: center;
  margin: calc(var(--slider-arrow-background-height) * -.5) 0 0;
  background: rgba(255,255,255,.5);
  border-radius: 0;
  box-shadow: none;
}

.sbi_carousel:hover .sbi-owl-nav > div {
  background: rgba(255,255,255,.5);
  box-shadow: 0;
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
}

.sbi_carousel:hover .sbi-owl-nav > div:hover {
  background: rgba(255,255,255,.5);
}

.sbi-owl-nav .sbi-owl-prev {
  justify-content: flex-start;
  margin-left: calc(var(--slider-arrow-width) * -1.5);
  padding: 0;
}

.sbi-owl-nav .sbi-owl-next {
  justify-content: flex-end;
  margin-right: calc(var(--slider-arrow-width) * -1.5);
  padding: 0;
}

.sbi-owl-nav > div::before {
  display: flex;
  font-family: 'remixicon' !important;
  font-size: calc(calc(var(--slider-arrow-height) * 1.9) * var(--vt-schrift));
  font-style: normal;
  color: rgba(var(--gray-dark-rgb),.75);
  text-shadow: var(--slider-shadow);
}

.sbi-owl-nav .sbi-owl-prev::before {
  content: "\ea64";
}

.sbi-owl-nav .sbi-owl-next::before {
  content: "\ea6e";
}

#sb_instagram .sbi_carousel .sbi-owl-nav .svg-inline--fa {
  display: none;
}

#sb_instagram .sbi-owl-item {
  padding: 0 calc(var(--post-preview-gap) / 2);
}

#sb_instagram #sbi_load .sbi_load_btn,
#sb_instagram .sbi_follow_btn a {
  display: flex;
  align-items: center;
  margin-top: 3.75rem;
  padding: var(--button-padding);
  border-radius: var(--button-border-radius);
  background-color: var(--theme-main-color-hex) !important;
  font-family: var(--button-font-family);
  font-weight: var(--button-font-weight);
  font-size: calc(var(--button-font-size) * var(--vt-schrift));
}

#sb_instagram .sbi_follow_btn a:hover {
  box-shadow: none !important;
}

#sb_instagram .sbi_follow_btn .fa, #sb_instagram .sbi_follow_btn svg {
  font-size: calc(calc(var(--button-font-size) * .83) * var(--vt-schrift));
}

.sbi-owl-dots {
  height: calc(var(--slider-dots-height) * 2.5);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: var(--slider-dots-gap);
  margin-top: 0;
  padding: 0;
}

.sbi-owl-dot {
  width: var(--slider-dots-width);
  height: var(--slider-dots-height);
}

.sbi-owl-dots .sbi-owl-dot span {
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 0;
  background: #fff;
  opacity: 1;
}

.sbi-owl-dots .sbi-owl-dot.active span {
  background: var(--theme-main-color-hex);
  scale: 1.33;
  transition: all .3s ease-out;
}

.sbi-theme:not(.sbi-modern, .sbi-overlap) #sb_instagram .sbi_hover_bottom,
.sbi-theme:not(.sbi-modern, .sbi-overlap) #sb_instagram .sbi_hover_top,
.sbi-theme:not(.sbi-modern, .sbi-overlap)#sb_instagram .sbi_hover_bottom,
.sbi-theme:not(.sbi-modern, .sbi-overlap)#sb_instagram .sbi_hover_top {
  width: 100%;
  font-size: calc(calc(var(--post-preview-width) * .045) * var(--vt-schrift));
}

.sbi-theme:not(.sbi-modern, .sbi-overlap) #sb_instagram .sbi_hover_top,
.sbi-theme:not(.sbi-modern, .sbi-overlap)#sb_instagram .sbi_hover_top {
  padding: 0 1.25em !important;
  text-align: justify;
}

#sbi_lightbox .sbi-owl-item > img::before {
  display: none;
}

#sbi_lightbox .sbi-owl-nav > div {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -23px;
  border-radius: 0;
  background: rgba(var(--gray-dark-rgb),.25);
  opacity: 1;
}

#sbi_lightbox .sbi-owl-nav > div::before {
  width: 100%;
  justify-content: center;
  color: rgba(255,255,255,.5);
}

#sbi_lightbox .sbi-owl-nav > .sbi-owl-prev,
#sbi_lightbox .sbi-owl-nav > .sbi-owl-next {
  padding: 6px;
}

#sbi_lightbox .sbi-owl-nav > .sbi-owl-prev {
  left: 0;
  margin-left: 0;
}

#sbi_lightbox .sbi-owl-nav > .sbi-owl-next {
  right: 0;
  margin-right: 0;
}

#sbi_lightbox .sbi-owl-nav > .sbi-owl-prev:hover::before,
#sbi_lightbox .sbi-owl-nav > .sbi-owl-next:hover::before {
  color: rgba(255,255,255,1);
  transition: all .3s ease-out;
}

#sb_instagram .svg-inline--fa,
#sbi_lightbox .svg-inline--fa {
  display: none;
}

#sbi_lightbox .sbi-owl-dots {
  --slider-dots-width: 10px;
  --slider-dots-height: var(--slider-dots-width);
  width: fit-content;
  height: calc(var(--slider-dots-height) * 3);
  display: flex;
  top: -30px;
  margin: 0 auto;
  padding: var(--slider-dots-width);
  border-radius: 0;
  background: rgba(var(--gray-dark-rgb),.25);
}

#sbi_lightbox .sbi-owl-dots .sbi-owl-dot span {
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,.5);
  opacity: 1;
}

#sbi_lightbox .sbi-owl-dots .sbi-owl-dot.active span {
  background: rgba(255,255,255,1);
  transition: all .3s ease-out;
}

section#kpa {
  background: rgba(var(--gray-light-rgb),.2);
  text-align: justify;
  font-size: calc(calc(var(--post-preview-width) * .045) * var(--vt-schrift));
}

body.home section#kpa h3.kpa-title {
  font-size: calc(calc(var(--post-preview-width) * .075) * var(--vt-schrift));
  margin-bottom: calc(1em / 3 * 2);
}

.kpa-intro-text {
  --content-width: 850px;
  margin-bottom: 2.5em;
}

.kpa-boxes {
  display: flex;
  justify-content: space-between;
  gap: var(--post-preview-gap);
}

.kpa-box {
  width: var(--post-preview-width);
  position: relative;
  padding: calc(var(--post-preview-width) * .0625);
  background: #fff;
}

.kpa-read-more-container {
  display: flex;
  justify-content: center;
  padding-top: 3.75rem;
}

section#newsletter {
  background: var(--theme-main-color-hex);
}

h2.newsletter-heading {
  color: var(--gray-dark-hex);
}

.newsletter-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--post-preview-gap);
}

.newsletter-container > *:not(style) {
  width: 50%;
  max-width: 700px;
  height: 100%;
}

.newsletter-intro {
  color: var(--theme-main-color-on-hex);
}

form.sib_signup_form {
  padding: 1.75em 1.25em;
  background: #fff;
}

.sib_signup_box_inside_1 {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-column-gap: 1em;
  grid-row-gap: 1em;
}

.sib_msg_disp {
  display: none;
  grid-column: 1/3;
}

form.sib_signup_form p.sib-alert-message {
  text-align: left;
}

.newsletter-mandatory-note {
  font-size: .75em;
}

.newsletter-button-container {
  grid-column: 1/3;
  display: flex;
  justify-content: center;
}

.sib_signup_box_inside_1 > label {
  display: flex;
  align-items: center;
}

.sib_signup_box_inside_1 > input {
  height: 2.25em;
  padding: .125em .75em;
  background: rgba(var(--gray-light-rgb),.2);
  border: 0;
  font-family: var(--font-family);
  font-size: .9em;
}

input#newsletter-button {
  margin-top: .5em;
  border: 0;
  background: var(--gray-dark-hex);
}


/* MAIN - PAGE */

section.page.header {
  height: var(--page-header-height);
  padding: 0 var(--section-padding-right-left-dynamic);
}

section.page.header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

section.page.main {
  min-height: var(--main-min-height);
}

.page.image-container {
  width: 250px;
  height: 100%;
  display: flex;
}

.page.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 0 15%;
}

.page.content > *:last-child {
  margin-bottom: 0;
}


/* appointments - multiple */

section.page .appointments-container.slick-slider,
section.single .appointments-container.slick-slider {
  width: calc(100vw - var(--section-padding-right-left-dynamic) * 2 + var(--appointment-preview-gap));
  margin-left: calc(var(--appointment-preview-gap) / -2);
}

/* body.page-termine-praevention section.page.main {
  padding: var(--section-padding-top-bottom) 0;
}

body.page-termine-praevention .page.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 calc(var(--section-home-padding-right-left) - var(--appointment-preview-gap) * .5);
}

body.page-termine-praevention .page.content > * {
  max-width: var(--content-width);
}

body.page-termine-praevention .page.content > .appointments-container {
  --content-width: 1350px;
  width: 100%;
  max-width: calc(var(--content-width) + var(--appointment-preview-gap));
  margin-bottom: 2em;
}

body.page-termine-praevention .appointments-container .slick-slide {
  margin: 0 calc(var(--appointment-preview-gap) * .5);
}

body.page-termine-praevention .slick-prev {
  left: calc(var(--slider-arrow-width) * -1);
}

body.page-termine-praevention .slick-next {
  right: calc(var(--slider-arrow-width) * -1);
} */


/* 404 page */
.viernullvier-image {
  float: left;
  max-width: 90%;
  max-height: 250px;
}


/* gutenberg */

.has-green-color { color: var(--green-hex); }
.has-green-background-color { background-color: var(--green-hex); }

.has-blue-light-color { color: var(--blue-light-hex); }
.has-blue-light-background-color { background-color: var(--blue-light-hex); }

.has-blue-dark-color { color: var(--blue-dark-hex); }
.has-blue-dark-background-color { background-color: var(--blue-dark-hex); }

.has-purple-color { color: var(--purple-hex); }
.has-purple-background-color { background-color: var(--purple-hex); }

.has-pink-color { color: var(--pink-hex); }
.has-pink-background-color { background-color: var(--pink-hex); }

.has-red-color { color: var(--red-hex); }
.has-red-background-color { background-color: var(--red-hex); }

.has-orange-color { color: var(--orange-hex); }
.has-orange-background-color { background-color: var(--orange-hex); }

.has-yellow-color { color: var(--yellow-hex); }
.has-yellow-background-color { background-color: var(--yellow-hex); }

.has-gray-light-color { color: var(--gray-light-hex); }
.has-gray-light-background-color { background-color: var(--gray-light-hex); }

.has-gray-medium-color { color: var(--gray-medium-hex); }
.has-gray-medium-background-color { background-color: var(--gray-medium-hex); }

.has-gray-dark-color { color: var(--gray-dark-hex); }
.has-gray-dark-background-color { background-color: var(--gray-dark-hex); }

.has-black-color { color: #000000; }
.has-black-background-color { background-color: #000000; }

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

html body main ul:not(.slick-dots,.files).has-background li::before {
  background-image: url("assets/images/bullet-points/bullet-point-white.png");
}

p.has-background {
    padding: 1.25em 1.75em;
}

.wp-block-columns:last-child {
  margin-bottom: 0;
}

section.page.main .wp-block-columns p:only-child {
  margin: 0;
}

section.page.main .wp-block-column ul {
  margin: 0;
}

.wp-block-column > *:is(h2,h3,h4,h5,h6,p):first-child {
  margin-top: 0;
}

.wp-block-file {
  display: flex;
  align-items: center;
  gap: 1em;
}

.wp-block-file:last-of-type {
  margin-bottom: 0;
}

.wp-block-file > a {
  width: calc(50% - .5em);
  min-height: 90px;
  display: flex;
  align-items: center;
  position: relative;
  padding: .75em calc(60px + .75em * 2) .75em calc(80px + .75em);
  background: rgba(var(--gray-light-rgb),.2);
  font-family: 'BDKJ', sans-serif;
  font-size: calc(var(--main-font-size) * var(--vt-schrift));
  font-weight: 300;
  text-align: left;
}

.wp-block-file > a:hover {
  opacity: 1;
  text-decoration: none;
}

.wp-block-file > a:not(.wp-element-button)::before {
  content: '';
  width: 80px;
  height: 100%;
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  padding: 5px;
  background-color: var(--theme-main-color-hex);
  background-size: calc(100% - 10px);
  background-repeat: no-repeat;
  background-position: center;
}

.wp-block-file > a[href*=".ai"]:not(.wp-element-button)::before {
  background-image: url(assets/images/file-icons/ai-icon-w.svg);
}

.wp-block-file > a[href*=".avi"]:not(.wp-element-button)::before {
  background-image: url(assets/images/file-icons/avi-icon-w.svg);
}

.wp-block-file > a[href*=".doc"]:not(.wp-element-button)::before {
  background-image: url(assets/images/file-icons/doc-icon-w.svg);
}

.wp-block-file > a[href*=".docx"]:not(.wp-element-button)::before {
  background-image: url(assets/images/file-icons/docx-icon-w.svg);
}

.wp-block-file > a[href*=".eps"]:not(.wp-element-button)::before {
  background-image: url(assets/images/file-icons/eps-icon-w.svg);
}

.wp-block-file > a[href*=".exe"]:not(.wp-element-button)::before {
  background-image: url(assets/images/file-icons/exe-icon-w.svg);
}

.wp-block-file > a[href*=".gif"]:not(.wp-element-button)::before {
  background-image: url(assets/images/file-icons/gif-icon-w.svg);
}

.wp-block-file > a[href*=".indd"]:not(.wp-element-button)::before {
  background-image: url(assets/images/file-icons/indd-icon-w.svg);
}

.wp-block-file > a[href*=".jpeg"]:not(.wp-element-button)::before {
  background-image: url(assets/images/file-icons/jpeg-icon-w.svg);
}

.wp-block-file > a[href*=".jpg"]:not(.wp-element-button)::before {
  background-image: url(assets/images/file-icons/jpg-icon-w.svg);
}

.wp-block-file > a[href*=".mov"]:not(.wp-element-button)::before {
  background-image: url(assets/images/file-icons/mov-icon-w.svg);
}

.wp-block-file > a[href*=".mp3"]:not(.wp-element-button)::before {
  background-image: url(assets/images/file-icons/mp3-icon-w.svg);
}

.wp-block-file > a[href*=".mp4"]:not(.wp-element-button)::before {
  background-image: url(assets/images/file-icons/mp4-icon-w.svg);
}

.wp-block-file > a[href*=".pdf"]:not(.wp-element-button)::before {
  background-image: url(assets/images/file-icons/pdf-icon-w.svg);
}

.wp-block-file > a[href*=".png"]:not(.wp-element-button)::before {
  background-image: url(assets/images/file-icons/png-icon-w.svg);
}

.wp-block-file > a[href*=".ppt"]:not(.wp-element-button)::before {
  background-image: url(assets/images/file-icons/ppt-icon-w.svg);
}

.wp-block-file > a[href*=".pptx"]:not(.wp-element-button)::before {
  background-image: url(assets/images/file-icons/pptx-icon-w.svg);
}

.wp-block-file > a[href*=".psd"]:not(.wp-element-button)::before {
  background-image: url(assets/images/file-icons/psd-icon-w.svg);
}

.wp-block-file > a[href*=".svg"]:not(.wp-element-button)::before {
  background-image: url(assets/images/file-icons/svg-icon-w.svg);
}

.wp-block-file > a[href*=".txt"]:not(.wp-element-button)::before {
  background-image: url(assets/images/file-icons/txt-icon-w.svg);
}

.wp-block-file > a[href*=".xls"]:not(.wp-element-button)::before {
  background-image: url(assets/images/file-icons/xls-icon-w.svg);
}

.wp-block-file > a[href*=".xlsx"]:not(.wp-element-button)::before {
  background-image: url(assets/images/file-icons/xlsx-icon-w.svg);
}

.wp-block-file > a[href*=".zip"]:not(.wp-element-button)::before {
  background-image: url(assets/images/file-icons/zip-icon-w.svg);
}

.wp-block-file > a:not(.wp-element-button)::after {
  content: '\ec53';
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: calc(var(--main-font-size) * .75);
  background: #fff;
  border-radius: 100%;
  font-family: 'remixicon' !important;
  font-size: calc(calc(var(--main-font-size) * 1.5) * var(--vt-schrift));
  font-style: normal;
}

.wp-block-buttons a.wp-block-button__link,
.wp-block-file a.wp-block-file__button,
.wp-block-file a.wp-block-file__button:active,
.wp-block-file a.wp-block-file__button:focus,
.wp-block-file a.wp-block-file__button:hover,
.wp-block-file a.wp-block-file__button:visited {
  width: fit-content;
  min-height: unset;
  height: fit-content;
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: var(--button-padding);
  border: 0;
  border-radius: var(--button-border-radius);
  background: var(--button-background-color);
  font-family: var(--button-font-family);
  font-weight: var(--button-font-weight);
  font-size: calc(var(--button-font-size) * var(--vt-schrift));
  color: var(--button-color);
  text-decoration: none;
}

.wp-block-column .wp-block-buttons {
  margin-top: .75em;
}

.wp-block-buttons .wp-block-button {
  margin-bottom: 0;
}

.wp-block-media-text {
  grid-template-columns: 30% 1fr;
}

.wp-block-media-text .wp-block-media-text__media {
  height: 200px;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 5px 5px 10px rgba(0,0,0,.25);
}

.wp-block-media-text .wp-block-media-text__media img {
  max-height: 100%;
  object-fit: contain;
}

.wp-block-columns .wp-block-image {
  margin-bottom: 2em;
}

.wp-block-columns .is-vertically-aligned-center > .wp-block-image {
  margin-bottom: 0;
}

hr.wp-block-separator {
  margin: 50px 0;
  border-bottom: 0;
  border-color: rgba(0,0,0,.25);
}

figure.wp-block-embed.is-type-video iframe {
  border-radius: 12px;
  box-shadow: 5px 5px 10px rgba(0,0,0,.25);
}

.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
  padding: .25em;
  background: rgba(var(--gray-dark-rgb),.5);
  font-size: calc(calc(var(--main-font-size) * .9) * var(--vt-schrift));
}

cite {
  line-height: 1.5;
}



/* MAIN - SINGLE */

section.single.header {
  width: 100vw;
  max-height: var(--single-header-max-height);
  padding: 0;
}

section.single.header picture {
  max-height: var(--single-header-max-height);
}

section.single.header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

section.single.main :is(h2,h3,h4,h5,h6) {
  text-align: left;
}

section.single.main :is(h2,h3,h4,h5,h6):first-child,
section.single.main .featured-image-container + :is(h2,h3,h4,h5,h6) {
  margin-top: 0;
}

.single.post-info-container {
  display: flex;
  margin-bottom: 2em;
  font-size: calc(var(--main-font-size) * var(--vt-schrift));
  text-align: left;
}

.single.post-info {
  display: flex;
}

.single.post-icon {
  color: var(--theme-main-color-text-hex);
  padding-top: .75px;
  margin-top: -1px;
  margin-right: .5em;
}

.single.post-date {
  font-size: inherit;
  color: var(--color);
}

.single.post-category a {
  color: var(--color);
  text-decoration: none;
}

.single.post-category a:hover {
  text-decoration: underline;
}

.single.post-date {
  margin-right: 1.5em;
}

.single.featured-image-container {
  width: var(--single-featured-image-width);
/* 	height: var(--single-featured-image-height); */
  height: 100%;
  position: relative;
  float: right;
  margin: .2em 0 1.25em 1.5em;
}

img.single.featured-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.single.image-source {
  font-size: .75em;
  color: var(--gray-medium-hex);
}

p.isc-source-text {
  margin: 0;
}

.single.content > h2:first-of-type,
.single.content > p:first-of-type {
  margin-top: 0;
}


/* MAIN - SINGLE-APPOINTMENT */

.single.appointment.date,
.single.appointment.location {
  margin-right: 1.5em;
}

a.single.appointment {
  text-decoration: none;
}

.appointment.former-appointments {
  display: none; /* Vorrübergehend keine zurückliegenden Veranstaltungen ausgeben */
}

h2.contact-heading,
h2.sign-in-heading {
  clear: both;
}

.single.appointment.content .contact-person {
  display: flex;
  gap: var(--single-person-gap);
}


/* MAIN - SINGLE-PERSON */

.single.person.container {
  display: flex;
  justify-content: space-between;
}

.single.person.content {
  width: calc(var(--content-width) * var(--single-person-text-width-factor));
}

.single.person.content > p:first-child {
  margin-top: 0;
}

.single.person.image-functions-contact-social {
  width: calc(var(--content-width) * var(--single-person-ifcs-width-factor));
  display: flex;
  flex-direction: column;
}

.single.person.image-functions-contact-social:only-child {
  width: calc(var(--content-width) * var(--single-person-ifcs-solo-width-factor));
  align-items: center;
  margin: 0 auto;
}

.single.person.image {
  width: var(--single-person-image-width);
  height: var(--single-person-image-height);
}

.single.person.functions-contact-social {
  width: var(--single-person-image-width);
}

.single.person.functions {
  padding-top: 1em;
  font: var(--bold-font);
  color: var(--secondary-color);
}

.single.person.function {
  font-size: calc(var(--h3-font-size) * var(--vt-schrift));
  text-transform: uppercase;
}

.single.person.additional-function {
  padding-top: 5px;
  font-size: calc(var(--h4-font-size) * var(--vt-schrift));
}

.single.person.contact-item {
  display: flex;
  margin: 15px 0;
}

.single.person.contact-icon {
  width: 1.5em;
  flex-shrink: 0;
  color: var(--secondary-color);
}

.single.person.contact-text {
  text-decoration: none;
}

.single.person.social {
  display: flex;
  flex-wrap: wrap;
  margin-top: 25px;
}

.single.person.social-item {
  display: flex;
  justify-content: center;
  align-items: center;
  width: calc(var(--content-width) * var(--single-person-ifcs-width-factor) * var(--single-person-image-width-factor) * 1/5);
  height: calc(var(--content-width) * var(--single-person-ifcs-width-factor) * var(--single-person-image-width-factor) * 1/5);
  background-color: var(--primary-color);
  font-size: calc(calc(var(--content-width) * var(--single-person-ifcs-width-factor) * var(--single-person-image-width-factor) * 1/5 * .5) * var(--vt-schrift));
  color: #fff;
  text-decoration: none;
}

.single.person.press-image {
  display: flex;
  margin-top: 25px;
}

.single.person.image-functions-contact-social:only-child .single.person.social-item {
  width: calc(var(--content-width) * var(--single-person-ifcs-solo-width-factor) * var(--single-person-image-width-factor) * 1/5);
  height: calc(var(--content-width) * var(--single-person-ifcs-solo-width-factor) * var(--single-person-image-width-factor) * 1/5);
  font-size: calc(calc(var(--content-width) * var(--single-person-ifcs-solo-width-factor) * var(--single-person-image-width-factor) * 1/5 * .5) * var(--vt-schrift));
}

.single.person.social-item:nth-of-type(even) {
  background-color: var(--secondary-color);
}

.single.person.social-item:hover {
  color: var(--tertiary-color);
  transition: all .3s ease-out;
}


/* MAIN - SHORTCODES */

/* person */

.person-shortcode {
  width: min(700px,100%);
  display: flex;
  align-items: center;
  text-align: left;
}

:not(.contact-person) > .person-shortcode + .person-shortcode {
  margin: 2em 0;
}

h2 + .person-shortcode,
h3 + .person-shortcode,
h4 + .person-shortcode,
h5 + .person-shortcode,
h6 + .person-shortcode {
  margin-top: .5em;
}

section.page.main .person-shortcode + h2 {
  margin-top: 2.5em;
}

.person-shortcode a {
  display: flex;
  color: inherit;
  text-decoration: none;
  transition: all .3s ease-out;
}

.person-shortcode a:hover {
  color: var(--theme-main-color-text-hex);
  text-decoration: none;
  transition: all .3s ease-out;
}

.person-shortcode picture {
  flex-shrink: 0;
  width: var(--scp-image-width);
  height: var(--scp-image-height);
  line-height: 1;
}

img.person-shortcode-image {
  flex-shrink: 0;
  width: var(--scp-image-width);
  height: var(--scp-image-height);
  object-fit: cover;
}

img.person-shortcode-image.has-border {
  border: 2px solid rgba(var(--gray-light-rgb),.2);
}

.person-shortcode-body {
  width: 100%;
  height: var(--scp-image-height);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5em;
  background:  rgba(var(--gray-light-rgb),.2);
  font-size: calc(var(--scp-general-font-size) * var(--vt-schrift));
}

.person-shortcode-name {
  margin-bottom: .25em;
  font-family: var(--heading-font-family);
  font-size: calc(2.25rem * var(--vt-schrift));
  font-weight: 700;
  color: var(--theme-main-color-text-hex);
}

.person-shortcode-function,
.person-shortcode-additional-function {
  font-family: "BDKJ", sans-serif;
  font-size: calc(1.25rem * var(--vt-schrift));
  color: var(--gray-medium-hex);
}

.person-shortcode-contacts {
  margin-top: .8em;
}

.person-shortcode-contact {
  display: flex;
  gap: .5em;
  margin-top: .25em;
}

.person-shortcode-contact-icon {
  font-size: calc(var(--scp-contact-icon-font-size) * var(--vt-schrift));
  color: var(--theme-main-color-text-hex);
}

.person-shortcode-contact-text {
  display: flex;
  align-items: center;
}

.person-shortcode-social {
  display: flex;
}

.person-shortcode-social-icon {
  width: var(--scp-social-icon-width);
  height: var(--scp-social-icon-height);
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--primary-color);
  color: #fff;
}

.person-shortcode-social .person-shortcode-social-icon:nth-of-type(even) {
  background-color: var(--secondary-color);
}

.person-shortcode-social-icon:hover {
  color: var(--tertiary-color);
  transition: all .3s ease-out;
}

/* appointment - single */

.shortcode.appointments-container {
  --appointment-preview-width: min(calc(100vw - var(--section-padding-right-left) * 2), var(--content-width));
  --appointment-preview-height: calc(var(--appointment-preview-width) / 6 * 2);
}

.shortcode.appointment.post-preview {
  flex-direction: row;
}

.shortcode.appointment.post-image-container {
  width: 50%;
  height: 100%;
}

.shortcode.appointment.post-body {
  width: 50%;
  height: 100%;
  gap: calc(var(--appointment-preview-width) / 4 * 3 * .02);
  padding: calc(var(--appointment-preview-width) / 2 * .065) calc(var(--appointment-preview-width) / 2 * .085);
}

h3.shortcode.appointment.post-heading,
.shortcode.appointment.post-read-more {
  font-size: calc(calc(var(--appointment-preview-height) * .1) * var(--vt-schrift));
}

.shortcode.appointment.post-info-container {
  font-size: calc(calc(var(--appointment-preview-height) * .075) * var(--vt-schrift));
}


/* MAIN - ARCHIVE */

/* post */

section.archive {
  --content-width: 1350px;
/* 	--section-padding-right-left: max(calc((100vw - var(--content-width)) / 2), 150px); */
  min-height: var(--main-min-height);
}

body:not(.home) .archive :is(h2,h3,h4,h5,h6) {
  width: 100%;
  text-align: left;
}

.archive.categories-container a,
.archive.posts-container a {
  text-decoration: none;
}

h2.archive.categories-heading {
  margin-top: 0;
}

.archive.categories {
  display: flex;
  gap: .25em;
  flex-wrap: wrap;
  margin-bottom: var(--post-preview-gap);
}

.archive.category-button {
  padding: var(--button-padding);
  background: var(--gray-button-hex);
  font-family: 'BDKJ', sans-serif;
  font-weight: 300;
  font-size: calc(1.25rem * var(--vt-schrift));
  color: #fff;
}

.archive.category-button.active,
.archive.category-button:hover {
  background: var(--gray-dark-hex);
  transition: all .3s ease-out;
}

.archive.post.posts-container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--post-preview-gap);
  flex-wrap: wrap;
}

h2.archive.post.post-heading {
  margin: 0;
  font-size: calc(calc(var(--post-preview-height) * 0.04444445) * var(--vt-schrift));
  text-align: left;
}

h2.archive.post.post-heading a {
  color: var(--gray-dark-hex);
}

.archive.post span.isc-source-text {
  font-size: 0.6em !important;
  top: unset !important;
  left: 8px !important;
  bottom: 8px;
  /* Keine Quellen auf Titelbild-Vorschau ausgeben */
  display: none !important;
}

/* appointment */

.archive.appointment.categories {
  margin-bottom: var(--appointment-preview-gap);
}

.archive.appointment.category-button.active,
.archive.appointment.category-button:hover {
  background: var(--theme-main-color-hex);
  color: var(--theme-main-color-on-hex);
}

.archive.appointment.posts-container {
  display: flex;
  justify-content: center;
  gap: var(--appointment-preview-gap);
  flex-wrap: wrap;
}

h2.archive.appointment.post-heading {
  margin-top: 0;
  margin-bottom: .5em;
  font-size: calc(calc(var(--appointment-preview-height) / 2 * .1) * var(--vt-schrift));
  text-align: left;
}

/* search */

section.search.header {
  width: 100vw;
  max-height: var(--single-header-max-height);
  padding: 0;
}

section.search.header picture {
  max-height: var(--single-header-max-height);
}

section.search.header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%;
}

.search.posts-container {
  display: flex;
  flex-direction: column;
  gap: 2em;
}

.search.post {
  display: flex;
  flex-direction: column;
  gap: .75em;
  padding: 1.5em;
  background-color: rgba(var(--gray-light-rgb),.2);
}

.search.post-heading {
  margin: 0;
}

.search-term.heading {
  padding: 0 .075em;
  background-color: var(--theme-main-color-hex);
  color: var(--theme-main-color-on-hex);
}

.search.post-info {
  display: flex;
  gap: .25em;
  font-family: "BDKJ", sans-serif;
  font-size: calc(calc(var(--main-font-size) * 1.125) * var(--vt-schrift));
  font-weight: 300;
  color: var(--theme-main-color-text-hex);
}

.search-term.excerpt {
  font-weight: 700;
  color: var(--theme-main-color-text-hex);
}

.search.read-more {
  width: fit-content;
  align-self: flex-end;
}

/* pagination */

.pagination {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: var(--appointment-preview-gap);
  font-family: 'BDKJ', sans-serif;
  font-weight: 300;
  font-size: calc(1.25rem * var(--vt-schrift));
}

.posts-container + .pagination {
  margin-top: var(--appointment-preview-gap);
  margin-bottom: 0;
}

.pagination > * {
  display: flex;
  text-decoration: none;
}

.pagination a:hover {
  text-decoration: none;
}

.page-numbers:not(.prev, .next) {
  width: 1.4em;
  height: 1.4em;
  justify-content: center;
  align-items: center;
  margin: 0 .125em;
  background-color: var(--gray-button-hex);
  color: #fff;
}

.page-numbers.prev,
.page-numbers.next {
  margin: 0 10px;
  padding-top: 2px;
  color: inherit;
}

.post.pagination :is(.page-numbers.prev,.page-numbers.next) {
  color: var(--gray-dark-hex);
}

.appointment.pagination :is(.page-numbers.prev,.page-numbers.next),
.search.pagination :is(.page-numbers.prev,.page-numbers.next) {
  color: var(--theme-main-color-text-hex);
}

.post.pagination .page-numbers.current,
.post.pagination .page-numbers:not(.prev, .next):hover {
  background-color: var(--gray-dark-hex);
  transition: all .3s ease-out;
}

.appointment.pagination .page-numbers.current,
.search.pagination .page-numbers.current,
.appointment.pagination .page-numbers:not(.prev, .next):hover,
.search.pagination .page-numbers:not(.prev, .next):hover {
  background-color: var(--theme-main-color-hex);
  color: var(--theme-main-color-on-hex);
}

.page-numbers.prev:hover,
.page-numbers.next:hover {
  color: var(--theme-main-color-text-hex);
  transition: all .3s ease-out;
}


/* FOOTER */

footer {
  --content-width: 1350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 var(--footer-padding-right-left);
  background-image: url("assets/images/Kreuzsegel_Footer.svg");
  background-size: 300%;
  background-position: 40% 4.2%;
  background-repeat: no-repeat;
  font-family: var(--footer-font-family);
  font-size: calc(var(--footer-font-size) * var(--vt-schrift));
  font-weight: var(--footer-font-weight);
  color: var(--footer-color);
}

.footer-row {
  width: var(--footer-row-width);
  display: flex;
  justify-content: center;
}

.footer-row.top {
/* 	--content-width: 1770px; */
  align-items: center;
  padding: var(--footer-padding-top-bottom) 0;
}

.organization-logos {
  display: flex;
  align-items: center;
  gap: 60px;
}

.main-organization-logo {
  flex-shrink: 0;
  width: var(--footer-main-logo-width);
  height: var(--footer-main-logo-height);
  object-fit: contain;
}

.sub-organization-logos {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  gap: var(--footer-sub-logos-gap);
  padding-top: calc(var(--footer-main-logo-height) * .15);
}

.sub-organization-logo {
  width: var(--footer-sub-logo-width);
  height: var(--footer-sub-logo-height);
  object-fit: contain;
}

.main-organization-logo a,
.main-organization-logo img,
.sub-organization-logo a,
.sub-organization-logo img {
  width: 100%;
  height: 100%;
}

footer .footer-row a {
  color: inherit;
  text-decoration: none;
}

footer .footer-row a:hover {
  text-decoration: none;
}

.footer-logo {
  background-size: contain;
  background-repeat: no-repeat;
}

.footer-row .social-media-container {
  display: flex;
  gap: 45px;
}

.footer-row .social-media {
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  border-radius: 100%;
  font-size: calc(30px * var(--vt-schrift));
  color: var(--gray-button-hex);
}

.footer-row.bottom {
  padding: var(--footer-padding-top-bottom) 0;
}

nav#footer-menu ul {
  display: flex;
  gap: 3em;
}

nav#footer-menu ul > li {
  display: flex;
  align-items: center;
  position: relative;
}

nav#footer-menu ul > li:not(:nth-of-type(1))::before {
  content: '';
  width: 3em;
  height: .9em;
  position: absolute;
  left: -3em;
  background-image: url(assets/images/Kreuzsegel_Icon_Footer.svg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

nav#footer-menu ul > li > ul.sub-menu {
  display: flex;
  flex-direction: column;
  gap: .75em;
}

.copyright {
  padding-top: var(--footer-padding-top-bottom);
  font-size: .85em;
}


/* IFRAMES */

/* places of assingment */

iframe#places-of-assignment {
  width: 100%;
  height: 935px;
  border: 0;
}


/* PLUGINS */

/* Contact Form 7 */

form.wpcf7-form {
  width: 100%;
  max-width: 700px;  
  padding: 2em;
  background: var(--gray-dark-hex);
  color: #fff;
}

form.wpcf7-form > p,
form.wpcf7-form > p > label {
  display: flex;
  flex-direction: column;
  gap: .1em;
  text-align: initial;
}

form.wpcf7-form > p:nth-of-type(1) {
  margin-top: 0;
}

form.wpcf7-form > p:last-of-type {
  position: relative;
  margin-bottom: 0;
}

form.wpcf7-form :is(input,textarea,select).wpcf7-form-control {
  width: 100%;
  height: 2.5em;
  padding: .5em;
  border: 0;
  background: var(--gray-light-hex);
  font-family: var(--font-family);
  font-size: calc(1.125rem * var(--vt-schrift));
  color: var(--color);
}

form.wpcf7-form textarea.wpcf7-form-control {
  height: 7.5em;
}

form.wpcf7-form option {
  font-family: var(--font-family);
}

span.wpcf7-radio,
span.wpcf7-checkbox {
  display: flex;
  flex-direction: column;
  gap: .1em;
  margin-top: .25em;
}

span.wpcf7-radio span.wpcf7-list-item,
span.wpcf7-checkbox span.wpcf7-list-item {
  display: flex;
  margin: 0;
}

span.wpcf7-radio label,
span.wpcf7-checkbox label {
  display: flex;
  gap: .3em;
}

form.wpcf7-form input[type=radio] {
  -webkit-appearance: none;
  appearance: none;
  background-color: #fff;
  flex-shrink: 0;
  width: 1em;
  height: 1em;
  place-content: center;
  margin: .1em 0 0;
  font: inherit;
  color: currentColor;
  border: .15em solid #fff;
  border-radius: 45%;
  cursor: pointer;
  transition: .15s all ease-out;
}

form.wpcf7-form input[type=checkbox] {
  -webkit-appearance: none;
  appearance: none;
  background-color: #fff;
  flex-shrink: 0;
  width: 1em;
  height: 1em;
  display: grid;
  place-content: center;
  margin: .1em 0 0;
  font: inherit;
  color: currentColor;
  border: .15em solid #fff;
  border-radius: 6%;
  cursor: pointer;
  transition: .15s all ease-out;
}

form.wpcf7-form input[type=checkbox]:checked,
form.wpcf7-form input[type=radio]:checked {
  background-color: var(--theme-main-color-hex);
  border-color: var(--theme-main-color-hex);
}

form.wpcf7-form input[type=checkbox]::before {
  content: '';
  width: .6em;
  height: .6em;
  transform: scale(0);
  transform-origin: bottom left;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
  box-shadow: inset 1em 1em #fff;
  transition: .15s transform ease-out;
}

form.wpcf7-form input[type=checkbox]:checked::before {
  transform: scale(1);
}

span.wpcf7-acceptance span.wpcf7-list-item {
  margin: 0;
  font-size: .75em;
}

span.wpcf7-acceptance label {
  display: flex;
  align-items: flex-start;
}

span.wpcf7-acceptance span.wpcf7-list-item-label {
  margin-left: .5em;
}

form.wpcf7-form input[type=submit] {
  height: unset;
  padding: var(--button-padding);
  border: 0;
  border-radius: var(--button-border-radius);
  background: var(--theme-main-color-hex);
  font-family: var(--button-font-family) !important;
  font-weight: var(--button-font-weight);
  font-size: calc(var(--button-font-size) * var(--vt-schrift));
  color: var(--button-color);
  cursor: pointer;
  transition: .3s opacity ease-out;
}

form.wpcf7-form input[type=submit]:disabled {
  opacity: .5;
}

.wpcf7-spinner {
  display: flex;
  background-color: var(--theme-main-color-hex);
  opacity: 1;
  position: absolute;
  top: calc(50% - 12px);
}

.wpcf7-spinner::before {
  background-color: #fff;
}

form.wpcf7-form .wpcf7-response-output {
  margin: 1em 0;
  padding: .5em 1em;
}

form.wpcf7-form .wpcf7-response-output:first-of-type {
  margin-top: 1.5em;
}

form.wpcf7-form .wpcf7-response-output:last-of-type {
  margin-bottom: 0;
}

/* RRZE Download */

ul.files {
  list-style: none;
  display: flex;
  gap: 1em;
  flex-wrap: wrap;
  padding: 0;
}

ul.files + ul.files {
  margin-top: 3em;
}

ul.files li {
  width: calc(50% - .5em);
}

ul.files a {
  min-height: 90px;
  display: flex;
  align-items: center;
  position: relative;
  padding: .75em calc(60px + .75em * 2) .75em calc(80px + .75em);
  background: rgba(var(--gray-light-rgb),.2);
  font-family: 'BDKJ', sans-serif;
  font-weight: 300;
  text-align: left;
}

ul.files a:hover {
  text-decoration: none;
}

ul.files a::after {
  content: '\ec53';
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: calc(var(--main-font-size) * .75);
  background: #fff;
  border-radius: 100%;
  font-family: 'remixicon' !important;
  font-size: calc(calc(var(--main-font-size) * 1.5) * var(--vt-schrift));
  font-style: normal;
}

ul.files object {
  width: 80px;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  padding: 5px;
  background: var(--theme-main-color-hex);
  pointer-events: none;
}

ul.files object svg {
  width: 45px;
  height: 45px;
}

/* Simple Lightbox */

#slb_viewer_wrap .slb_theme_slb_black .slb_container {
  border-radius: 0 !important;
  background-color: var(--gray-dark-hex) !important;
  box-shadow: var(--slider-shadow) !important;
}

#slb_viewer_wrap .slb_theme_slb_black .slb_content .slb_prev .slb_template_tag,
[dir="rtl"] #slb_viewer_wrap .slb_theme_slb_black .slb_content .slb_next .slb_template_tag,
#slb_viewer_wrap .slb_theme_slb_black .slb_content .slb_next .slb_template_tag,
[dir="rtl"] #slb_viewer_wrap .slb_theme_slb_black .slb_content .slb_prev .slb_template_tag {
  background-image: none !important;
  opacity: 1 !important;
}

#slb_viewer_wrap .slb_theme_slb_black .slb_content .slb_prev .slb_template_tag::before,
[dir="rtl"] #slb_viewer_wrap .slb_theme_slb_black .slb_content .slb_next .slb_template_tag::before {
  content: '';
  width: var(--slider-arrow-background-width);
  height: var(--slider-arrow-background-height);
  position: absolute;
  top: 39%;
  left: 12px;
  background: rgba(var(--gray-dark-rgb),.5);
}

#slb_viewer_wrap .slb_theme_slb_black .slb_content .slb_prev .slb_template_tag::after,
[dir="rtl"] #slb_viewer_wrap .slb_theme_slb_black .slb_content .slb_next .slb_template_tag::after {
  content: '\ea64';
  height: var(--slider-arrow-background-height);
  display: flex;
  align-items: center;
  position: absolute;
  top: 39%;
  left: -26px;
  font-family: 'remixicon' !important;
  font-style: normal;
  font-size: calc(calc(var(--slider-arrow-height) * 1.9) * var(--vt-schrift));
  color: rgba(255,255,255,.75);
  text-shadow: var(--slider-shadow);
  transition: all .3s ease-out
}

#slb_viewer_wrap .slb_theme_slb_black .slb_content .slb_next .slb_template_tag::before,
[dir="rtl"] #slb_viewer_wrap .slb_theme_slb_black .slb_content .slb_prev .slb_template_tag::before {
  content: '';
  width: var(--slider-arrow-background-width);
  height: var(--slider-arrow-background-height);
  position: absolute;
  top: 39%;
  right: 12px;
  background: rgba(var(--gray-dark-rgb),.5);
}

#slb_viewer_wrap .slb_theme_slb_black .slb_content .slb_next .slb_template_tag::after,
[dir="rtl"] #slb_viewer_wrap .slb_theme_slb_black .slb_content .slb_prev .slb_template_tag::after {
  content: '\ea6e';
  height: var(--slider-arrow-background-height);
  display: flex;
  align-items: center;
  position: absolute;
  top: 39%;
  right: 50px;
  font-family: 'remixicon' !important;
  font-style: normal;
  font-size: calc(calc(var(--slider-arrow-height) * 1.9) * var(--vt-schrift));
  color: rgba(255,255,255,.75);
  text-shadow: var(--slider-shadow);
  transition: all .3s ease-out;
}

#slb_viewer_wrap .slb_theme_slb_black .slb_content .slb_prev .slb_template_tag:hover::after,
[dir="rtl"] #slb_viewer_wrap .slb_theme_slb_black .slb_content .slb_next .slb_template_tag:hover::after,
#slb_viewer_wrap .slb_theme_slb_black .slb_content .slb_next .slb_template_tag:hover::after,
[dir="rtl"] #slb_viewer_wrap .slb_theme_slb_black .slb_content .slb_prev .slb_template_tag:hover::after {
  color: #fff;
  transition: all .3s ease-out;
}

#slb_viewer_wrap .slb_theme_slb_default .slb_controls .slb_template_tag_ui {
  opacity: 1 !important;
}

#slb_viewer_wrap .slb_theme_slb_default .slb_controls .slb_close .slb_template_tag,
#slb_viewer_wrap .slb_theme_slb_default .slb_controls .slb_slideshow .slb_template_tag {
  position: relative;
  background: rgba(var(--gray-dark-rgb),.5) !important;
}

.slb_template_tag.slb_template_tag_ui.slb_template_tag_ui_close::before,
.slb_template_tag.slb_template_tag_ui.slb_template_tag_ui_slideshow_control::before,
.slb_theme_slb_default.slideshow_active .slb_template_tag.slb_template_tag_ui.slb_template_tag_ui_slideshow_control::before {
  content: '';
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  position: absolute;
  left: -58%;
  color: rgba(255,255,255,.75);
  font-family: 'remixicon' !important;
  font-size: calc(18px * var(--vt-schrift));
  transition: all .3s ease-out;
}

.slb_template_tag.slb_template_tag_ui.slb_template_tag_ui_close::before {
  content: '\eb98';
}

.slb_template_tag.slb_template_tag_ui.slb_template_tag_ui_slideshow_control::before {
  content: '\f00a';
}

.slb_theme_slb_default.slideshow_active .slb_template_tag.slb_template_tag_ui.slb_template_tag_ui_slideshow_control::before{
  content: '\efd7';
  font-weight: bold;
}

.slb_template_tag.slb_template_tag_ui.slb_template_tag_ui_close:hover::before,
.slb_template_tag.slb_template_tag_ui.slb_template_tag_ui_slideshow_control:hover::before,
.slb_theme_slb_default.slideshow_active .slb_template_tag.slb_template_tag_ui.slb_template_tag_ui_slideshow_control:hover::before {
  color: #fff;
  transition: all .3s ease-out;
}

/* WP Booking Calendar
   Seit 11.x kommt das Formular aus dem Form Builder (.wpbc_bfb_form). Gestaltet wie die
   Formulare von Contact Form 7: dunkle Fläche, weiße Beschriftung, graue Felder, darüber
   der Kalender in voller Breite. */

/* Das Plugin setzt Farben und Rahmen als Variablen im style-Attribut, daher !important */
.wp-block-booking-booking .wpbc_container_booking_form,
.wp-block-booking-booking .wpbc_bfb_form {
  --wpbc-bfb-form-background: var(--gray-dark-hex) !important;
  --wpbc-bfb-form-border-width: 0px !important;
  --wpbc-bfb-form-border-radius: 0px !important;
  --wpbc-bfb-form-padding: 2em !important;
  --wpbc-bfb-form-box-shadow: none !important;
  --wpbc_form-label-color: #fff !important;
  --wpbc_form-label-sublabel-color: #fff !important;
  --wpbc_form-field-background-color: var(--gray-light-hex) !important;
  --wpbc_form-field-border-color: var(--gray-light-hex) !important;
  --wpbc_form-field-border-color-spare: var(--gray-light-hex) !important;
  --wpbc_form-field-focus-border-color: #fff !important;
  --wpbc_form-field-focus-shadow-color: #fff !important;
  --wpbc_form-field-text-color: var(--color) !important;
  --wpbc_form-button-background-color: var(--theme-main-color-hex) !important;
  --wpbc_form-button-background-color-alt: var(--theme-main-color-hex) !important;
  --wpbc_form-button-border-color: var(--theme-main-color-hex) !important;
  --wpbc_form-button-text-color: var(--button-color) !important;
  --wpbc_form-button-text-color-alt: var(--button-color) !important;
  --wpbc_form-button-border-radius: var(--button-border-radius) !important;
}

.wp-block-booking-booking .wpbc_container_booking_form {
  width: 100%;
  margin: 0;
}

.wp-block-booking-booking .wpbc_bfb_form,
.wp-block-booking-booking .wpbc_booking_form_simple .wpbc__form__div {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 2em;
  background: var(--gray-dark-hex);
  font-family: var(--font-family);
  font-size: inherit;
  color: #fff;
}

/* Ältere Formulare ohne Form Builder begrenzen Zeilen und Legende per <style> auf 700 px –
   der Kalender bricht dann in zwei Zeilen um */
.wp-block-booking-booking .wpbc_container_booking_form .block_hints,
.wp-block-booking-booking .wpbc_booking_form_simple .wpbc__form__div .wpbc__row {
  max-width: none !important;
}

.wp-block-booking-booking .wpbc_bfb_form p {
  font-size: inherit;
}

/* Felder untereinander mit festem Abstand */
.wp-block-booking-booking .wpbc__form__div {
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.wp-block-booking-booking .wpbc__form__div > .wpbc__row {
  gap: 1em;
  margin: 0;
}

.wp-block-booking-booking .wpbc_container_booking_form .wpbc__field:not(.wpbc__cal),
.wp-block-booking-booking .wpbc_container_booking_form .wpdev-form-control-wrap {
  margin: 0 !important;
  padding: 0;
}

/* Leere Zeilen und Spalten aus dem Form Builder (live: zwei leere Zeilen und eine leere
   Spalte neben dem Kalender) machten den großen Abstand zwischen Kalender und Formular */
.wp-block-booking-booking .wpbc__form__div > .wpbc__row:not(:has(input, textarea, select, .wpbc_calendar_wraper)),
.wp-block-booking-booking .wpbc__field:not(:has(*)) {
  display: none;
}

/* Kalender immer in voller Breite (im Form Builder steht er auf 48,5 %) */
.wp-block-booking-booking .wpbc__field:has(.wpbc_calendar_wraper) {
  flex: 1 1 100% !important;
  max-width: 100%;
}

/* Beschriftung über dem Feld wie bei Contact Form 7 */
.wp-block-booking-booking .wpbc__field .bfb_element,
.wp-block-booking-booking .wpbc_booking_form_simple .wpbc__field {
  display: flex;
  flex-direction: column;
  gap: .1em;
  width: 100%;
}

.wp-block-booking-booking .wpbc__field br {
  display: none;
}

.wp-block-booking-booking .wpbc_container_booking_form .wpbc__field label {
  margin: 0;
  font-family: var(--font-family);
  font-size: inherit;
  font-weight: 400;
  line-height: var(--line-height);
  color: #fff;
}

/* Englische Beschriftung „Calendar“ aus dem Form Builder; der Text über dem Formular
   sagt schon, was der Kalender zeigt */
.wp-block-booking-booking .wpbc_container_booking_form .wpbc__field :has(> .wpbc_calendar_wraper) > label,
.wp-block-booking-booking .wpbc_container_booking_form .wpbc__field:has(> .wpbc_calendar_wraper) > label {
  display: none;
}

.wp-block-booking-booking .wpbc_cal_powered_by {
  display: none;
}

/* Kalender auf weißer Fläche, die Legende darunter auf der dunklen */
.wp-block-booking-booking .wpbc_calendar_wraper .wpbc_cal_container {
  padding: .5em;
  background: #fff;
}

.wp-block-booking-booking .datepick-inline {
  border: 0;
  box-shadow: none;
}

.wp-block-booking-booking .datepick-inline .datepick-header {
  background-color: var(--gray-dark-hex);
}

.wp-block-booking-booking .wpbc_container_booking_form .block_hints {
  display: flex;
  flex-wrap: wrap;
  gap: .5em 1.5em;
  padding: 1em 0 0;
  background: transparent;
  color: #fff;
}

.wp-block-booking-booking .block_hints .wpdev_hint_with_text {
  margin: 0;
}

/* Farben über die Variablen des Kalender-Skins (seit Booking Calendar 10.x malt es die
   Tage über .wpbc-cell-box, nicht mehr über td). Schrift dunkel auf Grün und Orange,
   weiß auf Rot: jeweils mindestens 4,5:1 */
.wp-block-booking-booking,
.wp-block-booking-booking .datepick-inline td.datepick-days-cell {
  --wpbc_cal-day-bg-color-opacity: 100%;
  --wpbc_cal-header-text-color: #fff;
  --wpbc_cal-text-prev-next-links-color: #fff;
  --wpbc_cal-text-weekdays-color: var(--gray-dark-hex);
  --wpbc_cal-unavailable-text-color: #767676;
  --wpbc_cal-available-day-color: var(--green-hex);
  --wpbc_cal-available-text-color: var(--gray-dark-hex);
  --wpbc_cal-approved-day-color: var(--red-hex);
  --wpbc_cal-approved-text-color: #fff;
  --wpbc_cal-pending-day-color: var(--yellow-hex);
  --wpbc_cal-pending-text-color: var(--gray-dark-hex);
  /* Plugin: Schrift #436593 auf #7195c6 beim Überfahren (1,6:1) */
  --wpbc_cal-hover-day-color: var(--gray-dark-hex);
  --wpbc_cal-hover-text-color: #fff;
  --wpbc_cal-selected-day-color: var(--gray-dark-hex);
  --wpbc_cal-selected-text-color: #fff;
}

/* Die Linkfarbe des Themes (Hauptfarbe der Seite) überschrieb die Schrift der freien Tage */
.wp-block-booking-booking .datepick-inline .date_available a,
.wp-block-booking-booking .datepick-inline .date_available span {
  color: var(--wpbc_cal-available-text-color);
}

.wp-block-booking-booking .datepick-inline .date_approved a,
.wp-block-booking-booking .datepick-inline .date_approved span {
  color: var(--wpbc_cal-approved-text-color);
}

.wp-block-booking-booking .datepick-inline .date2approve a,
.wp-block-booking-booking .datepick-inline .date2approve span {
  color: var(--wpbc_cal-pending-text-color);
}

/* Eingabefelder wie bei Contact Form 7 */
.wp-block-booking-booking div.wpbc_container.wpbc_form :is(input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="date"], input[type="url"], select) {
  width: 100%;
  height: 2.5em;
  padding: .5em;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background-color: var(--gray-light-hex);
  font-family: var(--font-family);
  font-size: calc(1.125rem * var(--vt-schrift));
  color: var(--color);
}

.wp-block-booking-booking div.wpbc_container.wpbc_form textarea {
  width: 100%;
  height: 7.5em;
  padding: .5em;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background-color: var(--gray-light-hex);
  font-family: var(--font-family);
  font-size: calc(1.125rem * var(--vt-schrift));
  color: var(--color);
}

/* Absendeknopf wie bei Contact Form 7 */
.wp-block-booking-booking .wpbc_bfb__btn {
  flex: 0 0 auto !important;
}

.wp-block-booking-booking div.wpbc_container.wpbc_form :is(input, button).wpbc_button.wpbc_button_primary,
.wp-block-booking-booking div.wpbc_container.wpbc_form :is(input, button).wpbc_button.wpbc_button_primary:is(:hover, :focus, :active) {
  width: auto;
  height: unset;
  margin: 0;
  padding: var(--button-padding);
  border: 0;
  border-radius: var(--button-border-radius);
  background: var(--theme-main-color-hex);
  font-family: var(--button-font-family);
  font-weight: var(--button-font-weight);
  font-size: calc(var(--button-font-size) * var(--vt-schrift));
  line-height: normal;
  color: var(--button-color);
  cursor: pointer;
}

.wp-block-booking-booking div.wpbc_container.wpbc_form .wpbc_button.wpbc_button_primary:disabled {
  opacity: .5;
}

.wpbc_container .wpbc_after_booking_thank_you_section {
  max-width: unset;
}


/* OTHER */

#overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease-out;
}

#overlay.open {
  visibility: visible;
  opacity: 1;
}




.bk_calendar_frame + div {
  display: none;
}



/* MEDIA QUERIES */

/* interaction */

@media (hover: none) {

}

/* screen width */

@media screen and (max-width: 1740px) {
  #prevention-container {
    right: -125px;
    transition: all .3s ease-out;
  }
  #prevention-container:hover {
    right: 0;
    transition: all .3s ease-out;
  }
  .prevention-icon {
    display: flex;
  }
}

@media screen and (max-width: 1600px) {
  :root {
    --main-menu-font-size: 1.25rem;
  }
  nav#header-main-menu > #home-icon > img {
    scale: .8;
  }
}

@media screen and (max-width: 1440px) {
  :root {
    --section-padding-right-left: 150px;
    --appointment-preview-gap: 50px;
    --post-preview-gap: 50px;
  }
  #post {
    font-size: calc(1.2rem * var(--vt-schrift));
  }
  #post-excerpt {
    font-size: calc(1.5rem * var(--vt-schrift));
  }
  #post-thumbnail {
    height: 50vh;
  }
  #post-body > * {
    margin-left: 15px;
    margin-right: 15px;
  }
  #post-body > figure.wp-block-image {
    width: 100%;
    max-height: 100vh;
    overflow: hidden;
  }
}

@media screen and (max-width: 1380px) {
  :root {
    --header-padding-right-left: 25px;
    --header-logo-container-width: 320px;
  }
  header {
    max-height: var(--mobile-vh);
  }
}

@media screen and (max-width: 1240px) {
  :root {
    --section-padding-right-left: 75px;
    --section-home-padding-right-left: 75px;
  }
  .wp-block-columns > .wp-block-column > .wp-block-columns {
    flex-direction: column;
  }
  .wp-block-columns > .wp-block-column > .wp-block-columns:empty {
    display: none;
  }
}

@media screen and (max-width: 1140px) {
  section.page.main .wp-block-columns.is-layout-flex,
  .contact-person {
    flex-direction: column;
  }
}

@media screen and (max-width: 1040px) {
  :root {
    --post-preview-width-home: min(calc((100vw - var(--section-home-padding-right-left) * 2 - var(--post-preview-gap)) / 2), 400px);
    --post-preview-width-page: min(calc((100vw - var(--section-padding-right-left) * 2 - var(--post-preview-gap)) / 2), 420px);
    --post-preview-width-archive: min(calc((100vw - var(--section-padding-right-left) * 2 - var(--post-preview-gap)) / 2), 420px);
    --appointment-preview-width-home: min(calc((100vw - var(--section-home-padding-right-left) * 2 - var(--appointment-preview-gap)) / 2), 400px);
    --appointment-preview-width-page: min(calc((100vw - var(--section-padding-right-left) * 2 - var(--appointment-preview-gap)) / 2), 420px);
    --appointment-preview-width-archive: min(calc((100vw - var(--section-padding-right-left) * 2 - var(--appointment-preview-gap)) / 2), 420px);
  }
  body.home section#appointments > .slick-slider {
    max-width: calc(var(--appointment-preview-width) * 2 + var(--appointment-preview-gap) * 2);
  }
  body.home section#news > .slick-slider {
    max-width: calc(var(--post-preview-width) * 2 + var(--post-preview-gap) * 2);
  }
  #sb_instagram:nth-of-type(1) {
    display: none;
  }
  #sb_instagram[data-cols="2"] {
    display: block;
  }
  #sb_instagram[data-cols="3"] {
    display: none;
  }
  .kpa-boxes {
    justify-content: center;
    flex-wrap: wrap;
  }
  .newsletter-container {
    flex-direction: column;
  }
  .newsletter-container > *:not(style) {
    width: 100%;
  }
  .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {
    flex-basis: unset;
  }
  section.page.main .wp-block-columns.is-layout-flex {
    flex-direction: column;
  }  
}

@media screen and (max-width: 940px) {
  :root {
    --header-height: 120px;
    --header-logo-container-width: 400px;
    --section-padding-right-left: 50px;
    --section-home-padding-right-left: 50px;
    --footer-padding-right-left: 50px;
  }
  #prevention-container {
    right: -135px;
  }
  .prevention-icon {
    left: 3%;
  }
  #prevention-container:hover .prevention-icon {
    left: 6%;
  }
  .slide-text .slide-heading {
    font-size: calc(2.5rem * var(--vt-schrift));
  }
  .slide-text p {
    font-size: calc(1.25rem * var(--vt-schrift));
  }
  .slide-text p a {
    font-size: calc(1.25rem * var(--vt-schrift));
  }
  .news-container {
    justify-content: center;
    flex-wrap: wrap;
  }
  .footer-row {
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 50px;
  }
  .footer-column.right-bottom {
    width: 100%;
    justify-content: space-around;
    flex-wrap: wrap;
  }
}

@media screen and (max-width: 840px) {
  .wp-block-file,
  ul.files {
    flex-direction: column;
  }
  .wp-block-file > a,
  ul.files > li {
    width: 100%;
  }
}

@media screen and (max-width: 782px) {
  #wpadminbar + header {
    margin-top: 46px;
  }
}

@media screen and (max-width: 768px) {
  :root {
    --post-preview-width-home: min(calc(100vw - var(--section-home-padding-right-left) * 2), 400px);
    --post-preview-width-page: min(calc(100vw - var(--section-home-padding-right-left) * 2), 400px);
    --post-preview-width-archive: min(calc(100vw - var(--section-home-padding-right-left) * 2), 400px);
    --appointment-preview-width-home: min(calc(100vw - var(--section-home-padding-right-left) * 2), 400px);
    --appointment-preview-width-page: min(calc(100vw - var(--section-padding-right-left) * 2), 400px);
    --appointment-preview-width-archive: min(calc(100vw - var(--section-padding-right-left) * 2), 400px);
    --footer-sub-logos-gap: 20px;
    --footer-sub-logo-width: 40px;
  }
  section#appointments,
  section#news {
    padding: var(--section-padding-top-bottom) var(--section-home-padding-right-left);
  }
  .appointments-container .slick-dots,
  .news-container .slick-dots {
    height: calc(var(--slider-dots-height) * 2.5);
    align-items: flex-end;
    position: static;
  }
  .appointments-container .slick-dots li,
  .news-container .slick-dots li {
    height: var(--slider-dots-height);
    background: transparent;
  }
  .appointments-container .slick-dots li button {
    background: var(--gray-dark-hex);
  }
  .news-container .slick-dots li button {
    background: var(--theme-main-color-hex);
  }
  .appointments-container .slick-dots li.slick-active button {
    background: var(--theme-main-color-hex);
  }
  .news-container .slick-dots li.slick-active button {
    background: var(--gray-dark-hex);
  }
  .appointments-container .slick-slide,
  .news-container .slick-slide {
    margin: 0 calc((100vw - var(--section-home-padding-right-left) * 2 - var(--appointment-preview-width)) * .5);
  }
  section.page .appointments-container.slick-slider {
    width: 100%;
    margin-left: 0;
  }
  section.page .appointments-container .slick-slide {
    margin: 0 calc((100vw - var(--section-padding-right-left) * 2 - var(--appointment-preview-width)) * .5);
  }
  #sb_instagram[data-cols="1"] {
    display: block;
  }
  #sb_instagram[data-cols="2"] {
    display: none;
  }
  #sb_instagram .sbi-owl-item {
    padding: 0 calc((100vw - var(--section-home-padding-right-left) * 2 - var(--post-preview-width)) * .5 + var(--post-preview-gap) * .5);
  }
  .single.featured-image-container {
    float: unset;
    margin: 0 0 1.5em;
  }
  .shortcode.appointments-container {
    --appointment-preview-width: min(calc(100vw - var(--section-padding-right-left) * 2), 400px);
    --appointment-preview-height: calc(var(--appointment-preview-width) / 3 * 4);
  }
  .shortcode.appointment.post-preview {
    flex-direction: column;
  }
  .shortcode.appointment.post-image-container {
    width: 100%;
    height: 50%;
  }
  .shortcode.appointment.post-body {
    width: 100%;
    height: 50%;
    gap: calc(var(--appointment-preview-width) / 2 * 3 * .02);
    padding: calc(var(--appointment-preview-width) * .065) calc(var(--appointment-preview-width) * .085);
  }
  h3.shortcode.appointment.post-heading,
  .shortcode.appointment.post-read-more {
    font-size: calc(calc(var(--appointment-preview-height) / 2 * .1) * var(--vt-schrift));
  }
  .shortcode.appointment.post-info-container {
    font-size: calc(calc(var(--appointment-preview-height) / 2 * .075) * var(--vt-schrift));
  }
}

@media screen and (max-width: 600px) {
  :root {
    --header-height: 100px;
    --header-logo-container-width: 330px;
    --header-padding-right-left: 15px;
    --scp-image-width: min(calc(100vw - var(--section-padding-right-left) * 2), 300px);
    --footer-font-size: 1rem;
  }
  #wpadminbar {
    position: fixed;
  }
  body.home main ul:not(.slick-dots) {
    -webkit-column-count: 1;
    -moz-column-count: 1;
    column-count: 1;
  }
  body.home section h2 {
    font-size: calc(2rem * var(--vt-schrift));
  }
  .slide-source a {
    font-size: calc(.875rem * var(--vt-schrift));
  }
  .person-shortcode {
    min-width: unset;
    flex-direction: column;
  }
  .person-shortcode-body {
    width: var(--scp-image-width);
    height: unset;
  }
  .archive.appointment.posts-container {
    justify-content: center;
  }
  .archive.post-info-container {
    flex-direction: column;
    gap: .5em;
  }
  .footer-column.right-bottom {
    justify-content: space-around;
    gap: 0;
  }
  form.wpcf7-form {
    padding: 1.5em;
  }
}

@media screen and (max-width: 540px) {
  :root {
    --section-padding-right-left: 25px;
    --section-home-padding-right-left: 40px;
    --footer-padding-right-left: 25px;
  }
  .sib_signup_box_inside_1 > label,
  .sib_signup_box_inside_1 > input {
    grid-column: 1/3;
  }
  .sib_signup_box_inside_1 > input {
    margin-top: -.75em;
  }
  form.wpcf7-form {
    min-width: unset;
  }
  footer {
    background-size: 400%;
  }
  .footer-row {
    justify-content: center;
  }
  .organization-logos {
    flex-direction: column;
    gap: 40px;
  }
  .sub-organization-logos {
    padding-top: 0;
  }
  .footer-row .social-media {
    width: 45px;
    height: 45px;
    font-size: calc(calc(45px * .5) * var(--vt-schrift));
  }
    nav#footer-menu ul {
    flex-direction: column;
    align-items: center;
    gap: 1em;
  }
  nav#footer-menu ul > li:not(:nth-of-type(1))::before {
    display: none;
  }
}

@media screen and (max-width: 440px) {
  :root {
    --h1-font-size: 2.5rem;
    --h2-font-size: 2rem;
    --h3-font-size: 1.5rem;
    --h4-font-size: 1.25rem;
    --main-font-size: 1rem;
    --section-home-padding-right-left: 25px;
    --button-font-size: 1.25rem;
    --footer-font-size: .9rem;
  }
  .slide-text .slide-heading {
    font-size: calc(1.75rem * var(--vt-schrift));
  }
  .slide-text p {
    font-size: calc(1.125rem * var(--vt-schrift));
  }
  .slide-text p a {
    font-size: calc(1.125rem * var(--vt-schrift));
  }
  .wp-block-file > a,
  ul.files a {
    min-height: 80px;
    padding: .75em calc(45px + .75em * 2) .75em calc(70px + .75em);
  }
  .wp-block-file > a:not(.wp-element-button)::before,
  ul.files object {
    width: 70px;
/* 		height: 80px; */
  }
  ul.files a::after,
  .wp-block-file > a:not(.wp-element-button)::after {
    width: 45px;
    height: 45px;
  }
  ul#menu-fussmenue,
  .footer-column.right-bottom {
    justify-content: space-between;
  }
}

@media screen and (max-width: 380px) {
  :root {
    --h1-font-size: 2rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --h4-font-size: 1.125rem;
    --header-height: 90px;
    --header-logo-container-width: 300px;
  }
}























/* ==========================================================================
   BARRIEREFREIHEIT (Theme 1.9.0, Paket 2 aus dem Audit vom 19.10.2026)
   ========================================================================== */

/* Hauptfarbe je Seite (Customizer, vt_theme_main_color()). Bis 1.8.0 stand nur die Farbe
   selbst im style-Attribut am <html>; als Textfarbe hatte Grün 2,43:1, Weiß auf Grün ebenso.
   Jetzt je Farbe:
   -hex    Fläche (Markenfarbe, unverändert)
   -text   als Schrift auf Weiß und #ececec, ≥ 4,5:1
   -on     Schrift auf der Fläche, ≥ 4,5:1 (Weiß, wo es reicht, sonst #1a1a1a)
   -light  als Schrift auf #333 (Veranstaltungskarten, Formulare), ≥ 4,5:1
   -aaa    für „Hoher Kontrast“: Fläche mit Weiß bzw. Schrift auf Weiß, ≥ 7:1
   Werte nachgerechnet (WCAG-Formel), siehe CHANGELOG.md. */
:root {
  --green-text-hex: #4c7600;       --green-on-hex: #1a1a1a;      --green-light-hex: #77b800;      --green-aaa-hex: #385700;
  --blue-light-text-hex: #0e7490;  --blue-light-on-hex: #1a1a1a; --blue-light-light-hex: #1bbce9; --blue-light-aaa-hex: #0a5469;
  --blue-dark-text-hex: #006eb5;   --blue-dark-on-hex: #fff;     --blue-dark-light-hex: #0da0ff;  --blue-dark-aaa-hex: #005185;
  --purple-text-hex: #572381;      --purple-on-hex: #fff;        --purple-light-hex: #b887df;     --purple-aaa-hex: #572381;
  --pink-text-hex: #d00069;        --pink-on-hex: #fff;          --pink-light-hex: #ff60b0;       --pink-aaa-hex: #9b004e;
  --red-text-hex: #d80019;         --red-on-hex: #fff;           --red-light-hex: #ff6879;        --red-aaa-hex: #a00012;
  --orange-text-hex: #ad4f00;      --orange-on-hex: #1a1a1a;     --orange-light-hex: #ff7400;     --orange-aaa-hex: #7f3a00;
  --yellow-text-hex: #9e5900;      --yellow-on-hex: #1a1a1a;     --yellow-light-hex: #ff8f00;     --yellow-aaa-hex: #754200;

  --theme-main-color-hex: var(--green-hex);
  --theme-main-color-text-hex: var(--green-text-hex);
  --theme-main-color-on-hex: var(--green-on-hex);
  --theme-main-color-light-hex: var(--green-light-hex);
  --theme-main-color-aaa-hex: var(--green-aaa-hex);
}

html.theme-main-color-green      { --theme-main-color-hex: var(--green-hex);      --theme-main-color-text-hex: var(--green-text-hex);      --theme-main-color-on-hex: var(--green-on-hex);      --theme-main-color-light-hex: var(--green-light-hex);      --theme-main-color-aaa-hex: var(--green-aaa-hex); }
html.theme-main-color-blue-light { --theme-main-color-hex: var(--blue-light-hex); --theme-main-color-text-hex: var(--blue-light-text-hex); --theme-main-color-on-hex: var(--blue-light-on-hex); --theme-main-color-light-hex: var(--blue-light-light-hex); --theme-main-color-aaa-hex: var(--blue-light-aaa-hex); }
html.theme-main-color-blue-dark  { --theme-main-color-hex: var(--blue-dark-hex);  --theme-main-color-text-hex: var(--blue-dark-text-hex);  --theme-main-color-on-hex: var(--blue-dark-on-hex);  --theme-main-color-light-hex: var(--blue-dark-light-hex);  --theme-main-color-aaa-hex: var(--blue-dark-aaa-hex); }
html.theme-main-color-purple     { --theme-main-color-hex: var(--purple-hex);     --theme-main-color-text-hex: var(--purple-text-hex);     --theme-main-color-on-hex: var(--purple-on-hex);     --theme-main-color-light-hex: var(--purple-light-hex);     --theme-main-color-aaa-hex: var(--purple-aaa-hex); }
html.theme-main-color-pink       { --theme-main-color-hex: var(--pink-hex);       --theme-main-color-text-hex: var(--pink-text-hex);       --theme-main-color-on-hex: var(--pink-on-hex);       --theme-main-color-light-hex: var(--pink-light-hex);       --theme-main-color-aaa-hex: var(--pink-aaa-hex); }
html.theme-main-color-red        { --theme-main-color-hex: var(--red-hex);        --theme-main-color-text-hex: var(--red-text-hex);        --theme-main-color-on-hex: var(--red-on-hex);        --theme-main-color-light-hex: var(--red-light-hex);        --theme-main-color-aaa-hex: var(--red-aaa-hex); }
html.theme-main-color-orange     { --theme-main-color-hex: var(--orange-hex);     --theme-main-color-text-hex: var(--orange-text-hex);     --theme-main-color-on-hex: var(--orange-on-hex);     --theme-main-color-light-hex: var(--orange-light-hex);     --theme-main-color-aaa-hex: var(--orange-aaa-hex); }
html.theme-main-color-yellow     { --theme-main-color-hex: var(--yellow-hex);     --theme-main-color-text-hex: var(--yellow-text-hex);     --theme-main-color-on-hex: var(--yellow-on-hex);     --theme-main-color-light-hex: var(--yellow-light-hex);     --theme-main-color-aaa-hex: var(--yellow-aaa-hex); }

/* Links und Überschriften auf dunklen Flächen (#333): hellere Variante */
/* Ohne die Tage im Buchungskalender: die sind Links auf farbigen Feldern, und #instagram im
   :is() gibt der Regel ID-Gewicht – die Zahlen wurden hellgrün auf Grün */
:is(form.wpcf7-form, section#instagram, .appointment.post-preview, .wpbc__form__div) a:not(.button, .wp-block-button__link, .datepick-inline *),
section#instagram :is(h2, h3) {
  color: var(--theme-main-color-light-hex);
}

/* Links im Fließtext unterstrichen – die Farbe allein hebt sich vom Text #333 nicht genug ab
   (1.4.1, axe link-in-text-block) */
main :is(p, li, td, dd, figcaption, .page.content) a:not(.button, .wp-block-button__link, .post-read-more, .page-numbers, .post-image-link) {
  text-decoration: underline;
  text-underline-offset: .15em;
}

/* Links als Listenpunkt: mindestens 24 px hoch (2.5.8) */
main ul:not(.slick-dots, .menu, .sub-menu) > li > a:not(.button) {
  display: inline-block;
  padding: .15em 0;
}

/* Aufklapp-Knöpfe im Menü mindestens 24 px breit (2.5.8) */
nav#header-main-menu .submenu-toggle-indicator {
  min-width: 24px;
}

/* Nur für Screenreader sichtbar; Sprunglink erscheint beim Fokus */
.screen-reader-text {
  width: 1px;
  height: 1px;
  position: absolute !important;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  margin: -1px;
  padding: 0;
  border: 0;
  white-space: nowrap;
  word-wrap: normal !important;
}

.skip-link:focus {
  width: auto;
  height: auto;
  top: .5rem;
  left: .5rem;
  z-index: 100000;
  clip: auto;
  clip-path: none;
  padding: .75em 1.25em;
  background: #fff;
  font-family: var(--font-family);
  font-size: 1.125rem;
  font-weight: 700;
  color: #1a1a1a;
  outline: 3px solid #1a1a1a;
  outline-offset: 2px;
}

main:focus {
  outline: none;
}

/* Sprungziele nicht unter dem festen Kopf (2.4.11) */
html {
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

/* Fokus immer sichtbar: zweifarbig, auf hellen und dunklen Flächen (2.4.7, 2.4.13) */
:is(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid #1a1a1a;
  outline-offset: 2px;
  box-shadow: 0 0 0 5px #fff;
}

.slick-dots li button:focus-visible {
  outline: 3px solid #1a1a1a;
  outline-offset: 2px;
}

/* Info-Segel: fährt auch beim Tastaturfokus heraus (2.4.7, 2.4.11) */
@media screen and (max-width: 1740px) {
  #prevention-container:focus-within {
    right: 0;
  }
}

/* Karussell-Pfeile sind seit 1.9.0 Knöpfe */
button.slick-arrow {
  border: 0;
  background: none;
  font: inherit;
  color: #fff;
}

.slick-arrow::before {
  background: rgba(var(--gray-dark-rgb), .8);
}

/* Folienwechsel anhalten (2.2.2) */
.slider {
  position: relative;
}

.slider-pause {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: .4em;
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 10;
  padding: .35em .8em;
  border: 2px solid #fff;
  background: rgba(26, 26, 26, .85);
  font-family: var(--font-family);
  font-size: 1rem;
  color: #fff;
  cursor: pointer;
}

/* Personenkarte: Name als Überschrift ohne Größenänderung */
.person-shortcode-name :is(h3, h4) {
  margin: 0;
  font: inherit;
  color: inherit;
}


/* --- Darstellung anpassen (Menü im Kopf, inc/a11y.php, assets/js/a11y.js) ---------- */

.vt-darstellung {
  width: 21em;
  display: flex;
  flex-direction: column;
  gap: .6em;
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 400;
  text-align: left;
  color: #fff;
}

.vt-darstellung-titel {
  margin: 0 0 .2em;
  font-size: 1.15em;
  font-weight: 700;
}

.vt-darstellung-untertitel {
  display: block;
  font-size: .85em;
  font-weight: 400;
}

.vt-darstellung-label {
  display: block;
  margin-bottom: .3em;
}

.vt-darstellung-stufen {
  display: flex;
  gap: .4em;
}

#darstellung-panel .vt-darstellung button {
  min-height: 44px;
  padding: .4em .7em;
  border: 2px solid #fff;
  background-color: transparent;
  font: inherit;
  text-align: left;
  color: #fff;
  cursor: pointer;
}

.vt-darstellung-stufen button {
  flex: 1 1 0;
  text-align: center;
}

.vt-darstellung-stufen button[data-vt-schrift="125"] { font-size: 1.15em; }
.vt-darstellung-stufen button[data-vt-schrift="150"] { font-size: 1.3em; }

#darstellung-panel .vt-darstellung button:hover {
  text-decoration: underline;
}

/* Gewählt: weiße Fläche (12,6:1) und Häkchen – nicht nur über Farbe */
#darstellung-panel .vt-darstellung button[aria-pressed="true"] {
  background-color: #fff;
  font-weight: 700;
  color: var(--gray-dark-hex);
}

.vt-darstellung-schalter {
  display: flex;
  align-items: center;
  gap: .6em;
}

.vt-darstellung-anzeige {
  width: 1.1em;
  height: 1.1em;
  display: inline-flex;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  border: 2px solid currentColor;
  line-height: 1;
}

#darstellung-panel .vt-darstellung button[aria-pressed="true"] .vt-darstellung-anzeige::after {
  content: "\2713";
}

#darstellung-panel .vt-darstellung button.vt-darstellung-zuruecksetzen {
  min-height: 0;
  padding: .2em 0;
  border: 0;
  text-decoration: underline;
}

.vt-darstellung-hinweis {
  margin: 0;
  font-size: .85em;
}

/* Schriftgröße (1.4.4): Faktor für alle Schriftgrößen in style.css */
html.vt-schrift-125 { --vt-schrift: 1.25; }
html.vt-schrift-150 { --vt-schrift: 1.5; }

/* Feste Höhen der Vorschaukarten wachsen mit, statt Text abzuschneiden */
html:is(.vt-schrift-125, .vt-schrift-150, .vt-abstand) :is(.post-preview, .appointment.post-preview, .post-body) {
  height: auto;
  min-height: var(--post-preview-height);
}

/* Hoher Kontrast (AAA 1.4.6: Text ≥ 7:1). Flächen in der dunklen Variante mit weißer Schrift,
   Text schwarz, Hauptfarbe als Schrift ebenfalls dunkel. */
html.vt-kontrast {
  --theme-main-color-hex: var(--theme-main-color-aaa-hex);
  --theme-main-color-text-hex: var(--theme-main-color-aaa-hex);
  --theme-main-color-on-hex: #fff;
  --gray-button-hex: #595959;         /* Weiß darauf 7,0:1 */
  --gray-medium-hex: #333;
}

html.vt-kontrast body {
  color: #000;
}

html.vt-kontrast main a:not(.button, .wp-block-button__link, .page-numbers, .post-image-link) {
  text-decoration: underline;
}

html.vt-kontrast section#news h3.post-heading a,
html.vt-kontrast h2.newsletter-heading {
  color: #fff;
}

html.vt-kontrast ::placeholder {
  color: #333;
  opacity: 1;
}

/* Animationen aus (2.2.2, 2.3.3) – der Slider hält zusätzlich an (assets/js/slide.js) */
html.vt-ruhig *,
html.vt-ruhig *::before,
html.vt-ruhig *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}

/* Links hervorheben (1.4.1) */
html.vt-links :is(main, footer) a:not(.button, .post-image-link) {
  text-decoration: underline !important;
  text-decoration-thickness: .12em !important;
  text-decoration-color: currentColor !important;
  text-underline-offset: .18em;
}

/* Mehr Abstand: Werte aus 1.4.12 (Zeilen 1,5 und mehr, Absatz 2 em, Buchstaben .12 em, Wörter .16 em) */
html.vt-abstand main :is(p, li, dd, dt, td, th, figcaption, label, blockquote) {
  line-height: 1.8 !important;
  letter-spacing: .12em !important;
  word-spacing: .16em !important;
}

html.vt-abstand main p {
  margin-bottom: 2em !important;
}

/* Linksbündig statt Blocksatz (AAA 1.4.8) */
html.vt-linksbuendig :is(main, footer) * {
  text-align: left !important;
  hyphens: manual !important;
}

/* Auswahlfelder in Formularen mindestens 24 × 24 px (2.5.8) */
form.wpcf7-form :is(input[type=checkbox], input[type=radio]) {
  min-width: 24px;
  min-height: 24px;
}

/* Das Info-Segel hat eine feste Form – seine Schrift wächst nicht mit */
html:is(.vt-schrift-125, .vt-schrift-150) #prevention-container {
  --vt-schrift: 1;
}
