/*

Theme Name: VJ Basis
Theme URI: https://visualtech.de
Description: Basis-Theme für vielwerth-junginger.de und vereinsberatung.de (aus dem Visualtech-Basistheme vt-basis 0.6.0)
Author: Visualtech GmbH
Author URI: https://visualtech.de
Version: 1.3.0
License:  GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vj-basis

*/

/* Schrift: Lexend als variable Schrift, ein Eintrag für alle Stärken (300–900) */

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

:root {
  
  /* Fonts */
  --heading-font: ui-rounded, Helvetica, sans-serif;
  --text-font: ui-sans-serif, Arial, sans-serif;
  --main-menu-font: var(--heading-font);
  --font-size-small: .9rem;
	--line-height: 1.2;
  
  /* Colors */
  --primary-color-hex: #fc354c;
	--primary-color-rgb: 252,53,76;
  --secondary-color-hex: #0abfbc;
	--secondary-color-rgb: 10,191,188;
  --tertiary-color-hex: #38369a;
	--tertiary-color-rgb: 56,54,154;
	--quarternary-color-hex: ;
	--quarternary-color-rgb: ;
	
	--dark-gray-hex: #222;
	
	--scrollbar-thumb-background: rgba(var(--tertiary-color-rgb),.5);
	--scrollbar-track-background: transparent;
	
	--background-gradient-horizontal: linear-gradient(to right, var(--primary-color-hex), var(--secondary-color-hex));
  --background-gradient-vertical: linear-gradient(to bottom, var(--primary-color-hex), var(--secondary-color-hex));
  
/*   --text-color: #535353; */
  --text-color: var(--secondary-color-hex);
  --text-color-light: #555;
  
  --body-background: #eee;
	
	/* Headings */
	--heading-margin: .7em 0;
  --heading-text-align: center;
	--heading-font-weight: 700;
	--heading-color: var(--text-color);
	
	--h1-font-size: 3.5rem;
	--h1-color: var(--heading-color);
	
	--h2-font-size: 2rem;
	--h2-color: var(--heading-color);
	
	--h3-font-size: 1.5rem;
	--h3-color: var(--heading-color);
	
	/* Buttons */
	--button-padding: .75em 1.25em;
  --button-background:  var(--background-gradient-horizontal);
	--button-border-width: 0px;
	--button-border-style: solid;
	--button-border-color: transparent;
	--button-font-family: var(--heading-font);
	--button-font-size: 1.1rem;
	--button-font-weight: 700;
	--button-text-transform: none;
	--button-letter-spacing: normal;
  --button-color: var(--body-background);
	
  --button-background-hover: inherit;
	--button-border-color-hover: inherit;
	--button-color-hover: inherit;
	
	/* Links */
	--link-color: var(--primary-color-hex);
	--link-hover-color: var(--secondary-color-hex);
	--link-text-decoration: none;
	--link-text-underline-offset: .2em;
	--link-text-decoration-color: var(--link-hover-color);
	
	/* Icons */
	--above-footer-icon-color: var(--priamary-color-hex);
	
	/* Header */
  --header-shadow: 0 3px 24px rgb(0 0 0 / 16%);
  
  --top-menu-height: 40px;
  --top-menu-background-color: #fff;
  --top-menu-color: var(--text-color);
  --top-menu-hover-color: inherit;
  
  --main-menu-height: 75px;
  --main-menu-background-color: var(--body-background);
  --main-menu-color: var(--tertiary-color-hex);
  --main-menu-hover-color: inherit;

  --logo-width: 60px;
  
  /* Section */
  --section-padding-top-bottom: 50px;
  --section-padding-side: max(calc((100vw - var(--content-max-width)) / 2), var(--min-padding-side));
	
	/* Category */
	--category-max-width: 1000px;
	
	/* Footer */
  --footer-background-color: var(--dark-gray-hex);
	--footer-color: #fff9;
	--footer-link-hover-color: #fff;
  
	/* Miscellaneous specs */
  --100vh: 100vh;
  --mobile-vh: 100vh;
	
	--scroll-percent: 0%;
	
	--scrollbar-width: 10px; /* Webkit only */
	
  --content-max-width: 1000px;
  --min-padding-side: 30px;
  --content-width: min(var(--content-max-width), calc(100vw - var(--min-padding-side) * 2));
	
  font-family: var(--text-font);
  font-weight: 400;
  font-size: 16px;
	line-height: var(--line-height);
  color: var(--text-color);
}

/* General */

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

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

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

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

html {
	margin-top: 0 !important;
}

body {
  max-width: 100vw;
  width: 100vw;
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  margin: 0;
  position: relative;
  background: var(--body-background);
  overflow: overlay;
  overflow-x: hidden;
  -moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	font-smooth: antialiased;
  transition: opacity 0.8s;
}

body * {
  box-sizing: border-box;
}

#wpadminbar {
	opacity: 0;
	transition: all 0.3s ease-out; 
}

#wpadminbar:hover {
	opacity: 1;
}

/* Headings */

h1,
h2,
h3,
h4,
h5,
h6,
.h3-stil {
	margin: var(--heading-margin);
/* 	text-align: var(--heading-text-align); */
	font: var(--heading-font);
	font-weight: var(--heading-font-weight);
	color: var(--heading-color);
/*   word-break: normal; */
/*   hyphens: auto; */
}

h1 {
  font-size: var(--h1-font-size);
	color: var(--h1-color);
}

h2 {
  font-size: var(--h2-font-size);
	color: var(--h2-color);
}

/* .h3-stil: sieht aus wie h3, ist aber keine Überschrift (Unterzeilen, Funktion, „Thema:“) */
h3,
.h3-stil {
  font-size: var(--h3-font-size);
	color: var(--h3-color);
}

/* Links */

a {
  color: var(--link-color);
  text-decoration: var(--link-text-decoration);
  text-underline-offset: var(--link-text-underline-offset);
  text-decoration-color: var(--link-text-decoration-color);
  transition: all 0.2s ease-out;
}

a:hover {
  color: var(--link-hover-color);
}

/* Icons */

.icon {
  flex-shrink: 0;
  min-width: 1em;
  min-height: 1em;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
}

