/*
 * ClickScrew – Grundgerüst des Themes.
 * Baut die Elementor-Grundregeln nach (Abschnitte, Spalten, Abstände, Bausteine), damit das übernommene
 * Element-CSS (elemente.css, Klassen cs-el-<id>) genauso wirkt wie vorher. Breakpoints wie Elementor:
 * Tablet bis 1024 px, Mobil bis 767 px.
 */

/* ------------------------------------------------------------ Globale Werte (aus dem Elementor-Kit) */
:root {
	--e-global-color-primary: #1B1E25;
	--e-global-color-secondary: #F8F8F8;
	--e-global-color-text: #6E6E6E;
	--e-global-color-accent: #61CE70;
	--e-global-color-5b25211: #0548E5;
	--e-global-color-7368eaf: #FFA2011A;
	--e-global-color-1cfbc86: #5E5E5E;
	--e-global-color-d97af76: #0C1017;
	--e-global-color-c02f8a0: #0548E51A;
	--e-global-color-2326ca7: #8E8F91;
	--e-global-color-f824f83: #FFFFFF;
	--e-global-color-335b4dd: #00BB131A;
	--e-global-color-377f3ae: #00BB13;
	--e-global-color-be768b6: #0C1017;
	--e-global-color-7182e56: #F93D2A;
	--e-global-color-2663caf: #E9E9E9;
	--e-global-typography-primary-font-family: "Roboto";
	--e-global-typography-primary-font-weight: 600;
	--e-global-typography-secondary-font-family: "Roboto";
	--e-global-typography-secondary-font-weight: 400;
	--e-global-typography-text-font-family: "Roboto";
	--e-global-typography-text-font-size: 1.063rem;
	--e-global-typography-text-font-weight: 400;
	--e-global-typography-text-text-transform: none;
	--e-global-typography-text-font-style: normal;
	--e-global-typography-text-text-decoration: none;
	--e-global-typography-text-line-height: 1.647em;
	--e-global-typography-text-letter-spacing: 0px;
	--e-global-typography-accent-font-family: "Poppins";
	--e-global-typography-accent-font-size: 1rem;
	--e-global-typography-accent-font-weight: 600;
	--e-global-typography-accent-line-height: 1em;
	--cs-container: 1170px;
	--cs-header-h: 0px;
}
@media (max-width: 1024px) {
	:root { --e-global-typography-text-font-size: 1rem; --e-global-typography-text-line-height: 1.4em; --cs-container: 1024px; }
}
@media (max-width: 767px) {
	:root { --cs-container: 767px; }
}

