/*!
Theme Name: CP - Home
Author: Cherry Patterns
Author URI: http://www.cherry-patterns.com
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: cp_home


*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Fonts
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
  - Blocks
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

# Responsive Settings

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}


/* Volle Höhe
--------------------------------------------- */

/* Neutralisieren */
.site-content, main { min-height: unset !important; }

/* Der äußere Seiten-Wrapper spannt die Viewport-Höhe auf */
html, body { height: 100%; margin: 0; }
#page, .site {                /* einer von beiden existiert praktisch immer */
  min-height: 100dvh;         /* stabil auf Mobile */
  display: flex;
  flex-direction: column;
}

/* Header/Footer nehmen ihre natürliche Höhe ein */

.site-footer { flex: 0 0 auto; }

/* Hauptbereich füllt den restlichen Platz */
#site-content, .site-main, #content, .site-content {
  flex: 1 0 auto;
  min-height: 0;              /* verhindert Flex-Überlauf */
}

/* Fallback für ältere Browser */
@supports not (height: 100dvh) {
  #page, .site { min-height: 100vh; }
}



/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */


/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	margin: 0 0 2em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: 450;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
	appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Fonts
--------------------------------------------- */

@font-face {
  font-family: 'Poppins';
  src: url('fonts/Poppins/Poppins-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('fonts/Poppins/Poppins-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('fonts/Poppins/Poppins-ExtraLight.woff2') format('woff2');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}


/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #606060;
	font-family: 'Poppins', Helvetica, sans-serif;
  font-weight: 400; /* Regular */
	font-size: 1.1rem;
	line-height: 2.2;
}


h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 200; /* ExtraLight */
  color: #e10b17; /* rot */
  font-size: 2.5rem;
  line-height: 1.2em;
}

h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 200; /* ExtraLight */
  color: #e10b17; /* rot */
  font-size: 1.8rem;
  line-height: 2.5rem;
  margin-top: 0.5em;
  margin-bottom: 0;
}

h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 200; /* ExtraLight */
  color: #e10b17; /* rot */
  font-size: 1.4em;
  line-height: 2.2rem;
  margin-top: 0.5em;
  margin-bottom: 0;
}

h1.wp-block-post-title, h1.wp-block-heading {
  margin-top: 0;
  margin-bottom: 0.5em;
}

h2.wp-block-post-title, h2.wp-block-heading {
  margin: 0;
}

h3.wp-block-post-title, h3.wp-block-heading {
  margin: 0;
}

h4,
h5,
h6 {
	clear: both;
  font-family: 'Poppins', sans-serif;
  font-weight: 300; /* Regular */
}

h1.has-background, h2.has-background, h3.has-background, h4.has-background, h5.has-background, h6.has-background {
    padding: 2rem;
}
	  

.intro {
  font-size: 1em!important;
  font-weight: 300!important;
}
  
#site-content p, #site-content a, #site-content p a {
  font-family: 'Poppins', sans-serif;
  font-weight: 300; /* ExtraLight */
  line-height: 2.5em;
  font-size: 1em;
	  
}


a {
  font-family: 'Poppins', sans-serif;
  font-weight: 400; /* Regular */
}


p {
	margin-top: 0;
  margin-bottom: 1.5em;
}


dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}




/* Links
--------------------------------------------- */

/* unvisited link */
a:link {
	color: #e10b17;
	text-decoration: none;
}
  
/* visited link */
a:visited {
	color: #e10b17;
	text-decoration: none;
}
  
/* mouse over link */
a:hover {
	color: #e10b17;
	text-decoration: none;
}
  
/* selected link */
a:active {
	color: #e10b17;
	text-decoration: none;
}

a:hover,
a:active {
	outline: 0;
}


/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/


#cherry-wordcloud-root {
  pointer-events: none;
}


/* Logo ----------------------------------------------------- */

.site-branding {
  position: fixed !important;
  z-index: 9000;
  top: 0;
  left: 0;
  margin: 0 !important;
  padding: 0 !important;
}


.site-branding .custom-logo-bg-wrapper {
  position: relative;
  display: inline-block;
  transition: transform 200ms ease;
}


.site-branding .custom-logo {
  position: relative;

  width: 40vw;
  min-width: 230px;
  max-width: 350px;
  margin-left: 5vw;   

  top: calc(10px + 0.5vw);
}

.site-branding .custom-logo-bg-wrapper .custom-logo-link {
  position: relative;
  z-index: 10;
  display: inline-block;
}

.site-branding .custom-logo-bg-wrapper .custom-logo-bg {
  position: absolute;
  pointer-events: auto;
  cursor: pointer;
  
  border-radius: 0 999px 999px 0;
  z-index: 1;

  top: 5px;
  min-height: 45px;
  height: 8vw;
  min-width: calc(250px + 5vw);
  width: calc(48vw);  

  background: rgba(255, 255, 255, 0.85);
}







/* Quoting-Bereich im Home-Header
--------------------------------------------- */

.cp-quoting-box {
  position: absolute;
  z-index: 20;

  left: 10vw;
  top: calc(50px + 8vw + 10px);

  width: 48vw;
  min-width: calc(250px + 5vw);

  color: #00ff00;
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: 1.5rem;
  line-height: 1.4;
  letter-spacing: 0.02em;

  text-align: right;
  pointer-events: none;

  opacity: 1;
  transition: opacity 220ms ease;
}

.cp-quoting-box.cp-quoting-box--hidden {
  opacity: 0;
}

.cp-quoting-line {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.08em;

  min-height: 1.5em;
  height: 1.5em;
  padding: 0.12em 0.28em;
  box-sizing: border-box;
  vertical-align: top;

  background: rgba(0, 0, 0, 0.12);


  border-radius: 4px;
  text-rendering: optimizeLegibility;
}

.cp-quoting-text {
  display: inline-block;
  min-width: 0.02em;
  min-height: 1em;
  line-height: 1;
  white-space: normal;
  word-break: break-word;
  opacity: 1;
  transform: translateY(0);
}

.cp-quoting-line.is-typing .cp-quoting-text {
  opacity: 0.96;
  transform: translateY(0.02em);
}

.cp-quoting-line.is-idle .cp-quoting-text {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.cp-quoting-cursor {
  display: inline-block;
  flex: 0 0 auto;
  align-self: center;

  width: 0.08em;
  height: 1em;
  line-height: 1;

  background: #00ff00;
  border-radius: 999px;

  animation: cp-quoting-caret-blink 1.1s steps(1) infinite;
}


.cp-letter {
  display: inline-block;
  position: relative;
}

/* Unterstrich pro Buchstabe */
.cp-letter::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.5em;

  width: 100%;
  height: 1px;

  background: #ffffff;
  opacity: 0.8;
}

@keyframes cp-quoting-caret-blink {
  0%, 49%   { opacity: 1; }
  50%, 100% { opacity: 0; }
}

/* Gutenberg-Quoting-Überschriften im normalen Content ausblenden */
#site-content .quoting,
.site-content .quoting,
.entry-content .quoting,
.page-content .quoting {
  display: none !important;
}







/* Description, Title ----------------------------------------- */


.site-description {
	display: none;
}

.site-title {
	display: none;
}


/* Footer ----------------------------------------------------- */


.footer-menu {
  margin-right: 5vw;
  margin-left: 5vw;
}

.footer-menu a:active,
.footer-menu a:focus,
.footer-menu a:hover,
.footer-menu a:link,
.footer-menu a:visited {
  text-decoration: none!important;
}

.site-footer {
  background: #e10b17;
  background-blend-mode: hue;
  margin-top: 2em;
}

.site-footer a {
  font-family: 'Poppins', sans-serif;
  font-weight: 400; /* Regular */
  font-weight: normal!important;
  font-size: 1rem;
  color: #ffffff!important;
}

/* -------- Footer-Menüpunkte: Verhalten wie im Vertical-Menu-Beispiel -------- */
.site-footer .footer-menu-items a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  line-height: 1.6;
  white-space: nowrap;
  border-radius: 6px;
  background: transparent;                 /* kein Hintergrund */
  position: relative;                      /* für die Linie */
  transform-origin: center;
  will-change: transform;
  transition:
    transform 0.5s ease,
    font-size 0.5s ease,
    color 0.5s ease;
}

/* zarte, aus der Mitte wachsende Linie */
.site-footer .footer-menu-items a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;                                /* Start: 0 */
  height: 2px;
  background-color: #00ff00;
  transform: translateX(-50%);             /* mittig */
  transition: width 0.15s ease, transform 0.15s ease;
}

/* Hover: Vergrößerung + Linie fährt aus der Mitte */
.site-footer .footer-menu-items a:hover,
.site-footer .footer-menu-items a:focus {
  transform: scale(1.1);
  background: transparent !important;      /* überschreibt alten grünen Hover */
}
.site-footer .footer-menu-items a:hover::after,
.site-footer .footer-menu-items a:focus::after {
  width: 100%;
  transform: translateX(-50%);
}

