/*
Theme Name: Stal Child
Theme URI: http://stal.qodeinteractive.com
Description: A child theme of Stal
Author: Mikado Themes
Author URI: http://themeforest.net/user/mikado-themes
Version: 1.0.0
Text Domain: stal
Template: stal
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/


/* roboto-100 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 100;
  src: url('https://pht.group/wp-content/themes/stal-child/fonts/roboto-v51-latin-100.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-200 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 200;
  src: url('https://pht.group/wp-content/themes/stal-child/fonts/roboto-v51-latin-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  src: url('https://pht.group/wp-content/themes/stal-child/fonts/roboto-v51-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-300italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 300;
  src: url('https://pht.group/wp-content/themes/stal-child/fonts/roboto-v51-latin-300italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('https://pht.group/wp-content/themes/stal-child/fonts/roboto-v51-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 400;
  src: url('https://pht.group/wp-content/themes/stal-child/fonts/roboto-v51-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  src: url('https://pht.group/wp-content/themes/stal-child/fonts/roboto-v51-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 600;
  src: url('https://pht.group/wp-content/themes/stal-child/fonts/roboto-v51-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  src: url('https://pht.group/wp-content/themes/stal-child/fonts/roboto-v51-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 800;
  src: url('https://pht.group/wp-content/themes/stal-child/fonts/roboto-v51-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* custom css */


body {
    background: #f1f3f5;
    font-weight: 400;
    color: #7a7a7a !important;
    font-size: clamp(16px, 1rem + 0.3vw, 18px);
    line-height: 1.6;
}

body p {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}

/* en home replace */
.page-id-29116 .elementor-element-14110323 h4 {
    visibility: hidden;
    position: relative;
}

.page-id-29116 .elementor-element-14110323 h4::after {
    content: "Personnel hygiene";
    visibility: visible;
    position: absolute;
    left: 0;
    top: 0;
}

.page-id-29116 .elementor-element-6b6d76a3 h4 {
    visibility: hidden;
    position: relative;
}

.page-id-29116 .elementor-element-6b6d76a3 h4::after {
    content: "Facility hygiene";
    visibility: visible;
    position: absolute;
    left: 0;
    top: 0;
}



/* Den englischen Originaltext in diesem spezifischen Widget ausblenden */
.page-id-29116 .elementor-element-420e80e5 p.qodef-m-text {
    visibility: hidden;
    position: relative;
}

/* Den neuen Text mit "agreements" einfügen */
.page-id-29116 .elementor-element-420e80e5 p.qodef-m-text::before {
    content: "With maintenance agreements and a reliable service team, we ensure the long-term functionality of your systems.";
    visibility: visible;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
}



/* en home replace end */

/* de replace */

/* Den originalen Text innerhalb des spezifischen Widgets unsichtbar machen */
.page-id-29102 .elementor-element-420e80e5 p.qodef-m-text {
    visibility: hidden;
    position: relative;
}

/* Den neuen Text mit dem geschützten Leerzeichen (\a0) einfügen */
.page-id-29102 .elementor-element-420e80e5 p.qodef-m-text::before {
    content: "Mit Wartungsvereinbarungen\a0 und einem zuverlässigen Service-Team stellen wir die langfristige Funktionsfähigkeit Ihrer Anlagen sicher.";
    visibility: visible;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
}



/* de replace end */



/* list */

/* Container-Klasse für die Tabs */
.e-n-tabs-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.e-n-tabs-content li {
    position: relative;
    padding-left: 30px;      /* Platz für das rote Quadrat */
    margin-bottom: 15px;     /* Abstand zwischen den Listenelementen */
    font-family: sans-serif; /* Falls nötig, an deine Hausschrift anpassen */
    font-size: 18px;         /* Schriftgröße laut Bild */
    color: #666666;          /* Das typische Grau für den Text */
    line-height: 1.4;
}

/* Das rote Quadrat */
.e-n-tabs-content li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;                /* Richtet das Quadrat vertikal zur ersten Textzeile aus */
    width: 10px;             /* Breite des Quadrats */
    height: 10px;            /* Höhe des Quadrats */
    background-color: #E30613; /* Das klassische PHT-Rot (angepasst an gängige CI-Farben) */
}

/* Entfernt den Abstand beim letzten Element */
.e-n-tabs-content li:last-child {
    margin-bottom: 0;
}


/* list end */




/*
.qodef-header--dark #qodef-page-header .qodef-header-navigation > ul:not(#qodef-sticky-navigation-menu) > li > a {
  color: #fff;
}
*/