.icon.mail {
  mask-image: url(data:image/svg+xml,%3Csvg%20%20xmlns=%22http://www.w3.org/2000/svg%22%20%20width=%2224%22%20%20height=%2224%22%20%20viewBox=%220%200%2024%2024%22%20%20fill=%22none%22%20%20stroke=%22currentColor%22%20%20stroke-width=%222%22%20%20stroke-linecap=%22round%22%20%20stroke-linejoin=%22round%22%20%20class=%22icon%20icon-tabler%20icons-tabler-outline%20icon-tabler-mail%22%3E%3Cpath%20stroke=%22none%22%20d=%22M0%200h24v24H0z%22%20fill=%22none%22/%3E%3Cpath%20d=%22M3%207a2%202%200%200%201%202%20-2h14a2%202%200%200%201%202%202v10a2%202%200%200%201%20-2%202h-14a2%202%200%200%201%20-2%20-2v-10z%22%20/%3E%3Cpath%20d=%22M3%207l9%206l9%20-6%22%20/%3E%3C/svg%3E);
}

.icon.phone {
  mask-image: url(data:image/svg+xml,%3Csvg%20%20xmlns=%22http://www.w3.org/2000/svg%22%20%20width=%2224%22%20%20height=%2224%22%20%20viewBox=%220%200%2024%2024%22%20%20fill=%22none%22%20%20stroke=%22currentColor%22%20%20stroke-width=%222%22%20%20stroke-linecap=%22round%22%20%20stroke-linejoin=%22round%22%20%20class=%22icon%20icon-tabler%20icons-tabler-outline%20icon-tabler-phone%22%3E%3Cpath%20stroke=%22none%22%20d=%22M0%200h24v24H0z%22%20fill=%22none%22/%3E%3Cpath%20d=%22M5%204h4l2%205l-2.5%201.5a11%2011%200%200%200%205%205l1.5%20-2.5l5%202v4a2%202%200%200%201%20-2%202a16%2016%200%200%201%20-15%20-15a2%202%200%200%201%202%20-2%22%20/%3E%3C/svg%3E);
}

.icon.chevron-down {
  mask-image: url(data:image/svg+xml,%3Csvg%20%20xmlns=%22http://www.w3.org/2000/svg%22%20%20width=%2224%22%20%20height=%2224%22%20%20viewBox=%220%200%2024%2024%22%20%20fill=%22none%22%20%20stroke=%22currentColor%22%20%20stroke-width=%222%22%20%20stroke-linecap=%22round%22%20%20stroke-linejoin=%22round%22%20%20class=%22icon%20icon-tabler%20icons-tabler-outline%20icon-tabler-chevron-down%22%3E%3Cpath%20stroke=%22none%22%20d=%22M0%200h24v24H0z%22%20fill=%22none%22/%3E%3Cpath%20d=%22M6%209l6%206l6%20-6%22%20/%3E%3C/svg%3E);
}

.icon.chevrons-down {
  mask-image: url(data:image/svg+xml,%3Csvg%20%20xmlns=%22http://www.w3.org/2000/svg%22%20%20width=%2224%22%20%20height=%2224%22%20%20viewBox=%220%200%2024%2024%22%20%20fill=%22none%22%20%20stroke=%22currentColor%22%20%20stroke-width=%222%22%20%20stroke-linecap=%22round%22%20%20stroke-linejoin=%22round%22%20%20class=%22icon%20icon-tabler%20icons-tabler-outline%20icon-tabler-chevrons-down%22%3E%3Cpath%20stroke=%22none%22%20d=%22M0%200h24v24H0z%22%20fill=%22none%22/%3E%3Cpath%20d=%22M7%207l5%205l5%20-5%22%20/%3E%3Cpath%20d=%22M7%2013l5%205l5%20-5%22%20/%3E%3C/svg%3E);
}

.icon.burger-menu {
  mask-image: url(data:image/svg+xml,%3Csvg%20%20xmlns=%22http://www.w3.org/2000/svg%22%20%20width=%2224%22%20%20height=%2224%22%20%20viewBox=%220%200%2024%2024%22%20%20fill=%22none%22%20%20stroke=%22currentColor%22%20%20stroke-width=%222%22%20%20stroke-linecap=%22round%22%20%20stroke-linejoin=%22round%22%20%20class=%22icon%20icon-tabler%20icons-tabler-outline%20icon-tabler-menu-2%22%3E%3Cpath%20stroke=%22none%22%20d=%22M0%200h24v24H0z%22%20fill=%22none%22/%3E%3Cpath%20d=%22M4%206l16%200%22%20/%3E%3Cpath%20d=%22M4%2012l16%200%22%20/%3E%3Cpath%20d=%22M4%2018l16%200%22%20/%3E%3C/svg%3E);
}

.icon.close-x {
  mask-image: url(data:image/svg+xml,%3Csvg%20%20xmlns=%22http://www.w3.org/2000/svg%22%20%20width=%2224%22%20%20height=%2224%22%20%20viewBox=%220%200%2024%2024%22%20%20fill=%22none%22%20%20stroke=%22currentColor%22%20%20stroke-width=%222%22%20%20stroke-linecap=%22round%22%20%20stroke-linejoin=%22round%22%20%20class=%22icon%20icon-tabler%20icons-tabler-outline%20icon-tabler-x%22%3E%3Cpath%20stroke=%22none%22%20d=%22M0%200h24v24H0z%22%20fill=%22none%22/%3E%3Cpath%20d=%22M18%206l-12%2012%22%20/%3E%3Cpath%20d=%22M6%206l12%2012%22%20/%3E%3C/svg%3E);
}

.icon.map-pin {
  mask-image: url(data:image/svg+xml,%3Csvg%20%20xmlns=%22http://www.w3.org/2000/svg%22%20%20width=%2224%22%20%20height=%2224%22%20%20viewBox=%220%200%2024%2024%22%20%20fill=%22none%22%20%20stroke=%22currentColor%22%20%20stroke-width=%222%22%20%20stroke-linecap=%22round%22%20%20stroke-linejoin=%22round%22%20%20class=%22icon%20icon-tabler%20icons-tabler-outline%20icon-tabler-map-2%22%3E%3Cpath%20stroke=%22none%22%20d=%22M0%200h24v24H0z%22%20fill=%22none%22/%3E%3Cpath%20d=%22M12%2018.5l-3%20-1.5l-6%203v-13l6%20-3l6%203l6%20-3v7.5%22%20/%3E%3Cpath%20d=%22M9%204v13%22%20/%3E%3Cpath%20d=%22M15%207v5.5%22%20/%3E%3Cpath%20d=%22M21.121%2020.121a3%203%200%201%200%20-4.242%200c.418%20.419%201.125%201.045%202.121%201.879c1.051%20-.89%201.759%20-1.516%202.121%20-1.879z%22%20/%3E%3Cpath%20d=%22M19%2018v.01%22%20/%3E%3C/svg%3E);
}

.icon.printer {
  mask-image: url(data:image/svg+xml,%3Csvg%20%20xmlns=%22http://www.w3.org/2000/svg%22%20%20width=%2224%22%20%20height=%2224%22%20%20viewBox=%220%200%2024%2024%22%20%20fill=%22none%22%20%20stroke=%22currentColor%22%20%20stroke-width=%222%22%20%20stroke-linecap=%22round%22%20%20stroke-linejoin=%22round%22%20%20class=%22icon%20icon-tabler%20icons-tabler-outline%20icon-tabler-printer%22%3E%3Cpath%20stroke=%22none%22%20d=%22M0%200h24v24H0z%22%20fill=%22none%22/%3E%3Cpath%20d=%22M17%2017h2a2%202%200%200%200%202%20-2v-4a2%202%200%200%200%20-2%20-2h-14a2%202%200%200%200%20-2%202v4a2%202%200%200%200%202%202h2%22%20/%3E%3Cpath%20d=%22M17%209v-4a2%202%200%200%200%20-2%20-2h-6a2%202%200%200%200%20-2%202v4%22%20/%3E%3Cpath%20d=%22M7%2013m0%202a2%202%200%200%201%202%20-2h6a2%202%200%200%201%202%202v4a2%202%200%200%201%20-2%202h-6a2%202%200%200%201%20-2%20-2z%22%20/%3E%3C/svg%3E);
}

.icon.bank {
  mask-image: url(data:image/svg+xml,%3Csvg%20%20xmlns=%22http://www.w3.org/2000/svg%22%20%20width=%2224%22%20%20height=%2224%22%20%20viewBox=%220%200%2024%2024%22%20%20fill=%22none%22%20%20stroke=%22currentColor%22%20%20stroke-width=%222%22%20%20stroke-linecap=%22round%22%20%20stroke-linejoin=%22round%22%20%20class=%22icon%20icon-tabler%20icons-tabler-outline%20icon-tabler-building-bank%22%3E%3Cpath%20stroke=%22none%22%20d=%22M0%200h24v24H0z%22%20fill=%22none%22/%3E%3Cpath%20d=%22M3%2021l18%200%22%20/%3E%3Cpath%20d=%22M3%2010l18%200%22%20/%3E%3Cpath%20d=%22M5%206l7%20-3l7%203%22%20/%3E%3Cpath%20d=%22M4%2010l0%2011%22%20/%3E%3Cpath%20d=%22M20%2010l0%2011%22%20/%3E%3Cpath%20d=%22M8%2014l0%203%22%20/%3E%3Cpath%20d=%22M12%2014l0%203%22%20/%3E%3Cpath%20d=%22M16%2014l0%203%22%20/%3E%3C/svg%3E);
}

.icon.facebook {
  mask-image: url(data:image/svg+xml,%3Csvg%20%20xmlns=%22http://www.w3.org/2000/svg%22%20%20width=%2224%22%20%20height=%2224%22%20%20viewBox=%220%200%2024%2024%22%20%20fill=%22currentColor%22%20%20class=%22icon%20icon-tabler%20icons-tabler-filled%20icon-tabler-brand-facebook%22%3E%3Cpath%20stroke=%22none%22%20d=%22M0%200h24v24H0z%22%20fill=%22none%22/%3E%3Cpath%20d=%22M18%202a1%201%200%200%201%20.993%20.883l.007%20.117v4a1%201%200%200%201%20-.883%20.993l-.117%20.007h-3v1h3a1%201%200%200%201%20.991%201.131l-.02%20.112l-1%204a1%201%200%200%201%20-.858%20.75l-.113%20.007h-2v6a1%201%200%200%201%20-.883%20.993l-.117%20.007h-4a1%201%200%200%201%20-.993%20-.883l-.007%20-.117v-6h-2a1%201%200%200%201%20-.993%20-.883l-.007%20-.117v-4a1%201%200%200%201%20.883%20-.993l.117%20-.007h2v-1a6%206%200%200%201%205.775%20-5.996l.225%20-.004h3z%22%20/%3E%3C/svg%3E);
}

/* Buttons */

.button, .wp-block-button {
  display: inline-flex;
	justify-content: center;
	align-items: center;
  padding: var(--button-padding);
	position: relative;
  background: var(--button-background);
  border: var(--button-border-width) var(--button-border-style) var(--button-border-color);
	text-align: center;
  font-family: var(--button-font-family);
  font-size: var(--button-font-size);
  font-weight: var(--button-font-weight);
  line-height: initial;
  text-transform: var(--button-text-transform);
  letter-spacing: var(--button-letter-spacing);
  color: var(--button-color);
  cursor: pointer;
  transition: all 0.3s ease-out;
}
	
.button:hover, .wp-block-button:hover {
	background: var(--button-background-hover);
  border-color: var(--button-border-color-hover);
  color: var(--button-color-hover);
}

.button > a, .wp-block-button > a {
  color: var(--button-color);
}

/* General */

.small {
  font-size: 0.8rem;
}

/* ul and li */

ul.menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

ul.sub-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Header */

header {
  grid-row: 1 / 2;
  width: 100%;
  display: grid;
  grid-template-columns: auto;
  grid-template-rows: auto auto auto;
  position: fixed;
  top: 0;
  box-shadow: var(--header-shadow);
  z-index: 999;
  user-select: none;
}

header::before {
  content: "";
  width: var(--scroll-percent);
  height: 3px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
  background-image: var(--background-gradient-horizontal);
}

#logo {
  width: var(--logo-width);
  height: calc(var(--main-menu-height) * 0.6);
  align-self: center;
  margin: 0 var(--min-padding-side) 0 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left center;
}


/* Menu - top */

nav#header-top-menu {
  grid-row: 1;
  width: 100%;
  height: var(--top-menu-height);
  display: flex;
  align-items: center;
  padding: 0 var(--min-padding-side);
  background: var(--top-menu-background-color);
  z-index: 2;
}

nav#header-top-menu a {
  color: var(--top-menu-color);
}

nav#header-top-menu a:hover {
  color: var(--top-menu-hover-color);
}


/* Menu - main */

nav#header-main-menu {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
  width: 100%;
  height: var(--main-menu-height);
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  grid-column-gap: 10px;
  align-items: center;
  position: relative; 
  padding: 0 var(--min-padding-side);
  background: var(--main-menu-background-color);
  z-index: 2;
  transition: all 0.3s ease-out;
}

nav#header-main-menu .submenu-toggle-indicator {
  display: none;
  background-color: var(--main-menu-color);
}

header a {
}

nav#header-main-menu ul a {
  display: block;
  padding-left: 1em;
  padding-right: 1em;
  white-space: nowrap;
  text-decoration: none;
  color: var(--main-menu-color);
}

nav#header-main-menu li.menu-item > a:hover,
nav#header-main-menu li.menu-item > a:hover + .submenu-toggle-indicator {
  color: var(--primary-color-hex);
}

nav#header-main-menu > ul.menu {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--main-menu-font);
}

nav#header-main-menu > ul.menu > li.menu-item {
  height: 100%;
  position: relative;
}