/* Aktiver Menüpunkt: leicht vergrößert, ohne Linie */
.site-footer .footer-menu-items .current-menu-item > a,
.site-footer .footer-menu-items .current_page_item > a {
  transform: scale(1.1);
}
.site-footer .footer-menu-items .current-menu-item > a::after,
.site-footer .footer-menu-items .current_page_item > a::after {
  content: none;
}

/* Abstand zwischen Links */
.site-footer .footer-menu-items a + a {
  margin-left: 6px;
}

/* Span-Padding reduzieren (zentrierter Text) */
.site-footer .footer-menu-items span {
  padding: 0.3em !important;
}

/* Row- und Logo-Styles unverändert */
.site-footer .footer-menu .row {
  display: flex;
  align-items: center;
}

.site-footer .custom-logo-link {
  display: inline-block;
  text-align: center;
  line-height: 0;
}

.site-footer .custom-logo {
  position: static !important;
  width: 250px !important;
  height: auto !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  filter: brightness(0) invert(1);
  margin: 0!important;
}

.site-footer p > .custom-logo-link {
  display: inline-block;
}

.site-footer p {
  text-align: center;
  margin: 0;
  padding: 0;
}

.site-footer p a, .site-footer p, .site-footer a {
  line-height: 1em!important;
}



/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */


/* Toggler */

/*
#togglerShape {
	transform: scale(0.9);
	transform-origin: 50% 50%;
}
*/

.toggler-container{
  position: fixed;
  top: 37px;
  right: -2vw;
  z-index: 9000;
  width: 4vw;
  min-width: 70px;
  max-width: 120px;
  overflow: visible;
}



  
  /* Farbeinstellungen der Shape
     --------------------------- */
  
  .cls-1 {
	transition: fill 0.3s;
	pointer-events: auto;  /* Wichtig, damit Hover/Klick möglich sind */
	cursor: pointer;       /* Zeige Hand-Cursor über dem Pfad */
  }

  /* Inaktiver Zustand (Menü zu, Maus nicht drüber) */
  .cls-1.inactive {
	fill: rgba(255,255,255,0.75); 
	stroke: #00ff00;
	stroke-width: 50px;
  }

  /* Hover bei inaktivem Toggler: rot */
  .cls-1.hover {
	fill: rgba(255,255,255,0.75); 
	stroke: #00ff00;
	stroke-width: 60px;
  }

  /* Aktiver Zustand (Menü offen, Maus nicht drüber): rot */
  .cls-1.active {
	fill: rgba(255,255,255,1);
	stroke: #00ff00;
	stroke-width: 50px;
  }

  /*
	NEU:
	Ist der Toggler aktiv UND man fährt mit der Maus darüber,
	soll er grau statt rot sein.
	=> Höchste Spezifität: .cls-1.active.hover
  */
  .cls-1.active.hover {
	fill: rgba(255,255,255,1); /* Grau im aktiven & gehoverten Zustand */
  }

  /* ======================
	 Hamburger-Linien (Pointer-Events aus, damit Klick/ Hover ans Shape durchgeht)
	 ====================== */
  .hamburger-line {
	pointer-events: none;
	transition: all 0.3s ease;
	fill: #e10b17; /* Farbe der Linien */
  }

  /* Werden dicker bei Hover (wird per JS toggelt) */
  .hamburger-line.thick {
	height: 60px; 
	rx: 22.5;
	ry: 22.5;
	fill: #e10b17;
  }

  



 
/* Menu
   ---- */

/* Ausgangszustand: Menü außerhalb des Bildschirms */
#vertical-menu-container {
    position: fixed;
    top: 50%;
    right: -80vw; /* Menü ist vollständig außerhalb des Bildschirms */
    transform: translateY(-50%);
    width: 80%;
    max-width: 80vw;
    height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
	  overflow-y: auto;

    background-color: #e10b17;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20width%3D'100%25'%20height%3D'100%25'%20viewBox%3D'0%200%202000%20861.08'%20preserveAspectRatio%3D'xMidYMid%20meet'%3E%3Cpath%20fill%3D'%23d40d1b'%20d%3D'M971%2C883.52c-27.15-1.91-95.83-16.92-138.5-34.38a350.39%2C350.39%2C0%2C0%2C1-57.18-30.45q-78.06-51.35-136-146.6c-38.63-63.54-66.28-137.74-80-222.72-14-85.79-10.06-160.6%2C14.6-224.54s65.88-113.07%2C123.62-147.3%2C101.16-51.35%2C177.6-51.35c79.16%2C0%2C134%2C41.08%2C182.69%2C41.08%2C51.54%2C0%2C104.86-41.08%2C182.69-41.08%2C76.41%2C0%2C119.86%2C17.21%2C177.6%2C51.35s99%2C83.37%2C123.62%2C147.3%2C28.5%2C138.75%2C14.61%2C224.54c-13.8%2C85-41.38%2C159.18-80%2C222.72s-84%2C112.37-136%2C146.6a352.72%2C352.72%2C0%2C0%2C1-57.18%2C30.45c-42.68%2C17.46-115.17%2C32.25-142.3%2C34.87C1093.85%2C888.53%2C1039.06%2C888.3%2C971%2C883.52Zm86.8-35.12'%20transform%3D'translate(-551.25%20-26.18)'%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-size: auto 75%;
    background-position: 10% 50%;

    transition: right 0.6s cubic-bezier(.42,0,.51,.08);

    /* box-shadow: -5px 0 8px 5px rgba(0, 0, 0, 0.4); */
    border-left: 2px solid #00ff00;
}

/* Sichtbar nach dem Öffnen */
#vertical-menu-container.visible {
	  transition: right 0.3s cubic-bezier(.42,0,.58,1);
    right: 0;

    
}

/* Fade‑Out nach Klick */
#vertical-menu-container.fade-out {
    /* bleibt an Position, aber wird durchsichtig */
    opacity: 0;
    pointer-events: none;
}


/* Menü-Liste */
.vertical-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    /*align-items: flex-start;*/
    height: 70%;
    max-height: 70vh;
	  min-height: 30vh;
    justify-content: space-evenly; /* Dynamische Verteilung der Menüpunkte */
}

/* Menüpunkte mit dynamischem Abstand */
.vertical-menu li {
    position: relative;
    text-align: center;
    margin-bottom: 0; /* Keine zusätzliche fixe Abstandsregel */
    transition: transform 0.5s ease, font-size 0.5s ease;
    min-height: 4em; /* Maximaler Abstand zwischen den Menüpunkten */
}

/* Polylang: nur Marker ausblenden, ohne Layout zu verändern */
.vertical-menu li::marker,
.vertical-menu .lang-item::marker,
.vertical-menu .pll-parent-menu-item::marker,
.vertical-menu .lang-item-polylang::marker {
  content: "" !important;
}

/* Links innerhalb der Menüpunkte */
.vertical-menu li a {
    text-decoration: none;
    display: inline-block;
    font-size: 1.2rem;
    color: white;
    position: relative;
    transform-origin: center;
    transition:
      transform 0.5s ease,
      font-size 0.5s ease,
      color 0.5s ease,
      border-color 0.3s ease;      /* hier die Border‑Animation */
    
    border-radius: 0.5em;
    padding: 0.3em 0.6em 0.2em 0.6em;
}



/* Vergrößerung des Textes bei Hover */
.vertical-menu li:hover a {
    transform: scale(1.3); /* Vergrößern um 50% */
}

/* Aktiver Menüpunkt (Text bleibt vergrößert und mit rotem Rahmen) */
.vertical-menu li.current-menu-item a {
    transform: scale(1.2);
    position: relative;                 /* Anker für SVG */
    
}

/* Entfernt die horizontale Linie beim aktiven Menüpunkt */
.vertical-menu li.current-menu-item a::after {
    content: none;
}



/* Grundstil für den dynamischen SVG-Border */
.vertical-menu-item-border-svg{
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: visible;
}
.vertical-menu-item-border-svg rect{
    fill: none;
    stroke: #00ff00;            /* Rahmenfarbe */
    stroke-width: 2;         /* Strichstärke */
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}



/* Horizontale Linie (wächst aus der Mitte heraus) */
.vertical-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;    /* Linie startet mittig */
    width: 0;     /* Startet bei 0 */
    height: 2px;
    background-color: #00ff00;
    transition: width 0.5s ease, transform 0.5s ease;
    transform: translateX(-50%); /* Zentriert die Linie */
}

/* Linie wächst bei Hover (aus der Mitte heraus) */
.vertical-menu li:hover a::after {
    width: 100%; /* Linie deckt genau den Text des Links ab */
    transform: translateX(-50%); /* Bleibt zentriert */
}





/* Popover
--------------------------------------------- */

.popover {
	
	background-color: #e10b17!important;
	margin-right: 10px!important;
	
	animation: move-up .1s linear 1;

}

.popover-body {
  font-family: 'Poppins', sans-serif;
  font-weight: 400; /* Regular */
	font-size: 1.2em!important;
	color: white!important;
}
 