/* Variante A: Erhöht die Spezifität massiv, indem .home ganz vorne steht */
body.home .qodef-header--dark #qodef-page-header .qodef-header-navigation > ul:not(#qodef-sticky-navigation-menu) > li > a {
    color: #fff !important;
}

/* Variante B: Falls auf der Home-Seite die Klasse .qodef-header--dark fehlt, 
   sprechen wir den Header allgemeiner an */
body.home #qodef-page-header .qodef-header-navigation > ul:not(#qodef-sticky-navigation-menu) > li > a {
    color: #fff;
}






#qodef-page-footer {
    margin-top: 100px !important;
}

li.custom-wpml-item a.wpml-ls-link {
    margin-left: 0;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.qodef-e-title-link {
    display: block !important; 
    -webkit-line-clamp: initial !important;
    -webkit-box-orient: horizontal !important; 
    overflow: visible !important;
    max-height: none !important;
    font-size: 16px !important;
    line-height: 26px !important;
}

#qodef-page-sidebar .qodef-e-title-link {
    display: block !important; 
    -webkit-line-clamp: initial !important;
    -webkit-box-orient: horizontal !important; 
    overflow: visible !important;
    font-size: 14px !important;
    font-weight: 300;
}

.qodef-blog article .qodef-e-read-more {
    margin: 0;
}

#qodef-page-sidebar .qodef-blog.qodef-item-layout--simple article .qodef-e-inner {
    display: flex;
    align-items: top;
}

.single-post #qodef-page-inner {
    padding: 60px 0 100px;
}

.single-post .qodef-e-text ul {
  list-style-type: square; /* Macht die Bullets quadratisch */
}

.single-post .qodef-e-text ul {margin:20px 0 20px 40px;
}

.single-post .qodef-e-text ul li {margin:0 0 10px 0;
	 list-style-position: outside;
	
}

.single-post .qodef-e-text li::marker {
  color: red; /* Färbt NUR das Quadrat rot, der Text bleibt schwarz */
}

.single-post #qodef-page-inner {
    padding: 60px 0 0;
}


.page-id-624 .qodef-load-more-button .qodef-m-text
{
color:#FFF !important;
}

.qodef-info--bottom:not(:has(.qodef-e-read-more)) { display: none !important; }


.home .qodef-e-content .qodef-e-text
{height:100%;
min-height:100px;}

.single-post .qodef-e-content h2:not(:first-of-type) {
    font-size: 1.7rem !important;
    padding: 0;
    margin: 10px 0;
}

.single-post h4 {
    margin: 10px 0;
}

.single-post span[data-ccp-props] {
    all: unset !important; 
    display: inline; 
}

#qodef-page-sidebar .entry-title {
    font-size: 18px !important;
}

#qodef-top-area {
    display: none;
}

.custom-wpml-item, 
.custom-wpml-item * {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.qodef-header-navigation ul li.qodef-menu-item--narrow ul li a {
    color: #000 !important;
    font-weight: 400;
}

#qodef-page-header nav ul li.menu-item-has-children > a .qodef-menu-item-text::after {
    content: ' ▾';
    font-size: 12px;
    margin-left: 5px;
    vertical-align: middle;
    display: inline-block;
    transition: transform 0.2s ease;
}

#qodef-page-header nav ul li.menu-item-has-children:hover > a .qodef-menu-item-text::after {
    transform: rotate(180deg);
}

li.custom-wpml-item {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: auto !important;
    height: auto !important;
}

li.custom-wpml-item .wpml-ls-statics-shortcode_actions,
li.custom-wpml-item .wpml-ls,
li.custom-wpml-item ul,
li.custom-wpml-item li.wpml-ls-item {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
}

li.custom-wpml-item img.wpml-ls-flag {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 18px !important;
    height: 12px !important;
    min-width: 18px !important;
    min-height: 12px !important;
}










.page-id-27659 #qodef-page-inner ul {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.page-id-27659 #qodef-page-inner ul li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: 1rem;
    transition: color 0.2s ease;
}

.page-id-27659 #qodef-page-inner ul li::before {
    content: "";
    position: absolute;
    left: 0.2rem;
    top: 0.55rem;
    width: 6px;
    height: 6px;
    background-color: #17417D;
    border-radius: 50%;
}

.page-id-27659 #qodef-page-inner ul li strong {
    color: #1a202c;
    font-weight: 600;
    letter-spacing: -0.01em;
}