nav#header-main-menu > ul.menu > li.menu-item-has-children {
	padding-right: 5px;
}

nav#header-main-menu > ul.menu > li.menu-item > a {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding-top: 0;
  padding-bottom: 0;
  transition: all 0.3s ease-out;
}

nav#header-main-menu > ul.menu > li.menu-item-has-children > .submenu-toggle-indicator {
	width: 15px;
	height: 20px;
	display: flex;
	justify-content: center;
	align-items: center;
	position: absolute;
	top: calc(50% - 10px);
	right: 0;
	opacity: 1;
}


nav#header-main-menu ul.sub-menu {
  position: absolute;
  background-color: var(--main-menu-background-color);
  opacity: 0;
  visibility: hidden;
  z-index: 1;
  transition: all 0.3s ease-out 0.2s;
}

nav#header-main-menu ul.sub-menu:before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  box-shadow: var(--header-shadow);
  overflow: hidden;
  pointer-events: none;
}

nav#header-main-menu li.menu-item-has-children:hover > ul.sub-menu {
  opacity: 1;
  visibility: visible;
}

nav#header-main-menu li.menu-item {
  position: relative;
}

nav#header-main-menu ul.sub-menu li.menu-item-has-children {
	padding-right: 30px;
}

nav#header-main-menu ul.sub-menu li.menu-item > a {
  width: 100%;
  height: 100%;
  display: block;
  padding-top: 0.9em;
  padding-bottom: 0.9em;
}

nav#header-main-menu ul.sub-menu li.menu-item:first-child > a {
  padding-top: 1.3em;
}

nav#header-main-menu ul.sub-menu li.menu-item:last-child > a {
  padding-bottom: 1.3em;
}

nav#header-main-menu ul.sub-menu li.menu-item-has-children > .submenu-toggle-indicator {
	width: 15px;
	height: 20px;
	display: flex;
	justify-content: center;
	align-items: center;
	position: absolute;
	top: calc(50% - 7px);
	right: 20px;
	opacity: 1;
  transform: rotate(-90deg);
}

nav#header-main-menu > ul.menu > li.menu-item > ul.sub-menu > li.menu-item > ul.sub-menu {
  top: 0;
  left: 100%;
  z-index: 3;
}

nav#header-main-menu > ul.menu > li.menu-item > ul.sub-menu > li.menu-item > ul.sub-menu > li.menu-item {
  
}

nav#header-main-menu > #cart-button-mobile {
  display: none;
}

nav#header-main-menu > #header-main-menu-toggle {
  display: none;
}

nav#header-main-menu > #header-main-menu-toggle > .icon {
  background-color: var(--main-menu-color);
}

nav#header-main-menu .button {
  margin: 0 0 0 auto;
  font-size: .8rem;
}

/* Header Links */

#header-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.header-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.header-link > * {
  pointer-events: none;
}

.header-link-icon {
  width: 1.5em;
  height: 1.5em;
  background-color: var(--primary-color-hex);
}

nav#header-top-menu .header-link-icon {
  background-color: var(--top-menu-color);
}

.header-link-text {
  color: var(--secondary-color-hex);
  transition: all 0.3s ease-out;
}

.header-link:hover > .header-link-text {
  color: var(--primary-color-hex);
}


/* Main */

main {
  grid-row: 2 / 3;
  z-index: 0;
  height: 100%;
  width: 100%;
}

/* Above the Fold */

#above {
  width: 100vw;
/*   height: 100vh; */
  display: grid;
/*   grid-template-rows: 1fr 120px; */
  grid-template-rows: calc(100vh - var(--top-menu-height) - var(--main-menu-height)) 120px;
  padding-top: calc(var(--top-menu-height) + var(--main-menu-height));
/*   position: relative; */
}

#above-header {
  width: 100%;
  height: 100%;
	display: flex;
	justify-content: center;
  position: relative;
  overflow: hidden;
}

#above-slides {
	width: 100%;
	height: 100%;
}

.above-slide {
	width: 100%;
	height: 100%;
	position: absolute;
	opacity: 0;
	transition: all .75s ease-out;
}

.above-slide.active {
	opacity: 1;
	z-index: 9;
	transition: all .75s ease-out;
}

.above-background {
  width: 100%;
  height: 100%;
  position: absolute;
}

.above-background-image {
  width: 100%;
  height: 100%;
  position: absolute;
}

.above-background-image > img,
.above-background-image > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.above-background-color {
  width: 80%;
  height: 100%;
  position: absolute;
}

.above-content {
  width: 100%;
  height: 100%;
  display: grid;
  grid-column-gap: 10px;
  position: absolute;
  padding: 0 15vh;
}

/* Content Position */

.above-slide.right .above-content {
  width: 55%;
  margin-left: 45%;
  text-align: right;
}

/* .above-slide.right .above-title {
  text-align: right;
} */

.above-slide.right .above-buttons {
  justify-content: flex-end;
}

.above-slide.right .above-background-color {
  right: 0;
}