.popover-arrow::after {
    border-left-color: #e10b17!important;
}



/* Header
--------------------------------------------- */


/* Homepage */

.header-home-wrapper{
  position: relative;
  isolation: isolate;
  margin-bottom: 2em;

  background-size: cover;
  background-position: center;  

  z-index: 1;
  overflow: hidden;
}

.header-home-wrapper > *:not(#header-video):not(#header-image){
  position: relative;
  z-index: 1;
}


.header-home-wrapper #header-video,
.header-home-wrapper #header-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  isolation: isolate;
}

.header-home-wrapper #header-video video,
.header-home-wrapper #header-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}





/* Other Pages */

.header-wrapper{
  position: relative;
  height: 100svh;
  overflow: visible; 
}

/* Media: 100% Breite, aber nur 3/4 Höhe */
.header-wrapper > #header-video,
.header-wrapper > #header-image{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  isolation: isolate;
}

/* Inhalt füllt den Container */
.header-wrapper > #header-video > video,
.header-wrapper > #header-image > img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Im Content nur dann verstecken, wenn er NOCH NICHT in den Header verschoben wurde */
#site-content .show-in-header:not(.show-in-header--in-header),
.site-content .show-in-header:not(.show-in-header--in-header) {
  display: none;
}

/* Im Header anzeigen + absolute links + vertikal mittig */
.header-wrapper .show-in-header.show-in-header--in-header{
  display: flex;
  justify-content:flex-start;
  align-items:center!important;
  position: absolute;

  height: 40vh;
  width: 44vw;

  left: 0;
  margin-left: calc(5vw - 10px);

  background: #e10b17;     /* rot */
  padding: 4em;

  bottom: -7vh;            /* 10% NACH UNTEN in den site-content überlappen */

  transform: none;         /* wichtig: sonst verschiebt translateY wieder */
  z-index: 50;
}

/* Klickbarkeit */
.header-wrapper .show-in-header,
.header-wrapper .show-in-header *{
  color: white;
  pointer-events: auto;
}


.header-wrapper .show-in-header h1 {
  margin-bottom: 5vh;
  
}

.header-wrapper .show-in-header h1.wp-block-post-title::after {
  bottom: -0.5em;
}


.header-wrapper .show-in-header .safe-svg-inside.safe-svg-inline {
  height: 3vw!important;
  min-height: 50px!important;
  max-height: 100px!important;
  width: auto!important;
}


.header-wrapper .show-in-header .safe-svg-inside.safe-svg-inline svg *{
  fill: #fff;
  width: 2vw!important;
}









/* Im Content nur dann verstecken, wenn es NOCH NICHT in den Image-Header verschoben wurde */
#site-content .show-in-header-image:not(.show-in-header-image--in-header),
.site-content .show-in-header-image:not(.show-in-header-image--in-header) {
  display: none;
}

/* Image-Header: vertikale Mitte exakt auf Fensterhöhe-Mitte */
.header-wrapper .show-in-header-image.show-in-header-image--in-header {
  display: flex;
  justify-content: flex-start;
  align-items: center !important;
  position: absolute;

  width: 44vw;
  height: 26.66vh; /* vorher 40vh -> um ein Drittel niedriger */

  left: 0;
  margin-left: calc(5vw - 10px);

  background: #e10b17;
  padding: 4em;

  top: 50vh;                 /* Mitte des Fensters */
  transform: translateY(-50%); /* eigene Mitte exakt auf Fenster-Mitte */

  z-index: 50;
}

/* Klickbarkeit */
.header-wrapper .show-in-header-image,
.header-wrapper .show-in-header-image * {
  color: white;
  pointer-events: auto;
}

.header-wrapper .show-in-header-image h1 {
  margin-bottom: 5vh;
}

.header-wrapper .show-in-header-image h1.wp-block-post-title::after {
  bottom: -0.5em;
}

.header-wrapper .show-in-header-image .safe-svg-inside.safe-svg-inline {
  height: 3vw !important;
  min-height: 50px !important;
  max-height: 100px !important;
  width: auto !important;
}

.header-wrapper .show-in-header-image .safe-svg-inside.safe-svg-inline svg * {
  fill: #fff;
  width: 2vw !important;
}













.header-cherry-bubble-left {
  position: absolute;
  left: 45%;
  bottom: 45%;
  transform: translate(-50%, 50%); 
  
  width: 70%;
  min-width: 350px;
  max-width: 70vw;
  
  aspect-ratio: 282.78 / 236.24;

  /*
  background-image: url("data:image/svg+xml;utf8,<svg id='cherry-bubble-left' xmlns='http://www.w3.org/2000/svg' width='282.78' height='236.24' viewBox='0 0 282.78 236.24'><defs><radialGradient id='grad' cx='141.39' cy='118.12' fx='141.39' fy='118.12' r='130.28' gradientUnits='userSpaceOnUse'><stop offset='0' stop-color='%230000ff'/><stop offset='.19' stop-color='%230000ff'/><stop offset='.54' stop-color='%2300ff00'/><stop offset='.99' stop-color='%23ff0000'/><stop offset='1' stop-color='%23ff0000'/></radialGradient></defs><path fill='url(%23grad)' d='M120,235.22c-7.45-.52-26.29-4.64-38-9.43-7.78-3.19-82,10.46-82,10.46,0,0,22.58-70.68,21.91-72.07-1.35-2.8-2.64-5.66-3.85-8.59-4.98-12.06-8.72-25.21-11.03-39.48-3.83-23.54-2.76-44.06,4.01-61.6,6.74-17.54,18.07-31.02,33.92-40.41C60.81,4.72,72.72,0,93.69,0c21.72,0,36.76,11.27,50.12,11.27C157.95,11.27,172.58,0,193.93,0c20.97,0,32.88,4.72,48.73,14.09,15.85,9.39,27.17,22.87,33.92,40.41,6.77,17.54,7.82,38.07,4.01,61.6-3.78,23.32-11.35,43.67-21.96,61.11-10.62,17.43-23.04,30.83-37.31,40.22-1.67,1.09-7.92,5.16-15.69,8.35-11.71,4.79-31.6,8.85-39.04,9.57-12.87,1.24-27.91,1.18-46.58-.14Z'/></svg>");
*/
  background-image: url("data:image/svg+xml;utf8,<svg id='cherry-bubble-left' xmlns='http://www.w3.org/2000/svg' width='282.78' height='236.24' viewBox='0 0 282.78 236.24'><defs><radialGradient id='grad' cx='50%' cy='50%' r='65%'><stop offset='0%' stop-color='%23ff0000'/><stop offset='50%' stop-color='%23ff0000'/><stop offset='100%' stop-color='%23ff0000'/></radialGradient></defs><path fill='url(%23grad)' d='M120,235.22c-7.45-.52-26.29-4.64-38-9.43-7.78-3.19-82,10.46-82,10.46,0,0,22.58-70.68,21.91-72.07-1.35-2.8-2.64-5.66-3.85-8.59-4.98-12.06-8.72-25.21-11.03-39.48-3.83-23.54-2.76-44.06,4.01-61.6,6.74-17.54,18.07-31.02,33.92-40.41C60.81,4.72,72.72,0,93.69,0c21.72,0,36.76,11.27,50.12,11.27C157.95,11.27,172.58,0,193.93,0c20.97,0,32.88,4.72,48.73,14.09,15.85,9.39,27.17,22.87,33.92,40.41,6.77,17.54,7.82,38.07,4.01,61.6-3.78,23.32-11.35,43.67-21.96,61.11-10.62,17.43-23.04,30.83-37.31,40.22-1.67,1.09-7.92,5.16-15.69,8.35-11.71,4.79-31.6,8.85-39.04,9.57-12.87,1.24-27.91,1.18-46.58-.14Z'/></svg>");

  opacity: 0.5;

  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  
  z-index: 5; 
  pointer-events: none;

  mix-blend-mode:darken;

  -webkit-mask-image: radial-gradient(circle, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.8) 70%, rgba(0,0,0,1) 100%);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: cover;

  mask-image: radial-gradient(circle, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.8) 70%, rgba(0,0,0,1) 100%);
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: cover;  

}