#qodef-page-inner .page-id-27659 ul li:hover {
    color: #1a202c;
}

.page-id-27659 #qodef-page-inner ul li:last-child {
    margin-bottom: 0;
}

.page-id-2591 #qodef-page-inner h6 {
    font-size: 18px;
    font-weight: 300;
}

/* --- ANFRAGE FORMULAR --- */
.anfrage-wrapper {
    background-color: #ffffff !important;
    padding: 30px;
    font-family: sans-serif;
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 40px !important; 
}

.anfrage-wrapper .anfrage-zeile {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.anfrage-wrapper p,
.anfrage-wrapper br {
    margin: 0 !important;
    padding: 0 !important;
    display: none !important;
}

.anfrage-wrapper .anfrage-zeile p,
.anfrage-wrapper .anfrage-button-zeile p {
    display: block !important; 
    margin: 0 !important;
    padding: 0 !important;
}

.anfrage-wrapper .anfrage-titel {
    width: 100% !important;
    max-width: 100% !important;
    background: transparent !important;
    font-weight: bold !important;
    font-size: 14px !important;
    padding: 0 0 14px 0 !important;
    margin: 0 !important;
}

.anfrage-wrapper .anfrage-eingabe,
.anfrage-wrapper .wpcf7-form-control-wrap {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.anfrage-wrapper input[type="text"],
.anfrage-wrapper input[type="email"],
.anfrage-wrapper input[type="tel"],
.anfrage-wrapper textarea {
    width: 100% !important;
    background-color: #f4f7fa !important;
    border: 1px solid #cbd5e1 !important;
    padding: 8px 12px !important;
    margin: 0 !important;
    font-size: 14px !important;
    color: #2d3748 !important;
    outline: none !important;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.05) !important;
    border-radius: 4px !important;
    box-sizing: border-box !important;
}

.anfrage-wrapper input[type="text"]:focus,
.anfrage-wrapper input[type="email"]:focus,
.anfrage-wrapper input[type="tel"]:focus,
.anfrage-wrapper textarea:focus {
    background-color: #ffffff !important;
    border-color: #1e3a8a !important;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.15) !important;
}

.anfrage-wrapper .anfrage-ganze-breite {
    grid-column: span 2 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.anfrage-wrapper textarea {
    height: 100px !important;
    resize: vertical !important;
}

.anfrage-wrapper .anfrage-auswahl-zeile .anfrage-eingabe {
    background: transparent !important;
    padding: 0 !important;
}

.anfrage-wrapper .wpcf7-not-valid-tip {
    color: #dc2626 !important;
    font-size: 12px;
    font-weight: bold;
    margin-top: 3px !important;
    display: block !important;
}

.anfrage-wrapper .anfrage-button-zeile {
    grid-column: span 2 !important;
    padding: 5px 0 0 0 !important;
    margin: 0 !important;
}

.anfrage-wrapper input[type="submit"] {
    background-color: #d90429 !important;
    border: none !important;
    color: #ffffff !important;
    padding: 12px 40px !important;
    font-size: 16px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    border-radius: 4px !important;
    width: auto !important;
}

.anfrage-wrapper input[type="submit"]:hover {
    background-color: #b30322 !important;
}

.anfrage-wrapper select {
    width: 100%;
    border: none !important;
    background: transparent !important;
    padding: 8px 5px;
    font-size: 14px;
    color: #4a5568;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231e3a8a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>") !important;
    background-repeat: no-repeat !important;
    background-position: right 10px center !important;
    padding-right: 30px;
    cursor: pointer;
}

.anfrage-wrapper select option {
    background-color: #ffffff;
    color: #4a5568;
    font-family: sans-serif;
    padding: 10px;
}

select.anfrage-dropdown.placeholder-active {
    color: #999999 !important;
    font-weight: normal !important;
}

select.anfrage-dropdown,
select.anfrage-dropdown option {
    color: #111111 !important;
    font-weight: normal !important;
}

select.anfrage-dropdown option[value="Anfragetyp *"] {
    color: #999999 !important;
}

/* --- TYPOGRAFIE --- */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Ubuntu', sans-serif;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    overflow-wrap: break-word;
    word-break: normal; 
}

h1 {
    font-size: clamp(2rem, 4vw + 1rem, 2.8rem) !important;
    line-height: 1.2;
}

h2 {
    font-size: clamp(2rem, 4vw + 2rem, 2rem);
    line-height: 1.25;
}

h3 {
    font-size: clamp(1.5rem, 3vw + 1rem, 1.5rem);
    line-height: 1.3;
}

h4 {
    font-size: clamp(1.25rem, 2vw + 1rem, 1.2rem);
    line-height: 1.4;
}

h5 {
    font-size: clamp(1.1rem, 1.5vw + 1rem, 1.5rem);
    line-height: 1.4;
}

h6 {
    font-size: clamp(1rem, 1vw + 1rem, 1.25rem);
    line-height: 1.5;
}

.page-id-22421 .entry-title {
    max-width: 25ch; 
}

.page-id-22421 .qodef-page-title {
    background-position: 9% 55%;
}

.page-id-22807 .iconbox .qodef-m-text {
    min-height: 150px;
    hyphens: auto;
    hyphenate-limit-chars: auto 3;
    hyphenate-limit-lines: 4;
}

.page-id-29116 .wp-block-themepunch-revslider
{margin-top:-120px !important;}

#qodef-page-mobile-header .qodef-mobile-header-logo-link img {
    width: 100%;
    max-width: 110px !important;
}