.above-slide.right.gradient-white .above-background-color {
  background-image: linear-gradient(to right, transparent, #fff);
}

.above-slide.right.gradient-black .above-background-color {
  background-image: linear-gradient(to right, transparent, #000);
}

.above-slide.right.gradient-primary .above-background-color {
  background-image: linear-gradient(to right, transparent, var(--primary-color-hex));
}

.above-slide.right.gradient-secondary .above-background-color {
  background-image: linear-gradient(to right, transparent, var(--secondary-color-hex));
}

.above-slide.right.gradient-tertiary .above-background-color {
  background-image: linear-gradient(to right, transparent, var(--tertiary-color-hex));
}

.above-slide.left .above-content {
  width: 55%;
  margin-right: 45%;
  text-align: left;
}

/* .above-slide.left .above-title {
  text-align: left;
} */

.above-slide.left .above-buttons {
  justify-content: flex-start;
}

.above-slide.left.gradient-white .above-background-color,
.above-slide.center.gradient-white .above-background-color {
  background-image: linear-gradient(to left, transparent 20%, #fff);
}

.above-slide.left.gradient-black .above-background-color,
.above-slide.center.gradient-black .above-background-color {
  background-image: linear-gradient(to left, transparent 20%, #000);
}

.above-slide.left.gradient-primary .above-background-color,
.above-slide.center.gradient-primary .above-background-color {
  background-image: linear-gradient(to left, transparent 20%, var(--primary-color-hex));
}

.above-slide.left.gradient-secondary .above-background-color,
.above-slide.center.gradient-secondary .above-background-color {
  background-image: linear-gradient(to left, transparent 20%, var(--secondary-color-hex));
}

.above-slide.left.gradient-tertiary .above-background-color,
.above-slide.center.gradient-tertiary .above-background-color {
  background-image: linear-gradient(to left, transparent 20%, var(--tertiary-color-hex));
}

/* Text Color */

.above-slide.white .above-text,
.above-slide.white .above-title {
  color: #fff;
}

.above-slide.white .above-buttons > .button {
  color: #fff;
  border-color: #fff;
}

.above-slide.black .above-text,
.above-slide.black .above-title {
  color: #000;
}

.above-slide.black .above-buttons > .button {
  color: #000;
  border-color: #000;
}

.above-slide.primary .above-text,
.above-slide.primary .above-title  {
  color: var(--primary-color-hex);
}

.above-slide.primary .above-buttons > .button {
  color: var(--primary-color-hex);
  border-color: var(--primary-color-hex);
}

.above-slide.secondary .above-text,
.above-slide.secondary .above-title  {
  color: var(--secondary-color-hex);
}

.above-slide.secondary .above-buttons > .button {
  color: var(--secondary-color-hex);
  border-color: var(--secondary-color-hex);
}

.above-slide.tertiary .above-text,
.above-slide.tertiary .above-title  {
  color: var(--tertiary-color-hex);
}

.above-slide.tertiary .above-buttons > .button {
  color: var(--tertiary-color-hex);
  border-color: var(--tertiary-color-hex);
}

.above-image {
  background-size: contain;
  background-position: bottom center;
  background-repeat: no-repeat;
}

.above-text {
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 30px;
	position: relative;
  color: #fff;
  text-shadow: 0 3px 24px rgb(0 0 0 / 16%);
}

.above-title {
  margin: 0;
  font-size: 3.5rem;
  hyphens: manual;
}

.above-subheading {
  margin-bottom: 0;
  color: inherit;
}

.above-teaser {
  font-size: 1.2rem;
  line-height: 1.35;
}

.above-teaser a {
  color: inherit;
	text-decoration: underline;
}

.above-buttons {
	display: flex;
}

.above-buttons > .button + .button {
  margin-left: .75em;
}

.above-person {
  position: absolute;
  bottom: 40px;
  left: 0px;
  color: #fff;
  text-shadow: 0 3px 36px rgb(0 0 0 / 30%);
}

.above-person-name {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3rem;
  text-transform: uppercase;
}

.above-person-function {
  margin-top: 7px;
  text-align: center;
  font-size: 0.65rem;
  letter-spacing: 0.12;
}

#above-slide-controls {
	display: flex;
	justify-content: center;
	gap: 25px;
	position: absolute;
	bottom: 2.5%;
	padding: 15px 30px;
	z-index: 99;
}

#above-slide-controls.white {
	background: #ffffff1a;
}

#above-slide-controls.black {
	background: #0000001a;
}

#above-slide-controls.primary {
	background: rgba(var(--primary-color-rgb),.1);
}

#above-slide-controls.secondary {
	background: rgba(var(--secondary-color-rgb),.1);
}

#above-slide-controls.tertiary {
	background: rgba(var(--tertiary-color-rgb),.1);
}

#above-slide-controls > * {
	opacity: .75;
	transition: all .3s ease-out;
}

#above-slide-controls:hover > * {
	opacity: 1;
}

.above-slide-arrow {
	width: 0;
	height: 0;
/*     padding: 5px; */
	border-style: solid;
	cursor: pointer;
	transition: all .3s ease-out;
}

#above-slide-controls.white {
	--slide-color: #fff;
}

#above-slide-controls.black {
	--slide-color: #000;
}

#above-slide-controls.primary {
	--slide-color: var(--primary-color-hex);
}

#above-slide-controls.secondary {
	--slide-color: var(--secondary-color-hex);
}

#above-slide-controls.tertiary {
	--slide-color: var(--tertiary-color-hex);
}

.above-slide-arrow.previous {
	border-width: 8px 10px 8px 0;
	border-color: transparent var(--slide-color) transparent transparent;
}

.above-slide-arrow.next {
	border-width: 8px 0 8px 10px;
	border-color: transparent transparent transparent var(--slide-color);
}

#above-slide-dots {
	display: flex;
	gap: 15px;
}

.above-slide-dot {
	width: 15px;
	height: 15px;
/*     padding: 5px; */
	background: var(--slide-color);
	cursor: pointer;
	transition: all .3s ease-out;
}

.above-slide-dot.active {
	scale: 1.5;
	transition: all .3s ease-out;
}

#above-footer {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  overflow: hidden;
}

.above-footer-item {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.above-footer-icon {
  width: 2em;
  height: 2em;
  background-color: var(--above-footer-icon-color);
}

.above-footer-label {
  font-size: 0.9rem;
  line-height: 1.35;
  color: var(--text-color);
}

.above-footer-label a {
  color: var(--primary-color-hex);
}
.above-footer-label a.hidden-link {
  color: var(--text-color);
}

#above-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
}

a.above-social-background {
  width: 45px;
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
	position: relative;
  background-color: var(--secondary-color-hex);
  border-radius: 50%;
  font-size: 18px;
  color: #fff; 
}

a.above-social-background:hover {
  background-color: var(--primary-color-hex);
}

.above-social-icon {
  width: 80%;
  height: 80%;
  background-color: #fff;
}

a.section-more-link {
  text-align: center;
}

/* Section */

section {
  width: 100%;
  margin: 0 auto;
  padding: var( --section-padding-top-bottom) var(--section-padding-side);
}

section:first-child {
  padding-top: var(--main-menu-height);
}

section:last-child {
  padding-bottom: var(--main-menu-height);
}

.section-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  padding: 40px 0 20px;
  font-size: 0.9rem;
}

.secondary .section-link {
  color: var(--secondary-color-hex);
}

/* Post Grid */

.post-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 15px;
}

a.post-grid-item {
  display: grid;
  grid-template-rows: auto 1fr;
  position: relative;
  box-shadow: 0 3px 24px rgb(0 0 0 / 16%);
  color: var(--text-color);
  text-decoration: none;
}

a.post-grid-item:hover {
  box-shadow: 0 2px 24px rgb(0 0 0 / 32%);
}

#post-content .post-grid-item {
  width: 300px;
  display: inline-grid;
  margin: 30px;
  padding: 0;
}

#post-content .post-grid-item.left {
  float: left;
  margin-left: calc(50vw - 500px + 20px);
}

#post-content .post-grid-item.right {
  float: right;
  margin-right: calc(50vw - 500px + 20px);
}

#post-content .post-grid-item li {
  margin: 0;
  padding: 0;
}

.post-grid-item-thumbnail {
  width: 100%;
  height: 170px;
  position: relative;
  overflow: hidden;
}

.post-grid-item-categories {
  width: 100%;
  height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  position: absolute;
  top: 0;
  left: 0;
  padding: 8px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.3rem;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 3px 24px rgb(0 0 0 / 16%);
}

.post-grid-item-category {
  text-align: right;
}

.post-grid-item-image {
  width: 100%;
  height: 100%;
  position: absolute;
}

.post-grid-item-image > img,
.post-grid-item-image > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-grid-item-no-image {
	width: 100%;
	height: 100%;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='120' height='120'%3E%3Cpath d='M5 11.1005L7 9.1005L12.5 14.6005L16 11.1005L19 14.1005V5H5V11.1005ZM5 13.9289V19H8.1005L11.0858 16.0147L7 11.9289L5 13.9289ZM10.9289 19H19V16.9289L16 13.9289L10.9289 19ZM4 3H20C20.5523 3 21 3.44772 21 4V20C21 20.5523 20.5523 21 20 21H4C3.44772 21 3 20.5523 3 20V4C3 3.44772 3.44772 3 4 3ZM15.5 10C14.6716 10 14 9.32843 14 8.5C14 7.67157 14.6716 7 15.5 7C16.3284 7 17 7.67157 17 8.5C17 9.32843 16.3284 10 15.5 10Z' fill='rgba(255,255,255,1)'%3E%3C/path%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
	background-position: center center;
}

.post-grid-item-background {
  width: 100%;
  height: 100%;
  position: absolute;
}

.post-grid-item-text {
  height: 100%;
  padding: 20px 20px 50px 20px;
  font-size: 0.85rem;
  color: var(--text-color);
}

.post-grid-item-headline {
  margin-top: 0;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.2;
  color: var(--primary-color-hex);
  word-break: break-word;
  hyphens: auto;
}

.post-grid-item-date {
  margin-bottom: 12px;
}

.post-grid-item-price {
  font-size: 1.3rem;
  font-weight: 300;
  line-height: 1.2;
}

.post-grid-item-description {
  font-size: 0.85rem;
  line-height: 1.2;
  word-break: break-word;
  hyphens: auto;
}

.post-grid-item-description > ul {
  padding-left: 1rem;
}

.post-grid-item-more {
  text-align: right;
  margin-top: 10px;
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 20px;
  color: var(--primary-color-hex);
}


/* Contact */

#kontakt {
  width: 100%;
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  background-image: var(--background-gradient-horizontal);
  box-shadow: 0 3px 24px rgb(0 0 0 / 16%);
}

#kontakt-author {
  grid-column: 1 / 2;
  position: relative;
}

#kontakt-author:not(.has-image) {
	display: flex;
	justify-content: center;
	align-items: center;
}

#kontakt-author:not(.has-image) > * {
	font-size: 400px;
	line-height: 1;
	color: #fff;
	opacity: .6;
	text-shadow: 0 0 10px rgba(0,0,0,.16);
}