.header-cherry-bubble-right {
  position: absolute;
  left: 70%;
  bottom: 50%;
  transform: translate(-50%, 50%); 
  
  width: 73%;
  min-width: 370px;
  max-width: 73vw;
  
  aspect-ratio: 282.78 / 236.24;

  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='282.78' height='236.24' viewBox='0 0 282.78 236.24'><defs><radialGradient id='grad' cx='50%' cy='50%' r='65%'><stop offset='0%' stop-color='%2300ff00'/><stop offset='50%' stop-color='%2300ff00'/><stop offset='100%' stop-color='%2300ff00'/></radialGradient></defs><g transform='translate(282.78,0) scale(-1,1)'><path fill='url(%23grad)' d='M120,235.22c-7.45-.52-26.29-4.64-38-9.43-7.78-3.19-82,10.46-82,10.46,0,0,22.58-70.68,21.91-72.07-1.35-2.8-2.64-5.66-3.85-8.59-4.98-12.06-8.72-25.21-11.03-39.48-3.83-23.54-2.76-44.06,4.01-61.6,6.74-17.54,18.07-31.02,33.92-40.41C60.81,4.72,72.72,0,93.69,0c21.72,0,36.76,11.27,50.12,11.27C157.95,11.27,172.58,0,193.93,0c20.97,0,32.88,4.72,48.73,14.09,15.85,9.39,27.17,22.87,33.92,40.41,6.77,17.54,7.82,38.07,4.01,61.6-3.78,23.32-11.35,43.67-21.96,61.11-10.62,17.43-23.04,30.83-37.31,40.22-1.67,1.09-7.92,5.16-15.69,8.35-11.71,4.79-31.6,8.85-39.04,9.57-12.87,1.24-27.91,1.18-46.58-.14Z'/></g></svg>");

  opacity: 0.5;

  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;

  z-index: 4; 
  pointer-events: none;

  mix-blend-mode:soft-light;

  -webkit-mask-image: radial-gradient(circle, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.8) 70%, rgba(0,0,0,1) 100%);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: cover;

  mask-image: radial-gradient(circle, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.8) 70%, rgba(0,0,0,1) 100%);
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: cover;  

}



.cherrybutton-container {
  width: 7vw;
  max-width: 200px;
  min-width: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
}



/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post {
	margin: 0 0 1.5em;
}

.page {
	margin: 0 0 0;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 2em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}


/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

#secondary.widget-area {
	display:none;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.site-branding .custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}



/* Blocks
--------------------------------------------- */


/* wp-block-columns -------------------- */
/* ------------------------------------- */


.wp-block-columns.has-background {
    padding: 1.5rem;
}

.wp-block-columns {
  margin-bottom: 0;
}

.wp-block-columns.has-background {
  padding: 0;
}

.bg-fullwidth-right {
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0) 50%, #e10b17 50%, #e10b17 100%);
}

.bg-fullwidth-left {
  background-image: linear-gradient(to left, rgba(0, 0, 0, 0) 50%, #e10b17 50%, #e10b17 100%);
}

/* Defalt (<1300px): full width bis zum Viewport-Rand */
.mobile-fullwidth{
  width: 100vw;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
}

/* Falls Gutenberg/Theme einen inneren Container einsperrt */
.mobile-fullwidth > .wp-block-group__inner-container,
.mobile-fullwidth > .wp-block-columns,
.mobile-fullwidth > .wp-block-cover__inner-container{
  width: 100%;
  max-width: 100% !important;
  box-sizing: border-box;
}

/* Ab 1300px: wieder "eingeschränkte Breite" */
@media (min-width: 1300px){

  .mobile-fullwidth{
    width: 70vw;
    max-width: 1400px!important;
    margin-left: auto;
    margin-right: auto;
  }

  .mobile-fullwidth > .wp-block-group__inner-container,
  .mobile-fullwidth > .wp-block-columns,
  .mobile-fullwidth > .wp-block-cover__inner-container{
    max-width: var(--wp--style--global--content-size, 1200px) !important;
    margin-left: auto;
    margin-right: auto;
  }
}


/* wp-block-list ----------------------- */
/* ------------------------------------- */


.wp-block-column .wp-block-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.wp-block-column .wp-block-list li {
  position: relative;
  padding-left: 1.4em;
  font-weight: 300;
}

.wp-block-column .wp-block-list li::before {
  content: "";
  position: absolute;
  left: 0;
  width: 0.9em;
  height: 0.9em;
  background: url("/wp-content/uploads/cherry-list-icon.svg") no-repeat center / contain;

  top: 0;
  transform: translateY(calc((1lh - 100%) / 2));
}



/* wp-block-button ----------------------- */
/* --------------------------------------- */

/* Button selbst bleibt stabil */
.wp-block-button__link {
  text-decoration: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

/* Nur fetter Text im Button wird animiert */
.wp-block-button__link strong {
  position: relative;
  display: inline-block;
  transition: transform 0.15s ease;
}

/* Grüne Linie orientiert sich an der Textbreite */
.wp-block-button__link strong::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0.2em;
  width: 110%;
  height: 2px;
  background-color: #00ff00;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.15s ease;
}

/* Nur Text zoomt leicht */
.wp-block-button__link:hover strong,
.wp-block-button__link:focus strong {
  transform: scale(1.06);
}

/* Nur die Text-Linie erscheint */
.wp-block-button__link:hover strong::after,
.wp-block-button__link:focus strong::after {
  transform: translateX(-50%) scaleX(1);
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}



/* Contact Form 7
================================================== */

.wpcf7-form {
	font-family: 'Font-Standard', Courier, sans-serif!important;
	font-size: 1em;
	background-color: #f8f8f8!important;
	padding: 1em;
	border-radius: 0;
	margin-top: 0;
	margin-bottom: 2em;
  padding: 0;
}

.wpcf7-form p {
	line-height: 1em!important;
	margin-bottom: 0.5rem!important;
}

.wpcf7-form .flowtext p{
  display:block !important;
  margin:0 !important;
  padding:0 !important;
	line-height: 2em!important;
}

.wpcf7-form textarea {
	line-height: 1.5em!important;
  resize: none;
  overflow: auto;
}

.wpcf7-form label {
	color: #909090!important;
	width:100% !important;
	font-size: 1rem;
  font-weight: 400;
	text-transform: uppercase;
	margin-bottom: 0;
}

.wpcf7-form input,
.wpcf7-form select {
	max-width: 100%!important;
}

.wpcf7-form-control-wrap.your-tickets input {
	width: 70px;
}

.wpcf7-form-control-wrap a.cd-upload-btn:hover {
	text-decoration: underline!important;
	color:#00ff00!important;
}

.wp-block-uagb-cf7-styler {
	background-color: #fff;
	padding-top: 2em;
	padding-bottom: 2em;
	margin-bottom: 2em;
}

input.wpcf7-form-control.wpcf7-submit,
input.wpcf7-form-control.wpcf7-number {
  font-size: 1em!important;
	background-color: #e10b17;
	border-color: #e10b17!important;
  border-width: 2px;
	color: #ffffff;
	padding: 0.6em 1em 0.6em 1em;
	text-transform: uppercase;
  cursor: pointer;
}

input.wpcf7-form-control.wpcf7-submit:hover {
	background-color: #e10b17;
  border-color: #00ff00!important;
  border-width: 2px;
	color: white;
}

.wpcf7-form input[type="submit"] {
	font-size: 1rem;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
	border: 0px solid #e10b17!important;
	padding: 0.5em;
	font-size: 600;
}

.wpcf7-form input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required,
.wpcf7-form input.wpcf7-form-control.wpcf7-text,
.wpcf7-form input.wpcf7-form-control.wpcf7-text {
	background: #fff!important;
}

.wpcf7-form span.wpcf7-form-control-wrap.your-subject input {
	width: 100%!important;
	max-width: 100%!important;
}

.wpcf7-not-valid-tip {
  color: #e10b17!important;
  animation: blinking 2s linear infinite;
  font-weight: 300!important;
  font-size: 0.8em;
  text-transform: uppercase;
  font-weight: normal;
  display: block;
  padding-top: 1em;
}

input.wpcf7-form-control.wpcf7-text, textarea.wpcf7-form-control.wpcf7-textarea, input.wpcf7-form-control.wpcf7-number.wpcf7-validates-as-number,
input.wpcf7-form-control.wpcf7-text:-webkit-autofill, textarea.wpcf7-form-control.wpcf7-textarea:-webkit-autofill, input.wpcf7-form-control.wpcf7-number.wpcf7-validates-as-number:-webkit-autofill {
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 0 0 1000px #fff inset !important;
  -webkit-box-shadow: 0 0 0 1000px #fff inset;
  -webkit-text-fill-color: #000000;
}




/* Nachricht-Textarea wächst bis zur Unterkante der linken Spalte */
@media (min-width: 992px){

  /* 1) Outer Row mit zwei Spalten: Spalten gleich hoch (Flex default stretch, wir erzwingen es) */
  .wpcf7-form > .cp-row:first-of-type{
    align-items: stretch !important;
  }

  /* 2) Rechte Spalte wird Flex-Column */
  .wpcf7-form > .cp-row:first-of-type > .cp-col-lg-6:last-child{
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
  }

  /* 3) Betreff-Row bleibt “auto”, Nachricht-Row füllt Rest */
  .wpcf7-form > .cp-row:first-of-type > .cp-col-lg-6:last-child > .cp-row:first-child{
    flex: 0 0 auto !important;
  }

  .wpcf7-form > .cp-row:first-of-type > .cp-col-lg-6:last-child > .cp-row:last-child{
    flex: 1 1 auto !important;
    min-height: 0 !important;
  }

  /* 4) In der Nachricht-Row muss auch die Spalte wachsen dürfen */
  .wpcf7-form > .cp-row:first-of-type > .cp-col-lg-6:last-child > .cp-row:last-child > .cp-col-12{
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
  }

  /* 5) CF7 packt alles in <p> – auch das muss flexen */
  .wpcf7-form > .cp-row:first-of-type > .cp-col-lg-6:last-child > .cp-row:last-child > .cp-col-12 > p{
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    margin: 0 !important;          /* nimmt dir die unnötige Extra-Höhe raus */
  }

  /* 6) Label + Wrap müssen ebenfalls “Resthöhe” annehmen */
  .wpcf7-form > .cp-row:first-of-type > .cp-col-lg-6:last-child > .cp-row:last-child label{
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
  }

  .wpcf7-form span.wpcf7-form-control-wrap[data-name="your-message"]{
    display: flex !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
  }

  /* 7) Und JETZT kann die Textarea wirklich strecken */
  .wpcf7-form textarea[name="your-message"]{
    flex: 1 1 auto !important;
    height: auto !important;
    min-height: 100% !important;
  }

  /* optional: die <br> von CF7 im Label stören manchmal bei Flex-Höhen */
  .wpcf7-form span.wpcf7-form-control-wrap[data-name="your-message"] + br{
    display: none !important;
  }
}

/* ENDE: Nachricht-Textarea wächst bis zur Unterkante der linken Spalte */





::-webkit-input-placeholder { 
	opacity: 0.4;
	}

.codedropz-upload-wrapper {
	margin-left: -15px;
}

.codedropz-upload-handler {
  border: 3px dashed #e10b17;
  border-radius: 0;
  margin-bottom: 10px;
  position: relative;
}

.codedropz-upload-inner h3,
.codedropz-upload-inner span,
.codedropz-btn-wrap a {
	margin-top: 0;
	margin-bottom: 0;
	font-size: 1em;
	font-weight: 300;
	color: #e10b17;
	opacity: 1;
}

.codedropz-btn-wrap .cd-upload-btn:focus,
.codedropz-btn-wrap .cd-upload-btn:hover {
	color: #ffffff!important;
	opacity: 0.7;
}

.dnd-upload-status {
	background: transparent;
	border-radius: 0;
	padding: 10px;
}

.dnd-upload-image {
	display: none;
}

.dnd-upload-details .name,
.dnd-upload-details .name em {
	font-size: 0.8em!important;
	color: #e10b17!important;
}

.remove-file {
	padding-right: 10px;
}

.wpcf7-response-output {
  font-family: 'Poppins', sans-serif;
  font-size: 0.8em;
  line-height: 2em;
  color: #e10b17;
  border-color: #e10b17!important;
  margin: 0!important;
  padding: 1em 1em!important;
}


.wpcf7-form .privacy-consent-wrap span label {
  text-transform: none!important;
  font-size: 0.9em!important;
}


.privacy-consent-wrap p {
	margin: 0;
	padding: 0;
}

.privacy-consent-wrap label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	padding: 0;
	cursor: pointer;
}