b, strong {
    font-weight: 500 !important;
}

.wpml-ls-slot-120
{display:none !important;}

.home #qodef-page-header
{background: transparent !important;}


.home .qodef-page-title {
   display:none;
}

.home .qodef-e-excerpt {
    display: none;
}

.home .qodef-e-text h5 {
    font-weight: 300 !important;
    font-size: 20px !important;
}

.home .qodef-e-read-more .qodef-m-text {
    color: #000 !important;
}

.iconbox img {
    width: 80px;
    height: auto;
}

.iconbox .qodef-m-text {
    color: #7a7a7a;
    font-size: .8em !important;
    font-weight: 300 !important;

}


.page-id-27863 .qodef-button.qodef-layout--filled.qodef-html--link {
  color: #fff !important;

}
 

.page-id-624 .qodef-button span {
    color: #000 !important;
}

.qodef-button span {
    color: #FFF !important;
}

.bigslide .elementor-element-af33a29 {
    padding-bottom: 50px !important;
}

.qodef-header-logo-image {
    margin-left: 40px !important;
}

.elementor-heading-title, 
.qodef-m-title-tagline {
    font-weight: 500 !important;
    font-size: 14px;
    text-transform: none !important;
}

/* --- TIMELINE --- */
.twae-wrapper .twae-icon {
    border: none;
    width: 20px !important;
    height: 20px;
    margin-top: 12px;
    margin-left: 15px;
}

.twae-horizontal-timeline.twae-wrapper .twae-h-line {
    height: 2px;
}

.twae-wrapper .twae-content {
    border: none;
    box-shadow: none;
    background: #efefef;
    padding: 20px;
}

.twae-wrapper .twae-arrow {
    border-color: #ddd !important;
}

/* --- FOOTER --- */
#qodef-page-footer-top-area-inner img {
    width: 100%;
    max-width: 120px !important;
}

#qodef-page-footer-top-area-inner p {
    color: #fff !important;
    font-weight: 400;
    opacity: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin-top: -3px;
}

#qodef-page-footer-top-area-inner ul {
    list-style: none;
    padding-left: 20px;
}

#qodef-page-footer-top-area-inner ul li {
    position: relative;
    margin-bottom: 8px;
    font-weight: 400;
    opacity: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#qodef-page-footer-top-area-inner ul li a,
#qodef-page-footer-top-area-inner ul li a:visited,
#qodef-page-footer-top-area-inner ul li a:hover,
#qodef-page-footer-top-area-inner ul li a:active {
    color: #ffffff !important;
}

#qodef-page-footer-top-area-inner ul li::before {
    content: "";
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: #ff0000;
}

.teambox .elementor-image-box-content {
    text-align: left !important;
    padding: 0 20px 20px 20px;
}

.floatboxtext p {
    line-height: 1.08em;
    color: red !important;
    text-transform: uppercase;
    font-family: Roboto,sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: .02em;
    margin-top: 3vh !important;
    display: block;
}

.floatboxtext h4 {
    color: #000;
    margin-top: 0 !important;
    font-size: 22px;
}

.banner-title .bg-box {
    display: inline-block;
    padding: 8px 15px;
    margin-bottom: 6px;
    color: #333333;
    font-family: sans-serif;
    line-height: 1.2;
}

.page-id-2256 .elementor-image-box-description {
    text-align: center !important;
}