#kontakt-author-image {
  width: 100%;
  height: 100%;
  position: absolute;
}

#kontakt-author-image > img,
#kontakt-author-image > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#kontakt-author-background {
  width: 100%;
  height: 100%;
  position: absolute;
}

#kontakt-author-info {
  position: absolute;
  bottom: 50px;
  left: var(--min-padding-side);
  text-align: center;
  color: #fff;
  text-shadow: 0 3px 36px rgb(0 0 0 / 30%);
}

#kontakt-author-name {
  font-size: 0.9rem;
  font-weight: 700;
}

#kontakt-author-function {
  margin-top: 7px;
  font-size: 0.8rem;
/*   letter-spacing: 0.12rem; */
}

#kontakt-form {
  grid-column: 1 / 3;
  display: grid;
  grid-template-rows: auto;
  grid-row-gap: 10px;
  padding: 50px var(--section-padding-side);
}

#kontakt-author + #kontakt-form {
  grid-column: 2 / 3;
}

#kontakt-form p {
	position: relative;
  margin: 0;
}

#kontakt-form span.wpcf7-form-control-wrap {
  display: block;
  margin-bottom: 10px;
}

#kontakt-form span.wpcf7-form-control-wrap + br {
  display: none;
}

#kontakt-headline {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
}

#kontakt-description {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #fff;
  word-break: break-word;
  hyphens: auto;
}

#kontakt-description a {
  color: #fff;
  text-decoration: none;
}

/* Die Sammelmeldung von Contact Form 7 ist für Screenreader gedacht; sichtbar sind die
   Hinweise an den Feldern (3.3.1). */
#kontakt .screen-reader-response {
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
  clip-path: inset(50%);
}

#kontakt-form label {
  display: block;
  margin: 0 0 0.25em;
  font-size: 0.9rem;
  color: #fff;
}

/* Versteckte Felder von Contact Form 7: Das Theme lädt dessen CSS nicht, der Rahmen des
   Feldsets stand als leerer Kasten über dem Formular (auch live bis Oktober 2026) */
.wpcf7 .hidden-fields-container {
  margin: 0;
  padding: 0;
  border: 0;
}

#kontakt form {
  margin: 0;
}

.kontakt-input,
.kontakt-textarea,
.kontakt-submit {
  width: 100%;
  padding: 10px;
  border: none;
  font-family: var(--text-font);
  font-size: 0.95rem;
}

.kontakt-input.wpcf7-not-valid,
.kontakt-textarea.wpcf7-not-valid {
  background-color: #fcdee4;
}

.wpcf7-not-valid-tip {
  display: block;
  margin: 0.25em 0 0.5em;
  padding: 0.2em 0.5em;
  background-color: #fff;
  color: #8a1538;
  font-size: 0.9rem;
}

.wpcf7 form .wpcf7-response-output.wpcf7-response-output {
  margin: 10px 0 0 0;
  padding: 0;
  border: none;
  text-align: center;
  font-weight: 400;
	font-size: .9rem;
	color: #fcdee4;
}

.kontakt-input {
  height: 40px;
}

.kontakt-textarea {
  height: 120px;
}

.kontakt-submit {
/*   height: 40px; */
  background-color: rgba(255,255,255,0.6);
  color: var(--secondary-color-hex);
  cursor: pointer;
  font-weight: 600;
}

#kontakt-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

a.kontakt-detail {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.9rem;
  color: #fff;
  text-decoration: none;
}

a.kontakt-detail > i {
  margin: -2px 10px 0 0;
  font-size: 1.1rem;
}

/* Category Grid */

.category-grid {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.category-grid-item {
  width: calc(calc(100% / 3) - 10px);
  max-width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 30px 25px;
  text-align: center;
  font-size: 0.9rem;
  text-decoration: none;
  word-break: break-word;
  hyphens: auto;
  box-shadow: 0 3px 24px rgb(0 0 0 / 16%);
}

.category-grid-item:hover {
  box-shadow: 0 2px 24px rgb(0 0 0 / 32%);
}

a.category-grid-item {
  color: var(--text-color);
}

.category-grid-item-icon {
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.category-grid-item-icon > i {
  font-size: 2rem;
  color: var(--primary-color-hex);
}

.category-grid-item-icon:before {
  display: block;
}

.category-grid-item-headline {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 0 0.7em 0;
  font-size: 1.2rem;
  font-weight: 700;
  font-family: var(--heading-font);
  overflow-wrap: break-word;
  word-wrap: break-word;
  color: var(--primary-color-hex);
}

.category-grid-item-description > p {
  margin: 0;
}

.category-grid-item-more {
  margin-top: 10px;
}

/* Category page */

#category {
  max-width: var(--category-max-width);
  margin: 0 auto;
  padding: calc(var(--top-menu-height) + var(--main-menu-height)) 20px 0 20px;
}

#category-title {
  padding-top: 20px;
  text-align: center;
  font-size: 2.8rem;
}

#category-description {
  text-align: center;
  font-size: 1.15rem;
}

#category-others {
  max-width: var(--category-max-width);
  margin: 0 auto;
  padding: 40px 20px 20px 20px;
}

#category-others-title {
  text-align: center;
  font-size: 1.7rem; 
}

/* Post page */

#post {
  width: 100%;
/*   display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto 1fr; */
  margin-bottom: 0px;
  font-size: 1.15rem;
  font-weight: 400;
}

#post strong,
#post b {
  font-weight: 600;
}

#post-header {
  grid-column: 1 / 3;
  width: 100%;
  height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  position: relative;
  padding-top: calc(var(--top-menu-height) + var(--main-menu-height));
  line-height: 1.4;
}

#post-teaser {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  max-width: 100%;
  max-height: 100%;
  padding: 50px 70px 50px 70px;
  position: relative;
}

#post-title {
  width: 100%;
  margin: 0 0 0.5em 0;
  line-height: 1.3;
  color: var(--text-color);  
}

#post-excerpt {
  margin-top: 1em;
  font-size: 1.45rem;
}

#post-thumbnail {
  grid-column: 2 / 3;
  grid-row: 1 / 3;
  width: 100%;
  height: 100%;
  position: relative;
}

#post-thumbnail-image {
  width: 100%;
  height: 100%;
  position: absolute;
}

#post-thumbnail-image > img,
#post-thumbnail-image > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#post-thumbnail-background {
  width: 100%;
  height: 100%;
  position: absolute;
}

#post-separator {
  width: 100%;
  height: 200px;
  position: absolute;
  bottom: 0;
  background-image: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.1));
/* 	background-image: linear-gradient(to right, var(--primary-color-hex), var(--secondary-color-hex)); */
  pointer-events: none;
}

#post-details {
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 50px 70px;
  z-index: 1;
  font-size: 1.1rem;
  color: var(--lighter-text-color);
}

.post-detail > a {
  text-decoration: none;
}

#post-categories {
  color: var(--primary-color-hex);
}

#post-scroll {
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: -30px;
  bottom: 25px;
  background-color: #fff;
  border-radius: 50%;
  box-shadow: 0 3px 24px rgb(0 0 0 / 16%);
  z-index: 10;
  cursor: pointer;
/*   font-size: 1.5rem; */
}

#post-scroll > .icon {
  width: 2rem;
  height: 2rem;
  background-color: #aaa;
  pointer-events: none;
  animation-name: post-scroll;
  animation-duration: 1s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

@keyframes post-scroll {
  0% {margin-top: -5px;}
  80% {margin-top: 15px;}
  100% {margin-top: -5px;}
}

/* Home Content */

.home-section {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding-bottom: 30px;
}

.home-section.highlight {
  background-color: var(--tertiary-color-hex);
}

.home-section > h2 {
  text-align: center;
  margin-top: 70px;
/*   padding: 0 30px; */
}

.home-section > h2,
.home-section > h3 {
  text-align: center;
  width: calc(100vw - 60px);
  max-width: 1000px;
/*   padding: 0 30px; */
}

.home-section > h2 {
  margin: 70px auto 30px auto;
}

.home-section > h3 {
  margin: 20px auto;
  font-weight: normal;
}

.home-section .highlight {
  color: var(--primary-color-hex);
}


/* Features */

.grid-2 {
  grid-template-columns: repeat(2, minmax(auto, 270px));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(auto, 270px));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(auto, 270px));
}

.features {
  margin: 0 auto;
  display: grid;
  margin: 0 0 30px 0;
/*   grid-template-columns: ; */
  grid-gap: 20px;
  padding: 20px;
}

.feature {
/*   height: 250px; */
/*   max-width: 250px; */
  box-shadow: 0 3px 15px #dcdcdc;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--text-color);
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
}

a.feature {
  text-decoration: none;
}

a.feature:hover {
  transform: scale(1.05);
}

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

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

.feature-icon {
  width: 100%;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color-hex);
  padding: 50px 30px 0 30px
}

.feature-heading {
  font-size: 1.2rem;
  color: var(--text-color);
  margin: 0;
  text-align: center;
  padding: 20px 30px 20px 30px;
}