.privacy-consent-wrap input[type="checkbox"] {
	width: 18px;
	height: 18px;
	min-width: 18px;
	margin: 10px 0 0 0;
	flex: 0 0 18px;
}

.privacy-consent-wrap .wpcf7-list-item,
.privacy-consent-wrap .wpcf7-list-item-label,
.privacy-consent-wrap label,
.privacy-consent-wrap a {
	font-size: 1.2rem !important;
	line-height: 2 !important;
	font-weight: normal !important;
	margin: 0;
	padding: 0;
}

.privacy-consent-wrap .wpcf7-list-item-label {
	display: inline;
}

.privacy-consent-wrap a {
	display: inline !important;
	text-decoration: underline;
}






/* GDPR Cookie Compliance
================================================== */

.moove-gdpr-info-bar-container {
  font-family: 'Poppins', Helvetica, sans-serif!important;
  margin-right: 10%;
  margin-left: 10%;
}

#moove_gdpr_cookie_info_bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 90%;
    min-height: 60px;
    max-height: 90svh!important;
    color: #fff;
    z-index: 9900;
    background-color: #202020;
    border-top: 1px solid #fff;
    transition: bottom .3s cubic-bezier(.17,.04,.03,.94);
}

#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content p, #moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content p a {
    margin: 0;
    font-size: 1.1rem!important;
    line-height: 2rem!important;
    font-weight: normal!important;
    color: #ffffff!important;
    padding-bottom: 0;
    color: #fff;
}

button.moove-gdpr-infobar-close-btn.gdpr-fbo-3 {
    margin-left: 20px!important;
}


#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content a.mgbutton, #moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content button.mgbutton {
    border-radius: 10px!important;
}




#moove_gdpr_cookie_modal .moove-gdpr-modal-content {
  font-family: 'Poppins', Helvetica, sans-serif!important;
  color:#e10b17!important;
}

#moove_gdpr_cookie_modal .moove-gdpr-button-holder button.mgbutton {
  margin: 0.7em 0.7em!important;
}

#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content {
    height: 150px!important;
}

#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content:before {
    bottom: 140px!important;
}



/* Datenschutz + Kontakt/Impressum im Cookie-Modal: immer schwarz */
#moove_gdpr_cookie_modal .moove-gdpr-tab-content a.mgbutton,
#moove_gdpr_cookie_modal .moove-gdpr-tab-content a.mgbutton:link,
#moove_gdpr_cookie_modal .moove-gdpr-tab-content a.mgbutton:visited,
#moove_gdpr_cookie_modal .moove-gdpr-tab-content a.mgbutton:hover,
#moove_gdpr_cookie_modal .moove-gdpr-tab-content a.mgbutton:focus,
#moove_gdpr_cookie_modal .moove-gdpr-tab-content a.mgbutton:active {
  color: #000000 !important;
}

/* Standard-Unterstreichung entfernen */
#moove_gdpr_cookie_modal .moove-gdpr-tab-content a.mgbutton {
  text-decoration: none !important;
  position: relative;
}

/* rote Linie */
#moove_gdpr_cookie_modal .moove-gdpr-tab-content a.mgbutton::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -0.15em;

  width: 110%;
  height: 2px;
  background-color: #e10b17; /* rot */

  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.15s ease;
}

/* Hover / Fokus / Klick */
#moove_gdpr_cookie_modal .moove-gdpr-tab-content a.mgbutton:hover::after,
#moove_gdpr_cookie_modal .moove-gdpr-tab-content a.mgbutton:focus::after,
#moove_gdpr_cookie_modal .moove-gdpr-tab-content a.mgbutton:active::after {
  transform: translateX(-50%) scaleX(1);
}

#moove_gdpr_cookie_modal .moove-gdpr-modal-title,
#moove_gdpr_cookie_modal .tab-title {
  font-family: 'Poppins', Helvetica, sans-serif !important;
  font-weight: 500 !important;
  color: #e10b17 !important;
}

#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder a.mgbutton, #moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder button.mgbutton {
    border-radius: 10px!important;
}


.moove-gdpr-branding-cnt {
    display: none!important;
}


#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme {
    background-color: #e10b17!important;
    border-top: 1px solid #fff;
}

#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content .moove-gdpr-button-holder {
    align-content: center!important;
    justify-content: center!important;
    padding-left: none!important;
}

.moove-gdpr-button-holder {
    text-align: center!important;
}

.moove-gdpr-infobar-reject-btn {
    background-color: #e10b17!important;
    font-style:normal!important;
    font-weight: normal!important;
}

.moove-gdpr-modal-allow-all {
    font-style:normal!important;
    font-weight: normal!important;
}

.moove-gdpr-modal-save-settings {
    font-style:normal!important;
    font-weight: normal!important;
}


#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-close i, #moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-close span.gdpr-icon {
    background-color: #e10b17!important;
    border: 1px solid #e10b17!important;
}

#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-close span.gdpr-icon:hover {
    color: #ffffff!important;
}

#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder a.mgbutton, #moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder button.mgbutton, .gdpr_cookie_settings_shortcode_content .gdpr-shr-button.button-green {
    background-color: #e10b17!important;
    border-color: #e10b17!important;
}

.moove-gdpr-modal-footer-content {
    font-style:normal!important;
}

#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-status-bar {
    padding: 0px!important;
    padding-left: 20px!important;
    margin-right: 0px!important;
    margin-bottom: 15px;
}


.moove-gdpr-cookie-notice {
    padding-top: 1em!important;
}

.moove-gdpr-cookie-notice p a {
    font-family: 'Poppins'!important;
}

.moove-gdpr-tab-main-content p a {
    font-family: 'Poppins'!important;
}


button.mgbutton.moove-gdpr-infobar-allow-all.gdpr-fbo-0 {
  font-size: 1.1rem!important;
  color: #e10b17 !important;
  background-color: #ffffff!important;
  margin: 15px!important;
}