.stal-select-wrapper select option[value^="---"] {
    font-weight: bold !important;
    color: #999 !important;
    background-color: #f5f5f5 !important;
    padding: 5px 10px !important;
    pointer-events: none !important;
}

.stal-select-wrapper select option:not([value^="---"]) {
    padding-left: 15px !important;
}

/* --- STÅL FORMULAR --- */
.stal-design-form {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    font-family: Arial, sans-serif;
}

.stal-design-form .stal-grid {
    display: flex;
    gap: 30px;
}

.stal-design-form .stal-grid .stal-row {
    flex: 1;
    width: 50%;
}

.stal-design-form .stal-row {
    margin-bottom: 25px;
    position: relative;
}

.stal-design-form .wpcf7-form-control:not(.wpcf7-submit) {
    width: 100% !important;
    border: none !important;
    border-bottom: 1px solid #ccc !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 12px 0px !important;
    font-size: 15px !important;
    color: #111 !important;
    border-radius: 0px !important;
    transition: border-color 0.3s ease;
}

.stal-design-form .wpcf7-form-control:not(.wpcf7-submit):focus {
    border-bottom: 1px solid #111 !important;
    outline: none !important;
}

.stal-design-form .wpcf7-form-control::placeholder {
    color: #999;
    font-weight: normal;
}

.stal-design-form textarea.wpcf7-form-control {
    height: 100px !important;
    resize: vertical;
}

.stal-design-form .stal-select-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'><path d='M0 3l5 5 5-5z' fill='%23999'/></svg>") !important;
    background-repeat: no-repeat !important;
    background-position: right center !important;
    cursor: pointer;
}

.stal-design-form .stal-acceptance-row {
    margin-top: 10px;
}

.stal-design-form .wpcf7-acceptance input {
    margin-right: 10px;
}

.stal-design-form .wpcf7-acceptance .wpcf7-list-item-label {
    font-size: 14px;
    color: #666;
}

.stal-design-form .stal-submit-container {
    margin-top: 30px;
}

.stal-design-form .wpcf7-submit {
    background-color: #000000 !important;
    color: #ffffff !important;            
    font-size: 15px !important;
    font-weight: bold !important;
    text-transform: uppercase;            
    letter-spacing: 1px;
    padding: 16px 35px !important;
    border: none !important;
    border-radius: 0px !important;        
    cursor: pointer;
    display: inline-block;
    width: auto !important;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.stal-design-form .wpcf7-submit:hover,
.stal-design-form .wpcf7-submit:active,
.stal-design-form .wpcf7-submit:focus {
    background-color: #FF0000 !important;
    color: #000000 !important;            
}

/* --- NEWSLETTER BUTTON --- */
button.cta-btn[type="submit"] {
    display: inline-flex;
    align-items: center;
    gap: 24px;
    padding: clamp(16px, 2vw, 22px) clamp(24px, 4vw, 36px);
    border: none;
    background: #e4002b;
    color: #fff;
    font-size: clamp(16px, 1rem + 0.2vw, 18px);
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button.cta-btn[type="submit"]:hover {
    background: #000;
    color: #fff;
}

button.cta-btn[type="submit"] .arrow {
    position: relative;
    width: 56px;
    height: 1px;
    background: #fff;
}

button.cta-btn[type="submit"] .arrow::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 10px;
    height: 10px;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    transform: translateY(-50%) rotate(45deg);
}

.service-link {
    display: inline-flex;
    align-items: center;
    color: #c41343;
    text-decoration: none;
    font-family: sans-serif;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.2s ease-in-out;
}

.service-link::after {
    content: "";
    display: inline-block;
    width: 40px;
    height: 1px;
    background-color: currentColor;
    margin-left: 12px;
    position: relative;
    transition: transform 0.2s ease-in-out;
}

.service-link::before {
    content: "";
    display: inline-block;
    order: 2;
    width: 5px;
    height: 5px;
    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
    transform: rotate(45deg);
    margin-left: -5px;
    transition: transform 0.2s ease-in-out;
}

.service-link:hover {
    color: #a00f36;
}

.service-link:hover::after,
.service-link:hover::before {
    transform: translateX(4px);
}

.service-link:hover::before {
    transform: translateX(4px) rotate(45deg);
}

.title-icon h3 {
    color: #17417D;
}

.title-icon h3::after {
    content: "";
    position: absolute;
    bottom: -7px;
    right: 0;          
    width: 102%;        
    height: 2px;       
    background-color: rgba(23, 65, 125, 0.39);
}

.title-icon h3::after,
.qodef-social-share.qodef-layout--dropdown {
    display: none;
}

.qodef-e-media {
    min-height: 170px;
}

.page-id-14 .qodef-e-title-link {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; 
    overflow: hidden;
    font-weight: 300;
}

.page-id-624 .qodef-e-title-link {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; 
    overflow: hidden;
    font-weight: 500 !important;
}

#media_image-2 img {
    max-width: 180px !important;
}