.feature-text {
  font-size: 0.9rem;
  text-align: center;
  padding: 0 30px 30px 30px;
}


/* Post Content */

#post-content {
  max-width: 100vw;
  margin-bottom: 70px;
  padding: 0 var(--section-padding-side);
  font-size: 1.1rem;
}

#post-content > * {
  line-height: 1.5;
}

#post-content > ul,
#post-content > ol {
  padding: 0 50px;
  overflow: hidden;
}

#post-content li {
  margin-bottom: 15px;
  padding-left: 5px;
}

#post-content > ul > li > ul > li {
  margin-bottom: 0px;
}

#post-content h2 {
  width: 100%;
  margin-top: 1.4em;
  font-size: 1.5rem;
}

#post-content .wp-block-quote {
  padding: 0 70px;
  font-size: 1rem;
}

#post-content > p {
  margin-top: 1em;
  margin-bottom: 1em;
}

#post-content > p a,
#post-content > ul a {
  text-decoration: underline;
}
/* 
#post-content > :first-child:not(.wp-block-image) {
  padding-top: 30px;
}

#post-content > :last-child:not(.wp-block-image) {
  padding-bottom: 30px;
} */

#post-content .wp-block-image {
/*   margin-top: 2em;
  margin-bottom: 2em; */
  margin-left: 0;
  margin-right: 0;
}

#post-content .wp-block-image img {
  width: 100%;
  height: auto;
  box-shadow: 0 3px 24px rgb(0 0 0 / 16%);
}

#post-content .wp-block-image figcaption {
  font-size: 0.9rem;
}

#post-content figure.wp-block-table th,
#post-content figure.wp-block-table td {
  padding: 10px;
  border: 1px solid var(--text-color);
  font-size: 1rem;
}

#post-content figure.wp-block-table th {
  background-color: #eee;
}

#post-content figure.wp-block-table figcaption {
  font-size: 0.8rem;
}

#post-content .wp-block-media-text {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  grid-column-gap: 40px;
  padding-top: 30px;
  
}

#post-content .wp-block-media-text.has-media-on-the-right {
  grid-template-columns: 1.5fr 1fr;
}

#post-content figure.wp-block-media-text__media {
  width: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

#post-content figure.wp-block-media-text__media > picture > img{
  width: 100%;
  height: auto;
  border-radius: 10px;
}

#post > #post-content {
  margin-top: 50px;
}

/* Newsletter Plugin */

#post-content > .mailpoet_form {
  width: 100vw;
  max-width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
/*   float: right; */
/*   position: relative; */
/*   margin: 10px calc(50% - 500px + 20px) 20px 40px; */
  margin: 50px 0 50px calc(var(--section-padding-side) * -1);
  padding: 0 var(--section-padding-side);
  background-color: var(--tertiary-color-hex);
/*   background-image: url("data:image/svg+xml;utf8,<svg id='test' xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' stroke-width='1' stroke='rgba(33,33,33,,0.3)' fill='none' stroke-linecap='round' stroke-linejoin='round'><path stroke='none' d='M0 0h24v24H0z' fill='none'></path><path d='M14.872 14.287l6.522 6.52a2.996 2.996 0 0 1 -2.218 1.188l-.176 .005h-14a2.995 2.995 0 0 1 -2.394 -1.191l6.521 -6.522l2.318 1.545l.116 .066a1 1 0 0 0 .878 0l.116 -.066l2.317 -1.545z' stroke-width='0' fill='rgba(33,33,33,,0.3)'></path><path d='M2 9.535l5.429 3.62l-5.429 5.43z' stroke-width='0' fill='rgba(33,33,33,,0.3)'></path><path d='M22 9.535v9.05l-5.43 -5.43z' stroke-width='0' fill='rgba(33,33,33,,0.3)'></path><path d='M12.44 2.102l.115 .066l8.444 5.629l-8.999 6l-9 -6l8.445 -5.63a1 1 0 0 1 .994 -.065z' stroke-width='0' fill='rgba(33,33,33,,0.3)'></path></svg>"); */
  background-repeat: no-repeat;
  background-position: top right;
  z-index: 1;
  
  font-size: 0.9rem;
/*   color: #fff; */
/*   text-shadow: 0 3px 24px rgb(0 0 0 / 16%); */
}

#post-content > .mailpoet_form:last-child {
  margin-bottom: -70px;
}

#post-content > .mailpoet_form > form.mailpoet_form {
  display: grid;
  grid-column-gap: 40px;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: auto auto auto auto;
  margin: 0;
  padding: 50px 0;
/*   padding: 25px; */
/* 	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='40' height='40'%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3Cpath d='M1.946 9.315c-.522-.174-.527-.455.01-.634l19.087-6.362c.529-.176.832.12.684.638l-5.454 19.086c-.15.529-.455.547-.679.045L12 14l6-8-8 6-8.054-2.685z' fill='rgba(255,255,255,.6)'/%3E%3C/svg%3E"); */
	background-position: calc(100% - 22px) 30px;
	background-repeat: no-repeat;
}

#post-content > .mailpoet_form a {
/*   color: #fff; */
/*   text-decoration: underline; */
  color: var(--primary-color-hex);
}

#post-content > .mailpoet_form .mailpoet-heading {
  grid-column: 1 / 3;
/*   display: flex; */
/*   justify-content: space-between; */
/*   align-items: center; */
/*   gap: 25px; */
/*   margin: 0 45px 10px 0 !important; */
  font-family: var(--text-font);
  font-size: 1.5rem !important;
  line-height: 1.2;
	hyphens: initial;
  margin-top: 0;
}

#post-content > .mailpoet_form .mailpoet_form_paragraph {
  grid-row: 2 / 5;
  margin: 0;
  font-family: var(--text-font);
  font-size: 1.1rem;
}

#post-content > .mailpoet_form .mailpoet_paragraph {
  grid-column: 2 / 3;
  margin: 0;
}

#post-content > .mailpoet_form .mailpoet_text {
 
  width: 100% !important;
  margin-bottom: 10px !important;
  padding: 10px !important;
  border: none;
/*   box-shadow: 0 3px 24px rgb(0 0 0 / 16%); */
  text-align: left;
  font-family: var(--text-font);
  font-size: 0.95rem;
  border-radius: 5px;
/*   font-size: 1.1rem; */
}

#post-content > .mailpoet_form .mailpoet_submit {
  width: 100% !important;
  height: 40px;
  padding: 10px !important;
  background-color: var(--primary-color-hex);
  border: none;
/*   box-shadow: 0 3px 24px rgb(0 0 0 / 16%); */
  font-family: var(--text-font);
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  border-radius: 5px;
  transition: all 0.3s ease-out;
}

#post-content > .mailpoet_form .mailpoet_submit:hover {
  background-color: var(--secondary-color-hex);
}

#post-content > #post-end-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
}

#post-content > #post-end-cta > a {
  display: block;
}


/* Page */

#page {
  margin-top: calc(var(--top-menu-height) + var(--main-menu-height));
}

#page-header {
  height: 250px;
  display: block;
}

#page-header img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

#page-breadcrumbs {
  padding-top: 60px;
}

#page-header + #post-content > #page-breadcrumbs {
  padding-top: 30px;
}

#page-breadcrumbs > a {
  color: var(--secondary-color-hex); 
}

#page-breadcrumbs > a:hover {
  color: var(--primary-color-hex); 
}

#page-breadcrumbs > svg {
  color: var(--primary-color-hex);
  margin: 0 3px -3px 3px;
}

#page-title {
  line-height: var(--line-height);
  margin-top: calc(var(--top-menu-height) + var(--main-menu-height) + 60px);
}

#page-breadcrumbs + #page-title {
  margin-top: 60px;
}

#page-header + #post-content > #page-title {
  margin-top: 60px;
}

#page-feature {
  width: 400px;
  display: block;
  float: left;
  margin: 0 40px 20px 0;
  background-color: var(--tertiary-color-hex);
}

#page-thumbnail {
  width: 100%;
  display: block;
}

#page-thumbnail .wp-post-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

#page-info {
  display: inline-block;
  padding: 30px;
}

#page-info > h3,
#page-info > .h3-stil {
  margin-top: 0;
}

#page-info > ul {
  margin-bottom: 0;
  padding: 0;
}

#page-info ul {
  list-style: none;
}

#page-info ul ul {
  padding-left: 25px;
}

/* Unterpunkte im <li> (vj_list_descendants) eine Zeile tiefer, wie bisher */
#page-info li > ul {
  flex-basis: 100%;
  margin: 0;
}

#page-info li {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  margin: 10px 0;
  padding: 0;
  font-size: 1.05rem;
}

#page-info li:last-of-type {
	margin-bottom: 0;
}

#page-info li > a.active {
  font-weight: bold;
}

.page-info-detail {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  text-decoration: none;
  color: var(--secondary-color-hex);
  gap: 10px;
  margin: 10px 0;
  font-size: 0.95rem;
}