button.mgbutton.moove-gdpr-infobar-reject-btn.gdpr-fbo-1 {
  font-size: 1.1rem!important;
  color: #e10b17 !important;
  background-color: #ffffff!important;
  margin: 15px!important;
}

button.mgbutton.moove-gdpr-infobar-settings-btn.change-settings-button.gdpr-fbo-2  {
  font-size: 1.1rem!important;
  border:#ffffff 1px solid!important;
  opacity: 1!important;
  margin: 15px!important;
}

#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme .moove-gdpr-button-holder .moove-gdpr-infobar-close-btn {
  opacity: 1!important;
}

.moove-gdpr-info-bar-container button:focus {
  color:#ffffff!important;
}

.moove-gdpr-infobar-settings-btn:hover {
  color:#ffffff!important;
}

/* Cookie-Banner: diese mgbuttons wie Text-Links behandeln */
.moove-gdpr-info-bar-container a.mgbutton {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;

  position: relative;
  display: inline-block;

  transform: none !important; /* kein Button-Zoom */
}

/* grüne Linie */
.moove-gdpr-info-bar-container a.mgbutton::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -0.15em;

  width: 102%;
  height: 2px;
  background-color: #00ff00;

  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.15s ease;
}

/* Hover + Klick */
.moove-gdpr-info-bar-container a.mgbutton:hover::after,
.moove-gdpr-info-bar-container a.mgbutton:focus::after,
.moove-gdpr-info-bar-container a.mgbutton:active::after {
  transform: translateX(-50%) scaleX(1);
}

/* WICHTIG: verhindert JEDE grüne Umrandung aus vorherigem Code */
.moove-gdpr-info-bar-container a.mgbutton.moove-gdpr-active,
.moove-gdpr-info-bar-container a.mgbutton.selected,
.moove-gdpr-info-bar-container a.mgbutton.current,
.moove-gdpr-info-bar-container a.mgbutton[aria-pressed="true"] {
  border: none !important;
}




/* Cookie-Banner Buttons: grüner Unterstrich bei hover/focus/active,
   grüne Umrandung für aktiven Button */
.moove-gdpr-info-bar-container .mgbutton,
.moove-gdpr-info-bar-container button.mgbutton {
  position: relative;
  border: 2px solid transparent !important;
  transition:
    transform 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}

/* grüne Linie unten, aus der Mitte */
.moove-gdpr-info-bar-container .mgbutton::after,
.moove-gdpr-info-bar-container button.mgbutton::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0.25em;
  width: 80%;
  height: 2px;
  background-color: #00ff00;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.15s ease;
  pointer-events: none;
}

/* hover / focus / click */
.moove-gdpr-info-bar-container .mgbutton:hover::after,
.moove-gdpr-info-bar-container .mgbutton:focus::after,
.moove-gdpr-info-bar-container .mgbutton:active::after,
.moove-gdpr-info-bar-container button.mgbutton:hover::after,
.moove-gdpr-info-bar-container button.mgbutton:focus::after,
.moove-gdpr-info-bar-container button.mgbutton:active::after {
  transform: translateX(-50%) scaleX(1);
}

/* leichtes Zoom wie bei anderen Interaktionen */
.moove-gdpr-info-bar-container .mgbutton:hover,
.moove-gdpr-info-bar-container .mgbutton:focus,
.moove-gdpr-info-bar-container button.mgbutton:hover,
.moove-gdpr-info-bar-container button.mgbutton:focus {
  transform: scale(1.06);
}

/* aktiver Button = grüne Umrandung, keine Unterstreichung */
.moove-gdpr-info-bar-container .mgbutton[aria-pressed="true"],
.moove-gdpr-info-bar-container .mgbutton.moove-gdpr-active,
.moove-gdpr-info-bar-container .mgbutton.selected,
.moove-gdpr-info-bar-container .mgbutton.current,
.moove-gdpr-info-bar-container button.mgbutton[aria-pressed="true"],
.moove-gdpr-info-bar-container button.mgbutton.moove-gdpr-active,
.moove-gdpr-info-bar-container button.mgbutton.selected,
.moove-gdpr-info-bar-container button.mgbutton.current {
  border-color: #00ff00 !important;
}

.moove-gdpr-info-bar-container .mgbutton[aria-pressed="true"]::after,
.moove-gdpr-info-bar-container .mgbutton.moove-gdpr-active::after,
.moove-gdpr-info-bar-container .mgbutton.selected::after,
.moove-gdpr-info-bar-container .mgbutton.current::after,
.moove-gdpr-info-bar-container button.mgbutton[aria-pressed="true"]::after,
.moove-gdpr-info-bar-container button.mgbutton.moove-gdpr-active::after,
.moove-gdpr-info-bar-container button.mgbutton.selected::after,
.moove-gdpr-info-bar-container button.mgbutton.current::after {
  content: none;
}




/* Basis: komplett neutralisieren */
.moove-gdpr-info-bar-container .mgbutton,
#moove_gdpr_cookie_modal .mgbutton {
  position: relative;

  background: transparent !important;
  border: none !important;
  box-shadow: none !important;

  transition: transform 0.15s ease;
}

/* grüne Linie (80% Breite) */
.moove-gdpr-info-bar-container .mgbutton::after,
#moove_gdpr_cookie_modal .mgbutton::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0.3em;

  width: 80%;
  height: 2px;
  background-color: #00ff00;

  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.15s ease;
}

/* Hover / Fokus / Klick */
.moove-gdpr-info-bar-container .mgbutton:hover::after,
.moove-gdpr-info-bar-container .mgbutton:focus::after,
.moove-gdpr-info-bar-container .mgbutton:active::after,
#moove_gdpr_cookie_modal .mgbutton:hover::after,
#moove_gdpr_cookie_modal .mgbutton:focus::after,
#moove_gdpr_cookie_modal .mgbutton:active::after {
  transform: translateX(-50%) scaleX(1);
}

/* optional: leichtes Feedback */
.moove-gdpr-info-bar-container .mgbutton:hover,
.moove-gdpr-info-bar-container .mgbutton:focus,
#moove_gdpr_cookie_modal .mgbutton:hover,
#moove_gdpr_cookie_modal .mgbutton:focus {
  transform: scale(1.04);
}







@media only screen and (max-width: 767px) {
    
    #moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-content a, #moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-content li, #moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-content p {
        font-weight: 100!important;
        font-size: 0.8em!important;
        line-height: 1.3;
    }
    
    #moove_gdpr_cookie_modal .moove-gdpr-modal-content.moove_gdpr_modal_theme_v2 .moove-gdpr-modal-right-content {
        height: auto!important;
    }    
    
    #moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-status-bar {
        padding-left: 0px!important;
    }   
    
    #moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container {
    padding: 5px!important;
    }
    
}











/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}



/* Selection Markings
--------------------------------------------- */

/* Nur das native Tap-Highlight transparent machen, Hintergründe bleiben erhalten */
html, body {
  -webkit-tap-highlight-color: transparent; /* iOS/Safari/Chrome */
  
}

/* Verhindere Text-Selection und Callout-Menü auf Touch */
#vertical-menu-container,
#togglerShape,
.hamburger-line,
.vertical-menu li a {
  user-select: none;               /* keine Markierung */
  -webkit-user-select: none;
  -ms-user-select: none;
  -webkit-touch-callout: none;     /* kein iOS Long-Press-Menü */
  touch-action: manipulation;      /* kein Scroll/Zoom bei Tap */
}



/* Pevent Scrolling
--------------------------------------------- */

/* absoluter Mobile‐Hack gegen seitliches Scrollen */
html, body {
  /* verhindert, dass das Viewport‐Box breiter als der Bildschirm wird */
  max-width: 100vw !important;
  /* zwingt alle Browser, auch iOS/Safari, zu verstecken, was rechts rausragt */
  overflow-x: hidden !important;
  /* sorgt für konsistente Positionierung */
  position: relative !important;
}

/* für iOS‐Geräte explizit */
@supports (-webkit-overflow-scrolling: touch) {
  html, body {
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }
}



/* Page Blending
--------------------------------------------- */

/*
article {
  opacity: 0;
  transition: opacity 1s ease;
}


article.fade-in {
  opacity: 1;
}


article.fade-out {
  opacity: 0;
}
*/


/* ===================== CP Scroll ===================== */
/* ==================================================== */


/* ===================== CP Scroll – BLOCK + Headline FX ===================== */

/* Default: von unten nach oben */
.cp-scroll{
  --cp-scroll-ease: ease-in-out;
  --cp-scroll-dur: 840ms;

  --cp-scroll-x: 0px;
  --cp-scroll-y: 100px; /* default bottom -> up */

  --cp-scroll-head-letter: 0.02em;  /* „vorher“ */
  --cp-scroll-head-underline: 0;    /* Underline scaleX „vorher“ */

  opacity: 0;
  transform: translate3d(var(--cp-scroll-x), var(--cp-scroll-y), 0);
  will-change: transform, opacity;
}

