/*!
Theme Name:    co:listic childtheme
Author:        co:listic
Author URI:    https://colistic.de
Description:   co:listic Theme
Version:       1.0.0
License:       GNU General Public License v3 or later
License URI:   https://www.gnu.org/licenses/gpl-3.0.html
Template:      page-builder-framework
Text Domain:   page-builder-framework-child
*/

/* ============================================================
   Schriftarten-Deklarationen – Muli / Mulish
   ============================================================ */

/* Regulär – Schriftstärke 400 */
@font-face {
  font-family: "Muli";
  src: url("assets/fonts/Mulish-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Kursiv – Schriftstärke 400 */
@font-face {
  font-family: "Muli";
  src: url("assets/fonts/Mulish-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* Leicht – Schriftstärke 300 */
@font-face {
  font-family: "Muli";
  src: url("assets/fonts/Mulish-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* Leicht Kursiv – Schriftstärke 300 */
@font-face {
  font-family: "Muli";
  src: url("assets/fonts/Mulish-LightItalic.ttf") format("truetype");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

/* Mittel – Schriftstärke 500 */
@font-face {
  font-family: "Muli";
  src: url("assets/fonts/Mulish-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* Mittel Kursiv – Schriftstärke 500 */
@font-face {
  font-family: "Muli";
  src: url("assets/fonts/Mulish-MediumItalic.ttf") format("truetype");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

/* Halbfett – Schriftstärke 600 */
@font-face {
  font-family: "Muli";
  src: url("assets/fonts/Mulish-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Halbfett Kursiv – Schriftstärke 600 */
@font-face {
  font-family: "Muli";
  src: url("assets/fonts/Mulish-SemiBoldItalic.ttf") format("truetype");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

/* Fett – Schriftstärke 700 */
@font-face {
  font-family: "Muli";
  src: url("assets/fonts/Mulish-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Fett Kursiv – Schriftstärke 700 */
@font-face {
  font-family: "Muli";
  src: url("assets/fonts/Mulish-BoldItalic.ttf") format("truetype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* Extrafett – Schriftstärke 800 */
@font-face {
  font-family: "Muli";
  src: url("assets/fonts/Mulish-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* Extrafett Kursiv – Schriftstärke 800 */
@font-face {
  font-family: "Muli";
  src: url("assets/fonts/Mulish-ExtraBoldItalic.ttf") format("truetype");
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}

/* Schwarz – Schriftstärke 900 */
@font-face {
  font-family: "Muli";
  src: url("assets/fonts/Mulish-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* Schwarz Kursiv – Schriftstärke 900 */
@font-face {
  font-family: "Muli";
  src: url("assets/fonts/Mulish-BlackItalic.ttf") format("truetype");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

/* Extraleicht – Schriftstärke 200 */
@font-face {
  font-family: "Muli";
  src: url("assets/fonts/Mulish-ExtraLight.ttf") format("truetype");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

/* Extraleicht Kursiv – Schriftstärke 200 */
@font-face {
  font-family: "Muli";
  src: url("assets/fonts/Mulish-ExtraLightItalic.ttf") format("truetype");
  font-weight: 200;
  font-style: italic;
  font-display: swap;
}

/* ============================================================
   CSS-Variablen – Farben, Schriften & Abstände
   ============================================================ */
:root {
  /* Primärfarben */
  --primary-color: #a50211;

  /* Sekundärfarben */
  --secondary-color: #666666;

  /* Akzentfarben */
  --black-color: #000000;

  /* Textfarben */
  --text-primary: #000000;

  /* Hintergrundfarben */
  --bg-primary: #ffffff;
  --bg-red: #a50211;
  --bg-secondary: #f5f5f5;
  --bg-dark: #000000;

  /* Rahmenfarben */
  --border-color: #e0e0e0;
  --border-dark: #cccccc;

  /* Typografie */
  --font-family: "Muli", sans-serif;
  --font-size-base: 16px;
  --line-height-base: 1.6;

  /* Abstände */
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 32px;
  --spacing-xl: 48px;
}

/* ============================================================
   Globale Typografie-Stile
   ============================================================ */

/* Grundeinstellungen für Body-Element */
body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Überschriften h1 bis h6 */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-family);
  font-weight: 700;
  line-height: 1.3;
  margin-top: 0;
  margin-bottom: var(--spacing-sm);
  color: var(--text-primary);
}

/* Desktop-Schriftgrößen (ab 1200px) */
h1 {
  font-size: 72px;
  letter-spacing: -0.5px;
}

h2 {
  font-size: 45px;
  letter-spacing: -0.4px;
}

h3 {
  font-size: 36px;
  letter-spacing: -0.3px;
}

h4 {
  font-size: 30px;
  letter-spacing: -0.2px;
}

h5 {
  font-size: 16px;
  letter-spacing: -0.1px;
}

h6 {
  font-size: 20px;
  letter-spacing: 0;
}
span {
  font-size: 20px !important;
}

/* Unterüberschrift (Subheading) */
.subheading,
h1.subheading,
h2.subheading,
h3.subheading,
h4.subheading,
h5.subheading,
h6.subheading {
  font-size: 24px;
  font-weight: 400;
}

/* Absatz-Stile */
p {
  font-family: var(--font-family);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
  margin-top: 0;
  margin-bottom: var(--spacing-sm);
}

/* Link-Stile */
a {
  font-family: var(--font-family);
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

/* ============================================================
   Schaltflächen (Buttons)
   ============================================================ */

/* Gemeinsame Stile für beide Schaltflächen */
.btn,
.btn-sec {
  display: inline-block;
  padding: 10px 20px;
  border: none;
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
  font-size: 20px;
  min-width: 180px;
}

/* Primäre Schaltfläche – Rot */
.btn {
  background-color: var(--primary-color);
}
.btn:hover {
  background-color:#fff;
	color: var(--primary-color);
}


/* Sekundäre Schaltfläche – Dunkelgrau */
.btn-sec {
  background-color: #1d1d1d;
}

/* Hover-Effekt für sekundäre Schaltfläche */
.btn-sec:hover {
  background-color:#fff;
	color: var(--primary-color);
}
.form-privacy {
    font-size: 14px;
    margin-top: 15px;
}

.form-privacy a {
    text-decoration: underline;
	color:#fff ;
}
/* ============================================================
   Navigation – Kopfbereich
   ============================================================ */

/* Ausgeblendetes Beaver-Builder-Element */
.fl-node-cb28p3vesrw6 {
  display: none !important;
}
.fl-node-zgicde9yjm8x {
	display:none !important;
}
/* Haupt-Navigationsleiste */
.wpbf-navigation {
  background: var(--bg-dark) !important;
  font-family: var(--font-family);
  position: static !important;
  transform: none !important;
}
#menu-item-97 a {
  background-color: var(--primary-color) !important;
  transition: all 0.3s ease;
	padding:8px 20px ;
}
#menu-item-97:hover a {
  background-color: #fff!important;
  color: var(--primary-color) !important;
  transition: all 0.3s ease;
}
/* Navigation – Container mit Innenabstand */
.wpbf-navigation .wpbf-container {
  padding-inline: 60px !important;
  position: static !important;
  transform: none !important;
}

#menu-hauptmenue {
	gap:40px !important;
	flex-wrap:nowrap !important;
}
/* Aktive und fokussierte Menüpunkte – transparenter Hintergrund */
.fl-node-swmxzvt7ug9k
  .menu-item
  :is(:focus, a:hover, .fl-has-submenu-container:hover > *),
.fl-node-swmxzvt7ug9k .current-menu-item > a,
.fl-node-swmxzvt7ug9k .current-menu-item > .fl-has-submenu-container > * {
  background: transparent !important;
}

/* Position und Transform-Reset für übergeordnete Menü-Elemente */
.fl-node-swmxzvt7ug9k {
  position: static !important;
  transform: none !important;
}

/* Menüliste – Reset */
.fl-node-swmxzvt7ug9k .menu {
  position: static !important;
  transform: none !important;
}

/* Menüpunkt mit Untermenü – Reset */
.fl-node-swmxzvt7ug9k .menu .fl-has-submenu {
  position: static !important;
  transform: none !important;
}

/* Untermenü-Container – Reset */
.fl-node-swmxzvt7ug9k .menu .fl-has-submenu-container {
  position: static !important;
  transform: none !important;
}

/* Untermenü – fixiert am oberen Rand, volle Breite */
.fl-node-swmxzvt7ug9k .menu .fl-has-submenu .sub-menu {
  position: fixed !important;
  top: 169px !important;
  left: 0 !important;
  right: 0 !important;
  visibility: hidden !important;
  opacity: 0 !important;
  text-align: left !important;
  display: flex !important;
	justify-content:space-evenly !important;
  width: 100vw !important;
  align-content: center;
  justify-content: center;
  z-index: 9999 !important;
  margin: 0 !important;
  padding: 20px 0 !important;
  background: var(--bg-red) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition:
    opacity 0.3s ease 0.5s,
    visibility 0.3s ease 0.5s;
	
}

/* Hover-Effekt – Hauptmenüpunkte werden rot */
.fl-node-swmxzvt7ug9k .menu > .menu-item > a,
.fl-node-swmxzvt7ug9k .menu > .menu-item > .fl-has-submenu-container > a {
  transition: color 0.3s ease;
	font-weight:700 !important;
	white-space:nowrap !important;
}

.fl-node-swmxzvt7ug9k .menu > .menu-item > a:hover,
.fl-node-swmxzvt7ug9k .menu > .menu-item > .fl-has-submenu-container > a:hover,
.fl-node-swmxzvt7ug9k .menu > .menu-item:hover > a,
.fl-node-swmxzvt7ug9k .menu > .menu-item:hover > .fl-has-submenu-container > a {
  color: var(--bg-red) !important;

}

/* Hover-Effekt – Untermenüpunkte werden schwarz */
.fl-node-swmxzvt7ug9k .sub-menu .menu-item > a {
  transition: color 0.3s ease;
}

.fl-node-swmxzvt7ug9k .sub-menu .menu-item > a:hover {
  color: var(--black-color) !important;
}

/* Mobiles Menü-Toggle ausblenden */
.fl-menu-toggle {
  display: none !important;
}

/* Pfeil-Schaltfläche auf Desktop ausblenden */
.fl-node-swmxzvt7ug9k .submenu-toggle {
  display: none;
}

/* ============================================================
   Hero-Bereich (Startseite)
   ============================================================ */

/* Hero-Abschnitt – volle Bildschirmhöhe minus Navigationsleiste */
.hero-section .fl-row-content-wrap {
  height: calc(100vh - 200px) !important;
  max-height: calc(100vh - 200px) !important;
}

/* Beschreibungstext – leichter linker Innenabstand */
.hero-section .pp-description-wrap {
  padding-left: 5px;
}

/* ============================================================
   Info-Karten (Startseite)
   ============================================================ */

/* Desktop: 6 Karten nebeneinander */
.info-cards .fl-col:not(:first-child) {
  width: 15% !important;
  margin-bottom: 20px;
}

/* Bild-Größe in den Info-Karten */
.info-cards img {
  width: 60px !important;
}

/* Innenabstand des Karten-Inhalts entfernen */
.info-cards .fl-col-content {
  padding: 0 !important;
}

/* Vertikaler Innenabstand für Info-Box */
.info-cards .pp-infobox {
  padding-block: 50px !important;
}

/* Textfarbe in Info-Karten – Weiß */
.info-cards p {
  color: #fff !important;
}

/* ============================================================
   Hover-Karten (Startseite)
   ============================================================ */

/* Beschreibung immer sichtbar und unten positioniert */
.pp-hover-card-description {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(10px) !important;
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) !important;
  z-index: 2;
}
.pp-hover-card-container {
	height:300px !important;
}
/* Titelbereich – Rahmen und Hintergrund */
.pp-hover-card-title-wrap {
  transform: translateY(10px) !important;
  border-top: 2px solid #fff !important;
  border-bottom: 2px solid #fff !important;
  background-color: #00000096;
  z-index: 2 !important;
  position: relative !important;
	width: 90% !important;
	margin:auto;
}

/* Titeltext in Hover-Karten */
.pp-hover-card-title-wrap h4 {
  color: #fff !important;
  margin-bottom: 0 !important;
  margin-block: 8px !important;
  white-space: nowrap;
}

/* Oberes Overlay – wächst beim Hover */

.pp-hover-card-inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: #00000096;
  transition: all 0.3s ease;
}

/* Unteres Overlay – wächst beim Hover */
.pp-hover-card-inner::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: #00000096;
  transition: all 0.3s ease;
}

/* Hover – Overlays werden sichtbar */
.pp-hover-card:hover .pp-hover-card-inner::before {
  height: 50%;
}

.pp-hover-card:hover .pp-hover-card-inner::after {
  height: 50%;
}

/* Hover – Titelbereich wird transparent */
.pp-hover-card:hover .pp-hover-card-title-wrap {
  background-color: transparent;
  z-index: 4;
  transition: all 1s ease !important;
}

/* Abstand zwischen den Hover-Karten */
.fl-node-emkg4f1hxt3i .pp-hover-card-wrap {
  grid-gap: 10px !important;
}

/* Spezifische Hover-Karte ohne Overlay-Effekt */
.cards-group .pp-hover-card:hover .pp-hover-card-inner::before,
.cards-group .pp-hover-card:hover .pp-hover-card-inner::after {
  height: 0 !important;
  opacity: 0 !important;
}
.cards-group .powerpack-title-image-wrapper {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
}
.cards-group h5 {
  color: #fff !important;
}
.cards-group .pp-hover-card-title {
  padding-inline: 5px !important;
}

.cards-group .pp-infobox {
  padding-top: 0 !important;
}
.cards-group .fl-module-content {
  margin-top: 0 !important;
}

/* ============================================================
   Über-Uns-Bereich (Startseite)
   ============================================================ */

/* Linker Rand des Über-Uns-Bereichs entfernen */
.fl-node-8d3qwz2vsueh .fl-row-content {
  margin-left: 0 !important;
}

/* ============================================================
   Kontaktformular
   ============================================================ */

/* Formular-Container */
.custom-contact-form {
  padding: 20px;
  max-width: 700px;
}

/* Formular-Titel */
.custom-contact-form .form-title {
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
}

/* Formularfeld-Abstand */
.custom-contact-form .form-field {
  margin-bottom: 20px;
}

/* Eingabefelder */
.custom-contact-form textarea,
.custom-contact-form input {
  width: 100%;
  padding: 15px;
  border: none;
  background: #ddd;
  font-size: 16px;
  box-sizing: border-box;
}

/* Textbereich */
.custom-contact-form textarea {
  height: 200px;
  resize: none;
}

/* Formular-Zeile */
.custom-contact-form .form-row {
  display: flex;
  gap: 20px;
}

/* Halbe Breite */
.custom-contact-form .half {
  width: 50%;
}

/* Volle Breite */
.custom-contact-form .full {
  width: 100%;
}

/* Absenden-Schaltfläche */
.custom-contact-form input[type="submit"] {
  background: #222;
  color: #fff;
  padding: 15px 30px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  width: auto;
}
.custom-contact-form input[type="checkbox"] {
max-width:15px !important;
}
.wpcf7-list-item {
	margin:0 !important;
}
/* Hover-Effekt für Absenden-Schaltfläche */
.custom-contact-form input[type="submit"]:hover {
  background: #fff;
	color:var(--primary-color);
}

/* ============================================================
   Fußzeile (Footer)
   ============================================================ */

/* Textgröße in der Fußzeile */
.fl-node-k0e8j3bho51p p,
.fl-node-k0e8j3bho51p a {
  font-size: 16px !important;
}

/* Social-Media-Icon-Größe */
.fl-node-wzd5sh0ijlov .fl-module-content .pp-social-icon a {
  width: 30px !important;
  height: 30px !important;
}

/* Footer-Icons */
.footer-icons a {
  text-decoration: none !important;
  position: relative !important;
  margin-left: 28px !important;
}

/* Social-Icon-Schriftgröße */
.pp-social-icon a {
  font-size: 30px !important;
}

/* Pfeil-Icon vor Footer-Links */
.footer-icons a::before {
  position: absolute;
  content: "";
  width: 20px;
  height: 20px;

  background-image: url("https://k0721.colistic.dev/wp-content/uploads/arrow.png");
  background-size: contain;
  background-repeat: no-repeat;

  top: 3px;
  left: -30px;

  transition: transform 0.3s ease;
}

/* Footer-Spalten-Layout */
.fl-node-k0e8j3bho51p .fl-col-group {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
}

.fl-node-k0e8j3bho51p .fl-col-group::before {
  display: none !important;
}

.fl-node-k0e8j3bho51p .fl-col {
  width: 100% !important;
}

/* über uns */
.fl-node-1amboe8gfisn {
  background-color: var(--black-color) !important;
}
.partner .pp-infobox {
  padding-top: 0 !important;
}
.fl-node-boyeh46xp78s p,
.fl-node-boyeh46xp78s h2,
.fl-node-boyeh46xp78s span {
  color: #fff !important;
}

#footer {
  background-color: var(--black-color) !important;
}
.wpbf-inner-footer-left,
.wpbf-inner-footer-right {
  color: #fff !important;
}
.wpbf-inner-footer-right a:hover {
	color: var(--primary-color) !important;
	  transition: all 0.3s ease !important;
}

#footer a {
  color: #fff !important;
  text-decoration: none;
  font-weight: 500 !important;
}

/* Vorteile Section */
.fl-node-awzln5yhvf0u .fl-module-content {
  margin: 0 !important;
}
.fl-node-awzln5yhvf0u .fl-col:not(:last-child) {
  margin-right: 5px !important;
}
/* ============================================================
   RESPONSIVE / MEDIA QUERIES
   Von der größten zur kleinsten Bildschirmbreite sortiert
   ============================================================ */

/* ============================================================
   Desktop und Tablet (bis 1199px)
   ============================================================ */
@media (max-width: 1199px) {
  /* Typografie */
  h1 {
    font-size: 56px;
  }

  h2 {
    font-size: 38px;
  }

  h3 {
    font-size: 30px;
  }

  h4 {
    font-size: 26px;
  }

  h5 {
    font-size: 18px;
  }

  h6 {
    font-size: 18px;
  }

  .subheading,
  h1.subheading,
  h2.subheading,
  h3.subheading,
  h4.subheading,
  h5.subheading,
  h6.subheading {
    font-size: 22px;
  }

  p {
    font-size: 16px;
  }
}

/* ============================================================
   Tablet Querformat (992px – 1199px)
   ============================================================ */
@media (max-width: 1199px) and (min-width: 992px) {
  /* Info-Karten: 3 Karten pro Zeile */
  .info-cards .fl-col:not(:first-child) {
    width: 33.33% !important;
  }

  /* Hover-Karten Titel */
  .pp-hover-card-title-wrap h4 {
    font-size: 24px !important;
  }
}

/* ============================================================
   Tablet (bis 1023px)
   ============================================================ */
@media (max-width: 1023px) {
  /* Footer: 2 Spalten */
  .fl-node-k0e8j3bho51p .fl-col-group {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ============================================================
   Desktop (ab 992px)
   ============================================================ */
@media (min-width: 992px) {
  /* Untermenü anzeigen beim Hover */
  .fl-node-swmxzvt7ug9k .menu .fl-has-submenu:hover .sub-menu {
    visibility: visible !important;
    opacity: 1 !important;
    transition-delay: 0s !important;
  }
}

/* ============================================================
   Tablet Hochformat (768px – 991px)
   ============================================================ */
@media (max-width: 991px) and (min-width: 768px) {
  /* Info-Karten: 2 Karten pro Zeile */
  .info-cards .fl-col:not(:first-child) {
    width: 50% !important;
  }
}

/* ============================================================
   Mobil und Tablet (bis 991px)
   ============================================================ */
@media (max-width: 991px) {
  /* Untermenü standardmäßig ausblenden */
  .fl-node-swmxzvt7ug9k .menu .fl-has-submenu:hover .sub-menu {
    visibility: hidden !important;
    opacity: 0 !important;
  }

  /* Navigation – reduzierter Innenabstand */
  .wpbf-navigation .wpbf-container {
    padding-inline: 20px !important;
  }

  /* Hauptmenü – vertikale Ausrichtung */
  .fl-node-swmxzvt7ug9k .menu {
    flex-direction: column !important;
    width: 100% !important;
    align-items: flex-start !important;
  }

  /* Menüpunkte – volle Breite */
  .fl-node-swmxzvt7ug9k .menu > .menu-item {
    width: 100% !important;
    text-align: left !important;
    padding: 12px 0 !important;
  }

  /* Links in Menüpunkten – volle Breite */
  .fl-node-swmxzvt7ug9k .menu > .menu-item > a,
  .fl-node-swmxzvt7ug9k .menu > .menu-item > .fl-has-submenu-container > a {
    display: block;
    width: 100%;

  }

  /* Mobiles Navigations-Element – weiße Schrift */
  .wpbf-mobile-nav-item {
    color: #fff !important;
  }

  /* Schließen-Schaltfläche – weiße Schrift */
  .wpbf-mobile-menu-off-canvas .wpbf-close {
    color: #fff !important;
  }

  /* Untermenü – einfaches Layout wie Hauptmenü */
  .fl-node-swmxzvt7ug9k .menu .fl-has-submenu .sub-menu {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    flex-direction: column !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    gap: 0 !important;
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    max-height: 0;
    overflow: hidden;
    transition:
      max-height 0.3s ease,
      opacity 0.3s ease !important;
  }

  /* Untermenü-Elemente – eingerückt mit Trennlinie */
  .fl-node-swmxzvt7ug9k .sub-menu .menu-item {
    width: 100% !important;
    padding: 12px 0 12px 20px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
  }

  .fl-node-swmxzvt7ug9k .sub-menu .menu-item:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .fl-node-swmxzvt7ug9k .sub-menu .menu-item > a {
    color: #ffffff !important;
    font-weight: 400;
    font-size: 15px;
  }

  /* Aktives Untermenü – einblenden per Klick */
  .fl-node-swmxzvt7ug9k .menu .fl-has-submenu.active .sub-menu {
    visibility: visible !important;
    opacity: 1 !important;
    display: flex !important;
    max-height: 1000px;
  }

  /* Untermenü-Container – Flex mit Pfeil-Schaltfläche */
  .fl-node-swmxzvt7ug9k .fl-has-submenu-container {
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .fl-node-swmxzvt7ug9k .fl-has-submenu-container > a {
    flex: 1;
    cursor: pointer;
  }

  /* Pfeil-Schaltfläche (Untermenü-Toggle) */
  .fl-node-swmxzvt7ug9k .submenu-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    font-size: 12px;
    color: var(--bg-red);
    font-weight: bold;
    cursor: pointer;
    transition:
      transform 0.3s ease,
      color 0.3s ease,
      background 0.3s ease;
    border-radius: 4px;
    flex-shrink: 0;
  }

  /* Pfeil-Schaltfläche – Hover-Effekt */
  .fl-node-swmxzvt7ug9k .submenu-toggle:hover {
    background: rgba(165, 2, 17, 0.2);
  }

  /* Pfeil-Schaltfläche – dreht sich wenn aktiv */
  .fl-node-swmxzvt7ug9k .fl-has-submenu.active .submenu-toggle {
    transform: rotate(180deg);
    color: var(--bg-red);
  }

  /* ::after-Pseudo-Element im Untermenü-Container ausblenden */
  .fl-node-swmxzvt7ug9k .fl-has-submenu-container::after {
    display: none !important;
  }

  /* Beaver-Builder-Element ausblenden */
  .fl-node-zgicde9yjm8x {
    display: none !important;
  }

  /* Mobiles Off-Canvas-Menü – dunkler Hintergrund */
  .wpbf-mobile-menu-off-canvas .wpbf-mobile-menu-container.active {
    background: var(--bg-dark) !important;
  }

  /* Ub34 uns responsive */
  .fl-node-bumxvlqkhrn5 .fl-col {
    width: 100% !important;
  }
  .fl-node-bumxvlqkhrn5 .fl-module-pp-image {
    display: flex !important;
    margin-left: 20px !important;
  }
  .fl-col-small:not(.fl-col-small-full-width) {
    max-width: 100% !important;
  }
}

/* ============================================================
   Mobil und Tablet (bis 768px)
   ============================================================ */
@media (max-width: 768px) {
  /* Kontaktformular – vertikale Anordnung */
  .custom-contact-form .form-row {
    flex-direction: column;
  }

  .custom-contact-form .half {
    width: 100%;
	  margin-bottom:0;
  }
	.custom-contact-form .half p{
		margin-bottom:0;
	}
	.hero-section .fl-row-content-wrap {
		    background-size: 126vh;
    background-position: top right;
	}
	.hero-section .fl-col-content {
		position: absolute;
    bottom: 0;
    background: #000;
    width: 100%;
		min-height:250px !important;
	}
	#menu-item-97 a {
		background-color:transparent !important;
	}
	#menu-item-97:hover a {
		background-color:transparent !important;
	}
}

/* ============================================================
   Mobilgeräte (bis 767px)
   ============================================================ */
@media (max-width: 767px) {
  /* Typografie */
  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 32px;
  }

  h3 {
    font-size: 26px;
  }

  h4 {
    font-size: 22px;
  }

  h5 {
    font-size: 16px;
  }

  h6 {
    font-size: 16px;
  }

  .subheading,
  h1.subheading,
  h2.subheading,
  h3.subheading,
  h4.subheading,
  h5.subheading,
  h6.subheading {
    font-size: 18px;
  }

  p {
    font-size: 16px;
  }

  /* Info-Karten: 1 Karte pro Zeile */
  .info-cards .fl-col:not(:first-child) {
    width: 100% !important;
  }

  /* Footer: 1 Spalte */
  .fl-node-k0e8j3bho51p .fl-col-group {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }
}

/* ============================================================
   Kleine Mobilgeräte (bis 575px)
   ============================================================ */
@media (max-width: 575px) {
  /* Typografie */
  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 24px;
  }

  h4 {
    font-size: 20px;
  }

  h5 {
    font-size: 16px;
  }

  h6 {
    font-size: 16px;
  }

  .subheading,
  h1.subheading,
  h2.subheading,
  h3.subheading,
  h4.subheading,
  h5.subheading,
  h6.subheading {
    font-size: 16px;
  }

  p {
    font-size: 14px;
  }

  .fl-node-bumxvlqkhrn5 .fl-module-pp-image {
    margin-left: 0 !important;
  }
}