.page-id-2256 .qodef-page-title .qodef-m-title {
    max-width: 20ch; 
    display: block;
}

.phtbox .elementor-image-box-title::first-letter {
    font-size: 1.5em;
    font-weight: bold;
    color: #ff4500;
}

.single-post .qodef-e-text h2 span, 
.single-post .qodef-e-text h3 span,  
.single-post .qodef-e-text h4 span {
    text-transform: none !important;
    font-weight: 300 !important;
}

.phtbox .elementor-image-box-description {
    text-align: left;
    min-height: 150px !important;
}

#qodef-page-footer {
    margin-top: 15vh;
}

#qodef-page-inner {
    padding-top: 0;
}

/* --- MEDIA QUERIES --- */
@media (max-width: 1240px) {
    .qodef-header-navigation>ul>li {
        padding: 0 16px;
    }
}

@media (min-width: 1041px) and (max-width: 1840px) {
    .floatboxtext {
        top: 29vh !important;
    }    
    .floatboxtext h4 {
        font-size: 16px;
    }    
    .e-1156a9e-1cfafc9, 
    .e-3c63781-cc21e66 {
        margin-top: 40px !important;
    }
}

@media (min-width: 1025px) {
    .banner-title .box-2 { 
        margin-left: 15%; 
    }
    .banner-title .box-3 { 
        margin-left: 45%; 
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .banner-title .bg-box {
        font-size: 20px;
    }
    .banner-title .box-2 { 
        margin-left: 6%; 
    }
    .banner-title .box-3 { 
        margin-left: 14%; 
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .elementor-708 .elementor-element.elementor-element-54431fb:not(.elementor-motion-effects-element-type-background) {
        background: none !important;
    }
}

@media (max-width: 768px) {
    .anfrage-wrapper {
        grid-template-columns: 1fr;
        gap: 12px 0 !important;
        padding: 15px;
    }
    .anfrage-wrapper .anfrage-ganze-breite {
        grid-column: span 1 !important;
    }
}

@media (max-width: 767px) {
    .banner-title .bg-box {
        font-size: 18px;
        margin-left: 0 !important;
        display: block;
        margin-bottom: 0px;
    }
    .qodef-header-logo-image {
        margin-left: 0 !important;
    }    
    .elementor-page-22421 .iconbox .qodef-m-title {
        font-size: 20px;
    }
    .elementor-708 .elementor-element.elementor-element-54431fb:not(.elementor-motion-effects-element-type-background) {
        background: none !important;
    }
    .home .elementor-element-f5c5224 .elementor-heading-title {
        display: none;
    }    
}

@media (max-width: 650px) {
    .stal-design-form .stal-grid {
        flex-direction: column;
        gap: 0px;
    }
    .stal-design-form .stal-grid .stal-row {
        width: 100%;
    }
}


/* ==========================================================================
   SPEZIFISCH: WPML Sprachschalter im mobilen Qodef-Menü erzwingen
   ========================================================================== */
@media (max-width: 1024px) {
    /* 1. Verhindert, dass das Theme den Listenpunkt im mobilen Zustand versteckt */
    #qodef-page-mobile-header .wpml-ls-slot-shortcode_actions,
    #qodef-page-mobile-header li.wpml-ls-item,
    .qodef-mobile-header-navigation .wpml-ls-slot-shortcode_actions {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        clear: both !important;
        padding: 10px 20px !important; /* Gibt der Flagge Klickplatz im Menü */
    }

    /* 2. Erzwingt die Anzeige des Links und der Flagge im mobilen Menübaum */
    .wpml-ls-slot-shortcode_actions a.wpml-ls-link,
    .wpml-ls-slot-shortcode_actions img.wpml-ls-flag {
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* 3. Falls das Theme versucht, den kompletten Shortcode-Inhalt zu fressen */
    .qodef-mobile-header-navigation div.wpml-ls {
        display: block !important;
    }
}



.qodef-blog.qodef-item-layout--standard-simple .qodef-e-info.qodef-info--bottom {

    display: block !important;
}