/* Aktiv: Block ist drin */
.cp-scroll.cp-scroll--in{
  opacity: 1;
  transform: translate3d(0,0,0);
  transition:
    transform var(--cp-scroll-dur) var(--cp-scroll-ease),
    opacity   var(--cp-scroll-dur) var(--cp-scroll-ease);

  --cp-scroll-head-letter: 0em;   /* „nachher“ */
  --cp-scroll-head-underline: 1;  /* Underline fährt aus */
}

/* Richtungsklassen */
.cp-scroll.fly-in-from-bottom{ --cp-scroll-x: 0px;   --cp-scroll-y: 100px; }
.cp-scroll.fly-in-from-top   { --cp-scroll-x: 0px;   --cp-scroll-y: -100px; }
.cp-scroll.fly-in-from-left  { --cp-scroll-x: -100px;--cp-scroll-y: 0px; }
.cp-scroll.fly-in-from-right { --cp-scroll-x: 100px; --cp-scroll-y: 0px; }

/* ---------- Headline FX (nur wenn NICHT cp-scroll--nohead) ---------- */

.cp-scroll:not(.cp-scroll--nohead) :is(h1,h2,h3,h4,h5,h6){
  position: relative;
  display: inline-block;
  letter-spacing: var(--cp-scroll-head-letter);
  transition: letter-spacing var(--cp-scroll-dur) var(--cp-scroll-ease);
}

/* Underline */
.cp-scroll:not(.cp-scroll--nohead) :is(h1,h2,h3,h4,h5,h6)::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.25em;
  height: 0.1em;
  background: #00ff00;
  border-radius: 999px;

  transform: scaleX(var(--cp-scroll-head-underline));
  transform-origin: left center;
  transition: transform var(--cp-scroll-dur) var(--cp-scroll-ease);
}

/* ---------- Wichtig: Keine Kind-Elemente mehr verstecken/verschieben ---------- */
/* Falls du noch alte Regeln hast, die p/li/etc. auf opacity:0 setzen, killt das die Animation.
   Daher neutralisieren wir diese Ziele hart. */
.cp-scroll :is(h1,h2,h3,h4,h5,h6,p,li,blockquote){
  opacity: 1 !important;
  transform: none !important;
}





/*--------------------------------------------------------------
# Rows & Columns
--------------------------------------------------------------*/


/* ROW */
.cp-row {
  display: flex;
  flex-wrap: wrap;
}

/* Basis */
[class^="cp-col-"] {
  padding: 10px;
  box-sizing: border-box;
}

/* Default (XS) */
.cp-col-1 { width: 8.333%; }
.cp-col-2 { width: 16.666%; }
.cp-col-3 { width: 25%; }
.cp-col-4 { width: 33.333%; }
.cp-col-5 { width: 41.666%; }
.cp-col-6 { width: 50%; }
.cp-col-7 { width: 58.333%; }
.cp-col-8 { width: 66.666%; }
.cp-col-9 { width: 75%; }
.cp-col-10 { width: 83.333%; }
.cp-col-11 { width: 91.666%; }
.cp-col-12 { width: 100%; }

/* ======= MEDIA QUERIES BLOCK ======= */
@media (min-width: 576px),
       (min-width: 768px),
       (min-width: 992px),
       (min-width: 1200px) {

  /* SM ≥ 576px */
  @media (min-width: 576px) {
    .cp-col-sm-1 { width: 8.333%; }
    .cp-col-sm-2 { width: 16.666%; }
    .cp-col-sm-3 { width: 25%; }
    .cp-col-sm-4 { width: 33.333%; }
    .cp-col-sm-5 { width: 41.666%; }
    .cp-col-sm-6 { width: 50%; }
    .cp-col-sm-7 { width: 58.333%; }
    .cp-col-sm-8 { width: 66.666%; }
    .cp-col-sm-9 { width: 75%; }
    .cp-col-sm-10 { width: 83.333%; }
    .cp-col-sm-11 { width: 91.666%; }
    .cp-col-sm-12 { width: 100%; }
  }

  /* MD ≥ 768px */
  @media (min-width: 768px) {
    .cp-col-md-1 { width: 8.333%; }
    .cp-col-md-2 { width: 16.666%; }
    .cp-col-md-3 { width: 25%; }
    .cp-col-md-4 { width: 33.333%; }
    .cp-col-md-5 { width: 41.666%; }
    .cp-col-md-6 { width: 50%; }
    .cp-col-md-7 { width: 58.333%; }
    .cp-col-md-8 { width: 66.666%; }
    .cp-col-md-9 { width: 75%; }
    .cp-col-md-10 { width: 83.333%; }
    .cp-col-md-11 { width: 91.666%; }
    .cp-col-md-12 { width: 100%; }
  }

  /* LG ≥ 992px */
  @media (min-width: 992px) {
    .cp-col-lg-1 { width: 8.333%; }
    .cp-col-lg-2 { width: 16.666%; }
    .cp-col-lg-3 { width: 25%; }
    .cp-col-lg-4 { width: 33.333%; }
    .cp-col-lg-5 { width: 41.666%; }
    .cp-col-lg-6 { width: 50%; }
    .cp-col-lg-7 { width: 58.333%; }
    .cp-col-lg-8 { width: 66.666%; }
    .cp-col-lg-9 { width: 75%; }
    .cp-col-lg-10 { width: 83.333%; }
    .cp-col-lg-11 { width: 91.666%; }
    .cp-col-lg-12 { width: 100%; }
  }

  /* XL ≥ 1200px */
  @media (min-width: 1200px) {
    .cp-col-xl-1 { width: 8.333%; }
    .cp-col-xl-2 { width: 16.666%; }
    .cp-col-xl-3 { width: 25%; }
    .cp-col-xl-4 { width: 33.333%; }
    .cp-col-xl-5 { width: 41.666%; }
    .cp-col-xl-6 { width: 50%; }
    .cp-col-xl-7 { width: 58.333%; }
    .cp-col-xl-8 { width: 66.666%; }
    .cp-col-xl-9 { width: 75%; }
    .cp-col-xl-10 { width: 83.333%; }
    .cp-col-xl-11 { width: 91.666%; }
    .cp-col-xl-12 { width: 100%; }
  }
}




/*--------------------------------------------------------------
# Responsive Settings
--------------------------------------------------------------*/

@media screen and (max-height: 2160px) {

  .cherry-world-stage {
    height: 100svh;
  }

  .header-home-wrapper, #cherry-wordcloud-root.cherry-wordcloud-stage.cherry-wordcloud-stage.wc-visible{
    height: 100svh;
  }

  #header-video,
  #header-image {
    height: 100svh;
  }

}




@media screen and (max-width: 768px) {
  .wp-block-column.is-layout-flow.wp-block-column-is-layout-flow p{
    margin-left: 0;
    margin-right: 0;
  }


  .cherry-world-stage {
    height: 100svh;
  }


  .header-cherry-bubble-left {
    display: none;
  }

  .header-cherry-bubble-right {
    display: none;
  }  

  .header-home-wrapper, #cherry-wordcloud-root.cherry-wordcloud-stage.cherry-wordcloud-stage.wc-visible{
    height: 100svh;
  }

  #header-video,
  #header-image {
    height: 100svh;
  }


  .header-wrapper {
    height: 100svh;
  }




  .header-wrapper .show-in-header.show-in-header--in-header {  
    width: 75vw;
    padding: 4em 2em 4em 2em;
  }


  .header-wrapper .show-in-header-image.show-in-header-image--in-header {
    width: 75vw;
    padding: 4em 2em 4em 2em;
    height: auto;
    min-height: 26.66vh;
  }



  .bg-fullwidth-right, .bg-fullwidth-left {
    background-image: none;
  }

}




@media screen and (min-width: 769px) {	

/*  
	.cherry-wordcloud-stage {
		--wc-theme-radius: 280;
		--wc-theme-track-spacing: 200;
		--wc-theme-dur: 25;
		--wc-theme-font-scale: 1.1;

		--wc-theme-max-width: 100%;
		--wc-theme-min-height: 35vh;
		--wc-theme-max-height: 45vh;
		--wc-theme-aspect-ratio: 3 / 2;
		--wc-theme-padding: clamp(12px, 7vmin, 40px);
	}
*/

	.toggler-container {
    top: 50px;
		right: 2vw;
    width: 8vw;
	}

	#vertical-menu-container {
		right: -60vw;
		width: 60%;
		max-width: 60vw;
	}

	.vertical-menu li a {
		font-size: 1.5rem;
	}	

	.vertical-menu li.current-menu-item a {
		transform: scale(1.3);
	}	

  .site-branding .custom-logo {
    margin-left: 5vw;
    top: 15px;
  }

  .site-branding .custom-logo-bg-wrapper .custom-logo-bg {
    top: 10px;
    height: 65px;
    max-height: 70px;
    width: calc(70px + 40vw);
    max-width: 430px;
  }


  .cp-quoting-box {
    top: calc(40px + 65px + 10px);
    width: calc(70px + 40vw);
    max-width: 430px;
    min-width: 0;
    font-size: 1.7rem;
  }

}