/* ------------------------------------------------------------ Grundlagen (hello-elementor-Reset + Kit) */
*, *::before, *::after { box-sizing: border-box; }
html { line-height: 1.15; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	background-color: #fff;
	color: var(--e-global-color-text);
	font-family: "Roboto", Sans-serif;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 {
	margin-block-start: .5rem;
	margin-block-end: 1rem;
	color: var(--e-global-color-primary);
	font-family: "Poppins", Sans-serif;
	font-weight: 600;
	text-transform: none;
	font-style: normal;
	text-decoration: none;
	letter-spacing: 0px;
}
h1 { font-size: 3.563rem; line-height: 1.088em; }
h2 { font-size: 3.563rem; line-height: 1.088em; }
h3 { font-size: 2.938rem; line-height: 1.106em; }
h4 { font-size: 2.188rem; line-height: 1.086em; }
h5 { font-size: 1.5rem; line-height: 1.208em; }
h6 { font-size: 1.188rem; line-height: 1.474em; }
p { margin-block-start: 0; margin-block-end: 28px; }
@media (max-width: 1024px) {
	p { margin-block-end: 23px; }
	h2 { font-size: 3rem; } h3 { font-size: 2.3rem; } h4 { font-size: 2rem; } h5 { font-size: 1.4rem; } h6 { font-size: 1.125rem; }
}
@media (max-width: 767px) {
	p { margin-block-end: 13px; }
	h2 { font-size: 2.6rem; } h3 { font-size: 2.2rem; } h4 { font-size: 1.8rem; } h5 { font-size: 1.25rem; } h6 { font-size: 1.063rem; }
}
a { color: #c36; text-decoration: none; background-color: transparent; }
a:hover, a:active { color: #336; }
img { max-width: 100%; height: auto; border-style: none; }
ul, ol { margin-block-start: 0; }
label { color: var(--e-global-color-text); font-family: "Roboto", Sans-serif; font-size: .938rem; line-height: 1.4em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* WordPress-Blockvorgaben neutralisieren */
.wp-block-group, .wp-block-columns, .wp-block-column { margin: 0; }
.wp-block-image { margin: 0; }
.wp-block-image img { vertical-align: middle; }
:where(.wp-block-columns) { gap: 0; margin-bottom: 0; }
.wp-block-buttons { gap: 0; }
.wp-block-list { padding-inline-start: 0; }
/* Layout-Regeln selbst (WordPress-Layoutstile sind im Theme abgeschaltet, damit Elementor-Abstände gelten) */
.is-layout-flex { display: flex; flex-wrap: wrap; align-items: center; }
.is-layout-flex.is-nowrap { flex-wrap: nowrap; }
.is-layout-flex.is-vertical { flex-direction: column; align-items: flex-start; }
.is-content-justification-left { justify-content: flex-start; }
.is-content-justification-center { justify-content: center; }
.is-content-justification-right { justify-content: flex-end; }
.is-content-justification-space-between { justify-content: space-between; }

/* ------------------------------------------------------------ Abschnitte und Spalten (wie Elementor) */
.cs-section, .cs-section-inner { position: relative; }
.cs-section > .cs-inner, .cs-section-inner > .cs-inner {
	position: relative;
	display: flex;
	margin-inline: auto;
	max-width: var(--cs-container);
}
.cs-section.cs-full > .cs-inner, .cs-section-inner > .cs-inner { max-width: none; }
.cs-section.cs-min-height > .cs-inner { align-items: center; }
.cs-inner > .cs-row, .cs-inner > .cs-col-full { width: 100%; }
.cs-row { display: flex; flex-wrap: nowrap; width: 100%; align-items: stretch; }
.cs-row > .wp-block-column { flex-grow: 0; flex-shrink: 0; min-width: 0; }
/* Elementor-Standardspalten „33“/„66“ sind 33,333 % bzw. 66,666 % (der Umbau schrieb 33 %/66 % → 1 % Lücke rechts).
   Niedrige Gewichtung (:where), damit eigene Breiten aus elemente.css und das Stapeln auf dem Handy weiter gewinnen. */
.cs-row > :where(.wp-block-column[style="flex-basis:33%"]) { flex-basis: 33.333% !important; }
.cs-row > :where(.wp-block-column[style="flex-basis:66%"]) { flex-basis: 66.666% !important; }
.cs-col { position: relative; display: flex; flex-wrap: wrap; align-content: flex-start; min-height: 1px; }
:where(.cs-col) { padding: 10px; }
.cs-col:empty { padding: 0; }
/* Wie Elementor: Bausteine füllen die Zeile; Außenabstände werden abgezogen (flex-shrink), Breite „auto“ steht nebeneinander */
.cs-col > * { flex: 0 1 100%; min-width: 0; position: relative; }
.cs-col > .wp-block-html:empty { display: none; }
.cs-col > .cs-w-auto { flex: 0 0 auto; width: auto; max-width: 100%; }
.cs-col > .cs-w-initial { flex: 0 0 auto; max-width: 100%; }
@media (max-width: 1024px) {
	.cs-col > .cs-w-tablet-inherit { flex: 0 1 100%; width: auto; max-width: 100%; }
	.cs-col > .cs-w-tablet-auto { flex: 0 0 auto; width: auto; }
	.cs-col > .cs-w-tablet-initial { flex: 0 0 auto; }
}
@media (max-width: 767px) {
	.cs-col > .cs-w-mobile-initial { flex: 0 0 auto; }
}
@media (min-width: 768px) and (max-width: 1024px) {
	/* Tablet: Spalten dürfen umbrechen wie bei Elementor, wenn ihre Tablet-Breiten zusammen über 100 % liegen
	   (z. B. Startseite „Klicken statt Schrauben“: 100 % + 100 %). Sonst wurde die zweite Spalte rechts aus dem Bild geschoben. */
	.wp-block-columns.cs-row { flex-wrap: wrap !important; }
}
@media (max-width: 767px) {
	/* WordPress erzwingt bei „nicht stapeln“ nowrap mit !important; Elementor stapelt unter 768 px */
	.wp-block-columns.cs-row.is-not-stacked-on-mobile { flex-wrap: wrap !important; }
	.cs-row > .wp-block-column { flex-basis: 100% !important; width: 100%; flex-grow: 0; }
}

/* Hintergrund-Ebenen */
.cs-overlay, .cs-bg-video { position: absolute; inset: 0; pointer-events: none; }
.cs-bg-video { overflow: hidden; z-index: 0; }
.cs-bg-video video { position: absolute; top: 50%; left: 50%; min-width: 100%; min-height: 100%; width: auto; height: auto; transform: translate(-50%, -50%); object-fit: cover; }
.cs-overlay { z-index: 0; }
.cs-section > .cs-inner { z-index: 1; }
.cs-section { overflow-x: clip; }

/* Schräge Kanten (Shape Divider „tilt“) */
.cs-shape { position: absolute; left: 0; width: 100%; overflow: hidden; line-height: 0; direction: ltr; z-index: 2; pointer-events: none; }
.cs-shape-top { top: -1px; }
.cs-shape-bottom { bottom: -1px; transform: rotate(180deg); }
.cs-shape svg { display: block; position: relative; left: 50%; width: calc(100% + 1.3px); transform: translateX(-50%); }
.cs-shape .cs-shape-fill { fill: #fff; transform-origin: center; transform: rotateY(0deg); }

/* Sichtbarkeit je Gerät */
@media (min-width: 1025px) { .cs-hide-desktop { display: none !important; } }
@media (min-width: 768px) and (max-width: 1024px) { .cs-hide-tablet { display: none !important; } }
@media (max-width: 767px) { .cs-hide-mobile { display: none !important; } }

/* ------------------------------------------------------------ Bausteine */
.cs-title { margin: 0; padding: 0; }
/* Überschrift als Absatz: bei Elementor mit Absatzabstand des Kits */
.cs-title:where(p) { line-height: 1; }
.cs-title:where(p)::after { content: ""; display: block; height: 28px; }
@media (max-width: 1024px) { .cs-title:where(p)::after { height: 23px; } }
@media (max-width: 767px) { .cs-title:where(p)::after { height: 13px; } }
.cs-title a { color: inherit; font-size: inherit; line-height: inherit; }
/* Zweite Zeile der Hero-Überschrift war bei Elementor ein <p> in der Überschrift (mit Absatzabstand) */
.cs-title-line { display: block; margin-block-end: 28px; }
@media (max-width: 1024px) { .cs-title-line { margin-block-end: 23px; } }
@media (max-width: 767px) { .cs-title-line { margin-block-end: 13px; } }
.cs-title > br:has(+ .cs-title-line) { display: none; }
/* Überschriften, die bei Elementor eine Liste enthielten: Schrift der Überschrift */
:where(div.cs-title) { font-family: "Poppins", Sans-serif; font-weight: 600; color: var(--e-global-color-primary); font-size: 3.563rem; line-height: 1.088em; }
:where(.cs-title-list) { margin: 0 0 1rem; padding-inline-start: 40px; text-align: start; list-style: disc; }
:where(.cs-text) { color: var(--e-global-color-text); }
/* Text ohne <p> (bei Elementor ohne Absatzabstand) */
p.cs-raw { margin-block-end: 0; }
:where(.cs-text ul, .cs-text ol) { padding-inline-start: 40px; margin-block-end: 28px; }
.has-text-align-center { text-align: center; }
.has-text-align-right { text-align: right; }
.has-text-align-left { text-align: left; }

/* Bilder */
:where(.cs-image) { text-align: center; }
.cs-image a { display: inline-block; }
.cs-image img { display: inline-block; vertical-align: middle; }
.cs-image.cs-align-left { text-align: left; }
.cs-image.cs-align-right { text-align: right; }

/* Buttons (Kit-Stil) */
.wp-block-button__link, .wp-element-button, .cs-rechner-button, .wpcf7-submit {
	display: inline-block;
	background-color: #4694AA;
	color: #fff;
	font-family: "Poppins", Sans-serif;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1em;
	letter-spacing: 0px;
	text-transform: none;
	text-decoration: none;
	text-align: center;
	border: 0 solid;
	border-radius: 6px;
	padding: 1.2em 2.4em;
	cursor: pointer;
	transition: all .3s;
}
.wp-block-button__link:hover, .wp-block-button__link:focus, .wpcf7-submit:hover, .wpcf7-submit:focus, .cs-rechner-button:hover {
	background-color: #00BB13;
	color: #fff;
}
@media (max-width: 767px) { .wp-block-button__link, .wpcf7-submit, .cs-rechner-button { padding: 1em 2em; } }
.wp-block-buttons { display: flex; flex-wrap: wrap; }
.cs-btn-icon .wp-block-button__link::before {
	content: ""; display: inline-block; width: 1em; height: 1em; margin-inline-end: .6em; vertical-align: -.12em;
	background-color: currentColor; -webkit-mask: var(--cs-ico) center / contain no-repeat; mask: var(--cs-ico) center / contain no-repeat;
}
.cs-hover-grow { transition: transform .3s; }
.cs-hover-grow:hover { transform: scale(1.1); }
.cs-hover-shrink { transition: transform .3s; }
.cs-hover-shrink:hover { transform: scale(.9); }

/* Trennlinie (Divider) */
hr.wp-block-separator.cs-divider { border: 0; }
:where(hr.cs-divider, .cs-divider) {
	--divider-border-style: solid; --divider-border-width: 1px; --divider-color: #0c0d0e;
	box-sizing: content-box;
	height: var(--divider-border-width);
	margin: 0;
	border: 0;
	padding-block: 15px;
	background-color: var(--divider-color);
	background-clip: content-box;
	opacity: 1;
}

/* Icons (lokale SVG als Maske, Farbe = Textfarbe). Aufbau wie Elementor: .cs-icon-shape (Kreis/Rahmen) > .cs-icon (Symbol) */
.cs-icon { display: block; width: 1em; height: 1em; background-color: currentColor; -webkit-mask: var(--cs-ico) center / contain no-repeat; mask: var(--cs-ico) center / contain no-repeat; }
.cs-icon-wrapper { line-height: 1.5; }
.cs-icon-shape { display: inline-block; line-height: 1; text-align: center; transition: all .3s; }
:where(.cs-icon-shape) { font-size: 50px; color: #69727d; }
:where(.cs-icon-stacked) { padding: .5em; background-color: #69727d; color: #fff; border-radius: 50%; }
:where(.cs-icon-framed) { padding: .5em; border: 3px solid; border-radius: 50%; background-color: transparent; }
.cs-ico-check { --cs-ico: url("../icons/check.svg"); }
.cs-ico-plus { --cs-ico: url("../icons/plus.svg"); }
.cs-ico-minus { --cs-ico: url("../icons/minus.svg"); }
.cs-ico-chevron-right { --cs-ico: url("../icons/chevron-right.svg"); }
.cs-ico-chevron-down { --cs-ico: url("../icons/chevron-down.svg"); }
.cs-ico-map { --cs-ico: url("../icons/map.svg"); }
.cs-ico-envelope { --cs-ico: url("../icons/envelope.svg"); }
.cs-ico-phone { --cs-ico: url("../icons/phone.svg"); }
.cs-ico-instagram { --cs-ico: url("../icons/instagram.svg"); }
.cs-ico-linkedin { --cs-ico: url("../icons/linkedin.svg"); }
.cs-ico-tiktok { --cs-ico: url("../icons/tiktok.svg"); }
.cs-ico-facebook { --cs-ico: url("../icons/facebook.svg"); }
.cs-ico-download { --cs-ico: url("../icons/download.svg"); }
.cs-ico-arrow-up { --cs-ico: url("../icons/arrow-up.svg"); }
.cs-icon-widget { line-height: 1; }

/* Bild-Box / Icon-Box */
:where(.cs-image-box) { text-align: center; }
:where(.cs-image-box .cs-box-title) { margin: 0 0 15px; }
:where(.cs-image-box .cs-box-desc, .cs-icon-box .cs-box-desc) { margin: 0; }
.cs-image-box .cs-box-img { display: inline-block; }
:where(.cs-icon-box) { text-align: center; }
:where(.cs-icon-box .cs-icon-wrap) { display: inline-block; line-height: 0; margin-bottom: 15px; }

/* Icon-Liste */
.cs-icon-list { list-style: none; margin: 0; padding: 0; }
.cs-icon-list li { position: relative; display: flex; align-items: center; }
:where(.cs-icon-list li) { margin: 0; }
.cs-icon-list li::before { content: ""; flex: 0 0 auto; display: inline-block; width: 14px; height: 14px; margin-inline-end: 8px; background-color: currentColor; -webkit-mask: var(--cs-ico) center / contain no-repeat; mask: var(--cs-ico) center / contain no-repeat; }
.cs-icon-list li.cs-no-icon::before { display: none; }
.cs-icon-list li a { color: inherit; display: inline-flex; align-items: center; }

/* FAQ-Aufklapper (statt Elementor-Toggle) */
.cs-toggle { text-align: start; }
.cs-toggle-item { margin: 0; }
.cs-toggle-item > summary {
	list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; position: relative;
	margin: 0; padding: 15px; outline: none;
	border-block-end: 1px solid #d5d8dc;
	/* Elementor: Titel-Element im Format h4 (Kit), der Text darin hat eine eigene Größe (.cs-toggle-title) */
	font-family: "Poppins", Sans-serif; font-size: 2.188rem; font-weight: 700; line-height: 1; color: var(--e-global-color-primary);
}
@media (max-width: 1024px) { .cs-toggle-item > summary { font-size: 2rem; } }
@media (max-width: 767px) { .cs-toggle-item > summary { font-size: 1.8rem; } }
.cs-toggle-title { color: inherit; flex: 1 1 auto; } /* Frage und Plus mittig zueinander (Zeile ist höher als der Fragetext) */
.cs-toggle-item > summary::-webkit-details-marker { display: none; }
.cs-toggle-item > summary::after {
	content: ""; flex: 0 0 1em; width: 1em; height: 1em; margin-inline-start: auto;
	background-color: currentColor; -webkit-mask: url("../icons/plus.svg") center / contain no-repeat; mask: url("../icons/plus.svg") center / contain no-repeat;
}
.cs-toggle-item[open] > summary { border-block-end: none; }
.cs-toggle-item[open] > summary::after { -webkit-mask-image: url("../icons/minus.svg"); mask-image: url("../icons/minus.svg"); }
.cs-toggle-item > :not(summary) { padding: 15px; margin: 0; }
.cs-toggle-item > ul:not(summary), .cs-toggle-item > ol { padding-inline-start: 55px; }
@media (max-width: 767px) {
	.cs-toggle-item > summary { padding: 12px; }
	.cs-toggle-item > :not(summary) { padding: 12px 10px; }
}

/* Abstandshalter */
.wp-block-spacer { height: var(--spacer-size, 50px); }

/* ------------------------------------------------------------ Einblend-Animationen (wie Elementor) */
.cs-js .cs-anim:not(.cs-anim-done) { visibility: hidden; }
/* fill-mode backwards (nicht both): Nach dem Einblenden bleibt kein transform hängen. Ein hängendes transform
   macht das Element zum Bezugsrahmen für position:fixed – das Burger-Menü öffnete sich sonst nur im 41-px-Kasten. */
.cs-anim-done { animation-duration: 1.25s; animation-fill-mode: backwards; }
/* Elementor-Animationsdauer „schnell“ / „langsam“ (Klassen aus der Live-Seite übernommen, 11.11.) */
.cs-anim-done.cs-dur-fast { animation-duration: .75s; }
.cs-anim-done.cs-dur-slow { animation-duration: 2s; }
.cs-anim-done.cs-anim-fadeIn { animation-name: csFadeIn; }
.cs-anim-done.cs-anim-fadeInUp { animation-name: csFadeInUp; }
.cs-anim-done.cs-anim-fadeInDown { animation-name: csFadeInDown; }
.cs-anim-done.cs-anim-fadeInLeft { animation-name: csFadeInLeft; }
.cs-anim-done.cs-anim-fadeInRight { animation-name: csFadeInRight; }
.cs-anim-done.cs-anim-pulse { animation-name: csPulse; }
@keyframes csFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes csFadeInUp { from { opacity: 0; transform: translate3d(0, 100%, 0); } to { opacity: 1; transform: none; } }
@keyframes csFadeInDown { from { opacity: 0; transform: translate3d(0, -100%, 0); } to { opacity: 1; transform: none; } }
@keyframes csFadeInLeft { from { opacity: 0; transform: translate3d(-100%, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes csFadeInRight { from { opacity: 0; transform: translate3d(100%, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes csPulse { from { transform: scale3d(1, 1, 1); } 50% { transform: scale3d(1.05, 1.05, 1.05); } to { transform: scale3d(1, 1, 1); } }
@media (prefers-reduced-motion: reduce) {
	.cs-js .cs-anim:not(.cs-anim-done) { visibility: visible; }
	.cs-anim-done { animation: none !important; }
}

/* ------------------------------------------------------------ Header (ein-/ausblenden beim Scrollen) */
.cs-site-header { position: sticky; top: 0; z-index: 9000; transition: transform .35s ease; }
.admin-bar .cs-site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .cs-site-header { top: 46px; } }
.cs-site-header.is-hidden { transform: translateY(-110%); }
@media (prefers-reduced-motion: reduce) { .cs-site-header { transition: none; } }
.cs-header { background-color: var(--e-global-color-secondary); box-shadow: 0px -100px 17px 100px rgba(0, 0, 0, .22); padding: 30px; position: relative; }
.cs-header-inner { display: flex; align-items: center; max-width: 1170px; margin-inline: auto; }
.cs-header-inner > .cs-header-logo, .cs-header-inner > .cs-header-nav, .cs-header-inner > .cs-header-cta { margin: 0; align-self: stretch; display: flex; align-items: center; }
.cs-header-logo { flex: 0 0 22%; padding-right: 20px; }
.cs-header-logo .cs-logo, .cs-header-logo .cs-logo a { display: block; line-height: 0; margin: 0 20px 0 0; }
.cs-header-logo .cs-logo a { margin: 0; }
.cs-header-logo img { width: 219px; display: block; }
.cs-header-nav { flex: 0 0 58%; justify-content: center; padding: 0 10px; }
.cs-header-cta { flex: 0 0 20%; justify-content: flex-end; }
.cs-header-cta .wp-block-buttons { justify-content: flex-end; }
.cs-nav-desktop { width: 650px; max-width: 650px; }
.cs-nav-desktop .wp-block-navigation__container { width: 100%; justify-content: space-between; gap: 0; }
.cs-site-header .wp-block-navigation-item__content, .cs-site-header .wp-block-navigation .wp-block-navigation-item > a {
	font-family: "Poppins", Sans-serif; font-size: 1.063rem; font-weight: 500; line-height: 1em;
	color: var(--e-global-color-primary); padding: 0;
}
.cs-nav-desktop > .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content { padding-block: 12px; }
.cs-nav-desktop > .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content:hover,
.cs-nav-desktop > .wp-block-navigation__container > .wp-block-navigation-item.current-menu-item > .wp-block-navigation-item__content,
.cs-nav-desktop > .wp-block-navigation__container > .wp-block-navigation-item.current-menu-ancestor > .wp-block-navigation-item__content,
.cs-nav-desktop > .wp-block-navigation__container > .wp-block-navigation-item:hover > .wp-block-navigation-item__content {
	background-image: linear-gradient(0deg, var(--e-global-color-primary) 5%, transparent 5%);
}
.cs-nav-desktop .wp-block-navigation__submenu-icon { width: 14px; height: 14px; margin-left: 5px; color: var(--e-global-color-primary); }
.cs-nav-desktop .wp-block-navigation__submenu-icon svg { display: none; }
.cs-nav-desktop .wp-block-navigation__submenu-icon::before { content: "+"; font-family: "Poppins", Sans-serif; font-weight: 300; font-size: 20px; line-height: 14px; color: #4694AA; }
.cs-site-header .cs-nav-desktop .wp-block-navigation__submenu-container {
	background-color: #fff; border: 0; border-radius: 6px; min-width: 220px; padding: 15px 0;
	box-shadow: 0px 5px 30px 0px rgba(0, 0, 0, .06); top: calc(100% + 1px);
}
.cs-site-header .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	font-size: 1rem; font-weight: 600; padding: 15px; color: var(--e-global-color-primary);
}
/* Abstand der Untermenü-Einträge wie im Original (15 px); WordPress' Navigationsstil (.has-child … 0.5em 1em) ist spezifischer, daher hier ebenso spezifisch */
.cs-site-header .cs-nav-desktop .has-child .wp-block-navigation__submenu-container > .wp-block-navigation-item > .wp-block-navigation-item__content { padding: 15px; }
.cs-site-header .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
.cs-site-header .wp-block-navigation .wp-block-navigation__submenu-container .current-menu-item > .wp-block-navigation-item__content { color: #4694AA; }

/* Mobil/Tablet: Burger-Menü */
.cs-nav-mobile { margin-left: auto; }
.cs-nav-mobile .wp-block-navigation__responsive-container-open {
	background-color: #4694AA; color: #fff; padding: 8px; border-radius: 0; width: 41px; height: 41px; display: flex; align-items: center; justify-content: center;
}
.cs-nav-mobile .wp-block-navigation__responsive-container-open svg { width: 25px; height: 25px; fill: #fff; }
.cs-nav-mobile .wp-block-navigation__responsive-container.is-menu-open { background-color: #fff; padding: 20px; }
.cs-nav-mobile .wp-block-navigation__responsive-container-close {
	color: var(--e-global-color-5b25211); background-color: var(--e-global-color-c02f8a0); border: 1px solid var(--e-global-color-5b25211); padding: 6px; border-radius: 3px;
}
/* Geöffnetes Burger-Menü. Langer Präfix, weil WordPress' Overlay-Stile sonst gewinnen (Abstände 0, Untermenü als Kasten). */
.cs-site-header .cs-nav-mobile .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 60px; align-items: stretch; }
.cs-site-header .cs-nav-mobile .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 0; width: 100%; }
.cs-site-header .cs-nav-mobile .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { width: 100%; flex-direction: column; align-items: stretch; }
.cs-site-header .cs-nav-mobile .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { display: block; width: 100%; padding: 15px; font-size: 1.063rem; }
.cs-site-header .cs-nav-mobile .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { position: static; padding: 0; margin: 0; min-width: 0; width: 100%; border: 0; border-radius: 0; box-shadow: none; gap: 0; }
.cs-site-header .cs-nav-mobile .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 15px 15px 15px 30px; font-size: 1rem; font-weight: 600; }
/* Untermenüs zugeklappt, Klick auf den Oberpunkt klappt auf (site.js setzt cs-sub-open); + / − rechts */
.cs-site-header .cs-nav-mobile .wp-block-navigation__responsive-container.is-menu-open .has-child:not(.cs-sub-open) > .wp-block-navigation__submenu-container { display: none; }
.cs-site-header .cs-nav-mobile .wp-block-navigation__responsive-container.is-menu-open .has-child > .wp-block-navigation__submenu-icon { display: none; }
.cs-site-header .cs-nav-mobile .wp-block-navigation__responsive-container.is-menu-open .has-child > .wp-block-navigation-item__content::after { content: "+"; float: right; font-weight: 300; font-size: 1.5em; line-height: .67em; color: #4694AA; }
.cs-site-header .cs-nav-mobile .wp-block-navigation__responsive-container.is-menu-open .has-child.cs-sub-open > .wp-block-navigation-item__content::after { content: "\2212"; }
@media (max-width: 1024px) {
	.cs-header { padding: 20px; }
	.cs-header-logo { flex: 1 1 auto; padding-right: 0; }
	.cs-header-nav { flex: 0 0 auto; padding: 0; }
	/* Elementor schob das Menü mit -167 px in die (ausgeblendete) Kontakt-Spalte; hier unnötig, sonst ragt der Burger auf Tablets aus dem Bild */
	.cs-header .cs-nav-mobile { margin-right: 0; }
}
@media (max-width: 767px) {
	.cs-header { padding: 15px 20px; }
	.cs-header-logo img { width: 160px; }
}

/* ------------------------------------------------------------ Footer */
.cs-footer-menu { list-style: none; margin: 0; padding: 0; }
.cs-footer-menu li { margin: 0; }
.cs-footer-menu a { display: block; padding: 10px 0; color: var(--e-global-color-2326ca7); font-family: "Roboto", Sans-serif; font-size: 1.063rem; line-height: 1.2; }
.cs-footer-menu a:hover { color: #4694AA; }

/* Nach-oben-Knopf (statt WPFront Scroll Top) */
.cs-to-top {
	position: fixed; right: 24px; bottom: 24px; z-index: 9500; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%;
	background-color: #4694AA; color: #fff; font-size: 18px; cursor: pointer; opacity: 0; transform: translateY(12px);
	box-shadow: 0 6px 20px rgba(12, 16, 23, .25);
	transition: opacity .3s, transform .3s, background-color .3s, box-shadow .3s;
	display: flex; align-items: center; justify-content: center;
}
.cs-to-top.is-visible { opacity: 1; transform: none; }
/* Hover: nur der Pfeil rückt nach oben, der Knopf selbst bleibt stehen (sonst flackert er, wenn die Maus am Rand steht) */
.cs-to-top:hover, .cs-to-top:focus-visible { background-color: #fff; color: #4694AA; box-shadow: 0 8px 24px rgba(12, 16, 23, .35); }
.cs-to-top .cs-icon { width: 18px; height: 18px; transition: transform .3s; }
.cs-to-top:hover .cs-icon, .cs-to-top:focus-visible .cs-icon { transform: translateY(-3px); }
.cs-to-top[hidden] { display: none; }

/* ------------------------------------------------------------ Karte (Zwei-Klick-Lösung) */
.cs-map { position: relative; width: 100%; min-height: 480px; background: #1b2638 linear-gradient(135deg, #1b2638 0%, #263650 100%); }
.cs-map iframe { display: block; width: 100%; height: 480px; border: 0; }
.cs-map-address, .cs-map-address iframe { min-height: 581px; height: 581px; }
@media (max-width: 1024px) { .cs-map-address, .cs-map-address iframe { min-height: 450px; height: 450px; } }
@media (max-width: 767px) { .cs-map-address, .cs-map-address iframe { min-height: 300px; height: 300px; } }
.cs-map-placeholder {
	position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 30px; text-align: center;
}
.cs-map-text { margin: 0; max-width: 520px; color: #F8F8F8; font-size: 1rem; line-height: 1.5; }
.cs-map-text a { color: #4AC6E9; }
.cs-map-load { background-color: #4694AA; color: #fff; border: 0; border-radius: 6px; padding: 1em 2em; font-family: "Poppins", Sans-serif; font-weight: 600; font-size: 1rem; cursor: pointer; }
.cs-map-load { transition: background-color .3s, color .3s; }
.cs-map-load:hover, .cs-map-load:focus-visible { background-color: #fff; color: #4694AA; }
.cs-map.is-loaded .cs-map-placeholder { display: none; }

/* ------------------------------------------------------------ Video-Playlist */
.cs-playlist { display: flex; gap: 0; background: #0C1017; border-radius: 6px; overflow: hidden; margin-block: 30px; text-align: start; }
.cs-pl-main { flex: 1 1 70%; background: #000; display: flex; align-items: center; }
.cs-pl-video { display: block; width: 100%; max-height: 560px; background: #000; }
.cs-pl-side { flex: 0 0 30%; display: flex; flex-direction: column; max-height: 560px; background: #1B1E25; }
/* Kopf: Titel, Anzahl und Hinweis, dass weitere Videos anklickbar sind */
.cs-pl-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; padding: 16px 18px 12px; background: rgba(70, 148, 170, .2); }
.cs-pl-head p { margin: 0; }
.cs-pl-head-title { font-family: "Poppins", Sans-serif; font-weight: 600; font-size: 1rem; color: #fff; }
.cs-pl-head-count { font-family: "Poppins", Sans-serif; font-size: .85rem; color: #F8F8F8; opacity: .8; }
.cs-pl-hint { flex-basis: 100%; font-size: .85rem; color: #F8F8F8; opacity: .8; }
.cs-pl-list { flex: 1 1 auto; list-style: none; margin: 0; padding: 0; overflow-y: auto; }
.cs-pl-item {
	display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 18px; border: 0; border-bottom: 1px solid #2d3139;
	background: transparent; color: #F8F8F8; font-family: "Roboto", Sans-serif; font-size: .95rem; text-align: start; cursor: pointer;
	transition: background-color .25s;
}
/* Play-Symbol im Kreis vor jedem Titel */
.cs-pl-item::before {
	content: ""; flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; border: 2px solid #4694AA;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6.5v11l9-5.5z' fill='%234694AA'/%3E%3C/svg%3E") center / 16px no-repeat; transition: background-color .25s, border-color .25s;
}
.cs-pl-title { flex: 1 1 auto; }
.cs-pl-item:hover, .cs-pl-item:focus-visible { background: #262a33; }
.cs-pl-item:hover::before, .cs-pl-item:focus-visible::before { background-color: #4694AA; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6.5v11l9-5.5z' fill='%23fff'/%3E%3C/svg%3E"); }
.cs-pl-item.is-active { background: #4694AA; color: #fff; }
.cs-pl-item.is-active::before { border-color: #fff; background-color: transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6.5v11l9-5.5z' fill='%23fff'/%3E%3C/svg%3E"); }
.cs-pl-dur { opacity: .75; font-size: .85em; white-space: nowrap; }
/* Handy: untereinander. Feste Größen statt Prozent-Basis – Safari (iPhone) rechnet „70 %“ in einer Spalte sonst als 0 Höhe
   und zeigt das Video nicht an (Rückmeldung Philipp 11.11.). */
@media (max-width: 767px) {
	.cs-playlist { flex-direction: column; }
	.cs-pl-main { flex: 0 0 auto; width: 100%; }
	.cs-pl-video { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; }
	.cs-pl-side { flex: 0 0 auto; max-height: none; }
}

/* ------------------------------------------------------------ Lottie-Pfeil */
.cs-lottie { text-align: center; }
.cs-lottie-link { display: inline-block; width: var(--lottie-container-width, 10%); min-width: 60px; }
.cs-lottie-player { width: 100%; aspect-ratio: 1 / 1; }
@media (max-width: 1024px) { .cs-lottie-link { width: 15%; } }
@media (max-width: 767px) { .cs-lottie-link { width: 25%; } }

/* Das Original nutzt an einigen Stellen „Lato“ (Formularfelder, Kontakt-Kästen). Keine eigene Schriftdatei dafür:
   „Lato“ zeigt auf die vorhandene Roboto (Entscheidung Philipp 11.11.: bei Kleinigkeiten nicht 1:1). */
@font-face { font-family: "Lato"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/roboto-400.woff2") format("woff2"); }

/* ------------------------------------------------------------ Formulare (Contact Form 7, Stil wie Elementor-Kit) */
.cs-form .wpcf7 form { display: flex; flex-wrap: wrap; margin: 0 -5px; }
.cs-form .cs-f { padding: 0 5px; margin-bottom: 10px; width: 100%; }
.cs-form .cs-f-50 { width: 50%; }
@media (max-width: 767px) { .cs-form .cs-f-50 { width: 100%; } }
.cs-form label { display: block; margin-bottom: 5px; }
.cs-form .cs-f-hidelabel > label > .cs-f-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
/* :where() = Grundstil ohne Gewicht, damit die Formular-Einstellungen je Element (elemente.css) gewinnen */
:where(.cs-form input:not([type="submit"]):not([type="checkbox"]):not([type="button"]), .cs-form textarea, .cs-form select, .cs-rechner input[type="text"]) {
	width: 100%;
	font-family: "Roboto", Sans-serif; font-size: var(--e-global-typography-text-font-size); font-weight: 400;
	line-height: var(--e-global-typography-text-line-height);
	color: #8E8F91; background-color: #fff;
	box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, .06);
	border: 0 solid; border-radius: 6px; padding: .8em 1.1em; outline: none;
}
.cs-form textarea { display: block; resize: vertical; }
.cs-form-konfigurator label { margin-bottom: 0; }
.cs-form select { appearance: none; -webkit-appearance: none; padding-right: 2.5em; background-image: url("../icons/chevron-down.svg"); background-repeat: no-repeat; background-position: right 1em center; background-size: .8em; }
/* Pflichtfeld-Sternchen (Konfigurator, wie Elementor „mark required“) */
.cs-form .cs-f-req .cs-f-label::after { content: "*"; padding-left: .2em; color: var(--e-global-color-5b25211); }
/* Konfigurator: Spaltenabstand 60 px, Zeilenabstand 20 px, Feldhintergrund hellgrau */
.cs-form-konfigurator .wpcf7 form { margin: 0 -30px; }
.cs-form-konfigurator .cs-f { padding: 0 30px; margin-bottom: 20px; }
.cs-form-konfigurator .wpcf7-form-control:not(.wpcf7-submit) { background-color: #F8F8F8; }
/* Kontakt: Sende-Knopf rund, Großbuchstaben (wie Elementor-Formular) */
.cs-form-kontakt .wpcf7-submit { font-size: 14px; font-weight: 700; text-transform: uppercase; line-height: 18px; border-radius: 30px; padding: 16px 50px; }
.cs-form .wpcf7-form-control-wrap { display: block; }
.cs-form .wpcf7-acceptance .wpcf7-list-item { margin: 0; }
.cs-form .wpcf7-acceptance label { display: flex; gap: 8px; align-items: flex-start; font-size: .938rem; color: inherit; }
.cs-form .wpcf7-acceptance input { margin-top: 3px; }
.cs-form .cs-f-submit { width: 100%; }
.cs-form .wpcf7-submit { width: 100%; }
.cs-form .wpcf7-spinner { display: none; }
.cs-form .wpcf7-not-valid-tip { color: #F93D2A; font-size: .9em; margin-top: 4px; }
/* Meldung unter dem Formular: weiße Box wie die Eingabefelder, dunkle Schrift (lesbar auf Petrol und Dunkel), Rahmenfarbe von CF7 (grün/rot/gelb) */
.cs-form .wpcf7-response-output { width: 100%; margin: 10px 5px 0 !important; padding: 10px 15px !important; border-radius: 6px; color: var(--e-global-color-primary); background-color: #fff; font-family: "Roboto", Sans-serif; font-size: .938rem; line-height: 1.4em; }
.cs-form .cs-f-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Kostenrechner (eigenes Skript) */
.cs-rechner { position: relative; padding-bottom: 70px; }
.cs-rechner input[type="text"] { display: block; margin: 0 0 15px; }
.cs-rechner-button { position: absolute; right: 10px; bottom: 10px; }
.cs-rechner-ergebnis { color: #fff; margin: 0 0 15px; }

/* 404 */
.cs-404 { background: #fff; }