.page-info-detail > svg {
  color: var(--primary-color-hex);
}

#post-page-excerpt {
  font-size: 1.2rem;
}

.post-page-price-cta {
  margin-top: 30px;
	display: flex;
	align-items: center;
	gap: 1.5rem;
	line-height: 1.2;
}

.post-page-price-information {
	display: flex;
	flex-direction: column;
}

.post-page-price-container {
	display: flex;
	align-items: center;
	gap: .75em;
}

.post-page-price {
	font-size: 1.75em;
	font-weight: 600;
	color: var(--primary-color-hex);
}

.post-page-former-price {
	font-size: 1rem;
	text-decoration: line-through;
	opacity: .75;
}

.post-page-price-annotation {
	font-size: .75rem;
	line-height: 1.5;
}

#landingpage #page-ctas {
  display: flex;
  gap: 10px;
}

.post-page-cta {
	height: fit-content;
}

#post-content > .post-page-price-cta {
  justify-content: center;
}

#post-aside-container + #post-title {
  text-align: left;
}

.post-person-detail > a {
  color: var(--text-color);
}

.post-person-details > .button {
  margin: 20px 0;
}

.post-person-function {
  margin-bottom: 20px;
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1.3;
}


/* Footer */

footer {
  grid-row: 3 / 4;
  width: 100%;
}

section#footer-logos {
	max-width: unset;
  padding-top: 40px;
  padding-bottom: 40px;
	background-color: #eee; 
}

.footer-logos-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
	flex-wrap: wrap;
  gap: 40px;
}

.footer-logo {
  height: 50px;
  display: block;
  filter: grayscale(1);
  transition: all 0.3s ease-out;
}

.footer-logo:hover {
  filter: grayscale(0);
}

.footer-logo > img,
.footer-logo > picture > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

section#footer-main {
  padding: var( --section-padding-top-bottom) var(--section-padding-side);
  background-color: var(--footer-background-color); 
}

#footer-content {
 	display: grid;
  grid-template-columns: 2.3fr 1fr;
  grid-column-gap: 50px;
  margin: 0 auto;
  color: var(--footer-color);
}

#footer-menu {
  width: 100%;
}

#footer-menu a {
  color: inherit;
  text-decoration: none;
}

#footer-menu a:hover {
  color: var(--footer-link-hover-color);
}

#footer-menu > ul {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 40px;
}

#footer-menu > ul > li.menu-item > a {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.95rem;
  font-weight: 700;
}

#footer-menu > ul > li.menu-item > ul.sub-menu > li.menu-item > a {
  display: inline-block;
  margin: 7px 0;
  font-size: 0.8rem;
}

#footer-side {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-form {
  display: grid;
  grid-template-columns: 1fr auto;
  margin: 0;
}

.footer-input {
  width: 100%;
  padding: 10px;
  border: none;
  box-shadow: 0 3px 24px rgb(0 0 0 / 16%);
  font-family: var(--text-font);
  font-size: 0.95rem;
}

.footer-submit {
  padding: 0 15px;
  background-color: rgba(255,255,255,0.6);
  border: none;
  font-weight: 600;
  color: var(--secondary-color-hex);
  cursor: pointer;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-info-item {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-gap: 15px;
}

.footer-info-icon {
  width: 1.3em;
  height: 1.3em;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  background-color: var(--footer-color);
  font-size: 1.15rem;
}

.footer-info-text {
  font-size: 0.8rem;
  line-height: 1.5;
}

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

a.footer-info-text:hover {
	color: var(--footer-link-hover-color);
}


/* Gutenberg Settings */

#post-content > .alignfull {
	width: 100vw;
  margin-left: calc(var(--section-padding-side) * -1);
	padding: 0px var(--section-padding-side);
}

#post-content > .alignfull > :not(figure) {
	padding: 40px 0;
}

#post-content .aligncenter {
	display: flex;
	justify-content: center;
}

#post-content > .wp-block-group.has-background {
	padding-top: 10px;
  padding-bottom: 10px;
}

#post-content > .has-background .wp-block-heading {
	margin-top: 0;
}

#post-content > .wp-block-table {
  margin: 1em 0;
}

#post-content .wp-block-media-text img {
	width: 100%;
	height: auto;
}

#post-content figure.wp-block-media-text__media > picture > img {
	display: block;
}

#post-content .with-shadow img {
	box-shadow: 0 3px 15px rgba(0,0,0,.15);
}

#post-content .wp-block-image.noshadow img {
  box-shadow: none;
}

#post-content .is-vertically-aligned-center > * {
	align-self: center;
}

#post-content .has-text-align-left {
	text-align: left;
}

#post-content .has-text-align-center {
	text-align: center;
}

#post-content .has-text-align-right {
	text-align: right;
}

#post-content .has-text-align-justify {
	text-align: justify;
}

#post-content .has-small-font-size {
	font-size: var(--font-size-small) !important;
}


/* Landingpage */

#landingpage header {
	position: absolute;
  box-shadow: none;
}

#landingpage header .header-link-icon {
	background-color: #fff;
}

#landingpage header .header-link-text {
	color: #fff;
}

#landingpage header > nav#header-main-menu {
	background-color: transparent;
}

#landingpage #page {
  margin-top: 0;
}

#landingpage #page-above {
  height: 100vh;
	display: grid;
	grid-template-rows: auto 1fr;
	position: relative;
	color: #fff;
	overflow: hidden;
}

#landingpage #page-above #page-above-background {
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  position: absolute;
  top: -10px;
  left: -10px;
  background-size: cover;
	background-position: center center;
	filter: blur(0px) grayscale(1);
	mix-blend-mode: multiply;
}

#landingpage #page-above-overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
	opacity: 1;
  background: linear-gradient(to right, var(--secondary-color-hex), var(--primary-color-hex));
  mix-blend-mode: multiply;
}

#landingpage #page-above-container {
  width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
  position: absolute;
  padding: var(--main-menu-height) var(--section-padding-side) var(--section-padding-top-bottom);
}

#landingpage #page-above.has-header-image #page-above-container {
  padding-right: max(calc((100vw - var(--content-max-width) - 100px) / 2), var(--min-padding-side));
  padding-left: max(calc((100vw - var(--content-max-width) - 100px) / 2), var(--min-padding-side));
}

#landingpage #page-above-grid {
	display: grid;
	grid-template-columns: 1fr 2fr;
	grid-column-gap: 50px;
  line-height: 1.5;
}

#landingpage #page-thumbnail {
	display: flex;
  justify-content: center;
}

#landingpage #page-thumbnail .wp-post-image {
	object-fit: initial;
}

#landingpage #page-thumbnail picture {
  display: flex;
  align-items: center;
  justify-content: center;
}

#landingpage #page-above-text {
	grid-column: 1/3;
  text-shadow: 0 3px 24px rgb(0,0,0,.16);
}

#landingpage #page-thumbnail + #page-above-text {
	grid-column: 2;
}

#landingpage #page-title {
	margin-top: 0;
  word-break: break-word;
}

#landingpage #page-excerpt {
	margin: 30px 0;
	font-size: 1.2rem;
}

#landingpage #post-content h2 {
  margin-top: 1.5em;
	margin-bottom: 1.2em;
  font-size: 1.7rem;
}

#landingpage #post-content > .has-background h2 {
	margin-top: 0;
}

#landingpage #post-content h3 {
  margin-top: 1.4em;
	margin-bottom: 1em;
  font-size: 1.4rem;
}

#landingpage #post-content .is-layout-grid {
	gap: 1em;
}

#landingpage #post-content .is-layout-grid > .wp-block-heading {
	margin-top: 0;
}

#landingpage #post-content .wp-block-image img {
  box-shadow: none;
	border-radius: 10px;
}

#landingpage #post-content .wp-block-table.aligncenter {
	align-items: center;
}

#landingpage #post-content figure.wp-block-table th,
#landingpage #post-content figure.wp-block-table td {
	border: none;
}

.pricing-block {
  --pricing-background-color: var(--secondary-color-hex);
}

.pricing-intervals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr;
  grid-gap: 10px;
}

.pricing-interval-input {
  display: none;
}

.pricing-interval-label {
  grid-row: 1 / 2;
  display: block;
  padding: 8px 15px;
  border-radius: 20px;
  cursor: pointer;
  font-size: .9rem;
  color: #fff;
  transition: all .3s linear;
}

.pricing-interval-label:first-of-type {
  justify-self: end;
}

.pricing-interval-label:last-of-type {
  justify-self: start;
}

.pricing-interval-input:checked + .pricing-interval-label {
  background-color: #fff;
  color: var(--pricing-background-color);
}

.pricing-table {
  grid-row: 2 / 3;
  grid-column: 1 / 3;
  display: flex;
  justify-content: center;
  align-items: start;
  gap: 40px;
  visibility: hidden;
  opacity: 0;
  color: #fff;
  transition: visibility .3s linear, opacity .3s linear;
}

.pricing-interval-input:checked + .pricing-interval-label + .pricing-table {
  visibility: visible;
  opacity: 1;
}