@media screen and (min-width: 1024px) {

	.cherry-wordcloud-stage {
		--wc-theme-radius: 320;
		--wc-theme-track-spacing: 240;
		--wc-theme-dur: 25;
		--wc-theme-font-scale: 1.3;

		--wc-theme-max-width: 100%;
		--wc-theme-min-height: 38vh;
		--wc-theme-max-height: 48vh;
		--wc-theme-aspect-ratio: 3 / 2;
		--wc-theme-padding: clamp(12px, 7vmin, 40px);
	}

	h1 {
	font-size: 4rem;
	line-height: 4.5rem;
	}	

	.header-cherry-bubble-left {
	max-width: 45vw;
	}  

	.header-cherry-bubble-right {
	max-width: 47vw;
	}

  .site-branding .custom-logo {
    margin-left: 5vw;
    top: 15px;
  }

  .site-branding .custom-logo-bg-wrapper .custom-logo-bg {
    top: 20px;
    height: 65px;
    max-height: 70px;
    width: calc(380px + 5vw);  
    max-width: unset;
  }


  .cp-quoting-box {
    top: calc(60px + 65px + 10px);
    width: calc(380px + 5vw);
    max-width: unset;
    min-width: 0;
    font-size: 2.3rem;
  } 


}


@media screen and (min-width: 1400px) {

  .cherry-wordcloud-stage {
    --wc-theme-radius: 360;
    --wc-theme-track-spacing: 280;
    --wc-theme-dur: 25;
    --wc-theme-font-scale: 1.6;

    --wc-theme-max-width: 100%;
    --wc-theme-min-height: 40vh;
    --wc-theme-max-height: 50vh;
    --wc-theme-aspect-ratio: 3 / 1;
    --wc-theme-padding: clamp(12px, 7vmin, 40px);
  }



  .site-branding .custom-logo {
    margin-left: 5vw;
    max-width: 400px;
    top: 15px;
  }

  .site-branding .custom-logo-bg-wrapper .custom-logo-bg {
    top: 20px;
    height: 70px;
    max-height: 70px;
    width: calc(430px + 5vw);  
    max-width: 600px
  }  


  h2 {
    font-size: 2.3rem;
    line-height: 3rem;
  }  

	.header-cherry-bubble-left {
	max-width: 730px;
	}  

	.header-cherry-bubble-right {
	max-width: 800px;
	}

	.entry-content {
		font-size: 1.3rem;
		line-height: 2.5;
	}


	.footer-menu {
	--site-gutter-x: 20vw;               
	margin-left: var(--site-gutter-x);
	margin-right: var(--site-gutter-x);
	}


	.toggler-container {
		top: 60px;
		right: 5vw;

	}

	.vertical-menu li a {
		font-size: 1.8rem;
	}

  .cp-quoting-box {
    top: calc(60px + 70px + 10px);
    width: calc(430px + 5vw);
    max-width: 600px;
    min-width: 0;
    font-size: 2.5rem;
  }

}

@media screen and (min-width: 1600px) {


  .site-branding .custom-logo {
    width: 500px;
    max-width: 500px;
    margin-left: 5vw;
    top: 20px;
  }

  .site-branding .custom-logo-bg-wrapper .custom-logo-bg {
    top: 40px;
    height: 90px;
    max-height: 90px;
    width: calc(550px + 5vw);  
    max-width: 700px;
  }

	h1 {
    font-size: 5rem;
    line-height: 5.5rem;
	}		  

  h2 {
    font-size: 2.8rem;
    line-height: 3.4rem;
  }    

	.toggler-container {
		top: 90px;
	}  


  .cp-quoting-box {
    top: calc(80px + 90px + 10px);
    width: calc(550px + 5vw);
    max-width: 700px;
    min-width: 0;
    font-size: 3rem;
  } 

}



@media screen and (min-width: 2500px) {

  	h1 {
    font-size: 5.5rem;
    font-weight: 200;
    line-height: 6rem;
	  }		

  	h2 {
    font-size: 4rem;
    font-weight: 200;
    line-height: 4.5rem;
	  }		    

    
  /* ===== show-in-header: starr, rechter Rand = Fenster-Mitte ===== */
  .header-wrapper .show-in-header.show-in-header--in-header{
    width: 1000px;       /* ✅ neue feste Breite */
    max-width: 1000px;

    left: auto !important;
    right: calc(50vw + 10px);

    transform: none !important;
  }



  .header-wrapper .show-in-header-image.show-in-header-image--in-header{
    width: 800px;       /* optional etwas kleiner als vorher */
    max-width: 800px;

    left: auto !important;
    right: calc(50vw + 10px);

    transform: translateY(-50%); /* wichtig: Mitte bleibt korrekt */
  }  

    

  .site-branding .custom-logo {
    width: 500px;
    max-width: 500px;
    margin-left: 45px;
    top: 25px;
  }

  .site-branding .custom-logo-bg-wrapper .custom-logo-bg {
    top: 40px;

    /* linke Kante des (zentrierten) Header-Media-Blocks */
    left: calc(50vw - (max(2200px, 55vw) / 2));

    /* so dass 75% der .custom-logo-bg in den Block hineinragt */
    transform: translateX(-25%);

    right: auto; /* Safety */
    
    height: 100px;
    max-height: 100px;
    width: 600px;  
    max-width: 700px;

    background-color: rgba(255, 255, 255, 1);
    border-radius: 999px 999px 999px 999px;  
    border: 1px solid #e10b17;  
  }


  /* 2. Umrandung außen */
  .site-branding .custom-logo-bg-wrapper .custom-logo-bg::after{
    content: "";
    position: absolute;
    pointer-events: none;

    /* Abstand zur inneren Umrandung */
    top: -20px;
    bottom: -20px;

    /* rechts 20px raus, links bis zum Viewport-Rand „auslaufen“ */
    right: -20px;
    left: -2000px;           /* genug groß, damit es sicher bis zum linken Rand reicht */

    border: 1px solid #ffffff;
    border-radius: calc(999px + 20px);  /* gleiche Form, nur außen */

    box-sizing: border-box;
    background-color: rgba(255, 255, 255, 0.3);
  }


  .toggler-container {
    right: calc((50vw - (max(2200px, 55vw) / 2)) - 5vw);
  }

  .cls-1.inactive, .cls-1.hover, .cls-1.active {
      fill: rgba(255, 255, 255, 0.9);
  }  


  .header-cherry-bubble-right {
    opacity: 0.3;
  }


  .cp-quoting-box {
    top: calc(100px + 100px + 10px);
    left: calc(50vw - (max(2200px, 55vw) / 2));
    width: 600px;
    max-width: 700px;
    min-width: 0;
    transform: translateX(-25%);
    font-size: 3rem;
  }

}

/*--------------------------------------------------------------
# Keyframes
--------------------------------------------------------------*/

@keyframes fadeIn {
	0% { opacity: 0; }
	100% { opacity: 1; }
}



@keyframes move-up {
	from   { right: -20px; opacity: 0;}
	to { right: 0; opacity: 100%; }
}


@keyframes menu-item-border-draw{ to{ stroke-dashoffset:0; } }








/* Language Switch im Vertical Menu
--------------------------------------------- */

.language-switch {
  position: absolute;
  top: 45px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5100;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;

  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 1.1rem;
  line-height: 1;
  white-space: nowrap;
}

.language-switch__link,
.language-switch__link:link,
.language-switch__link:visited {
  color: #ffffff;
  text-decoration: none;
  transition: transform 0.2s ease, color 0.2s ease;
}

/* Hover nur für INAKTIVE Sprache */
.language-switch__link:not(.is-active):hover,
.language-switch__link:not(.is-active):focus {
  color: #ffffff;
  transform: scale(1.08);
}


.language-switch__link {
  position: relative;
  display: inline-block;
}

.language-switch__link.is-active {
  border: 2px solid #00ff00;
  border-radius: 0.4em;
  padding: 0.5em;
}

.language-switch__link::after {
  content: '';
  position: absolute;
  bottom: -0.2em;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: #00ff00;
  transform: translateX(-50%);
  transition: width 0.2s ease, transform 0.2s ease;
}

.language-switch__link:hover::after,
.language-switch__link:focus::after {
  width: 100%;
}

/* Aktive Sprache ohne Linie */
.language-switch__link.is-active::after {
  content: none;
}

.language-switch__divider {
  color: #ffffff;
  opacity: 0.9;
}

@media screen and (min-width: 769px) {
  .language-switch {
    top: 60px;
    font-size: 1.2rem;
  }
}

@media screen and (min-width: 1400px) {
  .language-switch {
    top: 110px;
    font-size: 1.4rem;
  }
}

@media screen and (min-width: 2500px) {
  .language-switch {
    top: 110px;
    font-size: 1.6rem;
  }
}