.pricing-column {
  padding: 20px;
}

.pricing-single {
  grid-row: 2 / 3;
  grid-column: 1 / 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 30px;
  margin-top: 50px;
  visibility: hidden;
  opacity: 0;
  color: #fff;
  transition: visibility .3s linear, opacity .3s linear;
}

.pricing-interval-input:checked + .pricing-interval-label + .pricing-single {
  visibility: visible;
  opacity: 1;
}

.pricing-features > ul {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  gap: .7em;
  padding: 0;
}

.pricing-features > ul > li {
  display: flex;
  justify-content: start;
  align-items: center;
  list-style: none;
  padding: 0;
  font-size: .95rem;
  line-height: 1.5;
}

.pricing-features > ul > li:before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='white' class='icon icon-tabler icons-tabler-filled icon-tabler-circle-check'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-1.293 5.953a1 1 0 0 0 -1.32 -.083l-.094 .083l-3.293 3.292l-1.293 -1.292l-.094 -.083a1 1 0 0 0 -1.403 1.403l.083 .094l2 2l.094 .083a1 1 0 0 0 1.226 0l.094 -.083l4 -4l.083 -.094a1 1 0 0 0 -.083 -1.32z' /%3E%3C/svg%3E");
  display: flex;
  justify-content: start;
  align-items: center;
  margin-right: 1.5em;
}

.pricing-specifics {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  gap: .8em;
}

.pricing-price {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: .6em;
}

.pricing-current-price {
  font-size: 2rem;
  font-weight: bold;
}

.pricing-former-price {
  opacity: .75;
  font-size: 1.3rem;
  font-weight: bold;
  text-decoration: line-through;
}

.pricing-savings {
  background-color: #fff;
  opacity: .7;
  padding: .3em .6em;
  border-radius: 3px;
  font-size: .8rem;
  font-weight: bold;
  color: var(--pricing-background-color);
}

.pricing-info {
  opacity: .75;
  font-size: .9rem;
}

.pricing-info a, .pricing-info a:hover {
  color: inherit;
  text-decoration: underline;
}

.pricing-button {
  margin-top: 15px;
}

.pricing-button:hover {
  background-color: #fff;
  color: var(--primary-color-hex);
}

.countdown {
	display: flex;
	justify-content: center;
	align-items: center;
}

.countdown-field {
  display: inline-block;
  list-style-type: none;
  padding: 1em;
  font-size: 1.1rem;
  text-align: center;
}

.countdown-field > span {
  display: block;
  font-size: 3.5rem;
	font-weight: bold;
}


/* Overlay */

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

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


/* PLUGINS */


/* Cookie Layer */

#cookie-law-info-bar, #cookie-law-info-again {
  border-radius: 10px;
}

#cookie-law-info-bar[data-cli-style="cli-style-v2"][data-cli-type="popup"] {
  padding: 30px;
}

#cookie-law-info-bar[data-cli-type="popup"] .cli_messagebar_head {
  margin-bottom: 15px;
}

#cookie-law-info-bar[data-cli-type="popup"] .cli-style-v2 .cli-bar-message {
  font-size: 0.85rem;
}

#cookie-law-info-bar[data-cli-type="popup"] .cli-style-v2 .cli-bar-btn_container {
  justify-content: flex-end;
  margin-top: 20px;
}

#cookie-law-info-bar[data-cli-type="popup"] .cli-style-v2 .cli-bar-btn_container .cli-plugin-button {
  box-sizing: border-box;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#cookie-law-info-bar[data-cli-type="popup"] .cli-style-v2 .cli-bar-btn_container .cli-plugin-button.cli_settings_button {
  background-color: #fff !important;
  border: 1.5px solid var(--primary-color-hex);
}

#cookie-law-info-bar[data-cli-type="popup"] .cli-style-v2 .cli-bar-btn_container .cli-plugin-button.cli_action_button {
  margin: 0;
  background-color: var(--primary-color-hex) !important;
}

#cookie-law-info-bar[data-cli-style="cli-style-v2"] .cli_messagebar_head {
  font-size: 0.8rem;
}

.cli-style-v2 .cli-bar-message {
  font-size: 0.75rem;
}


/* Yoast FAQ Schema */

.schema-faq-question {
  width: 100%;
	display: block;
	position: relative;
  padding: 18px 35px 18px 0;
  border-bottom: 1px solid #ccc;
  outline: none;
  cursor: pointer;
  text-align: left;
  transition: .4s;
}

.schema-faq-question:after {
  content: '+';
	width: 35px;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	position: absolute;
	top: 0;
	right: 0;
  float: right;
	font-size: 1.2rem;
}

.schema-faq-section .active:after {
  content: '-';
}

.schema-faq-answer {
  max-height: 0;
	margin: 0;
  overflow: hidden;
  background-color: #fff;
	font-size: .95rem;
  transition: max-height 0.2s ease-out;
}

.schema-faq-section .active + .schema-faq-answer {
  border-bottom: 1px solid #ccc;
}

.schema-faq-answer:before, .schema-faq-answer:after {
	content: "";
	height: 18px;
	display: block;
}


/* ReCaptcha */

.grecaptcha-badge {
  opacity: 0;
}


/* Breaking */

#breaking {
  position: fixed;
  bottom: 30px;
  right: 30px;
  padding: 40px 40px 30px 40px;
  background-color: #fff;
  color: var(--secondary-color-hex);
  box-shadow: 0 3px 15px rgba(0,0,0,0.2);
  max-width: 400px;
  border-radius: 3px;
}

#breaking-close {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 10px;
  cursor: pointer;
  color: var(--secondary-color-hex);
}

#breaking-close * {
  pointer-events: none;
}

#breaking-close:hover {
  color: var(--primary-color-hex);
}

#breaking-headline {
  margin-top: 0;
  font-size: 1.3rem;
}

#breaking-button {
  display: block;
  margin: 20px auto 0 auto;
}















/* ==========================================================================
   Barrierefreiheit (Paket 2 aus dem Audit vom 27.10.2026)
   ========================================================================== */

/* Ankerziele und Tastaturfokus nicht unter dem festen Kopf (2.4.11) */
html {
  scroll-padding-top: calc(var(--top-menu-height, 0px) + var(--main-menu-height) + 10px);
}

/* Nur für Screenreader; „Zum Inhalt springen“ erscheint beim Fokus (2.4.1) */
.screen-reader-text {
  width: 1px;
  height: 1px;
  position: absolute !important;
  overflow: hidden;
  top: auto;
  left: 0;
  margin: -1px;
  padding: 0;
  border: 0;
  clip-path: inset(50%);
  word-wrap: normal !important;
}

.skip-link:focus {
  width: auto;
  height: auto;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 100000;
  margin: 0;
  padding: 0.75em 1.25em;
  clip-path: none;
  background-color: #fff;
  color: var(--secondary-color-hex);
  outline: 2px solid currentColor;
}

/* Menü- und Untermenüknöpfe sind echte Buttons (2.1.1, 4.1.2); das Symbol liegt im span */
nav#header-main-menu > #header-main-menu-toggle,
nav#header-main-menu .submenu-toggle-indicator {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: var(--main-menu-color);
  cursor: pointer;
}

nav#header-main-menu .submenu-toggle-indicator > .icon {
  width: 15px;
  height: 20px;
  background-color: currentColor;
}

/* Klickfläche 24 × 24 neben dem Link, nicht darüber (2.5.8); Abstand insgesamt wie bisher */
nav#header-main-menu > ul.menu > li.menu-item-has-children {
  padding-right: 24px;
}

nav#header-main-menu > ul.menu > li.menu-item-has-children > a {
  padding-right: 0.25em;
}

nav#header-main-menu > ul.menu > li.menu-item-has-children > .submenu-toggle-indicator {
  width: 24px;
  height: 24px;
  top: calc(50% - 12px);
  right: 0;
}

nav#header-main-menu ul.sub-menu li.menu-item-has-children > .submenu-toggle-indicator {
  width: 24px;
  height: 24px;
  top: calc(50% - 10px);
  right: 4px;
}

/* Per Knopf geöffnet; Escape schließt auch ein per Maus geöffnetes Untermenü (1.4.13) */
nav#header-main-menu li.menu-item-has-children.sub-menu-open > ul.sub-menu {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease-out;
}

nav#header-main-menu li.menu-item-has-children.hover-closed:not(.sub-menu-open) > ul.sub-menu {
  opacity: 0;
  visibility: hidden;
}

/* Links im Fließtext nicht nur über die Farbe erkennbar (1.4.1) – auch in Spalten und Gruppen */
#post-content :is(p, li, dd, td) a:not(.button, .wp-block-button__link),
.h3-stil a {
  text-decoration: underline;
  text-decoration-color: currentColor;
}

/* Lange Wörter umbrechen statt die Seite zu verbreitern (1.4.10) */
h1, h2, h3, h4 {
  overflow-wrap: break-word;
  hyphens: auto;
}

/* Weniger Bewegung, wenn im System eingestellt (2.2.2, 2.3.3) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
